Searched refs:pstMbPoolCfg (Results 1 – 2 of 2) sorted by relevance
46 MB_POOL_CONFIG_S pstMbPoolCfg; in unit_test_mpi_mb() local54 memset(&pstMbPoolCfg, 0, sizeof(MB_POOL_CONFIG_S)); in unit_test_mpi_mb()55 pstMbPoolCfg.u64MBSize = pstCtx->s32MbSize; in unit_test_mpi_mb()56 pstMbPoolCfg.u32MBCnt = pstCtx->s32MbCount; in unit_test_mpi_mb()57 pstMbPoolCfg.bPreAlloc = pstCtx->bPreAlloc; in unit_test_mpi_mb()58 pstMbPoolCfg.enRemapMode = (MB_REMAP_MODE_E)pstCtx->s32RemapMode; in unit_test_mpi_mb()59 pstMbPoolCfg.enAllocType = (MB_ALLOC_TYPE_E)pstCtx->s32AllocType; in unit_test_mpi_mb()63 MB_POOL pool = RK_MPI_MB_CreatePool(&pstMbPoolCfg); in unit_test_mpi_mb()74 MB_BLK mb = RK_MPI_MB_GetMB(i, pstMbPoolCfg.u64MBSize, RK_FALSE); in unit_test_mpi_mb()80 if (pstMbPoolCfg.enDmaType == MB_DMA_TYPE_CMA in unit_test_mpi_mb()[all …]
15 MB_POOL RK_MPI_MB_CreatePool(MB_POOL_CONFIG_S *pstMbPoolCfg);