Searched refs:bluetooth_rfkill (Results 1 – 4 of 4) sorted by relevance
/linux-4.4.14/drivers/platform/x86/ |
D | hp-wmi.c | 158 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 …]
|
D | dell-laptop.c | 120 static struct rfkill *bluetooth_rfkill; variable 781 if (bluetooth_rfkill) { in dell_update_rfkill() 782 dell_rfkill_update_hw_state(bluetooth_rfkill, 2, status, in dell_update_rfkill() 784 dell_rfkill_update_sw_state(bluetooth_rfkill, 2, status); in dell_update_rfkill() 879 bluetooth_rfkill = rfkill_alloc("dell-bluetooth", in dell_setup_rfkill() 883 if (!bluetooth_rfkill) { in dell_setup_rfkill() 887 ret = rfkill_register(bluetooth_rfkill); in dell_setup_rfkill() 970 if (bluetooth_rfkill) in dell_setup_rfkill() 971 rfkill_unregister(bluetooth_rfkill); in dell_setup_rfkill() 973 rfkill_destroy(bluetooth_rfkill); in dell_setup_rfkill() [all …]
|
D | eeepc-laptop.c | 174 struct rfkill *bluetooth_rfkill; member 841 if (eeepc->bluetooth_rfkill) { in eeepc_rfkill_exit() 842 rfkill_unregister(eeepc->bluetooth_rfkill); in eeepc_rfkill_exit() 843 rfkill_destroy(eeepc->bluetooth_rfkill); in eeepc_rfkill_exit() 844 eeepc->bluetooth_rfkill = NULL; in eeepc_rfkill_exit() 871 result = eeepc_new_rfkill(eeepc, &eeepc->bluetooth_rfkill, in eeepc_rfkill_init() 947 if (eeepc->bluetooth_rfkill) in eeepc_hotk_restore() 948 rfkill_set_sw_state(eeepc->bluetooth_rfkill, in eeepc_hotk_restore()
|
D | acer-wmi.c | 260 static struct rfkill *bluetooth_rfkill; variable 1527 rfkill_set_sw_state(bluetooth_rfkill, !state); in acer_rfkill_update() 1600 bluetooth_rfkill = acer_rfkill_register(dev, in acer_rfkill_init() 1603 if (IS_ERR(bluetooth_rfkill)) { in acer_rfkill_init() 1604 err = PTR_ERR(bluetooth_rfkill); in acer_rfkill_init() 1630 rfkill_unregister(bluetooth_rfkill); in acer_rfkill_init() 1631 rfkill_destroy(bluetooth_rfkill); in acer_rfkill_init() 1654 rfkill_unregister(bluetooth_rfkill); in acer_rfkill_exit() 1655 rfkill_destroy(bluetooth_rfkill); in acer_rfkill_exit() 1721 rfkill_set_sw_state(bluetooth_rfkill, in acer_wmi_notify()
|