Lines Matching refs:bluetooth_rfkill
252 static struct rfkill *bluetooth_rfkill; variable
888 if (bluetooth_rfkill) in hp_wmi_notify()
889 rfkill_set_states(bluetooth_rfkill, in hp_wmi_notify()
1036 bluetooth_rfkill = rfkill_alloc("hp-bluetooth", &device->dev, in hp_wmi_rfkill_setup()
1040 if (!bluetooth_rfkill) { in hp_wmi_rfkill_setup()
1044 rfkill_init_sw_state(bluetooth_rfkill, in hp_wmi_rfkill_setup()
1046 rfkill_set_hw_state(bluetooth_rfkill, in hp_wmi_rfkill_setup()
1048 err = rfkill_register(bluetooth_rfkill); in hp_wmi_rfkill_setup()
1076 if (bluetooth_rfkill) in hp_wmi_rfkill_setup()
1077 rfkill_unregister(bluetooth_rfkill); in hp_wmi_rfkill_setup()
1079 rfkill_destroy(bluetooth_rfkill); in hp_wmi_rfkill_setup()
1080 bluetooth_rfkill = NULL; in hp_wmi_rfkill_setup()
1456 bluetooth_rfkill = NULL; in hp_wmi_bios_setup()
1494 if (bluetooth_rfkill) { in hp_wmi_bios_remove()
1495 rfkill_unregister(bluetooth_rfkill); in hp_wmi_bios_remove()
1496 rfkill_destroy(bluetooth_rfkill); in hp_wmi_bios_remove()
1534 if (bluetooth_rfkill) in hp_wmi_resume_handler()
1535 rfkill_set_states(bluetooth_rfkill, in hp_wmi_resume_handler()