Searched refs:bluetooth_rfkill (Results 1 - 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/drivers/platform/x86/ |
H A D | hp-wmi.c | 166 static struct rfkill *bluetooth_rfkill; variable 604 if (bluetooth_rfkill) in hp_wmi_notify() 605 rfkill_set_states(bluetooth_rfkill, in hp_wmi_notify() 740 bluetooth_rfkill = rfkill_alloc("hp-bluetooth", &device->dev, in hp_wmi_rfkill_setup() 744 if (!bluetooth_rfkill) { in hp_wmi_rfkill_setup() 748 rfkill_init_sw_state(bluetooth_rfkill, in hp_wmi_rfkill_setup() 750 rfkill_set_hw_state(bluetooth_rfkill, in hp_wmi_rfkill_setup() 752 err = rfkill_register(bluetooth_rfkill); in hp_wmi_rfkill_setup() 780 if (bluetooth_rfkill) in hp_wmi_rfkill_setup() 781 rfkill_unregister(bluetooth_rfkill); in hp_wmi_rfkill_setup() [all...] |
H A D | dell-laptop.c | 90 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...] |
H A 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()
|
H A D | acer-wmi.c | 279 static struct rfkill *bluetooth_rfkill; variable 1689 rfkill_set_sw_state(bluetooth_rfkill, !state); in acer_rfkill_update() 1762 bluetooth_rfkill = acer_rfkill_register(dev, in acer_rfkill_init() 1765 if (IS_ERR(bluetooth_rfkill)) { in acer_rfkill_init() 1766 err = PTR_ERR(bluetooth_rfkill); in acer_rfkill_init() 1792 rfkill_unregister(bluetooth_rfkill); in acer_rfkill_init() 1793 rfkill_destroy(bluetooth_rfkill); in acer_rfkill_init() 1816 rfkill_unregister(bluetooth_rfkill); in acer_rfkill_exit() 1817 rfkill_destroy(bluetooth_rfkill); in acer_rfkill_exit() 1883 rfkill_set_sw_state(bluetooth_rfkill, in acer_wmi_notify() [all...] |
/kernel/linux/linux-6.6/drivers/platform/x86/hp/ |
H A D | hp-wmi.c | 252 static struct rfkill *bluetooth_rfkill; variable 888 if (bluetooth_rfkill) in hp_wmi_notify() 889 rfkill_set_states(bluetooth_rfkill, in hp_wmi_notify() 1036 bluetooth_rfkill = rfkill_alloc("hp-bluetooth", &device->dev, in hp_wmi_rfkill_setup() 1040 if (!bluetooth_rfkill) { in hp_wmi_rfkill_setup() 1044 rfkill_init_sw_state(bluetooth_rfkill, in hp_wmi_rfkill_setup() 1046 rfkill_set_hw_state(bluetooth_rfkill, in hp_wmi_rfkill_setup() 1048 err = rfkill_register(bluetooth_rfkill); in hp_wmi_rfkill_setup() 1076 if (bluetooth_rfkill) in hp_wmi_rfkill_setup() 1077 rfkill_unregister(bluetooth_rfkill); in hp_wmi_rfkill_setup() [all...] |
/kernel/linux/linux-6.6/drivers/platform/x86/dell/ |
H A D | dell-laptop.c | 96 static struct rfkill *bluetooth_rfkill; variable 697 if (bluetooth_rfkill) { in dell_update_rfkill() 698 dell_rfkill_update_hw_state(bluetooth_rfkill, 2, status, in dell_update_rfkill() 700 dell_rfkill_update_sw_state(bluetooth_rfkill, 2, status); in dell_update_rfkill() 791 bluetooth_rfkill = rfkill_alloc("dell-bluetooth", in dell_setup_rfkill() 795 if (!bluetooth_rfkill) { in dell_setup_rfkill() 799 ret = rfkill_register(bluetooth_rfkill); in dell_setup_rfkill() 882 if (bluetooth_rfkill) in dell_setup_rfkill() 883 rfkill_unregister(bluetooth_rfkill); in dell_setup_rfkill() 885 rfkill_destroy(bluetooth_rfkill); in dell_setup_rfkill() [all...] |
/kernel/linux/linux-6.6/drivers/platform/x86/ |
H A 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()
|
H A 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() [all...] |
Completed in 16 milliseconds