Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/radeon/
Dsi_dpm.h149 struct atom_voltage_table mvdd_voltage_table; member
Dci_dpm.h229 struct atom_voltage_table mvdd_voltage_table; member
Dsi_dpm.c3941 VOLTAGE_OBJ_GPIO_LUT, &si_pi->mvdd_voltage_table); in si_construct_voltage_tables()
3948 if (si_pi->mvdd_voltage_table.count == 0) { in si_construct_voltage_tables()
3953 if (si_pi->mvdd_voltage_table.count > SISLANDS_MAX_NO_VREG_STEPS) in si_construct_voltage_tables()
3956 &si_pi->mvdd_voltage_table); in si_construct_voltage_tables()
4020 if (si_pi->mvdd_voltage_table.count) { in si_populate_smc_voltage_tables()
4021 si_populate_smc_voltage_table(rdev, &si_pi->mvdd_voltage_table, table); in si_populate_smc_voltage_tables()
4024 cpu_to_be32(si_pi->mvdd_voltage_table.mask_low); in si_populate_smc_voltage_tables()
4076 voltage->index = (u8)(si_pi->mvdd_voltage_table.count) - 1; in si_populate_mvdd_value()
4078 voltage->value = cpu_to_be16(si_pi->mvdd_voltage_table.entries[voltage->index].value); in si_populate_mvdd_value()
4295 return si_populate_voltage_value(rdev, &si_pi->mvdd_voltage_table, in si_populate_initial_mvdd_value()
Dci_dpm.c2134 &pi->mvdd_voltage_table); in ci_construct_voltage_tables()
2140 &pi->mvdd_voltage_table); in ci_construct_voltage_tables()
2145 if (pi->mvdd_voltage_table.count > SMU7_MAX_LEVELS_MVDD) in ci_construct_voltage_tables()
2147 &pi->mvdd_voltage_table); in ci_construct_voltage_tables()
2226 table->MvddLevelCount = pi->mvdd_voltage_table.count; in ci_populate_smc_mvdd_table()
2229 &pi->mvdd_voltage_table.entries[count], in ci_populate_smc_mvdd_table()
2234 pi->mvdd_voltage_table.entries[count].smio_low; in ci_populate_smc_mvdd_table()
2272 voltage->Voltage = pi->mvdd_voltage_table.entries[i].value; in ci_populate_mvdd_value()
/linux-6.12.1/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dsmu7_hwmgr.h264 struct pp_atomctrl_voltage_table mvdd_voltage_table; member
Dvega12_hwmgr.h324 struct pp_atomfwctrl_voltage_table mvdd_voltage_table; member
Dvega10_hwmgr.h322 struct pp_atomfwctrl_voltage_table mvdd_voltage_table; member
Dvega20_hwmgr.h448 struct pp_atomfwctrl_voltage_table mvdd_voltage_table; member
Dsmu7_hwmgr.c327 &(data->mvdd_voltage_table)); in smu7_construct_voltage_tables()
333 result = phm_get_svi2_mvdd_voltage_table(&(data->mvdd_voltage_table), in smu7_construct_voltage_tables()
336 result = phm_get_svi2_voltage_table_v0(&(data->mvdd_voltage_table), in smu7_construct_voltage_tables()
414 (data->mvdd_voltage_table.count <= tmp), in smu7_construct_voltage_tables()
417 &(data->mvdd_voltage_table))); in smu7_construct_voltage_tables()
Dvega10_hwmgr.c1181 &(data->mvdd_voltage_table)); in vega10_construct_voltage_tables()
1216 PP_ASSERT_WITH_CODE(data->mvdd_voltage_table.count <= 16, in vega10_construct_voltage_tables()
1219 16, &(data->mvdd_voltage_table))); in vega10_construct_voltage_tables()
/linux-6.12.1/drivers/gpu/drm/amd/pm/powerplay/smumgr/
Dvegam_smumgr.c455 count = data->mvdd_voltage_table.count; in vegam_populate_smc_mvdd_table()
460 data->mvdd_voltage_table.entries[level].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()
1097 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.c905 table->MvddLevelCount = data->mvdd_voltage_table.count; in ci_populate_smc_mvdd_table()
909 &(data->mvdd_voltage_table.entries[count]), in ci_populate_smc_mvdd_table()
914 table->Smio[count] |= data->mvdd_voltage_table.entries[count].smio_low; in ci_populate_smc_mvdd_table()
915 table->SmioMaskMvddVid |= data->mvdd_voltage_table.entries[count].smio_low; in ci_populate_smc_mvdd_table()
1362 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-6.12.1/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