Lines Matching refs:bluetooth_rfkill
158 static struct rfkill *bluetooth_rfkill; variable
608 if (bluetooth_rfkill) in hp_wmi_notify()
609 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()
800 if (bluetooth_rfkill) in hp_wmi_rfkill_setup()
801 rfkill_unregister(bluetooth_rfkill); in hp_wmi_rfkill_setup()
808 rfkill_destroy(bluetooth_rfkill); in hp_wmi_rfkill_setup()
809 bluetooth_rfkill = NULL; in hp_wmi_rfkill_setup()
908 bluetooth_rfkill = NULL; in hp_wmi_bios_setup()
955 if (bluetooth_rfkill) { in hp_wmi_bios_remove()
956 rfkill_unregister(bluetooth_rfkill); in hp_wmi_bios_remove()
957 rfkill_destroy(bluetooth_rfkill); in hp_wmi_bios_remove()
994 if (bluetooth_rfkill) in hp_wmi_resume_handler()
995 rfkill_set_states(bluetooth_rfkill, in hp_wmi_resume_handler()