Lines Matching refs:bluetooth_rfkill
160 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()
770 rfkill_destroy(bluetooth_rfkill); in hp_wmi_rfkill_setup()
771 bluetooth_rfkill = NULL; in hp_wmi_rfkill_setup()
889 bluetooth_rfkill = NULL; in hp_wmi_bios_setup()
914 if (bluetooth_rfkill) { in hp_wmi_bios_remove()
915 rfkill_unregister(bluetooth_rfkill); in hp_wmi_bios_remove()
916 rfkill_destroy(bluetooth_rfkill); in hp_wmi_bios_remove()
951 if (bluetooth_rfkill) in hp_wmi_resume_handler()
952 rfkill_set_states(bluetooth_rfkill, in hp_wmi_resume_handler()