/linux-6.1.9/include/soc/fsl/ |
D | dpaa2-fd.h | 45 __le16 bpid; member 268 return le16_to_cpu(fd->simple.bpid) & FD_BPID_MASK; in dpaa2_fd_get_bpid() 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; member 411 return le16_to_cpu(sg->bpid) & SG_BPID_MASK; in dpaa2_sg_get_bpid() 419 static inline void dpaa2_sg_set_bpid(struct dpaa2_sg_entry *sg, u16 bpid) in dpaa2_sg_set_bpid() argument 421 sg->bpid &= cpu_to_le16(~(SG_BPID_MASK)); in dpaa2_sg_set_bpid() 422 sg->bpid |= cpu_to_le16(bpid); in dpaa2_sg_set_bpid() [all …]
|
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()
|
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,
|
D | qman.h | 76 u8 bpid; /* Buffer Pool ID */ member 193 u8 bpid; member
|
/linux-6.1.9/drivers/soc/fsl/qbman/ |
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() 691 gen_pool_free(bm_bpalloc, bpid | DPAA_GENALLOC_OFF, 1); in bm_release_bpid() [all …]
|
D | bman_priv.h | 83 int bm_shutdown_pool(u32 bpid);
|
/linux-6.1.9/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-eth-trace.h | 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)
|
D | dpaa2-switch.h | 185 u16 bpid; member
|
D | dpaa2-eth.c | 307 while ((err = dpaa2_io_service_release(ch->dpio, priv->bpid, in dpaa2_eth_recycle_buf() 1634 struct dpaa2_eth_channel *ch, u16 bpid) in dpaa2_eth_add_bufs() argument 1666 bpid); in dpaa2_eth_add_bufs() 1671 while ((err = dpaa2_io_service_release(ch->dpio, bpid, in dpaa2_eth_add_bufs() 1700 static int dpaa2_eth_seed_pool(struct dpaa2_eth_priv *priv, u16 bpid) in dpaa2_eth_seed_pool() argument 1708 new_count = dpaa2_eth_add_bufs(priv, priv->channel[j], bpid); in dpaa2_eth_seed_pool() 1731 ret = dpaa2_io_service_acquire(NULL, priv->bpid, in dpaa2_eth_drain_bufs() 1761 u16 bpid) in dpaa2_eth_refill_pool() argument 1769 new_count = dpaa2_eth_add_bufs(priv, ch, bpid); in dpaa2_eth_refill_pool() 1851 dpaa2_eth_refill_pool(priv, ch, priv->bpid); in dpaa2_eth_poll() [all …]
|
D | dpaa2-switch.c | 2504 static int dpaa2_switch_add_bufs(struct ethsw_core *ethsw, u16 bpid) in dpaa2_switch_add_bufs() argument 2538 while ((err = dpaa2_io_service_release(NULL, bpid, in dpaa2_switch_add_bufs() 2574 new_count = dpaa2_switch_add_bufs(ethsw, ethsw->bpid); in dpaa2_switch_refill_bp() 2597 *count += dpaa2_switch_add_bufs(ethsw, ethsw->bpid); in dpaa2_switch_seed_bp() 2612 ret = dpaa2_io_service_acquire(NULL, ethsw->bpid, in dpaa2_switch_drain_bp() 2680 ethsw->bpid = dpbp_attrs.id; in dpaa2_switch_setup_dpbp()
|
/linux-6.1.9/drivers/soc/fsl/dpio/ |
D | qbman-portal.c | 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 int qbman_swp_acquire(struct qbman_swp *s, u16 bpid, u64 *buffers, in qbman_swp_acquire() argument 1568 p->bpid = cpu_to_le16(bpid); in qbman_swp_acquire() 1575 bpid); in qbman_swp_acquire() 1585 bpid, r->rslt); in qbman_swp_acquire() 1762 __le16 bpid; member [all …]
|
D | dpio-service.c | 588 u16 bpid, in dpaa2_io_service_release() argument 599 qbman_release_desc_set_bpid(&rd, bpid); in dpaa2_io_service_release() 617 u16 bpid, in dpaa2_io_service_acquire() argument 629 err = qbman_swp_acquire(d->swp, bpid, buffers, num_buffers); in dpaa2_io_service_acquire() 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()
|
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,
|
/linux-6.1.9/drivers/net/ethernet/freescale/dpaa/ |
D | dpaa_eth.c | 481 static struct dpaa_bp *dpaa_bpid2pool(int bpid) in dpaa_bpid2pool() argument 483 if (WARN_ON(bpid < 0 || bpid >= BM_MAX_NUM_OF_POOLS)) in dpaa_bpid2pool() 486 return dpaa_bp_array[bpid]; in dpaa_bpid2pool() 490 static bool dpaa_bpid2pool_use(int bpid) in dpaa_bpid2pool_use() argument 492 if (dpaa_bpid2pool(bpid)) { in dpaa_bpid2pool_use() 493 refcount_inc(&dpaa_bp_array[bpid]->refs); in dpaa_bpid2pool_use() 501 static void dpaa_bpid2pool_map(int bpid, struct dpaa_bp *dpaa_bp) in dpaa_bpid2pool_map() argument 503 dpaa_bp_array[bpid] = dpaa_bp; in dpaa_bpid2pool_map() 518 if (dpaa_bp->bpid != FSL_DPAA_BPID_INV && in dpaa_bp_alloc_pool() 519 dpaa_bpid2pool_use(dpaa_bp->bpid)) in dpaa_bp_alloc_pool() [all …]
|
D | dpaa_eth.h | 73 u8 bpid; member
|
D | dpaa_eth_sysfs.c | 110 priv->dpaa_bp->bpid); in dpaa_eth_show_bpids()
|
/linux-6.1.9/drivers/bus/fsl-mc/ |
D | dpbp.c | 180 attr->bpid = le16_to_cpu(rsp_params->bpid); in dpbp_get_attributes()
|
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_dcbnl.c | 360 aq->cq.bpid = pfvf->bpid[vlan_prio]; in otx2_update_bpid_in_rqctx() 361 aq->cq_mask.bpid = GENMASK(8, 0); in otx2_update_bpid_in_rqctx() 375 npa_aq->aura.nix0_bpid = pfvf->bpid[vlan_prio]; in otx2_update_bpid_in_rqctx()
|
D | otx2_common.c | 981 aq->cq.bpid = pfvf->bpid[pfvf->queue_to_pfc_map[qidx]]; in otx2_cq_init() 983 aq->cq.bpid = pfvf->bpid[0]; in otx2_cq_init() 1265 aq->aura.nix0_bpid = pfvf->bpid[pfvf->queue_to_pfc_map[aura_id]]; in otx2_aura_init() 1267 aq->aura.nix0_bpid = pfvf->bpid[0]; in otx2_aura_init() 1684 pfvf->bpid[chan_id] = rsp->chan_bpid[chan] & 0x3FF; in mbox_handler_nix_bp_enable()
|
/linux-6.1.9/drivers/crypto/caam/ |
D | sg_sw_qm.h | 18 qm_sg_ptr->bpid = 0; in __dma_to_qm_sg()
|
/linux-6.1.9/arch/mips/include/asm/octeon/ |
D | cvmx-wqe.h | 436 uint64_t bpid:6; /* 8..13 */ member 442 uint64_t bpid:6; /* 8..13 */
|
/linux-6.1.9/drivers/dma/fsl-dpaa2-qdma/ |
D | dpaa2-qdma.c | 201 f_list->bpid = cpu_to_le16(QDMA_FL_BMT_ENABLE); in dpaa2_qdma_populate_first_framel() 221 f_list->bpid = cpu_to_le16(QDMA_FL_BMT_ENABLE); in dpaa2_qdma_populate_frames() 235 f_list->bpid = cpu_to_le16(QDMA_FL_BMT_ENABLE); in dpaa2_qdma_populate_frames()
|
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_nix.c | 497 int bpid, blkaddr, lmac_chan_cnt, sdp_chan_cnt; in rvu_nix_get_bpid() local 533 bpid = (cgx_id * hw->lmac_per_cgx * lmac_chan_cnt) + in rvu_nix_get_bpid() 537 bpid += chan_id; in rvu_nix_get_bpid() 538 if (bpid > cgx_bpid_cnt) in rvu_nix_get_bpid() 545 bpid = cgx_bpid_cnt + req->chan_base; in rvu_nix_get_bpid() 547 bpid += chan_id; in rvu_nix_get_bpid() 548 if (bpid > (cgx_bpid_cnt + lbk_bpid_cnt)) in rvu_nix_get_bpid() 555 bpid = sdp_bpid_cnt + req->chan_base; in rvu_nix_get_bpid() 557 bpid += chan_id; in rvu_nix_get_bpid() 559 if (bpid > (cgx_bpid_cnt + lbk_bpid_cnt + sdp_bpid_cnt)) in rvu_nix_get_bpid() [all …]
|
/linux-6.1.9/include/linux/fsl/ |
D | mc.h | 595 u16 bpid; member
|
/linux-6.1.9/drivers/net/ethernet/freescale/fman/ |
D | fman_port.c | 361 u8 bpid; /* BM pool ID */ member 774 tmp |= ((u32)bp->bpool[i].bpid << in set_bpools() 913 bpools.bpool[i].bpid = ordered_array[i]; in set_ext_buffer_pools()
|