Home
last modified time | relevance | path

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

/Linux-v5.15/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.h610 enum fsl_mc_pool_type pool_type,
/Linux-v5.15/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.c79 enum devlink_sb_pool_type pool_type, in ocelot_devlink_sb_tc_pool_bind_get() argument
86 pool_type, p_pool_index, in ocelot_devlink_sb_tc_pool_bind_get()
93 enum devlink_sb_pool_type pool_type, in ocelot_devlink_sb_tc_pool_bind_set() argument
101 pool_type, pool_index, threshold, in ocelot_devlink_sb_tc_pool_bind_set()
136 enum devlink_sb_pool_type pool_type, in ocelot_devlink_sb_occ_tc_port_bind_get() argument
143 tc_index, pool_type, in ocelot_devlink_sb_occ_tc_port_bind_get()
/Linux-v5.15/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
/Linux-v5.15/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);
/Linux-v5.15/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
/Linux-v5.15/drivers/staging/media/atomisp/pci/hmm/
Dhmm.c674 int hmm_pool_register(unsigned int pool_size, enum hmm_pool_type pool_type) in hmm_pool_register() argument
677 switch (pool_type) { in hmm_pool_register()
695 void hmm_pool_unregister(enum hmm_pool_type pool_type) in hmm_pool_unregister() argument
698 switch (pool_type) { in hmm_pool_unregister()
/Linux-v5.15/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.c110 enum amdgpu_ib_pool_type pool_type, in amdgpu_job_alloc_with_ib() argument
119 r = amdgpu_ib_get(adev, NULL, size, pool_type, &(*job)->ibs[0]); in amdgpu_job_alloc_with_ib()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlxsw/
Dcore.h342 enum devlink_sb_pool_type pool_type,
346 enum devlink_sb_pool_type pool_type,
358 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()
Dcore.c1329 enum devlink_sb_pool_type pool_type, in mlxsw_devlink_sb_tc_pool_bind_get() argument
1340 tc_index, pool_type, in mlxsw_devlink_sb_tc_pool_bind_get()
1347 enum devlink_sb_pool_type pool_type, in mlxsw_devlink_sb_tc_pool_bind_set() argument
1359 tc_index, pool_type, in mlxsw_devlink_sb_tc_pool_bind_set()
1404 enum devlink_sb_pool_type pool_type, in mlxsw_devlink_sb_occ_tc_port_bind_get() argument
1416 pool_type, p_cur, p_max); in mlxsw_devlink_sb_occ_tc_port_bind_get()
Dspectrum.h551 enum devlink_sb_pool_type pool_type,
555 enum devlink_sb_pool_type pool_type,
567 enum devlink_sb_pool_type pool_type,
/Linux-v5.15/net/dsa/
Ddsa2.c699 enum devlink_sb_pool_type pool_type, in dsa_devlink_sb_tc_pool_bind_get() argument
709 tc_index, pool_type, in dsa_devlink_sb_tc_pool_bind_get()
716 enum devlink_sb_pool_type pool_type, in dsa_devlink_sb_tc_pool_bind_set() argument
727 tc_index, pool_type, in dsa_devlink_sb_tc_pool_bind_set()
772 enum devlink_sb_pool_type pool_type, in dsa_devlink_sb_occ_tc_port_bind_get() argument
783 pool_type, p_cur, in dsa_devlink_sb_occ_tc_port_bind_get()
/Linux-v5.15/drivers/net/dsa/ocelot/
Dfelix.c1540 enum devlink_sb_pool_type pool_type, in felix_sb_tc_pool_bind_get() argument
1546 pool_type, p_pool_index, in felix_sb_tc_pool_bind_get()
1552 enum devlink_sb_pool_type pool_type, in felix_sb_tc_pool_bind_set() argument
1559 pool_type, pool_index, threshold, in felix_sb_tc_pool_bind_set()
1591 enum devlink_sb_pool_type pool_type, in felix_sb_occ_tc_port_bind_get() argument
1597 pool_type, p_cur, p_max); in felix_sb_occ_tc_port_bind_get()
/Linux-v5.15/include/net/
Ddevlink.h190 enum devlink_sb_pool_type pool_type; member
1265 enum devlink_sb_pool_type pool_type,
1270 enum devlink_sb_pool_type pool_type,
1283 enum devlink_sb_pool_type pool_type,
Ddsa.h843 enum devlink_sb_pool_type pool_type,
847 enum devlink_sb_pool_type pool_type,
859 enum devlink_sb_pool_type pool_type,
/Linux-v5.15/include/soc/mscc/
Docelot.h831 enum devlink_sb_pool_type pool_type,
835 enum devlink_sb_pool_type pool_type,
845 enum devlink_sb_pool_type pool_type,
/Linux-v5.15/include/linux/fsl/
Dmc.h413 enum fsl_mc_pool_type pool_type,
/Linux-v5.15/net/core/
Ddevlink.c397 enum devlink_sb_pool_type pool_type, in devlink_sb_tc_index_get_from_attrs() argument
406 if (pool_type == DEVLINK_SB_POOL_TYPE_INGRESS && in devlink_sb_tc_index_get_from_attrs()
409 if (pool_type == DEVLINK_SB_POOL_TYPE_EGRESS && in devlink_sb_tc_index_get_from_attrs()
419 enum devlink_sb_pool_type pool_type, in devlink_sb_tc_index_get_from_info() argument
423 pool_type, p_tc_index); in devlink_sb_tc_index_get_from_info()
1989 if (nla_put_u8(msg, DEVLINK_ATTR_SB_POOL_TYPE, pool_info.pool_type)) in devlink_nl_sb_pool_fill()
2383 enum devlink_sb_pool_type pool_type, in devlink_nl_sb_tc_pool_bind_fill() argument
2394 tc_index, pool_type, in devlink_nl_sb_tc_pool_bind_fill()
2411 if (nla_put_u8(msg, DEVLINK_ATTR_SB_POOL_TYPE, pool_type)) in devlink_nl_sb_tc_pool_bind_fill()
2424 tc_index, pool_type, in devlink_nl_sb_tc_pool_bind_fill()
[all …]