Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/platform/x86/hp/
Dhp-wmi.c283 static struct rfkill *bluetooth_rfkill; variable
909 if (bluetooth_rfkill) in hp_wmi_notify()
910 rfkill_set_states(bluetooth_rfkill, in hp_wmi_notify()
1057 bluetooth_rfkill = rfkill_alloc("hp-bluetooth", &device->dev, in hp_wmi_rfkill_setup()
1061 if (!bluetooth_rfkill) { in hp_wmi_rfkill_setup()
1065 rfkill_init_sw_state(bluetooth_rfkill, in hp_wmi_rfkill_setup()
1067 rfkill_set_hw_state(bluetooth_rfkill, in hp_wmi_rfkill_setup()
1069 err = rfkill_register(bluetooth_rfkill); in hp_wmi_rfkill_setup()
1097 if (bluetooth_rfkill) in hp_wmi_rfkill_setup()
1098 rfkill_unregister(bluetooth_rfkill); in hp_wmi_rfkill_setup()
[all …]
/linux-6.12.1/drivers/platform/x86/dell/
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-6.12.1/drivers/platform/x86/
Deeepc-laptop.c166 struct rfkill *bluetooth_rfkill; member
810 if (eeepc->bluetooth_rfkill) { in eeepc_rfkill_exit()
811 rfkill_unregister(eeepc->bluetooth_rfkill); in eeepc_rfkill_exit()
812 rfkill_destroy(eeepc->bluetooth_rfkill); in eeepc_rfkill_exit()
813 eeepc->bluetooth_rfkill = NULL; in eeepc_rfkill_exit()
840 result = eeepc_new_rfkill(eeepc, &eeepc->bluetooth_rfkill, in eeepc_rfkill_init()
916 if (eeepc->bluetooth_rfkill) in eeepc_hotk_restore()
917 rfkill_set_sw_state(eeepc->bluetooth_rfkill, in eeepc_hotk_restore()
Dacer-wmi.c311 static struct rfkill *bluetooth_rfkill; variable
2089 rfkill_set_sw_state(bluetooth_rfkill, !state); in acer_rfkill_update()
2162 bluetooth_rfkill = acer_rfkill_register(dev, in acer_rfkill_init()
2165 if (IS_ERR(bluetooth_rfkill)) { in acer_rfkill_init()
2166 err = PTR_ERR(bluetooth_rfkill); in acer_rfkill_init()
2192 rfkill_unregister(bluetooth_rfkill); in acer_rfkill_init()
2193 rfkill_destroy(bluetooth_rfkill); in acer_rfkill_init()
2216 rfkill_unregister(bluetooth_rfkill); in acer_rfkill_exit()
2217 rfkill_destroy(bluetooth_rfkill); in acer_rfkill_exit()
2268 rfkill_set_sw_state(bluetooth_rfkill, in acer_wmi_notify()