/linux-6.6.21/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.6.21/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-eth-trace.h | 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), 183 TP_ARGS(netdev, vaddr, size, dma_addr, map_size, bpid)
|
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()
|
D | dpaa2-eth.c | 317 while ((err = dpaa2_io_service_release(ch->dpio, ch->bp->bpid, in dpaa2_eth_recycle_buf() 1713 ch->bp->bpid); in dpaa2_eth_add_bufs() 1740 ch->bp->bpid); in dpaa2_eth_add_bufs() 1746 while ((err = dpaa2_io_service_release(ch->dpio, ch->bp->bpid, in dpaa2_eth_add_bufs() 1815 channel->bp->bpid); in dpaa2_eth_seed_pools() 1824 static void dpaa2_eth_drain_bufs(struct dpaa2_eth_priv *priv, int bpid, in dpaa2_eth_drain_bufs() argument 1833 if (priv->channel[i]->bp->bpid == bpid) in dpaa2_eth_drain_bufs() 1837 ret = dpaa2_io_service_acquire(NULL, bpid, buf_array, count); in dpaa2_eth_drain_bufs() 1850 static void dpaa2_eth_drain_pool(struct dpaa2_eth_priv *priv, int bpid) in dpaa2_eth_drain_pool() argument 1855 dpaa2_eth_drain_bufs(priv, bpid, DPAA2_ETH_BUFS_PER_CMD); in dpaa2_eth_drain_pool() [all …]
|
D | dpaa2-switch.h | 187 u16 bpid; member
|
D | dpaa2-switch.c | 2517 static int dpaa2_switch_add_bufs(struct ethsw_core *ethsw, u16 bpid) in dpaa2_switch_add_bufs() argument 2551 while ((err = dpaa2_io_service_release(NULL, bpid, in dpaa2_switch_add_bufs() 2587 new_count = dpaa2_switch_add_bufs(ethsw, ethsw->bpid); in dpaa2_switch_refill_bp() 2610 *count += dpaa2_switch_add_bufs(ethsw, ethsw->bpid); in dpaa2_switch_seed_bp() 2625 ret = dpaa2_io_service_acquire(NULL, ethsw->bpid, in dpaa2_switch_drain_bp() 2693 ethsw->bpid = dpbp_attrs.id; in dpaa2_switch_setup_dpbp()
|
/linux-6.6.21/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.6.21/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.6.21/drivers/net/ethernet/freescale/dpaa/ |
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() 517 static void dpaa_bpid2pool_map(int bpid, struct dpaa_bp *dpaa_bp) in dpaa_bpid2pool_map() argument 519 dpaa_bp_array[bpid] = dpaa_bp; in dpaa_bpid2pool_map() 534 if (dpaa_bp->bpid != FSL_DPAA_BPID_INV && in dpaa_bp_alloc_pool() 535 dpaa_bpid2pool_use(dpaa_bp->bpid)) in dpaa_bp_alloc_pool() [all …]
|
D | dpaa_eth.h | 74 u8 bpid; member
|
D | dpaa_eth_sysfs.c | 110 priv->dpaa_bp->bpid); in dpaa_eth_show_bpids()
|
/linux-6.6.21/drivers/bus/fsl-mc/ |
D | dpbp.c | 180 attr->bpid = le16_to_cpu(rsp_params->bpid); in dpbp_get_attributes()
|
/linux-6.6.21/drivers/net/ethernet/marvell/octeontx2/nic/ |
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()
|
D | otx2_common.c | 1057 aq->cq.bpid = pfvf->bpid[pfvf->queue_to_pfc_map[qidx]]; in otx2_cq_init() 1059 aq->cq.bpid = pfvf->bpid[0]; in otx2_cq_init() 1343 aq->aura.nix0_bpid = pfvf->bpid[pfvf->queue_to_pfc_map[aura_id]]; in otx2_aura_init() 1345 aq->aura.nix0_bpid = pfvf->bpid[0]; in otx2_aura_init() 1764 pfvf->bpid[chan_id] = rsp->chan_bpid[chan] & 0x3FF; in mbox_handler_nix_bp_enable()
|
/linux-6.6.21/drivers/crypto/caam/ |
D | sg_sw_qm.h | 18 qm_sg_ptr->bpid = 0; in __dma_to_qm_sg()
|
/linux-6.6.21/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.6.21/drivers/dma/fsl-dpaa2-qdma/ |
D | dpaa2-qdma.c | 203 f_list->bpid = cpu_to_le16(QDMA_FL_BMT_ENABLE); in dpaa2_qdma_populate_first_framel() 223 f_list->bpid = cpu_to_le16(QDMA_FL_BMT_ENABLE); in dpaa2_qdma_populate_frames() 237 f_list->bpid = cpu_to_le16(QDMA_FL_BMT_ENABLE); in dpaa2_qdma_populate_frames()
|
/linux-6.6.21/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_nix.c | 510 int bpid, blkaddr, lmac_chan_cnt, sdp_chan_cnt; in rvu_nix_get_bpid() local 546 bpid = (cgx_id * hw->lmac_per_cgx * lmac_chan_cnt) + in rvu_nix_get_bpid() 550 bpid += chan_id; in rvu_nix_get_bpid() 551 if (bpid > cgx_bpid_cnt) in rvu_nix_get_bpid() 558 bpid = cgx_bpid_cnt + req->chan_base; in rvu_nix_get_bpid() 560 bpid += chan_id; in rvu_nix_get_bpid() 561 if (bpid > (cgx_bpid_cnt + lbk_bpid_cnt)) in rvu_nix_get_bpid() 568 bpid = sdp_bpid_cnt + req->chan_base; in rvu_nix_get_bpid() 570 bpid += chan_id; in rvu_nix_get_bpid() 572 if (bpid > (cgx_bpid_cnt + lbk_bpid_cnt + sdp_bpid_cnt)) in rvu_nix_get_bpid() [all …]
|
/linux-6.6.21/include/linux/fsl/ |
D | mc.h | 595 u16 bpid; member
|