Lines Matching refs:h_FmPcd

648 t_Error FmPcdKgBuildClsPlanGrp(t_Handle h_FmPcd, t_FmPcdKgInterModuleClsPlanGrpParams *p_Grp, t_FmPcdKgInterModuleClsPlanSet *p_ClsPlanSet)
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)
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_FmPcdKgInterModuleBindPortToSchemes *p_BindPort)
943 t_FmPcd *p_FmPcd = (t_FmPcd*)h_FmPcd;
957 void FmPcdKgDecSchemeOwners(t_Handle h_FmPcd , t_FmPcdKgInterModuleBindPortToSchemes *p_BindPort)
959 t_FmPcd *p_FmPcd = (t_FmPcd*)h_FmPcd;
1043 t_Error FmPcdKgBindPortToSchemes(t_Handle h_FmPcd , t_FmPcdKgInterModuleBindPortToSchemes *p_SchemeBind)
1045 t_FmPcd *p_FmPcd = (t_FmPcd*)h_FmPcd;
1049 err = FmPcdKgBuildBindPortToSchemes(h_FmPcd, p_SchemeBind, &spReg, TRUE);
1057 FmPcdKgIncSchemeOwners(h_FmPcd, p_SchemeBind);
1062 t_Error FmPcdKgUnbindPortToSchemes(t_Handle h_FmPcd , t_FmPcdKgInterModuleBindPortToSchemes *p_SchemeBind)
1064 t_FmPcd *p_FmPcd = (t_FmPcd*)h_FmPcd;
1068 err = FmPcdKgBuildBindPortToSchemes(h_FmPcd, p_SchemeBind, &spReg, FALSE);
1076 FmPcdKgDecSchemeOwners(h_FmPcd, p_SchemeBind);
1081 bool FmPcdKgIsSchemeValidSw(t_Handle h_FmPcd, uint8_t schemeId)
1083 t_FmPcd *p_FmPcd = (t_FmPcd*)h_FmPcd;
1088 bool KgIsSchemeAlwaysDirect(t_Handle h_FmPcd, uint8_t schemeId)
1090 t_FmPcd *p_FmPcd = (t_FmPcd*)h_FmPcd;
1098 t_Error FmPcdKgAllocSchemes(t_Handle h_FmPcd, uint8_t numOfSchemes, uint8_t guestId, uint8_t *p_SchemesIds)
1100 t_FmPcd *p_FmPcd = (t_FmPcd*)h_FmPcd;
1136 t_Error FmPcdKgFreeSchemes(t_Handle h_FmPcd, uint8_t numOfSchemes, uint8_t guestId, uint8_t *p_SchemesIds)
1138 t_FmPcd *p_FmPcd = (t_FmPcd*)h_FmPcd;
1167 t_Error KgAllocClsPlanEntries(t_Handle h_FmPcd, uint16_t numOfClsPlanEntries, uint8_t guestId, uint8_t *p_First)
1169 t_FmPcd *p_FmPcd = (t_FmPcd*)h_FmPcd;
1228 void KgFreeClsPlanEntries(t_Handle h_FmPcd, uint16_t numOfClsPlanEntries, uint8_t guestId, uint8_t base)
1230 t_FmPcd *p_FmPcd = (t_FmPcd*)h_FmPcd;
1269 void KgSetClsPlan(t_Handle h_FmPcd, t_FmPcdKgInterModuleClsPlanSet *p_Set)
1271 t_FmPcd *p_FmPcd = (t_FmPcd*)h_FmPcd;
1302 static void PcdKgErrorException(t_Handle h_FmPcd)
1304 t_FmPcd *p_FmPcd = (t_FmPcd *)h_FmPcd;
1457 t_Error FM_PCD_KgSetAdditionalDataAfterParsing(t_Handle h_FmPcd, uint8_t payloadOffset)
1459 t_FmPcd *p_FmPcd = (t_FmPcd*)h_FmPcd;
1481 t_Error FM_PCD_KgSetDfltValue(t_Handle h_FmPcd, uint8_t valueId, uint32_t value)
1483 t_FmPcd *p_FmPcd = (t_FmPcd*)h_FmPcd;
1505 t_Error FM_PCD_KgDumpRegs(t_Handle h_FmPcd)
1507 t_FmPcd *p_FmPcd = (t_FmPcd*)h_FmPcd;
1705 t_Error FmPcdKgSetOrBindToClsPlanGrp(t_Handle h_FmPcd, uint8_t hardwarePortId, uint8_t netEnvId, protocolOpt_t *p_OptArray, uint8_t *p_ClsPlanGrpId, bool *p_IsEmptyClsPlanGrp)
1707 t_FmPcd *p_FmPcd = (t_FmPcd *)h_FmPcd;
1718 err = PcdGetClsPlanGrpParams(h_FmPcd, p_GrpParams);
1729 err = FmPcdKgBuildClsPlanGrp(h_FmPcd, p_GrpParams, p_ClsPlanSet);
1776 t_Error FmPcdKgDeleteOrUnbindPortToClsPlanGrp(t_Handle h_FmPcd, uint8_t hardwarePortId, uint8_t clsPlanGrpId)
1778 t_FmPcd *p_FmPcd = (t_FmPcd *)h_FmPcd;
1803 FmPcdKgDestroyClsPlanGrp(h_FmPcd, clsPlanGrpId);
1809 t_Error FmPcdKgBuildScheme(t_Handle h_FmPcd, t_FmPcdKgSchemeParams *p_Scheme, t_FmPcdKgInterModuleSchemeRegs *p_SchemeRegs)
1811 t_FmPcd *p_FmPcd = (t_FmPcd *)h_FmPcd;
1960 err = FmPcdPlcrGetAbsoluteProfileId(h_FmPcd,e_FM_PCD_PLCR_SHARED,NULL, relativeProfileId, &profileId);
2589 void FmPcdKgValidateSchemeSw(t_Handle h_FmPcd, uint8_t schemeId)
2591 t_FmPcd *p_FmPcd = (t_FmPcd*)h_FmPcd;
2600 void FmPcdKgInvalidateSchemeSw(t_Handle h_FmPcd, uint8_t schemeId)
2603 t_FmPcd *p_FmPcd = (t_FmPcd*)h_FmPcd;
2606 FmPcdDecNetEnvOwners(h_FmPcd, p_FmPcd->p_FmPcdKg->schemes[schemeId].netEnvId);
2610 uint32_t FmPcdKgGetRequiredAction(t_Handle h_FmPcd, uint8_t schemeId)
2612 t_FmPcd *p_FmPcd = (t_FmPcd*)h_FmPcd;
2618 uint32_t FmPcdKgGetPointedOwners(t_Handle h_FmPcd, uint8_t schemeId)
2620 t_FmPcd *p_FmPcd = (t_FmPcd*)h_FmPcd;
2627 bool FmPcdKgIsDirectPlcr(t_Handle h_FmPcd, uint8_t schemeId)
2629 t_FmPcd *p_FmPcd = (t_FmPcd*)h_FmPcd;
2637 uint16_t FmPcdKgGetRelativeProfileId(t_Handle h_FmPcd, uint8_t schemeId)
2639 t_FmPcd *p_FmPcd = (t_FmPcd*)h_FmPcd;
2647 bool FmPcdKgIsDistrOnPlcrProfile(t_Handle h_FmPcd, uint8_t schemeId)
2649 t_FmPcd *p_FmPcd = (t_FmPcd*)h_FmPcd;
2661 void FmPcdKgUpatePointedOwner(t_Handle h_FmPcd, uint8_t schemeId, bool add)
2663 t_FmPcd *p_FmPcd = (t_FmPcd*)h_FmPcd;
2673 e_FmPcdEngine FmPcdKgGetNextEngine(t_Handle h_FmPcd, uint8_t schemeId)
2675 t_FmPcd *p_FmPcd = (t_FmPcd*)h_FmPcd;
2682 e_FmPcdDoneAction FmPcdKgGetDoneAction(t_Handle h_FmPcd, uint8_t schemeId)
2684 t_FmPcd *p_FmPcd = (t_FmPcd*)h_FmPcd;
2691 void FmPcdKgUpdateRequiredAction(t_Handle h_FmPcd, uint8_t schemeId, uint32_t requiredAction)
2693 t_FmPcd *p_FmPcd = (t_FmPcd*)h_FmPcd;
2700 t_Error FmPcdKgCheckInvalidateSchemeSw(t_Handle h_FmPcd, uint8_t schemeId)
2702 t_FmPcd *p_FmPcd = (t_FmPcd*)h_FmPcd;
2715 uint32_t FmPcdKgBuildCppReg(t_Handle h_FmPcd, uint8_t clsPlanGrpId)
2717 t_FmPcd *p_FmPcd = (t_FmPcd*)h_FmPcd;
2814 uint8_t FmPcdKgGetClsPlanGrpBase(t_Handle h_FmPcd, uint8_t clsPlanGrp)
2816 t_FmPcd *p_FmPcd = (t_FmPcd*)h_FmPcd;
2821 uint16_t FmPcdKgGetClsPlanGrpSize(t_Handle h_FmPcd, uint8_t clsPlanGrp)
2823 t_FmPcd *p_FmPcd = (t_FmPcd*)h_FmPcd;
2828 uint8_t FmPcdKgGetSchemeSwId(t_Handle h_FmPcd, uint8_t schemeHwId)
2830 t_FmPcd *p_FmPcd = (t_FmPcd*)h_FmPcd;
2840 uint8_t FmPcdKgGetNumOfPartitionSchemes(t_Handle h_FmPcd)
2842 return ((t_FmPcd*)h_FmPcd)->p_FmPcdKg->numOfSchemes;
2845 uint8_t FmPcdKgGetPhysicalSchemeId(t_Handle h_FmPcd, uint8_t relativeSchemeId)
2847 return ((t_FmPcd*)h_FmPcd)->p_FmPcdKg->schemesIds[relativeSchemeId];
2850 uint8_t FmPcdKgGetRelativeSchemeId(t_Handle h_FmPcd, uint8_t schemeId)
2852 t_FmPcd *p_FmPcd = (t_FmPcd*)h_FmPcd;
2865 t_Error FmPcdKgCcGetSetParams(t_Handle h_FmPcd, t_Handle h_Scheme, uint32_t requiredAction)
2867 t_FmPcd *p_FmPcd = (t_FmPcd*)h_FmPcd;
2872 SANITY_CHECK_RETURN_VALUE(h_FmPcd, E_INVALID_HANDLE, 0);
2924 err = FmPcdPlcrCcGetSetParams(h_FmPcd, p_FmPcd->p_FmPcdKg->schemes[relativeSchemeId].relativeProfileId, requiredAction);
2943 t_Error FmPcdKgSchemeTryLock(t_Handle h_FmPcd, uint8_t schemeId, bool intr)
2945 t_FmPcd *p_FmPcd = (t_FmPcd*)h_FmPcd;
2957 void FmPcdKgReleaseSchemeLock(t_Handle h_FmPcd, uint8_t schemeId)
2959 RELEASE_LOCK(((t_FmPcd*)h_FmPcd)->p_FmPcdKg->schemes[schemeId].lock);
2962 t_Handle FM_PCD_KgSetScheme(t_Handle h_FmPcd, t_FmPcdKgSchemeParams *p_Scheme)
2964 t_FmPcd *p_FmPcd = (t_FmPcd*)h_FmPcd;
3034 err = FmPcdKgBuildScheme(h_FmPcd, p_Scheme, &schemeRegs);
3038 FmPcdKgInvalidateSchemeSw(h_FmPcd, relativeSchemeId);
3068 FmPcdKgValidateSchemeSw(h_FmPcd, relativeSchemeId);
3075 t_Error FM_PCD_KgDeleteScheme(t_Handle h_FmPcd, t_Handle h_Scheme)
3077 t_FmPcd *p_FmPcd = (t_FmPcd*)h_FmPcd;
3100 err = FmPcdKgCheckInvalidateSchemeSw(h_FmPcd, relativeSchemeId);
3114 FmPcdKgInvalidateSchemeSw(h_FmPcd, relativeSchemeId);
3121 uint32_t FM_PCD_KgGetSchemeCounter(t_Handle h_FmPcd, t_Handle h_Scheme)
3123 t_FmPcd *p_FmPcd = (t_FmPcd*)h_FmPcd;
3127 SANITY_CHECK_RETURN_VALUE(h_FmPcd, E_INVALID_HANDLE, 0);
3150 t_Error FM_PCD_KgSetSchemeCounter(t_Handle h_FmPcd, t_Handle h_Scheme, uint32_t value)
3152 t_FmPcd *p_FmPcd = (t_FmPcd*)h_FmPcd;
3156 SANITY_CHECK_RETURN_VALUE(h_FmPcd, E_INVALID_HANDLE, 0);