/linux-6.1.9/drivers/gpu/drm/radeon/ |
D | cypress_dpm.c | 741 &eg_pi->vddc_voltage_table, in cypress_convert_power_level_to_smc() 1282 &eg_pi->vddc_voltage_table, in cypress_populate_smc_initial_state() 1359 &eg_pi->vddc_voltage_table, in cypress_populate_smc_acpi_state() 1375 &eg_pi->vddc_voltage_table, in cypress_populate_smc_acpi_state() 1488 &eg_pi->vddc_voltage_table); in cypress_construct_voltage_tables() 1492 if (eg_pi->vddc_voltage_table.count > MAX_NO_VREG_STEPS) in cypress_construct_voltage_tables() 1494 &eg_pi->vddc_voltage_table); in cypress_construct_voltage_tables() 1529 if (eg_pi->vddc_voltage_table.count) { in cypress_populate_smc_voltage_tables() 1531 &eg_pi->vddc_voltage_table, in cypress_populate_smc_voltage_tables() 1536 cpu_to_be32(eg_pi->vddc_voltage_table.mask_low); in cypress_populate_smc_voltage_tables() [all …]
|
D | cypress_dpm.h | 84 struct atom_voltage_table vddc_voltage_table; member
|
D | ni_dpm.c | 1276 if (eg_pi->vddc_voltage_table.count) { in ni_populate_smc_voltage_tables() 1277 ni_populate_smc_voltage_table(rdev, &eg_pi->vddc_voltage_table, table); in ni_populate_smc_voltage_tables() 1280 cpu_to_be32(eg_pi->vddc_voltage_table.mask_low); in ni_populate_smc_voltage_tables() 1282 for (i = 0; i < eg_pi->vddc_voltage_table.count; i++) { in ni_populate_smc_voltage_tables() 1283 if (pi->max_vddc_in_table <= eg_pi->vddc_voltage_table.entries[i].value) { in ni_populate_smc_voltage_tables() 1400 ret = ni_populate_voltage_value(rdev, &eg_pi->vddc_voltage_table, in ni_calculate_power_boost_limit() 1410 ret = ni_populate_voltage_value(rdev, &eg_pi->vddc_voltage_table, in ni_calculate_power_boost_limit() 1728 ret = ni_populate_voltage_value(rdev, &eg_pi->vddc_voltage_table, in ni_populate_smc_initial_state() 1815 &eg_pi->vddc_voltage_table, in ni_populate_smc_acpi_state() 1838 &eg_pi->vddc_voltage_table, in ni_populate_smc_acpi_state() [all …]
|
D | ci_dpm.h | 229 struct atom_voltage_table vddc_voltage_table; member
|
D | si_dpm.c | 2329 ret = si_populate_voltage_value(rdev, &eg_pi->vddc_voltage_table, in si_populate_power_containment_values() 2338 ret = si_populate_voltage_value(rdev, &eg_pi->vddc_voltage_table, in si_populate_power_containment_values() 3946 VOLTAGE_OBJ_GPIO_LUT, &eg_pi->vddc_voltage_table); in si_construct_voltage_tables() 3950 if (eg_pi->vddc_voltage_table.count > SISLANDS_MAX_NO_VREG_STEPS) in si_construct_voltage_tables() 3953 &eg_pi->vddc_voltage_table); in si_construct_voltage_tables() 3957 &eg_pi->vddc_voltage_table); in si_construct_voltage_tables() 4043 if (eg_pi->vddc_voltage_table.count) { in si_populate_smc_voltage_tables() 4044 si_populate_smc_voltage_table(rdev, &eg_pi->vddc_voltage_table, table); in si_populate_smc_voltage_tables() 4046 cpu_to_be32(eg_pi->vddc_voltage_table.mask_low); in si_populate_smc_voltage_tables() 4048 for (i = 0; i < eg_pi->vddc_voltage_table.count; i++) { in si_populate_smc_voltage_tables() [all …]
|
D | ci_dpm.c | 286 if (pi->vddc_voltage_table.count > 8) in ci_populate_vddc_vid() 289 for (i = 0; i < pi->vddc_voltage_table.count; i++) in ci_populate_vddc_vid() 290 vid[i] = ci_convert_to_vid(pi->vddc_voltage_table.entries[i].value); in ci_populate_vddc_vid() 2103 &pi->vddc_voltage_table); in ci_construct_voltage_tables() 2109 &pi->vddc_voltage_table); in ci_construct_voltage_tables() 2114 if (pi->vddc_voltage_table.count > SMU7_MAX_LEVELS_VDDC) in ci_construct_voltage_tables() 2116 &pi->vddc_voltage_table); in ci_construct_voltage_tables() 2185 table->VddcLevelCount = pi->vddc_voltage_table.count; in ci_populate_smc_vddc_table() 2188 &pi->vddc_voltage_table.entries[count], in ci_populate_smc_vddc_table() 2193 pi->vddc_voltage_table.entries[count].smio_low; in ci_populate_smc_vddc_table()
|
D | btc_dpm.c | 1324 new_voltage = btc_find_voltage(&eg_pi->vddc_voltage_table, in btc_apply_voltage_delta_rules()
|
/linux-6.1.9/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | smu7_hwmgr.h | 262 struct pp_atomctrl_voltage_table vddc_voltage_table; member
|
D | vega10_hwmgr.h | 320 struct pp_atomfwctrl_voltage_table vddc_voltage_table; member
|
D | vega12_hwmgr.h | 323 struct pp_atomfwctrl_voltage_table vddc_voltage_table; member
|
D | vega20_hwmgr.h | 448 struct pp_atomfwctrl_voltage_table vddc_voltage_table; member
|
D | vega10_hwmgr.c | 1190 &(data->vddc_voltage_table)); in vega10_construct_voltage_tables() 1196 PP_ASSERT_WITH_CODE(data->vddc_voltage_table.count <= 16, in vega10_construct_voltage_tables() 1199 16, &(data->vddc_voltage_table))); in vega10_construct_voltage_tables() 1486 (uint8_t)(data->vddc_voltage_table.psi0_enable); in vega10_populate_ulv_state() 1488 (uint8_t)(data->vddc_voltage_table.psi1_enable); in vega10_populate_ulv_state() 2598 data->vddc_voltage_table.psi0_enable = voltage_table.psi0_enable; in vega10_init_smc_table() 2599 data->vddc_voltage_table.psi1_enable = voltage_table.psi1_enable; in vega10_init_smc_table()
|
D | smu7_hwmgr.c | 376 &data->vddc_voltage_table); in smu7_construct_voltage_tables() 382 result = phm_get_svi2_voltage_table_v0(&data->vddc_voltage_table, in smu7_construct_voltage_tables() 385 result = phm_get_svi2_vdd_voltage_table(&(data->vddc_voltage_table), in smu7_construct_voltage_tables() 394 (data->vddc_voltage_table.count <= tmp), in smu7_construct_voltage_tables() 397 &(data->vddc_voltage_table))); in smu7_construct_voltage_tables()
|
/linux-6.1.9/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
D | iceland_smumgr.c | 422 PP_ASSERT_WITH_CODE(data->vddc_voltage_table.count <= 8, in iceland_populate_vddc_vid() 426 for (i = 0; i < (int)data->vddc_voltage_table.count; i++) { in iceland_populate_vddc_vid() 427 vid[i] = convert_to_vid(data->vddc_voltage_table.entries[i].value); in iceland_populate_vddc_vid() 624 table->VddcLevelCount = data->vddc_voltage_table.count; in iceland_populate_smc_vddc_table() 627 &(data->vddc_voltage_table.entries[count]), in iceland_populate_smc_vddc_table() 633 table->VddcLevel[count].Smio |= data->vddc_voltage_table.entries[count].smio_low; in iceland_populate_smc_vddc_table()
|
D | ci_smumgr.c | 614 PP_ASSERT_WITH_CODE(data->vddc_voltage_table.count <= 8, in ci_populate_vddc_vid() 618 for (i = 0; i < (int)data->vddc_voltage_table.count; i++) in ci_populate_vddc_vid() 619 vid[i] = convert_to_vid(data->vddc_voltage_table.entries[i].value); in ci_populate_vddc_vid() 849 table->VddcLevelCount = data->vddc_voltage_table.count; in ci_populate_smc_vddc_table() 852 &(data->vddc_voltage_table.entries[count]), in ci_populate_smc_vddc_table() 859 table->Smio[count] |= data->vddc_voltage_table.entries[count].smio_low; in ci_populate_smc_vddc_table() 860 table->SmioMaskVddcVid |= data->vddc_voltage_table.entries[count].smio_low; in ci_populate_smc_vddc_table()
|
D | polaris10_smumgr.c | 697 count = data->vddc_voltage_table.count; in polaris10_populate_smc_vddc_table() 704 PP_HOST_TO_SMC_US(data->vddc_voltage_table.entries[level].value * VOLTAGE_SCALE); in polaris10_populate_smc_vddc_table() 707 table->Smio[level] |= data->vddc_voltage_table.entries[level].smio_low; in polaris10_populate_smc_vddc_table() 710 table->SmioMask1 = data->vddc_voltage_table.mask_low; in polaris10_populate_smc_vddc_table() 758 data->vddc_voltage_table.entries[count].value); in polaris10_populate_cac_table()
|
D | tonga_smumgr.c | 309 table->VddcLevelCount = data->vddc_voltage_table.count; in tonga_populate_smc_vddc_table() 312 PP_HOST_TO_SMC_US(data->vddc_voltage_table.entries[count].value * VOLTAGE_SCALE); in tonga_populate_smc_vddc_table() 413 data->vddc_voltage_table.entries[count].value); in tonga_populate_cac_tables() 433 data->vddc_voltage_table.entries[count].value); in tonga_populate_cac_tables() 1558 phm_get_voltage_id(&(data->vddc_voltage_table), in tonga_populate_smc_boot_level()
|
D | vegam_smumgr.c | 518 data->vddc_voltage_table.entries[count].value); in vegam_populate_cac_table()
|
D | fiji_smumgr.c | 772 data->vddc_voltage_table.entries[count].value); in fiji_populate_cac_table()
|
/linux-6.1.9/drivers/gpu/drm/amd/pm/legacy-dpm/ |
D | si_dpm.c | 2442 ret = si_populate_voltage_value(adev, &eg_pi->vddc_voltage_table, in si_populate_power_containment_values() 2451 ret = si_populate_voltage_value(adev, &eg_pi->vddc_voltage_table, in si_populate_power_containment_values() 3327 new_voltage = btc_find_voltage(&eg_pi->vddc_voltage_table, in btc_apply_voltage_delta_rules() 4423 VOLTAGE_OBJ_GPIO_LUT, &eg_pi->vddc_voltage_table); in si_construct_voltage_tables() 4427 if (eg_pi->vddc_voltage_table.count > SISLANDS_MAX_NO_VREG_STEPS) in si_construct_voltage_tables() 4430 &eg_pi->vddc_voltage_table); in si_construct_voltage_tables() 4434 &eg_pi->vddc_voltage_table); in si_construct_voltage_tables() 4520 if (eg_pi->vddc_voltage_table.count) { in si_populate_smc_voltage_tables() 4521 si_populate_smc_voltage_table(adev, &eg_pi->vddc_voltage_table, table); in si_populate_smc_voltage_tables() 4523 cpu_to_be32(eg_pi->vddc_voltage_table.mask_low); in si_populate_smc_voltage_tables() [all …]
|
D | si_dpm.h | 675 struct atom_voltage_table vddc_voltage_table; member
|