Searched refs:pool_type (Results 1 - 6 of 6) sorted by relevance

/linux-4.4.14/drivers/staging/fsl-mc/bus/
H A Dmc-allocator.c24 * @pool_type: MC bus pool type
33 pool_type, fsl_mc_resource_pool_add_device()
43 if (WARN_ON(pool_type < 0 || pool_type >= FSL_MC_NUM_POOL_TYPES)) fsl_mc_resource_pool_add_device()
50 res_pool = &mc_bus->resource_pools[pool_type]; fsl_mc_resource_pool_add_device()
51 if (WARN_ON(res_pool->type != pool_type)) fsl_mc_resource_pool_add_device()
74 resource->type = pool_type; fsl_mc_resource_pool_add_device()
167 *pool_type) object_type_to_pool_type()
173 *pool_type = i; object_type_to_pool_type()
182 enum fsl_mc_pool_type pool_type, fsl_mc_resource_allocate()
195 if (WARN_ON(pool_type < 0 || pool_type >= FSL_MC_NUM_POOL_TYPES)) fsl_mc_resource_allocate()
198 res_pool = &mc_bus->resource_pools[pool_type]; fsl_mc_resource_allocate()
212 fsl_mc_pool_type_strings[pool_type]); fsl_mc_resource_allocate()
216 if (WARN_ON(resource->type != pool_type)) fsl_mc_resource_allocate()
396 * @pool_type: MC bus resource pool type
404 * NOTE: pool_type must be different from FSL_MC_POOL_MCP, since MC
409 enum fsl_mc_pool_type pool_type, fsl_mc_object_allocate()
425 if (WARN_ON(pool_type == FSL_MC_POOL_DPMCP)) fsl_mc_object_allocate()
430 error = fsl_mc_resource_allocate(mc_bus, pool_type, &resource); fsl_mc_object_allocate()
474 enum fsl_mc_pool_type pool_type; fsl_mc_allocator_probe() local
487 error = object_type_to_pool_type(mc_dev->obj_desc.type, &pool_type); fsl_mc_allocator_probe()
491 error = fsl_mc_resource_pool_add_device(mc_bus, pool_type, mc_dev); fsl_mc_allocator_probe()
30 fsl_mc_resource_pool_add_device(struct fsl_mc_bus *mc_bus, enum fsl_mc_pool_type pool_type, struct fsl_mc_device *mc_dev) fsl_mc_resource_pool_add_device() argument
165 object_type_to_pool_type(const char *object_type, enum fsl_mc_pool_type *pool_type) object_type_to_pool_type() argument
181 fsl_mc_resource_allocate(struct fsl_mc_bus *mc_bus, enum fsl_mc_pool_type pool_type, struct fsl_mc_resource **new_resource) fsl_mc_resource_allocate() argument
408 fsl_mc_object_allocate(struct fsl_mc_device *mc_dev, enum fsl_mc_pool_type pool_type, struct fsl_mc_device **new_mc_adev) fsl_mc_object_allocate() argument
H A Ddprc-driver.c193 int pool_type; dprc_init_all_resource_pools() local
196 for (pool_type = 0; pool_type < FSL_MC_NUM_POOL_TYPES; pool_type++) { dprc_init_all_resource_pools()
198 &mc_bus->resource_pools[pool_type]; dprc_init_all_resource_pools()
200 res_pool->type = pool_type; dprc_init_all_resource_pools()
210 enum fsl_mc_pool_type pool_type) dprc_cleanup_resource_pool()
216 &mc_bus->resource_pools[pool_type]; dprc_cleanup_resource_pool()
219 WARN_ON(res_pool->type != pool_type); dprc_cleanup_resource_pool()
234 int pool_type; dprc_cleanup_all_resource_pools() local
236 for (pool_type = 0; pool_type < FSL_MC_NUM_POOL_TYPES; pool_type++) dprc_cleanup_all_resource_pools()
237 dprc_cleanup_resource_pool(mc_bus_dev, pool_type); dprc_cleanup_all_resource_pools()
209 dprc_cleanup_resource_pool(struct fsl_mc_device *mc_bus_dev, enum fsl_mc_pool_type pool_type) dprc_cleanup_resource_pool() argument
/linux-4.4.14/net/rds/
H A Dib_rdma.c68 unsigned int pool_type; member in struct:rds_ib_mr_pool
239 int pool_type) rds_ib_create_mr_pool()
247 pool->pool_type = pool_type; rds_ib_create_mr_pool()
255 if (pool_type == RDS_IB_MR_1M_POOL) { rds_ib_create_mr_pool()
260 /* pool_type == RDS_IB_MR_8K_POOL */ rds_ib_create_mr_pool()
337 if (pool->pool_type == RDS_IB_MR_8K_POOL) rds_ib_alloc_fmr()
363 if (pool->pool_type == RDS_IB_MR_8K_POOL) rds_ib_alloc_fmr()
371 if (pool->pool_type == RDS_IB_MR_8K_POOL) rds_ib_alloc_fmr()
400 if (pool->pool_type == RDS_IB_MR_8K_POOL) rds_ib_alloc_fmr()
492 if (ibmr->pool->pool_type == RDS_IB_MR_8K_POOL) rds_ib_map_fmr()
638 if (pool->pool_type == RDS_IB_MR_8K_POOL) rds_ib_flush_mr_pool()
704 if (ibmr->pool->pool_type == RDS_IB_MR_8K_POOL) rds_ib_flush_mr_pool()
238 rds_ib_create_mr_pool(struct rds_ib_device *rds_ibdev, int pool_type) rds_ib_create_mr_pool() argument
/linux-4.4.14/drivers/gpu/drm/ttm/
H A Dttm_page_alloc_dma.c67 enum pool_type { enum
105 enum pool_type type;
356 static enum pool_type ttm_to_type(int flags, enum ttm_caching_state cstate) ttm_to_type()
358 enum pool_type type = IS_UNDEFINED; ttm_to_type()
518 static void ttm_dma_free_pool(struct device *dev, enum pool_type type) ttm_dma_free_pool()
575 enum pool_type type) ttm_dma_pool_init()
578 enum pool_type t[] = {IS_WC, IS_UC, IS_CACHED, IS_DMA32, IS_UNDEFINED}; ttm_dma_pool_init()
651 enum pool_type type) ttm_dma_find_pool()
881 enum pool_type type; ttm_dma_populate()
940 enum pool_type type; ttm_dma_unpopulate()
/linux-4.4.14/drivers/staging/fsl-mc/include/
H A Dmc-private.h113 enum fsl_mc_pool_type pool_type,
H A Dmc.h196 enum fsl_mc_pool_type pool_type,

Completed in 141 milliseconds