Home
last modified time | relevance | path

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

12

/linux/drivers/gpu/drm/amd/display/modules/color/
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);
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/
A Ddr_cmd.c308 u32 table_type, in mlx5dr_cmd_set_fte_modify_and_vport() argument
329 MLX5_SET(set_fte_in, in, table_type, table_type); in mlx5dr_cmd_set_fte_modify_and_vport()
358 MLX5_SET(delete_fte_in, in, table_type, table_type); in mlx5dr_cmd_del_flow_table_entry()
365 u32 table_type, in mlx5dr_cmd_alloc_modify_header() argument
384 MLX5_SET(alloc_modify_header_context_in, in, table_type, table_type); in mlx5dr_cmd_alloc_modify_header()
428 MLX5_SET(create_flow_group_in, in, table_type, table_type); in mlx5dr_cmd_create_empty_flow_group()
443 u32 table_type, in mlx5dr_cmd_destroy_flow_group() argument
451 MLX5_SET(destroy_flow_group_in, in, table_type, table_type); in mlx5dr_cmd_destroy_flow_group()
469 MLX5_SET(create_flow_table_in, in, table_type, attr->table_type); in mlx5dr_cmd_create_flow_table()
517 u32 table_type) in mlx5dr_cmd_destroy_flow_table() argument
[all …]
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()
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()
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/steering/hws/
A Dmlx5hws_cmd.h59 u32 table_type; member
81 u8 table_type; member
98 u8 table_type; member
163 u8 table_type; member
321 u32 table_type,
327 u32 table_type, u32 table_id);
A Dmlx5hws_cmd.c57 MLX5_SET(create_flow_table_in, in, table_type, ft_attr->type); in mlx5hws_cmd_flow_table_create()
153 MLX5_SET(create_flow_group_in, in, table_type, fg_attr->table_type); in hws_cmd_flow_group_create()
173 MLX5_SET(destroy_flow_group_in, in, table_type, ft_type); in hws_cmd_flow_group_destroy()
181 u32 table_type, in mlx5hws_cmd_set_fte() argument
207 MLX5_SET(set_fte_in, in, table_type, table_type); in mlx5hws_cmd_set_fte()
280 u32 table_type, in mlx5hws_cmd_delete_fte() argument
286 MLX5_SET(delete_fte_in, in, table_type, table_type); in mlx5hws_cmd_delete_fte()
312 fg_attr.table_type = ft_attr->type; in mlx5hws_cmd_forward_tbl_create()
403 MLX5_SET(rtc, attr, table_type, rtc_attr->table_type); in mlx5hws_cmd_rtc_create()
447 MLX5_SET(stc, attr, table_type, stc_attr->table_type); in mlx5hws_cmd_stc_create()
[all …]
A Dmlx5hws_action.h214 enum mlx5hws_table_type table_type);
218 u32 table_type,
222 u32 table_type,
A Dmlx5hws_action.c207 enum mlx5hws_table_type table_type) in mlx5hws_action_check_combo() argument
214 if (table_type >= MLX5HWS_TABLE_TYPE_MAX) { in mlx5hws_action_check_combo()
240 enum mlx5hws_table_type table_type, in hws_action_fixup_stc_attr() argument
319 u32 table_type, in mlx5hws_action_alloc_single_stc() argument
350 stc_attr->action_type, table_type); in mlx5hws_action_alloc_single_stc()
355 if (table_type == MLX5HWS_TABLE_TYPE_FDB) { in mlx5hws_action_alloc_single_stc()
362 table_type, true); in mlx5hws_action_alloc_single_stc()
368 stc_attr->action_type, table_type); in mlx5hws_action_alloc_single_stc()
386 u32 table_type, in mlx5hws_action_free_single_stc() argument
401 if (table_type == MLX5HWS_TABLE_TYPE_FDB) { in mlx5hws_action_free_single_stc()
[all …]
A Dmlx5hws_debug.c386 u32 table_type; in hws_debug_dump_context_stc() local
392 table_type = MLX5HWS_TABLE_TYPE_BASE + i; in hws_debug_dump_context_stc()
398 ret = hws_debug_dump_context_stc_resource(f, ctx, table_type, in hws_debug_dump_context_stc()
405 ret = hws_debug_dump_context_stc_resource(f, ctx, table_type, in hws_debug_dump_context_stc()
A Dmlx5hws_prm.h163 u8 table_type[0x8]; member
349 u8 table_type[0x8]; member
360 u8 table_type[0x8]; member
A Dmlx5hws_pool.h63 enum mlx5hws_table_type table_type; member
A Dmlx5hws_pool.c52 ste_attr.table_type = fw_ft_type; in hws_pool_create_one_resource()
57 stc_attr.table_type = fw_ft_type; in hws_pool_create_one_resource()
599 pool->tbl_type = pool_attr->table_type; in mlx5hws_pool_create()
A Dmlx5hws_context.c43 pool_attr.table_type = i; in hws_context_pools_init()
A Dmlx5hws_matcher.c317 rtc_attr.table_type = mlx5hws_table_get_res_fw_ft_type(tbl->type, false); in hws_matcher_create_rtc()
336 rtc_attr.table_type = mlx5hws_table_get_res_fw_ft_type(tbl->type, true); in hws_matcher_create_rtc()
553 pool_attr.table_type = tbl->type; in hws_matcher_bind_at_idx()
685 pool_attr.table_type = matcher->tbl->type; in hws_matcher_bind_mt()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
A Dfs_cmd.c176 MLX5_SET(set_flow_table_root_in, in, table_type, in mlx5_cmd_set_slave_root_fdb()
552 MLX5_SET(set_fte_in, in, table_type, ft->type); in mlx5_cmd_set_fte()
786 MLX5_SET(delete_fte_in, in, table_type, ft->type); in mlx5_cmd_delete_fte()
955 u8 table_type; in mlx5_cmd_modify_header_alloc() local
962 table_type = FS_FT_FDB; in mlx5_cmd_modify_header_alloc()
968 table_type = FS_FT_NIC_RX; in mlx5_cmd_modify_header_alloc()
974 table_type = FS_FT_NIC_TX; in mlx5_cmd_modify_header_alloc()
978 table_type = FS_FT_ESW_INGRESS_ACL; in mlx5_cmd_modify_header_alloc()
983 table_type = FS_FT_RDMA_TX; in mlx5_cmd_modify_header_alloc()
1004 MLX5_SET(alloc_modify_header_context_in, in, table_type, table_type); in mlx5_cmd_modify_header_alloc()
[all …]
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()
A Dfs_ft_pool.h16 mlx5_ft_pool_get_avail_sz(struct mlx5_core_dev *dev, enum fs_flow_table_type table_type,
A Dfs_core.c931 enum fs_flow_table_type table_type, in alloc_flow_table() argument
951 ft->type = table_type; in alloc_flow_table()
1363 root->table_type, in __mlx5_create_flow_table()
2213 (root->cmds->get_capabilities(root, root->table_type) & in try_add_to_existing_fg()
2961 enum fs_flow_table_type table_type) in create_root_ns() argument
2963 const struct mlx5_flow_cmds *cmds = mlx5_fs_cmd_get_default(table_type); in create_root_ns()
2973 root_ns->table_type = table_type; in create_root_ns()
3501 return root->cmds->get_capabilities(root, root->table_type); in mlx5_fs_get_capabilities()
3995 if (root->table_type != FS_FT_FDB) in mlx5_flow_namespace_set_mode()
/linux/drivers/infiniband/hw/hfi1/
A Dfirmware.c1819 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()
1841 __func__, table_type, in parse_platform_config()
1850 switch (table_type) { in parse_platform_config()
1861 __func__, table_type, in parse_platform_config()
1905 switch (table_type) { in get_integrated_platform_config_field()
2064 switch (table_type) { in get_platform_config_field()
2088 pcfgcache->config_tables[table_type].table + 4 : in get_platform_config_field()
2089 pcfgcache->config_tables[table_type].table; in get_platform_config_field()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
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/acpi/
A Dpptt.c74 static inline bool acpi_pptt_match_type(int table_type, int type) in acpi_pptt_match_type() argument
76 return ((table_type & ACPI_PPTT_MASK_CACHE_TYPE) == type || in acpi_pptt_match_type()
77 table_type & ACPI_PPTT_CACHE_TYPE_UNIFIED & type); in acpi_pptt_match_type()
/linux/drivers/md/
A Ddm-table.c836 static bool __table_type_bio_based(enum dm_queue_mode table_type) in __table_type_bio_based() argument
838 return (table_type == DM_TYPE_BIO_BASED || in __table_type_bio_based()
839 table_type == DM_TYPE_DAX_BIO_BASED); in __table_type_bio_based()
842 static bool __table_type_request_based(enum dm_queue_mode table_type) in __table_type_request_based() argument
844 return table_type == DM_TYPE_REQUEST_BASED; in __table_type_request_based()
/linux/drivers/infiniband/hw/hns/
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()

Completed in 73 milliseconds

12