Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/platform/x86/
Dhp-wmi.c158 static struct rfkill *bluetooth_rfkill; variable
608 if (bluetooth_rfkill) in hp_wmi_notify()
609 rfkill_set_states(bluetooth_rfkill, in hp_wmi_notify()
743 bluetooth_rfkill = rfkill_alloc("hp-bluetooth", &device->dev, in hp_wmi_rfkill_setup()
747 if (!bluetooth_rfkill) { in hp_wmi_rfkill_setup()
751 rfkill_init_sw_state(bluetooth_rfkill, in hp_wmi_rfkill_setup()
753 rfkill_set_hw_state(bluetooth_rfkill, in hp_wmi_rfkill_setup()
755 err = rfkill_register(bluetooth_rfkill); in hp_wmi_rfkill_setup()
800 if (bluetooth_rfkill) in hp_wmi_rfkill_setup()
801 rfkill_unregister(bluetooth_rfkill); in hp_wmi_rfkill_setup()
[all …]
Ddell-laptop.c118 static struct rfkill *bluetooth_rfkill; variable
607 if (bluetooth_rfkill) { in dell_update_rfkill()
608 dell_rfkill_update_hw_state(bluetooth_rfkill, 2, status); in dell_update_rfkill()
609 dell_rfkill_update_sw_state(bluetooth_rfkill, 2, status); in dell_update_rfkill()
693 bluetooth_rfkill = rfkill_alloc("dell-bluetooth", in dell_setup_rfkill()
697 if (!bluetooth_rfkill) { in dell_setup_rfkill()
701 ret = rfkill_register(bluetooth_rfkill); in dell_setup_rfkill()
732 if (bluetooth_rfkill) in dell_setup_rfkill()
733 rfkill_unregister(bluetooth_rfkill); in dell_setup_rfkill()
735 rfkill_destroy(bluetooth_rfkill); in dell_setup_rfkill()
[all …]
Deeepc-laptop.c173 struct rfkill *bluetooth_rfkill; member
840 if (eeepc->bluetooth_rfkill) { in eeepc_rfkill_exit()
841 rfkill_unregister(eeepc->bluetooth_rfkill); in eeepc_rfkill_exit()
842 rfkill_destroy(eeepc->bluetooth_rfkill); in eeepc_rfkill_exit()
843 eeepc->bluetooth_rfkill = NULL; in eeepc_rfkill_exit()
870 result = eeepc_new_rfkill(eeepc, &eeepc->bluetooth_rfkill, in eeepc_rfkill_init()
946 if (eeepc->bluetooth_rfkill) in eeepc_hotk_restore()
947 rfkill_set_sw_state(eeepc->bluetooth_rfkill, in eeepc_hotk_restore()
Dacer-wmi.c260 static struct rfkill *bluetooth_rfkill; variable
1526 rfkill_set_sw_state(bluetooth_rfkill, !state); in acer_rfkill_update()
1599 bluetooth_rfkill = acer_rfkill_register(dev, in acer_rfkill_init()
1602 if (IS_ERR(bluetooth_rfkill)) { in acer_rfkill_init()
1603 err = PTR_ERR(bluetooth_rfkill); in acer_rfkill_init()
1629 rfkill_unregister(bluetooth_rfkill); in acer_rfkill_init()
1630 rfkill_destroy(bluetooth_rfkill); in acer_rfkill_init()
1653 rfkill_unregister(bluetooth_rfkill); in acer_rfkill_exit()
1654 rfkill_destroy(bluetooth_rfkill); in acer_rfkill_exit()
1772 rfkill_set_sw_state(bluetooth_rfkill, in acer_wmi_notify()