/freebsd-12-stable/sys/contrib/ncsw/inc/Peripherals/ |
H A D | fm_rtc_ext.h | 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); 270 t_Error FM_RTC_ConfigInvertedOutputClockPhase(t_Handle h_FmRtc, bool inverted); 285 t_Error FM_RTC_ConfigOutputClockDivisor(t_Handle h_FmRtc, uint16_t divisor); 301 t_Error FM_RTC_ConfigAlarmPolarit [all...] |
H A D | fm_vsp_ext.h | 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); 272 t_Error FM_VSP_ConfigNoScatherGather(t_Handle h_FmVsp, bool noScatherGather); 288 t_Error FM_VSP_ConfigPoolDepletio [all...] |
H A D | fm_macsec_ext.h | 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_FmMacsecUnknownSciFrameTreatment treatMode); 216 t_Error FM_MACSEC_ConfigInvalidTagsFrameTreatment(t_Handle h_FmMacsec, bool deliverUncontrolled); 234 t_Error FM_MACSEC_ConfigEncryptWithNoChangedTextFrameTreatment(t_Handle h_FmMacsec, bool discardUncontrolled); 252 t_Error FM_MACSEC_ConfigChangedTextWithNoEncryptFrameTreatment(t_Handle h_FmMacsec, bool deliverUncontrolled); 267 t_Error FM_MACSEC_ConfigUntagFrameTreatment(t_Handle h_FmMacsec, e_FmMacsecUntagFrameTreatment treatMode); 284 t_Error FM_MACSEC_ConfigOnlyScbIsSetFrameTreatment(t_Handle h_FmMacsec, bool deliverUncontrolled); 301 t_Error FM_MACSEC_ConfigPnExhaustionThreshold(t_Handle h_FmMacsec, uint32_t pnExhThr); 315 t_Error FM_MACSEC_ConfigKeysUnreadabl [all...] |
H A D | bm_ext.h | 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); 295 t_Error BM_GetRevision(t_Handle h_Bm, t_BmRevisionInfo *p_BmRevisionInfo); 356 t_Error BM_PORTAL_Init(t_Handle h_BmPortal); 369 t_Error BM_PORTAL_Free(t_Handle h_BmPortal); 384 t_Error BM_PORTAL_ConfigMemAttr(t_Handle h_BmPortal, uint32_t hwExtStructsMemAttr); 460 t_Error BM_POOL_Ini [all...] |
H A D | fm_mac_ext.h | 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); 367 t_Error FM_MAC_ConfigPadAndCrc(t_Handle h_FmMac, bool enable); 381 t_Error FM_MAC_ConfigHalfDuplex(t_Handle h_FmMac, bool enable); 395 t_Error FM_MAC_ConfigTbiPhyAddr(t_Handle h_FmMac, uint8_t newVal); 409 t_Error FM_MAC_ConfigLengthChec [all...] |
H A D | fm_port_ext.h | 323 t_Error FM_PORT_Init(t_Handle h_FmPort); 336 t_Error FM_PORT_Free(t_Handle h_FmPort); 477 t_Error FM_PORT_ConfigDsarSupport(t_Handle h_FmPortRx, t_FmPortDsarTablesSizes *params); 497 t_Error FM_PORT_ConfigNumOfOpenDmas(t_Handle h_FmPort, t_FmPortRsrc *p_OpenDmas); 517 t_Error FM_PORT_ConfigNumOfTasks(t_Handle h_FmPort, t_FmPortRsrc *p_NumOfTasks); 539 t_Error FM_PORT_ConfigSizeOfFifo(t_Handle h_FmPort, t_FmPortRsrc *p_SizeOfFifo); 558 t_Error FM_PORT_ConfigDeqHighPriority(t_Handle h_FmPort, bool highPri); 576 t_Error FM_PORT_ConfigDeqType(t_Handle h_FmPort, e_FmPortDeqType deqType); 595 t_Error FM_PORT_ConfigDeqPrefetchOption(t_Handle h_FmPort, e_FmPortDeqPrefetchOption deqPrefetchOption); 614 t_Error FM_PORT_ConfigDeqByteCn [all...] |
H A D | fm_muram_ext.h | 101 t_Error FM_MURAM_Free(t_Handle h_FmMuram); 151 t_Error FM_MURAM_FreeMem(t_Handle h_FmMuram, void *ptr);
|
H A D | qm_ext.h | 91 typedef t_Error (t_QmFqrDrainedCompletionCB)(t_Handle h_App, 291 t_Error QM_Init(t_Handle h_Qm); 304 t_Error QM_Free(t_Handle h_Qm); 338 t_Error QM_ConfigRTFramesDepth(t_Handle h_Qm, uint32_t rtFramesDepth); 354 t_Error QM_ConfigPfdrThreshold(t_Handle h_Qm, uint32_t threshold); 369 t_Error QM_ConfigSfdrReservationThreshold(t_Handle h_Qm, uint32_t threshold); 386 t_Error QM_ConfigErrorRejectionNotificationDest(t_Handle h_Qm, e_DpaaDcPortal id, t_QmDcPortalParams *p_Params); 461 t_Error QM_ReserveQueues(t_Handle h_Qm, t_QmRsrvFqrParams *p_QmFqrParams, uint32_t *p_BaseFqid); 475 t_Error QM_DumpRegs(t_Handle h_Qm); 493 t_Error QM_SetExceptio [all...] |
H A D | fm_ext.h | 542 t_Error FM_Init(t_Handle h_Fm); 555 t_Error FM_Free(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_ResetOnInitOverride); 749 t_Error FM_ConfigTotalFifoSize(t_Handle h_Fm, uint32_t totalFifoSize); 767 t_Error FM_ConfigDmaCacheOverride(t_Handle h_Fm, e_FmDmaCacheOverride cacheOverride); 785 t_Error FM_ConfigDmaAidOverride(t_Handle h_Fm, bool aidOverride); 803 t_Error FM_ConfigDmaAidMode(t_Handle h_Fm, e_FmDmaAidMode aidMode); 821 t_Error FM_ConfigDmaAxiDbgNumOfBeats(t_Handle h_Fm, uint8_t axiDbgNumOfBeats); 839 t_Error FM_ConfigDmaCamNumOfEntrie [all...] |
H A D | fm_pcd_ext.h | 194 typedef t_Error (t_FmPcdQmEnqueueCallback) (t_Handle h_QmArg, void *p_Fd); 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); 331 t_Error FM_PCD_ConfigHcFramesDataMemory(t_Handle h_FmPcd, uint8_t memId); 346 t_Error FM_PCD_ConfigPlcrNumOfSharedProfiles(t_Handle h_FmPcd, uint16_t numOfSharedPlcrProfiles); 363 t_Error FM_PCD_ConfigPlcrAutoRefreshMode(t_Handle h_FmPcd, bool enable); 381 t_Error FM_PCD_ConfigPrsMaxCycleLimit(t_Handle h_FmPcd,uint16_t value); 478 t_Error FM_PCD_Enable(t_Handle h_FmPcd); 493 t_Error FM_PCD_Disabl [all...] |
/freebsd-12-stable/sys/contrib/ncsw/Peripherals/FM/inc/ |
H A D | fm_hc.h | 53 t_Error FmHcSetFramesDataMemory(t_Handle h_FmHc, 55 t_Error FmHcDumpRegs(t_Handle h_FmHc); 59 t_Error FmHcPcdKgSetScheme(t_Handle h_FmHc, 63 t_Error FmHcPcdKgDeleteScheme(t_Handle h_FmHc, t_Handle h_Scheme); 64 t_Error FmHcPcdCcCapwapTimeoutReassm(t_Handle h_FmHc, t_FmPcdCcCapwapReassmTimeoutParams *p_CcCapwapReassmTimeoutParams ); 65 t_Error FmHcPcdCcIpFragScratchPollCmd(t_Handle h_FmHc, bool fill, t_FmPcdCcFragScratchPoolCmdParams *p_FmPcdCcFragScratchPoolCmdParams); 66 t_Error FmHcPcdCcTimeoutReassm(t_Handle h_FmHc, t_FmPcdCcReassmTimeoutParams *p_CcReassmTimeoutParams, uint8_t *p_Result); 67 t_Error FmHcPcdKgSetClsPlan(t_Handle h_FmHc, t_FmPcdKgInterModuleClsPlanSet *p_Set); 68 t_Error FmHcPcdKgDeleteClsPlan(t_Handle h_FmHc, uint8_t clsPlanGrpId); 70 t_Error FmHcPcdKgSetSchemeCounte [all...] |
H A D | fm_sp_common.h | 91 t_Error FmSpBuildBufferStructure(t_FmSpIntContextDataCopy *p_FmPortIntContextDataCopy, 97 t_Error FmSpCheckIntContextParams(t_FmSpIntContextDataCopy *p_FmSpIntContextDataCopy); 98 t_Error FmSpCheckBufPoolsParams(t_FmExtPools *p_FmExtPools, 101 t_Error FmSpCheckBufMargins(t_FmSpBufMargins *p_FmSpBufMargins); 104 t_Error FmPcdSpAllocProfiles(t_Handle h_FmPcd, 109 t_Error FmPcdSpGetAbsoluteProfileId(t_Handle h_FmPcd,
|
H A D | fm_common.h | 310 t_Error FmGetSetParams(t_Handle h_Fm, t_FmGetSetParams *p_Params); 669 typedef t_Error (t_FmPortGetSetCcParamsCallback) (t_Handle h_FmPort, 687 t_Error FmPcdFragHcScratchPoolInit(t_Handle h_FmPcd, uint8_t scratchBpid); 688 t_Error FmPcdRegisterReassmPort(t_Handle h_FmPcd, t_Handle h_IpReasmCommonPramTbl); 689 t_Error FmPcdUnregisterReassmPort(t_Handle h_FmPcd, t_Handle h_IpReasmCommonPramTbl); 693 t_Error FmPcdHcSync(t_Handle h_FmPcd); 700 t_Error FmPcdKgBuildClsPlanGrp(t_Handle h_FmPcd, t_FmPcdKgInterModuleClsPlanGrpParams *p_Grp, t_FmPcdKgInterModuleClsPlanSet *p_ClsPlanSet); 708 t_Error FmPcdKgCheckInvalidateSchemeSw(t_Handle h_Scheme); 709 t_Error FmPcdKgBuildBindPortToSchemes(t_Handle h_FmPcd , t_FmPcdKgInterModuleBindPortToSchemes *p_BindPortToSchemes, uint32_t *p_SpReg, bool add); 719 t_Error FmPcdKgBindPortToScheme [all...] |
/freebsd-12-stable/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_ConfigTbiPhyAdd [all...] |
H A D | dtsec_mii_acc.h | 39 t_Error DTSEC_MII_WritePhyReg(t_Handle h_Dtsec, uint8_t phyAddr, uint8_t reg, uint16_t data); 40 t_Error DTSEC_MII_ReadPhyReg(t_Handle h_Dtsec, uint8_t phyAddr, uint8_t reg, uint16_t *p_Data);
|
H A D | dtsec_mii_acc.c | 48 t_Error DTSEC_MII_WritePhyReg(t_Handle h_Dtsec, 56 t_Error err; 64 err = (t_Error)fman_dtsec_mii_write_reg(miiregs, phyAddr, reg, data, dtsec_freq); 70 t_Error DTSEC_MII_ReadPhyReg(t_Handle h_Dtsec, 78 t_Error err; 93 RETURN_ERROR(MINOR, (t_Error)err, NO_MSG);
|
H A D | memac_mii_acc.c | 45 t_Error MEMAC_MII_WritePhyReg(t_Handle h_Memac, 55 return (t_Error)fman_memac_mii_write_phy_reg(p_Memac->p_MiiMemMap, 63 t_Error MEMAC_MII_ReadPhyReg(t_Handle h_Memac,
|
H A D | fm_mac.c | 93 t_Error FM_MAC_Init (t_Handle h_FmMac) 114 t_Error FM_MAC_Free (t_Handle h_FmMac) 128 t_Error FM_MAC_ConfigResetOnInit (t_Handle h_FmMac, bool enable) 144 t_Error FM_MAC_ConfigLoopback (t_Handle h_FmMac, bool newVal) 158 t_Error FM_MAC_ConfigMaxFrameLength (t_Handle h_FmMac, uint16_t newVal) 171 t_Error FM_MAC_ConfigWan (t_Handle h_FmMac, bool flag) 185 t_Error FM_MAC_ConfigPadAndCrc (t_Handle h_FmMac, bool newVal) 199 t_Error FM_MAC_ConfigHalfDuplex (t_Handle h_FmMac, bool newVal) 213 t_Error FM_MAC_ConfigTbiPhyAddr (t_Handle h_FmMac, uint8_t newVal) 227 t_Error FM_MAC_ConfigLengthChec [all...] |
/freebsd-12-stable/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_FmMacsecUnknownSciFrameTreatment treatMode); 57 t_Error (*f_FM_MACSEC_ConfigInvalidTagsFrameTreatment) (t_Handle h_FmMacsec, bool deliverUncontrolled); 58 t_Error (*f_FM_MACSEC_ConfigEncryptWithNoChangedTextFrameTreatment) (t_Handle h_FmMacsec, bool discardUncontrolled); 59 t_Error (*f_FM_MACSEC_ConfigChangedTextWithNoEncryptFrameTreatment) (t_Handle h_FmMacsec, bool deliverUncontrolled); 60 t_Error (*f_FM_MACSEC_ConfigUntagFrameTreatment) (t_Handle h_FmMacsec, e_FmMacsecUntagFrameTreatment treatMode); 61 t_Error (*f_FM_MACSEC_ConfigOnlyScbIsSetFrameTreatment) (t_Handle h_FmMacsec, bool deliverUncontrolled); 62 t_Error (*f_FM_MACSEC_ConfigPnExhaustionThreshold) (t_Handle h_FmMacsec, uint32_t pnExhThr); 63 t_Error (*f_FM_MACSEC_ConfigKeysUnreadabl [all...] |
H A D | fm_macsec.c | 69 t_Error FM_MACSEC_Init(t_Handle h_FmMacsec) 81 t_Error FM_MACSEC_Free(t_Handle h_FmMacsec) 93 t_Error FM_MACSEC_ConfigUnknownSciFrameTreatment(t_Handle h_FmMacsec, e_FmMacsecUnknownSciFrameTreatment treatMode) 105 t_Error FM_MACSEC_ConfigInvalidTagsFrameTreatment(t_Handle h_FmMacsec, bool deliverUncontrolled) 117 t_Error FM_MACSEC_ConfigEncryptWithNoChangedTextFrameTreatment(t_Handle h_FmMacsec, bool discardUncontrolled) 129 t_Error FM_MACSEC_ConfigUntagFrameTreatment(t_Handle h_FmMacsec, e_FmMacsecUntagFrameTreatment treatMode) 141 t_Error FM_MACSEC_ConfigPnExhaustionThreshold(t_Handle h_FmMacsec, uint32_t pnExhThr) 153 t_Error FM_MACSEC_ConfigKeysUnreadable(t_Handle h_FmMacsec) 165 t_Error FM_MACSEC_ConfigSectagWithoutSCI(t_Handle h_FmMacsec) 177 t_Error FM_MACSEC_ConfigExceptio [all...] |
H A D | fm_macsec_secy.c | 73 static t_Error CheckFmMacsecSecYParameters(t_FmMacsecSecY *p_FmMacsecSecY) 96 t_Error err = E_OK; 164 static t_Error FmMacsecSecYDeleteSc(t_FmMacsecSecY *p_FmMacsecSecY, t_SecYSc *p_FmSecYSc, e_ScType type) 166 t_Error err = E_OK; 236 t_Error FM_MACSEC_SECY_Init(t_Handle h_FmMacsecSecY) 241 t_Error err; 324 t_Error FM_MACSEC_SECY_Free(t_Handle h_FmMacsecSecY) 327 t_Error err = E_OK; 374 t_Error FM_MACSEC_SECY_ConfigSciInsertionMode(t_Handle h_FmMacsecSecY, e_FmMacsecSciInsertionMode sciInsertionMode) 386 t_Error FM_MACSEC_SECY_ConfigProtectFrame [all...] |
/freebsd-12-stable/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); 160 t_Error XX_FreeIntr(uintptr_t irq); 171 t_Error XX_EnableIntr(uintptr_t irq); 182 t_Error XX_DisableIntr(uintptr_t irq); 208 t_Error XX_PreallocAndBindIntr(uintptr_t irq, unsigned int cpu); 209 t_Error XX_DeallocIntr(uintptr_t irq); 582 t_Error status); 620 typedef t_Error (t_IpcMsgHandler)(t_Handle h_Module, 653 t_Error XX_IpcRegisterMsgHandler(char addr[XX_IPC_MAX_ADDR_NAME_LENGTH], 673 t_Error XX_IpcUnregisterMsgHandle [all...] |
/freebsd-12-stable/sys/dev/dpaa/ |
H A D | qman.h | 166 t_Error qman_fqr_free(t_Handle fqr); 177 t_Error qman_fqr_register_cb(t_Handle fqr, t_QmReceivedFrameCallback *callback, 188 t_Error qman_fqr_enqueue(t_Handle fqr, uint32_t fqid_off, t_DpaaFD *frame); 209 t_Error qman_fqr_pull_frame(t_Handle fqr, uint32_t fqid_off, t_DpaaFD *frame); 225 t_Error qman_poll(e_QmPortalPollSource source);
|
/freebsd-12-stable/sys/contrib/ncsw/inc/etc/ |
H A D | mem_ext.h | 123 t_Error MEM_Init(char name[], 149 t_Error MEM_InitSmart(char name[], 175 t_Error MEM_InitByAddress(char name[], 237 t_Error MEM_Put(t_Handle h_Mem, void *p_Block);
|
/freebsd-12-stable/sys/contrib/ncsw/Peripherals/FM/Rtc/ |
H A D | fm_rtc.c | 55 static t_Error CheckInitParameters(t_FmRtc *p_Rtc) 192 t_Error FM_RTC_Init(t_Handle h_FmRtc) 258 t_Error FM_RTC_Free(t_Handle h_FmRtc) 281 t_Error FM_RTC_ConfigSourceClock(t_Handle h_FmRtc, 298 t_Error FM_RTC_ConfigPeriod(t_Handle h_FmRtc, uint32_t period) 311 t_Error FM_RTC_ConfigFrequencyBypass(t_Handle h_FmRtc, bool enabled) 324 t_Error FM_RTC_ConfigInvertedInputClockPhase(t_Handle h_FmRtc, bool inverted) 337 t_Error FM_RTC_ConfigInvertedOutputClockPhase(t_Handle h_FmRtc, bool inverted) 350 t_Error FM_RTC_ConfigOutputClockDivisor(t_Handle h_FmRtc, uint16_t divisor) 363 t_Error FM_RTC_ConfigPulseRealignmen [all...] |