Lines Matching refs:old_state
442 enum dai_state old_state = sai_get_state(dir, data); in sai_update_state() local
444 LOG_DBG("attempting to transition from %d to %d", old_state, new_state); in sai_update_state()
452 if (old_state != DAI_STATE_NOT_READY && in sai_update_state()
453 old_state != DAI_STATE_READY && in sai_update_state()
454 old_state != DAI_STATE_STOPPING) { in sai_update_state()
459 if (old_state != DAI_STATE_PAUSED && in sai_update_state()
460 old_state != DAI_STATE_STOPPING && in sai_update_state()
461 old_state != DAI_STATE_READY) { in sai_update_state()
466 if (old_state != DAI_STATE_RUNNING) { in sai_update_state()
471 if (old_state != DAI_STATE_READY && in sai_update_state()
472 old_state != DAI_STATE_RUNNING && in sai_update_state()
473 old_state != DAI_STATE_PAUSED) { in sai_update_state()