Home
last modified time | relevance | path

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

12

/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 …]
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()
Dsmu10_smumgr.h35 uint32_t table_id; member
Dvega10_smumgr.h31 uint32_t table_id; member
/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.c205 u32 table_id, in mlx5dr_cmd_query_flow_table() argument
216 MLX5_SET(query_flow_table_in, in, table_id, table_id); in mlx5dr_cmd_query_flow_table()
274 u32 table_id, in mlx5dr_cmd_set_fte_modify_and_vport() argument
295 MLX5_SET(set_fte_in, in, table_id, table_id); in mlx5dr_cmd_set_fte_modify_and_vport()
318 u32 table_id) in mlx5dr_cmd_del_flow_table_entry() argument
324 MLX5_SET(delete_fte_in, in, table_id, table_id); in mlx5dr_cmd_del_flow_table_entry()
380 u32 table_id, in mlx5dr_cmd_create_empty_flow_group() argument
394 MLX5_SET(create_flow_group_in, in, table_id, table_id); in mlx5dr_cmd_create_empty_flow_group()
409 u32 table_id, in mlx5dr_cmd_destroy_flow_group() argument
417 MLX5_SET(destroy_flow_group_in, in, table_id, table_id); in mlx5dr_cmd_destroy_flow_group()
[all …]
Ddr_types.h869 u32 table_id; member
1163 u32 table_id,
1169 u32 table_id);
1179 u32 table_id,
1183 u32 table_id,
1188 u32 *table_id);
1190 u32 table_id,
1194 u32 table_id,
1378 u32 table_id; member
Ddr_table.c215 tbl->table_id, in dr_table_destroy_sw_owned_tbl()
243 NULL, &tbl->table_id); in dr_table_create_sw_owned_tbl()
307 return tbl->table_id; in mlx5dr_table_get_id()
/drivers/net/ethernet/sfc/
Dfarch.c2373 enum efx_farch_filter_table_id table_id; in efx_farch_filter_get_rx_id_limit() local
2376 table_id = efx_farch_filter_range_table[range]; in efx_farch_filter_get_rx_id_limit()
2377 if (state->table[table_id].size != 0) in efx_farch_filter_get_rx_id_limit()
2379 state->table[table_id].size; in efx_farch_filter_get_rx_id_limit()
2594 enum efx_farch_filter_table_id table_id; in efx_farch_filter_remove_safe() local
2599 table_id = efx_farch_filter_id_table_id(filter_id); in efx_farch_filter_remove_safe()
2600 if ((unsigned int)table_id >= EFX_FARCH_FILTER_TABLE_COUNT) in efx_farch_filter_remove_safe()
2602 table = &state->table[table_id]; in efx_farch_filter_remove_safe()
2620 enum efx_farch_filter_table_id table_id; in efx_farch_filter_get_safe() local
2628 table_id = efx_farch_filter_id_table_id(filter_id); in efx_farch_filter_get_safe()
[all …]
/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 …]
/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 }
/drivers/net/
Dvrf.c95 u32 table_id; member
217 static void vrf_map_elem_init(struct vrf_map_elem *me, int table_id, in vrf_map_elem_init() argument
220 me->table_id = table_id; in vrf_map_elem_init()
227 u32 table_id) in vrf_map_lookup_elem() argument
232 key = jhash_1word(table_id, HASH_INITVAL); in vrf_map_lookup_elem()
234 if (me->table_id == table_id) in vrf_map_lookup_elem()
243 u32 table_id = me->table_id; in vrf_map_add_elem() local
246 key = jhash_1word(table_id, HASH_INITVAL); in vrf_map_add_elem()
272 u32 table_id = vrf->tb_id; in vrf_map_register_dev() local
284 vrf_map_elem_init(new_me, table_id, dev->ifindex, 0); in vrf_map_register_dev()
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_cmd.c175 MLX5_SET(set_flow_table_root_in, in, table_id, in mlx5_cmd_set_slave_root_fdb()
181 MLX5_SET(set_flow_table_root_in, in, table_id, in mlx5_cmd_set_slave_root_fdb()
212 MLX5_SET(set_flow_table_root_in, in, table_id, ft->id); in mlx5_cmd_update_root_ft()
230 MLX5_SET(set_flow_table_root_in, in, table_id, in mlx5_cmd_update_root_ft()
302 table_id); in mlx5_cmd_create_flow_table()
321 MLX5_SET(destroy_flow_table_in, in, table_id, ft->id); in mlx5_cmd_destroy_flow_table()
343 MLX5_SET(modify_flow_table_in, in, table_id, ft->id); in mlx5_cmd_modify_flow_table()
390 MLX5_SET(create_flow_group_in, in, table_id, ft->id); in mlx5_cmd_create_flow_group()
416 MLX5_SET(destroy_flow_group_in, in, table_id, ft->id); in mlx5_cmd_destroy_flow_group()
494 MLX5_SET(set_fte_in, in, table_id, ft->id); in mlx5_cmd_set_fte()
[all …]
/drivers/scsi/
D3w-xxxx.h337 unsigned short table_id; member
356 unsigned short table_id; member
D3w-xxxx.c581 param->table_id = 0x401; /* AEN table */ in tw_aen_read_queue()
723 param->table_id = 0x401; /* AEN table */ in tw_aen_drain_queue()
1152 param->table_id = 0x404; /* Features table */ in tw_setfeature()
1426 param->table_id = 3; /* unit summary table */ in tw_scsiop_inquiry()
1536 param->table_id = TW_UNIT_INFORMATION_TABLE_BASE + tw_dev->srb[request_id]->device->id; in tw_scsiop_mode_sense()
1625 param->table_id = TW_UNIT_INFORMATION_TABLE_BASE + in tw_scsiop_read_capacity()
1871 param->table_id = 3; /* unit summary table */ in tw_scsiop_test_unit_ready()
/drivers/gpu/drm/amd/pm/inc/
Damdgpu_smu.h249 #define SMU_TABLE_INIT(tables, table_id, s, a, d) \ argument
251 tables[table_id].size = s; \
252 tables[table_id].align = a; \
253 tables[table_id].domain = d; \
Dsmumgr.h114 extern int smum_smc_table_manager(struct pp_hwmgr *hwmgr, uint8_t *table, uint16_t table_id, bool r…
/drivers/gpu/drm/amd/pm/swsmu/
Dsmu_cmn.c881 int table_id = smu_cmn_to_asic_specific_index(smu, in smu_cmn_update_table() local
886 if (!table_data || table_id >= SMU_TABLE_COUNT || table_id < 0) in smu_cmn_update_table()
903 table_id | ((argument & 0xFFFF) << 16), in smu_cmn_update_table()
/drivers/acpi/acpica/
Dacapps.h148 char *ad_generate_filename(char *prefix, char *table_id);
/drivers/net/ethernet/aquantia/atlantic/macsec/
Dmacsec_api.c60 u8 num_words, u8 table_id, in set_raw_ingress_record() argument
102 lut_sel_reg.bits_0.lut_select = table_id; in set_raw_ingress_record()
121 u8 num_words, u8 table_id, in get_raw_ingress_record() argument
131 lut_sel_reg.bits_0.lut_select = table_id; in get_raw_ingress_record()
170 u8 num_words, u8 table_id, in set_raw_egress_record() argument
198 lut_sel_reg.bits_0.lut_select = table_id; in set_raw_egress_record()
214 u8 num_words, u8 table_id, in get_raw_egress_record() argument
224 lut_sel_reg.bits_0.lut_select = table_id; in get_raw_egress_record()
/drivers/gpu/drm/amd/include/
Ddiscovery.h116 uint32_t table_id; /* table ID */ member
/drivers/media/test-drivers/vidtv/
Dvidtv_psi.c980 pat->header.table_id = 0x0; in vidtv_psi_pat_table_init()
1169 pmt->header.table_id = 0x2; in vidtv_psi_pmt_table_init()
1311 sdt->header.table_id = 0x42; in vidtv_psi_sdt_table_init()
1639 nit->header.table_id = 0x40; // ACTUAL_NETWORK in vidtv_psi_nit_table_init()
1870 eit->header.table_id = 0x4e; //actual_transport_stream: present/following in vidtv_psi_eit_table_init()
1887 eit->last_table_id = eit->header.table_id; /* not implemented */ in vidtv_psi_eit_table_init()

12