Home
last modified time | relevance | path

Searched refs:table_id (Results 1 – 25 of 64) sorted by relevance

123

/linux-6.1.9/drivers/gpu/drm/amd/pm/powerplay/smumgr/
Dsmu10_smumgr.c117 uint8_t *table, int16_t table_id) in smu10_copy_table_from_smc() argument
123 PP_ASSERT_WITH_CODE(table_id < MAX_SMU_TABLE, in smu10_copy_table_from_smc()
125 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].version != 0, in smu10_copy_table_from_smc()
127 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].size != 0, in smu10_copy_table_from_smc()
131 upper_32_bits(priv->smu_tables.entry[table_id].mc_addr), in smu10_copy_table_from_smc()
135 lower_32_bits(priv->smu_tables.entry[table_id].mc_addr), in smu10_copy_table_from_smc()
139 priv->smu_tables.entry[table_id].table_id, in smu10_copy_table_from_smc()
144 memcpy(table, (uint8_t *)priv->smu_tables.entry[table_id].table, in smu10_copy_table_from_smc()
145 priv->smu_tables.entry[table_id].size); in smu10_copy_table_from_smc()
151 uint8_t *table, int16_t table_id) in smu10_copy_table_to_smc() argument
[all …]
Dvega10_smumgr.c39 uint8_t *table, int16_t table_id) in vega10_copy_table_from_smc() argument
44 PP_ASSERT_WITH_CODE(table_id < MAX_SMU_TABLE, in vega10_copy_table_from_smc()
46 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].version != 0, in vega10_copy_table_from_smc()
48 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].size != 0, in vega10_copy_table_from_smc()
52 upper_32_bits(priv->smu_tables.entry[table_id].mc_addr), in vega10_copy_table_from_smc()
56 lower_32_bits(priv->smu_tables.entry[table_id].mc_addr), in vega10_copy_table_from_smc()
60 priv->smu_tables.entry[table_id].table_id, in vega10_copy_table_from_smc()
65 memcpy(table, priv->smu_tables.entry[table_id].table, in vega10_copy_table_from_smc()
66 priv->smu_tables.entry[table_id].size); in vega10_copy_table_from_smc()
72 uint8_t *table, int16_t table_id) in vega10_copy_table_to_smc() argument
[all …]
Dvega12_smumgr.c41 uint8_t *table, int16_t table_id) in vega12_copy_table_from_smc() argument
47 PP_ASSERT_WITH_CODE(table_id < TABLE_COUNT, in vega12_copy_table_from_smc()
49 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].version != 0, in vega12_copy_table_from_smc()
51 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].size != 0, in vega12_copy_table_from_smc()
55 upper_32_bits(priv->smu_tables.entry[table_id].mc_addr), in vega12_copy_table_from_smc()
60 lower_32_bits(priv->smu_tables.entry[table_id].mc_addr), in vega12_copy_table_from_smc()
66 table_id, in vega12_copy_table_from_smc()
73 memcpy(table, priv->smu_tables.entry[table_id].table, in vega12_copy_table_from_smc()
74 priv->smu_tables.entry[table_id].size); in vega12_copy_table_from_smc()
85 uint8_t *table, int16_t table_id) in vega12_copy_table_to_smc() argument
[all …]
Dvega20_smumgr.c164 uint8_t *table, int16_t table_id) in vega20_copy_table_from_smc() argument
171 PP_ASSERT_WITH_CODE(table_id < TABLE_COUNT, in vega20_copy_table_from_smc()
173 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].version != 0, in vega20_copy_table_from_smc()
175 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].size != 0, in vega20_copy_table_from_smc()
180 upper_32_bits(priv->smu_tables.entry[table_id].mc_addr), in vega20_copy_table_from_smc()
186 lower_32_bits(priv->smu_tables.entry[table_id].mc_addr), in vega20_copy_table_from_smc()
191 PPSMC_MSG_TransferTableSmu2Dram, table_id, NULL)) == 0, in vega20_copy_table_from_smc()
197 memcpy(table, priv->smu_tables.entry[table_id].table, in vega20_copy_table_from_smc()
198 priv->smu_tables.entry[table_id].size); in vega20_copy_table_from_smc()
209 uint8_t *table, int16_t table_id) in vega20_copy_table_to_smc() argument
[all …]
Dsmu10_smumgr.h35 uint32_t table_id; member
Dvega10_smumgr.h31 uint32_t table_id; member
Dsmumgr.c241 int smum_smc_table_manager(struct pp_hwmgr *hwmgr, uint8_t *table, uint16_t table_id, bool rw) in smum_smc_table_manager() argument
244 return hwmgr->smumgr_funcs->smc_table_manager(hwmgr, table, table_id, rw); in smum_smc_table_manager()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_fw.c12 u32 table_id, group_id, modify_hdr_id; in mlx5dr_fw_create_recalc_cs_ft() local
27 &table_id); in mlx5dr_fw_create_recalc_cs_ft()
35 table_id, &group_id); in mlx5dr_fw_create_recalc_cs_ft()
56 table_id, group_id, modify_hdr_id, in mlx5dr_fw_create_recalc_cs_ft()
65 recalc_cs_ft->table_id = table_id; in mlx5dr_fw_create_recalc_cs_ft()
75 table_id, group_id); in mlx5dr_fw_create_recalc_cs_ft()
77 mlx5dr_cmd_destroy_flow_table(dmn->mdev, table_id, MLX5_FLOW_TABLE_TYPE_FDB); in mlx5dr_fw_create_recalc_cs_ft()
88 recalc_cs_ft->table_id); in mlx5dr_fw_destroy_recalc_cs_ft()
92 recalc_cs_ft->table_id, in mlx5dr_fw_destroy_recalc_cs_ft()
95 recalc_cs_ft->table_id, in mlx5dr_fw_destroy_recalc_cs_ft()
Ddr_cmd.c212 u32 table_id, in mlx5dr_cmd_query_flow_table() argument
223 MLX5_SET(query_flow_table_in, in, table_id, table_id); in mlx5dr_cmd_query_flow_table()
281 u32 table_id, in mlx5dr_cmd_set_fte_modify_and_vport() argument
302 MLX5_SET(set_fte_in, in, table_id, table_id); in mlx5dr_cmd_set_fte_modify_and_vport()
325 u32 table_id) in mlx5dr_cmd_del_flow_table_entry() argument
331 MLX5_SET(delete_fte_in, in, table_id, table_id); in mlx5dr_cmd_del_flow_table_entry()
387 u32 table_id, in mlx5dr_cmd_create_empty_flow_group() argument
401 MLX5_SET(create_flow_group_in, in, table_id, table_id); in mlx5dr_cmd_create_empty_flow_group()
416 u32 table_id, in mlx5dr_cmd_destroy_flow_group() argument
424 MLX5_SET(destroy_flow_group_in, in, table_id, table_id); in mlx5dr_cmd_destroy_flow_group()
[all …]
Ddr_table.c216 tbl->table_id, in dr_table_destroy_sw_owned_tbl()
245 NULL, &tbl->table_id); in dr_table_create_sw_owned_tbl()
313 return tbl->table_id; in mlx5dr_table_get_id()
Ddr_types.h936 u32 table_id; member
1248 u32 table_id,
1254 u32 table_id);
1264 u32 table_id,
1268 u32 table_id,
1273 u32 *table_id);
1275 u32 table_id,
1279 u32 table_id,
1450 u32 table_id; member
/linux-6.1.9/drivers/acpi/
Dpci_mcfg.c46 #define AL_ECAM(table_id, rev, seg, ops) \ argument
47 { "AMAZON", table_id, rev, seg, MCFG_BUS_ANY, ops }
70 #define HISI_QUAD_DOM(table_id, seg, ops) \ argument
71 { "HISI ", table_id, 0, (seg) + 0, MCFG_BUS_ANY, ops }, \
72 { "HISI ", table_id, 0, (seg) + 1, MCFG_BUS_ANY, ops }, \
73 { "HISI ", table_id, 0, (seg) + 2, MCFG_BUS_ANY, ops }, \
74 { "HISI ", table_id, 0, (seg) + 3, MCFG_BUS_ANY, ops }
177 #define LOONGSON_ECAM_MCFG(table_id, seg) \ argument
178 { "LOONGS", table_id, 1, seg, MCFG_BUS_ANY, &loongson_pci_ecam_ops }
/linux-6.1.9/drivers/net/ethernet/sfc/falcon/
Dfarch.c2306 enum ef4_farch_filter_table_id table_id; in ef4_farch_filter_get_rx_id_limit() local
2309 table_id = ef4_farch_filter_range_table[range]; in ef4_farch_filter_get_rx_id_limit()
2310 if (state->table[table_id].size != 0) in ef4_farch_filter_get_rx_id_limit()
2312 state->table[table_id].size; in ef4_farch_filter_get_rx_id_limit()
2527 enum ef4_farch_filter_table_id table_id; in ef4_farch_filter_remove_safe() local
2532 table_id = ef4_farch_filter_id_table_id(filter_id); in ef4_farch_filter_remove_safe()
2533 if ((unsigned int)table_id >= EF4_FARCH_FILTER_TABLE_COUNT) in ef4_farch_filter_remove_safe()
2535 table = &state->table[table_id]; in ef4_farch_filter_remove_safe()
2553 enum ef4_farch_filter_table_id table_id; in ef4_farch_filter_get_safe() local
2559 table_id = ef4_farch_filter_id_table_id(filter_id); in ef4_farch_filter_get_safe()
[all …]
/linux-6.1.9/drivers/net/ethernet/sfc/siena/
Dfarch.c2375 enum efx_farch_filter_table_id table_id; in efx_farch_filter_get_rx_id_limit() local
2378 table_id = efx_farch_filter_range_table[range]; in efx_farch_filter_get_rx_id_limit()
2379 if (state->table[table_id].size != 0) in efx_farch_filter_get_rx_id_limit()
2381 state->table[table_id].size; in efx_farch_filter_get_rx_id_limit()
2596 enum efx_farch_filter_table_id table_id; in efx_farch_filter_remove_safe() local
2601 table_id = efx_farch_filter_id_table_id(filter_id); in efx_farch_filter_remove_safe()
2602 if ((unsigned int)table_id >= EFX_FARCH_FILTER_TABLE_COUNT) in efx_farch_filter_remove_safe()
2604 table = &state->table[table_id]; in efx_farch_filter_remove_safe()
2622 enum efx_farch_filter_table_id table_id; in efx_farch_filter_get_safe() local
2630 table_id = efx_farch_filter_id_table_id(filter_id); in efx_farch_filter_get_safe()
[all …]
/linux-6.1.9/drivers/net/
Dvrf.c96 u32 table_id; member
218 static void vrf_map_elem_init(struct vrf_map_elem *me, int table_id, in vrf_map_elem_init() argument
221 me->table_id = table_id; in vrf_map_elem_init()
228 u32 table_id) in vrf_map_lookup_elem() argument
233 key = jhash_1word(table_id, HASH_INITVAL); in vrf_map_lookup_elem()
235 if (me->table_id == table_id) in vrf_map_lookup_elem()
244 u32 table_id = me->table_id; in vrf_map_add_elem() local
247 key = jhash_1word(table_id, HASH_INITVAL); in vrf_map_add_elem()
273 u32 table_id = vrf->tb_id; in vrf_map_register_dev() local
285 vrf_map_elem_init(new_me, table_id, dev->ifindex, 0); in vrf_map_register_dev()
[all …]
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_cmd.c183 MLX5_SET(set_flow_table_root_in, in, table_id, in mlx5_cmd_set_slave_root_fdb()
189 MLX5_SET(set_flow_table_root_in, in, table_id, in mlx5_cmd_set_slave_root_fdb()
234 MLX5_SET(set_flow_table_root_in, in, table_id, ft->id); in mlx5_cmd_update_root_ft()
252 MLX5_SET(set_flow_table_root_in, in, table_id, in mlx5_cmd_update_root_ft()
326 table_id); in mlx5_cmd_create_flow_table()
345 MLX5_SET(destroy_flow_table_in, in, table_id, ft->id); in mlx5_cmd_destroy_flow_table()
367 MLX5_SET(modify_flow_table_in, in, table_id, ft->id); in mlx5_cmd_modify_flow_table()
414 MLX5_SET(create_flow_group_in, in, table_id, ft->id); in mlx5_cmd_create_flow_group()
440 MLX5_SET(destroy_flow_group_in, in, table_id, ft->id); in mlx5_cmd_destroy_flow_group()
544 MLX5_SET(set_fte_in, in, table_id, ft->id); in mlx5_cmd_set_fte()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/include/
Ddiscovery.h142 uint32_t table_id; /* table ID */ member
272 uint32_t table_id; /* table ID */ member
290 uint32_t table_id; /* table ID */ member
/linux-6.1.9/include/linux/
Dclocksource.h291 #define TIMER_ACPI_DECLARE(name, table_id, fn) \ argument
292 ACPI_DECLARE_PROBE_ENTRY(timer, name, table_id, 0, NULL, 0, fn)
Dacpi.h1314 #define ACPI_DECLARE_PROBE_ENTRY(table, name, table_id, subtable, \ argument
1318 .id = table_id, \
1325 #define ACPI_DECLARE_SUBTABLE_PROBE_ENTRY(table, name, table_id, \ argument
1329 .id = table_id, \
1403 #define ACPI_DECLARE_PROBE_ENTRY(table, name, table_id, subtable, valid, data, fn) \ argument
1406 = { (void *) table_id, \
/linux-6.1.9/net/l3mdev/
Dl3mdev.c77 struct net *net, u32 table_id) in l3mdev_ifindex_lookup_by_table_id() argument
96 ifindex = lookup(net, table_id); in l3mdev_ifindex_lookup_by_table_id()
/linux-6.1.9/drivers/scsi/
D3w-xxxx.h337 unsigned short table_id; member
356 unsigned short table_id; member
/linux-6.1.9/include/net/
Dl3mdev.h57 u32 table_id);
317 u32 table_id) in l3mdev_ifindex_lookup_by_table_id() argument
/linux-6.1.9/drivers/gpu/drm/amd/pm/swsmu/
Dsmu_cmn.c860 int table_id = smu_cmn_to_asic_specific_index(smu, in smu_cmn_update_table() local
865 if (!table_data || table_id >= SMU_TABLE_COUNT || table_id < 0) in smu_cmn_update_table()
882 table_id | ((argument & 0xFFFF) << 16), in smu_cmn_update_table()
/linux-6.1.9/drivers/gpu/drm/amd/pm/powerplay/inc/
Dsmumgr.h114 extern int smum_smc_table_manager(struct pp_hwmgr *hwmgr, uint8_t *table, uint16_t table_id, bool r…
/linux-6.1.9/drivers/acpi/acpica/
Dacapps.h148 char *ad_generate_filename(char *prefix, char *table_id);

123