Lines Matching defs:state
120 switch (m3_ipc->state) {
132 m3_ipc->state = M3_STATE_INITED;
136 m3_ipc->state = M3_STATE_INITED;
181 m3_ipc->state = M3_STATE_UNKNOWN;
214 return ((m3_ipc->state != M3_STATE_RESET) &&
215 (m3_ipc->state != M3_STATE_UNKNOWN));
245 * 1 - Failure to transition to low power state
262 * low power state
263 * @state: A kernel suspend state to enter, either MEM or STANDBY
267 static int wkup_m3_prepare_low_power(struct wkup_m3_ipc *m3_ipc, int state)
276 switch (state) {
301 m3_ipc->state = M3_STATE_MSG_FOR_LP;
303 if (state == WKUP_M3_IDLE)
317 * wkup_m3_finish_low_power - Return m3 to reset state
332 m3_ipc->state = M3_STATE_MSG_FOR_RESET;
492 m3_ipc->state = M3_STATE_RESET;