Home
last modified time | relevance | path

Searched refs:pmstat (Results 1 – 16 of 16) sorted by relevance

/freebsd-10-stable/sys/dev/rl/
Dif_rl.c1986 uint16_t pmstat; in rl_resume() local
1996 pmstat = pci_read_config(sc->rl_dev, in rl_resume()
1998 if ((pmstat & PCIM_PSTAT_PMEENABLE) != 0) { in rl_resume()
1999 pmstat &= ~PCIM_PSTAT_PMEENABLE; in rl_resume()
2001 pmc + PCIR_POWER_STATUS, pmstat, 2); in rl_resume()
2051 uint16_t pmstat; in rl_setwol() local
2093 pmstat = pci_read_config(sc->rl_dev, pmc + PCIR_POWER_STATUS, 2); in rl_setwol()
2094 pmstat &= ~(PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE); in rl_setwol()
2096 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in rl_setwol()
2097 pci_write_config(sc->rl_dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in rl_setwol()
/freebsd-10-stable/sys/dev/ste/
Dif_ste.c2005 uint16_t pmstat; in ste_resume() local
2011 pmstat = pci_read_config(sc->ste_dev, in ste_resume()
2013 if ((pmstat & PCIM_PSTAT_PMEENABLE) != 0) { in ste_resume()
2014 pmstat &= ~PCIM_PSTAT_PMEENABLE; in ste_resume()
2016 pmc + PCIR_POWER_STATUS, pmstat, 2); in ste_resume()
2107 uint16_t pmstat; in ste_setwol() local
2128 pmstat = pci_read_config(sc->ste_dev, pmc + PCIR_POWER_STATUS, 2); in ste_setwol()
2129 pmstat &= ~(PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE); in ste_setwol()
2131 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in ste_setwol()
2132 pci_write_config(sc->ste_dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in ste_setwol()
/freebsd-10-stable/sys/dev/nge/
Dif_nge.c2524 uint16_t pmstat; in nge_wol() local
2570 pmstat = pci_read_config(sc->nge_dev, pmc + PCIR_POWER_STATUS, 2); in nge_wol()
2571 pmstat &= ~(PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE); in nge_wol()
2573 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in nge_wol()
2574 pci_write_config(sc->nge_dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in nge_wol()
2609 uint16_t pmstat; in nge_resume() local
2618 pmstat = pci_read_config(sc->nge_dev, in nge_resume()
2620 if ((pmstat & PCIM_PSTAT_PMEENABLE) != 0) { in nge_resume()
2621 pmstat &= ~PCIM_PSTAT_PMEENABLE; in nge_resume()
2623 pmc + PCIR_POWER_STATUS, pmstat, 2); in nge_resume()
/freebsd-10-stable/sys/dev/vge/
Dif_vge.c2453 uint16_t pmstat; in vge_resume() local
2459 pmstat = pci_read_config(sc->vge_dev, in vge_resume()
2461 if ((pmstat & PCIM_PSTAT_PMEENABLE) != 0) { in vge_resume()
2462 pmstat &= ~PCIM_PSTAT_PMEENABLE; in vge_resume()
2464 sc->vge_pmcap + PCIR_POWER_STATUS, pmstat, 2); in vge_resume()
2844 uint16_t pmstat; in vge_setwol() local
2896 pmstat = pci_read_config(sc->vge_dev, sc->vge_pmcap + in vge_setwol()
2898 pmstat &= ~(PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE); in vge_setwol()
2900 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in vge_setwol()
2902 pmstat, 2); in vge_setwol()
/freebsd-10-stable/sys/dev/ale/
Dif_ale.c1499 uint16_t pmstat; in ale_setwol() local
1550 pmstat = pci_read_config(sc->ale_dev, pmc + PCIR_POWER_STATUS, 2); in ale_setwol()
1551 pmstat &= ~(PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE); in ale_setwol()
1553 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in ale_setwol()
1554 pci_write_config(sc->ale_dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in ale_setwol()
1578 uint16_t pmstat; in ale_resume() local
1585 pmstat = pci_read_config(sc->ale_dev, in ale_resume()
1587 if ((pmstat & PCIM_PSTAT_PMEENABLE) != 0) { in ale_resume()
1588 pmstat &= ~PCIM_PSTAT_PMEENABLE; in ale_resume()
1590 pmc + PCIR_POWER_STATUS, pmstat, 2); in ale_resume()
/freebsd-10-stable/sys/dev/fxp/
Dif_fxp.c1065 uint16_t pmstat; in fxp_suspend() local
1071 pmstat = pci_read_config(sc->dev, pmc + PCIR_POWER_STATUS, 2); in fxp_suspend()
1072 pmstat &= ~(PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE); in fxp_suspend()
1075 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in fxp_suspend()
1081 pci_write_config(sc->dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in fxp_suspend()
1101 uint16_t pmstat; in fxp_resume() local
1107 pmstat = pci_read_config(sc->dev, pmc + PCIR_POWER_STATUS, 2); in fxp_resume()
1109 pmstat &= ~PCIM_PSTAT_PMEENABLE; in fxp_resume()
1110 pci_write_config(sc->dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in fxp_resume()
/freebsd-10-stable/sys/dev/alc/
Dif_alc.c2521 uint16_t pmstat; in alc_setwol_813x() local
2570 pmstat = pci_read_config(sc->alc_dev, in alc_setwol_813x()
2572 pmstat &= ~(PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE); in alc_setwol_813x()
2574 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in alc_setwol_813x()
2576 sc->alc_pmcap + PCIR_POWER_STATUS, pmstat, 2); in alc_setwol_813x()
2584 uint16_t pmstat; in alc_setwol_816x() local
2635 pmstat = pci_read_config(sc->alc_dev, in alc_setwol_816x()
2637 pmstat &= ~(PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE); in alc_setwol_816x()
2639 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in alc_setwol_816x()
2641 sc->alc_pmcap + PCIR_POWER_STATUS, pmstat, 2); in alc_setwol_816x()
[all …]
/freebsd-10-stable/sys/dev/txp/
Dif_txp.c1125 uint16_t pmstat; in txp_suspend() local
1158 pmstat = pci_read_config(sc->sc_dev, in txp_suspend()
1160 pmstat &= ~(PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE); in txp_suspend()
1162 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in txp_suspend()
1164 pmc + PCIR_POWER_STATUS, pmstat, 2); in txp_suspend()
1176 uint16_t pmstat; in txp_resume() local
1183 pmstat = pci_read_config(sc->sc_dev, in txp_resume()
1185 if ((pmstat & PCIM_PSTAT_PMEENABLE) != 0) { in txp_resume()
1186 pmstat &= ~PCIM_PSTAT_PMEENABLE; in txp_resume()
1188 pmc + PCIR_POWER_STATUS, pmstat, 2); in txp_resume()
/freebsd-10-stable/sys/dev/jme/
Dif_jme.c1587 uint16_t pmstat; in jme_setwol() local
1627 pmstat = pci_read_config(sc->jme_dev, pmc + PCIR_POWER_STATUS, 2); in jme_setwol()
1628 pmstat &= ~(PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE); in jme_setwol()
1630 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in jme_setwol()
1631 pci_write_config(sc->jme_dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in jme_setwol()
1658 uint16_t pmstat; in jme_resume() local
1665 pmstat = pci_read_config(sc->jme_dev, in jme_resume()
1668 pmstat &= ~PCIM_PSTAT_PMEENABLE; in jme_resume()
1670 pmc + PCIR_POWER_STATUS, pmstat, 2); in jme_resume()
/freebsd-10-stable/sys/dev/ae/
Dif_ae.c1326 uint16_t pmstat; in ae_pm_init() local
1388 pmstat = pci_read_config(sc->dev, pmc + PCIR_POWER_STATUS, 2); in ae_pm_init()
1389 pmstat &= ~(PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE); in ae_pm_init()
1391 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in ae_pm_init()
1392 pci_write_config(sc->dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in ae_pm_init()
/freebsd-10-stable/sys/dev/sis/
Dif_sis.c2314 uint16_t pmstat; in sis_wol() local
2349 pmstat = pci_read_config(sc->sis_dev, in sis_wol()
2351 pmstat &= ~(PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE); in sis_wol()
2353 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in sis_wol()
2355 pmc + PCIR_POWER_STATUS, pmstat, 2); in sis_wol()
/freebsd-10-stable/sys/dev/vr/
Dif_vr.c2528 uint16_t pmstat; in vr_setwol() local
2573 pmstat = pci_read_config(sc->vr_dev, pmc + PCIR_POWER_STATUS, 2); in vr_setwol()
2574 pmstat &= ~(PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE); in vr_setwol()
2576 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in vr_setwol()
2577 pci_write_config(sc->vr_dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in vr_setwol()
/freebsd-10-stable/sys/dev/xl/
Dif_xl.c3269 u_int16_t cfg, pmstat; in xl_setwol() local
3286 pmstat = pci_read_config(sc->xl_dev, in xl_setwol()
3289 pmstat |= PCIM_PSTAT_PMEENABLE; in xl_setwol()
3291 pmstat &= ~PCIM_PSTAT_PMEENABLE; in xl_setwol()
3293 sc->xl_pmcap + PCIR_POWER_STATUS, pmstat, 2); in xl_setwol()
/freebsd-10-stable/sys/dev/nfe/
Dif_nfe.c3375 uint16_t pmstat; in nfe_set_wol() local
3399 pmstat = pci_read_config(sc->nfe_dev, pmc + PCIR_POWER_STATUS, 2); in nfe_set_wol()
3400 pmstat &= ~(PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE); in nfe_set_wol()
3402 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in nfe_set_wol()
3403 pci_write_config(sc->nfe_dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in nfe_set_wol()
/freebsd-10-stable/sys/dev/age/
Dif_age.c1331 uint16_t pmstat; in age_setwol() local
1442 pmstat = pci_read_config(sc->age_dev, pmc + PCIR_POWER_STATUS, 2); in age_setwol()
1443 pmstat &= ~(PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE); in age_setwol()
1445 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in age_setwol()
1446 pci_write_config(sc->age_dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in age_setwol()
/freebsd-10-stable/sys/dev/re/
Dif_re.c3837 uint16_t pmstat; in re_setwol() local
3904 pmstat = pci_read_config(sc->rl_dev, pmc + PCIR_POWER_STATUS, 2); in re_setwol()
3905 pmstat &= ~(PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE); in re_setwol()
3907 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in re_setwol()
3908 pci_write_config(sc->rl_dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in re_setwol()