Searched refs:bpid (Results 1 - 22 of 22) sorted by relevance

/freebsd-11-stable/sys/contrib/ncsw/Peripherals/BM/
H A Dbm_ipc.h96 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 Dfsl_bman.h97 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::__anon8149::__anon8150
261 volatile uint8_t bpid; member in struct:bm_mc_command::__anon8151::bm_mcc_acquire
281 volatile uint8_t bpid; member in struct:bm_mc_result::__anon8152::__anon8154::__anon8155
[all...]
H A Dbm_pool.c63 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 Dbm.c111 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 Dbm_portal.c96 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 Dbm.h227 uint8_t bpid; /**< index of the buffer pool to encapsulate (0-63) */ member in struct:BmPool
364 ipcBpid.bpid = (uint8_t)base;
388 DBG(WARNING, ("No Ipc - can't validate bpid."));
416 ipcBpid.bpid = (uint8_t)base;
429 DBG(WARNING, ("No Ipc - can't validate bpid."));
444 t_Error BmSetPoolThresholds(t_Handle h_Bm, uint8_t bpid, const uint32_t *thresholds);
445 t_Error BmUnSetPoolThresholds(t_Handle h_Bm, uint8_t bpid);
446 uint8_t BmPortalAcquire(t_Handle h_BmPortal, uint8_t bpid, struct bm_buffer *bufs, uint8_t num);
447 t_Error BmPortalRelease(t_Handle h_BmPortal, uint8_t bpid, struct bm_buffer *bufs, uint8_t num, uint32_t flags);
449 uint32_t BmGetCounter(t_Handle h_Bm, e_BmInterModuleCounters counter, uint8_t bpid);
[all...]
H A Dbman_low.c468 #define SCN_REG(bpid) REG_SCN((bpid) / 32)
469 #define SCN_BIT(bpid) (0x80000000 >> (bpid & 31))
470 void bm_isr_bscn_mask(struct bm_portal *portal, uint8_t bpid, int enable) argument
473 ASSERT_COND(bpid < BM_MAX_NUM_OF_POOLS);
474 /* REG_SCN for bpid=0..31, REG_SCN+4 for bpid=32..63 */
475 val = __bm_in(&portal->addr, SCN_REG(bpid));
477 val |= SCN_BIT(bpid);
[all...]
/freebsd-11-stable/sys/dev/dpaa/
H A Dbman.h78 * @param bpid The pointer to variable where Buffer Pool ID will be
133 t_Handle bman_pool_create(uint8_t *bpid, uint16_t bufferSize,
H A Dbman.c196 bman_pool_create(uint8_t *bpid, uint16_t bufferSize, uint16_t maxBuffers, argument
261 *bpid = BM_POOL_GetId(pool);
262 sc->sc_bpool_cpu[*bpid] = PCPU_GET(cpuid);
/freebsd-11-stable/sys/contrib/ncsw/inc/Peripherals/
H A Dbm_ext.h433 uint8_t bpid; /**< index of the shadow buffer pool (0-BM_MAX_NUM_OF_POOLS). member in struct:__anon8297
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);
/freebsd-11-stable/sys/contrib/octeon-sdk/
H A Dcvmx-helper-cfg.c633 int pknd, bpid, pko_port_base; local
657 bpid = 0;
675 bpid++,
684 cvmx_helper_cfg_assert(bpid <= CVMX_HELPER_CFG_MAX_PIP_BPID);
H A Dcvmx-helper-util.c293 int bpid; local
300 bpid = cvmx_helper_get_bpid(interface, port);
301 if (bpid == CVMX_INVALID_BPID)
306 cvmx_write_csr(CVMX_IPD_BPIDX_MBUF_TH(bpid), 0);
H A Dcvmx-ilk.c713 unsigned char bpid; local
724 bpid = tmp->pipe_bpid;
726 cvmx_read_csr (CVMX_IPD_BPIDX_MBUF_TH(bpid));
729 cvmx_write_csr (CVMX_IPD_BPIDX_MBUF_TH(bpid), ipd_bpidx_mbuf_th.u64);
H A Dcvmx-helper-xaui.c321 bpid_map.s.bpid = cvmx_helper_get_bpid(interface, 0);
H A Dcvmx-wqe.h457 uint64_t bpid:6; /* 8..13 */ member in struct:__anon8820::__anon8822
H A Dcvmx-helper-sgmii.c505 bpid_map.s.bpid = cvmx_helper_get_bpid(interface, index);
H A Dcvmx-helper.c473 prt_cfgbx.s.bpid = pknd;
H A Dcvmx-pip-defs.h3735 uint64_t bpid : 6; /**< Default BPID to use for packets on this port-kind. */ member in struct:cvmx_pip_prt_cfgbx::cvmx_pip_prt_cfgbx_s
3737 uint64_t bpid : 6;
3821 uint64_t bpid : 6; /**< Default BPID to use for packets on this port-kind. */ member in struct:cvmx_pip_prt_cfgbx::cvmx_pip_prt_cfgbx_cn68xxp1
3823 uint64_t bpid : 6;
H A Dcvmx-gmxx-defs.h3471 uint64_t bpid : 6; /**< Backpressure ID the entry maps to */ member in struct:cvmx_gmxx_bpid_mapx::cvmx_gmxx_bpid_mapx_s
3473 uint64_t bpid : 6;
/freebsd-11-stable/sys/contrib/ncsw/Peripherals/FM/Pcd/
H A Dfm_manip.h245 uint32_t bpid; member in struct:t_IpReassmParams
H A Dfm_manip.c1810 tmpReg32 = (uint32_t)(p_Manip->ipReassmParams.bpid << 8);
1927 p_Manip->ipReassmParams.bpid = p_ManipParams->extBufPoolIndx;
/freebsd-11-stable/sys/contrib/ncsw/Peripherals/QM/
H A Dfsl_qman.h366 volatile uint8_t bpid; /* Buffer Pool ID */ member in struct:qm_fd

Completed in 568 milliseconds