/linux-master/include/soc/fsl/ |
H A D | bman.h | 38 __be16 bpid; /* hi 8-bits reserved */ member in struct:bm_buffer::__anon269::__anon270 67 return be16_to_cpu(buf->bpid) & 0xff; 70 static inline void bm_buffer_set_bpid(struct bm_buffer *buf, int bpid) argument 72 buf->bpid = cpu_to_be16(bpid & 0xff);
|
H A D | dpaa2-fd.h | 31 * @bpid: buffer pool ID 45 __le16 bpid; member in struct:dpaa2_fd::__anon8::dpaa2_fd_simple 261 * dpaa2_fd_get_bpid() - Get the bpid field in the frame descriptor 268 return le16_to_cpu(fd->simple.bpid) & FD_BPID_MASK; 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) argument 278 fd->simple.bpid &= cpu_to_le16(~(FD_BPID_MASK)); 279 fd->simple.bpid |= cpu_to_le16(bpid); 292 __le16 bpid; member in struct:dpaa2_sg_entry 419 dpaa2_sg_set_bpid(struct dpaa2_sg_entry *sg, u16 bpid) argument 461 __le16 bpid; member in struct:dpaa2_fl_entry 652 dpaa2_fl_set_bpid(struct dpaa2_fl_entry *fle, u16 bpid) argument [all...] |
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,
|
H A D | qman.h | 76 u8 bpid; /* Buffer Pool ID */ member in struct:qm_fd::__anon2630::__anon2631 193 u8 bpid; member in struct:qm_sg_entry
|
/linux-master/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); 152 seq_printf(file, "%3s%d%10d%15d", "BP#", i, bp->bpid, buf_cnt);
|
H A D | dpaa2-switch.h | 187 u16 bpid; member in struct:ethsw_core
|
H A D | dpaa2-eth.c | 317 while ((err = dpaa2_io_service_release(ch->dpio, ch->bp->bpid, 1713 ch->bp->bpid); 1740 ch->bp->bpid); 1746 while ((err = dpaa2_io_service_release(ch->dpio, ch->bp->bpid, 1813 netdev_err(net_dev, "Buffer seeding failed for DPBP %d (bpid=%d)\n", 1815 channel->bp->bpid); 1824 static void dpaa2_eth_drain_bufs(struct dpaa2_eth_priv *priv, int bpid, argument 1833 if (priv->channel[i]->bp->bpid == bpid) 1837 ret = dpaa2_io_service_acquire(NULL, bpid, buf_arra 1850 dpaa2_eth_drain_pool(struct dpaa2_eth_priv *priv, int bpid) argument [all...] |
/linux-master/drivers/soc/fsl/qbman/ |
H A D | bman_priv.h | 83 int bm_shutdown_pool(u32 bpid);
|
H A D | bman.c | 110 u8 bpid; /* used with BM_RCR_VERB_CMD_BPID_SINGLE */ member in struct:bm_rcr_entry::__anon426::__anon427 135 u8 bpid; /* used by acquire command */ member in struct:bm_mc_command 148 u8 bpid; member in struct:bm_mc_result::__anon428 247 u32 bpid; member in struct:bman_pool 638 int bm_shutdown_pool(u32 bpid) argument 649 bm_cmd->bpid = bpid; 681 static int bm_release_bpid(u32 bpid) argument 685 ret = bm_shutdown_pool(bpid); 687 pr_debug("BPID %d leaked\n", bpid); 698 u32 bpid; local [all...] |
/linux-master/drivers/bus/fsl-mc/ |
H A D | dpbp.c | 180 attr->bpid = le16_to_cpu(rsp_params->bpid);
|
/linux-master/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) argument 1421 d->bpid = cpu_to_le16(bpid); 1472 p->bpid = d->bpid; 1514 p->bpid = d->bpid; 1527 __le16 bpid; member in struct:qbman_acquire_desc 1551 qbman_swp_acquire(struct qbman_swp *s, u16 bpid, u64 *buffers, unsigned int num_buffers) argument 1762 __le16 bpid; member in struct:qbman_bp_query_desc 1766 qbman_bp_query(struct qbman_swp *s, u16 bpid, struct qbman_bp_query_rslt *r) argument [all...] |
H A D | dpio-service.c | 581 * @bpid: the buffer pool id. 588 u16 bpid, 599 qbman_release_desc_set_bpid(&rd, bpid); 608 * @bpid: the buffer pool id. 617 u16 bpid, 629 err = qbman_swp_acquire(d->swp, bpid, buffers, num_buffers); 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) argument 812 ret = qbman_bp_query(swp, bpid, &state); 587 dpaa2_io_service_release(struct dpaa2_io *d, u16 bpid, const u64 *buffers, unsigned int num_buffers) argument 616 dpaa2_io_service_acquire(struct dpaa2_io *d, u16 bpid, u64 *buffers, unsigned int num_buffers) argument
|
H A D | qbman-portal.h | 104 __le16 bpid; member in struct:qbman_release_desc 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-master/drivers/crypto/caam/ |
H A D | sg_sw_qm.h | 18 qm_sg_ptr->bpid = 0;
|
/linux-master/drivers/net/ethernet/freescale/dpaa/ |
H A D | dpaa_eth_sysfs.c | 110 priv->dpaa_bp->bpid);
|
H A D | dpaa_eth.h | 74 u8 bpid; member in struct:dpaa_bp
|
H A D | dpaa_eth.c | 497 static struct dpaa_bp *dpaa_bpid2pool(int bpid) argument 499 if (WARN_ON(bpid < 0 || bpid >= BM_MAX_NUM_OF_POOLS)) 502 return dpaa_bp_array[bpid]; 506 static bool dpaa_bpid2pool_use(int bpid) argument 508 if (dpaa_bpid2pool(bpid)) { 509 refcount_inc(&dpaa_bp_array[bpid]->refs); 516 /* called only once per bpid by dpaa_bp_alloc_pool() */ 517 static void dpaa_bpid2pool_map(int bpid, struct dpaa_bp *dpaa_bp) argument 519 dpaa_bp_array[bpid] [all...] |
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_dcbnl.c | 353 aq->cq.bpid = pfvf->bpid[vlan_prio]; 354 aq->cq_mask.bpid = GENMASK(8, 0); 368 npa_aq->aura.nix0_bpid = pfvf->bpid[vlan_prio];
|
H A D | otx2_common.c | 1057 aq->cq.bpid = pfvf->bpid[pfvf->queue_to_pfc_map[qidx]]; 1059 aq->cq.bpid = pfvf->bpid[0]; 1343 aq->aura.nix0_bpid = pfvf->bpid[pfvf->queue_to_pfc_map[aura_id]]; 1345 aq->aura.nix0_bpid = pfvf->bpid[0]; 1764 pfvf->bpid[chan_id] = rsp->chan_bpid[chan] & 0x3FF;
|
/linux-master/drivers/crypto/marvell/octeontx2/ |
H A D | otx2_cpt_common.h | 60 u16 bpid; member in struct:otx2_cpt_rx_inline_lf_cfg
|
H A D | otx2_cptpf_mbox.c | 175 nix_req->bpid = req->bpid;
|
/linux-master/arch/mips/include/asm/octeon/ |
H A D | cvmx-wqe.h | 436 uint64_t bpid:6; /* 8..13 */ member in struct:cvmx_pip_wqe_word0::__anon52 442 uint64_t bpid:6; /* 8..13 */
|
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_nix.c | 544 int blkaddr, bpid, err; local 558 for (bpid = 0; bpid < bp->bpids.max; bpid++) { 559 if (bp->fn_map[bpid] == pcifunc) { 560 bp->ref_cnt[bpid]--; 561 if (bp->ref_cnt[bpid]) 563 rvu_free_rsrc(&bp->bpids, bpid); 564 bp->fn_map[bpid] = 0; 576 u16 chan_base, chan, bpid; local 618 int bpid, blkaddr, sdp_chan_base, err; local 702 s16 bpid, bpid_base; local [all...] |
/linux-master/drivers/dma/fsl-dpaa2-qdma/ |
H A D | dpaa2-qdma.c | 203 f_list->bpid = cpu_to_le16(QDMA_FL_BMT_ENABLE); 223 f_list->bpid = cpu_to_le16(QDMA_FL_BMT_ENABLE); 237 f_list->bpid = cpu_to_le16(QDMA_FL_BMT_ENABLE);
|