Lines Matching refs:bluetooth_rfkill
208 static struct rfkill *bluetooth_rfkill; variable
731 if (bluetooth_rfkill) in hp_wmi_notify()
732 rfkill_set_states(bluetooth_rfkill, in hp_wmi_notify()
863 bluetooth_rfkill = rfkill_alloc("hp-bluetooth", &device->dev, in hp_wmi_rfkill_setup()
867 if (!bluetooth_rfkill) { in hp_wmi_rfkill_setup()
871 rfkill_init_sw_state(bluetooth_rfkill, in hp_wmi_rfkill_setup()
873 rfkill_set_hw_state(bluetooth_rfkill, in hp_wmi_rfkill_setup()
875 err = rfkill_register(bluetooth_rfkill); in hp_wmi_rfkill_setup()
903 if (bluetooth_rfkill) in hp_wmi_rfkill_setup()
904 rfkill_unregister(bluetooth_rfkill); in hp_wmi_rfkill_setup()
906 rfkill_destroy(bluetooth_rfkill); in hp_wmi_rfkill_setup()
907 bluetooth_rfkill = NULL; in hp_wmi_rfkill_setup()
1174 bluetooth_rfkill = NULL; in hp_wmi_bios_setup()
1204 if (bluetooth_rfkill) { in hp_wmi_bios_remove()
1205 rfkill_unregister(bluetooth_rfkill); in hp_wmi_bios_remove()
1206 rfkill_destroy(bluetooth_rfkill); in hp_wmi_bios_remove()
1244 if (bluetooth_rfkill) in hp_wmi_resume_handler()
1245 rfkill_set_states(bluetooth_rfkill, in hp_wmi_resume_handler()