/kernel/linux/linux-5.10/include/soc/fsl/ |
H A D | dpaa2-fd.h | 30 * @bpid: buffer pool ID 44 __le16 bpid; member 260 * dpaa2_fd_get_bpid() - Get the bpid field in the frame descriptor 267 return le16_to_cpu(fd->simple.bpid) & FD_BPID_MASK; in dpaa2_fd_get_bpid() 271 * dpaa2_fd_set_bpid() - Set the bpid field of frame descriptor 273 * @bpid: buffer pool id to be set 275 static inline void dpaa2_fd_set_bpid(struct dpaa2_fd *fd, uint16_t bpid) in dpaa2_fd_set_bpid() argument 277 fd->simple.bpid &= cpu_to_le16(~(FD_BPID_MASK)); in dpaa2_fd_set_bpid() 278 fd->simple.bpid |= cpu_to_le16(bpid); in dpaa2_fd_set_bpid() 291 __le16 bpid; global() member 418 dpaa2_sg_set_bpid(struct dpaa2_sg_entry *sg, u16 bpid) dpaa2_sg_set_bpid() argument 460 __le16 bpid; global() member 651 dpaa2_fl_set_bpid(struct dpaa2_fl_entry *fle, u16 bpid) dpaa2_fl_set_bpid() argument [all...] |
H A D | bman.h | 38 __be16 bpid; /* hi 8-bits reserved */ member 67 return be16_to_cpu(buf->bpid) & 0xff; in bm_buffer_get_bpid() 70 static inline void bm_buffer_set_bpid(struct bm_buffer *buf, int bpid) in bm_buffer_set_bpid() argument 72 buf->bpid = cpu_to_be16(bpid & 0xff); in bm_buffer_set_bpid()
|
H A D | dpaa2-io.h | 118 int dpaa2_io_service_release(struct dpaa2_io *d, u16 bpid, 120 int dpaa2_io_service_acquire(struct dpaa2_io *d, u16 bpid, 130 int dpaa2_io_query_bp_count(struct dpaa2_io *d, u16 bpid,
|
/kernel/linux/linux-6.6/include/soc/fsl/ |
H A D | dpaa2-fd.h | 31 * @bpid: buffer pool ID 45 __le16 bpid; member 261 * dpaa2_fd_get_bpid() - Get the bpid field in the frame descriptor 268 return le16_to_cpu(fd->simple.bpid) & FD_BPID_MASK; in dpaa2_fd_get_bpid() 272 * dpaa2_fd_set_bpid() - Set the bpid field of frame descriptor 274 * @bpid: buffer pool id to be set 276 static inline void dpaa2_fd_set_bpid(struct dpaa2_fd *fd, uint16_t bpid) in dpaa2_fd_set_bpid() argument 278 fd->simple.bpid &= cpu_to_le16(~(FD_BPID_MASK)); in dpaa2_fd_set_bpid() 279 fd->simple.bpid |= cpu_to_le16(bpid); in dpaa2_fd_set_bpid() 292 __le16 bpid; global() member 419 dpaa2_sg_set_bpid(struct dpaa2_sg_entry *sg, u16 bpid) dpaa2_sg_set_bpid() argument 461 __le16 bpid; global() member 652 dpaa2_fl_set_bpid(struct dpaa2_fl_entry *fle, u16 bpid) dpaa2_fl_set_bpid() argument [all...] |
H A D | bman.h | 38 __be16 bpid; /* hi 8-bits reserved */ member 67 return be16_to_cpu(buf->bpid) & 0xff; in bm_buffer_get_bpid() 70 static inline void bm_buffer_set_bpid(struct bm_buffer *buf, int bpid) in bm_buffer_set_bpid() argument 72 buf->bpid = cpu_to_be16(bpid & 0xff); in bm_buffer_set_bpid()
|
H A D | dpaa2-io.h | 120 int dpaa2_io_service_release(struct dpaa2_io *d, u16 bpid, 122 int dpaa2_io_service_acquire(struct dpaa2_io *d, u16 bpid, 132 int dpaa2_io_query_bp_count(struct dpaa2_io *d, u16 bpid,
|
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-eth-trace.h | 17 #define TR_BUF_FMT "[%s] vaddr=%p size=%zu dma_addr=%pad map_size=%zu bpid=%d" 119 u16 bpid), 122 TP_ARGS(netdev, vaddr, size, dma_addr, map_size, bpid), 134 __field(u16, bpid) 146 __entry->bpid = bpid; 159 __entry->bpid) 169 u16 bpid), 171 TP_ARGS(netdev, vaddr, size, dma_addr, map_size, bpid) 181 u16 bpid), [all...] |
H A D | dpaa2-eth-debugfs.c | 146 err = dpaa2_io_query_bp_count(NULL, bp->bpid, &buf_cnt); in dpaa2_dbg_bp_show() 152 seq_printf(file, "%3s%d%10d%15d", "BP#", i, bp->bpid, buf_cnt); in dpaa2_dbg_bp_show()
|
/kernel/linux/linux-5.10/drivers/soc/fsl/qbman/ |
H A D | bman.c | 110 u8 bpid; /* used with BM_RCR_VERB_CMD_BPID_SINGLE */ member 135 u8 bpid; /* used by acquire command */ member 148 u8 bpid; member 247 u32 bpid; member 638 int bm_shutdown_pool(u32 bpid) in bm_shutdown_pool() argument 649 bm_cmd->bpid = bpid; in bm_shutdown_pool() 681 static int bm_release_bpid(u32 bpid) in bm_release_bpid() argument 685 ret = bm_shutdown_pool(bpid); in bm_release_bpid() 687 pr_debug("BPID %d leaked\n", bpid); in bm_release_bpid() 698 u32 bpid; bman_new_pool() local [all...] |
H A D | bman_priv.h | 83 int bm_shutdown_pool(u32 bpid);
|
/kernel/linux/linux-6.6/drivers/soc/fsl/qbman/ |
H A D | bman.c | 110 u8 bpid; /* used with BM_RCR_VERB_CMD_BPID_SINGLE */ member 135 u8 bpid; /* used by acquire command */ member 148 u8 bpid; member 247 u32 bpid; member 638 int bm_shutdown_pool(u32 bpid) in bm_shutdown_pool() argument 649 bm_cmd->bpid = bpid; in bm_shutdown_pool() 681 static int bm_release_bpid(u32 bpid) in bm_release_bpid() argument 685 ret = bm_shutdown_pool(bpid); in bm_release_bpid() 687 pr_debug("BPID %d leaked\n", bpid); in bm_release_bpid() 698 u32 bpid; bman_new_pool() local [all...] |
H A D | bman_priv.h | 83 int bm_shutdown_pool(u32 bpid);
|
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-eth-trace.h | 17 #define TR_BUF_FMT "[%s] vaddr=%p size=%zu dma_addr=%pad map_size=%zu bpid=%d" 103 u16 bpid), 106 TP_ARGS(netdev, vaddr, size, dma_addr, map_size, bpid), 118 __field(u16, bpid) 130 __entry->bpid = bpid; 143 __entry->bpid)
|
/kernel/linux/linux-5.10/drivers/soc/fsl/dpio/ |
H A D | qbman-portal.c | 1408 void qbman_release_desc_set_bpid(struct qbman_release_desc *d, u16 bpid) in qbman_release_desc_set_bpid() argument 1410 d->bpid = cpu_to_le16(bpid); in qbman_release_desc_set_bpid() 1459 p->bpid = d->bpid; in qbman_swp_release_direct() 1501 p->bpid = d->bpid; in qbman_swp_release_mem_back() 1514 __le16 bpid; member 1531 * @bpid: the buffer pool index 1538 int qbman_swp_acquire(struct qbman_swp *s, u16 bpid, u6 argument 1749 __le16 bpid; global() member 1753 qbman_bp_query(struct qbman_swp *s, u16 bpid, struct qbman_bp_query_rslt *r) qbman_bp_query() argument [all...] |
H A D | dpio-service.c | 543 * @bpid: the buffer pool id. 550 u16 bpid, in dpaa2_io_service_release() 561 qbman_release_desc_set_bpid(&rd, bpid); in dpaa2_io_service_release() 570 * @bpid: the buffer pool id. 579 u16 bpid, in dpaa2_io_service_acquire() 591 err = qbman_swp_acquire(d->swp, bpid, buffers, num_buffers); in dpaa2_io_service_acquire() 756 * @bpid: the index of buffer pool to be queried. 761 int dpaa2_io_query_bp_count(struct dpaa2_io *d, u16 bpid, u32 *num) in dpaa2_io_query_bp_count() argument 774 ret = qbman_bp_query(swp, bpid, &state); in dpaa2_io_query_bp_count() 549 dpaa2_io_service_release(struct dpaa2_io *d, u16 bpid, const u64 *buffers, unsigned int num_buffers) dpaa2_io_service_release() argument 578 dpaa2_io_service_acquire(struct dpaa2_io *d, u16 bpid, u64 *buffers, unsigned int num_buffers) dpaa2_io_service_acquire() argument
|
H A D | qbman-portal.h | 102 __le16 bpid; member 225 void qbman_release_desc_set_bpid(struct qbman_release_desc *d, u16 bpid); 228 int qbman_swp_acquire(struct qbman_swp *s, u16 bpid, u64 *buffers, 601 int qbman_bp_query(struct qbman_swp *s, u16 bpid,
|
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa/ |
H A D | dpaa_eth.c | 499 static struct dpaa_bp *dpaa_bpid2pool(int bpid) in dpaa_bpid2pool() argument 501 if (WARN_ON(bpid < 0 || bpid >= BM_MAX_NUM_OF_POOLS)) in dpaa_bpid2pool() 504 return dpaa_bp_array[bpid]; in dpaa_bpid2pool() 508 static bool dpaa_bpid2pool_use(int bpid) in dpaa_bpid2pool_use() argument 510 if (dpaa_bpid2pool(bpid)) { in dpaa_bpid2pool_use() 511 refcount_inc(&dpaa_bp_array[bpid]->refs); in dpaa_bpid2pool_use() 518 /* called only once per bpid by dpaa_bp_alloc_pool() */ 519 static void dpaa_bpid2pool_map(int bpid, struct dpaa_bp *dpaa_bp) in dpaa_bpid2pool_map() argument 521 dpaa_bp_array[bpid] in dpaa_bpid2pool_map() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/dpaa/ |
H A D | dpaa_eth.c | 497 static struct dpaa_bp *dpaa_bpid2pool(int bpid) in dpaa_bpid2pool() argument 499 if (WARN_ON(bpid < 0 || bpid >= BM_MAX_NUM_OF_POOLS)) in dpaa_bpid2pool() 502 return dpaa_bp_array[bpid]; in dpaa_bpid2pool() 506 static bool dpaa_bpid2pool_use(int bpid) in dpaa_bpid2pool_use() argument 508 if (dpaa_bpid2pool(bpid)) { in dpaa_bpid2pool_use() 509 refcount_inc(&dpaa_bp_array[bpid]->refs); in dpaa_bpid2pool_use() 516 /* called only once per bpid by dpaa_bp_alloc_pool() */ 517 static void dpaa_bpid2pool_map(int bpid, struct dpaa_bp *dpaa_bp) in dpaa_bpid2pool_map() argument 519 dpaa_bp_array[bpid] in dpaa_bpid2pool_map() [all...] |
/kernel/linux/linux-6.6/drivers/soc/fsl/dpio/ |
H A D | qbman-portal.c | 1417 * @bpid: the bpid value to be set 1419 void qbman_release_desc_set_bpid(struct qbman_release_desc *d, u16 bpid) in qbman_release_desc_set_bpid() argument 1421 d->bpid = cpu_to_le16(bpid); in qbman_release_desc_set_bpid() 1472 p->bpid = d->bpid; in qbman_swp_release_direct() 1514 p->bpid = d->bpid; in qbman_swp_release_mem_back() 1527 __le16 bpid; member 1551 qbman_swp_acquire(struct qbman_swp *s, u16 bpid, u64 *buffers, unsigned int num_buffers) qbman_swp_acquire() argument 1762 __le16 bpid; global() member 1766 qbman_bp_query(struct qbman_swp *s, u16 bpid, struct qbman_bp_query_rslt *r) qbman_bp_query() argument [all...] |
H A D | dpio-service.c | 581 * @bpid: the buffer pool id. 588 u16 bpid, in dpaa2_io_service_release() 599 qbman_release_desc_set_bpid(&rd, bpid); in dpaa2_io_service_release() 608 * @bpid: the buffer pool id. 617 u16 bpid, in dpaa2_io_service_acquire() 629 err = qbman_swp_acquire(d->swp, bpid, buffers, num_buffers); in dpaa2_io_service_acquire() 794 * @bpid: the index of buffer pool to be queried. 799 int dpaa2_io_query_bp_count(struct dpaa2_io *d, u16 bpid, u32 *num) in dpaa2_io_query_bp_count() argument 812 ret = qbman_bp_query(swp, bpid, &state); in dpaa2_io_query_bp_count() 587 dpaa2_io_service_release(struct dpaa2_io *d, u16 bpid, const u64 *buffers, unsigned int num_buffers) dpaa2_io_service_release() argument 616 dpaa2_io_service_acquire(struct dpaa2_io *d, u16 bpid, u64 *buffers, unsigned int num_buffers) dpaa2_io_service_acquire() argument
|
H A D | qbman-portal.h | 104 __le16 bpid; member 232 void qbman_release_desc_set_bpid(struct qbman_release_desc *d, u16 bpid); 235 int qbman_swp_acquire(struct qbman_swp *s, u16 bpid, u64 *buffers, 608 int qbman_bp_query(struct qbman_swp *s, u16 bpid,
|
/kernel/linux/linux-5.10/drivers/bus/fsl-mc/ |
H A D | dpbp.c | 180 attr->bpid = le16_to_cpu(rsp_params->bpid); in dpbp_get_attributes()
|
/kernel/linux/linux-6.6/drivers/bus/fsl-mc/ |
H A D | dpbp.c | 180 attr->bpid = le16_to_cpu(rsp_params->bpid); in dpbp_get_attributes()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_dcbnl.c | 353 aq->cq.bpid = pfvf->bpid[vlan_prio]; in otx2_update_bpid_in_rqctx() 354 aq->cq_mask.bpid = GENMASK(8, 0); in otx2_update_bpid_in_rqctx() 368 npa_aq->aura.nix0_bpid = pfvf->bpid[vlan_prio]; in otx2_update_bpid_in_rqctx()
|
/kernel/linux/linux-5.10/drivers/crypto/caam/ |
H A D | sg_sw_qm.h | 18 qm_sg_ptr->bpid = 0; in __dma_to_qm_sg()
|