/linux-6.6.21/drivers/gpu/drm/radeon/ |
D | cypress_dpm.h | 85 struct atom_voltage_table vddci_voltage_table; member
|
D | cypress_dpm.c | 753 &eg_pi->vddci_voltage_table, in cypress_convert_power_level_to_smc() 1292 &eg_pi->vddci_voltage_table, in cypress_populate_smc_initial_state() 1388 &eg_pi->vddci_voltage_table, in cypress_populate_smc_acpi_state() 1502 &eg_pi->vddci_voltage_table); in cypress_construct_voltage_tables() 1506 if (eg_pi->vddci_voltage_table.count > MAX_NO_VREG_STEPS) in cypress_construct_voltage_tables() 1508 &eg_pi->vddci_voltage_table); in cypress_construct_voltage_tables() 1551 if (eg_pi->vddci_voltage_table.count) { in cypress_populate_smc_voltage_tables() 1553 &eg_pi->vddci_voltage_table, in cypress_populate_smc_voltage_tables() 1558 cpu_to_be32(eg_pi->vddci_voltage_table.mask_low); in cypress_populate_smc_voltage_tables()
|
D | ci_dpm.h | 230 struct atom_voltage_table vddci_voltage_table; member
|
D | si_dpm.c | 3966 VOLTAGE_OBJ_GPIO_LUT, &eg_pi->vddci_voltage_table); in si_construct_voltage_tables() 3970 if (eg_pi->vddci_voltage_table.count > SISLANDS_MAX_NO_VREG_STEPS) in si_construct_voltage_tables() 3973 &eg_pi->vddci_voltage_table); in si_construct_voltage_tables() 3978 &eg_pi->vddci_voltage_table); in si_construct_voltage_tables() 4056 if (eg_pi->vddci_voltage_table.count) { in si_populate_smc_voltage_tables() 4057 si_populate_smc_voltage_table(rdev, &eg_pi->vddci_voltage_table, table); in si_populate_smc_voltage_tables() 4060 cpu_to_be32(eg_pi->vddci_voltage_table.mask_low); in si_populate_smc_voltage_tables() 4417 &eg_pi->vddci_voltage_table, in si_populate_smc_initial_state() 4545 si_populate_voltage_value(rdev, &eg_pi->vddci_voltage_table, in si_populate_smc_acpi_state() 5043 ret = si_populate_voltage_value(rdev, &eg_pi->vddci_voltage_table, in si_convert_power_level_to_smc()
|
D | ni_dpm.c | 1290 if (eg_pi->vddci_voltage_table.count) { in ni_populate_smc_voltage_tables() 1291 ni_populate_smc_voltage_table(rdev, &eg_pi->vddci_voltage_table, table); in ni_populate_smc_voltage_tables() 1295 cpu_to_be32(eg_pi->vddci_voltage_table.mask_low); in ni_populate_smc_voltage_tables() 1745 &eg_pi->vddci_voltage_table, in ni_populate_smc_initial_state() 1858 &eg_pi->vddci_voltage_table, in ni_populate_smc_acpi_state() 2383 ret = ni_populate_voltage_value(rdev, &eg_pi->vddci_voltage_table, in ni_convert_power_level_to_smc()
|
D | ci_dpm.c | 2121 &pi->vddci_voltage_table); in ci_construct_voltage_tables() 2127 &pi->vddci_voltage_table); in ci_construct_voltage_tables() 2132 if (pi->vddci_voltage_table.count > SMU7_MAX_LEVELS_VDDCI) in ci_construct_voltage_tables() 2134 &pi->vddci_voltage_table); in ci_construct_voltage_tables() 2208 table->VddciLevelCount = pi->vddci_voltage_table.count; in ci_populate_smc_vddci_table() 2211 &pi->vddci_voltage_table.entries[count], in ci_populate_smc_vddci_table() 2216 pi->vddci_voltage_table.entries[count].smio_low; in ci_populate_smc_vddci_table()
|
D | btc_dpm.c | 1318 new_voltage = btc_find_voltage(&eg_pi->vddci_voltage_table, in btc_apply_voltage_delta_rules()
|
/linux-6.6.21/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
D | tonga_smumgr.c | 271 phm_get_voltage_id(&data->vddci_voltage_table, allowed_clock_voltage_table->entries[i].vddci); in tonga_get_dependency_volt_by_clk() 274 phm_get_voltage_id(&data->vddci_voltage_table, in tonga_get_dependency_volt_by_clk() 293 voltage->Vddci = phm_get_voltage_id(&data->vddci_voltage_table, in tonga_get_dependency_volt_by_clk() 342 table->VddciLevelCount = data->vddci_voltage_table.count; in tonga_populate_smc_vdd_ci_table() 346 PP_HOST_TO_SMC_US(data->vddci_voltage_table.entries[count].value * VOLTAGE_SCALE); in tonga_populate_smc_vdd_ci_table() 349 PP_HOST_TO_SMC_US(data->vddci_voltage_table.entries[count].value * VOLTAGE_SCALE); in tonga_populate_smc_vdd_ci_table() 354 data->vddci_voltage_table.entries[count].smio_low; in tonga_populate_smc_vdd_ci_table() 356 PP_HOST_TO_SMC_US(data->vddci_voltage_table.entries[count].value * VOLTAGE_SCALE); in tonga_populate_smc_vdd_ci_table() 360 table->SmioMask1 = data->vddci_voltage_table.mask_low; in tonga_populate_smc_vdd_ci_table() 1334 phm_get_voltage_id(&data->vddci_voltage_table, in tonga_populate_smc_uvd_level() [all …]
|
D | vegam_smumgr.c | 481 count = data->vddci_voltage_table.count; in vegam_populate_smc_vddci_table() 488 data->vddci_voltage_table.entries[level].value * VOLTAGE_SCALE); in vegam_populate_smc_vddci_table() 491 table->Smio[level] |= data->vddci_voltage_table.entries[level].smio_low; in vegam_populate_smc_vddci_table() 495 table->SmioMask1 = data->vddci_voltage_table.mask_low; in vegam_populate_smc_vddci_table() 626 vddci = phm_find_closest_vddci(&(data->vddci_voltage_table), in vegam_get_dependency_volt_by_clk() 654 vddci = phm_find_closest_vddci(&(data->vddci_voltage_table), in vegam_get_dependency_volt_by_clk() 1217 vddci = (uint32_t)phm_find_closest_vddci(&(data->vddci_voltage_table), in vegam_populate_smc_vce_level() 1331 vddci = (uint32_t)phm_find_closest_vddci(&(data->vddci_voltage_table), in vegam_populate_smc_uvd_level()
|
D | polaris10_smumgr.c | 379 vddci = phm_find_closest_vddci(&(data->vddci_voltage_table), in polaris10_get_dependency_volt_by_clk() 406 vddci = phm_find_closest_vddci(&(data->vddci_voltage_table), in polaris10_get_dependency_volt_by_clk() 722 count = data->vddci_voltage_table.count; in polaris10_populate_smc_vddci_table() 729 PP_HOST_TO_SMC_US(data->vddci_voltage_table.entries[level].value * VOLTAGE_SCALE); in polaris10_populate_smc_vddci_table() 732 table->Smio[level] |= data->vddci_voltage_table.entries[level].smio_low; in polaris10_populate_smc_vddci_table() 735 table->SmioMask1 = data->vddci_voltage_table.mask_low; in polaris10_populate_smc_vddci_table() 1388 vddci = (uint32_t)phm_find_closest_vddci(&(data->vddci_voltage_table), in polaris10_populate_smc_vce_level() 1437 vddci = (uint32_t)phm_find_closest_vddci(&(data->vddci_voltage_table), in polaris10_populate_smc_samu_level() 1544 vddci = (uint32_t)phm_find_closest_vddci(&(data->vddci_voltage_table), in polaris10_populate_smc_uvd_level()
|
D | ci_smumgr.c | 877 table->VddciLevelCount = data->vddci_voltage_table.count; in ci_populate_smc_vdd_ci_table() 881 &(data->vddci_voltage_table.entries[count]), in ci_populate_smc_vdd_ci_table() 886 table->Smio[count] |= data->vddci_voltage_table.entries[count].smio_low; in ci_populate_smc_vdd_ci_table() 887 table->SmioMaskVddciVid |= data->vddci_voltage_table.entries[count].smio_low; in ci_populate_smc_vdd_ci_table()
|
D | iceland_smumgr.c | 650 table->VddciLevelCount = data->vddci_voltage_table.count; in iceland_populate_smc_vdd_ci_table() 654 &(data->vddci_voltage_table.entries[count]), in iceland_populate_smc_vdd_ci_table() 658 table->VddciLevel[count].Smio |= data->vddci_voltage_table.entries[count].smio_low; in iceland_populate_smc_vdd_ci_table()
|
D | fiji_smumgr.c | 378 vddci = phm_find_closest_vddci(&(data->vddci_voltage_table), in fiji_get_dependency_volt_by_clk() 403 vddci = phm_find_closest_vddci(&(data->vddci_voltage_table), in fiji_get_dependency_volt_by_clk()
|
/linux-6.6.21/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | smu7_hwmgr.h | 263 struct pp_atomctrl_voltage_table vddci_voltage_table; member
|
D | vega10_hwmgr.h | 324 struct pp_atomfwctrl_voltage_table vddci_voltage_table; member
|
D | vega12_hwmgr.h | 326 struct pp_atomfwctrl_voltage_table vddci_voltage_table; member
|
D | vega20_hwmgr.h | 450 struct pp_atomfwctrl_voltage_table vddci_voltage_table; member
|
D | smu7_hwmgr.c | 347 &(data->vddci_voltage_table)); in smu7_construct_voltage_tables() 353 result = phm_get_svi2_vddci_voltage_table(&(data->vddci_voltage_table), in smu7_construct_voltage_tables() 356 result = phm_get_svi2_voltage_table_v0(&(data->vddci_voltage_table), in smu7_construct_voltage_tables() 407 (data->vddci_voltage_table.count <= tmp), in smu7_construct_voltage_tables() 410 &(data->vddci_voltage_table))); in smu7_construct_voltage_tables()
|
D | vega10_hwmgr.c | 1179 &(data->vddci_voltage_table)); in vega10_construct_voltage_tables() 1200 PP_ASSERT_WITH_CODE(data->vddci_voltage_table.count <= 16, in vega10_construct_voltage_tables() 1203 16, &(data->vddci_voltage_table))); in vega10_construct_voltage_tables()
|
/linux-6.6.21/drivers/gpu/drm/amd/pm/legacy-dpm/ |
D | si_dpm.c | 3321 new_voltage = btc_find_voltage(&eg_pi->vddci_voltage_table, in btc_apply_voltage_delta_rules() 4443 VOLTAGE_OBJ_GPIO_LUT, &eg_pi->vddci_voltage_table); in si_construct_voltage_tables() 4447 if (eg_pi->vddci_voltage_table.count > SISLANDS_MAX_NO_VREG_STEPS) in si_construct_voltage_tables() 4450 &eg_pi->vddci_voltage_table); in si_construct_voltage_tables() 4455 &eg_pi->vddci_voltage_table); in si_construct_voltage_tables() 4533 if (eg_pi->vddci_voltage_table.count) { in si_populate_smc_voltage_tables() 4534 si_populate_smc_voltage_table(adev, &eg_pi->vddci_voltage_table, table); in si_populate_smc_voltage_tables() 4537 cpu_to_be32(eg_pi->vddci_voltage_table.mask_low); in si_populate_smc_voltage_tables() 4896 &eg_pi->vddci_voltage_table, in si_populate_smc_initial_state() 5048 si_populate_voltage_value(adev, &eg_pi->vddci_voltage_table, in si_populate_smc_acpi_state() [all …]
|
D | si_dpm.h | 676 struct atom_voltage_table vddci_voltage_table; member
|