Home
last modified time | relevance | path

Searched refs:mvdd_voltage_table (Results 1 – 17 of 17) sorted by relevance

/dragonfly/sys/dev/drm/radeon/
H A Dsi_dpm.h156 struct atom_voltage_table mvdd_voltage_table; member
H A Dci_dpm.h230 struct atom_voltage_table mvdd_voltage_table; member
H A Dsi_dpm.c4004 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 Dci_dpm.c2212 &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 Dsmu7_hwmgr.h251 struct pp_atomctrl_voltage_table mvdd_voltage_table; member
H A Dvega10_hwmgr.h321 struct pp_atomfwctrl_voltage_table mvdd_voltage_table; member
H A Dvega12_hwmgr.h325 struct pp_atomfwctrl_voltage_table mvdd_voltage_table; member
H A Dsmu7_hwmgr.c259 &(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 Dvega10_hwmgr.c1140 &(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 Dvegam_smumgr.c455 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 Dpolaris10_smumgr.c652 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 Dci_smumgr.c903 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 Dtonga_smumgr.c363 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 Diceland_smumgr.c675 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 Dfiji_smumgr.c1296 smio_pat->Voltage = data->mvdd_voltage_table.entries[i].value; in fiji_populate_mvdd_value()
/dragonfly/sys/dev/drm/amd/amdgpu/
H A Dsi_dpm.c4467 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 Dsi_dpm.h963 struct atom_voltage_table mvdd_voltage_table; member