Home
last modified time | relevance | path

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

12

/openbmc/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()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Ddr_cmd.c243 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() argument
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() argument
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()
414 u32 table_type, in mlx5dr_cmd_create_empty_flow_group() argument
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
[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.h975 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);
/openbmc/libpldm/src/dsp/
H A Dbios.c254 uint8_t transfer_op_flag, uint8_t table_type, in encode_get_bios_table_req() argument
277 request->table_type = table_type; in encode_get_bios_table_req()
284 uint8_t *transfer_op_flag, uint8_t *table_type) in decode_get_bios_table_req() argument
286 if (msg == NULL || transfer_op_flag == NULL || table_type == NULL || in decode_get_bios_table_req()
299 *table_type = request->table_type; in decode_get_bios_table_req()
591 uint8_t transfer_flag, uint8_t table_type, in encode_set_bios_table_req() argument
626 request->table_type = table_type; in encode_set_bios_table_req()
690 uint8_t *table_type, struct variable_field *table) in decode_set_bios_table_req() argument
693 table_type == NULL || table == NULL) { in decode_set_bios_table_req()
705 *table_type = request->table_type; in decode_set_bios_table_req()
/openbmc/libpldm/include/libpldm/
H A Dbios.h90 uint8_t table_type; member
190 uint8_t table_type; member
303 uint8_t transfer_flag, uint8_t table_type,
382 uint8_t transfer_op_flag, uint8_t table_type,
397 uint8_t *transfer_op_flag, uint8_t *table_type);
614 uint8_t *table_type,
/openbmc/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 …]
/openbmc/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()
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 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.h16 mlx5_ft_pool_get_avail_sz(struct mlx5_core_dev *dev, enum fs_flow_table_type table_type,
H A Dfs_core.h285 enum fs_flow_table_type table_type; member
H A Dfs_core.c865 enum fs_flow_table_type table_type, in alloc_flow_table() argument
885 ft->type = table_type; in alloc_flow_table()
1269 root->table_type, in __mlx5_create_flow_table()
2743 enum fs_flow_table_type table_type) in create_root_ns() argument
2745 const struct mlx5_flow_cmds *cmds = mlx5_fs_cmd_get_default(table_type); in create_root_ns()
2755 root_ns->table_type = table_type; in create_root_ns()
3283 return root->cmds->get_capabilities(root, root->table_type); in mlx5_fs_get_capabilities()
3779 if (root->table_type != FS_FT_FDB) in mlx5_flow_namespace_set_mode()
/openbmc/qemu/include/hw/cxl/
H A Dcxl_cdat.h34 uint8_t table_type; member
43 uint8_t table_type; member
/openbmc/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()
/openbmc/libpldm/src/oem/ibm/
H A Dfile_io.c117 uint8_t *transfer_opflag, uint8_t *table_type) in decode_get_file_table_req() argument
120 table_type == NULL) { in decode_get_file_table_req()
133 *table_type = request->table_type; in decode_get_file_table_req()
174 uint8_t transfer_opflag, uint8_t table_type, in encode_get_file_table_req() argument
196 request->table_type = table_type; in encode_get_file_table_req()
/openbmc/libpldm/include/libpldm/oem/ibm/
H A Dfile_io.h194 uint8_t table_type; //!< Table type member
229 uint8_t *transfer_opflag, uint8_t *table_type);
259 uint8_t transfer_opflag, uint8_t table_type,
/openbmc/linux/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()
/openbmc/qemu/hw/intc/
H A Dpnv_xive2.c510 static int pnv_xive2_nxc_to_table_type(uint8_t nxc_type, uint32_t *table_type) in pnv_xive2_nxc_to_table_type() argument
514 *table_type = VST_NVP; in pnv_xive2_nxc_to_table_type()
517 *table_type = VST_NVG; in pnv_xive2_nxc_to_table_type()
520 *table_type = VST_NVC; in pnv_xive2_nxc_to_table_type()
533 uint32_t idx, table_type = -1; in pnv_xive2_nxc_update() local
545 assert(!pnv_xive2_nxc_to_table_type(nxc_type, &table_type)); in pnv_xive2_nxc_update()
551 return pnv_xive2_vst_write(xive, table_type, blk, idx, nxc_watch, in pnv_xive2_nxc_update()
558 uint32_t idx, table_type = -1; in pnv_xive2_nxc_cache_load() local
570 assert(!pnv_xive2_nxc_to_table_type(nxc_type, &table_type)); in pnv_xive2_nxc_cache_load()
572 if (pnv_xive2_vst_read(xive, table_type, blk, idx, nxc_watch)) { in pnv_xive2_nxc_cache_load()
[all …]
/openbmc/libpldm/tests/dsp/
H A Dbios.cpp409 EXPECT_EQ(tableType, req->table_type); in TEST()
443 request->table_type = tableType; in TEST()
473 request->table_type = tableType; in TEST()
981 EXPECT_EQ(tableType, req->table_type); in TEST()
1108 req->table_type = tableType; in TEST()
1144 req->table_type = tableType; in TEST()
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_fid.c74 enum mlxsw_flood_table_type table_type; member
1077 .table_type = MLXSW_REG_SFGC_TABLE_TYPE_FID_OFFSET,
1082 .table_type = MLXSW_REG_SFGC_TABLE_TYPE_FID_OFFSET,
1087 .table_type = MLXSW_REG_SFGC_TABLE_TYPE_FID_OFFSET,
1674 flood_table->table_type, 0, mid_base); in mlxsw_sp_fid_flood_table_init()
/openbmc/linux/drivers/md/
H A Ddm-table.c807 static bool __table_type_bio_based(enum dm_queue_mode table_type) in __table_type_bio_based() argument
809 return (table_type == DM_TYPE_BIO_BASED || in __table_type_bio_based()
810 table_type == DM_TYPE_DAX_BIO_BASED); in __table_type_bio_based()
813 static bool __table_type_request_based(enum dm_queue_mode table_type) in __table_type_request_based() argument
815 return table_type == DM_TYPE_REQUEST_BASED; in __table_type_request_based()
/openbmc/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()
/openbmc/linux/drivers/infiniband/hw/mlx5/
H A Ddevx.c1185 MLX5_SET(destroy_flow_table_in, din, table_type, in devx_obj_build_destroy_cmd()
1186 MLX5_GET(create_flow_table_in, in, table_type)); in devx_obj_build_destroy_cmd()
1197 MLX5_SET(destroy_flow_group_in, din, table_type, in devx_obj_build_destroy_cmd()
1198 MLX5_GET(create_flow_group_in, in, table_type)); in devx_obj_build_destroy_cmd()
1211 MLX5_SET(delete_fte_in, din, table_type, in devx_obj_build_destroy_cmd()
1212 MLX5_GET(set_fte_in, in, table_type)); in devx_obj_build_destroy_cmd()

12