Home
last modified time | relevance | path

Searched refs:fqid (Results 1 – 25 of 32) sorted by relevance

12

/linux-6.1.9/drivers/crypto/caam/
Ddpseci-debugfs.c12 u32 fqid, fcnt, bcnt; in dpseci_dbg_fqs_show() local
22 fqid = priv->rx_queue_attr[i].fqid; in dpseci_dbg_fqs_show()
23 err = dpaa2_io_query_fq_count(NULL, fqid, &fcnt, &bcnt); in dpseci_dbg_fqs_show()
27 seq_printf(file, "%5d%16u%16u\n", fqid, fcnt, bcnt); in dpseci_dbg_fqs_show()
36 fqid = priv->tx_queue_attr[i].fqid; in dpseci_dbg_fqs_show()
37 err = dpaa2_io_query_fq_count(NULL, fqid, &fcnt, &bcnt); in dpseci_dbg_fqs_show()
41 seq_printf(file, "%5d%16u%16u\n", fqid, fcnt, bcnt); in dpseci_dbg_fqs_show()
Ddpseci_cmd.h92 __le32 fqid; member
99 __le32 fqid; member
Dqi.c207 dev_dbg(qidev, "Allocated request FQ %u for CPU %u\n", req_fq->fqid, in create_caam_req_fq()
227 dev_err(qidev, "Volatile dequeue fail for FQ: %u\n", fq->fqid); in empty_retired_fq()
271 fq->fqid); in kill_fq()
278 dev_err(qidev, "OOS of FQID: %u failed\n", fq->fqid); in kill_fq()
314 refcount_read(&drv_ctx->refcnt), fq->fqid); in empty_caam_fq()
652 dev_dbg(qidev, "Allocated response FQ %u for CPU %u", fq->fqid, cpu); in alloc_rsp_fq_cpu()
Ddpseci.c252 attr->fqid = le32_to_cpu(cmd_params->fqid); in dpseci_get_rx_queue()
289 attr->fqid = le32_to_cpu(rsp_params->fqid); in dpseci_get_tx_queue()
Ddpseci.h171 u32 fqid; member
183 u32 fqid; member
/linux-6.1.9/drivers/net/ethernet/freescale/dpaa/
Ddpaa_eth_sysfs.c67 if (prev && (abs(fq->fqid - prev->fqid) != 1 || in dpaa_eth_show_fqids()
71 "%s: %d\n", prevstr, prev->fqid); in dpaa_eth_show_fqids()
78 if (prev && abs(fq->fqid - prev->fqid) == 1 && in dpaa_eth_show_fqids()
80 last_fqid = fq->fqid; in dpaa_eth_show_fqids()
82 first_fqid = fq->fqid; in dpaa_eth_show_fqids()
83 last_fqid = fq->fqid; in dpaa_eth_show_fqids()
94 prev->fqid); in dpaa_eth_show_fqids()
Ddpaa_eth_trace.h43 __field(u32, fqid)
54 __entry->fqid = fq->fqid;
65 __get_str(name), __entry->fqid, __entry->fd_addr,
Ddpaa_eth.c660 fq->fq_type, fq->fqid); in dpaa_assign_wq()
679 dpaa_fq[i].fqid = start ? start + i : 0; in dpaa_fq_alloc()
1011 if (dpaa_fq->fqid == 0) in dpaa_fq_init()
1016 err = qman_create_fq(dpaa_fq->fqid, dpaa_fq->flags, &dpaa_fq->fq_base); in dpaa_fq_init()
1136 dpaa_fq->fqid = qman_fq_fqid(fq); in dpaa_fq_init()
1141 dpaa_fq->fqid, 0); in dpaa_fq_init()
1229 params.specific_params.non_rx_params.err_fqid = errq->fqid; in dpaa_eth_init_tx_port()
1230 params.specific_params.non_rx_params.dflt_fqid = defq->fqid; in dpaa_eth_init_tx_port()
1272 rx_p->err_fqid = errq->fqid; in dpaa_eth_init_rx_port()
1273 rx_p->dflt_fqid = defq->fqid; in dpaa_eth_init_rx_port()
[all …]
Ddpaa_eth.h41 u32 fqid; member
/linux-6.1.9/drivers/soc/fsl/dpio/
Dqbman-portal.h213 void qbman_pull_desc_set_fq(struct qbman_pull_desc *d, u32 fqid);
226 void qbman_eq_desc_set_fq(struct qbman_eq_desc *d, u32 fqid);
237 int qbman_swp_alt_fq_state(struct qbman_swp *s, u32 fqid,
407 static inline int qbman_swp_fq_schedule(struct qbman_swp *s, u32 fqid) in qbman_swp_fq_schedule() argument
409 return qbman_swp_alt_fq_state(s, fqid, QBMAN_FQ_SCHEDULE); in qbman_swp_fq_schedule()
425 static inline int qbman_swp_fq_force(struct qbman_swp *s, u32 fqid) in qbman_swp_fq_force() argument
427 return qbman_swp_alt_fq_state(s, fqid, QBMAN_FQ_FORCE); in qbman_swp_fq_force()
439 static inline int qbman_swp_fq_xon(struct qbman_swp *s, u32 fqid) in qbman_swp_fq_xon() argument
441 return qbman_swp_alt_fq_state(s, fqid, QBMAN_FQ_XON); in qbman_swp_fq_xon()
459 static inline int qbman_swp_fq_xoff(struct qbman_swp *s, u32 fqid) in qbman_swp_fq_xoff() argument
[all …]
Ddpio-service.c395 int dpaa2_io_service_pull_fq(struct dpaa2_io *d, u32 fqid, in dpaa2_io_service_pull_fq() argument
404 qbman_pull_desc_set_fq(&pd, fqid); in dpaa2_io_service_pull_fq()
460 u32 fqid, in dpaa2_io_service_enqueue_fq() argument
471 qbman_eq_desc_set_fq(&ed, fqid); in dpaa2_io_service_enqueue_fq()
489 u32 fqid, in dpaa2_io_service_enqueue_multiple_fq() argument
501 qbman_eq_desc_set_fq(&ed, fqid); in dpaa2_io_service_enqueue_multiple_fq()
519 u32 *fqid, in dpaa2_io_service_enqueue_multiple_desc_fq() argument
539 qbman_eq_desc_set_fq(&ed[i], fqid[i]); in dpaa2_io_service_enqueue_multiple_desc_fq()
765 int dpaa2_io_query_fq_count(struct dpaa2_io *d, u32 fqid, in dpaa2_io_query_fq_count() argument
779 ret = qbman_fq_query_state(swp, fqid, &state); in dpaa2_io_query_fq_count()
Dqbman-portal.c554 void qbman_eq_desc_set_fq(struct qbman_eq_desc *d, u32 fqid) in qbman_eq_desc_set_fq() argument
557 d->tgtid = cpu_to_le32(fqid); in qbman_eq_desc_set_fq()
1054 void qbman_pull_desc_set_fq(struct qbman_pull_desc *d, u32 fqid) in qbman_pull_desc_set_fq() argument
1058 d->dq_src = cpu_to_le32(fqid); in qbman_pull_desc_set_fq()
1601 __le32 fqid; member
1613 int qbman_swp_alt_fq_state(struct qbman_swp *s, u32 fqid, in qbman_swp_alt_fq_state() argument
1624 p->fqid = cpu_to_le32(fqid & ALT_FQ_FQID_MASK); in qbman_swp_alt_fq_state()
1640 fqid, r->verb, r->rslt); in qbman_swp_alt_fq_state()
1713 __le32 fqid; member
1717 int qbman_fq_query_state(struct qbman_swp *s, u32 fqid, in qbman_fq_query_state() argument
[all …]
/linux-6.1.9/include/soc/fsl/
Ddpaa2-io.h107 int dpaa2_io_service_pull_fq(struct dpaa2_io *d, u32 fqid,
112 int dpaa2_io_service_enqueue_fq(struct dpaa2_io *d, u32 fqid,
114 int dpaa2_io_service_enqueue_multiple_fq(struct dpaa2_io *d, u32 fqid,
116 int dpaa2_io_service_enqueue_multiple_desc_fq(struct dpaa2_io *d, u32 *fqid,
130 int dpaa2_io_query_fq_count(struct dpaa2_io *d, u32 fqid,
Dqman.h255 __be32 fqid; /* 24-bit */ member
272 #define qm_fqid_set(p, v) ((p)->fqid = cpu_to_be32((v) & QM_FQID_MASK))
273 #define qm_fqid_get(p) (be32_to_cpu((p)->fqid) & QM_FQID_MASK)
288 __be32 fqid; /* 24-bit */ member
297 __be32 fqid; /* 24-bit */ member
606 __be32 fqid; /* 24-bit */ member
769 u32 fqid, idx; member
969 int qman_create_fq(u32 fqid, u32 flags, struct qman_fq *fq);
1109 int qman_release_fqid(u32 fqid);
Ddpaa2-global.h27 __le32 fqid; member
130 return le32_to_cpu(dq->dq.fqid) & DQ_FQID_MASK; in dpaa2_dq_fqid()
/linux-6.1.9/drivers/dma/fsl-dpaa2-qdma/
Ddpdmai.c27 __le32 fqid; member
33 __le32 fqid; member
351 attr->fqid = le32_to_cpu(cmd_params->fqid); in dpdmai_get_rx_queue()
369 u16 token, u8 priority, u32 *fqid) in dpdmai_get_tx_queue() argument
391 *fqid = le32_to_cpu(rsp_params->fqid); in dpdmai_get_tx_queue()
Ddpdmai.h158 u32 fqid; member
177 u16 token, u8 priority, u32 *fqid);
Ddpaa2-qdma.h74 u32 fqid; member
Ddpaa2-qdma.c292 err = dpaa2_io_service_enqueue_fq(NULL, dpaa2_chan->fqid, fd); in dpaa2_qdma_issue_pending()
368 ppriv->rsp_fqid = priv->rx_queue_attr[i].fqid; in dpaa2_qdma_setup()
643 dpaa2_chan->fqid = priv->tx_fqid[i % num]; in dpaa2_dpdmai_init_channels()
/linux-6.1.9/drivers/soc/fsl/qbman/
Dqman.c185 __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()
[all …]
Dqman_test_stash.c444 u32 fqid = 0; in init_phase2() local
462 hp_cpu->iterator->fqid_rx = fqid; in init_phase2()
464 err = qman_alloc_fqid(&fqid); in init_phase2()
469 hp_cpu->iterator->fqid_tx = fqid; in init_phase2()
482 handler->fqid_rx = fqid; in init_phase2()
Dqman_priv.h278 int qman_shutdown_fq(u32 fqid);
/linux-6.1.9/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth-debugfs.c72 err = dpaa2_io_query_fq_count(NULL, fq->fqid, &fcnt, &bcnt); in dpaa2_dbg_fqs_show()
81 fq->fqid, in dpaa2_dbg_fqs_show()
Ddpaa2-switch.h99 u32 fqid; member
Ddpaa2-eth.c2104 err = dpaa2_io_query_fq_count(NULL, fq->fqid, &fcnt, &bcnt); in dpaa2_eth_ingress_fq_count()
3456 fq->tx_fqid[j] = qid.fqid; in dpaa2_eth_update_tx_fqids()
3693 fq->fqid = qid.fqid; in dpaa2_eth_setup_rx_flow()
3746 fq->tx_fqid[i] = qid.fqid; in dpaa2_eth_setup_tx_flow()
3760 fq->fqid = qid.fqid; in dpaa2_eth_setup_tx_flow()
3794 fq->fqid = qid.fqid; in setup_rx_err_flow()

12