Searched refs:dsSize (Results 1 – 2 of 2) sorted by relevance
| /f-stack/freebsd/contrib/ncsw/Peripherals/QM/ |
| H A D | qm.c | 778 LOG2(dsSize, exp); in QM_Init() 781 if (dsSize < (4*KILOBYTE)) in QM_Init() 783 dsSize = (4*KILOBYTE); in QM_Init() 784 LOG2(dsSize, exp); in QM_Init() 786 p_Qm->p_FqdBase = XX_MallocSmart(dsSize, (int)p_QmDriverParams->fqdMemPartitionId, dsSize); in QM_Init() 793 for (i=0; i<dsSize; i+=64) in QM_Init() 804 LOG2(dsSize, exp); in QM_Init() 807 if (dsSize < (4*KILOBYTE)) in QM_Init() 809 dsSize = (4*KILOBYTE); in QM_Init() 810 LOG2(dsSize, exp); in QM_Init() [all …]
|
| /f-stack/freebsd/contrib/ncsw/Peripherals/BM/ |
| H A D | bm.c | 529 uint32_t dsSize, exp; in BM_Init() local 537 dsSize = (uint32_t)(p_Bm->p_BmDriverParams->totalNumOfBuffers * (FBPR_ENTRY_SIZE / 8)); in BM_Init() 538 LOG2(dsSize, exp); in BM_Init() 539 if (!POWER_OF_2(dsSize)) (exp++); in BM_Init() 540 dsSize = (uint32_t)(1 << exp); in BM_Init() 541 if (dsSize < (4*KILOBYTE)) in BM_Init() 543 dsSize = (4*KILOBYTE); in BM_Init() 544 LOG2(dsSize, exp); in BM_Init() 546 …p_Bm->p_FbprBase = XX_MallocSmart(dsSize, (int)p_Bm->p_BmDriverParams->fbprMemPartitionId, dsSize); in BM_Init()
|