Home
last modified time | relevance | path

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

/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.h641 enum fsl_mc_pool_type pool_type,
/drivers/net/ethernet/mscc/
Docelot_devlink.c517 pool_info->pool_type = DEVLINK_SB_POOL_TYPE_INGRESS; in ocelot_sb_pool_get()
519 pool_info->pool_type = DEVLINK_SB_POOL_TYPE_EGRESS; in ocelot_sb_pool_get()
646 enum devlink_sb_pool_type pool_type, in ocelot_sb_tc_pool_bind_get() argument
653 if (pool_type == DEVLINK_SB_POOL_TYPE_INGRESS) in ocelot_sb_tc_pool_bind_get()
659 if (pool_type == DEVLINK_SB_POOL_TYPE_INGRESS) in ocelot_sb_tc_pool_bind_get()
671 if (pool_type == DEVLINK_SB_POOL_TYPE_INGRESS) in ocelot_sb_tc_pool_bind_get()
683 enum devlink_sb_pool_type pool_type, in ocelot_sb_tc_pool_bind_set() argument
692 pool_type != DEVLINK_SB_POOL_TYPE_INGRESS) in ocelot_sb_tc_pool_bind_set()
695 pool_type != DEVLINK_SB_POOL_TYPE_EGRESS) in ocelot_sb_tc_pool_bind_set()
700 if (pool_type == DEVLINK_SB_POOL_TYPE_INGRESS) in ocelot_sb_tc_pool_bind_set()
[all …]
Docelot_net.c90 enum devlink_sb_pool_type pool_type, in ocelot_devlink_sb_tc_pool_bind_get() argument
97 pool_type, p_pool_index, in ocelot_devlink_sb_tc_pool_bind_get()
104 enum devlink_sb_pool_type pool_type, in ocelot_devlink_sb_tc_pool_bind_set() argument
112 pool_type, pool_index, threshold, in ocelot_devlink_sb_tc_pool_bind_set()
147 enum devlink_sb_pool_type pool_type, in ocelot_devlink_sb_occ_tc_port_bind_get() argument
154 tc_index, pool_type, in ocelot_devlink_sb_occ_tc_port_bind_get()
/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
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ib.c65 unsigned size, enum amdgpu_ib_pool_type pool_type, in amdgpu_ib_get() argument
71 r = amdgpu_sa_bo_new(&adev->ib_pools[pool_type], in amdgpu_ib_get()
Damdgpu_job.c117 enum amdgpu_ib_pool_type pool_type, in amdgpu_job_alloc_with_ib() argument
127 r = amdgpu_ib_get(adev, NULL, size, pool_type, &(*job)->ibs[0]); in amdgpu_job_alloc_with_ib()
/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_buffers.c1364 pool_info->pool_type = (enum devlink_sb_pool_type) dir; in mlxsw_sp_sb_pool_get()
1481 enum devlink_sb_pool_type pool_type, in mlxsw_sp_sb_tc_pool_bind_get() argument
1489 enum mlxsw_reg_sbxx_dir dir = (enum mlxsw_reg_sbxx_dir) pool_type; in mlxsw_sp_sb_tc_pool_bind_get()
1501 enum devlink_sb_pool_type pool_type, in mlxsw_sp_sb_tc_pool_bind_set() argument
1511 enum mlxsw_reg_sbxx_dir dir = (enum mlxsw_reg_sbxx_dir) pool_type; in mlxsw_sp_sb_tc_pool_bind_set()
1771 enum devlink_sb_pool_type pool_type, in mlxsw_sp_sb_occ_tc_port_bind_get() argument
1779 enum mlxsw_reg_sbxx_dir dir = (enum mlxsw_reg_sbxx_dir) pool_type; in mlxsw_sp_sb_occ_tc_port_bind_get()
Dcore.h375 enum devlink_sb_pool_type pool_type,
379 enum devlink_sb_pool_type pool_type,
391 enum devlink_sb_pool_type pool_type,
Dspectrum.h596 enum devlink_sb_pool_type pool_type,
600 enum devlink_sb_pool_type pool_type,
612 enum devlink_sb_pool_type pool_type,
Dcore.c1361 enum devlink_sb_pool_type pool_type, in mlxsw_devlink_sb_tc_pool_bind_get() argument
1372 tc_index, pool_type, in mlxsw_devlink_sb_tc_pool_bind_get()
1379 enum devlink_sb_pool_type pool_type, in mlxsw_devlink_sb_tc_pool_bind_set() argument
1391 tc_index, pool_type, in mlxsw_devlink_sb_tc_pool_bind_set()
1436 enum devlink_sb_pool_type pool_type, in mlxsw_devlink_sb_occ_tc_port_bind_get() argument
1448 pool_type, p_cur, p_max); in mlxsw_devlink_sb_occ_tc_port_bind_get()
/drivers/net/dsa/ocelot/
Dfelix.c1917 enum devlink_sb_pool_type pool_type, in felix_sb_tc_pool_bind_get() argument
1923 pool_type, p_pool_index, in felix_sb_tc_pool_bind_get()
1929 enum devlink_sb_pool_type pool_type, in felix_sb_tc_pool_bind_set() argument
1936 pool_type, pool_index, threshold, in felix_sb_tc_pool_bind_set()
1968 enum devlink_sb_pool_type pool_type, in felix_sb_occ_tc_port_bind_get() argument
1974 pool_type, p_cur, p_max); in felix_sb_occ_tc_port_bind_get()