Lines Matching refs:vdqcr
725 static inline void qm_dqrr_vdqcr_set(struct qm_portal *portal, u32 vdqcr) in qm_dqrr_vdqcr_set() argument
727 qm_out(portal, QM_REG_DQRR_VDQCR, vdqcr); in qm_dqrr_vdqcr_set()
2128 static int set_p_vdqcr(struct qman_portal *p, struct qman_fq *fq, u32 vdqcr) in set_p_vdqcr() argument
2141 qm_dqrr_vdqcr_set(&p->p, vdqcr); in set_p_vdqcr()
2148 static int set_vdqcr(struct qman_portal **p, struct qman_fq *fq, u32 vdqcr) in set_vdqcr() argument
2153 ret = set_p_vdqcr(*p, fq, vdqcr); in set_vdqcr()
2159 u32 vdqcr, u32 flags) in wait_vdqcr_start() argument
2165 !set_vdqcr(p, fq, vdqcr)); in wait_vdqcr_start()
2167 wait_event(affine_queue, !set_vdqcr(p, fq, vdqcr)); in wait_vdqcr_start()
2171 int qman_volatile_dequeue(struct qman_fq *fq, u32 flags, u32 vdqcr) in qman_volatile_dequeue() argument
2179 if (vdqcr & QM_VDQCR_FQID_MASK) in qman_volatile_dequeue()
2183 vdqcr = (vdqcr & ~QM_VDQCR_FQID_MASK) | fq->fqid; in qman_volatile_dequeue()
2185 ret = wait_vdqcr_start(&p, fq, vdqcr, flags); in qman_volatile_dequeue()
2187 ret = set_vdqcr(&p, fq, vdqcr); in qman_volatile_dequeue()
2650 u32 vdqcr = fqid | QM_VDQCR_NUMFRAMES_SET(3); in qman_shutdown_fq() local
2652 qm_dqrr_vdqcr_set(&p->p, vdqcr); in qman_shutdown_fq()