Searched refs:dsSize (Results 1 - 2 of 2) sorted by relevance
/freebsd-12-stable/sys/contrib/ncsw/Peripherals/QM/ |
H A D | qm.c | 766 uint32_t dsSize, exp, i; local 777 dsSize = (uint32_t)(p_QmDriverParams->totalNumOfFqids * FQD_ENTRY_SIZE); 778 LOG2(dsSize, exp); 779 if (!POWER_OF_2(dsSize)) (exp++); 780 dsSize = (uint32_t)(1 << exp); 781 if (dsSize < (4*KILOBYTE)) 783 dsSize = (4*KILOBYTE); 784 LOG2(dsSize, exp); 786 p_Qm->p_FqdBase = XX_MallocSmart(dsSize, (int)p_QmDriverParams->fqdMemPartitionId, dsSize); [all...] |
/freebsd-12-stable/sys/contrib/ncsw/Peripherals/BM/ |
H A D | bm.c | 529 uint32_t dsSize, exp; local 537 dsSize = (uint32_t)(p_Bm->p_BmDriverParams->totalNumOfBuffers * (FBPR_ENTRY_SIZE / 8)); 538 LOG2(dsSize, exp); 539 if (!POWER_OF_2(dsSize)) (exp++); 540 dsSize = (uint32_t)(1 << exp); 541 if (dsSize < (4*KILOBYTE)) 543 dsSize = (4*KILOBYTE); 544 LOG2(dsSize, exp); 546 p_Bm->p_FbprBase = XX_MallocSmart(dsSize, (int)p_Bm->p_BmDriverParams->fbprMemPartitionId, dsSize); [all...] |
Completed in 53 milliseconds