Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_cmd.c215 MLX5_SET(query_flow_table_in, in, table_type, type); in mlx5dr_cmd_query_flow_table()
273 u32 table_type, in mlx5dr_cmd_set_fte_modify_and_vport() argument
294 MLX5_SET(set_fte_in, in, table_type, table_type); in mlx5dr_cmd_set_fte_modify_and_vport()
317 u32 table_type, in mlx5dr_cmd_del_flow_table_entry() argument
323 MLX5_SET(delete_fte_in, in, table_type, table_type); in mlx5dr_cmd_del_flow_table_entry()
330 u32 table_type, in mlx5dr_cmd_alloc_modify_header() argument
349 MLX5_SET(alloc_modify_header_context_in, in, table_type, table_type); in mlx5dr_cmd_alloc_modify_header()
379 u32 table_type, in mlx5dr_cmd_create_empty_flow_group() argument
393 MLX5_SET(create_flow_group_in, in, table_type, table_type); in mlx5dr_cmd_create_empty_flow_group()
408 u32 table_type, in mlx5dr_cmd_destroy_flow_group() argument
[all …]
Ddr_table.c187 tbl->table_type = MLX5_FLOW_TABLE_TYPE_NIC_RX; in dr_table_init()
192 tbl->table_type = MLX5_FLOW_TABLE_TYPE_NIC_TX; in dr_table_init()
197 tbl->table_type = MLX5_FLOW_TABLE_TYPE_FDB; in dr_table_init()
216 tbl->table_type); in dr_table_destroy_sw_owned_tbl()
234 ft_attr.table_type = tbl->table_type; in dr_table_create_sw_owned_tbl()
Ddr_types.h868 u32 table_type; member
1135 u32 table_type; member
1162 u32 table_type,
1168 u32 table_type,
1171 u32 table_type,
1178 u32 table_type,
1182 u32 table_type,
1191 u32 table_type);
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()
/drivers/gpu/drm/amd/display/modules/color/
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);
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()
/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_cmd.c167 MLX5_SET(set_flow_table_root_in, in, table_type, in mlx5_cmd_set_slave_root_fdb()
207 MLX5_SET(set_flow_table_root_in, in, table_type, ft->type); in mlx5_cmd_update_root_ft()
261 MLX5_SET(create_flow_table_in, in, table_type, ft->type); in mlx5_cmd_create_flow_table()
320 MLX5_SET(destroy_flow_table_in, in, table_type, ft->type); in mlx5_cmd_destroy_flow_table()
342 MLX5_SET(modify_flow_table_in, in, table_type, ft->type); in mlx5_cmd_modify_flow_table()
389 MLX5_SET(create_flow_group_in, in, table_type, ft->type); in mlx5_cmd_create_flow_group()
415 MLX5_SET(destroy_flow_group_in, in, table_type, ft->type); in mlx5_cmd_destroy_flow_group()
493 MLX5_SET(set_fte_in, in, table_type, ft->type); in mlx5_cmd_set_fte()
672 MLX5_SET(delete_fte_in, in, table_type, ft->type); in mlx5_cmd_delete_fte()
838 u8 table_type; in mlx5_cmd_modify_header_alloc() local
[all …]
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()
Dfs_ft_pool.h16 mlx5_ft_pool_get_avail_sz(struct mlx5_core_dev *dev, enum fs_flow_table_type table_type,
Dfs_core.c757 enum fs_flow_table_type table_type, in alloc_flow_table() argument
777 ft->type = table_type; in alloc_flow_table()
1161 root->table_type, in __mlx5_create_flow_table()
2534 enum fs_flow_table_type table_type) in create_root_ns() argument
2536 const struct mlx5_flow_cmds *cmds = mlx5_fs_cmd_get_default(table_type); in create_root_ns()
2541 (table_type == FS_FT_NIC_RX || table_type == FS_FT_NIC_TX)) in create_root_ns()
2542 cmds = mlx5_fs_cmd_get_default_ipsec_fpga_cmds(table_type); in create_root_ns()
2550 root_ns->table_type = table_type; in create_root_ns()
3349 if (root->table_type != FS_FT_FDB) in mlx5_flow_namespace_set_mode()
Dfs_core.h264 enum fs_flow_table_type table_type; member
Deswitch_offloads.c2339 MLX5_SET(set_flow_table_root_in, in, table_type, FS_FT_ESW_INGRESS_ACL); in esw_set_uplink_slave_ingress_root()
2391 MLX5_SET(set_flow_table_root_in, in, table_type, in esw_set_slave_root_fdb()
/drivers/infiniband/hw/hfi1/
Dfirmware.c1733 u32 record_idx = 0, table_type = 0, table_length_dwords = 0; in parse_platform_config() local
1812 table_type = (*ptr >> PLATFORM_CONFIG_HEADER_TABLE_TYPE_SHIFT) & in parse_platform_config()
1820 switch (table_type) { in parse_platform_config()
1822 pcfgcache->config_tables[table_type].num_table = in parse_platform_config()
1829 pcfgcache->config_tables[table_type].num_table = in parse_platform_config()
1836 pcfgcache->config_tables[table_type].num_table = in parse_platform_config()
1842 __func__, table_type, in parse_platform_config()
1848 pcfgcache->config_tables[table_type].table = ptr; in parse_platform_config()
1851 switch (table_type) { in parse_platform_config()
1862 __func__, table_type, in parse_platform_config()
[all …]
Dhfi.h2169 table_type, int table_index, int field_index,
/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_fid.c67 enum mlxsw_flood_table_type table_type; member
341 ops->flood_index(fid), flood_table->table_type, 1, in mlxsw_sp_fid_flood_set()
675 .table_type = MLXSW_REG_SFGC_TABLE_TYPE_FID,
681 .table_type = MLXSW_REG_SFGC_TABLE_TYPE_FID,
687 .table_type = MLXSW_REG_SFGC_TABLE_TYPE_FID,
1025 flood_table->table_type, in mlxsw_sp_fid_flood_table_init()
Dreg.h1088 MLXSW_ITEM32(reg, sfgc, table_type, 0x04, 16, 3);
1118 enum mlxsw_flood_table_type table_type, in mlxsw_reg_sfgc_pack() argument
1124 mlxsw_reg_sfgc_table_type_set(payload, table_type); in mlxsw_reg_sfgc_pack()
1163 MLXSW_ITEM32(reg, sftr, table_type, 0x04, 16, 3);
1186 enum mlxsw_flood_table_type table_type, in mlxsw_reg_sftr_pack() argument
1193 mlxsw_reg_sftr_table_type_set(payload, table_type); in mlxsw_reg_sftr_pack()
/drivers/acpi/
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()
/drivers/md/
Ddm-table.c796 static bool __table_type_bio_based(enum dm_queue_mode table_type) in __table_type_bio_based() argument
798 return (table_type == DM_TYPE_BIO_BASED || in __table_type_bio_based()
799 table_type == DM_TYPE_DAX_BIO_BASED); in __table_type_bio_based()
802 static bool __table_type_request_based(enum dm_queue_mode table_type) in __table_type_request_based() argument
804 return table_type == DM_TYPE_REQUEST_BASED; in __table_type_request_based()
/drivers/infiniband/hw/hns/
Dhns_roce_hem.c111 static int hns_roce_get_bt_num(u32 table_type, u32 hop_num) in hns_roce_get_bt_num() argument
113 if (check_whether_bt_num_3(table_type, hop_num)) in hns_roce_get_bt_num()
115 else if (check_whether_bt_num_2(table_type, hop_num)) in hns_roce_get_bt_num()
117 else if (check_whether_bt_num_1(table_type, hop_num)) in hns_roce_get_bt_num()
/drivers/infiniband/hw/mlx5/
Ddevx.c1181 MLX5_SET(destroy_flow_table_in, din, table_type, in devx_obj_build_destroy_cmd()
1182 MLX5_GET(create_flow_table_in, in, table_type)); in devx_obj_build_destroy_cmd()
1193 MLX5_SET(destroy_flow_group_in, din, table_type, in devx_obj_build_destroy_cmd()
1194 MLX5_GET(create_flow_group_in, in, table_type)); in devx_obj_build_destroy_cmd()
1207 MLX5_SET(delete_fte_in, din, table_type, in devx_obj_build_destroy_cmd()
1208 MLX5_GET(set_fte_in, in, table_type)); in devx_obj_build_destroy_cmd()
Dfs.c1742 mlx5_ib_ft_type_to_namespace(enum mlx5_ib_uapi_flow_table_type table_type, in mlx5_ib_ft_type_to_namespace() argument
1745 switch (table_type) { in mlx5_ib_ft_type_to_namespace()
/drivers/scsi/fcoe/
Dfcoe_sysfs.c209 #define fcoe_enum_name_search(title, table_type, table) \ argument
210 static const char *get_fcoe_##title##_name(enum table_type table_key) \
/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
Dsample.c131 MLX5_SET(sampler_obj, obj, table_type, FS_FT_FDB); in sampler_obj_create()
/drivers/scsi/
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) \