Home
last modified time | relevance | path

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

12

/drivers/platform/x86/
Ddell-rbtn.c29 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 …]
Dasus-wmi.c207 struct rfkill *rfkill; member
669 if (asus->wlan.rfkill) in asus_rfkill_hotplug()
670 rfkill_set_sw_state(asus->wlan.rfkill, blocked); in asus_rfkill_hotplug()
882 static void asus_rfkill_query(struct rfkill *rfkill, void *data) in asus_rfkill_query() argument
892 rfkill_set_sw_state(priv->rfkill, !result); in asus_rfkill_query()
929 struct rfkill **rfkill = &arfkill->rfkill; in asus_new_rfkill() local
939 *rfkill = rfkill_alloc(name, &asus->platform_device->dev, type, in asus_new_rfkill()
942 *rfkill = rfkill_alloc(name, &asus->platform_device->dev, type, in asus_new_rfkill()
945 if (!*rfkill) in asus_new_rfkill()
950 rfkill_set_led_trigger_name(*rfkill, "asus-wlan"); in asus_new_rfkill()
[all …]
Dhp-wmi.c157 static struct rfkill *wifi_rfkill;
158 static struct rfkill *bluetooth_rfkill;
159 static struct rfkill *wwan_rfkill;
160 static struct rfkill *gps_rfkill;
165 struct rfkill *rfkill; member
418 rfkill_set_states(rfkill2[i].rfkill, in hp_wmi_rfkill2_refresh()
850 struct rfkill *rfkill; in hp_wmi_rfkill2_setup() local
882 rfkill = rfkill_alloc(name, &device->dev, type, in hp_wmi_rfkill2_setup()
884 if (!rfkill) { in hp_wmi_rfkill2_setup()
891 rfkill2[rfkill2_count].rfkill = rfkill; in hp_wmi_rfkill2_setup()
[all …]
Dintel_oaktrail.c102 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()
Dsamsung-laptop.c327 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 …]
Dxo1-rfkill.c45 struct rfkill *rfk; in xo1_rfkill_probe()
65 struct rfkill *rfk = platform_get_drvdata(pdev); in xo1_rfkill_remove()
Deeepc-laptop.c173 struct rfkill *wlan_rfkill;
174 struct rfkill *bluetooth_rfkill;
175 struct rfkill *wwan3g_rfkill;
176 struct rfkill *wimax_rfkill;
796 struct rfkill **rfkill, in eeepc_new_rfkill() argument
807 *rfkill = rfkill_alloc(name, &eeepc->platform_device->dev, type, in eeepc_new_rfkill()
810 if (!*rfkill) in eeepc_new_rfkill()
813 rfkill_init_sw_state(*rfkill, get_acpi(eeepc, cm) != 1); in eeepc_new_rfkill()
814 result = rfkill_register(*rfkill); in eeepc_new_rfkill()
816 rfkill_destroy(*rfkill); in eeepc_new_rfkill()
[all …]
Ddell-laptop.c119 static struct rfkill *wifi_rfkill;
120 static struct rfkill *bluetooth_rfkill;
121 static struct rfkill *wwan_rfkill;
592 static void dell_rfkill_update_sw_state(struct rfkill *rfkill, int radio, in dell_rfkill_update_sw_state() argument
597 int block = rfkill_blocked(rfkill); in dell_rfkill_update_sw_state()
603 rfkill_set_sw_state(rfkill, !!(status & BIT(radio + 16))); in dell_rfkill_update_sw_state()
607 static void dell_rfkill_update_hw_state(struct rfkill *rfkill, int radio, in dell_rfkill_update_hw_state() argument
611 rfkill_set_hw_state(rfkill, !(status & BIT(16))); in dell_rfkill_update_hw_state()
614 static void dell_rfkill_query(struct rfkill *rfkill, void *data) in dell_rfkill_query() argument
644 dell_rfkill_update_hw_state(rfkill, radio, status, hwswitch); in dell_rfkill_query()
Dtoshiba_bluetooth.c34 struct rfkill *rfk;
185 static void bt_rfkill_poll(struct rfkill *rfkill, void *data) in bt_rfkill_poll() argument
Dasus-laptop.c244 struct rfkill *rfkill; member
1309 rfkill_set_sw_state(asus->gps.rfkill, !value); in gps_store()
1351 if (!rfk->rfkill) in asus_rfkill_terminate()
1354 rfkill_unregister(rfk->rfkill); in asus_rfkill_terminate()
1355 rfkill_destroy(rfk->rfkill); in asus_rfkill_terminate()
1356 rfk->rfkill = NULL; in asus_rfkill_terminate()
1375 rfk->rfkill = rfkill_alloc(name, &asus->platform_device->dev, in asus_rfkill_setup()
1377 if (!rfk->rfkill) in asus_rfkill_setup()
1380 result = rfkill_register(rfk->rfkill); in asus_rfkill_setup()
1382 rfkill_destroy(rfk->rfkill); in asus_rfkill_setup()
[all …]
DMakefile23 obj-$(CONFIG_AMILO_RFKILL) += amilo-rfkill.o
49 obj-$(CONFIG_XO1_RFKILL) += xo1-rfkill.o
Dcompal-laptop.c368 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;
Dmsi-laptop.c125 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()
Damilo-rfkill.c103 static struct rfkill *amilo_rfkill_dev;
DKconfig108 This driver adds support for rfkill and backlight control to Dell
154 This driver register rfkill device or input hotkey device depending
156 rfkill devices it receive HW switch events and set correct hard
157 rfkill state.
209 tristate "Fujitsu-Siemens Amilo rfkill support"
314 It adds support for rfkill, Bluetooth, WLAN, LCD brightness, hwmon
354 rfkill switch, hotkey, fan control and backlight control.
377 Extra functionality will be available if the rfkill (CONFIG_RFKILL)
380 modular, ALSA and rfkill will also have to be built-in.
Dclassmate-laptop.c907 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;
Dacer-wmi.c263 static struct rfkill *wireless_rfkill;
264 static struct rfkill *bluetooth_rfkill;
265 static struct rfkill *threeg_rfkill;
1561 static struct rfkill *acer_rfkill_register(struct device *dev, in acer_rfkill_register()
1566 struct rfkill *rfkill_dev; in acer_rfkill_register()
/drivers/net/wireless/realtek/rtl818x/rtl8187/
DMakefile1 rtl8187-objs := dev.o rtl8225.o leds.o rfkill.o
/drivers/net/wimax/i2400m/
Ddebug-levels.h39 D_SUBMODULE_DECLARE(rfkill),
DMakefile9 op-rfkill.o \
Dop-rfkill.c41 #define D_SUBMODULE rfkill
/drivers/net/wireless/b43legacy/
DMakefile9 b43legacy-y += rfkill.o
/drivers/net/wireless/ath/ath5k/
DMakefile15 ath5k-y += rfkill.o
/drivers/net/wireless/b43/
DMakefile21 b43-y += rfkill.o
/drivers/net/usb/
Dhso.c155 struct rfkill *rfkill; member
2486 hso_net->rfkill = rfkill_alloc(hso_net->name, in hso_create_rfkill()
2490 if (!hso_net->rfkill) { in hso_create_rfkill()
2494 if (rfkill_register(hso_net->rfkill) < 0) { in hso_create_rfkill()
2495 rfkill_destroy(hso_net->rfkill); in hso_create_rfkill()
2496 hso_net->rfkill = NULL; in hso_create_rfkill()
3152 struct rfkill *rfk = dev2net(network_table[i])->rfkill; in hso_free_interface()

12