Lines Matching refs:bluetooth_rfkill
173 static struct rfkill *bluetooth_rfkill; variable
611 if (bluetooth_rfkill) in hp_wmi_notify()
612 rfkill_set_states(bluetooth_rfkill, in hp_wmi_notify()
743 bluetooth_rfkill = rfkill_alloc("hp-bluetooth", &device->dev, in hp_wmi_rfkill_setup()
747 if (!bluetooth_rfkill) { in hp_wmi_rfkill_setup()
751 rfkill_init_sw_state(bluetooth_rfkill, in hp_wmi_rfkill_setup()
753 rfkill_set_hw_state(bluetooth_rfkill, in hp_wmi_rfkill_setup()
755 err = rfkill_register(bluetooth_rfkill); in hp_wmi_rfkill_setup()
783 if (bluetooth_rfkill) in hp_wmi_rfkill_setup()
784 rfkill_unregister(bluetooth_rfkill); in hp_wmi_rfkill_setup()
786 rfkill_destroy(bluetooth_rfkill); in hp_wmi_rfkill_setup()
787 bluetooth_rfkill = NULL; in hp_wmi_rfkill_setup()
980 bluetooth_rfkill = NULL; in hp_wmi_bios_setup()
1005 if (bluetooth_rfkill) { in hp_wmi_bios_remove()
1006 rfkill_unregister(bluetooth_rfkill); in hp_wmi_bios_remove()
1007 rfkill_destroy(bluetooth_rfkill); in hp_wmi_bios_remove()
1045 if (bluetooth_rfkill) in hp_wmi_resume_handler()
1046 rfkill_set_states(bluetooth_rfkill, in hp_wmi_resume_handler()