Home
last modified time | relevance | path

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

/Linux-v4.19/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.h535 enum fsl_mc_pool_type pool_type,
/Linux-v4.19/net/rds/
Dib_rdma.c206 if (pool->pool_type == RDS_IB_MR_8K_POOL) in rds_ib_reuse_mr()
361 if (pool->pool_type == RDS_IB_MR_8K_POOL) in rds_ib_flush_mr_pool()
471 if (pool->pool_type == RDS_IB_MR_8K_POOL) in rds_ib_try_reuse_ibmr()
479 if (pool->pool_type == RDS_IB_MR_8K_POOL) in rds_ib_try_reuse_ibmr()
602 int pool_type) in rds_ib_create_mr_pool() argument
610 pool->pool_type = pool_type; in rds_ib_create_mr_pool()
618 if (pool_type == RDS_IB_MR_1M_POOL) { in rds_ib_create_mr_pool()
Dib_fmr.c73 if (pool->pool_type == RDS_IB_MR_8K_POOL) in rds_ib_alloc_fmr()
175 if (ibmr->pool->pool_type == RDS_IB_MR_8K_POOL) in rds_ib_map_fmr()
237 if (ibmr->pool->pool_type == RDS_IB_MR_8K_POOL) in rds_ib_unreg_fmr()
Dib_frmr.c69 if (pool->pool_type == RDS_IB_MR_8K_POOL) in rds_ib_alloc_frmr()
215 if (ibmr->pool->pool_type == RDS_IB_MR_8K_POOL) in rds_ib_map_frmr()
320 if (ibmr->pool->pool_type == RDS_IB_MR_8K_POOL) in rds_ib_unreg_frmr()
Dib_mr.h89 unsigned int pool_type; member
/Linux-v4.19/drivers/gpu/drm/ttm/
Dttm_page_alloc_dma.c61 enum pool_type { enum
99 enum pool_type type;
324 static enum pool_type ttm_to_type(int flags, enum ttm_caching_state cstate) in ttm_to_type()
326 enum pool_type type = IS_UNDEFINED; in ttm_to_type()
500 static void ttm_dma_free_pool(struct device *dev, enum pool_type type) in ttm_dma_free_pool()
557 enum pool_type type) in ttm_dma_pool_init()
560 enum pool_type t[] = {IS_WC, IS_UC, IS_CACHED, IS_DMA32, IS_HUGE}; in ttm_dma_pool_init()
639 enum pool_type type) in ttm_dma_find_pool()
896 enum pool_type type; in ttm_dma_populate()
1000 enum pool_type type; in ttm_dma_unpopulate()
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/
Dnfp_shared_buf.c79 pool_info->pool_type = le32_to_cpu(get_data.pool_type); in nfp_shared_buf_pool_get()
Dnfp_abi.h126 __le32 pool_type; member
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_buffers.c665 pool_info->pool_type = (enum devlink_sb_pool_type) dir; in mlxsw_sp_sb_pool_get()
762 enum devlink_sb_pool_type pool_type, in mlxsw_sp_sb_tc_pool_bind_get() argument
770 enum mlxsw_reg_sbxx_dir dir = (enum mlxsw_reg_sbxx_dir) pool_type; in mlxsw_sp_sb_tc_pool_bind_get()
782 enum devlink_sb_pool_type pool_type, in mlxsw_sp_sb_tc_pool_bind_set() argument
790 enum mlxsw_reg_sbxx_dir dir = (enum mlxsw_reg_sbxx_dir) pool_type; in mlxsw_sp_sb_tc_pool_bind_set()
1009 enum devlink_sb_pool_type pool_type, in mlxsw_sp_sb_occ_tc_port_bind_get() argument
1017 enum mlxsw_reg_sbxx_dir dir = (enum mlxsw_reg_sbxx_dir) pool_type; in mlxsw_sp_sb_occ_tc_port_bind_get()
Dcore.h261 enum devlink_sb_pool_type pool_type,
265 enum devlink_sb_pool_type pool_type,
276 enum devlink_sb_pool_type pool_type,
Dspectrum.h295 enum devlink_sb_pool_type pool_type,
299 enum devlink_sb_pool_type pool_type,
310 enum devlink_sb_pool_type pool_type,
Dcore.c843 enum devlink_sb_pool_type pool_type, in mlxsw_devlink_sb_tc_pool_bind_get() argument
854 tc_index, pool_type, in mlxsw_devlink_sb_tc_pool_bind_get()
861 enum devlink_sb_pool_type pool_type, in mlxsw_devlink_sb_tc_pool_bind_set() argument
872 tc_index, pool_type, in mlxsw_devlink_sb_tc_pool_bind_set()
917 enum devlink_sb_pool_type pool_type, in mlxsw_devlink_sb_occ_tc_port_bind_get() argument
929 pool_type, p_cur, p_max); in mlxsw_devlink_sb_occ_tc_port_bind_get()
/Linux-v4.19/include/net/
Ddevlink.h61 enum devlink_sb_pool_type pool_type; member
433 enum devlink_sb_pool_type pool_type,
438 enum devlink_sb_pool_type pool_type,
450 enum devlink_sb_pool_type pool_type,
/Linux-v4.19/net/core/
Ddevlink.c300 enum devlink_sb_pool_type pool_type, in devlink_sb_tc_index_get_from_attrs() argument
309 if (pool_type == DEVLINK_SB_POOL_TYPE_INGRESS && in devlink_sb_tc_index_get_from_attrs()
312 if (pool_type == DEVLINK_SB_POOL_TYPE_EGRESS && in devlink_sb_tc_index_get_from_attrs()
322 enum devlink_sb_pool_type pool_type, in devlink_sb_tc_index_get_from_info() argument
326 pool_type, p_tc_index); in devlink_sb_tc_index_get_from_info()
928 if (nla_put_u8(msg, DEVLINK_ATTR_SB_POOL_TYPE, pool_info.pool_type)) in devlink_nl_sb_pool_fill()
1271 enum devlink_sb_pool_type pool_type, in devlink_nl_sb_tc_pool_bind_fill() argument
1282 tc_index, pool_type, in devlink_nl_sb_tc_pool_bind_fill()
1299 if (nla_put_u8(msg, DEVLINK_ATTR_SB_POOL_TYPE, pool_type)) in devlink_nl_sb_tc_pool_bind_fill()
1312 tc_index, pool_type, in devlink_nl_sb_tc_pool_bind_fill()
[all …]
/Linux-v4.19/include/linux/fsl/
Dmc.h384 enum fsl_mc_pool_type pool_type,