Lines Matching refs:wwan_rfkill
160 static struct rfkill *wwan_rfkill; variable
596 if (wwan_rfkill) in hp_wmi_notify()
597 rfkill_set_states(wwan_rfkill, in hp_wmi_notify()
740 wwan_rfkill = rfkill_alloc("hp-wwan", &device->dev, in hp_wmi_rfkill_setup()
744 if (!wwan_rfkill) { in hp_wmi_rfkill_setup()
748 rfkill_init_sw_state(wwan_rfkill, in hp_wmi_rfkill_setup()
750 rfkill_set_hw_state(wwan_rfkill, in hp_wmi_rfkill_setup()
752 err = rfkill_register(wwan_rfkill); in hp_wmi_rfkill_setup()
760 rfkill_destroy(wwan_rfkill); in hp_wmi_rfkill_setup()
761 wwan_rfkill = NULL; in hp_wmi_rfkill_setup()
865 wwan_rfkill = NULL; in hp_wmi_bios_setup()
891 if (wwan_rfkill) { in hp_wmi_bios_remove()
892 rfkill_unregister(wwan_rfkill); in hp_wmi_bios_remove()
893 rfkill_destroy(wwan_rfkill); in hp_wmi_bios_remove()
928 if (wwan_rfkill) in hp_wmi_resume_handler()
929 rfkill_set_states(wwan_rfkill, in hp_wmi_resume_handler()