Home
last modified time | relevance | path

Searched refs:power_state (Results 1 – 2 of 2) sorted by relevance

/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/
H A Dif_ath_misc.h114 extern void _ath_power_setpower(struct ath_softc *sc, int power_state,
117 int power_state, const char *file, int line);
119 int power_state, const char *file, int line);
H A Dif_ath.c299 _ath_power_setpower(struct ath_softc *sc, int power_state, int selfgen, in _ath_power_setpower() argument
308 power_state, in _ath_power_setpower()
313 sc->sc_target_powerstate = power_state; in _ath_power_setpower()
322 if ((sc->sc_powersave_refcnt == 0 || power_state == HAL_PM_AWAKE) && in _ath_power_setpower()
323 power_state != sc->sc_cur_powerstate) { in _ath_power_setpower()
324 sc->sc_cur_powerstate = power_state; in _ath_power_setpower()
325 ath_hal_setpower(sc->sc_ah, power_state); in _ath_power_setpower()
353 _ath_power_set_selfgen(struct ath_softc *sc, int power_state, const char *file, int line) in _ath_power_set_selfgen() argument
362 power_state, in _ath_power_set_selfgen()
365 sc->sc_target_selfgen_state = power_state; in _ath_power_set_selfgen()
[all …]