Home
last modified time | relevance | path

Searched refs:numOfProfiles (Results 1 – 9 of 9) sorted by relevance

/freebsd/sys/contrib/ncsw/Peripherals/FM/Pcd/
H A Dfm_plcr.c532 static t_Error AllocSharedProfiles(t_FmPcd *p_FmPcd, uint16_t numOfProfiles, uint16_t *profilesIds) in AllocSharedProfiles() argument
540 if (!numOfProfiles) in AllocSharedProfiles()
543 if (numOfProfiles>FM_PCD_PLCR_NUM_ENTRIES) in AllocSharedProfiles()
555 if (profilesFound == numOfProfiles) in AllocSharedProfiles()
559 if (profilesFound != numOfProfiles) in AllocSharedProfiles()
575 static void FreeSharedProfiles(t_FmPcd *p_FmPcd, uint16_t numOfProfiles, uint16_t *profilesIds) in FreeSharedProfiles() argument
581 ASSERT_COND(numOfProfiles); in FreeSharedProfiles()
583 for (i=0; i < numOfProfiles; i++) in FreeSharedProfiles()
850 uint16_t PlcrAllocProfilesForPartition(t_FmPcd *p_FmPcd, uint16_t base, uint16_t numOfProfiles, uin… in PlcrAllocProfilesForPartition() argument
859 if (!numOfProfiles) in PlcrAllocProfilesForPartition()
[all …]
H A Dfm_pcd.h227 uint16_t numOfProfiles; member
263 uint16_t numOfProfiles; member
428 uint16_t PlcrAllocProfilesForPartition(t_FmPcd *p_FmPcd, uint16_t base, uint16_t numOfProfiles, …
429 void PlcrFreeProfilesForPartition(t_FmPcd *p_FmPcd, uint16_t base, uint16_t numOfProfiles, u…
432 uint16_t numOfProfiles,
H A Dfm_kg.c1017 uint16_t profileId=0, numOfProfiles=0, relativeProfileId; in BuildSchemeRegs() local
1087 numOfProfiles = 1; in BuildSchemeRegs()
1093numOfProfiles = p_SchemeParams->kgNextEngineParams.plcrProfile.profileSelect.indirectProfile.numOf… in BuildSchemeRegs()
1125 numOfProfiles = 1; in BuildSchemeRegs()
1131numOfProfiles = p_SchemeParams->kgNextEngineParams.cc.plcrProfile.profileSelect.indirectProfile.nu… in BuildSchemeRegs()
1159 p_Scheme->numOfProfiles = numOfProfiles; in BuildSchemeRegs()
1195 if (!numOfProfiles || !POWER_OF_2(numOfProfiles)) in BuildSchemeRegs()
1200 ppcTmp |= ((uint32_t)(numOfProfiles-1) << KG_SCH_PP_MASK_SHIFT); in BuildSchemeRegs()
1229 if (!numOfProfiles || !POWER_OF_2(numOfProfiles)) in BuildSchemeRegs()
1234 ppcTmp |= ((uint32_t)(numOfProfiles-1) << KG_SCH_PP_MASK_SHIFT); in BuildSchemeRegs()
[all …]
/freebsd/sys/contrib/ncsw/inc/Peripherals/
H A Dfm_port_ext.h2294 …uint8_t numOfProfiles; /**< Number of Virtual Storage Profiles; must be a power of 2 … member
2391 t_Error FM_PORT_PcdPlcrAllocProfiles(t_Handle h_FmPort, uint16_t numOfProfiles);
H A Dfm_pcd_ext.h1661 uint8_t numOfProfiles; /**< Range of profiles starting at base */ member
1691 uint8_t numOfProfiles; /**< Range of profiles starting at base. */ member
/freebsd/sys/contrib/ncsw/Peripherals/FM/
H A Dfm_ncsw.c656 static uint8_t AllocVSPsForPartition(t_Handle h_Fm, uint8_t base, uint8_t numOfProfiles, uint8_t g… in AllocVSPsForPartition() argument
663 if (!numOfProfiles) in AllocVSPsForPartition()
666 if ((numOfProfiles > FM_VSP_MAX_NUM_OF_ENTRIES) || in AllocVSPsForPartition()
667 (base + numOfProfiles > FM_VSP_MAX_NUM_OF_ENTRIES)) in AllocVSPsForPartition()
709 for (i = base; i < base + numOfProfiles; i++) in AllocVSPsForPartition()
715 if (profilesFound == numOfProfiles) in AllocVSPsForPartition()
716 for (i = base; i<base + numOfProfiles; i++) in AllocVSPsForPartition()
728 static void FreeVSPsForPartition(t_Handle h_Fm, uint8_t base, uint8_t numOfProfiles, uint8_t guest… in FreeVSPsForPartition() argument
771 for (i=base; i<numOfProfiles; i++) in FreeVSPsForPartition()
1533 p_Fm->p_FmSp->portsMapping[swPortIndex].numOfProfiles = numOfVSPs; in FmVSPAllocForPort()
[all …]
H A Dfm.h567 uint16_t numOfProfiles; member
/freebsd/sys/contrib/ncsw/Peripherals/FM/Port/
H A Dfm_port.c4433 SANITY_CHECK_RETURN_ERROR(p_VSPParams->numOfProfiles, E_INVALID_VALUE); in FM_PORT_VSPAlloc()
4436 p_VSPParams->dfltRelativeId < p_VSPParams->numOfProfiles, in FM_PORT_VSPAlloc()
4453 p_FmPort->portId, p_VSPParams->numOfProfiles); in FM_PORT_VSPAlloc()
4517 t_Error FM_PORT_PcdPlcrAllocProfiles(t_Handle h_FmPort, uint16_t numOfProfiles) in FM_PORT_PcdPlcrAllocProfiles() argument
4531 if (numOfProfiles) in FM_PORT_PcdPlcrAllocProfiles()
4534 p_FmPort->hardwarePortId, numOfProfiles); in FM_PORT_PcdPlcrAllocProfiles()
/freebsd/sys/contrib/ncsw/Peripherals/FM/inc/
H A Dfm_common.h743 t_Error FmPcdPlcrAllocProfiles(t_Handle h_FmPcd, uint8_t hardwarePortId, uint16_t numOfProfiles