Home
last modified time | relevance | path

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

12

/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 Dcmd.c57 MLX5_SET(create_flow_table_in, in, table_type, ft_attr->type); in mlx5hws_cmd_flow_table_create()
83 MLX5_SET(modify_flow_table_in, in, table_type, ft_attr->type); in mlx5hws_cmd_flow_table_modify()
108 MLX5_SET(query_flow_table_in, in, table_type, ft_attr->type); in mlx5hws_cmd_flow_table_query()
128 MLX5_SET(destroy_flow_table_in, in, table_type, fw_ft_type); in mlx5hws_cmd_flow_table_destroy()
148 MLX5_SET(create_flow_group_in, in, table_type, fg_attr->table_type); in hws_cmd_flow_group_create()
168 MLX5_SET(destroy_flow_group_in, in, table_type, ft_type); in hws_cmd_flow_group_destroy()
176 u32 table_type, in mlx5hws_cmd_set_fte() argument
202 MLX5_SET(set_fte_in, in, table_type, table_type); in mlx5hws_cmd_set_fte()
281 u32 table_type, in mlx5hws_cmd_delete_fte() argument
287 MLX5_SET(delete_fte_in, in, table_type, table_type); in mlx5hws_cmd_delete_fte()
[all …]
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 Daction_ste_pool.c29 pool_attr.table_type = MLX5HWS_TABLE_TYPE_FDB; in hws_action_ste_table_create_pool()
61 rtc_attr.table_type = FS_FT_FDB_TX; in hws_action_ste_table_create_single_rtc()
70 rtc_attr.table_type = FS_FT_FDB_RX; in hws_action_ste_table_create_single_rtc()
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 Dcontext.c40 pool_attr.table_type = MLX5HWS_TABLE_TYPE_FDB; in hws_context_pools_init()
/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/steering/sws/
H A Ddr_table.c188 tbl->table_type = MLX5_FLOW_TABLE_TYPE_NIC_RX; in dr_table_init()
193 tbl->table_type = MLX5_FLOW_TABLE_TYPE_NIC_TX; in dr_table_init()
198 tbl->table_type = MLX5_FLOW_TABLE_TYPE_FDB; in dr_table_init()
217 tbl->table_type); in dr_table_destroy_sw_owned_tbl()
235 ft_attr.table_type = tbl->table_type; in dr_table_create_sw_owned_tbl()
H A Ddr_fw.c20 ft_attr.table_type = MLX5_FLOW_TABLE_TYPE_FDB; in mlx5dr_fw_create_recalc_cs_ft()
116 ft_attr.table_type = MLX5_FLOW_TABLE_TYPE_FDB; in mlx5dr_fw_create_md_tbl()
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/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()
3015 enum fs_flow_table_type table_type) in create_root_ns() argument
3017 const struct mlx5_flow_cmds *cmds = mlx5_fs_cmd_get_default(table_type); in create_root_ns()
3027 root_ns->table_type = table_type; in create_root_ns()
3324 enum fs_flow_table_type table_type) in mlx5_fs_set_root_dev() argument
3330 switch (table_type) { in mlx5_fs_set_root_dev()
3650 enum fs_flow_table_type table_type, in mlx5_fs_add_vport_acl_root_ns() argument
[all …]
/linux/rust/kernel/
H A Ddevice_id.rs195 ($table_type: literal, $module_table_name:ident, $table_name:ident) => {
200 "__", $table_type,
/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()
/linux/drivers/md/
H A Ddm-table.c832 static bool __table_type_bio_based(enum dm_queue_mode table_type) in __table_type_bio_based() argument
834 return (table_type == DM_TYPE_BIO_BASED || in __table_type_bio_based()
835 table_type == DM_TYPE_DAX_BIO_BASED); in __table_type_bio_based()
838 static bool __table_type_request_based(enum dm_queue_mode table_type) in __table_type_request_based() argument
840 return table_type == DM_TYPE_REQUEST_BASED; in __table_type_request_based()
/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_hem.c110 static int hns_roce_get_bt_num(u32 table_type, u32 hop_num) in hns_roce_get_bt_num() argument
112 if (check_whether_bt_num_3(table_type, hop_num)) in hns_roce_get_bt_num()
114 else if (check_whether_bt_num_2(table_type, hop_num)) in hns_roce_get_bt_num()
116 else if (check_whether_bt_num_1(table_type, hop_num)) in hns_roce_get_bt_num()
/linux/include/linux/mlx5/
H A Dfs.h380 enum fs_flow_table_type table_type);
/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()

12