/linux-6.12.1/drivers/gpu/drm/radeon/ |
D | cypress_dpm.c | 745 &eg_pi->vddc_voltage_table, in cypress_convert_power_level_to_smc() 1286 &eg_pi->vddc_voltage_table, in cypress_populate_smc_initial_state() 1363 &eg_pi->vddc_voltage_table, in cypress_populate_smc_acpi_state() 1379 &eg_pi->vddc_voltage_table, in cypress_populate_smc_acpi_state() 1492 &eg_pi->vddc_voltage_table); in cypress_construct_voltage_tables() 1496 if (eg_pi->vddc_voltage_table.count > MAX_NO_VREG_STEPS) in cypress_construct_voltage_tables() 1498 &eg_pi->vddc_voltage_table); in cypress_construct_voltage_tables() 1533 if (eg_pi->vddc_voltage_table.count) { in cypress_populate_smc_voltage_tables() 1535 &eg_pi->vddc_voltage_table, in cypress_populate_smc_voltage_tables() 1540 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 | 227 struct atom_voltage_table vddc_voltage_table; member
|
D | si_dpm.c | 2285 ret = si_populate_voltage_value(rdev, &eg_pi->vddc_voltage_table, in si_populate_power_containment_values() 2294 ret = si_populate_voltage_value(rdev, &eg_pi->vddc_voltage_table, in si_populate_power_containment_values() 3902 VOLTAGE_OBJ_GPIO_LUT, &eg_pi->vddc_voltage_table); in si_construct_voltage_tables() 3906 if (eg_pi->vddc_voltage_table.count > SISLANDS_MAX_NO_VREG_STEPS) in si_construct_voltage_tables() 3909 &eg_pi->vddc_voltage_table); in si_construct_voltage_tables() 3913 &eg_pi->vddc_voltage_table); in si_construct_voltage_tables() 3999 if (eg_pi->vddc_voltage_table.count) { in si_populate_smc_voltage_tables() 4000 si_populate_smc_voltage_table(rdev, &eg_pi->vddc_voltage_table, table); in si_populate_smc_voltage_tables() 4002 cpu_to_be32(eg_pi->vddc_voltage_table.mask_low); in si_populate_smc_voltage_tables() 4004 for (i = 0; i < eg_pi->vddc_voltage_table.count; i++) { in si_populate_smc_voltage_tables() [all …]
|
D | ci_dpm.c | 281 if (pi->vddc_voltage_table.count > 8) in ci_populate_vddc_vid() 284 for (i = 0; i < pi->vddc_voltage_table.count; i++) in ci_populate_vddc_vid() 285 vid[i] = ci_convert_to_vid(pi->vddc_voltage_table.entries[i].value); in ci_populate_vddc_vid() 2098 &pi->vddc_voltage_table); in ci_construct_voltage_tables() 2104 &pi->vddc_voltage_table); in ci_construct_voltage_tables() 2109 if (pi->vddc_voltage_table.count > SMU7_MAX_LEVELS_VDDC) in ci_construct_voltage_tables() 2111 &pi->vddc_voltage_table); in ci_construct_voltage_tables() 2180 table->VddcLevelCount = pi->vddc_voltage_table.count; in ci_populate_smc_vddc_table() 2183 &pi->vddc_voltage_table.entries[count], in ci_populate_smc_vddc_table() 2188 pi->vddc_voltage_table.entries[count].smio_low; in ci_populate_smc_vddc_table()
|
D | btc_dpm.c | 1296 new_voltage = btc_find_voltage(&eg_pi->vddc_voltage_table, in btc_apply_voltage_delta_rules()
|
/linux-6.12.1/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | smu7_hwmgr.h | 262 struct pp_atomctrl_voltage_table vddc_voltage_table; member
|
D | vega12_hwmgr.h | 322 struct pp_atomfwctrl_voltage_table vddc_voltage_table; member
|
D | vega10_hwmgr.h | 320 struct pp_atomfwctrl_voltage_table vddc_voltage_table; member
|
D | vega20_hwmgr.h | 446 struct pp_atomfwctrl_voltage_table vddc_voltage_table; member
|
D | vega10_hwmgr.c | 1200 &(data->vddc_voltage_table)); in vega10_construct_voltage_tables() 1206 PP_ASSERT_WITH_CODE(data->vddc_voltage_table.count <= 16, in vega10_construct_voltage_tables() 1209 16, &(data->vddc_voltage_table))); in vega10_construct_voltage_tables() 1493 (uint8_t)(data->vddc_voltage_table.psi0_enable); in vega10_populate_ulv_state() 1495 (uint8_t)(data->vddc_voltage_table.psi1_enable); in vega10_populate_ulv_state() 2615 data->vddc_voltage_table.psi0_enable = voltage_table.psi0_enable; in vega10_init_smc_table() 2616 data->vddc_voltage_table.psi1_enable = voltage_table.psi1_enable; in vega10_init_smc_table()
|
D | smu7_hwmgr.c | 375 &data->vddc_voltage_table); in smu7_construct_voltage_tables() 381 result = phm_get_svi2_voltage_table_v0(&data->vddc_voltage_table, in smu7_construct_voltage_tables() 384 result = phm_get_svi2_vdd_voltage_table(&(data->vddc_voltage_table), in smu7_construct_voltage_tables() 393 (data->vddc_voltage_table.count <= tmp), in smu7_construct_voltage_tables() 396 &(data->vddc_voltage_table))); in smu7_construct_voltage_tables()
|
/linux-6.12.1/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 | 613 PP_ASSERT_WITH_CODE(data->vddc_voltage_table.count <= 8, in ci_populate_vddc_vid() 617 for (i = 0; i < (int)data->vddc_voltage_table.count; i++) in ci_populate_vddc_vid() 618 vid[i] = convert_to_vid(data->vddc_voltage_table.entries[i].value); in ci_populate_vddc_vid() 848 table->VddcLevelCount = data->vddc_voltage_table.count; in ci_populate_smc_vddc_table() 851 &(data->vddc_voltage_table.entries[count]), in ci_populate_smc_vddc_table() 858 table->Smio[count] |= data->vddc_voltage_table.entries[count].smio_low; in ci_populate_smc_vddc_table() 859 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 | 517 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.12.1/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
|