Home | History | Annotate | Download | only in ath5k

Lines Matching defs:ah

46 	ath5k_hw_set_gpio_output(sc->ah, sc->rf_kill.gpio);
47 ath5k_hw_set_gpio(sc->ah, sc->rf_kill.gpio, !sc->rf_kill.polarity);
55 ath5k_hw_set_gpio_output(sc->ah, sc->rf_kill.gpio);
56 ath5k_hw_set_gpio(sc->ah, sc->rf_kill.gpio, sc->rf_kill.polarity);
61 struct ath5k_hw *ah = sc->ah;
64 ath5k_hw_set_gpio_input(ah, sc->rf_kill.gpio);
65 curval = ath5k_hw_get_gpio(ah, sc->rf_kill.gpio);
66 ath5k_hw_set_gpio_intr(ah, sc->rf_kill.gpio, enable ?
74 /*ath5k_hw_set_gpio_input(sc->ah, sc->rf_kill.gpio);*/
75 return (ath5k_hw_get_gpio(sc->ah, sc->rf_kill.gpio) ==
80 ath5k_rfkill_hw_start(struct ath5k_hw *ah)
82 struct ath5k_softc *sc = ah->ah_sc;
85 sc->rf_kill.gpio = ah->ah_capabilities.cap_eeprom.ee_rfkill_pin;
86 sc->rf_kill.polarity = ah->ah_capabilities.cap_eeprom.ee_rfkill_pol;
91 if (AR5K_EEPROM_HDR_RFKILL(ah->ah_capabilities.cap_eeprom.ee_header))
97 ath5k_rfkill_hw_stop(struct ath5k_hw *ah)
99 struct ath5k_softc *sc = ah->ah_sc;
102 if (AR5K_EEPROM_HDR_RFKILL(ah->ah_capabilities.cap_eeprom.ee_header))