Home
last modified time | relevance | path

Searched refs:rfkill (Results 1 – 25 of 42) sorted by relevance

12

/drivers/platform/x86/
Ddell-rbtn.c23 struct rfkill *rfkill; member
89 static void rbtn_rfkill_query(struct rfkill *rfkill, void *data) in rbtn_rfkill_query() argument
98 rfkill_set_states(rfkill, state, state); in rbtn_rfkill_query()
117 if (rbtn_data->rfkill) in rbtn_rfkill_init()
125 rbtn_data->rfkill = rfkill_alloc("dell-rbtn", &device->dev, in rbtn_rfkill_init()
127 if (!rbtn_data->rfkill) in rbtn_rfkill_init()
130 ret = rfkill_register(rbtn_data->rfkill); in rbtn_rfkill_init()
132 rfkill_destroy(rbtn_data->rfkill); in rbtn_rfkill_init()
133 rbtn_data->rfkill = NULL; in rbtn_rfkill_init()
144 if (!rbtn_data->rfkill) in rbtn_rfkill_exit()
[all …]
Dhp-wmi.c165 static struct rfkill *wifi_rfkill;
166 static struct rfkill *bluetooth_rfkill;
167 static struct rfkill *wwan_rfkill;
172 struct rfkill *rfkill; member
406 rfkill_set_states(rfkill2[i].rfkill, in hp_wmi_rfkill2_refresh()
809 struct rfkill *rfkill; in hp_wmi_rfkill2_setup() local
841 rfkill = rfkill_alloc(name, &device->dev, type, in hp_wmi_rfkill2_setup()
843 if (!rfkill) { in hp_wmi_rfkill2_setup()
850 rfkill2[rfkill2_count].rfkill = rfkill; in hp_wmi_rfkill2_setup()
852 rfkill_init_sw_state(rfkill, in hp_wmi_rfkill2_setup()
[all …]
Dasus-wmi.c163 struct rfkill *rfkill; member
944 if (asus->wlan.rfkill) in asus_rfkill_hotplug()
945 rfkill_set_sw_state(asus->wlan.rfkill, blocked); in asus_rfkill_hotplug()
1130 static void asus_rfkill_query(struct rfkill *rfkill, void *data) in asus_rfkill_query() argument
1140 rfkill_set_sw_state(priv->rfkill, !result); in asus_rfkill_query()
1177 struct rfkill **rfkill = &arfkill->rfkill; in asus_new_rfkill() local
1187 *rfkill = rfkill_alloc(name, &asus->platform_device->dev, type, in asus_new_rfkill()
1190 *rfkill = rfkill_alloc(name, &asus->platform_device->dev, type, in asus_new_rfkill()
1193 if (!*rfkill) in asus_new_rfkill()
1198 rfkill_set_led_trigger_name(*rfkill, "asus-wlan"); in asus_new_rfkill()
[all …]
Dintel_oaktrail.c88 static struct rfkill *bt_rfkill;
89 static struct rfkill *gps_rfkill;
90 static struct rfkill *wifi_rfkill;
91 static struct rfkill *wwan_rfkill;
117 static struct rfkill *oaktrail_rfkill_new(char *name, enum rfkill_type type, in oaktrail_rfkill_new()
120 struct rfkill *rfkill_dev; in oaktrail_rfkill_new()
141 static inline void __oaktrail_rfkill_cleanup(struct rfkill *rf) in __oaktrail_rfkill_cleanup()
Dsamsung-laptop.c323 struct rfkill *rfkill; member
629 static void swsmi_rfkill_query(struct rfkill *rfkill, void *priv) in swsmi_rfkill_query() argument
647 rfkill_set_sw_state(rfkill, !ret); in swsmi_rfkill_query()
943 if (samsung->wlan.rfkill) { in samsung_rfkill_exit()
944 rfkill_unregister(samsung->wlan.rfkill); in samsung_rfkill_exit()
945 rfkill_destroy(samsung->wlan.rfkill); in samsung_rfkill_exit()
946 samsung->wlan.rfkill = NULL; in samsung_rfkill_exit()
948 if (samsung->bluetooth.rfkill) { in samsung_rfkill_exit()
949 rfkill_unregister(samsung->bluetooth.rfkill); in samsung_rfkill_exit()
950 rfkill_destroy(samsung->bluetooth.rfkill); in samsung_rfkill_exit()
[all …]
Dxo1-rfkill.c41 struct rfkill *rfk; in xo1_rfkill_probe()
61 struct rfkill *rfk = platform_get_drvdata(pdev); in xo1_rfkill_remove()
Deeepc-laptop.c166 struct rfkill *wlan_rfkill;
167 struct rfkill *bluetooth_rfkill;
168 struct rfkill *wwan3g_rfkill;
169 struct rfkill *wimax_rfkill;
766 struct rfkill **rfkill, in eeepc_new_rfkill() argument
777 *rfkill = rfkill_alloc(name, &eeepc->platform_device->dev, type, in eeepc_new_rfkill()
780 if (!*rfkill) in eeepc_new_rfkill()
783 rfkill_init_sw_state(*rfkill, get_acpi(eeepc, cm) != 1); in eeepc_new_rfkill()
784 result = rfkill_register(*rfkill); in eeepc_new_rfkill()
786 rfkill_destroy(*rfkill); in eeepc_new_rfkill()
[all …]
Dtoshiba_bluetooth.c31 struct rfkill *rfk;
184 static void bt_rfkill_poll(struct rfkill *rfkill, void *data) in bt_rfkill_poll() argument
Ddell-laptop.c89 static struct rfkill *wifi_rfkill;
90 static struct rfkill *bluetooth_rfkill;
91 static struct rfkill *wwan_rfkill;
515 static void dell_rfkill_update_sw_state(struct rfkill *rfkill, int radio, in dell_rfkill_update_sw_state() argument
521 int block = rfkill_blocked(rfkill); in dell_rfkill_update_sw_state()
527 rfkill_set_sw_state(rfkill, !!(status & BIT(radio + 16))); in dell_rfkill_update_sw_state()
531 static void dell_rfkill_update_hw_state(struct rfkill *rfkill, int radio, in dell_rfkill_update_hw_state() argument
535 rfkill_set_hw_state(rfkill, !(status & BIT(16))); in dell_rfkill_update_hw_state()
538 static void dell_rfkill_query(struct rfkill *rfkill, void *data) in dell_rfkill_query() argument
561 dell_rfkill_update_hw_state(rfkill, radio, status, hwswitch); in dell_rfkill_query()
Dasus-laptop.c228 struct rfkill *rfkill; member
1283 rfkill_set_sw_state(asus->gps.rfkill, !value); in gps_store()
1325 if (!rfk->rfkill) in asus_rfkill_terminate()
1328 rfkill_unregister(rfk->rfkill); in asus_rfkill_terminate()
1329 rfkill_destroy(rfk->rfkill); in asus_rfkill_terminate()
1330 rfk->rfkill = NULL; in asus_rfkill_terminate()
1349 rfk->rfkill = rfkill_alloc(name, &asus->platform_device->dev, in asus_rfkill_setup()
1351 if (!rfk->rfkill) in asus_rfkill_setup()
1354 result = rfkill_register(rfk->rfkill); in asus_rfkill_setup()
1356 rfkill_destroy(rfk->rfkill); in asus_rfkill_setup()
[all …]
Dcompal-laptop.c355 static void compal_rfkill_poll(struct rfkill *rfkill, void *data) in compal_rfkill_poll() argument
359 rfkill_set_hw_state(rfkill, hw_blocked); in compal_rfkill_poll()
763 static struct rfkill *wifi_rfkill;
764 static struct rfkill *bt_rfkill;
Dmsi-laptop.c112 static struct rfkill *rfk_wlan, *rfk_bluetooth, *rfk_threeg;
766 static bool msi_rfkill_set_state(struct rfkill *rfkill, bool blocked) in msi_rfkill_set_state() argument
769 return rfkill_set_hw_state(rfkill, blocked); in msi_rfkill_set_state()
771 return rfkill_set_sw_state(rfkill, blocked); in msi_rfkill_set_state()
DMakefile52 obj-$(CONFIG_AMILO_RFKILL) += amilo-rfkill.o
96 obj-$(CONFIG_XO1_RFKILL) += xo1-rfkill.o
Damilo-rfkill.c99 static struct rfkill *amilo_rfkill_dev;
Dclassmate-laptop.c882 static void cmpc_rfkill_query(struct rfkill *rfkill, void *data) in cmpc_rfkill_query() argument
893 rfkill_set_sw_state(rfkill, blocked); in cmpc_rfkill_query()
930 struct rfkill *rf;
Dacer-wmi.c278 static struct rfkill *wireless_rfkill;
279 static struct rfkill *bluetooth_rfkill;
280 static struct rfkill *threeg_rfkill;
1719 static struct rfkill *acer_rfkill_register(struct device *dev, in acer_rfkill_register()
1724 struct rfkill *rfkill_dev; in acer_rfkill_register()
/drivers/net/wireless/realtek/rtl818x/rtl8187/
DMakefile2 rtl8187-objs := dev.o rtl8225.o leds.o rfkill.o
/drivers/net/wimax/i2400m/
Ddebug-levels.h25 D_SUBMODULE_DECLARE(rfkill),
DMakefile10 op-rfkill.o \
Dop-rfkill.c26 #define D_SUBMODULE rfkill
Ddebugfs.c202 d_level_register_debugfs("dl_", rfkill, dentry); in i2400m_debugfs_add()
/drivers/net/wireless/broadcom/b43legacy/
DMakefile10 b43legacy-y += rfkill.o
/drivers/net/wireless/ath/ath5k/
DMakefile16 ath5k-y += rfkill.o
/drivers/net/wireless/broadcom/b43/
DMakefile22 b43-y += rfkill.o
/drivers/net/usb/
Dhso.c131 struct rfkill *rfkill; member
2461 hso_net->rfkill = rfkill_alloc(hso_net->name, in hso_create_rfkill()
2465 if (!hso_net->rfkill) in hso_create_rfkill()
2468 if (rfkill_register(hso_net->rfkill) < 0) { in hso_create_rfkill()
2469 rfkill_destroy(hso_net->rfkill); in hso_create_rfkill()
2470 hso_net->rfkill = NULL; in hso_create_rfkill()
3129 struct rfkill *rfk = dev2net(network_table[i])->rfkill; in hso_free_interface()

12