Home
last modified time | relevance | path

Searched refs:p_FmPcd (Results 1 – 11 of 11) sorted by relevance

/freebsd/sys/contrib/ncsw/Peripherals/FM/Pcd/
H A Dfm_pcd.c60 static t_Error CheckFmPcdParameters(t_FmPcd *p_FmPcd) in CheckFmPcdParameters() argument
62 if (!p_FmPcd->h_Fm) in CheckFmPcdParameters()
65 if (p_FmPcd->guestId == NCSW_MASTER_ID) in CheckFmPcdParameters()
67 if (p_FmPcd->p_FmPcdKg && !p_FmPcd->p_FmPcdKg->p_FmPcdKgRegs) in CheckFmPcdParameters()
70 if (p_FmPcd->p_FmPcdPlcr && !p_FmPcd->p_FmPcdPlcr->p_FmPcdPlcrRegs) in CheckFmPcdParameters()
73 if (!p_FmPcd->f_Exception) in CheckFmPcdParameters()
76 if ((!p_FmPcd->f_FmPcdIndexedException) && (p_FmPcd->p_FmPcdPlcr || p_FmPcd->p_FmPcdKg)) in CheckFmPcdParameters()
79 if (p_FmPcd->p_FmPcdDriverParam->prsMaxParseCycleLimit > PRS_MAX_CYCLE_LIMIT) in CheckFmPcdParameters()
103 t_FmPcd *p_FmPcd = (t_FmPcd*)h_FmPcd; in IpcMsgHandlerCB() local
108 SANITY_CHECK_RETURN_ERROR(p_FmPcd, E_INVALID_HANDLE); in IpcMsgHandlerCB()
[all …]
H A Dfm_prs.c55 t_FmPcd *p_FmPcd = (t_FmPcd *)h_FmPcd; in PcdPrsErrorException() local
57 struct fman_prs_regs *PrsRegs = (struct fman_prs_regs *)p_FmPcd->p_FmPcdPrs->p_FmPcdPrsRegs; in PcdPrsErrorException()
59 ASSERT_COND(p_FmPcd->guestId == NCSW_MASTER_ID); in PcdPrsErrorException()
69 p_FmPcd->f_Exception(p_FmPcd->h_App,e_FM_PCD_PRS_EXCEPTION_DOUBLE_ECC); in PcdPrsErrorException()
74 t_FmPcd *p_FmPcd = (t_FmPcd *)h_FmPcd; in PcdPrsException() local
76 struct fman_prs_regs *PrsRegs = (struct fman_prs_regs *)p_FmPcd->p_FmPcdPrs->p_FmPcdPrsRegs; in PcdPrsException()
78 ASSERT_COND(p_FmPcd->guestId == NCSW_MASTER_ID); in PcdPrsException()
88 p_FmPcd->f_Exception(p_FmPcd->h_App,e_FM_PCD_PRS_EXCEPTION_SINGLE_ECC); in PcdPrsException()
91 t_Handle PrsConfig(t_FmPcd *p_FmPcd,t_FmPcdParams *p_FmPcdParams) in PrsConfig() argument
96 UNUSED(p_FmPcd); in PrsConfig()
[all …]
H A Dfm_plcr.c108 t_FmPcd *p_FmPcd = (t_FmPcd*)h_FmPcd; in IsProfileShared() local
111 SANITY_CHECK_RETURN_VALUE(p_FmPcd, E_INVALID_HANDLE, FALSE); in IsProfileShared()
113 for (i=0;i<p_FmPcd->p_FmPcdPlcr->numOfSharedProfiles;i++) in IsProfileShared()
114 if (p_FmPcd->p_FmPcdPlcr->sharedProfilesIds[i] == absoluteProfileId) in IsProfileShared()
119 static t_Error SetProfileNia(t_FmPcd *p_FmPcd, e_FmPcdEngine nextEngine, u_FmPcdPlcrNextEngineParam… in SetProfileNia() argument
133 nia |= GET_NIA_BMI_AC_DISCARD_FRAME(p_FmPcd); in SetProfileNia()
136 nia |= GET_NIA_BMI_AC_ENQ_FRAME(p_FmPcd); in SetProfileNia()
144 relativeSchemeId = FmPcdKgGetRelativeSchemeId(p_FmPcd, physicalSchemeId); in SetProfileNia()
149 if (!KgIsSchemeAlwaysDirect(p_FmPcd, relativeSchemeId)) in SetProfileNia()
155 if (!IsProfileShared(p_FmPcd, absoluteProfileId)) in SetProfileNia()
[all …]
H A Dfm_kg.c94 static t_Error WriteKgarWait(t_FmPcd *p_FmPcd, uint32_t fmkg_ar) in WriteKgarWait() argument
97 struct fman_kg_regs *regs = p_FmPcd->p_FmPcdKg->p_FmPcdKgRegs; in WriteKgarWait()
421 static t_KnownFieldsMasks GetKnownProtMask(t_FmPcd *p_FmPcd, e_NetHeaderType hdr, e_FmPcdHdrIndex i… in GetKnownProtMask() argument
423 UNUSED(p_FmPcd); in GetKnownProtMask()
544 if (p_FmPcd->fmRevInfo.majorRev < 6) in GetKnownProtMask()
729 static void IncSchemeOwners(t_FmPcd *p_FmPcd, t_FmPcdKgInterModuleBindPortToSchemes *p_BindPort) in IncSchemeOwners() argument
737 p_FmPcdKg = p_FmPcd->p_FmPcdKg; in IncSchemeOwners()
742 relativeSchemeId = FmPcdKgGetRelativeSchemeId(p_FmPcd, p_BindPort->schemesIds[i]); in IncSchemeOwners()
754 static void DecSchemeOwners(t_FmPcd *p_FmPcd, t_FmPcdKgInterModuleBindPortToSchemes *p_BindPort) in DecSchemeOwners() argument
762 p_FmPcdKg = p_FmPcd->p_FmPcdKg; in DecSchemeOwners()
[all …]
H A Dfm_pcd.h389 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…
400 t_Error FmPcdManipBuildCapwapReassmScheme(t_FmPcd *p_FmPcd, t_Handle h_NetEnv, t_Handle h_CcTre…
[all …]
H A Dfm_replic.c182 t_FmPcd *p_FmPcd; in LinkSourceToMember() local
190 p_FmPcd = p_ReplicGroup->h_FmPcd; in LinkSourceToMember()
194 p_FmPcd->physicalMuramBase)); in LinkSourceToMember()
203 t_FmPcd *p_FmPcd; in LinkMemberToMember() local
210 p_FmPcd = p_ReplicGroup->h_FmPcd; in LinkMemberToMember()
211 offset = (XX_VirtToPhys(p_NextReplicAd) - (p_FmPcd->physicalMuramBase)); in LinkMemberToMember()
225 t_FmPcd *p_FmPcd; in ModifyDescriptor() local
232 p_FmPcd = p_ReplicGroup->h_FmPcd; in ModifyDescriptor()
233 h_Hc = FmPcdGetHcHandle(p_FmPcd); in ModifyDescriptor()
238 … (uint32_t)(XX_VirtToPhys(p_OldDescriptor) - p_FmPcd->physicalMuramBase), in ModifyDescriptor()
[all …]
H A Dfm_cc.c274 t_FmPcd *p_FmPcd = (t_FmPcd*)h_FmPcd; in FillAdOfTypeContLookup() local
312 UpdateStatsAd(p_FmPcdCcStatsParams, h_Ad, p_FmPcd->physicalMuramBase); in FillAdOfTypeContLookup()
323 - p_FmPcd->physicalMuramBase))); in FillAdOfTypeContLookup()
337 (uint32_t)((XX_VirtToPhys(p_Node->h_AdTable) - p_FmPcd->physicalMuramBase)) in FillAdOfTypeContLookup()
340 - p_FmPcd->physicalMuramBase)) in FillAdOfTypeContLookup()
354 - p_FmPcd->physicalMuramBase); in FillAdOfTypeContLookup()
362 p_Node->h_KeysMatchTable) - p_FmPcd->physicalMuramBase) : in FillAdOfTypeContLookup()
1310 static void DeleteTree(t_FmPcdCcTree *p_FmPcdTree, t_FmPcd *p_FmPcd) in DeleteTree() argument
1316 FM_MURAM_FreeMem(FmPcdGetMuramHandle(p_FmPcd), in DeleteTree()
2171 t_FmPcd *p_FmPcd, in FillAdOfTypeResult() argument
[all …]
H A Dfm_manip.c1251 t_FmPcd *p_FmPcd = (t_FmPcd *)p_Manip->h_FmPcd; in CreateManipActionShadow() local
1292 p_TmpHmctPtr = (uint8_t*)PTR_MOVE(p_FmPcd->p_CcShadow, 16); in CreateManipActionShadow()
1318 (uint8_t*)PTR_MOVE(p_FmPcd->p_CcShadow, in CreateManipActionShadow()
1322 (uint8_t*)PTR_MOVE(p_FmPcd->p_CcShadow, in CreateManipActionShadow()
1654 t_FmPcd *p_FmPcd = (t_FmPcd *)h_FmPcd; in UpdateInitCapwapReasm() local
1662 SANITY_CHECK_RETURN_ERROR(p_FmPcd->h_Hc,E_INVALID_HANDLE); in UpdateInitCapwapReasm()
1742 (t_Handle)FM_MURAM_AllocMem(p_FmPcd->h_FmMuram, in UpdateInitCapwapReasm()
1753 …)(XX_VirtToPhys(p_Manip->capwapFragParams.p_ReassmFrmDescrIndxPoolTbl) - p_FmPcd->physicalMuramBas… in UpdateInitCapwapReasm()
1759 (t_Handle)FM_MURAM_AllocMem(p_FmPcd->h_FmMuram, in UpdateInitCapwapReasm()
1768 …32_t)(XX_VirtToPhys(p_Manip->capwapFragParams.p_ReassmFrmDescrPoolTbl) - p_FmPcd->physicalMuramBas… in UpdateInitCapwapReasm()
[all …]
H A Dfm_cc.h396 t_Error FmPcdUpdateCcShadow (t_FmPcd *p_FmPcd, uint32_t size, uint32_t align);
/freebsd/sys/contrib/ncsw/Peripherals/FM/inc/
H A Dfm_common.h738 t_Error FmPcdPrsIncludePortInStatistics(t_Handle p_FmPcd, uint8_t hardwarePortId, bool include…
/freebsd/sys/contrib/ncsw/Peripherals/FM/Port/
H A Dfm_port.c5774 void PrsEnable(t_Handle p_FmPcd);
5775 void PrsDisable(t_Handle p_FmPcd);
5776 int PrsIsEnabled(t_Handle p_FmPcd);