Lines Matching refs:fqid

185 	__be32 fqid;	/* 24-bit */  member
230 __be32 fqid; /* 24-bit */ member
509 DPAA_ASSERT(!(be32_to_cpu(eqcr->cursor->fqid) & ~QM_FQID_MASK)); in eqcr_commit_checks()
1137 static struct qman_fq *fqid_to_fq(u32 fqid) in fqid_to_fq() argument
1139 return idx_to_fq(fqid * 2); in fqid_to_fq()
1795 int qman_create_fq(u32 fqid, u32 flags, struct qman_fq *fq) in qman_create_fq() argument
1798 int ret = qman_alloc_fqid(&fqid); in qman_create_fq()
1803 fq->fqid = fqid; in qman_create_fq()
1809 if (fqid == 0 || fqid >= num_fqids) { in qman_create_fq()
1810 WARN(1, "bad fqid %d\n", fqid); in qman_create_fq()
1814 fq->idx = fqid * 2; in qman_create_fq()
1835 qman_release_fqid(fq->fqid); in qman_destroy_fq()
1849 return fq->fqid; in qman_fq_fqid()
1887 qm_fqid_set(&mcc->fq, fq->fqid); in qman_init_fq()
1987 qm_fqid_set(&mcc->fq, fq->fqid); in qman_schedule_fq()
2030 qm_fqid_set(&mcc->fq, fq->fqid); in qman_retire_fq()
2073 qm_fqid_set(&msg.fq, fq->fqid); in qman_retire_fq()
2109 qm_fqid_set(&mcc->fq, fq->fqid); in qman_oos_fq()
2135 qm_fqid_set(&mcc->fq, fq->fqid); in qman_query_fq()
2160 qm_fqid_set(&mcc->fq, fq->fqid); in qman_query_fq_np()
2278 vdqcr = (vdqcr & ~QM_VDQCR_FQID_MASK) | fq->fqid; in qman_volatile_dequeue()
2342 qm_fqid_set(eq, fq->fqid); in qman_enqueue()
2582 static int _qm_dqrr_consume_and_match(struct qm_portal *p, u32 fqid, int s, in _qm_dqrr_consume_and_match() argument
2596 if (qm_fqid_get(dqrr) == fqid && (dqrr->stat & s)) in _qm_dqrr_consume_and_match()
2618 int qman_shutdown_fq(u32 fqid) in qman_shutdown_fq() argument
2632 qm_fqid_set(&mcc->fq, fqid); in qman_shutdown_fq()
2647 qm_fqid_set(&mcc->fq, fqid); in qman_shutdown_fq()
2678 qm_fqid_set(&mcc->fq, fqid); in qman_shutdown_fq()
2711 fqid, channel); in qman_shutdown_fq()
2741 fqid, res); in qman_shutdown_fq()
2759 u32 vdqcr = fqid | QM_VDQCR_NUMFRAMES_SET(3); in qman_shutdown_fq()
2766 } while (!qm_dqrr_drain_wait(&p->p, fqid, FQ_EMPTY)); in qman_shutdown_fq()
2775 qm_fqid_set(&mcc->fq, fqid); in qman_shutdown_fq()
2786 fqid, mcr->result); in qman_shutdown_fq()
2795 qm_fqid_set(&mcc->fq, fqid); in qman_shutdown_fq()
2806 fqid, mcr->result); in qman_shutdown_fq()
2870 int qman_release_fqid(u32 fqid) in qman_release_fqid() argument
2872 int ret = qman_shutdown_fq(fqid); in qman_release_fqid()
2875 pr_debug("FQID %d leaked\n", fqid); in qman_release_fqid()
2879 gen_pool_free(qm_fqalloc, fqid | DPAA_GENALLOC_OFF, 1); in qman_release_fqid()
2893 .fqid = QM_FQID_RANGE_START in qpool_cleanup()
2915 err = qman_shutdown_fq(fq.fqid); in qpool_cleanup()
2925 fq.fqid++; in qpool_cleanup()
2951 .fqid = QM_FQID_RANGE_START in cgr_cleanup()
2974 cgrid, fq.fqid); in cgr_cleanup()
2979 fq.fqid++; in cgr_cleanup()