Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/platform/x86/
Dhp-wmi.c172 static struct rfkill *bluetooth_rfkill; variable
594 if (bluetooth_rfkill) in hp_wmi_notify()
595 rfkill_set_states(bluetooth_rfkill, in hp_wmi_notify()
734 bluetooth_rfkill = rfkill_alloc("hp-bluetooth", &device->dev, in hp_wmi_rfkill_setup()
738 if (!bluetooth_rfkill) { in hp_wmi_rfkill_setup()
742 rfkill_init_sw_state(bluetooth_rfkill, in hp_wmi_rfkill_setup()
744 rfkill_set_hw_state(bluetooth_rfkill, in hp_wmi_rfkill_setup()
746 err = rfkill_register(bluetooth_rfkill); in hp_wmi_rfkill_setup()
774 if (bluetooth_rfkill) in hp_wmi_rfkill_setup()
775 rfkill_unregister(bluetooth_rfkill); in hp_wmi_rfkill_setup()
[all …]
Ddell-laptop.c89 static struct rfkill *bluetooth_rfkill; variable
661 if (bluetooth_rfkill) { in dell_update_rfkill()
662 dell_rfkill_update_hw_state(bluetooth_rfkill, 2, status, in dell_update_rfkill()
664 dell_rfkill_update_sw_state(bluetooth_rfkill, 2, status); in dell_update_rfkill()
755 bluetooth_rfkill = rfkill_alloc("dell-bluetooth", in dell_setup_rfkill()
759 if (!bluetooth_rfkill) { in dell_setup_rfkill()
763 ret = rfkill_register(bluetooth_rfkill); in dell_setup_rfkill()
846 if (bluetooth_rfkill) in dell_setup_rfkill()
847 rfkill_unregister(bluetooth_rfkill); in dell_setup_rfkill()
849 rfkill_destroy(bluetooth_rfkill); in dell_setup_rfkill()
[all …]
Deeepc-laptop.c176 struct rfkill *bluetooth_rfkill; member
839 if (eeepc->bluetooth_rfkill) { in eeepc_rfkill_exit()
840 rfkill_unregister(eeepc->bluetooth_rfkill); in eeepc_rfkill_exit()
841 rfkill_destroy(eeepc->bluetooth_rfkill); in eeepc_rfkill_exit()
842 eeepc->bluetooth_rfkill = NULL; in eeepc_rfkill_exit()
869 result = eeepc_new_rfkill(eeepc, &eeepc->bluetooth_rfkill, in eeepc_rfkill_init()
945 if (eeepc->bluetooth_rfkill) in eeepc_hotk_restore()
946 rfkill_set_sw_state(eeepc->bluetooth_rfkill, in eeepc_hotk_restore()
Dacer-wmi.c280 static struct rfkill *bluetooth_rfkill; variable
1578 rfkill_set_sw_state(bluetooth_rfkill, !state); in acer_rfkill_update()
1651 bluetooth_rfkill = acer_rfkill_register(dev, in acer_rfkill_init()
1654 if (IS_ERR(bluetooth_rfkill)) { in acer_rfkill_init()
1655 err = PTR_ERR(bluetooth_rfkill); in acer_rfkill_init()
1681 rfkill_unregister(bluetooth_rfkill); in acer_rfkill_init()
1682 rfkill_destroy(bluetooth_rfkill); in acer_rfkill_init()
1705 rfkill_unregister(bluetooth_rfkill); in acer_rfkill_exit()
1706 rfkill_destroy(bluetooth_rfkill); in acer_rfkill_exit()
1772 rfkill_set_sw_state(bluetooth_rfkill, in acer_wmi_notify()