/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
D | vegam_smumgr.c | 602 uint32_t clock, SMU_VoltageLevel *voltage, uint32_t *mvdd) in vegam_get_dependency_volt_by_clk() argument 608 *voltage = *mvdd = 0; in vegam_get_dependency_volt_by_clk() 633 *mvdd = data->vbios_boot_state.mvdd_bootup_value * in vegam_get_dependency_volt_by_clk() 635 else if (dep_table->entries[i].mvdd) in vegam_get_dependency_volt_by_clk() 636 *mvdd = (uint32_t) dep_table->entries[i].mvdd * in vegam_get_dependency_volt_by_clk() 662 *mvdd = data->vbios_boot_state.mvdd_bootup_value * VOLTAGE_SCALE; in vegam_get_dependency_volt_by_clk() 663 else if (dep_table->entries[i].mvdd) in vegam_get_dependency_volt_by_clk() 664 *mvdd = (uint32_t) dep_table->entries[i - 1].mvdd * VOLTAGE_SCALE; in vegam_get_dependency_volt_by_clk() 814 uint32_t mvdd; in vegam_populate_single_graphic_level() local 825 &level->MinVoltage, &mvdd); in vegam_populate_single_graphic_level() [all …]
|
D | fiji_smumgr.c | 354 uint32_t clock, uint32_t *voltage, uint32_t *mvdd) in fiji_get_dependency_volt_by_clk() argument 359 *voltage = *mvdd = 0; in fiji_get_dependency_volt_by_clk() 385 *mvdd = data->vbios_boot_state.mvdd_bootup_value * in fiji_get_dependency_volt_by_clk() 387 else if (dep_table->entries[i].mvdd) in fiji_get_dependency_volt_by_clk() 388 *mvdd = (uint32_t) dep_table->entries[i].mvdd * in fiji_get_dependency_volt_by_clk() 410 *mvdd = data->vbios_boot_state.mvdd_bootup_value * VOLTAGE_SCALE; in fiji_get_dependency_volt_by_clk() 411 else if (dep_table->entries[i].mvdd) in fiji_get_dependency_volt_by_clk() 412 *mvdd = (uint32_t) dep_table->entries[i - 1].mvdd * VOLTAGE_SCALE; in fiji_get_dependency_volt_by_clk() 941 uint32_t mvdd; in fiji_populate_single_graphic_level() local 957 (uint32_t *)(&level->MinVoltage), &mvdd); in fiji_populate_single_graphic_level() [all …]
|
D | polaris10_smumgr.c | 355 uint32_t clock, SMU_VoltageLevel *voltage, uint32_t *mvdd) in polaris10_get_dependency_volt_by_clk() argument 361 *voltage = *mvdd = 0; in polaris10_get_dependency_volt_by_clk() 386 *mvdd = data->vbios_boot_state.mvdd_bootup_value * in polaris10_get_dependency_volt_by_clk() 388 else if (dep_table->entries[i].mvdd) in polaris10_get_dependency_volt_by_clk() 389 *mvdd = (uint32_t) dep_table->entries[i].mvdd * in polaris10_get_dependency_volt_by_clk() 413 *mvdd = data->vbios_boot_state.mvdd_bootup_value * VOLTAGE_SCALE; in polaris10_get_dependency_volt_by_clk() 414 else if (dep_table->entries[i].mvdd) in polaris10_get_dependency_volt_by_clk() 415 *mvdd = (uint32_t) dep_table->entries[i - 1].mvdd * VOLTAGE_SCALE; in polaris10_get_dependency_volt_by_clk() 960 uint32_t mvdd; in polaris10_populate_single_graphic_level() local 977 &level->MinVoltage, &mvdd); in polaris10_populate_single_graphic_level() [all …]
|
D | tonga_smumgr.c | 248 uint32_t clock, SMU_VoltageLevel *voltage, uint32_t *mvdd) in tonga_get_dependency_volt_by_clk() argument 278 if (allowed_clock_voltage_table->entries[i].mvdd) in tonga_get_dependency_volt_by_clk() 279 *mvdd = (uint32_t) allowed_clock_voltage_table->entries[i].mvdd; in tonga_get_dependency_volt_by_clk() 296 if (allowed_clock_voltage_table->entries[i-1].mvdd) in tonga_get_dependency_volt_by_clk() 297 *mvdd = (uint32_t) allowed_clock_voltage_table->entries[i-1].mvdd; in tonga_get_dependency_volt_by_clk() 621 uint32_t mvdd; in tonga_populate_single_graphic_level() local 637 &graphic_level->MinVoltage, &mvdd); in tonga_populate_single_graphic_level() 975 uint32_t mvdd = 0; in tonga_populate_single_memory_level() local 986 &memory_level->MinVoltage, &mvdd); in tonga_populate_single_memory_level() 997 memory_level->MinMvdd = mvdd; in tonga_populate_single_memory_level()
|
/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | hwmgr_ppt.h | 40 uint16_t mvdd; member
|
D | smu_helper.c | 265 vol_table->entries[i].value = dep_table->entries[i].mvdd; in phm_get_svi2_mvdd_voltage_table() 706 dep_table->entries[i].mvdd = allowed_dep_table->entries[i].mvdd; in smu_get_voltage_dependency_table_ppt_v1()
|
D | process_pptables_v1_0.c | 391 mclk_table_record->mvdd = le16_to_cpu(mclk_dep_record->usMvdd); in get_mclk_voltage_dependency_table()
|
D | vega10_hwmgr.c | 702 mclk_table->entries[entry_id].mvdd = in vega10_patch_voltage_dependency_tables_with_lookup_table() 1070 vol_table->entries[i].value = dep_table->entries[i].mvdd; in vega10_get_mvdd_voltage_table() 1847 (uint8_t)(convert_to_vid(dep_on_mclk->entries[i].mvdd)); in vega10_populate_single_memory_level()
|
/drivers/gpu/drm/radeon/ |
D | rv770_smc.h | 111 RV770_SMC_VOLTAGE_VALUE mvdd; member
|
D | rv730_dpm.c | 308 rv770_populate_mvdd_value(rdev, 0, &table->ACPIState.levels[0].mvdd); in rv730_populate_smc_acpi_state() 365 &table->initialState.levels[0].mvdd); in rv730_populate_smc_initial_state()
|
D | nislands_smc.h | 111 NISLANDS_SMC_VOLTAGE_VALUE mvdd; member
|
D | sislands_smc.h | 151 SISLANDS_SMC_VOLTAGE_VALUE mvdd; member
|
D | rv770_dpm.c | 670 ret = rv770_populate_mvdd_value(rdev, pl->mclk, &level->mvdd); in rv770_convert_power_level_to_smc() 999 rv770_populate_mvdd_value(rdev, 0, &table->ACPIState.levels[0].mvdd); in rv770_populate_smc_acpi_state() 1076 &table->initialState.levels[0].mvdd); in rv770_populate_smc_initial_state() 2251 u16 vddc, vddci, mvdd; in rv7xx_parse_pplib_clock_info() local 2252 radeon_atombios_get_default_voltages(rdev, &vddc, &vddci, &mvdd); in rv7xx_parse_pplib_clock_info()
|
D | rv740_dpm.c | 394 rv770_populate_mvdd_value(rdev, 0, &table->ACPIState.levels[0].mvdd); in rv740_populate_smc_acpi_state()
|
D | cypress_dpm.c | 760 ret = cypress_populate_mvdd_value(rdev, pl->mclk, &level->mvdd); in cypress_convert_power_level_to_smc() 1297 &table->initialState.levels[0].mvdd); in cypress_populate_smc_initial_state() 1459 cypress_populate_mvdd_value(rdev, 0, &table->ACPIState.levels[0].mvdd); in cypress_populate_smc_acpi_state()
|
D | ni_dpm.c | 1749 ni_populate_initial_mvdd_value(rdev, &table->initialState.level.mvdd); in ni_populate_smc_initial_state() 1919 ni_populate_mvdd_value(rdev, 0, &table->ACPIState.level.mvdd); in ni_populate_smc_acpi_state() 2389 ni_populate_mvdd_value(rdev, pl->mclk, &level->mvdd); in ni_convert_power_level_to_smc() 3971 u16 vddc, vddci, mvdd; in ni_parse_pplib_clock_info() local 3972 radeon_atombios_get_default_voltages(rdev, &vddc, &vddci, &mvdd); in ni_parse_pplib_clock_info()
|
D | radeon_mode.h | 684 u16 *vddc, u16 *vddci, u16 *mvdd);
|
D | radeon_atombios.c | 2376 u16 *vddc, u16 *vddci, u16 *mvdd) in radeon_atombios_get_default_voltages() argument 2386 *mvdd = 0; in radeon_atombios_get_default_voltages() 2396 *mvdd = le16_to_cpu(firmware_info->info_22.usBootUpMVDDCVoltage); in radeon_atombios_get_default_voltages() 2408 u16 vddc, vddci, mvdd; in radeon_atombios_parse_pplib_non_clock_info() local 2410 radeon_atombios_get_default_voltages(rdev, &vddc, &vddci, &mvdd); in radeon_atombios_parse_pplib_non_clock_info()
|
D | si_dpm.c | 4429 si_populate_initial_mvdd_value(rdev, &table->initialState.level.mvdd); in si_populate_smc_initial_state() 4589 si_populate_mvdd_value(rdev, 0, &table->ACPIState.level.mvdd); in si_populate_smc_acpi_state() 5062 ret = si_populate_mvdd_value(rdev, pl->mclk, &level->mvdd); in si_convert_power_level_to_smc() 6770 u16 vddc, vddci, mvdd; in si_parse_pplib_clock_info() local 6771 radeon_atombios_get_default_voltages(rdev, &vddc, &vddci, &mvdd); in si_parse_pplib_clock_info() 6776 si_pi->mvdd_bootup_value = mvdd; in si_parse_pplib_clock_info()
|
D | rv6xx_dpm.c | 1864 u16 vddc, vddci, mvdd; in rv6xx_parse_pplib_clock_info() local 1865 radeon_atombios_get_default_voltages(rdev, &vddc, &vddci, &mvdd); in rv6xx_parse_pplib_clock_info()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_atombios.h | 186 u16 *vddc, u16 *vddci, u16 *mvdd);
|
D | amdgpu_atombios.c | 1158 u16 *vddc, u16 *vddci, u16 *mvdd) in amdgpu_atombios_get_default_voltages() argument 1168 *mvdd = 0; in amdgpu_atombios_get_default_voltages() 1178 *mvdd = le16_to_cpu(firmware_info->info_22.usBootUpMVDDCVoltage); in amdgpu_atombios_get_default_voltages()
|
/drivers/gpu/drm/amd/pm/legacy-dpm/ |
D | si_dpm.h | 442 RV770_SMC_VOLTAGE_VALUE mvdd; member 769 NISLANDS_SMC_VOLTAGE_VALUE mvdd; member
|
D | sislands_smc.h | 147 SISLANDS_SMC_VOLTAGE_VALUE mvdd; member
|
D | si_dpm.c | 4908 si_populate_initial_mvdd_value(adev, &table->initialState.level.mvdd); in si_populate_smc_initial_state() 5092 si_populate_mvdd_value(adev, 0, &table->ACPIState.level.mvdd); in si_populate_smc_acpi_state() 5564 ret = si_populate_mvdd_value(adev, pl->mclk, &level->mvdd); in si_convert_power_level_to_smc() 7237 u16 vddc, vddci, mvdd; in si_parse_pplib_clock_info() local 7238 amdgpu_atombios_get_default_voltages(adev, &vddc, &vddci, &mvdd); in si_parse_pplib_clock_info() 7243 si_pi->mvdd_bootup_value = mvdd; in si_parse_pplib_clock_info()
|