Lines Matching refs:state
49 * preserve rfkill state, as required in clause 7 of section 3.1 in rfkill.txt,
50 * we therefore need to maintain rfkill state outside the driver.
61 * gta02_wlan_query_rfkill_lock is used to obtain the rfkill state before the
62 * driver is ready to process rfkill callbacks. To prevent the state from
103 static int gta02_wlan_toggle_radio(void *data, enum rfkill_state state)
106 int on = state == RFKILL_STATE_UNBLOCKED;
109 dev_dbg(dev, "gta02_wlan_toggle_radio: state %d (%p)\n",
110 state, gta02_wlan_rfkill_cb);
140 rfkill->state = default_state ? RFKILL_STATE_ON : RFKILL_STATE_OFF;
143 * ready, the driver is now in an unknown state, which isn't something