/dragonfly/sys/dev/drm/radeon/ |
H A D | si_dpm.h | 156 struct atom_voltage_table mvdd_voltage_table; member
|
H A D | ci_dpm.h | 230 struct atom_voltage_table mvdd_voltage_table; member
|
H A D | si_dpm.c | 4004 VOLTAGE_OBJ_GPIO_LUT, &si_pi->mvdd_voltage_table); in si_construct_voltage_tables() 4011 if (si_pi->mvdd_voltage_table.count == 0) { in si_construct_voltage_tables() 4016 if (si_pi->mvdd_voltage_table.count > SISLANDS_MAX_NO_VREG_STEPS) in si_construct_voltage_tables() 4019 &si_pi->mvdd_voltage_table); in si_construct_voltage_tables() 4083 if (si_pi->mvdd_voltage_table.count) { in si_populate_smc_voltage_tables() 4084 si_populate_smc_voltage_table(rdev, &si_pi->mvdd_voltage_table, table); in si_populate_smc_voltage_tables() 4087 cpu_to_be32(si_pi->mvdd_voltage_table.mask_low); in si_populate_smc_voltage_tables() 4139 voltage->index = (u8)(si_pi->mvdd_voltage_table.count) - 1; in si_populate_mvdd_value() 4141 voltage->value = cpu_to_be16(si_pi->mvdd_voltage_table.entries[voltage->index].value); in si_populate_mvdd_value() 4358 return si_populate_voltage_value(rdev, &si_pi->mvdd_voltage_table, in si_populate_initial_mvdd_value()
|
H A D | ci_dpm.c | 2212 &pi->mvdd_voltage_table); in ci_construct_voltage_tables() 2218 &pi->mvdd_voltage_table); in ci_construct_voltage_tables() 2223 if (pi->mvdd_voltage_table.count > SMU7_MAX_LEVELS_MVDD) in ci_construct_voltage_tables() 2225 &pi->mvdd_voltage_table); in ci_construct_voltage_tables() 2304 table->MvddLevelCount = pi->mvdd_voltage_table.count; in ci_populate_smc_mvdd_table() 2307 &pi->mvdd_voltage_table.entries[count], in ci_populate_smc_mvdd_table() 2312 pi->mvdd_voltage_table.entries[count].smio_low; in ci_populate_smc_mvdd_table() 2350 voltage->Voltage = pi->mvdd_voltage_table.entries[i].value; in ci_populate_mvdd_value()
|
/dragonfly/sys/dev/drm/amd/powerplay/hwmgr/ |
H A D | smu7_hwmgr.h | 251 struct pp_atomctrl_voltage_table mvdd_voltage_table; member
|
H A D | vega10_hwmgr.h | 321 struct pp_atomfwctrl_voltage_table mvdd_voltage_table; member
|
H A D | vega12_hwmgr.h | 325 struct pp_atomfwctrl_voltage_table mvdd_voltage_table; member
|
H A D | smu7_hwmgr.c | 259 &(data->mvdd_voltage_table)); in smu7_construct_voltage_tables() 265 result = phm_get_svi2_mvdd_voltage_table(&(data->mvdd_voltage_table), in smu7_construct_voltage_tables() 268 result = phm_get_svi2_voltage_table_v0(&(data->mvdd_voltage_table), in smu7_construct_voltage_tables() 346 (data->mvdd_voltage_table.count <= tmp), in smu7_construct_voltage_tables() 349 &(data->mvdd_voltage_table))); in smu7_construct_voltage_tables()
|
H A D | vega10_hwmgr.c | 1140 &(data->mvdd_voltage_table)); in vega10_construct_voltage_tables() 1175 PP_ASSERT_WITH_CODE(data->mvdd_voltage_table.count <= 16, in vega10_construct_voltage_tables() 1178 16, &(data->mvdd_voltage_table))); in vega10_construct_voltage_tables()
|
/dragonfly/sys/dev/drm/amd/powerplay/smumgr/ |
H A D | vegam_smumgr.c | 455 count = data->mvdd_voltage_table.count; in vegam_populate_smc_mvdd_table() 460 data->mvdd_voltage_table.entries[count].value * VOLTAGE_SCALE); in vegam_populate_smc_mvdd_table() 465 data->mvdd_voltage_table.entries[level].smio_low; in vegam_populate_smc_mvdd_table() 467 table->SmioMask2 = data->mvdd_voltage_table.mask_low; in vegam_populate_smc_mvdd_table() 1096 smio_pat->Voltage = data->mvdd_voltage_table.entries[i].value; in vegam_populate_mvdd_value()
|
H A D | polaris10_smumgr.c | 652 count = data->mvdd_voltage_table.count; in polaris10_populate_smc_mvdd_table() 657 PP_HOST_TO_SMC_US(data->mvdd_voltage_table.entries[count].value * VOLTAGE_SCALE); in polaris10_populate_smc_mvdd_table() 662 data->mvdd_voltage_table.entries[level].smio_low; in polaris10_populate_smc_mvdd_table() 664 table->SmioMask2 = data->mvdd_voltage_table.mask_low; in polaris10_populate_smc_mvdd_table() 1184 smio_pat->Voltage = data->mvdd_voltage_table.entries[i].value; in polaris10_populate_mvdd_value()
|
H A D | ci_smumgr.c | 903 table->MvddLevelCount = data->mvdd_voltage_table.count; in ci_populate_smc_mvdd_table() 907 &(data->mvdd_voltage_table.entries[count]), in ci_populate_smc_mvdd_table() 912 table->Smio[count] |= data->mvdd_voltage_table.entries[count].smio_low; in ci_populate_smc_mvdd_table() 913 table->SmioMaskMvddVid |= data->mvdd_voltage_table.entries[count].smio_low; in ci_populate_smc_mvdd_table() 1359 voltage->Voltage = data->mvdd_voltage_table.entries[i].value; in ci_populate_mvdd_value()
|
H A D | tonga_smumgr.c | 363 table->MvddLevelCount = data->mvdd_voltage_table.count; in tonga_populate_smc_mvdd_table() 366 PP_HOST_TO_SMC_US(data->mvdd_voltage_table.entries[count].value * VOLTAGE_SCALE); in tonga_populate_smc_mvdd_table() 371 data->mvdd_voltage_table.entries[count].smio_low; in tonga_populate_smc_mvdd_table() 373 table->SmioMask2 = data->mvdd_voltage_table.mask_low; in tonga_populate_smc_mvdd_table() 1147 data->mvdd_voltage_table.entries[i].value; in tonga_populate_mvdd_value()
|
H A D | iceland_smumgr.c | 675 table->MvddLevelCount = data->mvdd_voltage_table.count; in iceland_populate_smc_mvdd_table() 679 &(data->mvdd_voltage_table.entries[count]), in iceland_populate_smc_mvdd_table() 683 table->MvddLevel[count].Smio |= data->mvdd_voltage_table.entries[count].smio_low; in iceland_populate_smc_mvdd_table() 1406 voltage->Voltage = data->mvdd_voltage_table.entries[i].value; in iceland_populate_mvdd_value()
|
H A D | fiji_smumgr.c | 1296 smio_pat->Voltage = data->mvdd_voltage_table.entries[i].value; in fiji_populate_mvdd_value()
|
/dragonfly/sys/dev/drm/amd/amdgpu/ |
H A D | si_dpm.c | 4467 VOLTAGE_OBJ_GPIO_LUT, &si_pi->mvdd_voltage_table); in si_construct_voltage_tables() 4474 if (si_pi->mvdd_voltage_table.count == 0) { in si_construct_voltage_tables() 4479 if (si_pi->mvdd_voltage_table.count > SISLANDS_MAX_NO_VREG_STEPS) in si_construct_voltage_tables() 4482 &si_pi->mvdd_voltage_table); in si_construct_voltage_tables() 4546 if (si_pi->mvdd_voltage_table.count) { in si_populate_smc_voltage_tables() 4547 si_populate_smc_voltage_table(adev, &si_pi->mvdd_voltage_table, table); in si_populate_smc_voltage_tables() 4550 cpu_to_be32(si_pi->mvdd_voltage_table.mask_low); in si_populate_smc_voltage_tables() 4602 voltage->index = (u8)(si_pi->mvdd_voltage_table.count) - 1; in si_populate_mvdd_value() 4604 voltage->value = cpu_to_be16(si_pi->mvdd_voltage_table.entries[voltage->index].value); in si_populate_mvdd_value() 4823 return si_populate_voltage_value(adev, &si_pi->mvdd_voltage_table, in si_populate_initial_mvdd_value()
|
H A D | si_dpm.h | 963 struct atom_voltage_table mvdd_voltage_table; member
|