Lines Matching refs:state
78 static int bt_rfkill_toggle_radio(void *data, enum rfkill_state state)
81 unsigned long on = (state == RFKILL_STATE_ON);
95 enum rfkill_state state = on ? RFKILL_STATE_ON : RFKILL_STATE_OFF;
96 bt_rfkill_toggle_radio(dev, state);
97 bt_data->rfkill->state = state;
112 static int gta02_bt_suspend(struct platform_device *pdev, pm_message_t state)
166 /* this tests the true physical state of the regulator... */
169 * but these only operate on the logical state of the
185 rfkill->state = RFKILL_STATE_OFF;