Home
last modified time | relevance | path

Searched refs:mvdd (Results 1 – 23 of 23) sorted by relevance

/drivers/gpu/drm/amd/powerplay/smumgr/
Dfiji_smc.c86 uint32_t clock, uint32_t *voltage, uint32_t *mvdd) in fiji_get_dependency_volt_by_clk() argument
91 *voltage = *mvdd = 0; in fiji_get_dependency_volt_by_clk()
117 *mvdd = data->vbios_boot_state.mvdd_bootup_value * in fiji_get_dependency_volt_by_clk()
119 else if (dep_table->entries[i].mvdd) in fiji_get_dependency_volt_by_clk()
120 *mvdd = (uint32_t) dep_table->entries[i].mvdd * in fiji_get_dependency_volt_by_clk()
142 *mvdd = data->vbios_boot_state.mvdd_bootup_value * VOLTAGE_SCALE; in fiji_get_dependency_volt_by_clk()
143 else if (dep_table->entries[i].mvdd) in fiji_get_dependency_volt_by_clk()
144 *mvdd = (uint32_t) dep_table->entries[i - 1].mvdd * VOLTAGE_SCALE; in fiji_get_dependency_volt_by_clk()
716 uint32_t threshold, mvdd; in fiji_populate_single_graphic_level() local
726 (uint32_t *)(&level->MinVoltage), &mvdd); in fiji_populate_single_graphic_level()
[all …]
Dpolaris10_smc.c79 uint32_t clock, SMU_VoltageLevel *voltage, uint32_t *mvdd) in polaris10_get_dependency_volt_by_clk() argument
85 *voltage = *mvdd = 0; in polaris10_get_dependency_volt_by_clk()
110 *mvdd = data->vbios_boot_state.mvdd_bootup_value * in polaris10_get_dependency_volt_by_clk()
112 else if (dep_table->entries[i].mvdd) in polaris10_get_dependency_volt_by_clk()
113 *mvdd = (uint32_t) dep_table->entries[i].mvdd * in polaris10_get_dependency_volt_by_clk()
135 *mvdd = data->vbios_boot_state.mvdd_bootup_value * VOLTAGE_SCALE; in polaris10_get_dependency_volt_by_clk()
136 else if (dep_table->entries[i].mvdd) in polaris10_get_dependency_volt_by_clk()
137 *mvdd = (uint32_t) dep_table->entries[i - 1].mvdd * VOLTAGE_SCALE; in polaris10_get_dependency_volt_by_clk()
683 uint32_t mvdd; in polaris10_populate_single_graphic_level() local
694 &level->MinVoltage, &mvdd); in polaris10_populate_single_graphic_level()
[all …]
Dtonga_smc.c102 uint32_t clock, SMU_VoltageLevel *voltage, uint32_t *mvdd) in tonga_get_dependecy_volt_by_clk() argument
132 if (allowed_clock_voltage_table->entries[i].mvdd) in tonga_get_dependecy_volt_by_clk()
133 *mvdd = (uint32_t) allowed_clock_voltage_table->entries[i].mvdd; in tonga_get_dependecy_volt_by_clk()
150 if (allowed_clock_voltage_table->entries[i-1].mvdd) in tonga_get_dependecy_volt_by_clk()
151 *mvdd = (uint32_t) allowed_clock_voltage_table->entries[i-1].mvdd; in tonga_get_dependecy_volt_by_clk()
534 uint32_t mvdd; in tonga_populate_single_graphic_level() local
544 &graphic_level->MinVoltage, &mvdd); in tonga_populate_single_graphic_level()
885 uint32_t mvdd = 0; in tonga_populate_single_memory_level() local
901 &memory_level->MinVoltage, &mvdd); in tonga_populate_single_memory_level()
912 memory_level->MinMvdd = mvdd; in tonga_populate_single_memory_level()
/drivers/gpu/drm/amd/powerplay/hwmgr/
Dhwmgr_ppt.h38 uint16_t mvdd; member
Dhwmgr.c314 vol_table->entries[i].value = dep_table->entries[i].mvdd; in phm_get_svi2_mvdd_voltage_table()
Dprocess_pptables_v1_0.c407 mclk_table_record->mvdd = mclk_dep_record->usMvdd; in get_mclk_voltage_dependency_table()
/drivers/gpu/drm/radeon/
Drv770_smc.h111 RV770_SMC_VOLTAGE_VALUE mvdd; member
Dnislands_smc.h111 NISLANDS_SMC_VOLTAGE_VALUE mvdd; member
Drv730_dpm.c311 rv770_populate_mvdd_value(rdev, 0, &table->ACPIState.levels[0].mvdd); in rv730_populate_smc_acpi_state()
368 &table->initialState.levels[0].mvdd); in rv730_populate_smc_initial_state()
Dsislands_smc.h156 SISLANDS_SMC_VOLTAGE_VALUE mvdd; member
Drv770_dpm.c669 ret = rv770_populate_mvdd_value(rdev, pl->mclk, &level->mvdd); in rv770_convert_power_level_to_smc()
998 rv770_populate_mvdd_value(rdev, 0, &table->ACPIState.levels[0].mvdd); in rv770_populate_smc_acpi_state()
1075 &table->initialState.levels[0].mvdd); in rv770_populate_smc_initial_state()
2250 u16 vddc, vddci, mvdd; in rv7xx_parse_pplib_clock_info() local
2251 radeon_atombios_get_default_voltages(rdev, &vddc, &vddci, &mvdd); in rv7xx_parse_pplib_clock_info()
Drv740_dpm.c392 rv770_populate_mvdd_value(rdev, 0, &table->ACPIState.levels[0].mvdd); in rv740_populate_smc_acpi_state()
Dcypress_dpm.c757 ret = cypress_populate_mvdd_value(rdev, pl->mclk, &level->mvdd); in cypress_convert_power_level_to_smc()
1294 &table->initialState.levels[0].mvdd); in cypress_populate_smc_initial_state()
1456 cypress_populate_mvdd_value(rdev, 0, &table->ACPIState.levels[0].mvdd); in cypress_populate_smc_acpi_state()
Dni_dpm.c1749 ni_populate_initial_mvdd_value(rdev, &table->initialState.levels[0].mvdd); in ni_populate_smc_initial_state()
1919 ni_populate_mvdd_value(rdev, 0, &table->ACPIState.levels[0].mvdd); in ni_populate_smc_acpi_state()
2383 ni_populate_mvdd_value(rdev, pl->mclk, &level->mvdd); in ni_convert_power_level_to_smc()
3966 u16 vddc, vddci, mvdd; in ni_parse_pplib_clock_info() local
3967 radeon_atombios_get_default_voltages(rdev, &vddc, &vddci, &mvdd); in ni_parse_pplib_clock_info()
Dradeon_atombios.c2370 u16 *vddc, u16 *vddci, u16 *mvdd) in radeon_atombios_get_default_voltages() argument
2380 *mvdd = 0; in radeon_atombios_get_default_voltages()
2390 *mvdd = le16_to_cpu(firmware_info->info_22.usBootUpMVDDCVoltage); in radeon_atombios_get_default_voltages()
2402 u16 vddc, vddci, mvdd; in radeon_atombios_parse_pplib_non_clock_info() local
2404 radeon_atombios_get_default_voltages(rdev, &vddc, &vddci, &mvdd); in radeon_atombios_parse_pplib_non_clock_info()
Dradeon_mode.h724 u16 *vddc, u16 *vddci, u16 *mvdd);
Dsi_dpm.c4504 si_populate_initial_mvdd_value(rdev, &table->initialState.levels[0].mvdd); in si_populate_smc_initial_state()
4664 si_populate_mvdd_value(rdev, 0, &table->ACPIState.levels[0].mvdd); in si_populate_smc_acpi_state()
5135 ret = si_populate_mvdd_value(rdev, pl->mclk, &level->mvdd); in si_convert_power_level_to_smc()
6842 u16 vddc, vddci, mvdd; in si_parse_pplib_clock_info() local
6843 radeon_atombios_get_default_voltages(rdev, &vddc, &vddci, &mvdd); in si_parse_pplib_clock_info()
6848 si_pi->mvdd_bootup_value = mvdd; in si_parse_pplib_clock_info()
Drv6xx_dpm.c1865 u16 vddc, vddci, mvdd; in rv6xx_parse_pplib_clock_info() local
1866 radeon_atombios_get_default_voltages(rdev, &vddc, &vddci, &mvdd); in rv6xx_parse_pplib_clock_info()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_atombios.h217 u16 *vddc, u16 *vddci, u16 *mvdd);
Dsi_dpm.h442 RV770_SMC_VOLTAGE_VALUE mvdd; member
762 NISLANDS_SMC_VOLTAGE_VALUE mvdd; member
Dsislands_smc.h156 SISLANDS_SMC_VOLTAGE_VALUE mvdd; member
Damdgpu_atombios.c1185 u16 *vddc, u16 *vddci, u16 *mvdd) in amdgpu_atombios_get_default_voltages() argument
1195 *mvdd = 0; in amdgpu_atombios_get_default_voltages()
1205 *mvdd = le16_to_cpu(firmware_info->info_22.usBootUpMVDDCVoltage); in amdgpu_atombios_get_default_voltages()
Dsi_dpm.c4987 si_populate_initial_mvdd_value(adev, &table->initialState.levels[0].mvdd); in si_populate_smc_initial_state()
5145 si_populate_mvdd_value(adev, 0, &table->ACPIState.levels[0].mvdd); in si_populate_smc_acpi_state()
5615 ret = si_populate_mvdd_value(adev, pl->mclk, &level->mvdd); in si_convert_power_level_to_smc()
7255 u16 vddc, vddci, mvdd; in si_parse_pplib_clock_info() local
7256 amdgpu_atombios_get_default_voltages(adev, &vddc, &vddci, &mvdd); in si_parse_pplib_clock_info()
7261 si_pi->mvdd_bootup_value = mvdd; in si_parse_pplib_clock_info()