Lines Matching refs:qm_curr
495 enum qm_state qm_curr = atomic_read(&qm->status.flags); in qm_qp_avail_state() local
504 if (qm_curr == QM_START || qm_curr == QM_INIT) in qm_qp_avail_state()
508 if ((qm_curr == QM_START && qp_curr == QP_INIT) || in qm_qp_avail_state()
509 (qm_curr == QM_START && qp_curr == QP_STOP)) in qm_qp_avail_state()
513 if ((qm_curr == QM_START && qp_curr == QP_START) || in qm_qp_avail_state()
518 if ((qm_curr == QM_START && qp_curr == QP_INIT) || in qm_qp_avail_state()
519 (qm_curr == QM_START && qp_curr == QP_STOP) || in qm_qp_avail_state()
520 (qm_curr == QM_STOP && qp_curr == QP_STOP) || in qm_qp_avail_state()
521 (qm_curr == QM_STOP && qp_curr == QP_INIT)) in qm_qp_avail_state()
529 qp_s[qp_curr], qp_s[new], qm_s[qm_curr]); in qm_qp_avail_state()
534 qp_s[qp_curr], qp_s[new], qm_s[qm_curr]); in qm_qp_avail_state()