Home
last modified time | relevance | path

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

123

/linux-6.6.21/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.6.21/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.c233 u32 table_id, in mlx5dr_cmd_query_flow_table() argument
244 MLX5_SET(query_flow_table_in, in, table_id, table_id); in mlx5dr_cmd_query_flow_table()
309 u32 table_id, in mlx5dr_cmd_set_fte_modify_and_vport() argument
330 MLX5_SET(set_fte_in, in, table_id, table_id); in mlx5dr_cmd_set_fte_modify_and_vport()
353 u32 table_id) in mlx5dr_cmd_del_flow_table_entry() argument
359 MLX5_SET(delete_fte_in, in, table_id, table_id); in mlx5dr_cmd_del_flow_table_entry()
415 u32 table_id, in mlx5dr_cmd_create_empty_flow_group() argument
429 MLX5_SET(create_flow_group_in, in, table_id, table_id); in mlx5dr_cmd_create_empty_flow_group()
444 u32 table_id, in mlx5dr_cmd_destroy_flow_group() argument
452 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_dbg.c129 rule_id, action->dest_tbl->tbl->table_id, in dr_dump_rule_action_mem()
236 hit_tbl_id = action->range->hit_tbl_action->dest_tbl->tbl->table_id; in dr_dump_rule_action_mem()
245 miss_tbl_id = action->range->miss_tbl_action->dest_tbl->tbl->table_id; in dr_dump_rule_action_mem()
487 const u64 table_id) in dr_dump_table_rx_tx() argument
496 seq_printf(file, "%d,0x%llx,0x%llx\n", rec_type, table_id, in dr_dump_table_rx_tx()
Ddr_types.h976 u32 table_id; member
1319 u32 table_id,
1325 u32 table_id);
1335 u32 table_id,
1339 u32 table_id,
1344 u32 *table_id);
1346 u32 table_id,
1350 u32 table_id,
1545 u32 table_id; member
/linux-6.6.21/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.6.21/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.6.21/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.6.21/drivers/net/
Dvrf.c96 u32 table_id; member
208 static void vrf_map_elem_init(struct vrf_map_elem *me, int table_id, in vrf_map_elem_init() argument
211 me->table_id = table_id; in vrf_map_elem_init()
218 u32 table_id) in vrf_map_lookup_elem() argument
223 key = jhash_1word(table_id, HASH_INITVAL); in vrf_map_lookup_elem()
225 if (me->table_id == table_id) in vrf_map_lookup_elem()
234 u32 table_id = me->table_id; in vrf_map_add_elem() local
237 key = jhash_1word(table_id, HASH_INITVAL); in vrf_map_add_elem()
263 u32 table_id = vrf->tb_id; in vrf_map_register_dev() local
275 vrf_map_elem_init(new_me, table_id, dev->ifindex, 0); in vrf_map_register_dev()
[all …]
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_cmd.c184 MLX5_SET(set_flow_table_root_in, in, table_id, in mlx5_cmd_set_slave_root_fdb()
190 MLX5_SET(set_flow_table_root_in, in, table_id, in mlx5_cmd_set_slave_root_fdb()
235 MLX5_SET(set_flow_table_root_in, in, table_id, ft->id); in mlx5_cmd_update_root_ft()
263 MLX5_SET(set_flow_table_root_in, in, table_id, in mlx5_cmd_update_root_ft()
339 table_id); in mlx5_cmd_create_flow_table()
358 MLX5_SET(destroy_flow_table_in, in, table_id, ft->id); in mlx5_cmd_destroy_flow_table()
380 MLX5_SET(modify_flow_table_in, in, table_id, ft->id); in mlx5_cmd_modify_flow_table()
427 MLX5_SET(create_flow_group_in, in, table_id, ft->id); in mlx5_cmd_create_flow_group()
448 MLX5_SET(destroy_flow_group_in, in, table_id, ft->id); in mlx5_cmd_destroy_flow_group()
553 MLX5_SET(set_fte_in, in, table_id, ft->id); in mlx5_cmd_set_fte()
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/include/
Ddiscovery.h170 uint32_t table_id; /* table ID */ member
330 uint32_t table_id; /* table ID */ member
354 uint32_t table_id; /* table ID */ member
/linux-6.6.21/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.h1341 #define ACPI_DECLARE_PROBE_ENTRY(table, name, table_id, subtable, \ argument
1345 .id = table_id, \
1352 #define ACPI_DECLARE_SUBTABLE_PROBE_ENTRY(table, name, table_id, \ argument
1356 .id = table_id, \
1430 #define ACPI_DECLARE_PROBE_ENTRY(table, name, table_id, subtable, valid, data, fn) \ argument
1433 = { (void *) table_id, \
/linux-6.6.21/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.6.21/drivers/scsi/
D3w-xxxx.h337 unsigned short table_id; member
356 unsigned short table_id; member
/linux-6.6.21/include/net/
Dl3mdev.h57 u32 table_id);
317 u32 table_id) in l3mdev_ifindex_lookup_by_table_id() argument
/linux-6.6.21/drivers/gpu/drm/amd/pm/swsmu/
Dsmu_cmn.c868 int table_id = smu_cmn_to_asic_specific_index(smu, in smu_cmn_update_table() local
873 if (!table_data || table_id >= SMU_TABLE_COUNT || table_id < 0) in smu_cmn_update_table()
890 table_id | ((argument & 0xFFFF) << 16), in smu_cmn_update_table()
/linux-6.6.21/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…

123