Home
last modified time | relevance | path

Searched refs:rfkill (Results 1 – 25 of 42) 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.c206 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 …]
Dhp-wmi.c157 static struct rfkill *wifi_rfkill;
158 static struct rfkill *bluetooth_rfkill;
159 static struct rfkill *wwan_rfkill;
164 struct rfkill *rfkill; member
417 rfkill_set_states(rfkill2[i].rfkill, in hp_wmi_rfkill2_refresh()
823 struct rfkill *rfkill; in hp_wmi_rfkill2_setup() local
855 rfkill = rfkill_alloc(name, &device->dev, type, in hp_wmi_rfkill2_setup()
857 if (!rfkill) { in hp_wmi_rfkill2_setup()
864 rfkill2[rfkill2_count].rfkill = rfkill; in hp_wmi_rfkill2_setup()
866 rfkill_init_sw_state(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 …]
Ddell-laptop.c91 static struct rfkill *wifi_rfkill;
92 static struct rfkill *bluetooth_rfkill;
93 static struct rfkill *wwan_rfkill;
454 static void dell_rfkill_update_sw_state(struct rfkill *rfkill, int radio, in dell_rfkill_update_sw_state() argument
460 int block = rfkill_blocked(rfkill); in dell_rfkill_update_sw_state()
466 rfkill_set_sw_state(rfkill, !!(status & BIT(radio + 16))); in dell_rfkill_update_sw_state()
470 static void dell_rfkill_update_hw_state(struct rfkill *rfkill, int radio, in dell_rfkill_update_hw_state() argument
474 rfkill_set_hw_state(rfkill, !(status & BIT(16))); in dell_rfkill_update_hw_state()
477 static void dell_rfkill_query(struct rfkill *rfkill, void *data) in dell_rfkill_query() argument
508 dell_rfkill_update_hw_state(rfkill, radio, status, hwswitch); in dell_rfkill_query()
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 …]
Dtoshiba_bluetooth.c34 struct rfkill *rfk;
187 static void bt_rfkill_poll(struct rfkill *rfkill, void *data) in bt_rfkill_poll() argument
Dasus-laptop.c244 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 …]
DMakefile25 obj-$(CONFIG_AMILO_RFKILL) += amilo-rfkill.o
53 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;
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;
DKconfig117 This driver adds support for rfkill and backlight control to Dell
164 This driver register rfkill device or input hotkey device depending
166 rfkill devices it receive HW switch events and set correct hard
167 rfkill state.
219 tristate "Fujitsu-Siemens Amilo rfkill support"
324 It adds support for rfkill, Bluetooth, WLAN, LCD brightness, hwmon
364 rfkill switch, hotkey, fan control and backlight control.
387 Extra functionality will be available if the rfkill (CONFIG_RFKILL)
390 modular, ALSA and rfkill will also have to be built-in.
Dacer-wmi.c259 static struct rfkill *wireless_rfkill;
260 static struct rfkill *bluetooth_rfkill;
261 static struct rfkill *threeg_rfkill;
1587 static struct rfkill *acer_rfkill_register(struct device *dev, in acer_rfkill_register()
1592 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/broadcom/b43legacy/
DMakefile9 b43legacy-y += rfkill.o
/drivers/net/wireless/ath/ath5k/
DMakefile15 ath5k-y += rfkill.o
/drivers/net/wireless/broadcom/b43/
DMakefile21 b43-y += rfkill.o
/drivers/net/usb/
Dhso.c146 struct rfkill *rfkill; member
2474 hso_net->rfkill = rfkill_alloc(hso_net->name, in hso_create_rfkill()
2478 if (!hso_net->rfkill) { in hso_create_rfkill()
2482 if (rfkill_register(hso_net->rfkill) < 0) { in hso_create_rfkill()
2483 rfkill_destroy(hso_net->rfkill); in hso_create_rfkill()
2484 hso_net->rfkill = NULL; in hso_create_rfkill()
3112 struct rfkill *rfk = dev2net(network_table[i])->rfkill; in hso_free_interface()

12