Lines Matching refs:bluetooth_rfkill
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()
783 rfkill_destroy(bluetooth_rfkill); in hp_wmi_rfkill_setup()
784 bluetooth_rfkill = NULL; in hp_wmi_rfkill_setup()
902 bluetooth_rfkill = NULL; in hp_wmi_bios_setup()
935 if (bluetooth_rfkill) { in hp_wmi_bios_remove()
936 rfkill_unregister(bluetooth_rfkill); in hp_wmi_bios_remove()
937 rfkill_destroy(bluetooth_rfkill); in hp_wmi_bios_remove()
972 if (bluetooth_rfkill) in hp_wmi_resume_handler()
973 rfkill_set_states(bluetooth_rfkill, in hp_wmi_resume_handler()