Searched refs:rf_kill (Results 1 - 9 of 9) sorted by relevance

/linux-4.1.27/drivers/net/wireless/ath/ath5k/
H A Drfkill.c42 ah->rf_kill.gpio, ah->rf_kill.polarity); ath5k_rfkill_disable()
43 ath5k_hw_set_gpio_output(ah, ah->rf_kill.gpio); ath5k_rfkill_disable()
44 ath5k_hw_set_gpio(ah, ah->rf_kill.gpio, !ah->rf_kill.polarity); ath5k_rfkill_disable()
51 ah->rf_kill.gpio, ah->rf_kill.polarity); ath5k_rfkill_enable()
52 ath5k_hw_set_gpio_output(ah, ah->rf_kill.gpio); ath5k_rfkill_enable()
53 ath5k_hw_set_gpio(ah, ah->rf_kill.gpio, ah->rf_kill.polarity); ath5k_rfkill_enable()
60 ath5k_hw_set_gpio_input(ah, ah->rf_kill.gpio); ath5k_rfkill_set_intr()
61 curval = ath5k_hw_get_gpio(ah, ah->rf_kill.gpio); ath5k_rfkill_set_intr()
62 ath5k_hw_set_gpio_intr(ah, ah->rf_kill.gpio, enable ? ath5k_rfkill_set_intr()
70 /*ath5k_hw_set_gpio_input(ah, ah->rf_kill.gpio);*/ ath5k_is_rfkill_set()
71 return ath5k_hw_get_gpio(ah, ah->rf_kill.gpio) == ath5k_is_rfkill_set()
72 ah->rf_kill.polarity; ath5k_is_rfkill_set()
90 ah->rf_kill.gpio = ah->ah_capabilities.cap_eeprom.ee_rfkill_pin; ath5k_rfkill_hw_start()
91 ah->rf_kill.polarity = ah->ah_capabilities.cap_eeprom.ee_rfkill_pol; ath5k_rfkill_hw_start()
93 tasklet_init(&ah->rf_kill.toggleq, ath5k_tasklet_rfkill_toggle, ath5k_rfkill_hw_start()
111 tasklet_kill(&ah->rf_kill.toggleq); ath5k_rfkill_hw_stop()
H A Dath5k.h1321 struct ath5k_rfkill rf_kill; member in struct:ath5k_hw
H A Dbase.c2374 tasklet_schedule(&ah->rf_kill.toggleq); ath5k_intr()
/linux-4.1.27/net/rfkill/
H A Drfkill-regulator.c24 struct rfkill *rf_kill; member in struct:rfkill_regulator_data
65 struct rfkill *rf_kill; rfkill_regulator_probe() local
91 rf_kill = rfkill_alloc(pdata->name, &pdev->dev, rfkill_regulator_probe()
94 if (rf_kill == NULL) { rfkill_regulator_probe()
104 rfkill_data->rf_kill = rf_kill; rfkill_regulator_probe()
106 ret = rfkill_register(rf_kill); rfkill_regulator_probe()
118 rfkill_destroy(rf_kill); rfkill_regulator_probe()
130 struct rfkill *rf_kill = rfkill_data->rf_kill; rfkill_regulator_remove() local
132 rfkill_unregister(rf_kill); rfkill_regulator_remove()
133 rfkill_destroy(rf_kill); rfkill_regulator_remove()
/linux-4.1.27/drivers/net/wireless/ipw2x00/
H A Dipw2100.h485 int stop_rf_kill; /* Set 1 when shutting down to kill rf_kill */
579 struct delayed_work rf_kill; member in struct:ipw2100_priv
H A Dipw2100.c1811 schedule_delayed_work(&priv->rf_kill, ipw2100_up()
1862 cancel_delayed_work(&priv->rf_kill); ipw2100_down()
2176 mod_delayed_work(system_wq, &priv->rf_kill, round_jiffies_relative(HZ)); isr_indicate_rf_kill()
4284 mod_delayed_work(system_wq, &priv->rf_kill, ipw_radio_kill_sw()
4302 static DEVICE_ATTR(rf_kill, S_IWUSR | S_IRUGO, show_rf_kill, store_rf_kill);
4419 cancel_delayed_work_sync(&priv->rf_kill); ipw2100_kill_works()
5998 container_of(work, struct ipw2100_priv, rf_kill.work); ipw2100_rf_kill()
6006 schedule_delayed_work(&priv->rf_kill, ipw2100_rf_kill()
6151 INIT_DELAYED_WORK(&priv->rf_kill, ipw2100_rf_kill); ipw2100_alloc_device()
H A Dipw2200.c1816 cancel_delayed_work(&priv->rf_kill); ipw_radio_kill_sw()
1817 schedule_delayed_work(&priv->rf_kill, ipw_radio_kill_sw()
1836 static DEVICE_ATTR(rf_kill, S_IWUSR | S_IRUGO, show_rf_kill, store_rf_kill);
2071 schedule_delayed_work(&priv->rf_kill, 2 * HZ); ipw_irq_tasklet()
10582 schedule_delayed_work(&priv->rf_kill, 2 * HZ); ipw_rf_kill()
10605 container_of(work, struct ipw_priv, rf_kill.work); ipw_bg_rf_kill()
10687 INIT_DELAYED_WORK(&priv->rf_kill, ipw_bg_rf_kill); ipw_setup_deferred_work()
11239 schedule_delayed_work(&priv->rf_kill, 2 * HZ); ipw_up()
11836 cancel_delayed_work_sync(&priv->rf_kill); ipw_pci_remove()
H A Dipw2200.h1310 struct delayed_work rf_kill; member in struct:ipw_priv
/linux-4.1.27/drivers/net/wireless/iwlegacy/
H A D3945-mac.c2423 /* We return success when we resume from suspend and rf_kill is on. */ __il3945_up()

Completed in 428 milliseconds