/freebsd-current/sys/contrib/ncsw/Peripherals/BM/ |
H A D | bm_ipc.h | 96 uint8_t bpid; /**< IN */ member in struct:t_BmIpcPoolThreshParams 102 uint8_t bpid; /**< IN */ member in struct:t_BmIpcGetCounter 108 uint8_t bpid; /**< IN */ member in struct:t_BmIpcBpidParams
|
H A D | fsl_bman.h | 97 static __inline__ int bman_depletion_get(const struct bman_depletion *c, uint8_t bpid) argument 99 return (int)(c->__state[__bmdep_word(bpid)] & __bmdep_bit(bpid)); 101 static __inline__ void bman_depletion_set(struct bman_depletion *c, uint8_t bpid) argument 103 c->__state[__bmdep_word(bpid)] |= __bmdep_bit(bpid); 105 static __inline__ void bman_depletion_unset(struct bman_depletion *c, uint8_t bpid) argument 107 c->__state[__bmdep_word(bpid)] &= ~__bmdep_bit(bpid); 191 void bm_isr_bscn_mask(struct bm_portal *portal, uint8_t bpid, in 238 volatile uint8_t bpid; member in struct:bm_buffer 248 volatile uint8_t bpid; /* used with BM_RCR_VERB_CMD_BPID_SINGLE */ member in struct:bm_rcr_entry::__anon9588::__anon9589 261 volatile uint8_t bpid; member in struct:bm_mc_command::__anon9590::bm_mcc_acquire 281 volatile uint8_t bpid; member in struct:bm_mc_result::__anon9591::__anon9593::__anon9594 [all...] |
H A D | bm_pool.c | 63 p_Portal->depletionPoolsTable[p_BmPool->bpid] = p_BmPool; 64 bm_isr_bscn_mask(p_Portal->p_BmPortalLow, (uint8_t)p_BmPool->bpid, 1); 73 p_Portal->depletionPoolsTable[p_BmPool->bpid] = NULL; 74 bm_isr_bscn_mask(p_Portal->p_BmPortalLow, (uint8_t)p_BmPool->bpid, 0); 90 return BmPortalRelease(h_BmPortal, p_BmPool->bpid, bufs, num, flags); 120 p_BmPool->bpid, 142 return BmPortalAcquire(h_BmPortal, p_BmPool->bpid, bufs, num); 148 p_BmPool->bpid, 175 BmUnSetPoolThresholds(p_BmPool->h_Bm, p_BmPool->bpid); 186 BmBpidPut(p_BmPool->h_Bm, p_BmPool->bpid); 334 BM_POOL_ConfigBpid(t_Handle h_BmPool, uint8_t bpid) argument [all...] |
H A D | bm.c | 111 ipcPoolThresh.bpid, 123 ipcPoolThresh.bpid)) != E_OK) 135 ipcCounter.bpid); 158 tmp = BmBpidGet(p_Bm, TRUE, ipcBpid.bpid); 169 if ((err = BmBpidPut(p_Bm, ipcBpid.bpid)) != E_OK) 214 uint8_t bpid, 223 SANITY_CHECK_RETURN_ERROR(bpid < BM_MAX_NUM_OF_POOLS, E_INVALID_VALUE); 225 WRITE_UINT32(p_Bm->p_BmRegs->swdet[bpid], GenerateThresh(swdet, 0)); 226 WRITE_UINT32(p_Bm->p_BmRegs->swdxt[bpid], GenerateThresh(swdxt, 1)); 227 WRITE_UINT32(p_Bm->p_BmRegs->hwdet[bpid], GenerateThres 213 BmSetPool(t_Handle h_Bm, uint8_t bpid, uint32_t swdet, uint32_t swdxt, uint32_t hwdet, uint32_t hwdxt) argument 237 BmSetPoolThresholds(t_Handle h_Bm, uint8_t bpid, const uint32_t *thresholds) argument 278 BmUnSetPoolThresholds(t_Handle h_Bm, uint8_t bpid) argument 319 BmGetCounter(t_Handle h_Bm, e_BmInterModuleCounters counter, uint8_t bpid) argument [all...] |
H A D | bm_portal.c | 96 uint8_t bpid = 0; local 137 while (bpid < BM_MAX_NUM_OF_POOLS) { 140 bm_isr_bscn_mask(p_BmPortal->p_BmPortalLow, bpid, 0); 141 bpid++; 369 uint8_t bpid, 390 r->bpid = bpid; 405 uint8_t bpid, 417 mcc->acquire.bpid = bpid; 368 BmPortalRelease(t_Handle h_BmPortal, uint8_t bpid, struct bm_buffer *bufs, uint8_t num, uint32_t flags) argument 404 BmPortalAcquire(t_Handle h_BmPortal, uint8_t bpid, struct bm_buffer *bufs, uint8_t num) argument [all...] |
H A D | bm.h | 228 uint8_t bpid; /**< index of the buffer pool to encapsulate (0-63) */ member in struct:BmPool 365 ipcBpid.bpid = (uint8_t)base; 389 DBG(WARNING, ("No Ipc - can't validate bpid.")); 418 ipcBpid.bpid = (uint8_t)base; 431 DBG(WARNING, ("No Ipc - can't validate bpid.")); 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, uint32_t flags); 451 uint32_t BmGetCounter(t_Handle h_Bm, e_BmInterModuleCounters counter, uint8_t bpid); [all...] |
H A D | bman_low.c | 472 #define SCN_REG(bpid) REG_SCN((bpid) / 32) 473 #define SCN_BIT(bpid) (0x80000000 >> (bpid & 31)) 474 void bm_isr_bscn_mask(struct bm_portal *portal, uint8_t bpid, int enable) argument 477 ASSERT_COND(bpid < BM_MAX_NUM_OF_POOLS); 478 /* REG_SCN for bpid=0..31, REG_SCN+4 for bpid=32..63 */ 479 val = __bm_in(&portal->addr, SCN_REG(bpid)); 481 val |= SCN_BIT(bpid); [all...] |
/freebsd-current/sys/dev/dpaa2/ |
H A D | dpaa2_bp.h | 40 * bpid: Hardware buffer pool ID; should be used as an argument in 45 uint16_t bpid; member in struct:dpaa2_bp_attr
|
H A D | dpaa2_buf.c | 61 const uint16_t bpid = bpsc->attr.bpid; local 82 error = DPAA2_SWP_RELEASE_BUFS(ch->io_dev, bpid, paddr, 112 error = DPAA2_SWP_RELEASE_BUFS(ch->io_dev, bpid, paddr, bufn);
|
H A D | dpaa2_swp.h | 341 uint16_t bpid; member in struct:dpaa2_sg_entry 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_swp.c | 559 dpaa2_swp_query_bp(struct dpaa2_swp *swp, uint16_t bpid, argument 566 uint16_t bpid; member in struct:__packed 584 cmd.bpid = bpid; 592 device_printf(swp->desc->dpio_dev, "BP query error: bpid=%d, " 593 "result=0x%02x\n", bpid, rsp.result); 605 dpaa2_swp_release_bufs(struct dpaa2_swp *swp, uint16_t bpid, bus_addr_t *buf, argument 612 uint16_t bpid; member in struct:__packed 624 cmd.bpid = bpid; [all...] |
H A D | dpaa2_io.c | 392 dpaa2_io_query_bp(device_t iodev, uint16_t bpid, struct dpaa2_bp_conf *conf) argument 396 return (dpaa2_swp_query_bp(sc->swp, bpid, conf)); 403 dpaa2_io_release_bufs(device_t iodev, uint16_t bpid, bus_addr_t *buf, argument 408 return (dpaa2_swp_release_bufs(sc->swp, bpid, buf, buf_num));
|
H A D | dpaa2_channel.c | 540 error = DPAA2_SWP_QUERY_BP(ch->io_dev, bpsc->attr.bpid, &bpconf);
|
H A D | dpaa2_rc.c | 2231 uint16_t bpid; member in struct:dpaa2_bp_attr 2244 attr->bpid = pattr->bpid;
|
H A D | dpaa2_ni.c | 3229 error = DPAA2_SWP_RELEASE_BUFS(ch->io_dev, bpsc->attr.bpid, 3275 error = DPAA2_SWP_RELEASE_BUFS(ch->io_dev, bpsc->attr.bpid, &paddr, 1);
|
/freebsd-current/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_OF_POOLS). member in struct:__anon9768 481 @Param[in] bpid - index of the buffer pool (0-BM_MAX_NUM_OF_POOLS). 487 t_Error BM_POOL_ConfigBpid(t_Handle h_BmPool, uint8_t bpid);
|
H A D | dpaa_ext.h | 73 volatile uint8_t bpid; member in struct:t_DpaaFD 81 volatile uint8_t bpid;
|
/freebsd-current/sys/dev/dpaa/ |
H A D | bman.h | 76 * @param bpid The pointer to variable where Buffer Pool ID will be 131 t_Handle bman_pool_create(uint8_t *bpid, uint16_t bufferSize,
|
H A D | bman.c | 190 bman_pool_create(uint8_t *bpid, uint16_t bufferSize, uint16_t maxBuffers, argument 255 *bpid = BM_POOL_GetId(pool); 256 sc->sc_bpool_cpu[*bpid] = PCPU_GET(cpuid);
|
H A D | if_dtsec_rm.c | 638 fd.bpid = 0;
|
/freebsd-current/sys/contrib/ncsw/inc/flib/ |
H A D | fsl_fman_port.h | 449 uint8_t bpid; /**< BM pool ID */ member in struct:fman_port_bpools::__anon9840 566 uint8_t bpid, 583 uint32_t fman_port_get_bpool_counter(struct fman_port *port, uint8_t bpid); 585 uint8_t bpid,
|
/freebsd-current/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) argument 734 if (id == bpid) 926 tmp |= ((uint32_t)bp->bpool[i].bpid << 1276 uint8_t bpid, 1291 index = fman_port_find_bpool(port, bpid); 1451 uint32_t fman_port_get_bpool_counter(struct fman_port *port, uint8_t bpid) argument 1465 index = fman_port_find_bpool(port, bpid); 1475 uint8_t bpid, 1489 index = fman_port_find_bpool(port, bpid); 1275 fman_port_set_bpool_cnt_mode(struct fman_port *port, uint8_t bpid, bool enable) argument 1474 fman_port_set_bpool_counter(struct fman_port *port, uint8_t bpid, uint32_t value) argument
|
H A D | fm_port.c | 564 bpools.bpool[i].bpid = orderedArray[i];
|
/freebsd-current/sys/contrib/ncsw/Peripherals/QM/ |
H A D | fsl_qman.h | 366 volatile uint8_t bpid; /* Buffer Pool ID */ member in struct:qm_fd
|