/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/modules/color/ |
H A D | color_table.h | 36 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 D | color_table.c | 17 bool mod_color_is_table_init(enum table_type type) in mod_color_is_table_init() 29 struct fixed31_32 *mod_color_get_table(enum table_type type) in mod_color_get_table() 41 void mod_color_set_table_init_state(enum table_type type, bool state) in mod_color_set_table_init_state()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/modules/color/ |
H A D | color_table.h | 36 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 D | color_table.c | 33 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A D | dr_cmd.c | 147 MLX5_SET(query_flow_table_in, in, table_type, type); in mlx5dr_cmd_query_flow_table() 175 u32 table_type, in mlx5dr_cmd_set_fte_modify_and_vport() 196 MLX5_SET(set_fte_in, in, table_type, table_type); in mlx5dr_cmd_set_fte_modify_and_vport() 219 u32 table_type, in mlx5dr_cmd_del_flow_table_entry() 225 MLX5_SET(delete_fte_in, in, table_type, table_type); in mlx5dr_cmd_del_flow_table_entry() 232 u32 table_type, in mlx5dr_cmd_alloc_modify_header() 251 MLX5_SET(alloc_modify_header_context_in, in, table_type, table_type); in mlx5dr_cmd_alloc_modify_header() 174 mlx5dr_cmd_set_fte_modify_and_vport(struct mlx5_core_dev *mdev, u32 table_type, u32 table_id, u32 group_id, u32 modify_header_id, u32 vport_id) mlx5dr_cmd_set_fte_modify_and_vport() argument 218 mlx5dr_cmd_del_flow_table_entry(struct mlx5_core_dev *mdev, u32 table_type, u32 table_id) mlx5dr_cmd_del_flow_table_entry() argument 231 mlx5dr_cmd_alloc_modify_header(struct mlx5_core_dev *mdev, u32 table_type, u8 num_of_actions, u64 *actions, u32 *modify_header_id) mlx5dr_cmd_alloc_modify_header() argument 280 mlx5dr_cmd_create_empty_flow_group(struct mlx5_core_dev *mdev, u32 table_type, u32 table_id, u32 *group_id) mlx5dr_cmd_create_empty_flow_group() argument 309 mlx5dr_cmd_destroy_flow_group(struct mlx5_core_dev *mdev, u32 table_type, u32 table_id, u32 group_id) mlx5dr_cmd_destroy_flow_group() argument 381 mlx5dr_cmd_destroy_flow_table(struct mlx5_core_dev *mdev, u32 table_id, u32 table_type) mlx5dr_cmd_destroy_flow_table() argument [all...] |
H A D | dr_table.c | 187 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()
|
H A D | dr_types.h | 690 u32 table_type; member 909 u32 table_type; member 932 u32 table_type, 938 u32 table_type, 941 u32 table_type, 948 u32 table_type, 952 u32 table_type, 961 u32 table_type);
|
H A D | dr_fw.c | 20 ft_attr.table_type = MLX5_FLOW_TABLE_TYPE_FDB; in mlx5dr_fw_create_recalc_cs_ft() 114 ft_attr.table_type = MLX5_FLOW_TABLE_TYPE_FDB; in mlx5dr_fw_create_md_tbl()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A D | dr_cmd.c | 243 MLX5_SET(query_flow_table_in, in, table_type, type); in mlx5dr_cmd_query_flow_table() 308 u32 table_type, in mlx5dr_cmd_set_fte_modify_and_vport() 329 MLX5_SET(set_fte_in, in, table_type, table_type); in mlx5dr_cmd_set_fte_modify_and_vport() 352 u32 table_type, in mlx5dr_cmd_del_flow_table_entry() 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() 384 MLX5_SET(alloc_modify_header_context_in, in, table_type, table_type); in mlx5dr_cmd_alloc_modify_header() 307 mlx5dr_cmd_set_fte_modify_and_vport(struct mlx5_core_dev *mdev, u32 table_type, u32 table_id, u32 group_id, u32 modify_header_id, u16 vport) mlx5dr_cmd_set_fte_modify_and_vport() argument 351 mlx5dr_cmd_del_flow_table_entry(struct mlx5_core_dev *mdev, u32 table_type, u32 table_id) mlx5dr_cmd_del_flow_table_entry() argument 364 mlx5dr_cmd_alloc_modify_header(struct mlx5_core_dev *mdev, u32 table_type, u8 num_of_actions, u64 *actions, u32 *modify_header_id) mlx5dr_cmd_alloc_modify_header() argument 413 mlx5dr_cmd_create_empty_flow_group(struct mlx5_core_dev *mdev, u32 table_type, u32 table_id, u32 *group_id) mlx5dr_cmd_create_empty_flow_group() argument 442 mlx5dr_cmd_destroy_flow_group(struct mlx5_core_dev *mdev, u32 table_type, u32 table_id, u32 group_id) mlx5dr_cmd_destroy_flow_group() argument 515 mlx5dr_cmd_destroy_flow_table(struct mlx5_core_dev *mdev, u32 table_id, u32 table_type) mlx5dr_cmd_destroy_flow_table() argument [all...] |
H A D | dr_table.c | 188 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 D | dr_fw.c | 20 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 D | dr_types.h | 975 u32 table_type; member 1290 u32 table_type; member 1318 u32 table_type, 1324 u32 table_type, 1327 u32 table_type, 1334 u32 table_type, 1338 u32 table_type, 1347 u32 table_type);
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | fs_cmd.c | 167 MLX5_SET(set_flow_table_root_in, in, table_type, ft->type); in mlx5_cmd_update_root_ft() 199 MLX5_SET(create_flow_table_in, in, table_type, ft->type); in mlx5_cmd_create_flow_table() 253 MLX5_SET(destroy_flow_table_in, in, table_type, ft->type); in mlx5_cmd_destroy_flow_table() 272 MLX5_SET(modify_flow_table_in, in, table_type, ft->type); in mlx5_cmd_modify_flow_table() 321 MLX5_SET(create_flow_group_in, in, table_type, ft->type); in mlx5_cmd_create_flow_group() 344 MLX5_SET(destroy_flow_group_in, in, table_type, ft->type); in mlx5_cmd_destroy_flow_group() 424 MLX5_SET(set_fte_in, in, table_type, ft->type); in mlx5_cmd_set_fte() 601 MLX5_SET(delete_fte_in, in, table_type, ft->type); in mlx5_cmd_delete_fte() 765 u8 table_type; in mlx5_cmd_modify_header_alloc() local 771 table_type in mlx5_cmd_modify_header_alloc() [all...] |
H A D | fs_core.c | 756 enum fs_flow_table_type table_type, in alloc_flow_table() 776 ft->type = table_type; in alloc_flow_table() 1163 root->table_type, in __mlx5_create_flow_table() 2524 enum fs_flow_table_type table_type) in create_root_ns() 2526 const struct mlx5_flow_cmds *cmds = mlx5_fs_cmd_get_default(table_type); in create_root_ns() 2531 (table_type == FS_FT_NIC_RX || table_type == FS_FT_NIC_TX)) in create_root_ns() 2532 cmds = mlx5_fs_cmd_get_default_ipsec_fpga_cmds(table_type); in create_root_ns() 2540 root_ns->table_type = table_type; in create_root_ns() 755 alloc_flow_table(int level, u16 vport, int max_fte, enum fs_flow_table_type table_type, enum fs_flow_table_op_mod op_mod, u32 flags) alloc_flow_table() argument 2523 create_root_ns(struct mlx5_flow_steering *steering, enum fs_flow_table_type table_type) create_root_ns() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | fs_cmd.c | 176 MLX5_SET(set_flow_table_root_in, in, table_type, in mlx5_cmd_set_slave_root_fdb() 230 MLX5_SET(set_flow_table_root_in, in, table_type, ft->type); in mlx5_cmd_update_root_ft() 298 MLX5_SET(create_flow_table_in, in, table_type, ft->type); in mlx5_cmd_create_flow_table() 357 MLX5_SET(destroy_flow_table_in, in, table_type, ft->type); in mlx5_cmd_destroy_flow_table() 379 MLX5_SET(modify_flow_table_in, in, table_type, ft->type); in mlx5_cmd_modify_flow_table() 426 MLX5_SET(create_flow_group_in, in, table_type, ft->type); in mlx5_cmd_create_flow_group() 447 MLX5_SET(destroy_flow_group_in, in, table_type, ft->type); in mlx5_cmd_destroy_flow_group() 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 [all...] |
H A D | fs_ft_pool.c | 46 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 D | fs_ft_pool.h | 16 mlx5_ft_pool_get_avail_sz(struct mlx5_core_dev *dev, enum fs_flow_table_type table_type,
|
H A D | fs_core.c | 865 enum fs_flow_table_type table_type, in alloc_flow_table() 885 ft->type = table_type; in alloc_flow_table() 1269 root->table_type, in __mlx5_create_flow_table() 2722 enum fs_flow_table_type table_type) in create_root_ns() 2724 const struct mlx5_flow_cmds *cmds = mlx5_fs_cmd_get_default(table_type); in create_root_ns() 2734 root_ns->table_type = table_type; in create_root_ns() 3262 return root->cmds->get_capabilities(root, root->table_type); in mlx5_fs_get_capabilities() 3755 if (root->table_type != FS_FT_FDB) in mlx5_flow_namespace_set_mode() 864 alloc_flow_table(int level, u16 vport, enum fs_flow_table_type table_type, enum fs_flow_table_op_mod op_mod, u32 flags) alloc_flow_table() argument 2721 create_root_ns(struct mlx5_flow_steering *steering, enum fs_flow_table_type table_type) create_root_ns() argument
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
H A D | firmware.c | 1775 u32 record_idx = 0, table_type = 0, table_length_dwords = 0; in parse_platform_config() local 1854 table_type = (*ptr >> PLATFORM_CONFIG_HEADER_TABLE_TYPE_SHIFT) & in parse_platform_config() 1862 switch (table_type) { in parse_platform_config() 1864 pcfgcache->config_tables[table_type].num_table = in parse_platform_config() 1871 pcfgcache->config_tables[table_type].num_table = in parse_platform_config() 1878 pcfgcache->config_tables[table_type].num_table = in parse_platform_config() 1884 __func__, table_type, in parse_platform_config() 1890 pcfgcache->config_tables[table_type].table = ptr; in parse_platform_config() 1893 switch (table_type) { in parse_platform_config() 1904 __func__, table_type, in parse_platform_config() 1939 get_integrated_platform_config_field( struct hfi1_devdata *dd, enum platform_config_table_type_encoding table_type, int field_index, u32 *data) get_integrated_platform_config_field() argument 2073 get_platform_config_field(struct hfi1_devdata *dd, enum platform_config_table_type_encoding table_type, int table_index, int field_index, u32 *data, u32 len) get_platform_config_field() argument [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/ |
H A D | firmware.c | 1732 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() 1896 get_integrated_platform_config_field( struct hfi1_devdata *dd, enum platform_config_table_type_encoding table_type, int field_index, u32 *data) get_integrated_platform_config_field() argument 2030 get_platform_config_field(struct hfi1_devdata *dd, enum platform_config_table_type_encoding table_type, int table_index, int field_index, u32 *data, u32 len) get_platform_config_field() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
H A D | post_act.c | 33 enum fs_flow_table_type table_type = ns_type == MLX5_FLOW_NAMESPACE_FDB ? in mlx5e_tc_post_act_init() local 38 if (!MLX5_CAP_FLOWTABLE_TYPE(priv->mdev, ignore_flow_level, table_type)) { in mlx5e_tc_post_act_init()
|
/kernel/linux/linux-5.10/drivers/acpi/ |
H A D | pptt.c | 74 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()
|
/kernel/linux/linux-6.6/drivers/acpi/ |
H A D | pptt.c | 74 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_fid.c | 67 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()
|
/kernel/linux/linux-5.10/drivers/md/ |
H A D | dm-table.c | 817 static bool __table_type_bio_based(enum dm_queue_mode table_type) in __table_type_bio_based() argument 819 return (table_type == DM_TYPE_BIO_BASED || in __table_type_bio_based() 820 table_type == DM_TYPE_DAX_BIO_BASED); in __table_type_bio_based() 823 static bool __table_type_request_based(enum dm_queue_mode table_type) in __table_type_request_based() argument 825 return table_type == DM_TYPE_REQUEST_BASED; in __table_type_request_based()
|