Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/gpu/drm/radeon/
Dsi_dpm.h156 struct atom_voltage_table mvdd_voltage_table; member
Dci_dpm.h231 struct atom_voltage_table mvdd_voltage_table; member
Dsi_dpm.c3985 VOLTAGE_OBJ_GPIO_LUT, &si_pi->mvdd_voltage_table); in si_construct_voltage_tables()
3992 if (si_pi->mvdd_voltage_table.count == 0) { in si_construct_voltage_tables()
3997 if (si_pi->mvdd_voltage_table.count > SISLANDS_MAX_NO_VREG_STEPS) in si_construct_voltage_tables()
4000 &si_pi->mvdd_voltage_table); in si_construct_voltage_tables()
4064 if (si_pi->mvdd_voltage_table.count) { in si_populate_smc_voltage_tables()
4065 si_populate_smc_voltage_table(rdev, &si_pi->mvdd_voltage_table, table); in si_populate_smc_voltage_tables()
4068 cpu_to_be32(si_pi->mvdd_voltage_table.mask_low); in si_populate_smc_voltage_tables()
4120 voltage->index = (u8)(si_pi->mvdd_voltage_table.count) - 1; in si_populate_mvdd_value()
4122 voltage->value = cpu_to_be16(si_pi->mvdd_voltage_table.entries[voltage->index].value); in si_populate_mvdd_value()
4339 return si_populate_voltage_value(rdev, &si_pi->mvdd_voltage_table, in si_populate_initial_mvdd_value()
Dci_dpm.c2141 &pi->mvdd_voltage_table); in ci_construct_voltage_tables()
2147 &pi->mvdd_voltage_table); in ci_construct_voltage_tables()
2152 if (pi->mvdd_voltage_table.count > SMU7_MAX_LEVELS_MVDD) in ci_construct_voltage_tables()
2154 &pi->mvdd_voltage_table); in ci_construct_voltage_tables()
2233 table->MvddLevelCount = pi->mvdd_voltage_table.count; in ci_populate_smc_mvdd_table()
2236 &pi->mvdd_voltage_table.entries[count], in ci_populate_smc_mvdd_table()
2241 pi->mvdd_voltage_table.entries[count].smio_low; in ci_populate_smc_mvdd_table()
2279 voltage->Voltage = pi->mvdd_voltage_table.entries[i].value; in ci_populate_mvdd_value()
/linux-5.19.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dsmu7_hwmgr.h264 struct pp_atomctrl_voltage_table mvdd_voltage_table; member
Dvega10_hwmgr.h322 struct pp_atomfwctrl_voltage_table mvdd_voltage_table; member
Dvega12_hwmgr.h325 struct pp_atomfwctrl_voltage_table mvdd_voltage_table; member
Dvega20_hwmgr.h450 struct pp_atomfwctrl_voltage_table mvdd_voltage_table; member
Dsmu7_hwmgr.c328 &(data->mvdd_voltage_table)); in smu7_construct_voltage_tables()
334 result = phm_get_svi2_mvdd_voltage_table(&(data->mvdd_voltage_table), in smu7_construct_voltage_tables()
337 result = phm_get_svi2_voltage_table_v0(&(data->mvdd_voltage_table), in smu7_construct_voltage_tables()
415 (data->mvdd_voltage_table.count <= tmp), in smu7_construct_voltage_tables()
418 &(data->mvdd_voltage_table))); in smu7_construct_voltage_tables()
Dvega10_hwmgr.c1171 &(data->mvdd_voltage_table)); in vega10_construct_voltage_tables()
1206 PP_ASSERT_WITH_CODE(data->mvdd_voltage_table.count <= 16, in vega10_construct_voltage_tables()
1209 16, &(data->mvdd_voltage_table))); in vega10_construct_voltage_tables()
/linux-5.19.10/drivers/gpu/drm/amd/pm/powerplay/smumgr/
Dvegam_smumgr.c456 count = data->mvdd_voltage_table.count; in vegam_populate_smc_mvdd_table()
461 data->mvdd_voltage_table.entries[level].value * VOLTAGE_SCALE); in vegam_populate_smc_mvdd_table()
466 data->mvdd_voltage_table.entries[level].smio_low; in vegam_populate_smc_mvdd_table()
468 table->SmioMask2 = data->mvdd_voltage_table.mask_low; in vegam_populate_smc_mvdd_table()
1098 smio_pat->Voltage = data->mvdd_voltage_table.entries[i].value; in vegam_populate_mvdd_value()
Dpolaris10_smumgr.c671 count = data->mvdd_voltage_table.count; in polaris10_populate_smc_mvdd_table()
676 PP_HOST_TO_SMC_US(data->mvdd_voltage_table.entries[level].value * VOLTAGE_SCALE); in polaris10_populate_smc_mvdd_table()
681 data->mvdd_voltage_table.entries[level].smio_low; in polaris10_populate_smc_mvdd_table()
683 table->SmioMask2 = data->mvdd_voltage_table.mask_low; in polaris10_populate_smc_mvdd_table()
1264 smio_pat->Voltage = data->mvdd_voltage_table.entries[i].value; in polaris10_populate_mvdd_value()
Dci_smumgr.c906 table->MvddLevelCount = data->mvdd_voltage_table.count; in ci_populate_smc_mvdd_table()
910 &(data->mvdd_voltage_table.entries[count]), in ci_populate_smc_mvdd_table()
915 table->Smio[count] |= data->mvdd_voltage_table.entries[count].smio_low; in ci_populate_smc_mvdd_table()
916 table->SmioMaskMvddVid |= data->mvdd_voltage_table.entries[count].smio_low; in ci_populate_smc_mvdd_table()
1363 voltage->Voltage = data->mvdd_voltage_table.entries[i].value; in ci_populate_mvdd_value()
Dtonga_smumgr.c373 table->MvddLevelCount = data->mvdd_voltage_table.count; in tonga_populate_smc_mvdd_table()
376 PP_HOST_TO_SMC_US(data->mvdd_voltage_table.entries[count].value * VOLTAGE_SCALE); in tonga_populate_smc_mvdd_table()
381 data->mvdd_voltage_table.entries[count].smio_low; in tonga_populate_smc_mvdd_table()
383 table->SmioMask2 = data->mvdd_voltage_table.mask_low; in tonga_populate_smc_mvdd_table()
1157 data->mvdd_voltage_table.entries[i].value; in tonga_populate_mvdd_value()
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()
1407 voltage->Voltage = data->mvdd_voltage_table.entries[i].value; in iceland_populate_mvdd_value()
Dfiji_smumgr.c1283 smio_pat->Voltage = data->mvdd_voltage_table.entries[i].value; in fiji_populate_mvdd_value()
/linux-5.19.10/drivers/gpu/drm/amd/pm/legacy-dpm/
Dsi_dpm.c4462 VOLTAGE_OBJ_GPIO_LUT, &si_pi->mvdd_voltage_table); in si_construct_voltage_tables()
4469 if (si_pi->mvdd_voltage_table.count == 0) { in si_construct_voltage_tables()
4474 if (si_pi->mvdd_voltage_table.count > SISLANDS_MAX_NO_VREG_STEPS) in si_construct_voltage_tables()
4477 &si_pi->mvdd_voltage_table); in si_construct_voltage_tables()
4541 if (si_pi->mvdd_voltage_table.count) { in si_populate_smc_voltage_tables()
4542 si_populate_smc_voltage_table(adev, &si_pi->mvdd_voltage_table, table); in si_populate_smc_voltage_tables()
4545 cpu_to_be32(si_pi->mvdd_voltage_table.mask_low); in si_populate_smc_voltage_tables()
4597 voltage->index = (u8)(si_pi->mvdd_voltage_table.count) - 1; in si_populate_mvdd_value()
4599 voltage->value = cpu_to_be16(si_pi->mvdd_voltage_table.entries[voltage->index].value); in si_populate_mvdd_value()
4818 return si_populate_voltage_value(adev, &si_pi->mvdd_voltage_table, in si_populate_initial_mvdd_value()
Dsi_dpm.h970 struct atom_voltage_table mvdd_voltage_table; member