Searched refs:wifi_rfkill (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/drivers/platform/x86/ |
D | hp-wmi.c | 171 static struct rfkill *wifi_rfkill; variable 590 if (wifi_rfkill) in hp_wmi_notify() 591 rfkill_set_states(wifi_rfkill, in hp_wmi_notify() 718 wifi_rfkill = rfkill_alloc("hp-wifi", &device->dev, in hp_wmi_rfkill_setup() 722 if (!wifi_rfkill) in hp_wmi_rfkill_setup() 724 rfkill_init_sw_state(wifi_rfkill, in hp_wmi_rfkill_setup() 726 rfkill_set_hw_state(wifi_rfkill, in hp_wmi_rfkill_setup() 728 err = rfkill_register(wifi_rfkill); in hp_wmi_rfkill_setup() 779 if (wifi_rfkill) in hp_wmi_rfkill_setup() 780 rfkill_unregister(wifi_rfkill); in hp_wmi_rfkill_setup() [all …]
|
D | intel_oaktrail.c | 104 static struct rfkill *wifi_rfkill; variable 165 __oaktrail_rfkill_cleanup(wifi_rfkill); in oaktrail_rfkill_cleanup() 175 wifi_rfkill = oaktrail_rfkill_new("oaktrail-wifi", in oaktrail_rfkill_init() 178 if (IS_ERR(wifi_rfkill)) { in oaktrail_rfkill_init() 179 ret = PTR_ERR(wifi_rfkill); in oaktrail_rfkill_init() 180 wifi_rfkill = NULL; in oaktrail_rfkill_init()
|
D | compal-laptop.c | 776 static struct rfkill *wifi_rfkill; variable 948 wifi_rfkill = rfkill_alloc("compal-wifi", &compal_device->dev, in setup_rfkill() 951 if (!wifi_rfkill) in setup_rfkill() 954 ret = rfkill_register(wifi_rfkill); in setup_rfkill() 975 rfkill_unregister(wifi_rfkill); in setup_rfkill() 978 rfkill_destroy(wifi_rfkill); in setup_rfkill() 1099 rfkill_unregister(wifi_rfkill); in compal_cleanup() 1101 rfkill_destroy(wifi_rfkill); in compal_cleanup()
|
D | dell-laptop.c | 88 static struct rfkill *wifi_rfkill; variable 657 if (wifi_rfkill) { in dell_update_rfkill() 658 dell_rfkill_update_hw_state(wifi_rfkill, 1, status, hwswitch); in dell_update_rfkill() 659 dell_rfkill_update_sw_state(wifi_rfkill, 1, status); in dell_update_rfkill() 742 wifi_rfkill = rfkill_alloc("dell-wifi", &platform_device->dev, in dell_setup_rfkill() 745 if (!wifi_rfkill) { in dell_setup_rfkill() 749 ret = rfkill_register(wifi_rfkill); in dell_setup_rfkill() 850 if (wifi_rfkill) in dell_setup_rfkill() 851 rfkill_unregister(wifi_rfkill); in dell_setup_rfkill() 853 rfkill_destroy(wifi_rfkill); in dell_setup_rfkill() [all …]
|