Lines Matching refs:bluetooth_rfkill
232 static struct rfkill *bluetooth_rfkill; variable
831 if (bluetooth_rfkill) in hp_wmi_notify()
832 rfkill_set_states(bluetooth_rfkill, in hp_wmi_notify()
965 bluetooth_rfkill = rfkill_alloc("hp-bluetooth", &device->dev, in hp_wmi_rfkill_setup()
969 if (!bluetooth_rfkill) { in hp_wmi_rfkill_setup()
973 rfkill_init_sw_state(bluetooth_rfkill, in hp_wmi_rfkill_setup()
975 rfkill_set_hw_state(bluetooth_rfkill, in hp_wmi_rfkill_setup()
977 err = rfkill_register(bluetooth_rfkill); in hp_wmi_rfkill_setup()
1005 if (bluetooth_rfkill) in hp_wmi_rfkill_setup()
1006 rfkill_unregister(bluetooth_rfkill); in hp_wmi_rfkill_setup()
1008 rfkill_destroy(bluetooth_rfkill); in hp_wmi_rfkill_setup()
1009 bluetooth_rfkill = NULL; in hp_wmi_rfkill_setup()
1302 bluetooth_rfkill = NULL; in hp_wmi_bios_setup()
1340 if (bluetooth_rfkill) { in hp_wmi_bios_remove()
1341 rfkill_unregister(bluetooth_rfkill); in hp_wmi_bios_remove()
1342 rfkill_destroy(bluetooth_rfkill); in hp_wmi_bios_remove()
1380 if (bluetooth_rfkill) in hp_wmi_resume_handler()
1381 rfkill_set_states(bluetooth_rfkill, in hp_wmi_resume_handler()