44 DBG(
"ath5k: rfkill disable (gpio:%d polarity:%d)\n",
53 DBG(
"ath5k: rfkill enable (gpio:%d polarity:%d)\n",
85 sc->
rf_kill.
gpio =
ah->ah_capabilities.cap_eeprom.ee_rfkill_pin;
void ath5k_rfkill_hw_stop(struct ath5k_hw *ah)
int ath5k_hw_set_gpio_output(struct ath5k_hw *ah, u32 gpio)
struct ath5k_softc::@15 rf_kill
void ath5k_rfkill_hw_start(struct ath5k_hw *ah)
static void ath5k_rfkill_disable(struct ath5k_softc *sc)
void ath5k_hw_set_gpio_intr(struct ath5k_hw *ah, unsigned int gpio, u32 interrupt_level)
ath5k_hw_get_isr - Get interrupt status
#define __unused
Declare a variable or data structure as unused.
int ath5k_hw_set_gpio_input(struct ath5k_hw *ah, u32 gpio)
#define AR5K_EEPROM_HDR_RFKILL(_v)
int ath5k_hw_set_gpio(struct ath5k_hw *ah, u32 gpio, u32 val)
static void ath5k_rfkill_set_intr(struct ath5k_softc *sc, int enable)
static void ath5k_rfkill_enable(struct ath5k_softc *sc)
#define DBG(...)
Print a debugging message.
u32 ath5k_hw_get_gpio(struct ath5k_hw *ah, u32 gpio)
static int __unused ath5k_is_rfkill_set(struct ath5k_softc *sc)