Home
last modified time | relevance | path

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

/freebsd-14.2/sys/dev/rl/
H A Dif_rl.c1978 uint16_t pmstat; in rl_resume() local
1988 pmstat = pci_read_config(sc->rl_dev, in rl_resume()
1990 if ((pmstat & PCIM_PSTAT_PMEENABLE) != 0) { in rl_resume()
1991 pmstat &= ~PCIM_PSTAT_PMEENABLE; in rl_resume()
1993 pmc + PCIR_POWER_STATUS, pmstat, 2); in rl_resume()
2043 uint16_t pmstat; in rl_setwol() local
2085 pmstat = pci_read_config(sc->rl_dev, pmc + PCIR_POWER_STATUS, 2); in rl_setwol()
2086 pmstat &= ~(PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE); in rl_setwol()
2088 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in rl_setwol()
2089 pci_write_config(sc->rl_dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in rl_setwol()
/freebsd-14.2/sys/dev/ste/
H A Dif_ste.c1998 uint16_t pmstat; in ste_resume() local
2004 pmstat = pci_read_config(sc->ste_dev, in ste_resume()
2006 if ((pmstat & PCIM_PSTAT_PMEENABLE) != 0) { in ste_resume()
2007 pmstat &= ~PCIM_PSTAT_PMEENABLE; in ste_resume()
2009 pmc + PCIR_POWER_STATUS, pmstat, 2); in ste_resume()
2100 uint16_t pmstat; in ste_setwol() local
2121 pmstat = pci_read_config(sc->ste_dev, pmc + PCIR_POWER_STATUS, 2); in ste_setwol()
2122 pmstat &= ~(PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE); in ste_setwol()
2124 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in ste_setwol()
2125 pci_write_config(sc->ste_dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in ste_setwol()
/freebsd-14.2/sys/dev/nge/
H A Dif_nge.c2517 uint16_t pmstat; in nge_wol() local
2563 pmstat = pci_read_config(sc->nge_dev, pmc + PCIR_POWER_STATUS, 2); in nge_wol()
2564 pmstat &= ~(PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE); in nge_wol()
2566 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in nge_wol()
2567 pci_write_config(sc->nge_dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in nge_wol()
2602 uint16_t pmstat; in nge_resume() local
2611 pmstat = pci_read_config(sc->nge_dev, in nge_resume()
2613 if ((pmstat & PCIM_PSTAT_PMEENABLE) != 0) { in nge_resume()
2614 pmstat &= ~PCIM_PSTAT_PMEENABLE; in nge_resume()
2616 pmc + PCIR_POWER_STATUS, pmstat, 2); in nge_resume()
/freebsd-14.2/sys/dev/vge/
H A Dif_vge.c2449 uint16_t pmstat; in vge_resume() local
2455 pmstat = pci_read_config(sc->vge_dev, in vge_resume()
2457 if ((pmstat & PCIM_PSTAT_PMEENABLE) != 0) { in vge_resume()
2458 pmstat &= ~PCIM_PSTAT_PMEENABLE; in vge_resume()
2460 sc->vge_pmcap + PCIR_POWER_STATUS, pmstat, 2); in vge_resume()
2841 uint16_t pmstat; in vge_setwol() local
2893 pmstat = pci_read_config(sc->vge_dev, sc->vge_pmcap + in vge_setwol()
2895 pmstat &= ~(PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE); in vge_setwol()
2897 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in vge_setwol()
2899 pmstat, 2); in vge_setwol()
/freebsd-14.2/sys/dev/ale/
H A Dif_ale.c1475 uint16_t pmstat; in ale_setwol() local
1526 pmstat = pci_read_config(sc->ale_dev, pmc + PCIR_POWER_STATUS, 2); in ale_setwol()
1527 pmstat &= ~(PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE); in ale_setwol()
1529 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in ale_setwol()
1530 pci_write_config(sc->ale_dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in ale_setwol()
1554 uint16_t pmstat; in ale_resume() local
1561 pmstat = pci_read_config(sc->ale_dev, in ale_resume()
1563 if ((pmstat & PCIM_PSTAT_PMEENABLE) != 0) { in ale_resume()
1564 pmstat &= ~PCIM_PSTAT_PMEENABLE; in ale_resume()
1566 pmc + PCIR_POWER_STATUS, pmstat, 2); in ale_resume()
/freebsd-14.2/sys/dev/fxp/
H A Dif_fxp.c1060 uint16_t pmstat; in fxp_suspend() local
1066 pmstat = pci_read_config(sc->dev, pmc + PCIR_POWER_STATUS, 2); in fxp_suspend()
1067 pmstat &= ~(PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE); in fxp_suspend()
1070 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in fxp_suspend()
1076 pci_write_config(sc->dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in fxp_suspend()
1096 uint16_t pmstat; in fxp_resume() local
1102 pmstat = pci_read_config(sc->dev, pmc + PCIR_POWER_STATUS, 2); in fxp_resume()
1104 pmstat &= ~PCIM_PSTAT_PMEENABLE; in fxp_resume()
1105 pci_write_config(sc->dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in fxp_resume()
/freebsd-14.2/sys/dev/alc/
H A Dif_alc.c2538 uint16_t pmstat; in alc_setwol_813x() local
2587 pmstat = pci_read_config(sc->alc_dev, in alc_setwol_813x()
2591 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in alc_setwol_813x()
2593 sc->alc_pmcap + PCIR_POWER_STATUS, pmstat, 2); in alc_setwol_813x()
2601 uint16_t pmstat; in alc_setwol_816x() local
2652 pmstat = pci_read_config(sc->alc_dev, in alc_setwol_816x()
2656 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in alc_setwol_816x()
2682 uint16_t pmstat; in alc_resume() local
2689 pmstat = pci_read_config(sc->alc_dev, in alc_resume()
2691 if ((pmstat & PCIM_PSTAT_PMEENABLE) != 0) { in alc_resume()
[all …]
/freebsd-14.2/sys/dev/jme/
H A Dif_jme.c1570 uint16_t pmstat; in jme_setwol() local
1610 pmstat = pci_read_config(sc->jme_dev, pmc + PCIR_POWER_STATUS, 2); in jme_setwol()
1611 pmstat &= ~(PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE); in jme_setwol()
1613 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in jme_setwol()
1614 pci_write_config(sc->jme_dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in jme_setwol()
1641 uint16_t pmstat; in jme_resume() local
1648 pmstat = pci_read_config(sc->jme_dev, in jme_resume()
1651 pmstat &= ~PCIM_PSTAT_PMEENABLE; in jme_resume()
1653 pmc + PCIR_POWER_STATUS, pmstat, 2); in jme_resume()
/freebsd-14.2/sys/dev/ae/
H A Dif_ae.c1310 uint16_t pmstat; in ae_pm_init() local
1372 pmstat = pci_read_config(sc->dev, pmc + PCIR_POWER_STATUS, 2); in ae_pm_init()
1373 pmstat &= ~(PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE); in ae_pm_init()
1375 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in ae_pm_init()
1376 pci_write_config(sc->dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in ae_pm_init()
/freebsd-14.2/sys/dev/sis/
H A Dif_sis.c2316 uint16_t pmstat; in sis_wol() local
2351 pmstat = pci_read_config(sc->sis_dev, in sis_wol()
2353 pmstat &= ~(PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE); in sis_wol()
2355 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in sis_wol()
2357 pmc + PCIR_POWER_STATUS, pmstat, 2); in sis_wol()
/freebsd-14.2/sys/dev/vr/
H A Dif_vr.c2532 uint16_t pmstat; in vr_setwol() local
2577 pmstat = pci_read_config(sc->vr_dev, pmc + PCIR_POWER_STATUS, 2); in vr_setwol()
2578 pmstat &= ~(PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE); in vr_setwol()
2580 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in vr_setwol()
2581 pci_write_config(sc->vr_dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in vr_setwol()
/freebsd-14.2/sys/dev/xl/
H A Dif_xl.c3261 u_int16_t cfg, pmstat; in xl_setwol() local
3278 pmstat = pci_read_config(sc->xl_dev, in xl_setwol()
3281 pmstat |= PCIM_PSTAT_PMEENABLE; in xl_setwol()
3283 pmstat &= ~PCIM_PSTAT_PMEENABLE; in xl_setwol()
3285 sc->xl_pmcap + PCIR_POWER_STATUS, pmstat, 2); in xl_setwol()
/freebsd-14.2/sys/dev/age/
H A Dif_age.c1311 uint16_t pmstat; in age_setwol() local
1422 pmstat = pci_read_config(sc->age_dev, pmc + PCIR_POWER_STATUS, 2); in age_setwol()
1423 pmstat &= ~(PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE); in age_setwol()
1425 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in age_setwol()
1426 pci_write_config(sc->age_dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in age_setwol()
/freebsd-14.2/sys/dev/nfe/
H A Dif_nfe.c3315 uint16_t pmstat; in nfe_set_wol() local
3339 pmstat = pci_read_config(sc->nfe_dev, pmc + PCIR_POWER_STATUS, 2); in nfe_set_wol()
3340 pmstat &= ~(PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE); in nfe_set_wol()
3342 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in nfe_set_wol()
3343 pci_write_config(sc->nfe_dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in nfe_set_wol()
/freebsd-14.2/sys/dev/re/
H A Dif_re.c3865 uint16_t pmstat; in re_setwol() local
3932 pmstat = pci_read_config(sc->rl_dev, pmc + PCIR_POWER_STATUS, 2); in re_setwol()
3933 pmstat &= ~(PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE); in re_setwol()
3935 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in re_setwol()
3936 pci_write_config(sc->rl_dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in re_setwol()