/freebsd/sys/contrib/ncsw/Peripherals/BM/ |
H A D | bm_pool.c | 63 p_Portal->depletionPoolsTable[p_BmPool->bpid] = p_BmPool; in depletion_link() 64 bm_isr_bscn_mask(p_Portal->p_BmPortalLow, (uint8_t)p_BmPool->bpid, 1); in depletion_link() 73 p_Portal->depletionPoolsTable[p_BmPool->bpid] = NULL; in depletion_unlink() 74 bm_isr_bscn_mask(p_Portal->p_BmPortalLow, (uint8_t)p_BmPool->bpid, 0); in depletion_unlink() 90 return BmPortalRelease(h_BmPortal, p_BmPool->bpid, bufs, num, flags); in BmPoolRelease() 120 p_BmPool->bpid, in BmPoolRelease() 142 return BmPortalAcquire(h_BmPortal, p_BmPool->bpid, bufs, num); in BmPoolAcquire() 148 p_BmPool->bpid, in BmPoolAcquire() 175 BmUnSetPoolThresholds(p_BmPool->h_Bm, p_BmPool->bpid); in BmPoolFree() 186 BmBpidPut(p_BmPool->h_Bm, p_BmPool->bpid); in BmPoolFree() [all …]
|
H A D | fsl_bman.h | 97 static __inline__ int bman_depletion_get(const struct bman_depletion *c, uint8_t bpid) in bman_depletion_get() argument 99 return (int)(c->__state[__bmdep_word(bpid)] & __bmdep_bit(bpid)); in bman_depletion_get() 101 static __inline__ void bman_depletion_set(struct bman_depletion *c, uint8_t bpid) in bman_depletion_set() argument 103 c->__state[__bmdep_word(bpid)] |= __bmdep_bit(bpid); in bman_depletion_set() 105 static __inline__ void bman_depletion_unset(struct bman_depletion *c, uint8_t bpid) in bman_depletion_unset() argument 107 c->__state[__bmdep_word(bpid)] &= ~__bmdep_bit(bpid); in bman_depletion_unset() 191 void bm_isr_bscn_mask(struct bm_portal *portal, uint8_t bpid, int enable); 238 volatile uint8_t bpid; member 248 volatile uint8_t bpid; /* used with BM_RCR_VERB_CMD_BPID_SINGLE */ member 261 volatile uint8_t bpid; member [all …]
|
H A D | bm.c | 111 ipcPoolThresh.bpid, in BmHandleIpcMsgCB() 123 ipcPoolThresh.bpid)) != E_OK) in BmHandleIpcMsgCB() 135 ipcCounter.bpid); in BmHandleIpcMsgCB() 158 tmp = BmBpidGet(p_Bm, TRUE, ipcBpid.bpid); in BmHandleIpcMsgCB() 169 if ((err = BmBpidPut(p_Bm, ipcBpid.bpid)) != E_OK) in BmHandleIpcMsgCB() 214 uint8_t bpid, in BmSetPool() argument 223 SANITY_CHECK_RETURN_ERROR(bpid < BM_MAX_NUM_OF_POOLS, E_INVALID_VALUE); in BmSetPool() 225 WRITE_UINT32(p_Bm->p_BmRegs->swdet[bpid], GenerateThresh(swdet, 0)); in BmSetPool() 226 WRITE_UINT32(p_Bm->p_BmRegs->swdxt[bpid], GenerateThresh(swdxt, 1)); in BmSetPool() 227 WRITE_UINT32(p_Bm->p_BmRegs->hwdet[bpid], GenerateThresh(hwdet, 0)); in BmSetPool() [all …]
|
H A D | bm_portal.c | 96 uint8_t bpid = 0; in bman_create_portal() local 137 while (bpid < BM_MAX_NUM_OF_POOLS) { in bman_create_portal() 140 bm_isr_bscn_mask(p_BmPortal->p_BmPortalLow, bpid, 0); in bman_create_portal() 141 bpid++; in bman_create_portal() 369 uint8_t bpid, in BmPortalRelease() argument 390 r->bpid = bpid; in BmPortalRelease() 405 uint8_t bpid, in BmPortalAcquire() argument 417 mcc->acquire.bpid = bpid; in BmPortalAcquire() 425 bufs[num].bpid = bpid; in BmPortalAcquire()
|
H A D | bm.h | 228 … uint8_t bpid; /**< index of the buffer pool to encapsulate (0-63) */ member 365 ipcBpid.bpid = (uint8_t)base; in BmBpidGet() 418 ipcBpid.bpid = (uint8_t)base; in BmBpidPut() 446 t_Error BmSetPoolThresholds(t_Handle h_Bm, uint8_t bpid, const uint32_t *thresholds); 447 t_Error BmUnSetPoolThresholds(t_Handle h_Bm, uint8_t bpid); 448 uint8_t BmPortalAcquire(t_Handle h_BmPortal, uint8_t bpid, struct bm_buffer *bufs, uint8_t num); 449 t_Error BmPortalRelease(t_Handle h_BmPortal, uint8_t bpid, struct bm_buffer *bufs, uint8_t num, uin… 451 uint32_t BmGetCounter(t_Handle h_Bm, e_BmInterModuleCounters counter, uint8_t bpid);
|
H A D | bman_low.c | 472 #define SCN_REG(bpid) REG_SCN((bpid) / 32) argument 473 #define SCN_BIT(bpid) (0x80000000 >> (bpid & 31)) argument 474 void bm_isr_bscn_mask(struct bm_portal *portal, uint8_t bpid, int enable) in bm_isr_bscn_mask() argument 477 ASSERT_COND(bpid < BM_MAX_NUM_OF_POOLS); in bm_isr_bscn_mask() 479 val = __bm_in(&portal->addr, SCN_REG(bpid)); in bm_isr_bscn_mask() 481 val |= SCN_BIT(bpid); in bm_isr_bscn_mask() 483 val &= ~SCN_BIT(bpid); in bm_isr_bscn_mask() 484 __bm_out(&portal->addr, SCN_REG(bpid), val); in bm_isr_bscn_mask()
|
H A D | bm_ipc.h | 96 uint8_t bpid; /**< IN */ 102 uint8_t bpid; /**< IN */ 108 uint8_t bpid; /**< IN */
|
/freebsd/sys/dev/dpaa2/ |
H A D | dpaa2_buf.c | 61 const uint16_t bpid = bpsc->attr.bpid; in dpaa2_buf_seed_pool() local 82 error = DPAA2_SWP_RELEASE_BUFS(ch->io_dev, bpid, paddr, in dpaa2_buf_seed_pool() 112 error = DPAA2_SWP_RELEASE_BUFS(ch->io_dev, bpid, paddr, bufn); in dpaa2_buf_seed_pool()
|
H A D | dpaa2_swp_if.m | 74 * bpid: Buffer pool ID. 80 uint16_t bpid; 89 * bpid: Buffer pool ID. 94 uint16_t bpid;
|
H A D | dpaa2_swp.c | 559 dpaa2_swp_query_bp(struct dpaa2_swp *swp, uint16_t bpid, in dpaa2_swp_query_bp() argument 566 uint16_t bpid; in dpaa2_swp_query_bp() member 584 cmd.bpid = bpid; in dpaa2_swp_query_bp() 593 "result=0x%02x\n", bpid, rsp.result); in dpaa2_swp_query_bp() 605 dpaa2_swp_release_bufs(struct dpaa2_swp *swp, uint16_t bpid, bus_addr_t *buf, in dpaa2_swp_release_bufs() argument 612 uint16_t bpid; in dpaa2_swp_release_bufs() member 624 cmd.bpid = bpid; in dpaa2_swp_release_bufs()
|
H A D | dpaa2_swp.h | 341 uint16_t bpid; member 519 int dpaa2_swp_query_bp(struct dpaa2_swp *swp, uint16_t bpid, 521 int dpaa2_swp_release_bufs(struct dpaa2_swp *swp, uint16_t bpid, bus_addr_t *buf,
|
H A D | dpaa2_io.c | 392 dpaa2_io_query_bp(device_t iodev, uint16_t bpid, struct dpaa2_bp_conf *conf) in dpaa2_io_query_bp() argument 396 return (dpaa2_swp_query_bp(sc->swp, bpid, conf)); in dpaa2_io_query_bp() 403 dpaa2_io_release_bufs(device_t iodev, uint16_t bpid, bus_addr_t *buf, in dpaa2_io_release_bufs() argument 408 return (dpaa2_swp_release_bufs(sc->swp, bpid, buf, buf_num)); in dpaa2_io_release_bufs()
|
H A D | dpaa2_bp.h | 45 uint16_t bpid; member
|
H A D | dpaa2_channel.c | 533 error = DPAA2_SWP_QUERY_BP(ch->io_dev, bpsc->attr.bpid, &bpconf); in dpaa2_chan_bp_task()
|
/freebsd/sys/contrib/ncsw/inc/flib/ |
H A D | fsl_fman_port.h | 449 uint8_t bpid; /**< BM pool ID */ member 566 uint8_t bpid, 583 uint32_t fman_port_get_bpool_counter(struct fman_port *port, uint8_t bpid); 585 uint8_t bpid,
|
/freebsd/sys/dev/dpaa/ |
H A D | bman.c | 190 bman_pool_create(uint8_t *bpid, uint16_t bufferSize, uint16_t maxBuffers, in bman_pool_create() argument 255 *bpid = BM_POOL_GetId(pool); in bman_pool_create() 256 sc->sc_bpool_cpu[*bpid] = PCPU_GET(cpuid); in bman_pool_create()
|
H A D | bman.h | 131 t_Handle bman_pool_create(uint8_t *bpid, uint16_t bufferSize,
|
H A D | if_dtsec_rm.c | 638 fd.bpid = 0; in dtsec_rm_if_start_locked()
|
/freebsd/sys/contrib/ncsw/inc/Peripherals/ |
H A D | bm_ext.h | 433 …uint8_t bpid; /**< index of the shadow buffer pool (0-BM_MAX_NUM… member 487 t_Error BM_POOL_ConfigBpid(t_Handle h_BmPool, uint8_t bpid);
|
H A D | dpaa_ext.h | 73 volatile uint8_t bpid; 81 volatile uint8_t bpid;
|
/freebsd/sys/contrib/ncsw/Peripherals/FM/Port/ |
H A D | fman_port.c | 720 static uint8_t fman_port_find_bpool(struct fman_port *port, uint8_t bpid) in fman_port_find_bpool() argument 734 if (id == bpid) in fman_port_find_bpool() 926 tmp |= ((uint32_t)bp->bpool[i].bpid << in fman_port_set_bpools() 1276 uint8_t bpid, in fman_port_set_bpool_cnt_mode() argument 1291 index = fman_port_find_bpool(port, bpid); in fman_port_set_bpool_cnt_mode() 1451 uint32_t fman_port_get_bpool_counter(struct fman_port *port, uint8_t bpid) in fman_port_get_bpool_counter() argument 1465 index = fman_port_find_bpool(port, bpid); in fman_port_get_bpool_counter() 1475 uint8_t bpid, in fman_port_set_bpool_counter() argument 1489 index = fman_port_find_bpool(port, bpid); in fman_port_set_bpool_counter()
|
/freebsd/sys/contrib/ncsw/Peripherals/QM/ |
H A D | fsl_qman.h | 366 volatile uint8_t bpid; /* Buffer Pool ID */ member
|
/freebsd/sys/dts/powerpc/ |
H A D | p2041rdb.dts | 94 fsl,bpid = <0>;
|
H A D | p3041ds.dts | 95 fsl,bpid = <0>;
|
H A D | p5020ds.dts | 93 fsl,bpid = <0>;
|