Home
last modified time | relevance | path

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

/NextBSD/sys/dev/rl/
HDif_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()
/NextBSD/sys/dev/ste/
HDif_ste.c2004 uint16_t pmstat; in ste_resume() local
2010 pmstat = pci_read_config(sc->ste_dev, in ste_resume()
2012 if ((pmstat & PCIM_PSTAT_PMEENABLE) != 0) { in ste_resume()
2013 pmstat &= ~PCIM_PSTAT_PMEENABLE; in ste_resume()
2015 pmc + PCIR_POWER_STATUS, pmstat, 2); in ste_resume()
2106 uint16_t pmstat; in ste_setwol() local
2127 pmstat = pci_read_config(sc->ste_dev, pmc + PCIR_POWER_STATUS, 2); in ste_setwol()
2128 pmstat &= ~(PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE); in ste_setwol()
2130 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in ste_setwol()
2131 pci_write_config(sc->ste_dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in ste_setwol()
/NextBSD/sys/dev/nge/
HDif_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()
/NextBSD/sys/dev/vge/
HDif_vge.c2452 uint16_t pmstat; in vge_resume() local
2458 pmstat = pci_read_config(sc->vge_dev, in vge_resume()
2460 if ((pmstat & PCIM_PSTAT_PMEENABLE) != 0) { in vge_resume()
2461 pmstat &= ~PCIM_PSTAT_PMEENABLE; in vge_resume()
2463 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()
/NextBSD/sys/dev/ale/
HDif_ale.c1496 uint16_t pmstat; in ale_setwol() local
1547 pmstat = pci_read_config(sc->ale_dev, pmc + PCIR_POWER_STATUS, 2); in ale_setwol()
1548 pmstat &= ~(PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE); in ale_setwol()
1550 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in ale_setwol()
1551 pci_write_config(sc->ale_dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in ale_setwol()
1575 uint16_t pmstat; in ale_resume() local
1582 pmstat = pci_read_config(sc->ale_dev, in ale_resume()
1584 if ((pmstat & PCIM_PSTAT_PMEENABLE) != 0) { in ale_resume()
1585 pmstat &= ~PCIM_PSTAT_PMEENABLE; in ale_resume()
1587 pmc + PCIR_POWER_STATUS, pmstat, 2); in ale_resume()
/NextBSD/sys/dev/fxp/
HDif_fxp.c1068 uint16_t pmstat; in fxp_suspend() local
1074 pmstat = pci_read_config(sc->dev, pmc + PCIR_POWER_STATUS, 2); in fxp_suspend()
1075 pmstat &= ~(PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE); in fxp_suspend()
1078 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in fxp_suspend()
1084 pci_write_config(sc->dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in fxp_suspend()
1104 uint16_t pmstat; in fxp_resume() local
1110 pmstat = pci_read_config(sc->dev, pmc + PCIR_POWER_STATUS, 2); in fxp_resume()
1112 pmstat &= ~PCIM_PSTAT_PMEENABLE; in fxp_resume()
1113 pci_write_config(sc->dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in fxp_resume()
/NextBSD/sys/dev/alc/
HDif_alc.c2500 uint16_t pmstat; in alc_setwol_813x() local
2549 pmstat = pci_read_config(sc->alc_dev, in alc_setwol_813x()
2551 pmstat &= ~(PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE); in alc_setwol_813x()
2553 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in alc_setwol_813x()
2555 sc->alc_pmcap + PCIR_POWER_STATUS, pmstat, 2); in alc_setwol_813x()
2563 uint16_t pmstat; in alc_setwol_816x() local
2614 pmstat = pci_read_config(sc->alc_dev, in alc_setwol_816x()
2616 pmstat &= ~(PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE); in alc_setwol_816x()
2618 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in alc_setwol_816x()
2620 sc->alc_pmcap + PCIR_POWER_STATUS, pmstat, 2); in alc_setwol_816x()
[all …]
/NextBSD/sys/dev/txp/
HDif_txp.c1128 uint16_t pmstat; in txp_suspend() local
1161 pmstat = pci_read_config(sc->sc_dev, in txp_suspend()
1163 pmstat &= ~(PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE); in txp_suspend()
1165 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in txp_suspend()
1167 pmc + PCIR_POWER_STATUS, pmstat, 2); in txp_suspend()
1179 uint16_t pmstat; in txp_resume() local
1186 pmstat = pci_read_config(sc->sc_dev, in txp_resume()
1188 if ((pmstat & PCIM_PSTAT_PMEENABLE) != 0) { in txp_resume()
1189 pmstat &= ~PCIM_PSTAT_PMEENABLE; in txp_resume()
1191 pmc + PCIR_POWER_STATUS, pmstat, 2); in txp_resume()
/NextBSD/sys/dev/jme/
HDif_jme.c1586 uint16_t pmstat; in jme_setwol() local
1626 pmstat = pci_read_config(sc->jme_dev, pmc + PCIR_POWER_STATUS, 2); in jme_setwol()
1627 pmstat &= ~(PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE); in jme_setwol()
1629 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in jme_setwol()
1630 pci_write_config(sc->jme_dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in jme_setwol()
1657 uint16_t pmstat; in jme_resume() local
1664 pmstat = pci_read_config(sc->jme_dev, in jme_resume()
1667 pmstat &= ~PCIM_PSTAT_PMEENABLE; in jme_resume()
1669 pmc + PCIR_POWER_STATUS, pmstat, 2); in jme_resume()
/NextBSD/sys/dev/ae/
HDif_ae.c1323 uint16_t pmstat; in ae_pm_init() local
1385 pmstat = pci_read_config(sc->dev, pmc + PCIR_POWER_STATUS, 2); in ae_pm_init()
1386 pmstat &= ~(PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE); in ae_pm_init()
1388 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in ae_pm_init()
1389 pci_write_config(sc->dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in ae_pm_init()
/NextBSD/sys/dev/sis/
HDif_sis.c2315 uint16_t pmstat; in sis_wol() local
2350 pmstat = pci_read_config(sc->sis_dev, in sis_wol()
2352 pmstat &= ~(PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE); in sis_wol()
2354 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in sis_wol()
2356 pmc + PCIR_POWER_STATUS, pmstat, 2); in sis_wol()
/NextBSD/sys/dev/vr/
HDif_vr.c2527 uint16_t pmstat; in vr_setwol() local
2572 pmstat = pci_read_config(sc->vr_dev, pmc + PCIR_POWER_STATUS, 2); in vr_setwol()
2573 pmstat &= ~(PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE); in vr_setwol()
2575 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in vr_setwol()
2576 pci_write_config(sc->vr_dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in vr_setwol()
/NextBSD/sys/dev/xl/
HDif_xl.c3272 u_int16_t cfg, pmstat; in xl_setwol() local
3289 pmstat = pci_read_config(sc->xl_dev, in xl_setwol()
3292 pmstat |= PCIM_PSTAT_PMEENABLE; in xl_setwol()
3294 pmstat &= ~PCIM_PSTAT_PMEENABLE; in xl_setwol()
3296 sc->xl_pmcap + PCIR_POWER_STATUS, pmstat, 2); in xl_setwol()
/NextBSD/sys/dev/age/
HDif_age.c1327 uint16_t pmstat; in age_setwol() local
1438 pmstat = pci_read_config(sc->age_dev, pmc + PCIR_POWER_STATUS, 2); in age_setwol()
1439 pmstat &= ~(PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE); in age_setwol()
1441 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in age_setwol()
1442 pci_write_config(sc->age_dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in age_setwol()
/NextBSD/sys/dev/nfe/
HDif_nfe.c3384 uint16_t pmstat; in nfe_set_wol() local
3408 pmstat = pci_read_config(sc->nfe_dev, pmc + PCIR_POWER_STATUS, 2); in nfe_set_wol()
3409 pmstat &= ~(PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE); in nfe_set_wol()
3411 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in nfe_set_wol()
3412 pci_write_config(sc->nfe_dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in nfe_set_wol()
/NextBSD/sys/dev/re/
HDif_re.c3839 uint16_t pmstat; in re_setwol() local
3906 pmstat = pci_read_config(sc->rl_dev, pmc + PCIR_POWER_STATUS, 2); in re_setwol()
3907 pmstat &= ~(PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE); in re_setwol()
3909 pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; in re_setwol()
3910 pci_write_config(sc->rl_dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in re_setwol()