Searched refs:mvdd_voltage_table (Results 1 – 14 of 14) sorted by relevance
/drivers/gpu/drm/radeon/ |
D | si_dpm.h | 156 struct atom_voltage_table mvdd_voltage_table; member
|
D | ci_dpm.h | 230 struct atom_voltage_table mvdd_voltage_table; member
|
D | si_dpm.c | 4060 VOLTAGE_OBJ_GPIO_LUT, &si_pi->mvdd_voltage_table); in si_construct_voltage_tables() 4067 if (si_pi->mvdd_voltage_table.count == 0) { in si_construct_voltage_tables() 4072 if (si_pi->mvdd_voltage_table.count > SISLANDS_MAX_NO_VREG_STEPS) in si_construct_voltage_tables() 4075 &si_pi->mvdd_voltage_table); in si_construct_voltage_tables() 4139 if (si_pi->mvdd_voltage_table.count) { in si_populate_smc_voltage_tables() 4140 si_populate_smc_voltage_table(rdev, &si_pi->mvdd_voltage_table, table); in si_populate_smc_voltage_tables() 4143 cpu_to_be32(si_pi->mvdd_voltage_table.mask_low); in si_populate_smc_voltage_tables() 4195 voltage->index = (u8)(si_pi->mvdd_voltage_table.count) - 1; in si_populate_mvdd_value() 4197 voltage->value = cpu_to_be16(si_pi->mvdd_voltage_table.entries[voltage->index].value); in si_populate_mvdd_value() 4414 return si_populate_voltage_value(rdev, &si_pi->mvdd_voltage_table, in si_populate_initial_mvdd_value()
|
D | ci_dpm.c | 2160 &pi->mvdd_voltage_table); in ci_construct_voltage_tables() 2166 &pi->mvdd_voltage_table); in ci_construct_voltage_tables() 2171 if (pi->mvdd_voltage_table.count > SMU7_MAX_LEVELS_MVDD) in ci_construct_voltage_tables() 2173 &pi->mvdd_voltage_table); in ci_construct_voltage_tables() 2252 table->MvddLevelCount = pi->mvdd_voltage_table.count; in ci_populate_smc_mvdd_table() 2255 &pi->mvdd_voltage_table.entries[count], in ci_populate_smc_mvdd_table() 2260 pi->mvdd_voltage_table.entries[count].smio_low; in ci_populate_smc_mvdd_table() 2298 voltage->Voltage = pi->mvdd_voltage_table.entries[i].value; in ci_populate_mvdd_value()
|
/drivers/gpu/drm/amd/powerplay/hwmgr/ |
D | smu7_hwmgr.h | 236 struct pp_atomctrl_voltage_table mvdd_voltage_table; member
|
D | smu7_hwmgr.c | 234 &(data->mvdd_voltage_table)); in smu7_construct_voltage_tables() 240 result = phm_get_svi2_mvdd_voltage_table(&(data->mvdd_voltage_table), in smu7_construct_voltage_tables() 243 result = phm_get_svi2_voltage_table_v0(&(data->mvdd_voltage_table), in smu7_construct_voltage_tables() 321 (data->mvdd_voltage_table.count <= tmp), in smu7_construct_voltage_tables() 324 &(data->mvdd_voltage_table))); in smu7_construct_voltage_tables()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | ci_dpm.h | 232 struct atom_voltage_table mvdd_voltage_table; member
|
D | si_dpm.c | 4541 VOLTAGE_OBJ_GPIO_LUT, &si_pi->mvdd_voltage_table); in si_construct_voltage_tables() 4548 if (si_pi->mvdd_voltage_table.count == 0) { in si_construct_voltage_tables() 4553 if (si_pi->mvdd_voltage_table.count > SISLANDS_MAX_NO_VREG_STEPS) in si_construct_voltage_tables() 4556 &si_pi->mvdd_voltage_table); in si_construct_voltage_tables() 4620 if (si_pi->mvdd_voltage_table.count) { in si_populate_smc_voltage_tables() 4621 si_populate_smc_voltage_table(adev, &si_pi->mvdd_voltage_table, table); in si_populate_smc_voltage_tables() 4624 cpu_to_be32(si_pi->mvdd_voltage_table.mask_low); in si_populate_smc_voltage_tables() 4676 voltage->index = (u8)(si_pi->mvdd_voltage_table.count) - 1; in si_populate_mvdd_value() 4678 voltage->value = cpu_to_be16(si_pi->mvdd_voltage_table.entries[voltage->index].value); in si_populate_mvdd_value() 4897 return si_populate_voltage_value(adev, &si_pi->mvdd_voltage_table, in si_populate_initial_mvdd_value()
|
D | si_dpm.h | 963 struct atom_voltage_table mvdd_voltage_table; member
|
D | ci_dpm.c | 2290 &pi->mvdd_voltage_table); in ci_construct_voltage_tables() 2296 &pi->mvdd_voltage_table); in ci_construct_voltage_tables() 2301 if (pi->mvdd_voltage_table.count > SMU7_MAX_LEVELS_MVDD) in ci_construct_voltage_tables() 2303 &pi->mvdd_voltage_table); in ci_construct_voltage_tables() 2382 table->MvddLevelCount = pi->mvdd_voltage_table.count; in ci_populate_smc_mvdd_table() 2385 &pi->mvdd_voltage_table.entries[count], in ci_populate_smc_mvdd_table() 2390 pi->mvdd_voltage_table.entries[count].smio_low; in ci_populate_smc_mvdd_table() 2428 voltage->Voltage = pi->mvdd_voltage_table.entries[i].value; in ci_populate_mvdd_value()
|
/drivers/gpu/drm/amd/powerplay/smumgr/ |
D | polaris10_smc.c | 395 count = data->mvdd_voltage_table.count; in polaris10_populate_smc_mvdd_table() 400 PP_HOST_TO_SMC_US(data->mvdd_voltage_table.entries[count].value * VOLTAGE_SCALE); in polaris10_populate_smc_mvdd_table() 405 data->mvdd_voltage_table.entries[level].smio_low; in polaris10_populate_smc_mvdd_table() 407 table->SmioMask2 = data->mvdd_voltage_table.mask_low; in polaris10_populate_smc_mvdd_table() 967 smio_pat->Voltage = data->mvdd_voltage_table.entries[i].value; in polaris10_populate_mvdd_value()
|
D | iceland_smc.c | 511 table->MvddLevelCount = data->mvdd_voltage_table.count; in iceland_populate_smc_mvdd_table() 515 &(data->mvdd_voltage_table.entries[count]), in iceland_populate_smc_mvdd_table() 519 table->MvddLevel[count].Smio |= data->mvdd_voltage_table.entries[count].smio_low; in iceland_populate_smc_mvdd_table() 1279 voltage->Voltage = data->mvdd_voltage_table.entries[i].value; in iceland_populate_mvdd_value()
|
D | tonga_smc.c | 256 table->MvddLevelCount = data->mvdd_voltage_table.count; in tonga_populate_smc_mvdd_table() 259 PP_HOST_TO_SMC_US(data->mvdd_voltage_table.entries[count].value * VOLTAGE_SCALE); in tonga_populate_smc_mvdd_table() 264 data->mvdd_voltage_table.entries[count].smio_low; in tonga_populate_smc_mvdd_table() 266 table->SmioMask2 = data->mvdd_voltage_table.mask_low; in tonga_populate_smc_mvdd_table() 1072 data->mvdd_voltage_table.entries[i].value; in tonga_populate_mvdd_value()
|
D | fiji_smc.c | 1072 smio_pat->Voltage = data->mvdd_voltage_table.entries[i].value; in fiji_populate_mvdd_value()
|