Lines Matching defs:rfkill
9 * This integrates into the Linux Kernel rfkill susbystem so that the
14 * A non-polled generic rfkill device is embedded into the WiMAX
18 * and hand it to rfkill ops then?
44 * wimax_rfkill_add() Initialize/shutdown rfkill support
52 #include <linux/rfkill.h>
102 result = rfkill_set_hw_state(wimax_dev->rfkill,
157 rfkill_set_sw_state(wimax_dev->rfkill, state == WIMAX_RF_OFF);
172 * - The rfkill subsystem when the RF-Kill key is pressed in the
174 * wimax_report_rfkill_hw(). The rfkill subsystem ends up calling back
178 * - When the user sets the state through sysfs' rfkill/state file
222 * Translate from rfkill state to wimax state
228 * __WIMAX_ST_QUIESCING). rfkill() needs it to register and
308 rfkill_set_sw_state(wimax_dev->rfkill, state == WIMAX_RF_OFF);
335 struct rfkill *rfkill;
341 rfkill = rfkill_alloc(wimax_dev->name, dev, RFKILL_TYPE_WIMAX,
343 if (rfkill == NULL)
346 d_printf(1, dev, "rfkill %p\n", rfkill);
348 wimax_dev->rfkill = rfkill;
350 rfkill_init_sw_state(rfkill, 1);
351 result = rfkill_register(wimax_dev->rfkill);
363 rfkill_destroy(wimax_dev->rfkill);
382 rfkill_unregister(wimax_dev->rfkill);
383 rfkill_destroy(wimax_dev->rfkill);
391 * Parse the rfkill command from user space, return a combination