Home
last modified time | relevance | path

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

/linux/drivers/bus/fsl-mc/
H A 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()
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()
167 *pool_type) in object_type_to_pool_type()
173 *pool_type = i; in object_type_to_pool_type()
194 if (pool_type < 0 || pool_type >= FSL_MC_NUM_POOL_TYPES) in fsl_mc_resource_allocate()
542 int pool_type; in fsl_mc_init_all_resource_pools() local
545 for (pool_type = 0; pool_type < FSL_MC_NUM_POOL_TYPES; pool_type++) { in fsl_mc_init_all_resource_pools()
573 int pool_type; in fsl_mc_cleanup_all_resource_pools() local
[all …]
H A Dfsl-mc-private.h641 enum fsl_mc_pool_type pool_type,
/linux/drivers/net/ethernet/mscc/
H A Docelot_devlink.c677 enum devlink_sb_pool_type pool_type, in ocelot_sb_tc_pool_bind_get() argument
684 if (pool_type == DEVLINK_SB_POOL_TYPE_INGRESS) in ocelot_sb_tc_pool_bind_get()
690 if (pool_type == DEVLINK_SB_POOL_TYPE_INGRESS) in ocelot_sb_tc_pool_bind_get()
702 if (pool_type == DEVLINK_SB_POOL_TYPE_INGRESS) in ocelot_sb_tc_pool_bind_get()
714 enum devlink_sb_pool_type pool_type, in ocelot_sb_tc_pool_bind_set() argument
723 pool_type != DEVLINK_SB_POOL_TYPE_INGRESS) in ocelot_sb_tc_pool_bind_set()
726 pool_type != DEVLINK_SB_POOL_TYPE_EGRESS) in ocelot_sb_tc_pool_bind_set()
731 if (pool_type == DEVLINK_SB_POOL_TYPE_INGRESS) in ocelot_sb_tc_pool_bind_set()
737 if (pool_type == DEVLINK_SB_POOL_TYPE_INGRESS) in ocelot_sb_tc_pool_bind_set()
852 enum devlink_sb_pool_type pool_type, in ocelot_sb_occ_tc_port_bind_get() argument
[all …]
H A 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()
/linux/net/devlink/
H A Dsb.c160 enum devlink_sb_pool_type pool_type, in devlink_sb_tc_index_get_from_info() argument
164 pool_type, p_tc_index); in devlink_sb_tc_index_get_from_info()
655 enum devlink_sb_pool_type pool_type, in devlink_nl_sb_tc_pool_bind_fill() argument
666 tc_index, pool_type, in devlink_nl_sb_tc_pool_bind_fill()
696 tc_index, pool_type, in devlink_nl_sb_tc_pool_bind_fill()
723 enum devlink_sb_pool_type pool_type; in devlink_nl_sb_tc_pool_bind_get_doit() local
736 pool_type, &tc_index); in devlink_nl_sb_tc_pool_bind_get_doit()
859 tc_index, pool_type, in devlink_sb_tc_pool_bind_set()
869 enum devlink_sb_pool_type pool_type; in devlink_nl_sb_tc_pool_bind_set_doit() local
885 pool_type, &tc_index); in devlink_nl_sb_tc_pool_bind_set_doit()
[all …]
/linux/net/dsa/
H A Ddevlink.c82 enum devlink_sb_pool_type pool_type, in dsa_devlink_sb_tc_pool_bind_get() argument
92 tc_index, pool_type, in dsa_devlink_sb_tc_pool_bind_get()
99 enum devlink_sb_pool_type pool_type, in dsa_devlink_sb_tc_pool_bind_set() argument
110 tc_index, pool_type, in dsa_devlink_sb_tc_pool_bind_set()
155 enum devlink_sb_pool_type pool_type, in dsa_devlink_sb_occ_tc_port_bind_get() argument
166 pool_type, p_cur, in dsa_devlink_sb_occ_tc_port_bind_get()
/linux/net/rds/
H A 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()
H A 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()
H A Dib_mr.h90 unsigned int pool_type; member
/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_shared_buf.c48 pool_info->pool_type = le32_to_cpu(get_data.pool_type); in nfp_shared_buf_pool_get()
H A Dnfp_abi.h95 __le32 pool_type; member
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_job.h93 size_t size, enum amdgpu_ib_pool_type pool_type,
H A Damdgpu_ib.c65 unsigned int 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()
H A Damdgpu_job.c127 size_t size, enum amdgpu_ib_pool_type pool_type, in amdgpu_job_alloc_with_ib() argument
137 r = amdgpu_ib_get(adev, NULL, size, pool_type, &(*job)->ibs[0]); in amdgpu_job_alloc_with_ib()
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore.h385 enum devlink_sb_pool_type pool_type,
389 enum devlink_sb_pool_type pool_type,
401 enum devlink_sb_pool_type pool_type,
H A 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()
H A Dspectrum.h600 enum devlink_sb_pool_type pool_type,
604 enum devlink_sb_pool_type pool_type,
616 enum devlink_sb_pool_type pool_type,
H A Dcore.c1449 enum devlink_sb_pool_type pool_type, in mlxsw_devlink_sb_tc_pool_bind_get() argument
1460 tc_index, pool_type, in mlxsw_devlink_sb_tc_pool_bind_get()
1467 enum devlink_sb_pool_type pool_type, in mlxsw_devlink_sb_tc_pool_bind_set() argument
1479 tc_index, pool_type, in mlxsw_devlink_sb_tc_pool_bind_set()
1524 enum devlink_sb_pool_type pool_type, in mlxsw_devlink_sb_occ_tc_port_bind_get() argument
1536 pool_type, p_cur, p_max); in mlxsw_devlink_sb_occ_tc_port_bind_get()
/linux/include/net/
H A Ddevlink.h202 enum devlink_sb_pool_type pool_type; member
1301 enum devlink_sb_pool_type pool_type,
1306 enum devlink_sb_pool_type pool_type,
1319 enum devlink_sb_pool_type pool_type,
H A Ddsa.h1180 enum devlink_sb_pool_type pool_type,
1184 enum devlink_sb_pool_type pool_type,
1196 enum devlink_sb_pool_type pool_type,
/linux/drivers/net/dsa/ocelot/
H A Dfelix.c1929 enum devlink_sb_pool_type pool_type, in felix_sb_tc_pool_bind_get() argument
1935 pool_type, p_pool_index, in felix_sb_tc_pool_bind_get()
1941 enum devlink_sb_pool_type pool_type, in felix_sb_tc_pool_bind_set() argument
1948 pool_type, pool_index, threshold, in felix_sb_tc_pool_bind_set()
1980 enum devlink_sb_pool_type pool_type, in felix_sb_occ_tc_port_bind_get() argument
1986 pool_type, p_cur, p_max); in felix_sb_occ_tc_port_bind_get()
/linux/include/soc/mscc/
H A Docelot.h1109 enum devlink_sb_pool_type pool_type,
1113 enum devlink_sb_pool_type pool_type,
1123 enum devlink_sb_pool_type pool_type,
/linux/include/linux/fsl/
H A Dmc.h423 enum fsl_mc_pool_type pool_type,