Lines Matching full:power_state
299 _ath_power_setpower(struct ath_softc *sc, int power_state, int selfgen,
308 power_state,
313 sc->sc_target_powerstate = power_state;
322 if ((sc->sc_powersave_refcnt == 0 || power_state == HAL_PM_AWAKE) &&
323 power_state != sc->sc_cur_powerstate) {
324 sc->sc_cur_powerstate = power_state;
325 ath_hal_setpower(sc->sc_ah, power_state);
353 _ath_power_set_selfgen(struct ath_softc *sc, int power_state, const char *file, int line)
362 power_state,
365 sc->sc_target_selfgen_state = power_state;
375 ath_hal_setselfgenpower(sc->sc_ah, power_state);
389 _ath_power_set_power_state(struct ath_softc *sc, int power_state, const char *file, int line)
397 power_state,
406 if (power_state != sc->sc_cur_powerstate) {
407 ath_hal_setpower(sc->sc_ah, power_state);
408 sc->sc_cur_powerstate = power_state;