Home
last modified time | relevance | path

Searched refs:pool_type (Results 1 – 5 of 5) sorted by relevance

/linux-4.1.27/drivers/staging/fsl-mc/bus/
Dmc-allocator.c33 pool_type, in fsl_mc_resource_pool_add_device()
43 if (WARN_ON(pool_type < 0 || pool_type >= FSL_MC_NUM_POOL_TYPES)) in fsl_mc_resource_pool_add_device()
50 res_pool = &mc_bus->resource_pools[pool_type]; in fsl_mc_resource_pool_add_device()
51 if (WARN_ON(res_pool->type != pool_type)) in fsl_mc_resource_pool_add_device()
74 resource->type = pool_type; in fsl_mc_resource_pool_add_device()
167 *pool_type) in object_type_to_pool_type()
173 *pool_type = i; in object_type_to_pool_type()
182 enum fsl_mc_pool_type pool_type, in fsl_mc_resource_allocate() argument
195 if (WARN_ON(pool_type < 0 || pool_type >= FSL_MC_NUM_POOL_TYPES)) in fsl_mc_resource_allocate()
198 res_pool = &mc_bus->resource_pools[pool_type]; in fsl_mc_resource_allocate()
[all …]
Ddprc-driver.c193 int pool_type; in dprc_init_all_resource_pools() local
196 for (pool_type = 0; pool_type < FSL_MC_NUM_POOL_TYPES; pool_type++) { in dprc_init_all_resource_pools()
198 &mc_bus->resource_pools[pool_type]; in dprc_init_all_resource_pools()
200 res_pool->type = pool_type; in dprc_init_all_resource_pools()
210 enum fsl_mc_pool_type pool_type) in dprc_cleanup_resource_pool() argument
216 &mc_bus->resource_pools[pool_type]; in dprc_cleanup_resource_pool()
219 WARN_ON(res_pool->type != pool_type); in dprc_cleanup_resource_pool()
234 int pool_type; in dprc_cleanup_all_resource_pools() local
236 for (pool_type = 0; pool_type < FSL_MC_NUM_POOL_TYPES; pool_type++) in dprc_cleanup_all_resource_pools()
237 dprc_cleanup_resource_pool(mc_bus_dev, pool_type); in dprc_cleanup_all_resource_pools()
/linux-4.1.27/drivers/gpu/drm/ttm/
Dttm_page_alloc_dma.c67 enum pool_type { enum
105 enum pool_type type;
353 static enum pool_type ttm_to_type(int flags, enum ttm_caching_state cstate) in ttm_to_type()
355 enum pool_type type = IS_UNDEFINED; in ttm_to_type()
515 static void ttm_dma_free_pool(struct device *dev, enum pool_type type) in ttm_dma_free_pool()
572 enum pool_type type) in ttm_dma_pool_init()
575 enum pool_type t[] = {IS_WC, IS_UC, IS_CACHED, IS_DMA32, IS_UNDEFINED}; in ttm_dma_pool_init()
648 enum pool_type type) in ttm_dma_find_pool()
878 enum pool_type type; in ttm_dma_populate()
937 enum pool_type type; in ttm_dma_unpopulate()
/linux-4.1.27/drivers/staging/fsl-mc/include/
Dmc-private.h110 enum fsl_mc_pool_type pool_type,
Dmc.h194 enum fsl_mc_pool_type pool_type,