/freebsd/sys/contrib/ncsw/Peripherals/FM/Pcd/ |
H A D | fm_pcd.h | 378 } t_FmPcd; typedef 389 t_Error PcdGetVectorForOpt(t_FmPcd *p_FmPcd, uint8_t netEnvId, protocolOpt_t opt, uint32_t *p_V… 390 t_Error PcdGetUnitsVector(t_FmPcd *p_FmPcd, t_NetEnvParams *p_Params); 391 bool PcdNetEnvIsUnitWithoutOpts(t_FmPcd *p_FmPcd, uint8_t netEnvId, uint32_t unitVector); 392 t_Error PcdGetClsPlanGrpParams(t_FmPcd *p_FmPcd, t_FmPcdKgInterModuleClsPlanGrpParams *p_GrpPar… 393 void FmPcdSetClsPlanGrpId(t_FmPcd *p_FmPcd, uint8_t netEnvId, uint8_t clsPlanGrpId); 394 e_NetHeaderType FmPcdGetAliasHdr(t_FmPcd *p_FmPcd, uint8_t netEnvId, e_NetHeaderType hdr); 395 uint8_t FmPcdNetEnvGetUnitIdForSingleHdr(t_FmPcd *p_FmPcd, uint8_t netEnvId, e_NetHeaderType hd… 396 uint8_t FmPcdNetEnvGetUnitId(t_FmPcd *p_FmPcd, uint8_t netEnvId, e_NetHeaderType hdr, bool inte… 398 t_Error FmPcdManipBuildIpReassmScheme(t_FmPcd *p_FmPcd, t_Handle h_NetEnv, t_Handle h_CcTree, t… [all …]
|
H A D | fm_prs.c | 55 t_FmPcd *p_FmPcd = (t_FmPcd *)h_FmPcd; in PcdPrsErrorException() 74 t_FmPcd *p_FmPcd = (t_FmPcd *)h_FmPcd; in PcdPrsException() 91 t_Handle PrsConfig(t_FmPcd *p_FmPcd,t_FmPcdParams *p_FmPcdParams) in PrsConfig() 128 t_Error PrsInit(t_FmPcd *p_FmPcd) in PrsInit() 172 void PrsFree(t_FmPcd *p_FmPcd) in PrsFree() 180 void PrsEnable(t_FmPcd *p_FmPcd) in PrsEnable() 188 void PrsDisable(t_FmPcd *p_FmPcd) in PrsDisable() 196 int PrsIsEnabled(t_FmPcd *p_FmPcd) in PrsIsEnabled() 204 t_Error PrsIncludePortInStatistics(t_FmPcd *p_FmPcd, uint8_t hardwarePortId, bool include) in PrsIncludePortInStatistics() 232 t_FmPcd *p_FmPcd = (t_FmPcd *)h_FmPcd; in FmPcdPrsIncludePortInStatistics() [all …]
|
H A D | fm_pcd.c | 60 static t_Error CheckFmPcdParameters(t_FmPcd *p_FmPcd) in CheckFmPcdParameters() 103 t_FmPcd *p_FmPcd = (t_FmPcd*)h_FmPcd; in IpcMsgHandlerCB() 295 static void EnqueueLockToFreeLst(t_FmPcd *p_FmPcd, t_FmPcdLock *p_Lock) in EnqueueLockToFreeLst() 304 static t_FmPcdLock * DequeueLockFromFreeLst(t_FmPcd *p_FmPcd) in DequeueLockFromFreeLst() 321 static void EnqueueLockToAcquiredLst(t_FmPcd *p_FmPcd, t_FmPcdLock *p_Lock) in EnqueueLockToAcquiredLst() 330 static t_Error FillFreeLocksLst(t_FmPcd *p_FmPcd) in FillFreeLocksLst() 354 static void ReleaseFreeLocksLst(t_FmPcd *p_FmPcd) in ReleaseFreeLocksLst() 373 void FmPcdSetClsPlanGrpId(t_FmPcd *p_FmPcd, uint8_t netEnvId, uint8_t clsPlanGrpId) in FmPcdSetClsPlanGrpId() 379 t_Error PcdGetClsPlanGrpParams(t_FmPcd *p_FmPcd, t_FmPcdKgInterModuleClsPlanGrpParams *p_GrpParams) in PcdGetClsPlanGrpParams() 430 t_Error PcdGetVectorForOpt(t_FmPcd *p_FmPcd, uint8_t netEnvId, protocolOpt_t opt, uint32_t *p_Vecto… in PcdGetVectorForOpt() [all …]
|
H A D | fm_plcr.c | 108 t_FmPcd *p_FmPcd = (t_FmPcd*)h_FmPcd; in IsProfileShared() 119 static t_Error SetProfileNia(t_FmPcd *p_FmPcd, e_FmPcdEngine nextEngine, u_FmPcdPlcrNextEngineParam… in SetProfileNia() 324 static void WritePar(t_FmPcd *p_FmPcd, uint32_t par) in WritePar() 334 static t_Error BuildProfileRegs(t_FmPcd *p_FmPcd, in BuildProfileRegs() 532 static t_Error AllocSharedProfiles(t_FmPcd *p_FmPcd, uint16_t numOfProfiles, uint16_t *profilesIds) in AllocSharedProfiles() 575 static void FreeSharedProfiles(t_FmPcd *p_FmPcd, uint16_t numOfProfiles, uint16_t *profilesIds) in FreeSharedProfiles() 593 t_FmPcd *p_FmPcd = (t_FmPcd*)h_FmPcd; in UpdateRequiredActionFlag() 613 t_FmPcd *p_FmPcd = (t_FmPcd *)h_FmPcd; in EventsCB() 640 t_FmPcd *p_FmPcd = (t_FmPcd *)h_FmPcd; in ErrorExceptionsCB() 675 t_Handle PlcrConfig(t_FmPcd *p_FmPcd, t_FmPcdParams *p_FmPcdParams) in PlcrConfig() [all …]
|
H A D | fm_kg.c | 94 static t_Error WriteKgarWait(t_FmPcd *p_FmPcd, uint32_t fmkg_ar) in WriteKgarWait() 421 static t_KnownFieldsMasks GetKnownProtMask(t_FmPcd *p_FmPcd, e_NetHeaderType hdr, e_FmPcdHdrIndex i… in GetKnownProtMask() 729 static void IncSchemeOwners(t_FmPcd *p_FmPcd, t_FmPcdKgInterModuleBindPortToSchemes *p_BindPort) in IncSchemeOwners() 754 static void DecSchemeOwners(t_FmPcd *p_FmPcd, t_FmPcdKgInterModuleBindPortToSchemes *p_BindPort) in DecSchemeOwners() 795 static t_Error KgWriteSp(t_FmPcd *p_FmPcd, uint8_t hardwarePortId, uint32_t spReg, bool add) in KgWriteSp() 829 static t_Error KgWriteCpp(t_FmPcd *p_FmPcd, uint8_t hardwarePortId, uint32_t cppReg) in KgWriteCpp() 852 static uint32_t BuildCppReg(t_FmPcd *p_FmPcd, uint8_t clsPlanGrpId) in BuildCppReg() 862 static t_Error BindPortToClsPlanGrp(t_FmPcd *p_FmPcd, uint8_t hardwarePortId, uint8_t clsPlanGrpId) in BindPortToClsPlanGrp() 870 static void UnbindPortToClsPlanGrp(t_FmPcd *p_FmPcd, uint8_t hardwarePortId) in UnbindPortToClsPlanGrp() 893 t_FmPcd *p_FmPcd = (t_FmPcd *)h_FmPcd; in PcdKgErrorException() [all …]
|
H A D | fm_manip.c | 618 - (((t_FmPcd*)h_FmPcd)->physicalMuramBase)); in BuildHmct() 657 … (uint32_t)(XX_VirtToPhys(p_TmpData) - (((t_FmPcd*)p_Manip->h_FmPcd)->physicalMuramBase))); in BuildHmct() 769 … (uint32_t)(XX_VirtToPhys(p_TmpData) - (((t_FmPcd*)h_FmPcd)->physicalMuramBase))); in BuildHmct() 830 … (uint32_t)(XX_VirtToPhys(p_TmpData) - (((t_FmPcd*)p_Manip->h_FmPcd)->physicalMuramBase))); in BuildHmct() 1005 - (((t_FmPcd*)h_FmPcd)->physicalMuramBase)); in BuildHmct() 1019 … (uint32_t)(XX_VirtToPhys(p_TmpData) - (((t_FmPcd*)h_FmPcd)->physicalMuramBase))); in BuildHmct() 1120 ((t_FmPcd *)p_Manip->h_FmPcd)->h_FmMuram, totalSize, 4); in CreateManipActionNew() 1217 …(XX_VirtToPhys(MANIP_GET_HMTD_PTR(p_FmPcdManipParams->h_NextManip)) - (((t_FmPcd*)p_Manip->h_FmPcd… in CreateManipActionNew() 1227 … (uint32_t)(XX_VirtToPhys(p_Manip->p_Hmct) - (((t_FmPcd*)p_Manip->h_FmPcd)->physicalMuramBase))); in CreateManipActionNew() 1236 … ((t_FmPcd *)((t_FmPcdManip *)p_FmPcdManipParams->h_NextManip)->h_FmPcd)->h_FmMuram, in CreateManipActionNew() [all …]
|
H A D | fm_cc.c | 152 h_FmMuram = ((t_FmPcd *)(p_CcNode->h_FmPcd))->h_FmMuram; in GetStatsObj() 206 h_FmMuram = ((t_FmPcd *)(p_CcNode->h_FmPcd))->h_FmMuram; in PutStatsObj() 274 t_FmPcd *p_FmPcd = (t_FmPcd*)h_FmPcd; in FillAdOfTypeContLookup() 392 ((t_FmPcd *)(p_CcNode->h_FmPcd))->h_FmMuram, in AllocAndFillAdForContLookupManip() 765 if ((p_AdditionalParams->tree && !((t_FmPcd *)h_FmPcd)->p_CcShadow) in ReleaseModifiedDataStructure() 949 err = FmHcPcdCcDoDynamicChange(((t_FmPcd *)h_FmPcd)->h_Hc, in DynamicChangeHc() 1310 static void DeleteTree(t_FmPcdCcTree *p_FmPcdTree, t_FmPcd *p_FmPcd) in DeleteTree() 2171 t_FmPcd *p_FmPcd, in FillAdOfTypeResult() 2445 t_FmPcd *p_FmPcd; in GetNewAd() 2449 p_FmPcd = (t_FmPcd *)(((t_FmPcdCcTree *)h_FmPcdCcNodeOrTree)->h_FmPcd); in GetNewAd() [all …]
|
H A D | fm_replic.c | 182 t_FmPcd *p_FmPcd; in LinkSourceToMember() 203 t_FmPcd *p_FmPcd; in LinkMemberToMember() 225 t_FmPcd *p_FmPcd; in ModifyDescriptor() 286 t_FmPcd *p_FmPcd; in BuildShadowAndModifyDescriptor() 451 t_FmPcd *p_FmPcd = NULL; in RemoveMember() 618 t_FmPcd *p_FmPcd; in FrmReplicGroupUpdateAd()
|
H A D | fm_manip.h | 287 #define MANIP_GET_MURAM(h_Manip) (((t_FmPcd *)((t_FmPcdManip *)h_Manip)->h_F… 290 …FM_MURAM_FreeMem(((t_FmPcd *)((t_FmPcdManip *)h_Manip)->h_FmPcd)->h_FmMuram, ((t_FmPcdManip *)h_Ma…
|
H A D | fm_cc.h | 396 t_Error FmPcdUpdateCcShadow (t_FmPcd *p_FmPcd, uint32_t size, uint32_t align);
|