/drivers/platform/x86/ |
D | dell-rbtn.c | 29 struct rfkill *rfkill; member 95 static void rbtn_rfkill_query(struct rfkill *rfkill, void *data) in rbtn_rfkill_query() argument 104 rfkill_set_states(rfkill, state, state); in rbtn_rfkill_query() 123 if (rbtn_data->rfkill) in rbtn_rfkill_init() 131 rbtn_data->rfkill = rfkill_alloc("dell-rbtn", &device->dev, in rbtn_rfkill_init() 133 if (!rbtn_data->rfkill) in rbtn_rfkill_init() 136 ret = rfkill_register(rbtn_data->rfkill); in rbtn_rfkill_init() 138 rfkill_destroy(rbtn_data->rfkill); in rbtn_rfkill_init() 139 rbtn_data->rfkill = NULL; in rbtn_rfkill_init() 150 if (!rbtn_data->rfkill) in rbtn_rfkill_exit() [all …]
|
D | asus-wmi.c | 216 struct rfkill *rfkill; member 674 if (asus->wlan.rfkill) in asus_rfkill_hotplug() 675 rfkill_set_sw_state(asus->wlan.rfkill, blocked); in asus_rfkill_hotplug() 887 static void asus_rfkill_query(struct rfkill *rfkill, void *data) in asus_rfkill_query() argument 897 rfkill_set_sw_state(priv->rfkill, !result); in asus_rfkill_query() 934 struct rfkill **rfkill = &arfkill->rfkill; in asus_new_rfkill() local 944 *rfkill = rfkill_alloc(name, &asus->platform_device->dev, type, in asus_new_rfkill() 947 *rfkill = rfkill_alloc(name, &asus->platform_device->dev, type, in asus_new_rfkill() 950 if (!*rfkill) in asus_new_rfkill() 955 rfkill_set_led_trigger_name(*rfkill, "asus-wlan"); in asus_new_rfkill() [all …]
|
D | hp-wmi.c | 171 static struct rfkill *wifi_rfkill; 172 static struct rfkill *bluetooth_rfkill; 173 static struct rfkill *wwan_rfkill; 178 struct rfkill *rfkill; member 411 rfkill_set_states(rfkill2[i].rfkill, in hp_wmi_rfkill2_refresh() 803 struct rfkill *rfkill; in hp_wmi_rfkill2_setup() local 835 rfkill = rfkill_alloc(name, &device->dev, type, in hp_wmi_rfkill2_setup() 837 if (!rfkill) { in hp_wmi_rfkill2_setup() 844 rfkill2[rfkill2_count].rfkill = rfkill; in hp_wmi_rfkill2_setup() 846 rfkill_init_sw_state(rfkill, in hp_wmi_rfkill2_setup() [all …]
|
D | intel_oaktrail.c | 102 static struct rfkill *bt_rfkill; 103 static struct rfkill *gps_rfkill; 104 static struct rfkill *wifi_rfkill; 105 static struct rfkill *wwan_rfkill; 131 static struct rfkill *oaktrail_rfkill_new(char *name, enum rfkill_type type, in oaktrail_rfkill_new() 134 struct rfkill *rfkill_dev; in oaktrail_rfkill_new() 155 static inline void __oaktrail_rfkill_cleanup(struct rfkill *rf) in __oaktrail_rfkill_cleanup()
|
D | samsung-laptop.c | 327 struct rfkill *rfkill; member 633 static void swsmi_rfkill_query(struct rfkill *rfkill, void *priv) in swsmi_rfkill_query() argument 651 rfkill_set_sw_state(rfkill, !ret); in swsmi_rfkill_query() 947 if (samsung->wlan.rfkill) { in samsung_rfkill_exit() 948 rfkill_unregister(samsung->wlan.rfkill); in samsung_rfkill_exit() 949 rfkill_destroy(samsung->wlan.rfkill); in samsung_rfkill_exit() 950 samsung->wlan.rfkill = NULL; in samsung_rfkill_exit() 952 if (samsung->bluetooth.rfkill) { in samsung_rfkill_exit() 953 rfkill_unregister(samsung->bluetooth.rfkill); in samsung_rfkill_exit() 954 rfkill_destroy(samsung->bluetooth.rfkill); in samsung_rfkill_exit() [all …]
|
D | xo1-rfkill.c | 45 struct rfkill *rfk; in xo1_rfkill_probe() 65 struct rfkill *rfk = platform_get_drvdata(pdev); in xo1_rfkill_remove()
|
D | eeepc-laptop.c | 175 struct rfkill *wlan_rfkill; 176 struct rfkill *bluetooth_rfkill; 177 struct rfkill *wwan3g_rfkill; 178 struct rfkill *wimax_rfkill; 798 struct rfkill **rfkill, in eeepc_new_rfkill() argument 809 *rfkill = rfkill_alloc(name, &eeepc->platform_device->dev, type, in eeepc_new_rfkill() 812 if (!*rfkill) in eeepc_new_rfkill() 815 rfkill_init_sw_state(*rfkill, get_acpi(eeepc, cm) != 1); in eeepc_new_rfkill() 816 result = rfkill_register(*rfkill); in eeepc_new_rfkill() 818 rfkill_destroy(*rfkill); in eeepc_new_rfkill() [all …]
|
D | dell-laptop.c | 95 static struct rfkill *wifi_rfkill; 96 static struct rfkill *bluetooth_rfkill; 97 static struct rfkill *wwan_rfkill; 464 static void dell_rfkill_update_sw_state(struct rfkill *rfkill, int radio, in dell_rfkill_update_sw_state() argument 470 int block = rfkill_blocked(rfkill); in dell_rfkill_update_sw_state() 476 rfkill_set_sw_state(rfkill, !!(status & BIT(radio + 16))); in dell_rfkill_update_sw_state() 480 static void dell_rfkill_update_hw_state(struct rfkill *rfkill, int radio, in dell_rfkill_update_hw_state() argument 484 rfkill_set_hw_state(rfkill, !(status & BIT(16))); in dell_rfkill_update_hw_state() 487 static void dell_rfkill_query(struct rfkill *rfkill, void *data) in dell_rfkill_query() argument 518 dell_rfkill_update_hw_state(rfkill, radio, status, hwswitch); in dell_rfkill_query()
|
D | toshiba_bluetooth.c | 34 struct rfkill *rfk; 187 static void bt_rfkill_poll(struct rfkill *rfkill, void *data) in bt_rfkill_poll() argument
|
D | asus-laptop.c | 244 struct rfkill *rfkill; member 1305 rfkill_set_sw_state(asus->gps.rfkill, !value); in gps_store() 1347 if (!rfk->rfkill) in asus_rfkill_terminate() 1350 rfkill_unregister(rfk->rfkill); in asus_rfkill_terminate() 1351 rfkill_destroy(rfk->rfkill); in asus_rfkill_terminate() 1352 rfk->rfkill = NULL; in asus_rfkill_terminate() 1371 rfk->rfkill = rfkill_alloc(name, &asus->platform_device->dev, in asus_rfkill_setup() 1373 if (!rfk->rfkill) in asus_rfkill_setup() 1376 result = rfkill_register(rfk->rfkill); in asus_rfkill_setup() 1378 rfkill_destroy(rfk->rfkill); in asus_rfkill_setup() [all …]
|
D | Makefile | 27 obj-$(CONFIG_AMILO_RFKILL) += amilo-rfkill.o 59 obj-$(CONFIG_XO1_RFKILL) += xo1-rfkill.o
|
D | msi-laptop.c | 125 static struct rfkill *rfk_wlan, *rfk_bluetooth, *rfk_threeg; 781 static bool msi_rfkill_set_state(struct rfkill *rfkill, bool blocked) in msi_rfkill_set_state() argument 784 return rfkill_set_hw_state(rfkill, blocked); in msi_rfkill_set_state() 786 return rfkill_set_sw_state(rfkill, blocked); in msi_rfkill_set_state()
|
D | compal-laptop.c | 368 static void compal_rfkill_poll(struct rfkill *rfkill, void *data) in compal_rfkill_poll() argument 372 rfkill_set_hw_state(rfkill, hw_blocked); in compal_rfkill_poll() 782 static struct rfkill *wifi_rfkill; 783 static struct rfkill *bt_rfkill;
|
D | amilo-rfkill.c | 103 static struct rfkill *amilo_rfkill_dev;
|
D | classmate-laptop.c | 907 static void cmpc_rfkill_query(struct rfkill *rfkill, void *data) in cmpc_rfkill_query() argument 918 rfkill_set_sw_state(rfkill, blocked); in cmpc_rfkill_query() 955 struct rfkill *rf;
|
D | Kconfig | 115 This driver adds support for rfkill and backlight control to Dell 170 This driver register rfkill device or input hotkey device depending 172 rfkill devices it receive HW switch events and set correct hard 173 rfkill state. 216 tristate "Fujitsu-Siemens Amilo rfkill support" 321 It adds support for rfkill, Bluetooth, WLAN, LCD brightness, hwmon 361 rfkill switch, hotkey, fan control and backlight control. 396 Extra functionality will be available if the rfkill (CONFIG_RFKILL) 399 modular, ALSA and rfkill will also have to be built-in.
|
D | acer-wmi.c | 278 static struct rfkill *wireless_rfkill; 279 static struct rfkill *bluetooth_rfkill; 280 static struct rfkill *threeg_rfkill; 1610 static struct rfkill *acer_rfkill_register(struct device *dev, in acer_rfkill_register() 1615 struct rfkill *rfkill_dev; in acer_rfkill_register()
|
/drivers/net/wireless/realtek/rtl818x/rtl8187/ |
D | Makefile | 1 rtl8187-objs := dev.o rtl8225.o leds.o rfkill.o
|
/drivers/net/wimax/i2400m/ |
D | debug-levels.h | 39 D_SUBMODULE_DECLARE(rfkill),
|
D | Makefile | 10 op-rfkill.o \
|
D | op-rfkill.c | 41 #define D_SUBMODULE rfkill
|
/drivers/net/wireless/broadcom/b43legacy/ |
D | Makefile | 10 b43legacy-y += rfkill.o
|
/drivers/net/wireless/ath/ath5k/ |
D | Makefile | 16 ath5k-y += rfkill.o
|
/drivers/net/wireless/broadcom/b43/ |
D | Makefile | 22 b43-y += rfkill.o
|
/drivers/net/usb/ |
D | hso.c | 146 struct rfkill *rfkill; member 2472 hso_net->rfkill = rfkill_alloc(hso_net->name, in hso_create_rfkill() 2476 if (!hso_net->rfkill) { in hso_create_rfkill() 2480 if (rfkill_register(hso_net->rfkill) < 0) { in hso_create_rfkill() 2481 rfkill_destroy(hso_net->rfkill); in hso_create_rfkill() 2482 hso_net->rfkill = NULL; in hso_create_rfkill() 3128 struct rfkill *rfk = dev2net(network_table[i])->rfkill; in hso_free_interface()
|