Home
last modified time | relevance | path

Searched refs:numOfSets (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/contrib/ncsw/Peripherals/FM/Pcd/
H A Dfm_manip.c2049 uint32_t waySize, numOfSets, numOfEntries; in CreateReassTable() local
2132 numOfSets = numOfEntries / numOfWays; in CreateReassTable()
2135 NEXT_POWER_OF_2(numOfSets, numOfSets); in CreateReassTable()
2138 (uint16_t)(numOfSets - 1)); in CreateReassTable()
2144 autoLearnHashTblSize = numOfSets * setSize; in CreateReassTable()
2172 … PTR_TO_UINT(XX_MallocSmart((uint32_t)(numOfSets * 4), p_Manip->reassmParams.dataMemId, 4)); in CreateReassTable()
2181 MemSet8(UINT_TO_PTR(*p_AutoLearnSetLockTblAddr), 0, (numOfSets * 4)); in CreateReassTable()
3092 uint8_t numOfSets; in CapwapReassembly() local
3163 numOfSets = (uint8_t)((p_ManipParams->maxNumFramesInProcess * 2) / i); in CapwapReassembly()
3164 LOG2(numOfSets, log2Num); in CapwapReassembly()
H A Dfm_cc.c7121 uint16_t numOfSets, numOfWays, countMask, onesCount = 0; in FM_PCD_HashTableSet() local
7183 numOfSets = (uint16_t)(1 << onesCount); in FM_PCD_HashTableSet()
7184 numOfWays = (uint16_t)DIV_CEIL(p_Param->maxNumOfKeys, numOfSets); in FM_PCD_HashTableSet()
7186 if (p_Param->maxNumOfKeys % numOfSets) in FM_PCD_HashTableSet()
7235 for (i = 0; i < numOfSets; i++) in FM_PCD_HashTableSet()
7258 if (i < numOfSets) in FM_PCD_HashTableSet()
7284 p_IndxHashCcNodeParam->keysParams.maxNumOfKeys = numOfSets; in FM_PCD_HashTableSet()
7289 p_IndxHashCcNodeParam->keysParams.numOfKeys = numOfSets; in FM_PCD_HashTableSet()