Lines Matching refs:bluetooth_rfkill
172 static struct rfkill *bluetooth_rfkill; variable
594 if (bluetooth_rfkill) in hp_wmi_notify()
595 rfkill_set_states(bluetooth_rfkill, in hp_wmi_notify()
734 bluetooth_rfkill = rfkill_alloc("hp-bluetooth", &device->dev, in hp_wmi_rfkill_setup()
738 if (!bluetooth_rfkill) { in hp_wmi_rfkill_setup()
742 rfkill_init_sw_state(bluetooth_rfkill, in hp_wmi_rfkill_setup()
744 rfkill_set_hw_state(bluetooth_rfkill, in hp_wmi_rfkill_setup()
746 err = rfkill_register(bluetooth_rfkill); in hp_wmi_rfkill_setup()
774 if (bluetooth_rfkill) in hp_wmi_rfkill_setup()
775 rfkill_unregister(bluetooth_rfkill); in hp_wmi_rfkill_setup()
777 rfkill_destroy(bluetooth_rfkill); in hp_wmi_rfkill_setup()
778 bluetooth_rfkill = NULL; in hp_wmi_rfkill_setup()
878 bluetooth_rfkill = NULL; in hp_wmi_bios_setup()
924 if (bluetooth_rfkill) { in hp_wmi_bios_remove()
925 rfkill_unregister(bluetooth_rfkill); in hp_wmi_bios_remove()
926 rfkill_destroy(bluetooth_rfkill); in hp_wmi_bios_remove()
961 if (bluetooth_rfkill) in hp_wmi_resume_handler()
962 rfkill_set_states(bluetooth_rfkill, in hp_wmi_resume_handler()