Lines Matching refs:rfkill
327 struct rfkill *rfkill; member
633 static void swsmi_rfkill_query(struct rfkill *rfkill, void *priv) in swsmi_rfkill_query() argument
651 rfkill_set_sw_state(rfkill, !ret); in swsmi_rfkill_query()
947 if (samsung->wlan.rfkill) { in samsung_rfkill_exit()
948 rfkill_unregister(samsung->wlan.rfkill); in samsung_rfkill_exit()
949 rfkill_destroy(samsung->wlan.rfkill); in samsung_rfkill_exit()
950 samsung->wlan.rfkill = NULL; in samsung_rfkill_exit()
952 if (samsung->bluetooth.rfkill) { in samsung_rfkill_exit()
953 rfkill_unregister(samsung->bluetooth.rfkill); in samsung_rfkill_exit()
954 rfkill_destroy(samsung->bluetooth.rfkill); in samsung_rfkill_exit()
955 samsung->bluetooth.rfkill = NULL; in samsung_rfkill_exit()
965 struct rfkill **rfkill = &arfkill->rfkill; in samsung_new_rfkill() local
971 *rfkill = rfkill_alloc(name, &samsung->platform_device->dev, in samsung_new_rfkill()
974 if (!*rfkill) in samsung_new_rfkill()
978 rfkill_init_sw_state(*rfkill, blocked); in samsung_new_rfkill()
980 ret = rfkill_register(*rfkill); in samsung_new_rfkill()
982 rfkill_destroy(*rfkill); in samsung_new_rfkill()
983 *rfkill = NULL; in samsung_new_rfkill()