/freebsd/sys/contrib/ncsw/Peripherals/FM/inc/ |
H A D | fm_common.h | 245 t_Handle h_CcNode; 260 t_Handle h_Manip; 310 t_Error FmGetSetParams(t_Handle h_Fm, t_FmGetSetParams *p_Params); 312 static __inline__ bool TRY_LOCK(t_Handle h_Spinlock, volatile bool *p_Flag) in TRY_LOCK() 602 void (*f_Isr) (t_Handle h_Arg); 603 t_Handle h_SrcHandle; 662 t_Handle h_Spinlock; 669 typedef t_Error (t_FmPortGetSetCcParamsCallback) (t_Handle h_FmPort, 676 t_Handle FmPcdGetHcHandle(t_Handle h_FmPcd); 677 uint32_t FmPcdGetSwPrsOffset(t_Handle h_FmPcd, e_NetHeaderType hdr, uint8_t indexPerHdr); [all …]
|
H A D | fm_hc.h | 45 t_Handle h_Fm; 46 t_Handle h_FmPcd; 51 t_Handle FmHcConfigAndInit(t_FmHcParams *p_FmHcParams); 52 void FmHcFree(t_Handle h_FmHc); 53 t_Error FmHcSetFramesDataMemory(t_Handle h_FmHc, 55 t_Error FmHcDumpRegs(t_Handle h_FmHc); 57 void FmHcTxConf(t_Handle h_FmHc, t_DpaaFD *p_Fd); 59 t_Error FmHcPcdKgSetScheme(t_Handle h_FmHc, 60 t_Handle h_Scheme, 63 t_Error FmHcPcdKgDeleteScheme(t_Handle h_FmHc, t_Handle h_Scheme); [all …]
|
/freebsd/sys/contrib/ncsw/inc/Peripherals/ |
H A D | fm_macsec_ext.h | 87 typedef void (t_FmMacsecExceptionsCallback) ( t_Handle h_App, 95 …t_Handle h_Fm; /**< A handle to the FM object related… 104 …t_Handle h_FmMac; /**< A handle to the FM MAC object related to… 106 …t_Handle h_App; /**< A handle to an application layer object; … 128 t_Handle FM_MACSEC_Config(t_FmMacsecParams *p_FmMacsecParam); 139 t_Error FM_MACSEC_Init(t_Handle h_FmMacsec); 152 t_Error FM_MACSEC_Free(t_Handle h_FmMacsec); 198 t_Error FM_MACSEC_ConfigUnknownSciFrameTreatment(t_Handle h_FmMacsec, e_FmMacsecUnknownSciFrameTrea… 216 t_Error FM_MACSEC_ConfigInvalidTagsFrameTreatment(t_Handle h_FmMacsec, bool deliverUncontrolled); 234 t_Error FM_MACSEC_ConfigEncryptWithNoChangedTextFrameTreatment(t_Handle h_FmMacsec, bool discardUnc… [all …]
|
H A D | fm_port_ext.h | 182 typedef void (t_FmPortExceptionCallback) (t_Handle h_App, e_FmPortExceptions exception); 201 typedef e_RxStoreResponse (t_FmPortImRxStoreCallback) (t_Handle h_App, 206 t_Handle h_BufContext); 220 typedef void (t_FmPortImTxConfCallback) (t_Handle h_App, 223 t_Handle h_BufContext); 252 t_Handle h_FmMuram; /**< A handle of the FM-MURAM partition */ 275 …t_Handle h_Fm; /**< A handle to the FM object this port related t… 290 …t_Handle h_App; /**< A handle to an application layer object; This… 311 t_Handle FM_PORT_Config(t_FmPortParams *p_FmPortParams); 323 t_Error FM_PORT_Init(t_Handle h_FmPort); [all …]
|
H A D | qm_ext.h | 75 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, 250 …t_Handle h_App; /**< A handle to an application layer object; This… [all …]
|
H A D | bm_ext.h | 65 typedef void (t_BmDepletionCallback)(t_Handle h_App, bool in); 103 typedef void (t_BmExceptionsCallback) (t_Handle h_App, 124 …t_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 …]
|
H A D | fm_mac_ext.h | 146 typedef void (t_FmMacExceptionCallback)(t_Handle h_App, e_FmMacExceptions exceptions); 233 …t_Handle h_Fm; /**< A handle to the FM object this port related t… 239 …t_Handle h_App; /**< A handle to an application layer object; This… 260 t_Handle FM_MAC_Config(t_FmMacParams *p_FmMacParam); 271 t_Error FM_MAC_Init(t_Handle h_FmMac); 284 t_Error FM_MAC_Free(t_Handle h_FmMac); 308 t_Error FM_MAC_ConfigResetOnInit(t_Handle h_FmMac, bool enable); 322 t_Error FM_MAC_ConfigLoopback(t_Handle h_FmMac, bool enable); 336 t_Error FM_MAC_ConfigMaxFrameLength(t_Handle h_FmMac, uint16_t newVal); 350 t_Error FM_MAC_ConfigWan(t_Handle h_FmMac, bool enable); [all …]
|
H A D | fm_rtc_ext.h | 110 t_Handle h_Fm; /**< FM Handle*/ 112 …t_Handle h_App; /**< A handle to an application layer object; This ha… 132 t_Handle FM_RTC_Config(t_FmRtcParams *p_FmRtcParam); 145 t_Error FM_RTC_Init(t_Handle h_FmRtc); 158 t_Error FM_RTC_Free(t_Handle h_FmRtc); 182 t_Error FM_RTC_ConfigPeriod(t_Handle h_FmRtc, uint32_t period); 197 t_Error FM_RTC_ConfigSourceClock(t_Handle h_FmRtc, 218 t_Error FM_RTC_ConfigPulseRealignment(t_Handle h_FmRtc, bool enable); 238 t_Error FM_RTC_ConfigFrequencyBypass(t_Handle h_FmRtc, bool enabled); 254 t_Error FM_RTC_ConfigInvertedInputClockPhase(t_Handle h_FmRtc, bool inverted); [all …]
|
H A D | fm_ext.h | 356 typedef void (t_FmExceptionsCallback)(t_Handle h_App, 373 typedef void (t_FmBusErrorCallback) (t_Handle h_App, 483 t_Handle h_FmMuram; /**< A handle of an initialized MURAM object, 494 …t_Handle h_App; /**< A handle to an application layer object; This… 530 t_Handle FM_Config(t_FmParams *p_FmParams); 542 t_Error FM_Init(t_Handle h_Fm); 555 t_Error FM_Free(t_Handle h_Fm); 697 typedef void (t_FmResetOnInitOverrideCallback)(t_Handle h_Fm); 714 t_Error FM_ConfigResetOnInit(t_Handle h_Fm, bool enable); 731 t_Error FM_ConfigResetOnInitOverrideCallback(t_Handle h_Fm, t_FmResetOnInitOverrideCallback *f_Rese… [all …]
|
H A D | fm_vsp_ext.h | 79 t_Handle h_Fm; /**< A handle to the FM object this VSP related to */ 109 t_Handle FM_VSP_Config(t_FmVspParams *p_FmVspParams); 120 t_Error FM_VSP_Init(t_Handle h_FmVsp); 133 t_Error FM_VSP_Free(t_Handle h_FmVsp); 173 t_Error FM_VSP_ConfigBufferPrefixContent(t_Handle h_FmVsp, 190 t_Error FM_VSP_ConfigDmaSwapData(t_Handle h_FmVsp, e_FmDmaSwapOption swapData); 206 t_Error FM_VSP_ConfigDmaIcCacheAttr(t_Handle h_FmVsp, 223 t_Error FM_VSP_ConfigDmaHdrAttr(t_Handle h_FmVsp, e_FmDmaCacheOption headerCacheAttr); 239 t_Error FM_VSP_ConfigDmaScatterGatherAttr(t_Handle h_FmVsp, 256 t_Error FM_VSP_ConfigDmaWriteOptimize(t_Handle h_FmVsp, bool optimize); [all …]
|
H A D | fm_pcd_ext.h | 172 typedef void (t_FmPcdExceptionCallback) (t_Handle h_App, e_FmPcdExceptions exception); 182 typedef void (t_FmPcdIdExceptionCallback) ( t_Handle h_App, 194 typedef t_Error (t_FmPcdQmEnqueueCallback) (t_Handle h_QmArg, void *p_Fd); 218 …t_Handle h_QmArg; /**< Application's handle passed to QM module on e… 230 t_Handle h_Fm; /**< A handle to the FM module. */ 242 …t_Handle h_App; /**< A handle to an application layer object; … 264 t_Handle FM_PCD_Config(t_FmPcdParams *p_FmPcdParams); 275 t_Error FM_PCD_Init(t_Handle h_FmPcd); 288 t_Error FM_PCD_Free(t_Handle h_FmPcd); 314 t_Error FM_PCD_ConfigException(t_Handle h_FmPcd, e_FmPcdExceptions exception, bool enable); [all …]
|
/freebsd/sys/contrib/ncsw/Peripherals/FM/MAC/ |
H A D | fm_mac.h | 73 t_Error (*f_FM_MAC_Init) (t_Handle h_FmMac); 74 t_Error (*f_FM_MAC_Free) (t_Handle h_FmMac); 76 t_Error (*f_FM_MAC_SetStatistics) (t_Handle h_FmMac, e_FmMacStatisticsLevel statisticsLevel); 77 t_Error (*f_FM_MAC_ConfigLoopback) (t_Handle h_FmMac, bool newVal); 78 t_Error (*f_FM_MAC_ConfigMaxFrameLength) (t_Handle h_FmMac, uint16_t newVal); 79 t_Error (*f_FM_MAC_ConfigWan) (t_Handle h_FmMac, bool flag); 80 t_Error (*f_FM_MAC_ConfigPadAndCrc) (t_Handle h_FmMac, bool newVal); 81 t_Error (*f_FM_MAC_ConfigHalfDuplex) (t_Handle h_FmMac, bool newVal); 82 t_Error (*f_FM_MAC_ConfigLengthCheck) (t_Handle h_FmMac, bool newVal); 83 t_Error (*f_FM_MAC_ConfigTbiPhyAddr) (t_Handle h_FmMac, uint8_t newVal); [all …]
|
H A D | fm_mac.c | 51 t_Handle FM_MAC_Config (t_FmMacParams *p_FmMacParam) in FM_MAC_Config() 88 return (t_Handle)p_FmMacControllerDriver; in FM_MAC_Config() 93 t_Error FM_MAC_Init (t_Handle h_FmMac) in FM_MAC_Init() 114 t_Error FM_MAC_Free (t_Handle h_FmMac) in FM_MAC_Free() 128 t_Error FM_MAC_ConfigResetOnInit (t_Handle h_FmMac, bool enable) in FM_MAC_ConfigResetOnInit() 144 t_Error FM_MAC_ConfigLoopback (t_Handle h_FmMac, bool newVal) in FM_MAC_ConfigLoopback() 158 t_Error FM_MAC_ConfigMaxFrameLength (t_Handle h_FmMac, uint16_t newVal) in FM_MAC_ConfigMaxFrameLength() 171 t_Error FM_MAC_ConfigWan (t_Handle h_FmMac, bool flag) in FM_MAC_ConfigWan() 185 t_Error FM_MAC_ConfigPadAndCrc (t_Handle h_FmMac, bool newVal) in FM_MAC_ConfigPadAndCrc() 199 t_Error FM_MAC_ConfigHalfDuplex (t_Handle h_FmMac, bool newVal) in FM_MAC_ConfigHalfDuplex() [all …]
|
/freebsd/sys/contrib/ncsw/Peripherals/FM/Pcd/ |
H A D | fm_pcd.h | 182 t_Handle h_Manip; 217 t_Handle h_FmPcd; 251 t_Handle h_HwSpinlock; 264 t_Handle h_FmPort; 269 t_Handle h_FmPcd; 293 t_Handle h_HwSpinlock; 294 t_Handle h_SwSpinlock; 321 t_Handle h_FmPcd; 322 t_Handle h_Spinlock; 340 t_Handle h_Fm; [all …]
|
H A D | fm_cc.h | 237 t_Handle h_StatsAd; 238 t_Handle h_StatsCounters; 257 t_Handle p_Ad; 264 t_Handle h_AdditionalInfo; 265 t_Handle h_Node; 270 t_Handle p_AdTableNew; 271 t_Handle p_KeysMatchTableNew; 272 t_Handle p_AdTableOld; 273 t_Handle p_KeysMatchTableOld; 275 t_Handle h_CurrentNode; [all …]
|
/freebsd/sys/contrib/ncsw/Peripherals/FM/MACSEC/ |
H A D | fm_macsec.h | 53 t_Error (*f_FM_MACSEC_Init) (t_Handle h_FmMacsec); 54 t_Error (*f_FM_MACSEC_Free) (t_Handle h_FmMacsec); 56 …t_Error (*f_FM_MACSEC_ConfigUnknownSciFrameTreatment) (t_Handle h_FmMacsec, e_FmMacsecUnknownSciFr… 57 …t_Error (*f_FM_MACSEC_ConfigInvalidTagsFrameTreatment) (t_Handle h_FmMacsec, bool deliverUncontrol… 58 …t_Error (*f_FM_MACSEC_ConfigEncryptWithNoChangedTextFrameTreatment) (t_Handle h_FmMacsec, bool dis… 59 …t_Error (*f_FM_MACSEC_ConfigChangedTextWithNoEncryptFrameTreatment) (t_Handle h_FmMacsec, bool del… 60 …t_Error (*f_FM_MACSEC_ConfigUntagFrameTreatment) (t_Handle h_FmMacsec, e_FmMacsecUntagFrameTreatme… 61 …t_Error (*f_FM_MACSEC_ConfigOnlyScbIsSetFrameTreatment) (t_Handle h_FmMacsec, bool deliverUncontro… 62 t_Error (*f_FM_MACSEC_ConfigPnExhaustionThreshold) (t_Handle h_FmMacsec, uint32_t pnExhThr); 63 t_Error (*f_FM_MACSEC_ConfigKeysUnreadable) (t_Handle h_FmMacsec); [all …]
|
H A D | fm_macsec.c | 52 t_Handle FM_MACSEC_Config(t_FmMacsecParams *p_FmMacsecParam) in FM_MACSEC_Config() 66 return (t_Handle)p_FmMacsecControllerDriver; in FM_MACSEC_Config() 69 t_Error FM_MACSEC_Init(t_Handle h_FmMacsec) in FM_MACSEC_Init() 81 t_Error FM_MACSEC_Free(t_Handle h_FmMacsec) in FM_MACSEC_Free() 93 t_Error FM_MACSEC_ConfigUnknownSciFrameTreatment(t_Handle h_FmMacsec, e_FmMacsecUnknownSciFrameTrea… in FM_MACSEC_ConfigUnknownSciFrameTreatment() 105 t_Error FM_MACSEC_ConfigInvalidTagsFrameTreatment(t_Handle h_FmMacsec, bool deliverUncontrolled) in FM_MACSEC_ConfigInvalidTagsFrameTreatment() 117 t_Error FM_MACSEC_ConfigEncryptWithNoChangedTextFrameTreatment(t_Handle h_FmMacsec, bool discardUnc… in FM_MACSEC_ConfigEncryptWithNoChangedTextFrameTreatment() 129 t_Error FM_MACSEC_ConfigUntagFrameTreatment(t_Handle h_FmMacsec, e_FmMacsecUntagFrameTreatment trea… in FM_MACSEC_ConfigUntagFrameTreatment() 141 t_Error FM_MACSEC_ConfigPnExhaustionThreshold(t_Handle h_FmMacsec, uint32_t pnExhThr) in FM_MACSEC_ConfigPnExhaustionThreshold() 153 t_Error FM_MACSEC_ConfigKeysUnreadable(t_Handle h_FmMacsec) in FM_MACSEC_ConfigKeysUnreadable() [all …]
|
/freebsd/sys/contrib/ncsw/inc/ |
H A D | xx_ext.h | 149 t_Error XX_SetIntr(uintptr_t irq, t_Isr *f_Isr, t_Handle handle); 224 typedef t_Handle t_TaskletHandle; 291 void XX_SetTaskletData(t_TaskletHandle h_Tasklet, t_Handle data); 302 t_Handle XX_GetTaskletData(t_TaskletHandle h_Tasklet); 328 t_Handle XX_InitSpinlock(void); 339 void XX_FreeSpinlock(t_Handle h_Spinlock); 350 void XX_LockSpinlock(t_Handle h_Spinlock); 361 void XX_UnlockSpinlock(t_Handle h_Spinlock); 374 uint32_t XX_LockIntrSpinlock(t_Handle h_Spinlock); 388 void XX_UnlockIntrSpinlock(t_Handle h_Spinlock, uint32_t intrFlags); [all …]
|
/freebsd/sys/dev/dpaa/ |
H A D | qman.h | 75 t_Handle sc_qh; /* QMAN handle */ 76 t_Handle sc_qph[MAXCPU]; /* QMAN portal handles */ 152 t_Handle qman_fqr_create(uint32_t fqids_num, e_QmFQChannel channel, uint8_t wq, 155 t_Handle congst_group, int8_t overhead_accounting_len, 164 t_Error qman_fqr_free(t_Handle fqr); 175 t_Error qman_fqr_register_cb(t_Handle fqr, t_QmReceivedFrameCallback *callback, 176 t_Handle app); 186 t_Error qman_fqr_enqueue(t_Handle fqr, uint32_t fqid_off, t_DpaaFD *frame); 196 uint32_t qman_fqr_get_counter(t_Handle fqr, uint32_t fqid_off, 207 t_Error qman_fqr_pull_frame(t_Handle fqr, uint32_t fqid_off, t_DpaaFD *frame); [all …]
|
H A D | qman.c | 50 extern t_Handle qman_portal_setup(struct qman_softc *qsc); 53 qman_exception(t_Handle app, e_QmExceptions exception) in qman_exception() 125 qman_received_frame_callback(t_Handle app, t_Handle qm_fqr, t_Handle qm_portal, in qman_received_frame_callback() 142 qman_rejected_frame_callback(t_Handle app, t_Handle qm_fqr, t_Handle qm_portal, in qman_rejected_frame_callback() 295 t_Handle 299 t_Handle congst_group, int8_t overhead_accounting_len, in qman_fqr_create() 304 t_Handle fqrh, portal; in qman_fqr_create() 375 qman_fqr_free(t_Handle fqr) in qman_fqr_free() 395 qman_fqr_register_cb(t_Handle fqr, t_QmReceivedFrameCallback *callback, in qman_fqr_register_cb() 396 t_Handle app) in qman_fqr_register_cb() [all …]
|
H A D | if_dtsec.h | 81 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 …]
|
H A D | bman.h | 63 t_Handle sc_bh; /* BMAN handle */ 64 t_Handle sc_bph[MAXCPU]; /* BMAN portal handles */ 131 t_Handle bman_pool_create(uint8_t *bpid, uint16_t bufferSize, 136 t_Handle h_BufferPool, t_PhysToVirt *f_PhysToVirt, 151 int bman_pool_fill(t_Handle pool, uint16_t nbufs); 163 int bman_pool_destroy(t_Handle pool); 172 void *bman_get_buffer(t_Handle pool); 182 int bman_put_buffer(t_Handle pool, void *buffer); 191 uint32_t bman_count(t_Handle pool);
|
/freebsd/sys/contrib/ncsw/inc/etc/ |
H A D | mm_ext.h | 88 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); 252 void MM_Dump(t_Handle h_MM); 261 void MM_Free(t_Handle h_MM); [all …]
|
/freebsd/sys/contrib/ncsw/Peripherals/QM/ |
H A D | qm.h | 416 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/sys/contrib/ncsw/Peripherals/BM/ |
H A D | bm.h | 229 t_Handle h_Bm; 230 t_Handle h_BmPortal; 235 …t_Handle h_App; /**< opaque user value passed as a parameter to 'cb' */ 262 t_Handle h_Bm; 297 t_Handle h_BpidMm; 298 t_Handle h_SpinLock; 299 t_Handle h_Portals[DPAA_MAX_NUM_OF_SW_PORTALS]; 300 t_Handle h_Session; 306 t_Handle h_App; 311 static __inline__ void BmSetPortalHandle(t_Handle h_Bm, t_Handle h_Portal, e_DpaaSwPortal portalId) in BmSetPortalHandle() [all …]
|