| /linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
| H A D | vega10_hwmgr.c | 196 struct phm_ppt_v2_information *table_info = in vega10_set_features_platform_caps() local 285 if (table_info->tdp_table->usClockStretchAmount && in vega10_set_features_platform_caps() 306 struct phm_ppt_v2_information *table_info = in vega10_odn_initial_default_setting() local 324 vddc_lookup_table = table_info->vddc_lookup_table; in vega10_odn_initial_default_setting() 331 dep_table[0] = table_info->vdd_dep_on_sclk; in vega10_odn_initial_default_setting() 332 dep_table[1] = table_info->vdd_dep_on_mclk; in vega10_odn_initial_default_setting() 333 dep_table[2] = table_info->vdd_dep_on_socclk; in vega10_odn_initial_default_setting() 530 struct phm_ppt_v2_information *table_info = in vega10_get_socclk_for_voltage_evv() local 538 for (entry_id = 0; entry_id < table_info->vdd_dep_on_sclk->count; entry_id++) { in vega10_get_socclk_for_voltage_evv() 539 voltage_id = table_info->vdd_dep_on_socclk->entries[entry_id].vddInd; in vega10_get_socclk_for_voltage_evv() [all …]
|
| H A D | smu7_hwmgr.c | 319 struct phm_ppt_v1_information *table_info = in smu7_construct_voltage_tables() local 334 table_info->vdd_dep_on_mclk); in smu7_construct_voltage_tables() 354 table_info->vdd_dep_on_mclk); in smu7_construct_voltage_tables() 366 table_info->vddgfx_lookup_table); in smu7_construct_voltage_tables() 385 table_info->vddc_lookup_table); in smu7_construct_voltage_tables() 638 struct phm_ppt_v1_information *table_info = in smu7_setup_default_pcie_table() local 649 if (table_info != NULL) in smu7_setup_default_pcie_table() 650 pcie_table = table_info->pcie_table; in smu7_setup_default_pcie_table() 870 struct phm_ppt_v1_information *table_info = in smu7_setup_dpm_tables_v1() local 877 if (table_info == NULL) in smu7_setup_dpm_tables_v1() [all …]
|
| H A D | smu_helper.c | 465 struct phm_ppt_v1_information *table_info = in phm_get_sclk_for_voltage_evv() local 471 for (entry_id = 0; entry_id < table_info->vdd_dep_on_sclk->count; entry_id++) { in phm_get_sclk_for_voltage_evv() 472 voltage_id = table_info->vdd_dep_on_sclk->entries[entry_id].vddInd; in phm_get_sclk_for_voltage_evv() 477 if (entry_id >= table_info->vdd_dep_on_sclk->count) { in phm_get_sclk_for_voltage_evv() 482 *sclk = table_info->vdd_dep_on_sclk->entries[entry_id].clk; in phm_get_sclk_for_voltage_evv() 545 struct phm_ppt_v1_information *table_info = in phm_apply_dal_min_voltage_request() local 548 table_info->vddc_dep_on_dal_pwrl; in phm_apply_dal_min_voltage_request() 565 vddc_table = table_info->vdd_dep_on_sclk; in phm_apply_dal_min_voltage_request()
|
| H A D | vega10_powertune.c | 1240 struct phm_ppt_v2_information *table_info = in vega10_initialize_power_tune_defaults() local 1242 struct phm_tdp_table *tdp_table = table_info->tdp_table; in vega10_initialize_power_tune_defaults() 1291 struct phm_ppt_v2_information *table_info = in vega10_enable_power_containment() local 1293 struct phm_tdp_table *tdp_table = table_info->tdp_table; in vega10_enable_power_containment()
|
| H A D | smu7_powertune.c | 1150 struct phm_ppt_v1_information *table_info = in smu7_enable_power_containment() local 1158 cac_table = table_info->cac_dtp_table; in smu7_enable_power_containment() 1240 struct phm_ppt_v1_information *table_info = in smu7_power_control_set_level() local 1248 cac_table = table_info->cac_dtp_table; in smu7_power_control_set_level()
|
| H A D | vega10_processpptables.c | 787 struct phm_ppt_v2_information *table_info = in get_pcie_table() local 801 pcie_count = table_info->vdd_dep_on_sclk->count; in get_pcie_table()
|
| H A D | vega12_hwmgr.c | 1829 struct phm_ppt_v2_information *table_info = in vega12_get_dal_power_level() 1832 &table_info->max_clock_voltage_on_ac; in vega12_get_dal_power_level()
|
| H A D | vega20_hwmgr.c | 2803 struct phm_ppt_v2_information *table_info = in vega20_get_dal_power_level() 2806 &table_info->max_clock_voltage_on_ac; in vega20_get_dal_power_level()
|
| /linux/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
| H A D | vegam_smumgr.c | 334 struct phm_ppt_v1_information *table_info = in vegam_update_uvd_smc_table() local 338 if (table_info->mm_dep_table->count > 0) in vegam_update_uvd_smc_table() 340 (uint8_t) (table_info->mm_dep_table->count - 1); in vegam_update_uvd_smc_table() 367 struct phm_ppt_v1_information *table_info = in vegam_update_vce_smc_table() local 373 (uint8_t) (table_info->mm_dep_table->count - 1); in vegam_update_vce_smc_table() 399 struct phm_ppt_v1_information *table_info = in vegam_update_bif_smc_table() local 401 struct phm_ppt_v1_pcie_table *pcie_table = table_info->pcie_table; in vegam_update_bif_smc_table() 434 struct phm_ppt_v1_information *table_info = in vegam_initialize_power_tune_defaults() local 437 if (table_info && in vegam_initialize_power_tune_defaults() 438 table_info->cac_dtp_table->usPowerTuneDataSetID <= POWERTUNE_DEFAULT_SET_MAX && in vegam_initialize_power_tune_defaults() [all …]
|
| H A D | polaris10_smumgr.c | 433 struct phm_ppt_v1_information *table_info = in polaris10_populate_bapm_parameters_in_dpm_table() local 435 struct phm_cac_tdp_table *cac_dtp_table = table_info->cac_dtp_table; in polaris10_populate_bapm_parameters_in_dpm_table() 507 struct phm_ppt_v1_information *table_info = in polaris10_populate_tdc_limit() local 511 tdc_limit = (uint16_t)(table_info->cac_dtp_table->usTDC * 128); in polaris10_populate_tdc_limit() 587 struct phm_ppt_v1_information *table_info = in polaris10_populate_bapm_vddc_base_leakage_sidd() local 591 struct phm_cac_tdp_table *cac_table = table_info->cac_dtp_table; in polaris10_populate_bapm_vddc_base_leakage_sidd() 747 struct phm_ppt_v1_information *table_info = in polaris10_populate_cac_table() local 750 table_info->vddc_lookup_table; in polaris10_populate_cac_table() 782 struct phm_ppt_v1_information *table_info = in polaris10_populate_ulv_level() local 789 state->VddcOffset = (uint16_t) table_info->us_ulv_voltage_offset; in polaris10_populate_ulv_level() [all …]
|
| H A D | fiji_smumgr.c | 470 struct phm_ppt_v1_information *table_info = in fiji_initialize_power_tune_defaults() local 473 if (table_info && in fiji_initialize_power_tune_defaults() 474 table_info->cac_dtp_table->usPowerTuneDataSetID <= POWERTUNE_DEFAULT_SET_MAX && in fiji_initialize_power_tune_defaults() 475 table_info->cac_dtp_table->usPowerTuneDataSetID) in fiji_initialize_power_tune_defaults() 478 [table_info->cac_dtp_table->usPowerTuneDataSetID - 1]; in fiji_initialize_power_tune_defaults() 492 struct phm_ppt_v1_information *table_info = in fiji_populate_bapm_parameters_in_dpm_table() local 494 struct phm_cac_tdp_table *cac_dtp_table = table_info->cac_dtp_table; in fiji_populate_bapm_parameters_in_dpm_table() 586 struct phm_ppt_v1_information *table_info = in fiji_populate_tdc_limit() local 593 tdc_limit = (uint16_t)(table_info->cac_dtp_table->usTDC * 128); in fiji_populate_tdc_limit() 672 struct phm_ppt_v1_information *table_info = in fiji_populate_bapm_vddc_base_leakage_sidd() local [all …]
|
| H A D | tonga_smumgr.c | 482 struct phm_ppt_v1_information *table_info = in tonga_populate_ulv_level() local 488 state->VddcOffset = (uint16_t) table_info->us_ulv_voltage_offset; in tonga_populate_ulv_level() 489 state->VddcOffsetVid = (uint8_t)(table_info->us_ulv_voltage_offset * in tonga_populate_ulv_level() 1147 struct phm_ppt_v1_information *table_info = in tonga_populate_mvdd_value() local 1153 for (i = 0; i < table_info->vdd_dep_on_mclk->count; i++) { in tonga_populate_mvdd_value() 1154 if (mclk <= table_info->vdd_dep_on_mclk->entries[i].clk) { in tonga_populate_mvdd_value() 1162 PP_ASSERT_WITH_CODE(i < table_info->vdd_dep_on_mclk->count, in tonga_populate_mvdd_value() 1582 struct phm_ppt_v1_information *table_info = in tonga_populate_clock_stretcher_data_table() local 1585 table_info->vdd_dep_on_sclk; in tonga_populate_clock_stretcher_data_table() 1589 stretch_amount = (uint8_t)table_info->cac_dtp_table->usClockStretchAmount; in tonga_populate_clock_stretcher_data_table() [all …]
|
| /linux/tools/objtool/arch/loongarch/ |
| H A D | special.c | 13 struct table_info { struct 26 struct table_info *orig_table; in get_rodata_table_size_by_table_annotate() argument 27 struct table_info *next_table; in get_rodata_table_size_by_table_annotate() 45 orig_table = malloc(sizeof(struct table_info)); in get_rodata_table_size_by_table_annotate()
|
| /linux/drivers/gpu/drm/amd/include/ |
| H A D | discovery.h | 48 typedef struct table_info struct 54 } table_info; typedef 64 table_info table_list[TOTAL_TABLES];
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_discovery.c | 437 struct table_info *info; in amdgpu_discovery_verify_npsinfo() 496 struct table_info *info; in amdgpu_discovery_init()
|