Lines Matching full:rfkill
10 #include <linux/rfkill.h>
23 struct rfkill *rfkill; member
86 * rfkill device
89 static void rbtn_rfkill_query(struct rfkill *rfkill, void *data) in rbtn_rfkill_query() argument
98 rfkill_set_states(rfkill, state, state); in rbtn_rfkill_query()
103 /* NOTE: setting soft rfkill state is not supported */ in rbtn_rfkill_set_block()
117 if (rbtn_data->rfkill) in rbtn_rfkill_init()
122 * but rfkill interface does not support "ANY" type in rbtn_rfkill_init()
125 rbtn_data->rfkill = rfkill_alloc("dell-rbtn", &device->dev, in rbtn_rfkill_init()
127 if (!rbtn_data->rfkill) in rbtn_rfkill_init()
130 ret = rfkill_register(rbtn_data->rfkill); in rbtn_rfkill_init()
132 rfkill_destroy(rbtn_data->rfkill); in rbtn_rfkill_init()
133 rbtn_data->rfkill = NULL; in rbtn_rfkill_init()
144 if (!rbtn_data->rfkill) in rbtn_rfkill_exit()
147 rfkill_unregister(rbtn_data->rfkill); in rbtn_rfkill_exit()
148 rfkill_destroy(rbtn_data->rfkill); in rbtn_rfkill_exit()
149 rbtn_data->rfkill = NULL; in rbtn_rfkill_exit()
156 if (rbtn_data->rfkill) in rbtn_rfkill_event()
157 rbtn_rfkill_query(rbtn_data->rfkill, device); in rbtn_rfkill_event()
234 * with the rfkill state as it conflicts with events from
490 MODULE_PARM_DESC(auto_remove_rfkill, "Automatically remove rfkill devices when "