/kernel/linux/linux-5.10/drivers/crypto/caam/ |
H A D | dpseci-debugfs.c | 12 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()
|
H A D | dpseci.h | 165 * @fqid: Virtual FQID value to be used for dequeue operations 171 u32 fqid; member 179 * @fqid: Virtual FQID to be used for sending frames to SEC hardware 183 u32 fqid; member
|
H A D | dpseci_cmd.h | 92 __le32 fqid; member 99 __le32 fqid; member
|
/kernel/linux/linux-6.6/drivers/crypto/caam/ |
H A D | dpseci-debugfs.c | 12 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa/ |
H A D | dpaa_eth_sysfs.c | 93 if (prev && (abs(fq->fqid - prev->fqid) != 1 || in dpaa_eth_show_fqids() 97 "%s: %d\n", prevstr, prev->fqid); in dpaa_eth_show_fqids() 104 if (prev && abs(fq->fqid - prev->fqid) == 1 && in dpaa_eth_show_fqids() 106 last_fqid = fq->fqid; in dpaa_eth_show_fqids() 108 first_fqid = fq->fqid; in dpaa_eth_show_fqids() 109 last_fqid = fq->fqid; in dpaa_eth_show_fqids() 120 prev->fqid); in dpaa_eth_show_fqids()
|
H A D | dpaa_eth_trace.h | 69 __field(u32, fqid) 80 __entry->fqid = fq->fqid; 90 TP_printk("[%s] fqid=%d, fd: addr=0x%llx, format=%s, off=%u, len=%u, status=0x%08x", 91 __get_str(name), __entry->fqid, __entry->fd_addr,
|
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/dpaa/ |
H A D | dpaa_eth_sysfs.c | 67 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()
|
H A D | dpaa_eth_trace.h | 43 __field(u32, fqid) 54 __entry->fqid = fq->fqid; 64 TP_printk("[%s] fqid=%d, fd: addr=0x%llx, format=%s, off=%u, len=%u, status=0x%08x", 65 __get_str(name), __entry->fqid, __entry->fd_addr,
|
/kernel/linux/linux-5.10/include/soc/fsl/ |
H A D | dpaa2-io.h | 105 int dpaa2_io_service_pull_fq(struct dpaa2_io *d, u32 fqid, 110 int dpaa2_io_service_enqueue_fq(struct dpaa2_io *d, u32 fqid, 112 int dpaa2_io_service_enqueue_multiple_fq(struct dpaa2_io *d, u32 fqid, 114 int dpaa2_io_service_enqueue_multiple_desc_fq(struct dpaa2_io *d, u32 *fqid, 128 int dpaa2_io_query_fq_count(struct dpaa2_io *d, u32 fqid,
|
H A D | qman.h | 255 __be32 fqid; /* 24-bit */ member 270 /* 'fqid' is a 24-bit field in every h/w descriptor */ 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 742 * struct qman_fq *fq = qman_create_fq(fqid, flags, &myfq->base); 768 u32 fqid, idx; member 794 #define QMAN_FQ_FLAG_DYNAMIC_FQID 0x00000020 /* (de)allocate fqid */ [all...] |
H A D | dpaa2-global.h | 27 __le32 fqid; member 123 * dpaa2_dq_fqid() - Get the fqid in dequeue response 126 * Return fqid. 130 return le32_to_cpu(dq->dq.fqid) & DQ_FQID_MASK; in dpaa2_dq_fqid()
|
/kernel/linux/linux-6.6/include/soc/fsl/ |
H A D | dpaa2-io.h | 107 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,
|
H A D | qman.h | 255 __be32 fqid; /* 24-bit */ member 270 /* 'fqid' is a 24-bit field in every h/w descriptor */ 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 743 * struct qman_fq *fq = qman_create_fq(fqid, flags, &myfq->base); 769 u32 fqid, idx; member 795 #define QMAN_FQ_FLAG_DYNAMIC_FQID 0x00000020 /* (de)allocate fqid */ [all...] |
H A D | dpaa2-global.h | 27 __le32 fqid; member 123 * dpaa2_dq_fqid() - Get the fqid in dequeue response 126 * Return fqid. 130 return le32_to_cpu(dq->dq.fqid) & DQ_FQID_MASK; in dpaa2_dq_fqid()
|
/kernel/linux/linux-5.10/drivers/soc/fsl/dpio/ |
H A D | qbman-portal.h | 206 void qbman_pull_desc_set_fq(struct qbman_pull_desc *d, u32 fqid); 219 void qbman_eq_desc_set_fq(struct qbman_eq_desc *d, u32 fqid); 230 int qbman_swp_alt_fq_state(struct qbman_swp *s, u32 fqid, 393 * @fqid: the index of frame queue to be scheduled 400 static inline int qbman_swp_fq_schedule(struct qbman_swp *s, u32 fqid) in qbman_swp_fq_schedule() argument 402 return qbman_swp_alt_fq_state(s, fqid, QBMAN_FQ_SCHEDULE); in qbman_swp_fq_schedule() 408 * @fqid: the index of frame queue to be forced 418 static inline int qbman_swp_fq_force(struct qbman_swp *s, u32 fqid) in qbman_swp_fq_force() argument 420 return qbman_swp_alt_fq_state(s, fqid, QBMAN_FQ_FORCE); in qbman_swp_fq_force() 426 * @fqid 432 qbman_swp_fq_xon(struct qbman_swp *s, u32 fqid) qbman_swp_fq_xon() argument 452 qbman_swp_fq_xoff(struct qbman_swp *s, u32 fqid) qbman_swp_fq_xoff() argument [all...] |
H A D | dpio-service.c | 352 * @fqid: the given frame queue id. 357 int dpaa2_io_service_pull_fq(struct dpaa2_io *d, u32 fqid, in dpaa2_io_service_pull_fq() argument 366 qbman_pull_desc_set_fq(&pd, fqid); in dpaa2_io_service_pull_fq() 415 * @fqid: the given frame queue id. 422 u32 fqid, in dpaa2_io_service_enqueue_fq() 433 qbman_eq_desc_set_fq(&ed, fqid); in dpaa2_io_service_enqueue_fq() 441 * to a frame queue using one fqid. 443 * @fqid: the given frame queue id. 451 u32 fqid, in dpaa2_io_service_enqueue_multiple_fq() 463 qbman_eq_desc_set_fq(&ed, fqid); in dpaa2_io_service_enqueue_multiple_fq() 421 dpaa2_io_service_enqueue_fq(struct dpaa2_io *d, u32 fqid, const struct dpaa2_fd *fd) dpaa2_io_service_enqueue_fq() argument 450 dpaa2_io_service_enqueue_multiple_fq(struct dpaa2_io *d, u32 fqid, const struct dpaa2_fd *fd, int nb) dpaa2_io_service_enqueue_multiple_fq() argument 480 dpaa2_io_service_enqueue_multiple_desc_fq(struct dpaa2_io *d, u32 *fqid, const struct dpaa2_fd *fd, int nb) dpaa2_io_service_enqueue_multiple_desc_fq() argument 727 dpaa2_io_query_fq_count(struct dpaa2_io *d, u32 fqid, u32 *fcnt, u32 *bcnt) dpaa2_io_query_fq_count() argument [all...] |
H A D | qbman-portal.c | 547 * @fqid: the id of the frame queue to be enqueued 549 void qbman_eq_desc_set_fq(struct qbman_eq_desc *d, u32 fqid) in qbman_eq_desc_set_fq() argument 552 d->tgtid = cpu_to_le32(fqid); in qbman_eq_desc_set_fq() 1045 * qbman_pull_desc_set_fq() - Set fqid from which the dequeue command dequeues 1046 * @fqid: the frame queue index of the given FQ 1048 void qbman_pull_desc_set_fq(struct qbman_pull_desc *d, u32 fqid) in qbman_pull_desc_set_fq() argument 1052 d->dq_src = cpu_to_le32(fqid); in qbman_pull_desc_set_fq() 1588 __le32 fqid; member 1600 int qbman_swp_alt_fq_state(struct qbman_swp *s, u32 fqid, in qbman_swp_alt_fq_state() argument 1611 p->fqid in qbman_swp_alt_fq_state() 1700 __le32 fqid; global() member 1704 qbman_fq_query_state(struct qbman_swp *s, u32 fqid, struct qbman_fq_query_np_rslt *r) qbman_fq_query_state() argument [all...] |
/kernel/linux/linux-6.6/drivers/soc/fsl/dpio/ |
H A D | qbman-portal.h | 213 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, 400 * @fqid: the index of frame queue to be scheduled 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() 415 * @fqid: the index of frame queue to be forced 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() 433 * @fqid 439 qbman_swp_fq_xon(struct qbman_swp *s, u32 fqid) qbman_swp_fq_xon() argument 459 qbman_swp_fq_xoff(struct qbman_swp *s, u32 fqid) qbman_swp_fq_xoff() argument [all...] |
H A D | dpio-service.c | 390 * @fqid: the given frame queue id. 395 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() 453 * @fqid: the given frame queue id. 460 u32 fqid, in dpaa2_io_service_enqueue_fq() 471 qbman_eq_desc_set_fq(&ed, fqid); in dpaa2_io_service_enqueue_fq() 479 * to a frame queue using one fqid. 481 * @fqid: the given frame queue id. 489 u32 fqid, in dpaa2_io_service_enqueue_multiple_fq() 501 qbman_eq_desc_set_fq(&ed, fqid); in dpaa2_io_service_enqueue_multiple_fq() 459 dpaa2_io_service_enqueue_fq(struct dpaa2_io *d, u32 fqid, const struct dpaa2_fd *fd) dpaa2_io_service_enqueue_fq() argument 488 dpaa2_io_service_enqueue_multiple_fq(struct dpaa2_io *d, u32 fqid, const struct dpaa2_fd *fd, int nb) dpaa2_io_service_enqueue_multiple_fq() argument 518 dpaa2_io_service_enqueue_multiple_desc_fq(struct dpaa2_io *d, u32 *fqid, const struct dpaa2_fd *fd, int nb) dpaa2_io_service_enqueue_multiple_desc_fq() argument 765 dpaa2_io_query_fq_count(struct dpaa2_io *d, u32 fqid, u32 *fcnt, u32 *bcnt) dpaa2_io_query_fq_count() argument [all...] |
/kernel/linux/linux-5.10/drivers/soc/fsl/qbman/ |
H A D | qman.c | 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() 1808 /* A context_b of 0 is allegedly special, so don't use that fqid */ in qman_create_fq() 2582 _qm_dqrr_consume_and_match(struct qm_portal *p, u32 fqid, int s, bool wait) _qm_dqrr_consume_and_match() argument 2618 qman_shutdown_fq(u32 fqid) qman_shutdown_fq() argument 2874 qman_release_fqid(u32 fqid) qman_release_fqid() argument [all...] |
H A D | qman_test_stash.c | 442 u32 fqid = 0; in init_phase2() local 460 hp_cpu->iterator->fqid_rx = fqid; in init_phase2() 462 err = qman_alloc_fqid(&fqid); in init_phase2() 467 hp_cpu->iterator->fqid_tx = fqid; in init_phase2() 480 handler->fqid_rx = fqid; in init_phase2()
|
/kernel/linux/linux-6.6/drivers/soc/fsl/qbman/ |
H A D | qman.c | 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() 1808 /* A context_b of 0 is allegedly special, so don't use that fqid */ in qman_create_fq() 2639 _qm_dqrr_consume_and_match(struct qm_portal *p, u32 fqid, int s, bool wait) _qm_dqrr_consume_and_match() argument 2675 qman_shutdown_fq(u32 fqid) qman_shutdown_fq() argument 2927 qman_release_fqid(u32 fqid) qman_release_fqid() argument [all...] |
H A D | qman_test_stash.c | 444 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()
|
/kernel/linux/linux-5.10/drivers/dma/fsl-dpaa2-qdma/ |
H A D | dpdmai.c | 27 __le32 fqid; member 33 __le32 fqid; member 351 attr->fqid = le32_to_cpu(cmd_params->fqid); in dpdmai_get_rx_queue() 364 * @fqid: Returned Tx queue 369 u16 token, u8 priority, u32 *fqid) in dpdmai_get_tx_queue() 391 *fqid = le32_to_cpu(rsp_params->fqid); in dpdmai_get_tx_queue() 368 dpdmai_get_tx_queue(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 priority, u32 *fqid) dpdmai_get_tx_queue() argument
|
/kernel/linux/linux-6.6/drivers/dma/fsl-dpaa2-qdma/ |
H A D | dpdmai.c | 27 __le32 fqid; member 33 __le32 fqid; member 351 attr->fqid = le32_to_cpu(cmd_params->fqid); in dpdmai_get_rx_queue() 364 * @fqid: Returned Tx queue 369 u16 token, u8 priority, u32 *fqid) in dpdmai_get_tx_queue() 391 *fqid = le32_to_cpu(rsp_params->fqid); in dpdmai_get_tx_queue() 368 dpdmai_get_tx_queue(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 priority, u32 *fqid) dpdmai_get_tx_queue() argument
|