/openbmc/linux/include/soc/fsl/ |
H A D | dpaa2-fd.h | 45 __le16 bpid; member 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() 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() 461 __le16 bpid; member 644 return le16_to_cpu(fle->bpid) & FL_BPID_MASK; in dpaa2_fl_get_bpid() 654 fle->bpid &= cpu_to_le16(~(FL_BPID_MASK)); in dpaa2_fl_set_bpid() [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,
|
/openbmc/linux/drivers/net/ethernet/freescale/dpaa2/ |
H A 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)
|
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()
|
H A 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() 1815 channel->bp->bpid); in dpaa2_eth_seed_pools() 1833 if (priv->channel[i]->bp->bpid == bpid) in dpaa2_eth_drain_bufs() 1855 dpaa2_eth_drain_bufs(priv, bpid, DPAA2_ETH_BUFS_PER_CMD); in dpaa2_eth_drain_pool() 1856 dpaa2_eth_drain_bufs(priv, bpid, 1); in dpaa2_eth_drain_pool() 1862 if (priv->channel[i]->bp->bpid == bpid) in dpaa2_eth_drain_pool() 1871 dpaa2_eth_drain_pool(priv, priv->bp[i]->bpid); in dpaa2_eth_drain_pools() 3418 bp->bpid = dpbp_attrs.bpid; in dpaa2_eth_allocate_dpbp() [all …]
|
H A D | dpaa2-switch.h | 187 u16 bpid; member
|
/openbmc/linux/drivers/soc/fsl/qbman/ |
H A D | bman.c | 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() 685 ret = bm_shutdown_pool(bpid); in bm_release_bpid() 698 u32 bpid; in bman_new_pool() local 707 pool->bpid = bpid; in bman_new_pool() 711 bm_release_bpid(bpid); in bman_new_pool() 718 bm_release_bpid(pool->bpid); in bman_free_pool() 726 return pool->bpid; in bman_get_bpid() [all …]
|
H A D | bman_priv.h | 83 int bm_shutdown_pool(u32 bpid);
|
/openbmc/linux/drivers/soc/fsl/dpio/ |
H A D | qbman-portal.c | 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 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 1776 p->bpid = cpu_to_le16(bpid); in qbman_bp_query() 1780 bpid); in qbman_bp_query() [all …]
|
H A 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()
|
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,
|
/openbmc/u-boot/drivers/net/ldpaa_eth/ |
H A D | ldpaa_eth.c | 252 qbman_release_desc_set_bpid(&releasedesc, dflt_dpbp->dpbp_attr.bpid); in ldpaa_eth_rx() 343 dflt_dpbp->dpbp_attr.bpid, in ldpaa_eth_tx() 361 ldpaa_fd_set_bpid(&fd, dflt_dpbp->dpbp_attr.bpid); in ldpaa_eth_tx() 389 qbman_release_desc_set_bpid(&releasedesc, dflt_dpbp->dpbp_attr.bpid); in ldpaa_eth_tx() 660 dflt_dpbp->dpbp_attr.bpid, in ldpaa_dpbp_drain_cnt() 681 static int ldpaa_bp_add_7(uint16_t bpid) in ldpaa_bp_add_7() argument 711 qbman_release_desc_set_bpid(&rd, bpid); in ldpaa_bp_add_7() 723 static int ldpaa_dpbp_seed(uint16_t bpid) in ldpaa_dpbp_seed() argument 729 count = ldpaa_bp_add_7(bpid); in ldpaa_dpbp_seed() 762 err = ldpaa_dpbp_seed(dflt_dpbp->dpbp_attr.bpid); in ldpaa_dpbp_setup() [all …]
|
H A D | ldpaa_eth.h | 143 static int ldpaa_dpbp_seed(uint16_t bpid);
|
/openbmc/u-boot/include/fsl-mc/ |
H A D | fsl_qbman_portal.h | 163 void qbman_release_desc_set_bpid(struct qbman_release_desc *, uint32_t bpid); 172 int qbman_swp_acquire(struct qbman_swp *, uint32_t bpid, uint64_t *buffers,
|
H A D | fsl_dpbp.h | 39 MC_RSP_OP(cmd, 0, 16, 16, uint16_t, attr->bpid); \ 194 uint16_t bpid; member
|
H A D | fsl_dpaa_fd.h | 76 static inline void ldpaa_fd_set_bpid(struct dpaa_fd *fd, uint16_t bpid) in ldpaa_fd_set_bpid() argument 79 fd->simple.bpid_offset |= (u32)bpid; in ldpaa_fd_set_bpid()
|
/openbmc/linux/drivers/net/ethernet/freescale/dpaa/ |
H A D | dpaa_eth.c | 499 if (WARN_ON(bpid < 0 || bpid >= BM_MAX_NUM_OF_POOLS)) in dpaa_bpid2pool() 502 return dpaa_bp_array[bpid]; in dpaa_bpid2pool() 508 if (dpaa_bpid2pool(bpid)) { in dpaa_bpid2pool_use() 519 dpaa_bp_array[bpid] = dpaa_bp; in dpaa_bpid2pool_map() 614 dpaa_bp_array[bp->bpid] = NULL; in dpaa_bp_free() 1385 sgt[i - 1].bpid == sgt[i].bpid); in dpaa_release_sgt_members() 1948 fd->bpid = FSL_DPAA_BPID_INV; in skb_to_contig_fd() 2027 sgt[0].bpid = FSL_DPAA_BPID_INV; in skb_to_sg_fd() 2077 fd->bpid = FSL_DPAA_BPID_INV; in skb_to_sg_fd() 2104 if (fd->bpid == FSL_DPAA_BPID_INV) in dpaa_xmit() [all …]
|
H A D | dpaa_eth.h | 74 u8 bpid; member
|
H A D | dpaa_eth_sysfs.c | 110 priv->dpaa_bp->bpid); in dpaa_eth_show_bpids()
|
/openbmc/linux/drivers/bus/fsl-mc/ |
H A D | dpbp.c | 180 attr->bpid = le16_to_cpu(rsp_params->bpid); in dpbp_get_attributes()
|
/openbmc/u-boot/drivers/net/fsl-mc/dpio/ |
H A D | qbman_portal.c | 532 void qbman_release_desc_set_bpid(struct qbman_release_desc *d, uint32_t bpid) in qbman_release_desc_set_bpid() argument 536 qb_attr_code_encode(&code_release_bpid, cl, bpid); in qbman_release_desc_set_bpid() 577 int qbman_swp_acquire(struct qbman_swp *s, uint32_t bpid, uint64_t *buffers, in qbman_swp_acquire() argument 592 qb_attr_code_encode(&code_acquire_bpid, p, bpid); in qbman_swp_acquire() 607 bpid, rslt); in qbman_swp_acquire()
|
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_dcbnl.c | 358 aq->cq.bpid = pfvf->bpid[vlan_prio]; in otx2_update_bpid_in_rqctx() 359 aq->cq_mask.bpid = GENMASK(8, 0); in otx2_update_bpid_in_rqctx() 373 npa_aq->aura.nix0_bpid = pfvf->bpid[vlan_prio]; in otx2_update_bpid_in_rqctx()
|
/openbmc/linux/drivers/crypto/caam/ |
H A D | sg_sw_qm.h | 18 qm_sg_ptr->bpid = 0; in __dma_to_qm_sg()
|
/openbmc/linux/arch/mips/include/asm/octeon/ |
H A D | cvmx-wqe.h | 436 uint64_t bpid:6; /* 8..13 */ member 442 uint64_t bpid:6; /* 8..13 */
|