Home
last modified time | relevance | path

Searched refs:sc_power_state (Results 1 – 5 of 5) sorted by relevance

/netbsd/src/sys/dev/apm/
Dapm.c284 if (sc->sc_power_state == PWR_SUSPEND) { in apm_suspend()
291 sc->sc_power_state = PWR_SUSPEND; in apm_suspend()
312 if (sc->sc_power_state == PWR_STANDBY) { in apm_standby()
319 sc->sc_power_state = PWR_STANDBY; in apm_standby()
336 if (sc->sc_power_state == PWR_RESUME) { in apm_resume()
342 sc->sc_power_state = PWR_RESUME; in apm_resume()
633 sc->sc_power_state = PWR_RESUME; in apm_attach()
Dapmvar.h57 int sc_power_state; member
/netbsd/src/sys/dev/hpc/apm/
Dapmdev.c292 if (sc->sc_power_state == PWR_SUSPEND) { in apm_suspend()
299 sc->sc_power_state = PWR_SUSPEND; in apm_suspend()
320 if (sc->sc_power_state == PWR_STANDBY) { in apm_standby()
327 sc->sc_power_state = PWR_STANDBY; in apm_standby()
346 if (sc->sc_power_state == PWR_RESUME) { in apm_resume()
352 sc->sc_power_state = PWR_RESUME; in apm_resume()
692 sc->sc_power_state = PWR_RESUME; in apm_attach()
/netbsd/src/sys/dev/acpi/
Dqcompas.c128 uint32_t sc_power_state; member
1580 (sc->sc_power_state & BATTMGR_PWR_STATE_AC_ON)) { in qcpas_pmic_rtr_bat_status()
1590 sc->sc_power_state = bat->power_state; in qcpas_pmic_rtr_bat_status()
/netbsd/src/sys/arch/sparc/dev/
Dtctrl.c164 int sc_power_state; member
305 sc->sc_power_state = PWR_RESUME; in tctrl_attach()