Home
last modified time | relevance | path

Searched refs:bluetooth_rfkill (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/platform/x86/hp/
H A Dhp-wmi.c421 static struct rfkill *bluetooth_rfkill; variable
1175 if (bluetooth_rfkill) in hp_wmi_notify()
1176 rfkill_set_states(bluetooth_rfkill, in hp_wmi_notify()
1323 bluetooth_rfkill = rfkill_alloc("hp-bluetooth", &device->dev, in hp_wmi_rfkill_setup()
1327 if (!bluetooth_rfkill) { in hp_wmi_rfkill_setup()
1331 rfkill_init_sw_state(bluetooth_rfkill, in hp_wmi_rfkill_setup()
1333 rfkill_set_hw_state(bluetooth_rfkill, in hp_wmi_rfkill_setup()
1335 err = rfkill_register(bluetooth_rfkill); in hp_wmi_rfkill_setup()
1363 if (bluetooth_rfkill) in hp_wmi_rfkill_setup()
1364 rfkill_unregister(bluetooth_rfkill); in hp_wmi_rfkill_setup()
[all …]
/linux/drivers/platform/x86/dell/
H A Ddell-laptop.c98 static struct rfkill *bluetooth_rfkill; variable
716 if (bluetooth_rfkill) { in dell_update_rfkill()
717 dell_rfkill_update_hw_state(bluetooth_rfkill, 2, status, in dell_update_rfkill()
719 dell_rfkill_update_sw_state(bluetooth_rfkill, 2, status); in dell_update_rfkill()
810 bluetooth_rfkill = rfkill_alloc("dell-bluetooth", in dell_setup_rfkill()
814 if (!bluetooth_rfkill) { in dell_setup_rfkill()
818 ret = rfkill_register(bluetooth_rfkill); in dell_setup_rfkill()
901 if (bluetooth_rfkill) in dell_setup_rfkill()
902 rfkill_unregister(bluetooth_rfkill); in dell_setup_rfkill()
904 rfkill_destroy(bluetooth_rfkill); in dell_setup_rfkill()
[all …]
/linux/drivers/platform/x86/
H A Deeepc-laptop.c167 struct rfkill *bluetooth_rfkill; member
811 if (eeepc->bluetooth_rfkill) { in eeepc_rfkill_exit()
812 rfkill_unregister(eeepc->bluetooth_rfkill); in eeepc_rfkill_exit()
813 rfkill_destroy(eeepc->bluetooth_rfkill); in eeepc_rfkill_exit()
814 eeepc->bluetooth_rfkill = NULL; in eeepc_rfkill_exit()
841 result = eeepc_new_rfkill(eeepc, &eeepc->bluetooth_rfkill, in eeepc_rfkill_init()
917 if (eeepc->bluetooth_rfkill) in eeepc_hotk_restore()
918 rfkill_set_sw_state(eeepc->bluetooth_rfkill, in eeepc_hotk_restore()
H A Dacer-wmi.c370 static struct rfkill *bluetooth_rfkill; variable
2334 rfkill_set_sw_state(bluetooth_rfkill, !state); in acer_rfkill_update()
2407 bluetooth_rfkill = acer_rfkill_register(dev, in acer_rfkill_init()
2410 if (IS_ERR(bluetooth_rfkill)) { in acer_rfkill_init()
2411 err = PTR_ERR(bluetooth_rfkill); in acer_rfkill_init()
2437 rfkill_unregister(bluetooth_rfkill); in acer_rfkill_init()
2438 rfkill_destroy(bluetooth_rfkill); in acer_rfkill_init()
2461 rfkill_unregister(bluetooth_rfkill); in acer_rfkill_exit()
2462 rfkill_destroy(bluetooth_rfkill); in acer_rfkill_exit()
2513 rfkill_set_sw_state(bluetooth_rfkill, in acer_wmi_notify()