Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/platform/x86/
Dhp-wmi.c160 static struct rfkill *bluetooth_rfkill; variable
597 if (bluetooth_rfkill) in hp_wmi_notify()
598 rfkill_set_states(bluetooth_rfkill, in hp_wmi_notify()
727 bluetooth_rfkill = rfkill_alloc("hp-bluetooth", &device->dev, in hp_wmi_rfkill_setup()
731 if (!bluetooth_rfkill) { in hp_wmi_rfkill_setup()
735 rfkill_init_sw_state(bluetooth_rfkill, in hp_wmi_rfkill_setup()
737 rfkill_set_hw_state(bluetooth_rfkill, in hp_wmi_rfkill_setup()
739 err = rfkill_register(bluetooth_rfkill); in hp_wmi_rfkill_setup()
767 if (bluetooth_rfkill) in hp_wmi_rfkill_setup()
768 rfkill_unregister(bluetooth_rfkill); in hp_wmi_rfkill_setup()
[all …]
Ddell-laptop.c90 static struct rfkill *bluetooth_rfkill; variable
680 if (bluetooth_rfkill) { in dell_update_rfkill()
681 dell_rfkill_update_hw_state(bluetooth_rfkill, 2, status, in dell_update_rfkill()
683 dell_rfkill_update_sw_state(bluetooth_rfkill, 2, status); in dell_update_rfkill()
774 bluetooth_rfkill = rfkill_alloc("dell-bluetooth", in dell_setup_rfkill()
778 if (!bluetooth_rfkill) { in dell_setup_rfkill()
782 ret = rfkill_register(bluetooth_rfkill); in dell_setup_rfkill()
865 if (bluetooth_rfkill) in dell_setup_rfkill()
866 rfkill_unregister(bluetooth_rfkill); in dell_setup_rfkill()
868 rfkill_destroy(bluetooth_rfkill); in dell_setup_rfkill()
[all …]
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()
Dacer-wmi.c267 static struct rfkill *bluetooth_rfkill; variable
1569 rfkill_set_sw_state(bluetooth_rfkill, !state); in acer_rfkill_update()
1642 bluetooth_rfkill = acer_rfkill_register(dev, in acer_rfkill_init()
1645 if (IS_ERR(bluetooth_rfkill)) { in acer_rfkill_init()
1646 err = PTR_ERR(bluetooth_rfkill); in acer_rfkill_init()
1672 rfkill_unregister(bluetooth_rfkill); in acer_rfkill_init()
1673 rfkill_destroy(bluetooth_rfkill); in acer_rfkill_init()
1696 rfkill_unregister(bluetooth_rfkill); in acer_rfkill_exit()
1697 rfkill_destroy(bluetooth_rfkill); in acer_rfkill_exit()
1763 rfkill_set_sw_state(bluetooth_rfkill, in acer_wmi_notify()