Lines Matching full:rfkill
19 #include <linux/rfkill.h>
322 struct rfkill *rfkill; member
618 static void swsmi_rfkill_query(struct rfkill *rfkill, void *priv) in swsmi_rfkill_query() argument
636 rfkill_set_sw_state(rfkill, !ret); in swsmi_rfkill_query()
932 if (samsung->wlan.rfkill) { in samsung_rfkill_exit()
933 rfkill_unregister(samsung->wlan.rfkill); in samsung_rfkill_exit()
934 rfkill_destroy(samsung->wlan.rfkill); in samsung_rfkill_exit()
935 samsung->wlan.rfkill = NULL; in samsung_rfkill_exit()
937 if (samsung->bluetooth.rfkill) { in samsung_rfkill_exit()
938 rfkill_unregister(samsung->bluetooth.rfkill); in samsung_rfkill_exit()
939 rfkill_destroy(samsung->bluetooth.rfkill); in samsung_rfkill_exit()
940 samsung->bluetooth.rfkill = NULL; in samsung_rfkill_exit()
950 struct rfkill **rfkill = &arfkill->rfkill; in samsung_new_rfkill() local
956 *rfkill = rfkill_alloc(name, &samsung->platform_device->dev, in samsung_new_rfkill()
959 if (!*rfkill) in samsung_new_rfkill()
963 rfkill_init_sw_state(*rfkill, blocked); in samsung_new_rfkill()
965 ret = rfkill_register(*rfkill); in samsung_new_rfkill()
967 rfkill_destroy(*rfkill); in samsung_new_rfkill()
968 *rfkill = NULL; in samsung_new_rfkill()