Home
last modified time | relevance | path

Searched refs:table_type (Results 1 – 25 of 25) sorted by relevance

/linux/drivers/gpu/drm/amd/display/modules/color/
H A Dcolor_table.h36 enum table_type { enum
41 bool mod_color_is_table_init(enum table_type type);
43 struct fixed31_32 *mod_color_get_table(enum table_type type);
45 void mod_color_set_table_init_state(enum table_type type, bool state);
H A Dcolor_table.c33 bool mod_color_is_table_init(enum table_type type) in mod_color_is_table_init()
45 struct fixed31_32 *mod_color_get_table(enum table_type type) in mod_color_get_table()
57 void mod_color_set_table_init_state(enum table_type type, bool state) in mod_color_set_table_init_state()
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dcmd.h60 u32 table_type; member
81 u8 table_type; member
98 u8 table_type; member
163 u8 table_type; member
318 u32 table_type,
324 u32 table_type, u32 table_id);
H A Dpool.c51 ste_attr.table_type = fw_ft_type; in hws_pool_create_one_resource()
56 stc_attr.table_type = fw_ft_type; in hws_pool_create_one_resource()
358 pool->tbl_type = pool_attr->table_type; in mlx5hws_pool_create()
H A Daction.c210 enum mlx5hws_table_type table_type) in mlx5hws_action_check_combo() argument
217 if (table_type >= MLX5HWS_TABLE_TYPE_MAX) { in mlx5hws_action_check_combo()
218 mlx5hws_err(ctx, "Invalid table_type %d", table_type); in mlx5hws_action_check_combo()
243 enum mlx5hws_table_type table_type, in hws_action_fixup_stc_attr() argument
251 fw_tbl_type = mlx5hws_table_get_res_fw_ft_type(table_type, is_mirror); in hws_action_fixup_stc_attr()
321 u32 table_type, in mlx5hws_action_alloc_single_stc() argument
347 use_fixup = hws_action_fixup_stc_attr(ctx, stc_attr, &fixup_stc_attr, table_type, false); in mlx5hws_action_alloc_single_stc()
352 stc_attr->action_type, table_type); in mlx5hws_action_alloc_single_stc()
357 if (table_type == MLX5HWS_TABLE_TYPE_FDB) { in mlx5hws_action_alloc_single_stc()
364 table_type, true); in mlx5hws_action_alloc_single_stc()
[all …]
H A Dmatcher.c520 rtc_attr.table_type = mlx5hws_table_get_res_fw_ft_type(tbl->type, false); in hws_matcher_create_rtc()
538 rtc_attr.table_type = mlx5hws_table_get_res_fw_ft_type(tbl->type, true); in hws_matcher_create_rtc()
704 ste_attr.table_type = FS_FT_FDB_RX; in hws_matcher_bind_mt()
718 ste_attr.table_type = FS_FT_FDB_TX; in hws_matcher_bind_mt()
H A Dfs_hws.c262 if (ns->table_type != FS_FT_FDB) { in mlx5_cmd_hws_create_flow_table()
264 ns->table_type); in mlx5_cmd_hws_create_flow_table()
/linux/drivers/infiniband/hw/hfi1/
H A Dfirmware.c1732 u32 record_idx = 0, table_type = 0, table_length_dwords = 0; in parse_platform_config() local
1811 table_type = (*ptr >> PLATFORM_CONFIG_HEADER_TABLE_TYPE_SHIFT) & in parse_platform_config()
1819 switch (table_type) { in parse_platform_config()
1821 pcfgcache->config_tables[table_type].num_table = in parse_platform_config()
1828 pcfgcache->config_tables[table_type].num_table = in parse_platform_config()
1835 pcfgcache->config_tables[table_type].num_table = in parse_platform_config()
1841 __func__, table_type, in parse_platform_config()
1847 pcfgcache->config_tables[table_type].table = ptr; in parse_platform_config()
1850 switch (table_type) { in parse_platform_config()
1861 __func__, table_type, in parse_platform_config()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfs_cmd.c176 MLX5_SET(set_flow_table_root_in, in, table_type, in mlx5_cmd_set_slave_root_fdb()
231 MLX5_SET(set_flow_table_root_in, in, table_type, ft->type); in mlx5_cmd_update_root_ft()
303 MLX5_SET(create_flow_table_in, in, table_type, ft->type); in mlx5_cmd_create_flow_table()
366 MLX5_SET(destroy_flow_table_in, in, table_type, ft->type); in mlx5_cmd_destroy_flow_table()
392 MLX5_SET(modify_flow_table_in, in, table_type, ft->type); in mlx5_cmd_modify_flow_table()
443 MLX5_SET(create_flow_group_in, in, table_type, ft->type); in mlx5_cmd_create_flow_group()
468 MLX5_SET(destroy_flow_group_in, in, table_type, ft->type); in mlx5_cmd_destroy_flow_group()
577 MLX5_SET(set_fte_in, in, table_type, ft->type); in mlx5_cmd_set_fte()
812 MLX5_SET(delete_fte_in, in, table_type, ft->type); in mlx5_cmd_delete_fte()
985 u8 table_type; in mlx5_cmd_modify_header_alloc() local
[all …]
H A Dfs_ft_pool.c46 mlx5_ft_pool_get_avail_sz(struct mlx5_core_dev *dev, enum fs_flow_table_type table_type, in mlx5_ft_pool_get_avail_sz() argument
49 u32 max_ft_size = 1 << MLX5_CAP_FLOWTABLE_TYPE(dev, log_max_ft_size, table_type); in mlx5_ft_pool_get_avail_sz()
H A Dfs_ft_pool.h14 mlx5_ft_pool_get_avail_sz(struct mlx5_core_dev *dev, enum fs_flow_table_type table_type,
H A Dfs_core.c944 enum fs_flow_table_type table_type, in alloc_flow_table() argument
963 ft->type = table_type; in alloc_flow_table()
1374 ft = alloc_flow_table(ft_attr, vport, root->table_type, op_mod); in __mlx5_create_flow_table()
2245 (root->cmds->get_capabilities(root, root->table_type) & in try_add_to_existing_fg()
3016 enum fs_flow_table_type table_type) in create_root_ns() argument
3018 const struct mlx5_flow_cmds *cmds = mlx5_fs_cmd_get_default(table_type); in create_root_ns()
3028 root_ns->table_type = table_type; in create_root_ns()
3325 enum fs_flow_table_type table_type) in mlx5_fs_set_root_dev() argument
3331 switch (table_type) { in mlx5_fs_set_root_dev()
3654 enum fs_flow_table_type table_type, in mlx5_fs_add_vport_acl_root_ns() argument
[all …]
H A Dfs_core.h301 enum fs_flow_table_type table_type; member
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dpost_act.c33 enum fs_flow_table_type table_type = ns_type == MLX5_FLOW_NAMESPACE_FDB ? in mlx5e_tc_post_act_init()
38 if (!MLX5_CAP_FLOWTABLE_TYPE(priv->mdev, ignore_flow_level, table_type)) { in mlx5e_tc_post_act_init()
H A Dsample.c131 MLX5_SET(sampler_obj, obj, table_type, FS_FT_FDB); in sampler_obj_create()
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/
H A Ddr_types.h971 u32 table_type; member
1287 u32 table_type; member
1315 u32 table_type,
1321 u32 table_type,
1324 u32 table_type,
1331 u32 table_type,
1335 u32 table_type,
1344 u32 table_type);
/linux/drivers/md/
H A Ddm-table.c848 static bool __table_type_bio_based(enum dm_queue_mode table_type) in __table_type_bio_based() argument
850 return (table_type == DM_TYPE_BIO_BASED || in __table_type_bio_based()
851 table_type == DM_TYPE_DAX_BIO_BASED); in __table_type_bio_based()
854 static bool __table_type_request_based(enum dm_queue_mode table_type) in __table_type_request_based() argument
856 return table_type == DM_TYPE_REQUEST_BASED; in __table_type_request_based()
/linux/include/linux/mlx5/
H A Dfs.h380 enum fs_flow_table_type table_type);
H A Dmlx5_ifc.h5260 u8 table_type[0x8]; member
6540 u8 table_type[0x8]; member
6569 u8 table_type[0x8]; member
6986 u8 table_type[0x8]; member
7357 u8 table_type[0x8]; member
8820 u8 table_type[0x8]; member
8853 u8 table_type[0x8]; member
9000 u8 table_type[0x8]; member
9552 u8 table_type[0x8]; member
9599 u8 table_type[0x8]; member
[all …]
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_fid.c75 enum mlxsw_flood_table_type table_type; /* For flood_mode!=CFF. */ member
1225 flood_table->table_type, 0, mid_base); in mlxsw_sp_fid_flood_table_init_ctl()
1287 .table_type = MLXSW_REG_SFGC_TABLE_TYPE_FID_OFFSET,
1292 .table_type = MLXSW_REG_SFGC_TABLE_TYPE_FID_OFFSET,
1297 .table_type = MLXSW_REG_SFGC_TABLE_TYPE_FID_OFFSET,
/linux/drivers/scsi/fcoe/
H A Dfcoe_sysfs.c206 #define fcoe_enum_name_search(title, table_type, table) \ argument
207 static const char *get_fcoe_##title##_name(enum table_type table_key) \
/linux/arch/arm64/kvm/vgic/
H A Dvgic-its.c1647 u64 entry_size, table_type; in vgic_mmio_write_its_baser() local
1658 table_type = GITS_BASER_TYPE_DEVICE; in vgic_mmio_write_its_baser()
1663 table_type = GITS_BASER_TYPE_COLLECTION; in vgic_mmio_write_its_baser()
1675 reg |= table_type << GITS_BASER_TYPE_SHIFT; in vgic_mmio_write_its_baser()
1683 switch (table_type) { in vgic_mmio_write_its_baser()
/linux/drivers/infiniband/hw/mlx5/
H A Ddevx.c1233 MLX5_SET(destroy_flow_table_in, din, table_type, in devx_obj_build_destroy_cmd()
1234 MLX5_GET(create_flow_table_in, in, table_type)); in devx_obj_build_destroy_cmd()
1250 MLX5_SET(destroy_flow_group_in, din, table_type, in devx_obj_build_destroy_cmd()
1251 MLX5_GET(create_flow_group_in, in, table_type)); in devx_obj_build_destroy_cmd()
1268 MLX5_SET(delete_fte_in, din, table_type, in devx_obj_build_destroy_cmd()
1269 MLX5_GET(set_fte_in, in, table_type)); in devx_obj_build_destroy_cmd()
H A Dfs.c2262 mlx5_ib_ft_type_to_namespace(enum mlx5_ib_uapi_flow_table_type table_type, in mlx5_ib_ft_type_to_namespace() argument
2265 switch (table_type) { in mlx5_ib_ft_type_to_namespace()
/linux/drivers/scsi/
H A Dscsi_transport_fc.c70 #define fc_enum_name_search(title, table_type, table) \ argument
71 static const char *get_fc_##title##_name(enum table_type table_key) \
85 #define fc_enum_name_match(title, table_type, table) \ argument
87 enum table_type *value) \