Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/bus/fsl-mc/
Dfsl-mc-allocator.c33 pool_type, in fsl_mc_resource_pool_add_device()
42 if (pool_type < 0 || pool_type >= FSL_MC_NUM_POOL_TYPES) in fsl_mc_resource_pool_add_device()
49 res_pool = &mc_bus->resource_pools[pool_type]; in fsl_mc_resource_pool_add_device()
50 if (res_pool->type != pool_type) in fsl_mc_resource_pool_add_device()
72 resource->type = pool_type; in fsl_mc_resource_pool_add_device()
161 *pool_type) in object_type_to_pool_type()
167 *pool_type = i; in object_type_to_pool_type()
176 enum fsl_mc_pool_type pool_type, in fsl_mc_resource_allocate() argument
188 if (pool_type < 0 || pool_type >= FSL_MC_NUM_POOL_TYPES) in fsl_mc_resource_allocate()
191 res_pool = &mc_bus->resource_pools[pool_type]; in fsl_mc_resource_allocate()
[all …]
Dfsl-mc-private.h585 enum fsl_mc_pool_type pool_type,
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/include/hmm/
Dhmm.h35 int hmm_pool_register(unsigned int pool_size, enum hmm_pool_type pool_type);
36 void hmm_pool_unregister(enum hmm_pool_type pool_type);
/kernel/linux/linux-5.10/net/rds/
Dib_rdma.c209 if (pool->pool_type == RDS_IB_MR_8K_POOL) in rds_ib_reuse_mr()
352 if (pool->pool_type == RDS_IB_MR_8K_POOL) in rds_ib_flush_mr_pool()
456 if (pool->pool_type == RDS_IB_MR_8K_POOL) in rds_ib_try_reuse_ibmr()
464 if (pool->pool_type == RDS_IB_MR_8K_POOL) in rds_ib_try_reuse_ibmr()
644 int pool_type) in rds_ib_create_mr_pool() argument
652 pool->pool_type = pool_type; in rds_ib_create_mr_pool()
661 if (pool_type == RDS_IB_MR_1M_POOL) { in rds_ib_create_mr_pool()
Dib_frmr.c87 if (pool->pool_type == RDS_IB_MR_8K_POOL) in rds_ib_alloc_frmr()
252 if (ibmr->pool->pool_type == RDS_IB_MR_8K_POOL) in rds_ib_map_frmr()
387 if (ibmr->pool->pool_type == RDS_IB_MR_8K_POOL) in rds_ib_unreg_frmr()
Dib_mr.h90 unsigned int pool_type; member
/kernel/linux/linux-5.10/drivers/gpu/drm/ttm/
Dttm_page_alloc_dma.c60 enum pool_type { enum
98 enum pool_type type;
327 static enum pool_type ttm_to_type(int flags, enum ttm_caching_state cstate) in ttm_to_type()
329 enum pool_type type = IS_UNDEFINED; in ttm_to_type()
497 static void ttm_dma_free_pool(struct device *dev, enum pool_type type) in ttm_dma_free_pool()
554 enum pool_type type) in ttm_dma_pool_init()
557 enum pool_type t[] = {IS_WC, IS_UC, IS_CACHED, IS_DMA32, IS_HUGE}; in ttm_dma_pool_init()
636 enum pool_type type) in ttm_dma_find_pool()
893 enum pool_type type; in ttm_dma_populate()
997 enum pool_type type; in ttm_dma_unpopulate()
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/
Dnfp_shared_buf.c48 pool_info->pool_type = le32_to_cpu(get_data.pool_type); in nfp_shared_buf_pool_get()
Dnfp_abi.h95 __le32 pool_type; member
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/hmm/
Dhmm.c675 int hmm_pool_register(unsigned int pool_size, enum hmm_pool_type pool_type) in hmm_pool_register() argument
678 switch (pool_type) { in hmm_pool_register()
696 void hmm_pool_unregister(enum hmm_pool_type pool_type) in hmm_pool_unregister() argument
699 switch (pool_type) { in hmm_pool_unregister()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_job.c95 enum amdgpu_ib_pool_type pool_type, in amdgpu_job_alloc_with_ib() argument
104 r = amdgpu_ib_get(adev, NULL, size, pool_type, &(*job)->ibs[0]); in amdgpu_job_alloc_with_ib()
Damdgpu_ib.c64 unsigned size, enum amdgpu_ib_pool_type pool_type, in amdgpu_ib_get() argument
70 r = amdgpu_sa_bo_new(&adev->ib_pools[pool_type], in amdgpu_ib_get()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dcore.h315 enum devlink_sb_pool_type pool_type,
319 enum devlink_sb_pool_type pool_type,
331 enum devlink_sb_pool_type pool_type,
Dspectrum_buffers.c1338 pool_info->pool_type = (enum devlink_sb_pool_type) dir; in mlxsw_sp_sb_pool_get()
1455 enum devlink_sb_pool_type pool_type, in mlxsw_sp_sb_tc_pool_bind_get() argument
1463 enum mlxsw_reg_sbxx_dir dir = (enum mlxsw_reg_sbxx_dir) pool_type; in mlxsw_sp_sb_tc_pool_bind_get()
1475 enum devlink_sb_pool_type pool_type, in mlxsw_sp_sb_tc_pool_bind_set() argument
1485 enum mlxsw_reg_sbxx_dir dir = (enum mlxsw_reg_sbxx_dir) pool_type; in mlxsw_sp_sb_tc_pool_bind_set()
1729 enum devlink_sb_pool_type pool_type, in mlxsw_sp_sb_occ_tc_port_bind_get() argument
1737 enum mlxsw_reg_sbxx_dir dir = (enum mlxsw_reg_sbxx_dir) pool_type; in mlxsw_sp_sb_occ_tc_port_bind_get()
Dspectrum.h517 enum devlink_sb_pool_type pool_type,
521 enum devlink_sb_pool_type pool_type,
533 enum devlink_sb_pool_type pool_type,
Dcore.c1289 enum devlink_sb_pool_type pool_type, in mlxsw_devlink_sb_tc_pool_bind_get() argument
1300 tc_index, pool_type, in mlxsw_devlink_sb_tc_pool_bind_get()
1307 enum devlink_sb_pool_type pool_type, in mlxsw_devlink_sb_tc_pool_bind_set() argument
1319 tc_index, pool_type, in mlxsw_devlink_sb_tc_pool_bind_set()
1364 enum devlink_sb_pool_type pool_type, in mlxsw_devlink_sb_occ_tc_port_bind_get() argument
1376 pool_type, p_cur, p_max); in mlxsw_devlink_sb_occ_tc_port_bind_get()
/kernel/linux/linux-5.10/include/net/
Ddevlink.h141 enum devlink_sb_pool_type pool_type; member
1197 enum devlink_sb_pool_type pool_type,
1202 enum devlink_sb_pool_type pool_type,
1215 enum devlink_sb_pool_type pool_type,
/kernel/linux/linux-5.10/net/core/
Ddevlink.c319 enum devlink_sb_pool_type pool_type, in devlink_sb_tc_index_get_from_attrs() argument
328 if (pool_type == DEVLINK_SB_POOL_TYPE_INGRESS && in devlink_sb_tc_index_get_from_attrs()
331 if (pool_type == DEVLINK_SB_POOL_TYPE_EGRESS && in devlink_sb_tc_index_get_from_attrs()
341 enum devlink_sb_pool_type pool_type, in devlink_sb_tc_index_get_from_info() argument
345 pool_type, p_tc_index); in devlink_sb_tc_index_get_from_info()
1266 if (nla_put_u8(msg, DEVLINK_ATTR_SB_POOL_TYPE, pool_info.pool_type)) in devlink_nl_sb_pool_fill()
1644 enum devlink_sb_pool_type pool_type, in devlink_nl_sb_tc_pool_bind_fill() argument
1655 tc_index, pool_type, in devlink_nl_sb_tc_pool_bind_fill()
1672 if (nla_put_u8(msg, DEVLINK_ATTR_SB_POOL_TYPE, pool_type)) in devlink_nl_sb_tc_pool_bind_fill()
1685 tc_index, pool_type, in devlink_nl_sb_tc_pool_bind_fill()
[all …]
/kernel/linux/linux-5.10/include/linux/fsl/
Dmc.h419 enum fsl_mc_pool_type pool_type,