• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/sys/contrib/ncsw/Peripherals/FM/Pcd/

Lines Matching defs:h_FmPcd

152         h_FmMuram = ((t_FmPcd *)(p_CcNode->h_FmPcd))->h_FmMuram;
206 h_FmMuram = ((t_FmPcd *)(p_CcNode->h_FmPcd))->h_FmMuram;
268 t_Handle h_FmPcd, t_Handle p_CcNode,
274 t_FmPcd *p_FmPcd = (t_FmPcd*)h_FmPcd;
392 ((t_FmPcd *)(p_CcNode->h_FmPcd))->h_FmMuram,
403 FillAdOfTypeContLookup(p_CcNode->h_Ad, NULL, p_CcNode->h_FmPcd,
413 t_Handle h_FmPcd, uint32_t requiredAction,
476 err = SetRequiredAction1(h_FmPcd, requiredAction,
495 h_FmPcd, physicalSchemeId);
502 if (!KgIsSchemeAlwaysDirect(h_FmPcd, relativeSchemeId))
508 h_FmPcd,
535 h_FmPcd,
542 err = FmPcdPlcrCcGetSetParams(h_FmPcd, profileId,
557 if ((tmpReg32 & GET_NIA_BMI_AC_ENQ_FRAME(h_FmPcd))
558 != GET_NIA_BMI_AC_ENQ_FRAME(h_FmPcd))
579 t_Handle h_FmPcd, uint32_t requiredAction,
583 t_Error err = SetRequiredAction1(h_FmPcd, requiredAction,
588 return SetRequiredAction1(h_FmPcd, UPDATE_CC_SHADOW_CLEAR,
594 t_Handle h_FmPcd, t_List *h_FmPcdOldPointersLst,
607 SANITY_CHECK_RETURN_ERROR(h_FmPcd, E_INVALID_HANDLE);
683 h_FmPcd,
696 h_FmPcd,
762 h_Muram = FmPcdGetMuramHandle(h_FmPcd);
765 if ((p_AdditionalParams->tree && !((t_FmPcd *)h_FmPcd)->p_CcShadow)
881 FillAdOfTypeContLookup(h_Ad, NULL, p_CcNode->h_FmPcd, p_FmPcdCcNodeTmp,
890 h_Ad, NULL, p_CcNode->h_FmPcd, p_FmPcdCcNodeTmp,
902 t_Handle h_FmPcd, t_List *h_OldPointersLst, t_List *h_NewPointersLst,
912 ASSERT_COND(h_FmPcd);
924 newAdAddrOffset = FmPcdCcGetNodeAddrOffsetFromNodeInfo(h_FmPcd,
928 ReleaseModifiedDataStructure(h_FmPcd, h_OldPointersLst,
937 oldAdAddrOffset = FmPcdCcGetNodeAddrOffsetFromNodeInfo(h_FmPcd,
941 ReleaseModifiedDataStructure(h_FmPcd, h_OldPointersLst,
949 err = FmHcPcdCcDoDynamicChange(((t_FmPcd *)h_FmPcd)->h_Hc,
953 ReleaseModifiedDataStructure(h_FmPcd, h_OldPointersLst,
970 t_Handle h_FmPcd, t_List *h_OldPointersLst, t_List *h_NewPointersLst,
984 ASSERT_COND(h_FmPcd);
996 err = DynamicChangeHc(h_FmPcd, h_OldPointersLst, h_NewPointersLst,
1035 err = DynamicChangeHc(h_FmPcd, h_OldPointersLst, h_NewPointersLst,
1042 err = ReleaseModifiedDataStructure(h_FmPcd, h_OldPointersLst,
1075 t_Handle h_FmPcd, t_Handle h_PcdParams, t_Handle h_FmPort,
1090 err = FmPcdManipUpdate(h_FmPcd, h_PcdParams, h_FmPort,
1099 err = FmPcdManipUpdate(h_FmPcd, h_PcdParams, h_FmPort,
1126 h_FmPcd,
1141 err = CcUpdateParam(h_FmPcd, h_PcdParams, h_FmPort,
1154 h_FmPcd,
1248 FM_MURAM_FreeMem(FmPcdGetMuramHandle(p_CcNode->h_FmPcd),
1255 FM_MURAM_FreeMem(FmPcdGetMuramHandle(p_CcNode->h_FmPcd),
1262 FM_MURAM_FreeMem(FmPcdGetMuramHandle(p_CcNode->h_FmPcd),
1270 FM_MURAM_FreeMem(FmPcdGetMuramHandle(p_CcNode->h_FmPcd),
1295 t_Handle h_FmMuram = FmPcdGetMuramHandle(p_CcNode->h_FmPcd);
1592 t_Handle h_FmPcd, t_FmPcdCcNextEngineParams *p_FmPcdCcNextEngineParams,
1634 h_FmPcd,
1643 if (!KgIsSchemeAlwaysDirect(h_FmPcd, relativeSchemeId))
1658 h_FmPcd,
1666 if (!FmPcdPlcrIsProfileValid(h_FmPcd, absoluteProfileId))
2347 static t_Error CcUpdateParams(t_Handle h_FmPcd, t_Handle h_PcdParams,
2353 return CcUpdateParam(h_FmPcd, h_PcdParams, h_FmPort,
2367 ((t_FmPcdCcNode *)(p_AdditionalInfo->h_CurrentNode))->h_FmPcd),
2373 ((t_FmPcdCcNode *)(p_AdditionalInfo->h_CurrentNode))->h_FmPcd),
2449 p_FmPcd = (t_FmPcd *)(((t_FmPcdCcTree *)h_FmPcdCcNodeOrTree)->h_FmPcd);
2451 p_FmPcd = (t_FmPcd *)(((t_FmPcdCcNode *)h_FmPcdCcNodeOrTree)->h_FmPcd);
2491 t_FmPcd *p_FmPcd = (t_FmPcd *)p_CcNode->h_FmPcd;
2517 FM_MURAM_FreeMem(FmPcdGetMuramHandle(p_CcNode->h_FmPcd),
2567 t_Handle h_FmPcd, t_FmPcdCcNode *p_CcNode, uint16_t keyIndex,
2576 t_FmPcd *p_FmPcd = (t_FmPcd*)h_FmPcd;
2585 err = ValidateNextEngineParams(h_FmPcd, &p_KeyParams->ccNextEngineParams,
2796 p_CcNode->h_FmPcd,
2807 p_CcNode->h_FmPcd,
2944 t_FmPcd *p_FmPcd = (t_FmPcd *)p_CcNode->h_FmPcd;
3095 t_Handle h_FmPcd, t_Handle h_FmPcdCcNodeOrTree, uint16_t keyIndex,
3114 h_FmPcd, p_CcNextEngineParams,
3118 err = ValidateNextEngineParams(h_FmPcd, p_CcNextEngineParams,
3236 NextStepAd(p_Ad, &statsParams, p_CcNextEngineParams, h_FmPcd);
3239 NextStepAd(p_Ad, NULL, p_CcNextEngineParams, h_FmPcd);
3264 p_FmPcdCcNode1->h_FmPcd,
3273 p_FmPcdCcNode1->h_FmPcd, NULL, NULL,
3288 h_FmPcd,
3296 err = CcUpdateParam(h_FmPcd, NULL, NULL,
3705 static t_Error CheckParams(t_Handle h_FmPcd, t_FmPcdCcNodeParams *p_CcNodeParam,
3722 h_FmPcd, &p_CcNodeParam->keysParams.ccNextEngineParamsForMiss,
3762 err = ValidateNextEngineParams(h_FmPcd,
3826 t_Handle h_FmPcd, t_FmPcdCcNodeParams *p_CcNodeParam,
3856 h_FmPcd, &p_CcNodeParam->keysParams.ccNextEngineParamsForMiss,
3905 err = ValidateNextEngineParams(h_FmPcd,
3946 static t_Error IcHashIndexedCheckParams(t_Handle h_FmPcd,
3995 h_FmPcd, &p_CcNodeParam->keysParams.ccNextEngineParamsForMiss,
4015 err = ValidateNextEngineParams(h_FmPcd,
4051 err = ValidateNextEngineParams(h_FmPcd,
4070 t_Handle h_FmPcd, t_Handle h_FmPcdCcNode, uint16_t keyIndex,
4079 SANITY_CHECK_RETURN_ERROR(h_FmPcd, E_INVALID_VALUE);
4086 p_FmPcd = (t_FmPcd *)p_CcNode->h_FmPcd;
4104 err = BuildNewNodeModifyNextEngine(h_FmPcd, p_CcNode, keyIndex,
4216 err = FmPcdUpdateCcShadow(p_CcNode->h_FmPcd, (uint32_t)shadowSize,
4233 h_FmMuram = FmPcdGetMuramHandle(p_CcNode->h_FmPcd);
4324 static t_Error MatchTableSet(t_Handle h_FmPcd, t_FmPcdCcNode *p_CcNode,
4327 t_FmPcd *p_FmPcd = (t_FmPcd *)h_FmPcd;
4346 ASSERT_COND(h_FmPcd);
4354 p_CcNode->h_FmPcd = h_FmPcd;
4367 h_FmMuram = FmPcdGetMuramHandle(h_FmPcd);
4395 err = Ipv4TtlOrIpv6HopLimitCheckParams(h_FmPcd, p_CcNodeParam, p_CcNode,
4433 err = IcHashIndexedCheckParams(h_FmPcd, p_CcNodeParam, p_CcNode,
4439 err = CheckParams(h_FmPcd, p_CcNodeParam, p_CcNode,
4447 err = CheckParams(h_FmPcd, p_CcNodeParam, p_CcNode, &isKeyTblAlloc);
4873 if (!FmPcdLockTryLockAll(h_FmPcd))
4886 h_FmPcd,
4892 FmPcdLockUnlockAll(h_FmPcd);
4900 FmPcdLockUnlockAll(h_FmPcd);
5046 t_Error FmPcdCcTreeAddIPR(t_Handle h_FmPcd, t_Handle h_FmTree,
5107 err = FmPcdManipBuildIpReassmScheme(h_FmPcd, h_NetEnv,
5121 NULL, &nextEngineParams, h_FmPcd);
5131 err = FmPcdManipBuildIpReassmScheme(h_FmPcd, h_NetEnv, p_FmPcdCcTree,
5149 NULL, &nextEngineParams, h_FmPcd);
5158 t_Error FmPcdCcTreeAddCPR(t_Handle h_FmPcd, t_Handle h_FmTree,
5208 err = FmPcdManipBuildCapwapReassmScheme(h_FmPcd, h_NetEnv,
5221 NULL, &nextEngineParams, h_FmPcd);
5277 t_Handle h_FmPcd, t_Handle h_FmPcdCcTree, uint8_t grpId, uint8_t index,
5287 SANITY_CHECK_RETURN_ERROR(h_FmPcd, E_INVALID_HANDLE);
5298 p_FmPcd = (t_FmPcd *)h_FmPcd;
5341 t_Error FmPcdCcRemoveKey(t_Handle h_FmPcd, t_Handle h_FmPcdCcNode,
5356 if (p_CcNode->h_FmPcd != h_FmPcd)
5362 p_FmPcd = (t_FmPcd *)p_CcNode->h_FmPcd;
5414 t_Error FmPcdCcModifyKey(t_Handle h_FmPcd, t_Handle h_FmPcdCcNode,
5436 if (p_CcNode->h_FmPcd != h_FmPcd)
5449 p_FmPcd = (t_FmPcd *)p_CcNode->h_FmPcd;
5503 t_Handle h_FmPcd, t_Handle h_FmPcdCcNode,
5517 p_FmPcd = (t_FmPcd *)p_CcNode->h_FmPcd;
5535 err = BuildNewNodeModifyNextEngine(h_FmPcd, p_CcNode, keyIndex,
5556 t_Error FmPcdCcAddKey(t_Handle h_FmPcd, t_Handle h_FmPcdCcNode,
5578 if (p_CcNode->h_FmPcd != h_FmPcd)
5607 p_FmPcd = (t_FmPcd *)p_CcNode->h_FmPcd;
5629 err = BuildNewNodeAddOrMdfyKeyAndNextEngine(h_FmPcd, p_CcNode, keyIndex,
5661 t_Error FmPcdCcModifyKeyAndNextEngine(t_Handle h_FmPcd, t_Handle h_FmPcdCcNode,
5683 if (p_CcNode->h_FmPcd != h_FmPcd)
5697 p_FmPcd = (t_FmPcd *)p_CcNode->h_FmPcd;
5719 err = BuildNewNodeAddOrMdfyKeyAndNextEngine(h_FmPcd, p_CcNode, keyIndex,
5752 uint32_t FmPcdCcGetNodeAddrOffsetFromNodeInfo(t_Handle h_FmPcd,
5755 t_FmPcd *p_FmPcd = (t_FmPcd *)h_FmPcd;
5758 SANITY_CHECK_RETURN_VALUE(h_FmPcd, E_INVALID_HANDLE,
5784 t_Error FmPcdCcBindTree(t_Handle h_FmPcd, t_Handle h_PcdParams,
5788 t_FmPcd *p_FmPcd = (t_FmPcd*)h_FmPcd;
5792 SANITY_CHECK_RETURN_ERROR(h_FmPcd, E_INVALID_HANDLE);
5797 err = CcUpdateParams(h_FmPcd, h_PcdParams, h_FmPort, h_FmPcdCcTree, TRUE);
5809 t_Error FmPcdCcUnbindTree(t_Handle h_FmPcd, t_Handle h_FmPcdCcTree)
5815 UNUSED(h_FmPcd);
5824 t_Error FmPcdCcNodeTreeTryLock(t_Handle h_FmPcd, t_Handle h_FmPcdCcNode,
5833 intFlags = FmPcdLock(h_FmPcd);
5859 FmPcdUnlock(h_FmPcd, intFlags);
5865 void FmPcdCcNodeTreeReleaseLock(t_Handle h_FmPcd, t_List *p_List)
5872 intFlags = FmPcdLock(h_FmPcd);
5883 FmPcdUnlock(h_FmPcd, intFlags);
5994 t_Handle FM_PCD_CcRootBuild(t_Handle h_FmPcd,
5997 t_FmPcd *p_FmPcd = (t_FmPcd *)h_FmPcd;
6011 SANITY_CHECK_RETURN_VALUE(h_FmPcd, E_INVALID_HANDLE, NULL);
6027 p_FmPcdCcTree->h_FmPcd = h_FmPcd;
6120 h_FmPcd,
6177 PTR_TO_UINT(FM_MURAM_AllocMem(FmPcdGetMuramHandle(h_FmPcd),
6229 FmPcdIncNetEnvOwners(h_FmPcd, p_FmPcdCcTree->netEnvId);
6245 h_FmPcd,
6283 p_FmPcd = (t_FmPcd *)p_CcTree->h_FmPcd;
6344 FmPcdReleaseLock(p_CcTree->h_FmPcd, p_CcTree->p_Lock);
6361 p_FmPcd = (t_FmPcd *)p_CcTree->h_FmPcd;
6382 t_Handle FM_PCD_MatchTableSet(t_Handle h_FmPcd,
6388 SANITY_CHECK_RETURN_VALUE(h_FmPcd, E_INVALID_HANDLE, NULL);
6399 err = MatchTableSet(h_FmPcd, p_CcNode, p_CcNodeParam);
6424 SANITY_CHECK_RETURN_ERROR(p_CcNode->h_FmPcd, E_INVALID_HANDLE);
6480 p_FmPcd = (t_FmPcd *)p_CcNode->h_FmPcd;
6518 p_FmPcd = (t_FmPcd *)p_CcNode->h_FmPcd;
6558 p_FmPcd = (t_FmPcd *)p_CcNode->h_FmPcd;
6597 p_FmPcd = (t_FmPcd *)p_CcNode->h_FmPcd;
6635 p_FmPcd = (t_FmPcd *)p_CcNode->h_FmPcd;
6675 p_FmPcd = (t_FmPcd *)p_CcNode->h_FmPcd;
6714 p_FmPcd = (t_FmPcd *)p_CcNode->h_FmPcd;
6764 p_FmPcd = (t_FmPcd *)p_CcNode->h_FmPcd;
6815 p_FmPcd = (t_FmPcd *)p_CcNode->h_FmPcd;
6867 p_FmPcd = (t_FmPcd *)p_CcNode->h_FmPcd;
7113 t_Handle FM_PCD_HashTableSet(t_Handle h_FmPcd, t_FmPcdHashTableParams *p_Param)
7125 SANITY_CHECK_RETURN_VALUE(h_FmPcd, E_INVALID_HANDLE, NULL);
7195 FmPcdGetMuramHandle(h_FmPcd), 2 * FM_PCD_CC_STATS_COUNTER_SIZE,
7248 err = MatchTableSet(h_FmPcd, p_CcNode, p_ExactMatchCcNodeParam);
7264 FM_MURAM_FreeMem(FmPcdGetMuramHandle(h_FmPcd), h_MissStatsCounters);
7292 p_CcNodeHashTbl = FM_PCD_MatchTableSet(h_FmPcd, p_IndxHashCcNodeParam);
7313 t_Handle h_FmPcd;
7331 h_FmPcd = p_HashTbl->h_FmPcd;
7345 FM_MURAM_FreeMem(FmPcdGetMuramHandle(h_FmPcd), h_MissStatsCounters);