Home
last modified time | relevance | path

Searched refs:t_Handle (Results 1 – 25 of 68) sorted by relevance

123

/freebsd-11-stable/sys/contrib/ncsw/inc/Peripherals/
HDfm_port_ext.h169 typedef void (t_FmPortExceptionCallback) (t_Handle h_App, e_FmPortExceptions exception);
188 typedef e_RxStoreResponse (t_FmPortImRxStoreCallback) (t_Handle h_App,
193 t_Handle h_BufContext);
207 typedef void (t_FmPortImTxConfCallback) (t_Handle h_App,
210 t_Handle h_BufContext);
261 t_Handle h_FmMuram; /**< A handle of the FM-MURAM partition */
284t_Handle h_Fm; /**< A handle to the FM object this port related t…
295t_Handle h_App; /**< A handle to an application layer object; This…
316 t_Handle FM_PORT_Config(t_FmPortParams *p_FmPortParams);
327 t_Error FM_PORT_Init(t_Handle h_FmPort);
[all …]
HDqm_ext.h75 typedef e_RxStoreResponse (t_QmReceivedFrameCallback)(t_Handle h_App,
76 t_Handle h_QmFqr,
77 t_Handle h_QmPortal,
91 typedef t_Error (t_QmFqrDrainedCompletionCB)(t_Handle h_App,
92 t_Handle h_QmFqr);
147 typedef e_RxStoreResponse (t_QmRejectedFrameCallback)(t_Handle h_App,
148 t_Handle h_QmFqr,
149 t_Handle h_QmPortal,
204 typedef void (t_QmExceptionsCallback) ( t_Handle h_App,
250t_Handle h_App; /**< A handle to an application layer object; This…
[all …]
HDbm_ext.h65 typedef void (t_BmDepletionCallback)(t_Handle h_App, bool in);
103 typedef void (t_BmExceptionsCallback) (t_Handle h_App,
124t_Handle h_App; /**< A handle to an application layer object; This…
150 t_Handle BM_Config(t_BmParam *p_BmParam);
163 t_Error BM_Init(t_Handle h_Bm);
176 t_Error BM_Free(t_Handle h_Bm);
201 t_Error BM_ConfigFbprThreshold(t_Handle h_Bm, uint32_t threshold);
242 t_Error BM_DumpRegs(t_Handle h_Bm);
257 t_Error BM_SetException(t_Handle h_Bm, e_BmExceptions exception, bool enable);
269 void BM_ErrorIsr(t_Handle h_Bm);
[all …]
HDfm_pcd_ext.h180 typedef void (t_FmPcdExceptionCallback) (t_Handle h_App, e_FmPcdExceptions exception);
190 typedef void (t_FmPcdIdExceptionCallback) ( t_Handle h_App,
202 typedef t_Error (t_FmPcdQmEnqueueCallback) (t_Handle h_QmArg, void *p_Fd);
224 t_Handle h_QmArg; /**< A handle of the QM module */
239 t_Handle h_Fm; /**< A handle to the FM module */
250t_Handle h_App; /**< Relevant for master (or single) partition…
266 t_Handle FM_PCD_Config(t_FmPcdParams *p_FmPcdParams);
277 t_Error FM_PCD_Init(t_Handle h_FmPcd);
290 t_Error FM_PCD_Free(t_Handle h_FmPcd);
313 t_Error FM_PCD_ConfigPlcrNumOfSharedProfiles(t_Handle h_FmPcd, uint16_t numOfSharedPlcrProfiles);
[all …]
HDfm_mac_ext.h125 typedef void (t_FmMacExceptionCallback)(t_Handle h_App, e_FmMacExceptions exceptions);
191t_Handle h_Fm; /**< A handle to the FM object this port related t…
197t_Handle h_App; /**< A handle to an application layer object; This…
218 t_Handle FM_MAC_Config (t_FmMacParams *p_FmMacParam);
229 t_Error FM_MAC_Init (t_Handle h_FmMac);
242 t_Error FM_MAC_Free (t_Handle h_FmMac);
266 t_Error FM_MAC_ConfigResetOnInit (t_Handle h_FmMac, bool enable);
280 t_Error FM_MAC_ConfigLoopback (t_Handle h_FmMac, bool enable);
294 t_Error FM_MAC_ConfigMaxFrameLength (t_Handle h_FmMac, uint16_t newVal);
308 t_Error FM_MAC_ConfigWan (t_Handle h_FmMac, bool enable);
[all …]
HDfm_rtc_ext.h109 t_Handle h_Fm; /**< FM Handle*/
111t_Handle h_App; /**< A handle to an application layer object; This ha…
131 t_Handle FM_RTC_Config(t_FmRtcParams *p_FmRtcParam);
144 t_Error FM_RTC_Init(t_Handle h_FmRtc);
157 t_Error FM_RTC_Free(t_Handle h_FmRtc);
181 t_Error FM_RTC_ConfigPeriod(t_Handle h_FmRtc, uint32_t period);
196 t_Error FM_RTC_ConfigSourceClock(t_Handle h_FmRtc,
217 t_Error FM_RTC_ConfigPulseRealignment(t_Handle h_FmRtc, bool enable);
237 t_Error FM_RTC_ConfigFrequencyBypass(t_Handle h_FmRtc, bool enabled);
253 t_Error FM_RTC_ConfigInvertedInputClockPhase(t_Handle h_FmRtc, bool inverted);
[all …]
HDfm_ext.h262 typedef void (t_FmExceptionsCallback) (t_Handle h_App,
278 typedef void (t_FmBusErrorCallback) (t_Handle h_App,
306t_Handle h_FmMuram; /**< Relevant when guestId = NCSW_MASSTER_ID only.
322t_Handle h_App; /**< Relevant when guestId = NCSW_MASSTER_ID only.
350 t_Handle FM_Config(t_FmParams *p_FmParams);
361 t_Error FM_Init(t_Handle h_Fm);
374 t_Error FM_Free(t_Handle h_Fm);
520 t_Error FM_ConfigResetOnInit(t_Handle h_Fm, bool enable);
535 t_Error FM_ConfigTotalNumOfTasks(t_Handle h_Fm, uint8_t totalNumOfTasks);
550 t_Error FM_ConfigTotalFifoSize(t_Handle h_Fm, uint32_t totalFifoSize);
[all …]
/freebsd-11-stable/sys/contrib/ncsw/Peripherals/FM/inc/
HDfm_hc.h44 t_Handle h_Fm;
45 t_Handle h_FmPcd;
50 t_Handle FmHcConfigAndInit(t_FmHcParams *p_FmHcParams);
51 void FmHcFree(t_Handle h_FmHc);
52 t_Error FmHcDumpRegs(t_Handle h_FmHc);
54 void FmHcTxConf(t_Handle h_FmHc, t_DpaaFD *p_Fd);
56 t_Handle FmHcPcdKgSetScheme(t_Handle h_FmHc, t_FmPcdKgSchemeParams *p_Scheme);
57 t_Error FmHcPcdKgDeleteScheme(t_Handle h_FmHc, t_Handle h_Scheme);
58 t_Error FmHcPcdCcCapwapTimeoutReassm(t_Handle h_FmHc, t_FmPcdCcCapwapReassmTimeoutParams *p_CcC…
59 t_Error FmHcPcdKgSetClsPlan(t_Handle h_FmHc, t_FmPcdKgInterModuleClsPlanSet *p_Set);
[all …]
HDfm_common.h136 t_Handle h_CcNode;
144 t_Handle h_Manip;
176 static __inline__ bool TRY_LOCK(t_Handle h_Spinlock, volatile bool *p_Flag) in TRY_LOCK()
468 void (*f_Isr) (t_Handle h_Arg);
469 t_Handle h_SrcHandle;
718 typedef t_Error (t_FmPortGetSetCcParamsCallback) (t_Handle h_FmPort,
722 t_Handle FmPcdGetHcHandle(t_Handle h_FmPcd);
723 uint32_t FmPcdGetSwPrsOffset(t_Handle h_FmPcd, e_NetHeaderType hdr, uint8_t indexPerHdr);
724 uint32_t FmPcdGetLcv(t_Handle h_FmPcd, uint32_t netEnvId, uint8_t hdrNum);
725 uint32_t FmPcdGetMacsecLcv(t_Handle h_FmPcd, uint32_t netEnvId);
[all …]
/freebsd-11-stable/sys/contrib/ncsw/Peripherals/FM/MAC/
HDfm_mac.h65 t_Error (*f_FM_MAC_Init) (t_Handle h_FmMac);
66 t_Error (*f_FM_MAC_Free) (t_Handle h_FmMac);
68 t_Error (*f_FM_MAC_SetStatistics) (t_Handle h_FmMac, e_FmMacStatisticsLevel statisticsLevel);
69 t_Error (*f_FM_MAC_ConfigLoopback) (t_Handle h_FmMac, bool newVal);
70 t_Error (*f_FM_MAC_ConfigMaxFrameLength) (t_Handle h_FmMac, uint16_t newVal);
71 t_Error (*f_FM_MAC_ConfigWan) (t_Handle h_FmMac, bool flag);
72 t_Error (*f_FM_MAC_ConfigPadAndCrc) (t_Handle h_FmMac, bool newVal);
73 t_Error (*f_FM_MAC_ConfigHalfDuplex) (t_Handle h_FmMac, bool newVal);
74 t_Error (*f_FM_MAC_ConfigLengthCheck) (t_Handle h_FmMac, bool newVal);
75 t_Error (*f_FM_MAC_ConfigException) (t_Handle h_FmMac, e_FmMacExceptions, bool enable);
[all …]
HDfm_mac.c50 t_Handle FM_MAC_Config (t_FmMacParams *p_FmMacParam) in FM_MAC_Config()
69 return (t_Handle)p_FmMacControllerDriver; in FM_MAC_Config()
74 t_Error FM_MAC_Init (t_Handle h_FmMac) in FM_MAC_Init()
96 t_Error FM_MAC_Free (t_Handle h_FmMac) in FM_MAC_Free()
110 t_Error FM_MAC_ConfigResetOnInit (t_Handle h_FmMac, bool enable) in FM_MAC_ConfigResetOnInit()
123 t_Error FM_MAC_ConfigLoopback (t_Handle h_FmMac, bool newVal) in FM_MAC_ConfigLoopback()
137 t_Error FM_MAC_ConfigMaxFrameLength (t_Handle h_FmMac, uint16_t newVal) in FM_MAC_ConfigMaxFrameLength()
150 t_Error FM_MAC_ConfigWan (t_Handle h_FmMac, bool flag) in FM_MAC_ConfigWan()
164 t_Error FM_MAC_ConfigPadAndCrc (t_Handle h_FmMac, bool newVal) in FM_MAC_ConfigPadAndCrc()
178 t_Error FM_MAC_ConfigHalfDuplex (t_Handle h_FmMac, bool newVal) in FM_MAC_ConfigHalfDuplex()
[all …]
/freebsd-11-stable/sys/contrib/ncsw/inc/
HDxx_ext.h73 void XX_EventById(uint32_t event, t_Handle appId, uint16_t flags, char *msg);
224 t_Error XX_SetIntr(int irq, t_Isr *f_Isr, t_Handle handle);
301 t_Error (* f)(t_Handle),
302 t_Handle Id,
303 t_Handle h_App,
318 typedef t_Handle t_TaskletHandle;
385 void XX_SetTaskletData(t_TaskletHandle h_Tasklet, t_Handle data);
396 t_Handle XX_GetTaskletData(t_TaskletHandle h_Tasklet);
422 t_Handle XX_InitSpinlock(void);
433 void XX_FreeSpinlock(t_Handle h_Spinlock);
[all …]
/freebsd-11-stable/sys/contrib/ncsw/Peripherals/FM/Pcd/
HDfm_manip.h198 t_Handle p_AutoLearnHashTbl;
199 t_Handle p_ReassmFrmDescrPoolTbl;
200 t_Handle p_ReassmFrmDescrIndxPoolTbl;
201 t_Handle p_TimeOutTbl;
217 t_Handle h_Frag;
218 t_Handle h_FragId;
226 t_Handle h_Ipv4Ad;
227 t_Handle h_Ipv6Ad;
231 t_Handle h_IpReassCommonParamsTbl;
232 t_Handle h_Ipv4ReassParamsTblPtr;
[all …]
HDfm_cc.h210 t_Handle p_Ad;
217 t_Handle h_AdditionalInfo;
218 t_Handle h_Node;
222 t_Handle p_AdTableNew;
223 t_Handle p_KeysMatchTableNew;
224 t_Handle p_AdTableOld;
225 t_Handle p_KeysMatchTableOld;
227 t_Handle h_CurrentNode;
229 t_Handle h_NodeForAdd;
230 t_Handle h_NodeForRmv;
[all …]
HDfm_pcd.h464 t_Handle h_Manip;
533 t_Handle h_FmPort;
600 t_Handle h_Fm;
601 t_Handle h_FmMuram;
604 t_Handle h_Spinlock;
605 t_Handle h_IpcSession; /* relevant for guest only */
616 t_Handle h_Hc;
621 t_Handle h_App;
651 uint8_t FmPcdNetEnvGetUnitIdForSingleHdr(t_Handle h_FmPcd, uint8_t netEnvId, e_NetHeaderType hd…
653 t_Handle KgConfig( t_FmPcd *p_FmPcd, t_FmPcdParams *p_FmPcdParams);
[all …]
HDfm_cc.c55 t_Handle FmPcdCcTreeGetSavedManipParams(t_Handle h_FmTree, uint8_t manipIndx) in FmPcdCcTreeGetSavedManipParams()
64 void FmPcdCcTreeSetSavedManipParams(t_Handle h_FmTree, t_Handle h_SavedManipParams, uint8_t man… in FmPcdCcTreeSetSavedManipParams()
73 uint8_t FmPcdCcGetParseCode(t_Handle h_CcNode) in FmPcdCcGetParseCode()
81 uint8_t FmPcdCcGetOffset(t_Handle h_CcNode) in FmPcdCcGetOffset()
89 uint16_t FmPcdCcGetNumOfKeys(t_Handle h_CcNode) in FmPcdCcGetNumOfKeys()
117 static t_CcNodeInformation* FindNodeInfoInReleventLst(t_List *p_List, t_Handle h_Info) in FindNodeInfoInReleventLst()
138 static void DequeueNodeInfoFromRelevantLst(t_List *p_List, t_Handle h_Info) in DequeueNodeInfoFromRelevantLst()
163 static t_Error FmPcdCcSetRequiredAction(t_Handle h_FmPcd, uint32_t requiredAction, t_FmPcdCcNextEng… in FmPcdCcSetRequiredAction()
164 t_Handle h_AdTmp, uint16_t numOfEntries, t_Handle h_Tree) in FmPcdCcSetRequiredAction()
280 static t_Error CcUpdateParam(t_Handle h_FmPcd, in CcUpdateParam()
[all …]
/freebsd-11-stable/sys/dev/dpaa/
HDqman.h77 t_Handle sc_qh; /* QMAN handle */
78 t_Handle sc_qph[MAXCPU]; /* QMAN portal handles */
154 t_Handle qman_fqr_create(uint32_t fqids_num, e_QmFQChannel channel, uint8_t wq,
157 t_Handle congst_group, int8_t overhead_accounting_len,
166 t_Error qman_fqr_free(t_Handle fqr);
177 t_Error qman_fqr_register_cb(t_Handle fqr, t_QmReceivedFrameCallback *callback,
178 t_Handle app);
188 t_Error qman_fqr_enqueue(t_Handle fqr, uint32_t fqid_off, t_DpaaFD *frame);
198 uint32_t qman_fqr_get_counter(t_Handle fqr, uint32_t fqid_off,
209 t_Error qman_fqr_pull_frame(t_Handle fqr, uint32_t fqid_off, t_DpaaFD *frame);
[all …]
HDqman.c53 extern t_Handle qman_portal_setup(struct qman_softc *qsc);
56 qman_exception(t_Handle app, e_QmExceptions exception) in qman_exception()
128 qman_received_frame_callback(t_Handle app, t_Handle qm_fqr, t_Handle qm_portal, in qman_received_frame_callback()
145 qman_rejected_frame_callback(t_Handle app, t_Handle qm_fqr, t_Handle qm_portal, in qman_rejected_frame_callback()
298 t_Handle
302 t_Handle congst_group, int8_t overhead_accounting_len, in qman_fqr_create()
308 t_Handle fqrh, portal; in qman_fqr_create()
380 qman_fqr_free(t_Handle fqr) in qman_fqr_free()
400 qman_fqr_register_cb(t_Handle fqr, t_QmReceivedFrameCallback *callback, in qman_fqr_register_cb()
401 t_Handle app) in qman_fqr_register_cb()
[all …]
HDif_dtsec.h81 t_Handle sc_fmh;
82 t_Handle sc_muramh;
84 t_Handle sc_mach;
85 t_Handle sc_rxph;
86 t_Handle sc_txph;
96 t_Handle sc_rx_pool;
102 t_Handle sc_rx_fqr;
106 t_Handle sc_tx_fqr;
108 t_Handle sc_tx_conf_fqr;
131 void dtsec_fm_port_rx_exception_callback(t_Handle app,
[all …]
HDbman.h65 t_Handle sc_bh; /* BMAN handle */
66 t_Handle sc_bph[MAXCPU]; /* BMAN portal handles */
133 t_Handle bman_pool_create(uint8_t *bpid, uint16_t bufferSize,
138 t_Handle h_BufferPool, t_PhysToVirt *f_PhysToVirt,
153 int bman_pool_fill(t_Handle pool, uint16_t nbufs);
165 int bman_pool_destroy(t_Handle pool);
174 void *bman_get_buffer(t_Handle pool);
184 int bman_put_buffer(t_Handle pool, void *buffer);
193 uint32_t bman_count(t_Handle pool);
/freebsd-11-stable/sys/contrib/ncsw/inc/etc/
HDmm_ext.h88 t_Error MM_Init(t_Handle *h_MM, uint64_t base, uint64_t size);
118 uint64_t MM_Get(t_Handle h_MM, uint64_t size, uint64_t alignment, char *name);
129 uint64_t MM_GetBase(t_Handle h_MM);
149 uint64_t MM_GetForce(t_Handle h_MM, uint64_t base, uint64_t size, char *name);
184 uint64_t MM_GetForceMin(t_Handle h_MM,
209 uint64_t MM_Put(t_Handle h_MM, uint64_t base);
226 uint64_t MM_PutForce(t_Handle h_MM, uint64_t base, uint64_t size);
243 t_Error MM_Add(t_Handle h_MM, uint64_t base, uint64_t size);
253 void MM_Dump(t_Handle h_MM, void *buff);
262 void MM_Free(t_Handle h_MM);
[all …]
HDmem_ext.h88 t_Handle h_Spinlock;
123 t_Handle *p_Handle,
149 t_Handle *p_Handle,
175 t_Handle *p_Handle,
192 void MEM_Free(t_Handle h_Mem);
203 void * MEM_Get(t_Handle h_Mem);
224 uint16_t MEM_GetN(t_Handle h_Mem, uint32_t num, void *array[]);
236 t_Error MEM_Put(t_Handle h_Mem, void *p_Block);
277 void MEM_CheckLeaks(t_Handle h_Mem);
/freebsd-11-stable/sys/contrib/ncsw/Peripherals/QM/
HDqm.h416 typedef void (t_QmLoopDequeueRing)(t_Handle h_QmPortal);
450 t_Handle h_Qm;
451 t_Handle h_QmPortal;
453 t_Handle h_App;
474 t_Handle h_RsrvFqidMm;
475 t_Handle h_FqidMm;
476 t_Handle h_Session;
478 t_Handle h_Portals[DPAA_MAX_NUM_OF_SW_PORTALS];
484 t_Handle h_App;
490 t_Handle lock;
[all …]
/freebsd-11-stable/sys/contrib/ncsw/Peripherals/BM/
HDbm.h228 t_Handle h_Bm;
229 t_Handle h_BmPortal;
234t_Handle h_App; /**< opaque user value passed as a parameter to 'cb' */
261 t_Handle h_Bm;
296 t_Handle h_BpidMm;
297 t_Handle h_SpinLock;
298 t_Handle h_Portals[DPAA_MAX_NUM_OF_SW_PORTALS];
299 t_Handle h_Session;
305 t_Handle h_App;
310 static __inline__ void BmSetPortalHandle(t_Handle h_Bm, t_Handle h_Portal, e_DpaaSwPortal portalId) in BmSetPortalHandle()
[all …]
HDbm_pool.c79 t_Handle h_BmPortal, in BmPoolRelease()
133 static int BmPoolAcquire(t_BmPool *p_BmPool,t_Handle h_BmPortal, in BmPoolAcquire()
165 t_Handle h_BufContext; in BmPoolFree()
201 t_Handle BM_POOL_Config(t_BmPoolParam *p_BmPoolParam) in BM_POOL_Config()
261 t_Error BM_POOL_Init(t_Handle h_BmPool) in BM_POOL_Init()
327 t_Error BM_POOL_Free(t_Handle h_BmPool) in BM_POOL_Free()
334 t_Error BM_POOL_ConfigBpid(t_Handle h_BmPool, uint8_t bpid) in BM_POOL_ConfigBpid()
349 t_Error BM_POOL_ConfigDepletion(t_Handle h_BmPool, t_BmDepletionCallback *f_Depletion, uint32_t *p… in BM_POOL_ConfigDepletion()
366 t_Error BM_POOL_ConfigStockpile(t_Handle h_BmPool, uint16_t maxBuffers, uint16_t minBuffers) in BM_POOL_ConfigStockpile()
390 t_Error BM_POOL_ConfigBuffContextMode(t_Handle h_BmPool, bool en) in BM_POOL_ConfigBuffContextMode()
[all …]

123