/linux/drivers/bus/fsl-mc/ |
H A D | fsl-mc-allocator.c | 27 * @pool_type: pool type 33 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() 167 *pool_type) in object_type_to_pool_type() 173 *pool_type = i; in object_type_to_pool_type() 182 enum fsl_mc_pool_type pool_type, in fsl_mc_resource_allocate() argument 32 fsl_mc_resource_pool_add_device(struct fsl_mc_bus * mc_bus,enum fsl_mc_pool_type pool_type,struct fsl_mc_device * mc_dev) fsl_mc_resource_pool_add_device() argument 166 object_type_to_pool_type(const char * object_type,enum fsl_mc_pool_type * pool_type) object_type_to_pool_type() argument 275 fsl_mc_object_allocate(struct fsl_mc_device * mc_dev,enum fsl_mc_pool_type pool_type,struct fsl_mc_device ** new_mc_adev) fsl_mc_object_allocate() argument 542 int pool_type; fsl_mc_init_all_resource_pools() local 564 enum fsl_mc_pool_type pool_type; fsl_mc_allocator_probe() local [all...] |
H A D | fsl-mc-private.h | 633 enum fsl_mc_pool_type pool_type,
|
/linux/drivers/net/ethernet/mscc/ |
H A D | ocelot_devlink.c | 548 pool_info->pool_type = DEVLINK_SB_POOL_TYPE_INGRESS; in ocelot_sb_pool_get() 550 pool_info->pool_type = DEVLINK_SB_POOL_TYPE_EGRESS; in ocelot_sb_pool_get() 677 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 in ocelot_sb_tc_pool_bind_set() 852 ocelot_sb_occ_tc_port_bind_get(struct ocelot * ocelot,int port,unsigned int sb_index,u16 tc_index,enum devlink_sb_pool_type pool_type,u32 * p_cur,u32 * p_max) ocelot_sb_occ_tc_port_bind_get() argument [all...] |
H A D | ocelot_net.c | 90 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 D | sb.c | 138 enum devlink_sb_pool_type pool_type, in devlink_sb_tc_index_get_from_attrs() argument 147 if (pool_type == DEVLINK_SB_POOL_TYPE_INGRESS && in devlink_sb_tc_index_get_from_attrs() 150 if (pool_type == DEVLINK_SB_POOL_TYPE_EGRESS && in devlink_sb_tc_index_get_from_attrs() 160 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() 288 if (nla_put_u8(msg, DEVLINK_ATTR_SB_POOL_TYPE, pool_info.pool_type)) in devlink_nl_sb_pool_fill() 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() 683 if (nla_put_u8(msg, DEVLINK_ATTR_SB_POOL_TYPE, 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; devlink_nl_sb_tc_pool_bind_get_doit() local 850 devlink_sb_tc_pool_bind_set(struct devlink_port * devlink_port,unsigned int sb_index,u16 tc_index,enum devlink_sb_pool_type pool_type,u16 pool_index,u32 threshold,struct netlink_ext_ack * extack) devlink_sb_tc_pool_bind_set() argument 869 enum devlink_sb_pool_type pool_type; devlink_nl_sb_tc_pool_bind_set_doit() local [all...] |
/linux/net/rds/ |
H A D | ib_rdma.c | 205 if (pool->pool_type == RDS_IB_MR_8K_POOL) in rds_ib_reuse_mr() 348 if (pool->pool_type == RDS_IB_MR_8K_POOL) in rds_ib_flush_mr_pool() 452 if (pool->pool_type == RDS_IB_MR_8K_POOL) in rds_ib_try_reuse_ibmr() 460 if (pool->pool_type == RDS_IB_MR_8K_POOL) in rds_ib_try_reuse_ibmr() 640 int pool_type) in rds_ib_create_mr_pool() argument 648 pool->pool_type = pool_type; in rds_ib_create_mr_pool() 657 if (pool_type == RDS_IB_MR_1M_POOL) { in rds_ib_create_mr_pool() 662 /* pool_type == RDS_IB_MR_8K_POOL */ in rds_ib_create_mr_pool()
|
H A D | ib_frmr.c | 87 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 D | ib_mr.h | 90 unsigned int pool_type; member
|
/linux/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_shared_buf.c | 48 pool_info->pool_type = le32_to_cpu(get_data.pool_type); in nfp_shared_buf_pool_get()
|
H A D | nfp_abi.h | 90 * @pool_type: one of enum devlink_sb_pool_type 95 __le32 pool_type; member
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_job.h | 98 size_t size, enum amdgpu_ib_pool_type pool_type,
|
H A D | amdgpu_ib.c | 57 * @pool_type: IB pool type (delayed, immediate, direct) 65 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 D | amdgpu_job.c | 211 size_t size, enum amdgpu_ib_pool_type pool_type, in amdgpu_job_alloc_with_ib() argument 221 r = amdgpu_ib_get(adev, NULL, size, pool_type, &(*job)->ibs[0]); in amdgpu_job_alloc_with_ib()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
H A D | pool.h | 40 enum mlx5hws_pool_type pool_type; member
|
H A D | context.c | 36 pool_attr.pool_type = MLX5HWS_POOL_TYPE_STC; in hws_context_pools_init()
|
H A D | pool.c | 354 pool->type = pool_attr->pool_type; in mlx5hws_pool_create()
|
H A D | action_ste_pool.c | 28 pool_attr.pool_type = MLX5HWS_POOL_TYPE_STE; in hws_action_ste_table_create_pool()
|
H A D | action.c | 1610 pool_attr.pool_type = MLX5HWS_POOL_TYPE_STE; in hws_action_create_dest_match_range_table()
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_buffers.c | 1368 pool_info->pool_type = (enum devlink_sb_pool_type) dir; in mlxsw_sp_sb_pool_get() 1485 enum devlink_sb_pool_type pool_type, in mlxsw_sp_sb_tc_pool_bind_get() argument 1493 enum mlxsw_reg_sbxx_dir dir = (enum mlxsw_reg_sbxx_dir) pool_type; in mlxsw_sp_sb_tc_pool_bind_get() 1505 enum devlink_sb_pool_type pool_type, in mlxsw_sp_sb_tc_pool_bind_set() argument 1515 enum mlxsw_reg_sbxx_dir dir = (enum mlxsw_reg_sbxx_dir) pool_type; in mlxsw_sp_sb_tc_pool_bind_set() 1783 enum devlink_sb_pool_type pool_type, in mlxsw_sp_sb_occ_tc_port_bind_get() argument 1791 enum mlxsw_reg_sbxx_dir dir = (enum mlxsw_reg_sbxx_dir) pool_type; in mlxsw_sp_sb_occ_tc_port_bind_get()
|
H A D | spectrum.h | 597 enum devlink_sb_pool_type pool_type, 601 enum devlink_sb_pool_type pool_type, 613 enum devlink_sb_pool_type pool_type,
|
/linux/include/net/ |
H A D | devlink.h | 209 enum devlink_sb_pool_type pool_type; member 1330 enum devlink_sb_pool_type pool_type, 1335 enum devlink_sb_pool_type pool_type, 1348 enum devlink_sb_pool_type pool_type,
|
H A D | dsa.h | 1169 enum devlink_sb_pool_type pool_type, 1173 enum devlink_sb_pool_type pool_type, 1185 enum devlink_sb_pool_type pool_type,
|
/linux/drivers/net/dsa/ocelot/ |
H A D | felix.c | 2074 enum devlink_sb_pool_type pool_type, in felix_sb_tc_pool_bind_get() argument 2080 pool_type, p_pool_index, in felix_sb_tc_pool_bind_get() 2086 enum devlink_sb_pool_type pool_type, in felix_sb_tc_pool_bind_set() argument 2093 pool_type, pool_index, threshold, in felix_sb_tc_pool_bind_set() 2125 enum devlink_sb_pool_type pool_type, in felix_sb_occ_tc_port_bind_get() argument 2131 pool_type, p_cur, p_max); in felix_sb_occ_tc_port_bind_get()
|
/linux/include/linux/fsl/ |
H A D | mc.h | 421 enum fsl_mc_pool_type pool_type,
|