/freebsd-11.0-release/sys/contrib/ncsw/Peripherals/FM/HC/ |
H A D | hc.c | 118 t_Handle h_FmPcd; member in struct:t_FmHc 136 intFlags = FmPcdLock(p_FmHc->h_FmPcd); 142 FmPcdUnlock(p_FmHc->h_FmPcd, intFlags); 172 p_HcFrame->actionReg = FmPcdCcGetNodeAddrOffsetFromNodeInfo(p_FmHc->h_FmPcd, p_NewPointer); 180 p_HcFrame->extraReg = FmPcdCcGetNodeAddrOffsetFromNodeInfo(p_FmHc->h_FmPcd, p_OldPointer); 218 FmPcdCcReleaseModifiedDataStructure(p_FmHc->h_FmPcd, h_OldPointersLst, h_NewPointersLst, i, h_Params); 225 err = FmPcdCcReleaseModifiedDataStructure(p_FmHc->h_FmPcd, h_OldPointersLst, h_NewPointersLst, i, h_Params); 247 p_FmHc->h_FmPcd = p_FmHcParams->h_FmPcd; 332 intFlags = FmPcdLock(p_FmHc->h_FmPcd); [all...] |
/freebsd-11.0-release/sys/contrib/ncsw/inc/Peripherals/ |
H A D | fm_pcd_ext.h | 273 @Param[in] h_FmPcd - FM PCD module descriptor. 277 t_Error FM_PCD_Init(t_Handle h_FmPcd); 286 @Param[in] h_FmPcd - FM PCD module descriptor. 290 t_Error FM_PCD_Free(t_Handle h_FmPcd); 307 @Param[in] h_FmPcd FM PCD module descriptor. 313 t_Error FM_PCD_ConfigPlcrNumOfSharedProfiles(t_Handle h_FmPcd, uint16_t numOfSharedPlcrProfiles); 322 @Param[in] h_FmPcd FM PCD module descriptor. 330 t_Error FM_PCD_ConfigException(t_Handle h_FmPcd, e_FmPcdExceptions exception, bool enable); 339 @Param[in] h_FmPcd FM PCD module descriptor. 346 t_Error FM_PCD_ConfigPlcrAutoRefreshMode(t_Handle h_FmPcd, boo [all...] |
/freebsd-11.0-release/sys/contrib/ncsw/Peripherals/FM/inc/ |
H A D | fm_common.h | 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); 726 void FmPcdIncNetEnvOwners(t_Handle h_FmPcd, uint8_t netEnvId); 727 void FmPcdDecNetEnvOwners(t_Handle h_FmPcd, uint8_t netEnvId); 728 void FmPcdPortRegister(t_Handle h_FmPcd, t_Handle h_FmPort, uint8_t hardwarePortId); 729 uint32_t FmPcdLock(t_Handle h_FmPcd); 730 void FmPcdUnlock(t_Handle h_FmPcd, uint32_t intFlags); 731 bool FmPcdNetEnvIsHdrExist(t_Handle h_FmPcd, uint8_ [all...] |
H A D | fm_hc.h | 45 t_Handle h_FmPcd; member in struct:t_FmHcParams
|
/freebsd-11.0-release/sys/contrib/ncsw/Peripherals/FM/Pcd/ |
H A D | fm_pcd.c | 81 static void FmPcdIpcMsgCompletionCB(t_Handle h_FmPcd, argument 87 UNUSED(h_FmPcd);UNUSED(p_Msg);UNUSED(p_Reply);UNUSED(replyLength);UNUSED(status); 91 static t_Error FmPcdHandleIpcMsgCB(t_Handle h_FmPcd, argument 97 t_FmPcd *p_FmPcd = (t_FmPcd*)h_FmPcd; 148 outCounter = FM_PCD_GetCounter(h_FmPcd, inCounter); 159 err = FmPcdKgAllocSchemes(h_FmPcd, 172 err = FmPcdKgFreeSchemes(h_FmPcd, 185 err = KgAllocClsPlanEntries(h_FmPcd, 198 KgFreeClsPlanEntries(h_FmPcd, 211 err = PlcrAllocProfiles(h_FmPcd, 460 FmPcdNetEnvIsHdrExist(t_Handle h_FmPcd, uint8_t netEnvId, e_NetHeaderType hdr) argument 501 FmPcdPortRegister(t_Handle h_FmPcd, t_Handle h_FmPort, uint8_t hardwarePortId) argument 511 FmPcdGetLcv(t_Handle h_FmPcd, uint32_t netEnvId, uint8_t hdrNum) argument 518 FmPcdGetMacsecLcv(t_Handle h_FmPcd, uint32_t netEnvId) argument 525 FmPcdIncNetEnvOwners(t_Handle h_FmPcd, uint8_t netEnvId) argument 530 FmPcdDecNetEnvOwners(t_Handle h_FmPcd, uint8_t netEnvId) argument 536 FmPcdLock(t_Handle h_FmPcd) argument 541 FmPcdUnlock(t_Handle h_FmPcd, uint32_t intFlags) argument 546 FmPcdGetHcHandle(t_Handle h_FmPcd) argument 660 FM_PCD_Init(t_Handle h_FmPcd) argument 752 FM_PCD_Free(t_Handle h_FmPcd) argument 806 FM_PCD_Enable(t_Handle h_FmPcd) argument 855 FM_PCD_Disable(t_Handle h_FmPcd) argument 902 FM_PCD_SetNetEnvCharacteristics(t_Handle h_FmPcd, t_FmPcdNetEnvParams *p_NetEnvParams) argument 1092 FM_PCD_DeleteNetEnvCharacteristics(t_Handle h_FmPcd, t_Handle h_NetEnv) argument 1120 FM_PCD_HcTxConf(t_Handle h_FmPcd, t_DpaaFD *p_Fd) argument 1129 FM_PCD_GetCounter(t_Handle h_FmPcd, e_FmPcdCounters counter) argument 1276 FM_PCD_DumpRegs(t_Handle h_FmPcd) argument 1307 FM_PCD_HcDumpRegs(t_Handle h_FmPcd) argument 1322 FM_PCD_ConfigException(t_Handle h_FmPcd, e_FmPcdExceptions exception, bool enable) argument 1346 FM_PCD_SetException(t_Handle h_FmPcd, e_FmPcdExceptions exception, bool enable) argument 1478 FM_PCD_ForceIntr(t_Handle h_FmPcd, e_FmPcdExceptions exception) argument 1561 FM_PCD_ModifyCounter(t_Handle h_FmPcd, e_FmPcdCounters counter, uint32_t value) argument [all...] |
H A D | fm_cc.c | 163 static t_Error FmPcdCcSetRequiredAction(t_Handle h_FmPcd, uint32_t requiredAction, t_FmPcdCcNextEngineAndRequiredActionParams *p_CcNextEngineParamsTmp, argument 218 err = FmPcdCcSetRequiredAction(h_FmPcd, requiredAction, p_FmPcdCcNode->nextEngineAndRequiredAction, p_FmPcdCcNode->h_AdTable, tmp, h_Tree); 229 relativeSchemeId = FmPcdKgGetRelativeSchemeId(h_FmPcd, physicalSchemeId); 232 if (!FmPcdKgIsSchemeValidSw(h_FmPcd, relativeSchemeId)) 234 if(!KgIsSchemeAlwaysDirect(h_FmPcd, relativeSchemeId)) 236 err = FmPcdKgCcGetSetParams(h_FmPcd, p_CcNextEngineParamsTmp[i].nextEngineParams.params.kgParams.h_DirectScheme, requiredAction); 250 err = FmPcdPlcrGetAbsoluteProfileId(h_FmPcd, e_FM_PCD_PLCR_SHARED, NULL, p_CcNextEngineParamsTmp[i].nextEngineParams.params.plcrParams.newRelativeProfileId, &profileId); 253 err = FmPcdPlcrCcGetSetParams(h_FmPcd, profileId, requiredAction); 280 static t_Error CcUpdateParam(t_Handle h_FmPcd, argument 317 err = FmPcdManipUpdate(h_FmPcd, h_FmPor 701 ValidateNextEngineParams(t_Handle h_FmPcd, t_FmPcdCcNextEngineParams *p_FmPcdCcNextEngineParams) argument 1244 FillAdOfTypeContLookup(t_Handle p_Ad, t_Handle h_FmPcd, t_Handle p_FmPcdCcNode, t_Handle h_Manip) argument 2081 CcUpdateParams(t_Handle h_FmPcd, t_Handle h_FmPort, t_Handle h_FmTree, bool validate) argument 2099 CheckParams(t_Handle h_FmPcd, t_FmPcdCcNodeParams *p_CcNodeParam, t_FmPcdCcNode *p_FmPcdCcNode, bool *isKeyTblAlloc) argument 2158 Ipv4TtlOrIpv6HopLimiCheckParams( t_Handle h_FmPcd, t_FmPcdCcNodeParams *p_CcNodeParam, t_FmPcdCcNode *p_FmPcdCcNode, bool *isKeyTblAlloc) argument 2215 IcHashIndexedCheckParams(t_Handle h_FmPcd, t_FmPcdCcNodeParams *p_CcNodeParam, t_FmPcdCcNode *p_FmPcdCcNode, bool *isKeyTblAlloc) argument 2286 FmPcdCcModifyNextEngineParamTree(t_Handle h_FmPcd, t_Handle h_FmPcdCcTree, uint8_t grpId, uint8_t index, t_FmPcdCcNextEngineParams *p_FmPcdCcNextEngineParams, t_List *h_OldLst, t_List *h_NewLst, t_Handle *h_AdditionalParams) argument 2321 FmPcdCcRemoveKey(t_Handle h_FmPcd, t_Handle h_FmPcdCcNode, uint8_t keyIndex, t_List *h_OldLst, t_List *h_NewLst, t_Handle *h_AdditionalParams) argument 2361 FmPcdCcModifyKey(t_Handle h_FmPcd, t_Handle h_FmPcdCcNode, uint8_t keyIndex, uint8_t keySize, uint8_t *p_Key, uint8_t *p_Mask, t_List *h_OldLst, t_List *h_NewLst,t_Handle *h_AdditionalParams) argument 2403 FmPcdCcModiyNextEngineParamNode(t_Handle h_FmPcd,t_Handle h_FmPcdCcNode, uint8_t keyIndex,t_FmPcdCcNextEngineParams *p_FmPcdCcNextEngineParams,t_List *h_OldPointer, t_List *h_NewPointer,t_Handle *h_AdditionalParams) argument 2433 FmPcdCcModifyMissNextEngineParamNode(t_Handle h_FmPcd,t_Handle h_FmPcdCcNode, t_FmPcdCcNextEngineParams *p_FmPcdCcNextEngineParams,t_List *h_OldPointer, t_List *h_NewPointer,t_Handle *h_AdditionalParams) argument 2460 FmPcdCcAddKey(t_Handle h_FmPcd, t_Handle h_FmPcdCcNode, uint8_t keyIndex, uint8_t keySize, t_FmPcdCcKeyParams *p_FmPcdCcKeyParams, t_List *h_OldLst, t_List *h_NewLst, t_Handle *h_AdditionalParams) argument 2501 FmPcdCcModifyKeyAndNextEngine(t_Handle h_FmPcd, t_Handle h_FmPcdCcNode, uint8_t keyIndex, uint8_t keySize, t_FmPcdCcKeyParams *p_FmPcdCcKeyParams, t_List *h_OldLst, t_List *h_NewLst, t_Handle *h_AdditionalParams) argument 2544 FmPcdCcReleaseModifiedDataStructure(t_Handle h_FmPcd, t_List *h_FmPcdOldPointersLst, t_List *h_FmPcdNewPointersLst, uint16_t numOfGoodChanges, t_Handle *h_Params) argument 2673 FmPcdCcGetNodeAddrOffsetFromNodeInfo(t_Handle h_FmPcd, t_Handle h_Pointer) argument 2697 FmPcdCcBindTree(t_Handle h_FmPcd, t_Handle h_FmPcdCcTree, uint32_t *p_Offset, t_Handle h_FmPort) argument 2716 FmPcdCcUnbindTree(t_Handle h_FmPcd, t_Handle h_FmPcdCcTree) argument 2736 FmPcdCcNodeTreeTryLock(t_Handle h_FmPcd,t_Handle h_FmPcdCcNode, t_List *p_List) argument 2765 FM_PCD_CcBuildTree(t_Handle h_FmPcd, t_FmPcdCcTreeParams *p_PcdGroupsParam) argument 2953 FM_PCD_CcDeleteTree(t_Handle h_FmPcd, t_Handle h_CcTree) argument 2985 FM_PCD_CcSetNode(t_Handle h_FmPcd, t_FmPcdCcNodeParams *p_CcNodeParam) argument 3318 FM_PCD_CcDeleteNode(t_Handle h_FmPcd, t_Handle h_CcNode) argument 3356 FM_PCD_CcNodeAddKey(t_Handle h_FmPcd, t_Handle h_CcNode, uint8_t keyIndex, uint8_t keySize, t_FmPcdCcKeyParams *p_KeyParams) argument 3366 FM_PCD_CcNodeRemoveKey(t_Handle h_FmPcd, t_Handle h_CcNode, uint8_t keyIndex) argument 3376 FM_PCD_CcNodeModifyKey(t_Handle h_FmPcd, t_Handle h_CcNode, uint8_t keyIndex, uint8_t keySize, uint8_t *p_Key, uint8_t *p_Mask) argument 3386 FM_PCD_CcNodeModifyNextEngine(t_Handle h_FmPcd, t_Handle h_CcNode, uint8_t keyIndex, t_FmPcdCcNextEngineParams *p_FmPcdCcNextEngineParams) argument 3396 FM_PCD_CcNodeModifyMissNextEngine(t_Handle h_FmPcd, t_Handle h_CcNode, t_FmPcdCcNextEngineParams *p_FmPcdCcNextEngineParams) argument 3406 FM_PCD_CcTreeModifyNextEngine(t_Handle h_FmPcd, t_Handle h_CcTree, uint8_t grpId, uint8_t index, t_FmPcdCcNextEngineParams *p_FmPcdCcNextEngineParams) argument 3416 FM_PCD_CcNodeModifyKeyAndNextEngine(t_Handle h_FmPcd, t_Handle h_CcNode, uint8_t keyIndex, uint8_t keySize, t_FmPcdCcKeyParams *p_KeyParams) argument 3426 FM_PCD_CcNodeGetKeyCounter(t_Handle h_FmPcd, t_Handle h_CcNode, uint8_t keyIndex) argument [all...] |
H A D | fm_plcr.c | 51 static bool FmPcdPlcrIsProfileShared(t_Handle h_FmPcd, uint16_t absoluteProfileId) argument 53 t_FmPcd *p_FmPcd = (t_FmPcd*)h_FmPcd; 164 static void calcRates(t_Handle h_FmPcd, t_FmPcdPlcrNonPassthroughAlgParams *p_NonPassthroughAlgParam, argument 167 t_FmPcd *p_FmPcd = (t_FmPcd*)h_FmPcd; 260 static void PcdPlcrException(t_Handle h_FmPcd) argument 262 t_FmPcd *p_FmPcd = (t_FmPcd *)h_FmPcd; 288 static void PcdPlcrErrorException(t_Handle h_FmPcd) argument 290 t_FmPcd *p_FmPcd = (t_FmPcd *)h_FmPcd; 320 void FmPcdPlcrUpatePointedOwner(t_Handle h_FmPcd, uint16_t absoluteProfileId, bool add) argument 322 t_FmPcd *p_FmPcd = (t_FmPcd*)h_FmPcd; 332 FmPcdPlcrGetPointedOwners(t_Handle h_FmPcd, uint16_t absoluteProfileId) argument 340 FmPcdPlcrGetRequiredAction(t_Handle h_FmPcd, uint16_t absoluteProfileId) argument 349 FmPcdPlcrAllocProfiles(t_Handle h_FmPcd, uint8_t hardwarePortId, uint16_t numOfProfiles) argument 406 FmPcdPlcrFreeProfiles(t_Handle h_FmPcd, uint8_t hardwarePortId) argument 456 FmPcdPlcrIsProfileValid(t_Handle h_FmPcd, uint16_t absoluteProfileId) argument 628 FM_PCD_SetPlcrStatistics(t_Handle h_FmPcd, bool enable) argument 650 FM_PCD_ConfigPlcrAutoRefreshMode(t_Handle h_FmPcd, bool enable) argument 667 FmPcdPlcrBuildProfile(t_Handle h_FmPcd, t_FmPcdPlcrProfileParams *p_Profile, t_FmPcdPlcrInterModuleProfileRegs *p_PlcrRegs) argument 860 FmPcdPlcrValidateProfileSw(t_Handle h_FmPcd, uint16_t absoluteProfileId) argument 868 FmPcdPlcrInvalidateProfileSw(t_Handle h_FmPcd, uint16_t absoluteProfileId) argument 1053 FmPcdPlcrGetAbsoluteProfileId(t_Handle h_FmPcd, e_FmPcdProfileTypeSelection profileType, t_Handle h_FmPort, uint16_t relativeProfile, uint16_t *p_AbsoluteId) argument 1090 FmPcdPlcrGetPortProfilesBase(t_Handle h_FmPcd, uint8_t hardwarePortId) argument 1100 FmPcdPlcrGetPortNumOfProfiles(t_Handle h_FmPcd, uint8_t hardwarePortId) argument 1175 FmPcdPlcrUpdateRequiredAction(t_Handle h_FmPcd, uint16_t absoluteProfileId, uint32_t requiredAction) argument 1184 FmPcdPlcrProfileTryLock(t_Handle h_FmPcd, uint16_t profileId, bool intr) argument 1197 FmPcdPlcrReleaseProfileLock(t_Handle h_FmPcd, uint16_t profileId) argument 1206 FM_PCD_PlcrSetProfile(t_Handle h_FmPcd, t_FmPcdPlcrProfileParams *p_Profile) argument 1330 FM_PCD_PlcrDeleteProfile(t_Handle h_FmPcd, t_Handle h_Profile) argument 1359 FM_PCD_PlcrGetProfileCounter(t_Handle h_FmPcd, t_Handle h_Profile, e_FmPcdPlcrProfileCounters counter) argument 1418 FmPcdPlcrCcGetSetParams(t_Handle h_FmPcd, uint16_t profileIndx ,uint32_t requiredAction) argument 1515 FM_PCD_PlcrSetProfileCounter(t_Handle h_FmPcd, t_Handle h_Profile, e_FmPcdPlcrProfileCounters counter, uint32_t value) argument 1565 FM_PCD_ConfigPlcrNumOfSharedProfiles(t_Handle h_FmPcd, uint16_t numOfSharedPlcrProfiles) argument 1582 FM_PCD_PlcrDumpRegs(t_Handle h_FmPcd) argument 1641 FM_PCD_PlcrProfileDumpRegs(t_Handle h_FmPcd, t_Handle h_Profile) argument [all...] |
H A D | fm_prs.c | 79 static void PcdPrsErrorException(t_Handle h_FmPcd) argument 81 t_FmPcd *p_FmPcd = (t_FmPcd *)h_FmPcd; 103 static void PcdPrsException(t_Handle h_FmPcd) argument 105 t_FmPcd *p_FmPcd = (t_FmPcd *)h_FmPcd; 126 static uint32_t GetSwPrsOffset(t_Handle h_FmPcd, e_NetHeaderType hdr, uint8_t indexPerHdr) argument 128 t_FmPcd *p_FmPcd = (t_FmPcd*)h_FmPcd; 300 t_Error FmPcdPrsIncludePortInStatistics(t_Handle h_FmPcd, uint8_t hardwarePortId, bool include) argument 302 t_FmPcd *p_FmPcd = (t_FmPcd *)h_FmPcd; 331 uint32_t FmPcdGetSwPrsOffset(t_Handle h_FmPcd, e_NetHeaderType hdr, uint8_t indexPerHdr) argument 333 t_FmPcd *p_FmPcd = (t_FmPcd *)h_FmPcd; 368 FM_PCD_SetPrsStatistics(t_Handle h_FmPcd, bool enable) argument 387 FM_PCD_PrsLoadSw(t_Handle h_FmPcd, t_FmPcdPrsSwParams *p_SwPrs) argument 444 FM_PCD_ConfigPrsMaxCycleLimit(t_Handle h_FmPcd,uint16_t value) argument 461 FM_PCD_PrsDumpRegs(t_Handle h_FmPcd) argument [all...] |
H A D | fm_kg.c | 648 t_Error FmPcdKgBuildClsPlanGrp(t_Handle h_FmPcd, t_FmPcdKgInterModuleClsPlanGrpParams *p_Grp, t_FmPcdKgInterModuleClsPlanSet *p_ClsPlanSet) argument 650 t_FmPcd *p_FmPcd = (t_FmPcd*)h_FmPcd; 697 err = KgAllocClsPlanEntries(h_FmPcd, p_ClsPlanGrp->sizeOfGrp, p_FmPcd->guestId, &p_ClsPlanGrp->baseEntry); 800 void FmPcdKgDestroyClsPlanGrp(t_Handle h_FmPcd, uint8_t grpId) argument 802 t_FmPcd *p_FmPcd = (t_FmPcd*)h_FmPcd; 821 KgFreeClsPlanEntries(h_FmPcd, 865 t_Error FmPcdKgBuildBindPortToSchemes(t_Handle h_FmPcd , t_FmPcdKgInterModuleBindPortToSchemes *p_BindPort, uint32_t *p_SpReg, bool add) 867 t_FmPcd *p_FmPcd = (t_FmPcd*)h_FmPcd; 887 if (!FmPcdKgIsSchemeValidSw(h_FmPcd, relativeSchemeId)) 941 void FmPcdKgIncSchemeOwners(t_Handle h_FmPcd , t_FmPcdKgInterModuleBindPortToScheme 1081 FmPcdKgIsSchemeValidSw(t_Handle h_FmPcd, uint8_t schemeId) argument 1088 KgIsSchemeAlwaysDirect(t_Handle h_FmPcd, uint8_t schemeId) argument 1098 FmPcdKgAllocSchemes(t_Handle h_FmPcd, uint8_t numOfSchemes, uint8_t guestId, uint8_t *p_SchemesIds) argument 1136 FmPcdKgFreeSchemes(t_Handle h_FmPcd, uint8_t numOfSchemes, uint8_t guestId, uint8_t *p_SchemesIds) argument 1167 KgAllocClsPlanEntries(t_Handle h_FmPcd, uint16_t numOfClsPlanEntries, uint8_t guestId, uint8_t *p_First) argument 1228 KgFreeClsPlanEntries(t_Handle h_FmPcd, uint16_t numOfClsPlanEntries, uint8_t guestId, uint8_t base) argument 1269 KgSetClsPlan(t_Handle h_FmPcd, t_FmPcdKgInterModuleClsPlanSet *p_Set) argument 1302 PcdKgErrorException(t_Handle h_FmPcd) argument 1457 FM_PCD_KgSetAdditionalDataAfterParsing(t_Handle h_FmPcd, uint8_t payloadOffset) argument 1481 FM_PCD_KgSetDfltValue(t_Handle h_FmPcd, uint8_t valueId, uint32_t value) argument 1505 FM_PCD_KgDumpRegs(t_Handle h_FmPcd) argument 1705 FmPcdKgSetOrBindToClsPlanGrp(t_Handle h_FmPcd, uint8_t hardwarePortId, uint8_t netEnvId, protocolOpt_t *p_OptArray, uint8_t *p_ClsPlanGrpId, bool *p_IsEmptyClsPlanGrp) argument 1776 FmPcdKgDeleteOrUnbindPortToClsPlanGrp(t_Handle h_FmPcd, uint8_t hardwarePortId, uint8_t clsPlanGrpId) argument 1809 FmPcdKgBuildScheme(t_Handle h_FmPcd, t_FmPcdKgSchemeParams *p_Scheme, t_FmPcdKgInterModuleSchemeRegs *p_SchemeRegs) argument 2589 FmPcdKgValidateSchemeSw(t_Handle h_FmPcd, uint8_t schemeId) argument 2600 FmPcdKgInvalidateSchemeSw(t_Handle h_FmPcd, uint8_t schemeId) argument 2610 FmPcdKgGetRequiredAction(t_Handle h_FmPcd, uint8_t schemeId) argument 2618 FmPcdKgGetPointedOwners(t_Handle h_FmPcd, uint8_t schemeId) argument 2627 FmPcdKgIsDirectPlcr(t_Handle h_FmPcd, uint8_t schemeId) argument 2637 FmPcdKgGetRelativeProfileId(t_Handle h_FmPcd, uint8_t schemeId) argument 2647 FmPcdKgIsDistrOnPlcrProfile(t_Handle h_FmPcd, uint8_t schemeId) argument 2661 FmPcdKgUpatePointedOwner(t_Handle h_FmPcd, uint8_t schemeId, bool add) argument 2673 FmPcdKgGetNextEngine(t_Handle h_FmPcd, uint8_t schemeId) argument 2682 FmPcdKgGetDoneAction(t_Handle h_FmPcd, uint8_t schemeId) argument 2691 FmPcdKgUpdateRequiredAction(t_Handle h_FmPcd, uint8_t schemeId, uint32_t requiredAction) argument 2700 FmPcdKgCheckInvalidateSchemeSw(t_Handle h_FmPcd, uint8_t schemeId) argument 2715 FmPcdKgBuildCppReg(t_Handle h_FmPcd, uint8_t clsPlanGrpId) argument 2814 FmPcdKgGetClsPlanGrpBase(t_Handle h_FmPcd, uint8_t clsPlanGrp) argument 2821 FmPcdKgGetClsPlanGrpSize(t_Handle h_FmPcd, uint8_t clsPlanGrp) argument 2828 FmPcdKgGetSchemeSwId(t_Handle h_FmPcd, uint8_t schemeHwId) argument 2840 FmPcdKgGetNumOfPartitionSchemes(t_Handle h_FmPcd) argument 2845 FmPcdKgGetPhysicalSchemeId(t_Handle h_FmPcd, uint8_t relativeSchemeId) argument 2850 FmPcdKgGetRelativeSchemeId(t_Handle h_FmPcd, uint8_t schemeId) argument 2865 FmPcdKgCcGetSetParams(t_Handle h_FmPcd, t_Handle h_Scheme, uint32_t requiredAction) argument 2943 FmPcdKgSchemeTryLock(t_Handle h_FmPcd, uint8_t schemeId, bool intr) argument 2957 FmPcdKgReleaseSchemeLock(t_Handle h_FmPcd, uint8_t schemeId) argument 2962 FM_PCD_KgSetScheme(t_Handle h_FmPcd, t_FmPcdKgSchemeParams *p_Scheme) argument 3075 FM_PCD_KgDeleteScheme(t_Handle h_FmPcd, t_Handle h_Scheme) argument 3121 FM_PCD_KgGetSchemeCounter(t_Handle h_FmPcd, t_Handle h_Scheme) argument 3150 FM_PCD_KgSetSchemeCounter(t_Handle h_FmPcd, t_Handle h_Scheme, uint32_t value) argument [all...] |
H A D | fm_pcd.h | 651 uint8_t FmPcdNetEnvGetUnitIdForSingleHdr(t_Handle h_FmPcd, uint8_t netEnvId, e_NetHeaderType hdr); 656 void KgSetClsPlan(t_Handle h_FmPcd, t_FmPcdKgInterModuleClsPlanSet *p_Set); 657 bool KgIsSchemeAlwaysDirect(t_Handle h_FmPcd, uint8_t schemeId); 660 t_Error KgAllocClsPlanEntries(t_Handle h_FmPcd, uint16_t numOfClsPlanEntries, uint8_t guestId, uint8_t *p_First); 661 void KgFreeClsPlanEntries(t_Handle h_FmPcd, uint16_t numOfClsPlanEntries, uint8_t guestId, uint8_t base); 664 t_Error FmPcdKgAllocSchemes(t_Handle h_FmPcd, uint8_t numOfSchemes, uint8_t guestId, uint8_t *p_SchemesIds); 665 t_Error FmPcdKgFreeSchemes(t_Handle h_FmPcd, uint8_t numOfSchemes, uint8_t guestId, uint8_t *p_SchemesIds); 667 t_Error KgBindPortToSchemes(t_Handle h_FmPcd , uint8_t hardwarePortId, uint32_t spReg); 686 t_Handle FmPcdCcConfig(t_Handle h_FmPcd, t_FmPcdParams *p_FmPcdParams); 696 uint32_t FmPcdManipCheckNia(t_Handle h_FmPcd, t_Handl 700 FmPcdGetMuramHandle(t_Handle h_FmPcd) argument 707 FmPcdGetMuramPhysBase(t_Handle h_FmPcd) argument [all...] |
H A D | fm_manip.c | 403 static t_Error UpdateInitCapwapReasm(t_Handle h_FmPcd, argument 415 t_FmPcd *p_FmPcd = (t_FmPcd *)h_FmPcd; 422 SANITY_CHECK_RETURN_ERROR(h_FmPcd,E_INVALID_HANDLE); 425 if(p_Manip->h_FmPcd != h_FmPcd) 765 t_FmPcd *p_FmPcd = p_Manip->h_FmPcd; 881 static t_Error UpdateInitIpReasm(t_Handle h_FmPcd, argument 892 t_FmPcd *p_FmPcd = (t_FmPcd *)h_FmPcd; 898 SANITY_CHECK_RETURN_ERROR(h_FmPcd,E_INVALID_HANDLE); 903 if(p_Manip->h_FmPcd ! 1227 UpdateIndxStats( t_Handle h_FmPcd, t_Handle h_FmPort, t_FmPcdManip *p_Manip) argument 1286 FmPcdManipInitUpdate(t_Handle h_FmPcd, t_Handle h_FmPort, t_Handle h_Manip, t_Handle h_Ad, bool validate, int level, t_Handle h_FmTree) argument 2202 ManipOrStatsSetNode(t_Handle h_FmPcd, t_Handle *p_Params, bool stats) argument 2274 FmPcdManipUpdate(t_Handle h_FmPcd, t_Handle h_FmPort, t_Handle h_Manip, t_Handle h_Ad, bool validate, int level, t_Handle h_FmTree, bool modify) argument 2480 FM_PCD_ManipSetNode(t_Handle h_FmPcd, t_FmPcdManipParams *p_ManipParams) argument 2582 FM_PCD_ManipDeleteNode(t_Handle h_FmPcd, t_Handle h_ManipNode) argument 2600 FM_PCD_StatisticsSetNode(t_Handle h_FmPcd, t_FmPcdStatsParams *p_StatsParams) argument [all...] |
H A D | fm_cc.h | 265 t_Handle h_FmPcd; member in struct:__anon8172
|
H A D | fm_manip.h | 286 t_Handle h_FmPcd; member in struct:__anon8180
|
/freebsd-11.0-release/sys/contrib/ncsw/Peripherals/FM/Port/ |
H A D | fm_port.c | 1326 tmpPrsOffset = FmPcdGetSwPrsOffset(p_FmPort->h_FmPcd, p_HdrParams->hdr, p_HdrParams->indexPerHdr); 1353 p_SchemeBind->schemesIds[p_SchemeBind->numOfSchemes] = FmPcdKgGetSchemeSwId(p_FmPort->h_FmPcd, idx); 1652 err = FmPcdKgSetOrBindToClsPlanGrp(p_FmPort->h_FmPcd, 1667 err = FmPcdCcBindTree(p_FmPort->h_FmPcd, p_PcdParams->p_CcParams->h_CcTree, &ccTreePhysOffset, h_FmPort); 1689 if(!FmPcdPlcrIsProfileValid(p_FmPort->h_FmPcd, absoluteProfileId)) 1821 if (FmPcdNetEnvIsHdrExist(p_FmPort->h_FmPcd, p_FmPort->netEnvId, HEADER_TYPE_UDP_ENCAP_ESP)) 1878 WRITE_UINT32(p_FmPort->p_FmPortPrsRegs->hdrs[i].lcv, FmPcdGetLcv(p_FmPort->h_FmPcd, p_FmPort->netEnvId, (uint8_t)i)); 1975 err = FmPcdKgDeleteOrUnbindPortToClsPlanGrp(p_FmPort->h_FmPcd, p_FmPort->hardwarePortId, p_FmPort->clsPlanGrpId); 1984 err = FmPcdCcUnbindTree(p_FmPort->h_FmPcd, p_FmPort->ccTreeId); 2017 if ((p_FmPort->h_FmPcd) [all...] |
H A D | fm_port.h | 798 t_Handle h_FmPcd; member in struct:__anon8226
|
/freebsd-11.0-release/sys/contrib/ncsw/Peripherals/FM/ |
H A D | fm.c | 1308 void FmRegisterPcd(t_Handle h_Fm, t_Handle h_FmPcd) argument 1315 p_Fm->h_Pcd = h_FmPcd;
|