Searched refs:bluetooth_rfkill (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.1/drivers/platform/x86/ |
D | hp-wmi.c | 232 static struct rfkill *bluetooth_rfkill; variable 831 if (bluetooth_rfkill) in hp_wmi_notify() 832 rfkill_set_states(bluetooth_rfkill, in hp_wmi_notify() 965 bluetooth_rfkill = rfkill_alloc("hp-bluetooth", &device->dev, in hp_wmi_rfkill_setup() 969 if (!bluetooth_rfkill) { in hp_wmi_rfkill_setup() 973 rfkill_init_sw_state(bluetooth_rfkill, in hp_wmi_rfkill_setup() 975 rfkill_set_hw_state(bluetooth_rfkill, in hp_wmi_rfkill_setup() 977 err = rfkill_register(bluetooth_rfkill); in hp_wmi_rfkill_setup() 1005 if (bluetooth_rfkill) in hp_wmi_rfkill_setup() 1006 rfkill_unregister(bluetooth_rfkill); in hp_wmi_rfkill_setup() [all …]
|
D | eeepc-laptop.c | 167 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()
|
D | acer-wmi.c | 288 static struct rfkill *bluetooth_rfkill; variable 1790 rfkill_set_sw_state(bluetooth_rfkill, !state); in acer_rfkill_update() 1863 bluetooth_rfkill = acer_rfkill_register(dev, in acer_rfkill_init() 1866 if (IS_ERR(bluetooth_rfkill)) { in acer_rfkill_init() 1867 err = PTR_ERR(bluetooth_rfkill); in acer_rfkill_init() 1893 rfkill_unregister(bluetooth_rfkill); in acer_rfkill_init() 1894 rfkill_destroy(bluetooth_rfkill); in acer_rfkill_init() 1917 rfkill_unregister(bluetooth_rfkill); in acer_rfkill_exit() 1918 rfkill_destroy(bluetooth_rfkill); in acer_rfkill_exit() 1984 rfkill_set_sw_state(bluetooth_rfkill, in acer_wmi_notify()
|
/Linux-v6.1/drivers/platform/x86/dell/ |
D | dell-laptop.c | 96 static struct rfkill *bluetooth_rfkill; variable 696 if (bluetooth_rfkill) { in dell_update_rfkill() 697 dell_rfkill_update_hw_state(bluetooth_rfkill, 2, status, in dell_update_rfkill() 699 dell_rfkill_update_sw_state(bluetooth_rfkill, 2, status); in dell_update_rfkill() 790 bluetooth_rfkill = rfkill_alloc("dell-bluetooth", in dell_setup_rfkill() 794 if (!bluetooth_rfkill) { in dell_setup_rfkill() 798 ret = rfkill_register(bluetooth_rfkill); in dell_setup_rfkill() 881 if (bluetooth_rfkill) in dell_setup_rfkill() 882 rfkill_unregister(bluetooth_rfkill); in dell_setup_rfkill() 884 rfkill_destroy(bluetooth_rfkill); in dell_setup_rfkill() [all …]
|