Home
last modified time | relevance | path

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

/freebsd-13.1/sys/dev/rl/
H A Dif_rl.c1988 uint16_t pmstat; in rl_resume() local
1998 pmstat = pci_read_config(sc->rl_dev, in rl_resume()
2000 if ((pmstat & PCIM_PSTAT_PMEENABLE) != 0) { in rl_resume()
2001 pmstat &= ~PCIM_PSTAT_PMEENABLE; in rl_resume()
2003 pmc + PCIR_POWER_STATUS, pmstat, 2); in rl_resume()
2053 uint16_t pmstat; in rl_setwol() local
2095 pmstat = pci_read_config(sc->rl_dev, pmc + PCIR_POWER_STATUS, 2); in rl_setwol()
2096 pmstat &= ~(PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE); in rl_setwol()
2098 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in rl_setwol()
2099 pci_write_config(sc->rl_dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in rl_setwol()
/freebsd-13.1/sys/dev/ste/
H A Dif_ste.c2008 uint16_t pmstat; in ste_resume() local
2014 pmstat = pci_read_config(sc->ste_dev, in ste_resume()
2016 if ((pmstat & PCIM_PSTAT_PMEENABLE) != 0) { in ste_resume()
2017 pmstat &= ~PCIM_PSTAT_PMEENABLE; in ste_resume()
2019 pmc + PCIR_POWER_STATUS, pmstat, 2); in ste_resume()
2110 uint16_t pmstat; in ste_setwol() local
2131 pmstat = pci_read_config(sc->ste_dev, pmc + PCIR_POWER_STATUS, 2); in ste_setwol()
2132 pmstat &= ~(PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE); in ste_setwol()
2134 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in ste_setwol()
2135 pci_write_config(sc->ste_dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in ste_setwol()
/freebsd-13.1/sys/dev/nge/
H A Dif_nge.c2527 uint16_t pmstat; in nge_wol() local
2573 pmstat = pci_read_config(sc->nge_dev, pmc + PCIR_POWER_STATUS, 2); in nge_wol()
2574 pmstat &= ~(PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE); in nge_wol()
2576 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in nge_wol()
2577 pci_write_config(sc->nge_dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in nge_wol()
2612 uint16_t pmstat; in nge_resume() local
2621 pmstat = pci_read_config(sc->nge_dev, in nge_resume()
2623 if ((pmstat & PCIM_PSTAT_PMEENABLE) != 0) { in nge_resume()
2624 pmstat &= ~PCIM_PSTAT_PMEENABLE; in nge_resume()
2626 pmc + PCIR_POWER_STATUS, pmstat, 2); in nge_resume()
/freebsd-13.1/sys/dev/vge/
H A Dif_vge.c2460 uint16_t pmstat; in vge_resume() local
2466 pmstat = pci_read_config(sc->vge_dev, in vge_resume()
2468 if ((pmstat & PCIM_PSTAT_PMEENABLE) != 0) { in vge_resume()
2469 pmstat &= ~PCIM_PSTAT_PMEENABLE; in vge_resume()
2471 sc->vge_pmcap + PCIR_POWER_STATUS, pmstat, 2); in vge_resume()
2852 uint16_t pmstat; in vge_setwol() local
2904 pmstat = pci_read_config(sc->vge_dev, sc->vge_pmcap + in vge_setwol()
2906 pmstat &= ~(PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE); in vge_setwol()
2908 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in vge_setwol()
2910 pmstat, 2); in vge_setwol()
/freebsd-13.1/sys/dev/ale/
H A Dif_ale.c1492 uint16_t pmstat; in ale_setwol() local
1543 pmstat = pci_read_config(sc->ale_dev, pmc + PCIR_POWER_STATUS, 2); in ale_setwol()
1544 pmstat &= ~(PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE); in ale_setwol()
1546 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in ale_setwol()
1547 pci_write_config(sc->ale_dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in ale_setwol()
1571 uint16_t pmstat; in ale_resume() local
1578 pmstat = pci_read_config(sc->ale_dev, in ale_resume()
1580 if ((pmstat & PCIM_PSTAT_PMEENABLE) != 0) { in ale_resume()
1581 pmstat &= ~PCIM_PSTAT_PMEENABLE; in ale_resume()
1583 pmc + PCIR_POWER_STATUS, pmstat, 2); in ale_resume()
/freebsd-13.1/sys/dev/fxp/
H A Dif_fxp.c1070 uint16_t pmstat; in fxp_suspend() local
1076 pmstat = pci_read_config(sc->dev, pmc + PCIR_POWER_STATUS, 2); in fxp_suspend()
1077 pmstat &= ~(PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE); in fxp_suspend()
1080 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in fxp_suspend()
1086 pci_write_config(sc->dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in fxp_suspend()
1106 uint16_t pmstat; in fxp_resume() local
1112 pmstat = pci_read_config(sc->dev, pmc + PCIR_POWER_STATUS, 2); in fxp_resume()
1114 pmstat &= ~PCIM_PSTAT_PMEENABLE; in fxp_resume()
1115 pci_write_config(sc->dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in fxp_resume()
/freebsd-13.1/sys/dev/alc/
H A Dif_alc.c2532 uint16_t pmstat; in alc_setwol_813x() local
2581 pmstat = pci_read_config(sc->alc_dev, in alc_setwol_813x()
2585 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in alc_setwol_813x()
2587 sc->alc_pmcap + PCIR_POWER_STATUS, pmstat, 2); in alc_setwol_813x()
2595 uint16_t pmstat; in alc_setwol_816x() local
2646 pmstat = pci_read_config(sc->alc_dev, in alc_setwol_816x()
2650 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in alc_setwol_816x()
2676 uint16_t pmstat; in alc_resume() local
2683 pmstat = pci_read_config(sc->alc_dev, in alc_resume()
2685 if ((pmstat & PCIM_PSTAT_PMEENABLE) != 0) { in alc_resume()
[all …]
/freebsd-13.1/sys/dev/jme/
H A 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-13.1/sys/dev/ae/
H A 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-13.1/sys/dev/sis/
H A Dif_sis.c2325 uint16_t pmstat; in sis_wol() local
2360 pmstat = pci_read_config(sc->sis_dev, in sis_wol()
2362 pmstat &= ~(PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE); in sis_wol()
2364 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in sis_wol()
2366 pmc + PCIR_POWER_STATUS, pmstat, 2); in sis_wol()
/freebsd-13.1/sys/dev/vr/
H A Dif_vr.c2542 uint16_t pmstat; in vr_setwol() local
2587 pmstat = pci_read_config(sc->vr_dev, pmc + PCIR_POWER_STATUS, 2); in vr_setwol()
2588 pmstat &= ~(PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE); in vr_setwol()
2590 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in vr_setwol()
2591 pci_write_config(sc->vr_dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in vr_setwol()
/freebsd-13.1/sys/dev/xl/
H A Dif_xl.c3274 u_int16_t cfg, pmstat; in xl_setwol() local
3291 pmstat = pci_read_config(sc->xl_dev, in xl_setwol()
3294 pmstat |= PCIM_PSTAT_PMEENABLE; in xl_setwol()
3296 pmstat &= ~PCIM_PSTAT_PMEENABLE; in xl_setwol()
3298 sc->xl_pmcap + PCIR_POWER_STATUS, pmstat, 2); in xl_setwol()
/freebsd-13.1/sys/dev/nfe/
H A Dif_nfe.c3328 uint16_t pmstat; in nfe_set_wol() local
3352 pmstat = pci_read_config(sc->nfe_dev, pmc + PCIR_POWER_STATUS, 2); in nfe_set_wol()
3353 pmstat &= ~(PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE); in nfe_set_wol()
3355 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in nfe_set_wol()
3356 pci_write_config(sc->nfe_dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in nfe_set_wol()
/freebsd-13.1/sys/dev/age/
H A Dif_age.c1328 uint16_t pmstat; in age_setwol() local
1439 pmstat = pci_read_config(sc->age_dev, pmc + PCIR_POWER_STATUS, 2); in age_setwol()
1440 pmstat &= ~(PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE); in age_setwol()
1442 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in age_setwol()
1443 pci_write_config(sc->age_dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in age_setwol()
/freebsd-13.1/sys/dev/re/
H A Dif_re.c3870 uint16_t pmstat; in re_setwol() local
3937 pmstat = pci_read_config(sc->rl_dev, pmc + PCIR_POWER_STATUS, 2); in re_setwol()
3938 pmstat &= ~(PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE); in re_setwol()
3940 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in re_setwol()
3941 pci_write_config(sc->rl_dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in re_setwol()