Lines Matching refs:state
282 switch (m3_ipc->state) {
294 m3_ipc->state = M3_STATE_INITED;
299 m3_ipc->state = M3_STATE_INITED;
344 m3_ipc->state = M3_STATE_UNKNOWN;
377 return ((m3_ipc->state != M3_STATE_RESET) &&
378 (m3_ipc->state != M3_STATE_UNKNOWN));
422 * 1 - Failure to transition to low power state
439 * low power state
441 * @state: A kernel suspend state to enter, either MEM or STANDBY
445 static int wkup_m3_prepare_low_power(struct wkup_m3_ipc *m3_ipc, int state)
454 switch (state) {
484 m3_ipc->state = M3_STATE_MSG_FOR_LP;
486 if (state == WKUP_M3_IDLE)
500 * wkup_m3_finish_low_power - Return m3 to reset state
516 m3_ipc->state = M3_STATE_MSG_FOR_RESET;
671 m3_ipc->state = M3_STATE_RESET;