Home
last modified time | relevance | path

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

12

/linux-6.15/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-6.15/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/
H 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 …]
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-6.15/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dcmd.h59 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()
147 MLX5_SET(create_flow_group_in, in, table_type, fg_attr->table_type); in hws_cmd_flow_group_create()
167 MLX5_SET(destroy_flow_group_in, in, table_type, ft_type); in hws_cmd_flow_group_destroy()
175 u32 table_type, in mlx5hws_cmd_set_fte() argument
201 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 …]
H A Daction.h217 enum mlx5hws_table_type table_type);
221 u32 table_type,
225 u32 table_type,
H A Dprm.h163 u8 table_type[0x8]; member
349 u8 table_type[0x8]; member
360 u8 table_type[0x8]; member
H A Daction.c205 enum mlx5hws_table_type table_type) in mlx5hws_action_check_combo() argument
212 if (table_type >= MLX5HWS_TABLE_TYPE_MAX) { in mlx5hws_action_check_combo()
238 enum mlx5hws_table_type table_type, in hws_action_fixup_stc_attr() argument
317 u32 table_type, in mlx5hws_action_alloc_single_stc() argument
348 stc_attr->action_type, table_type); in mlx5hws_action_alloc_single_stc()
353 if (table_type == MLX5HWS_TABLE_TYPE_FDB) { in mlx5hws_action_alloc_single_stc()
360 table_type, true); in mlx5hws_action_alloc_single_stc()
366 stc_attr->action_type, table_type); in mlx5hws_action_alloc_single_stc()
384 u32 table_type, in mlx5hws_action_free_single_stc() argument
399 if (table_type == MLX5HWS_TABLE_TYPE_FDB) { in mlx5hws_action_free_single_stc()
[all …]
H A Dpool.h63 enum mlx5hws_table_type table_type; member
H A Dpool.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()
H A Dcontext.c41 pool_attr.table_type = MLX5HWS_TABLE_TYPE_FDB; in hws_context_pools_init()
H A Dmatcher.c314 rtc_attr.table_type = mlx5hws_table_get_res_fw_ft_type(tbl->type, false); in hws_matcher_create_rtc()
333 rtc_attr.table_type = mlx5hws_table_get_res_fw_ft_type(tbl->type, true); in hws_matcher_create_rtc()
560 pool_attr.table_type = tbl->type; in hws_matcher_bind_at()
639 pool_attr.table_type = matcher->tbl->type; in hws_matcher_bind_mt()
/linux-6.15/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()
553 MLX5_SET(set_fte_in, in, table_type, ft->type); in mlx5_cmd_set_fte()
787 MLX5_SET(delete_fte_in, in, table_type, ft->type); in mlx5_cmd_delete_fte()
956 u8 table_type; in mlx5_cmd_modify_header_alloc() local
963 table_type = FS_FT_FDB; in mlx5_cmd_modify_header_alloc()
969 table_type = FS_FT_NIC_RX; in mlx5_cmd_modify_header_alloc()
975 table_type = FS_FT_NIC_TX; in mlx5_cmd_modify_header_alloc()
979 table_type = FS_FT_ESW_INGRESS_ACL; in mlx5_cmd_modify_header_alloc()
984 table_type = FS_FT_RDMA_TX; in mlx5_cmd_modify_header_alloc()
1005 MLX5_SET(alloc_modify_header_context_in, in, table_type, table_type); in mlx5_cmd_modify_header_alloc()
[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.c938 enum fs_flow_table_type table_type, in alloc_flow_table() argument
958 ft->type = table_type; in alloc_flow_table()
1370 root->table_type, in __mlx5_create_flow_table()
2220 (root->cmds->get_capabilities(root, root->table_type) & in try_add_to_existing_fg()
2987 enum fs_flow_table_type table_type) in create_root_ns() argument
2989 const struct mlx5_flow_cmds *cmds = mlx5_fs_cmd_get_default(table_type); in create_root_ns()
2999 root_ns->table_type = table_type; in create_root_ns()
3648 return root->cmds->get_capabilities(root, root->table_type); in mlx5_fs_get_capabilities()
4175 if (root->table_type != FS_FT_FDB) in mlx5_flow_namespace_set_mode()
/linux-6.15/drivers/infiniband/hw/hfi1/
H 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-6.15/rust/kernel/
H A Ddevice_id.rs154 ($table_type: literal, $module_table_name:ident, $table_name:ident) => {
157 concat!("__mod_device_table__", $table_type,
/linux-6.15/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-6.15/drivers/acpi/
H 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-6.15/drivers/md/
H A Ddm-table.c841 static bool __table_type_bio_based(enum dm_queue_mode table_type) in __table_type_bio_based() argument
843 return (table_type == DM_TYPE_BIO_BASED || in __table_type_bio_based()
844 table_type == DM_TYPE_DAX_BIO_BASED); in __table_type_bio_based()
847 static bool __table_type_request_based(enum dm_queue_mode table_type) in __table_type_request_based() argument
849 return table_type == DM_TYPE_REQUEST_BASED; in __table_type_request_based()
/linux-6.15/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()

12