Home
last modified time | relevance | path

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

/netbsd-src/sys/external/bsd/drm2/dist/drm/radeon/
H A Dsi_dpm.h158 struct atom_voltage_table mvdd_voltage_table; member
H A Dci_dpm.h233 struct atom_voltage_table mvdd_voltage_table; member
H A Dradeon_si_dpm.c4009 VOLTAGE_OBJ_GPIO_LUT, &si_pi->mvdd_voltage_table); in si_construct_voltage_tables()
4016 if (si_pi->mvdd_voltage_table.count == 0) { in si_construct_voltage_tables()
4021 if (si_pi->mvdd_voltage_table.count > SISLANDS_MAX_NO_VREG_STEPS) in si_construct_voltage_tables()
4024 &si_pi->mvdd_voltage_table); in si_construct_voltage_tables()
4088 if (si_pi->mvdd_voltage_table.count) { in si_populate_smc_voltage_tables()
4089 si_populate_smc_voltage_table(rdev, &si_pi->mvdd_voltage_table, table); in si_populate_smc_voltage_tables()
4092 cpu_to_be32(si_pi->mvdd_voltage_table.mask_low); in si_populate_smc_voltage_tables()
4144 voltage->index = (u8)(si_pi->mvdd_voltage_table.count) - 1; in si_populate_mvdd_value()
4146 voltage->value = cpu_to_be16(si_pi->mvdd_voltage_table.entries[voltage->index].value); in si_populate_mvdd_value()
4363 return si_populate_voltage_value(rdev, &si_pi->mvdd_voltage_table, in si_populate_initial_mvdd_value()
H A Dradeon_ci_dpm.c2184 &pi->mvdd_voltage_table); in ci_construct_voltage_tables()
2190 &pi->mvdd_voltage_table); in ci_construct_voltage_tables()
2195 if (pi->mvdd_voltage_table.count > SMU7_MAX_LEVELS_MVDD) in ci_construct_voltage_tables()
2197 &pi->mvdd_voltage_table); in ci_construct_voltage_tables()
2276 table->MvddLevelCount = pi->mvdd_voltage_table.count; in ci_populate_smc_mvdd_table()
2279 &pi->mvdd_voltage_table.entries[count], in ci_populate_smc_mvdd_table()
2284 pi->mvdd_voltage_table.entries[count].smio_low; in ci_populate_smc_mvdd_table()
2322 voltage->Voltage = pi->mvdd_voltage_table.entries[i].value; in ci_populate_mvdd_value()
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/powerplay/hwmgr/
H A Dsmu7_hwmgr.h254 struct pp_atomctrl_voltage_table mvdd_voltage_table; member
H A Dvega12_hwmgr.h327 struct pp_atomfwctrl_voltage_table mvdd_voltage_table; member
H A Dvega10_hwmgr.h324 struct pp_atomfwctrl_voltage_table mvdd_voltage_table; member
H A Dvega20_hwmgr.h452 struct pp_atomfwctrl_voltage_table mvdd_voltage_table; member
H A Damdgpu_smu7_hwmgr.c270 &(data->mvdd_voltage_table)); in smu7_construct_voltage_tables()
276 result = phm_get_svi2_mvdd_voltage_table(&(data->mvdd_voltage_table), in smu7_construct_voltage_tables()
279 result = phm_get_svi2_voltage_table_v0(&(data->mvdd_voltage_table), in smu7_construct_voltage_tables()
357 (data->mvdd_voltage_table.count <= tmp), in smu7_construct_voltage_tables()
360 &(data->mvdd_voltage_table))); in smu7_construct_voltage_tables()
H A Damdgpu_vega10_hwmgr.c1175 &(data->mvdd_voltage_table)); in vega10_construct_voltage_tables()
1210 PP_ASSERT_WITH_CODE(data->mvdd_voltage_table.count <= 16, in vega10_construct_voltage_tables()
1213 16, &(data->mvdd_voltage_table))); in vega10_construct_voltage_tables()
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/powerplay/smumgr/
H A Damdgpu_vegam_smumgr.c459 count = data->mvdd_voltage_table.count; in vegam_populate_smc_mvdd_table()
464 data->mvdd_voltage_table.entries[level].value * VOLTAGE_SCALE); in vegam_populate_smc_mvdd_table()
469 data->mvdd_voltage_table.entries[level].smio_low; in vegam_populate_smc_mvdd_table()
471 table->SmioMask2 = data->mvdd_voltage_table.mask_low; in vegam_populate_smc_mvdd_table()
1099 smio_pat->Voltage = data->mvdd_voltage_table.entries[i].value; in vegam_populate_mvdd_value()
H A Damdgpu_polaris10_smumgr.c658 count = data->mvdd_voltage_table.count; in polaris10_populate_smc_mvdd_table()
663 PP_HOST_TO_SMC_US(data->mvdd_voltage_table.entries[level].value * VOLTAGE_SCALE); in polaris10_populate_smc_mvdd_table()
668 data->mvdd_voltage_table.entries[level].smio_low; in polaris10_populate_smc_mvdd_table()
670 table->SmioMask2 = data->mvdd_voltage_table.mask_low; in polaris10_populate_smc_mvdd_table()
1191 smio_pat->Voltage = data->mvdd_voltage_table.entries[i].value; in polaris10_populate_mvdd_value()
H A Damdgpu_ci_smumgr.c908 table->MvddLevelCount = data->mvdd_voltage_table.count; in ci_populate_smc_mvdd_table()
912 &(data->mvdd_voltage_table.entries[count]), in ci_populate_smc_mvdd_table()
917 table->Smio[count] |= data->mvdd_voltage_table.entries[count].smio_low; in ci_populate_smc_mvdd_table()
918 table->SmioMaskMvddVid |= data->mvdd_voltage_table.entries[count].smio_low; in ci_populate_smc_mvdd_table()
1365 voltage->Voltage = data->mvdd_voltage_table.entries[i].value; in ci_populate_mvdd_value()
H A Damdgpu_tonga_smumgr.c378 table->MvddLevelCount = data->mvdd_voltage_table.count; in tonga_populate_smc_mvdd_table()
381 PP_HOST_TO_SMC_US(data->mvdd_voltage_table.entries[count].value * VOLTAGE_SCALE); in tonga_populate_smc_mvdd_table()
386 data->mvdd_voltage_table.entries[count].smio_low; in tonga_populate_smc_mvdd_table()
388 table->SmioMask2 = data->mvdd_voltage_table.mask_low; in tonga_populate_smc_mvdd_table()
1162 data->mvdd_voltage_table.entries[i].value; in tonga_populate_mvdd_value()
H A Damdgpu_iceland_smumgr.c680 table->MvddLevelCount = data->mvdd_voltage_table.count; in iceland_populate_smc_mvdd_table()
684 &(data->mvdd_voltage_table.entries[count]), in iceland_populate_smc_mvdd_table()
688 table->MvddLevel[count].Smio |= data->mvdd_voltage_table.entries[count].smio_low; in iceland_populate_smc_mvdd_table()
1412 voltage->Voltage = data->mvdd_voltage_table.entries[i].value; in iceland_populate_mvdd_value()
H A Damdgpu_fiji_smumgr.c1290 smio_pat->Voltage = data->mvdd_voltage_table.entries[i].value; in fiji_populate_mvdd_value()
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
H A Damdgpu_si_dpm.c4473 VOLTAGE_OBJ_GPIO_LUT, &si_pi->mvdd_voltage_table); in si_construct_voltage_tables()
4480 if (si_pi->mvdd_voltage_table.count == 0) { in si_construct_voltage_tables()
4485 if (si_pi->mvdd_voltage_table.count > SISLANDS_MAX_NO_VREG_STEPS) in si_construct_voltage_tables()
4488 &si_pi->mvdd_voltage_table); in si_construct_voltage_tables()
4552 if (si_pi->mvdd_voltage_table.count) { in si_populate_smc_voltage_tables()
4553 si_populate_smc_voltage_table(adev, &si_pi->mvdd_voltage_table, table); in si_populate_smc_voltage_tables()
4556 cpu_to_be32(si_pi->mvdd_voltage_table.mask_low); in si_populate_smc_voltage_tables()
4608 voltage->index = (u8)(si_pi->mvdd_voltage_table.count) - 1; in si_populate_mvdd_value()
4610 voltage->value = cpu_to_be16(si_pi->mvdd_voltage_table.entries[voltage->index].value); in si_populate_mvdd_value()
4829 return si_populate_voltage_value(adev, &si_pi->mvdd_voltage_table, in si_populate_initial_mvdd_value()
H A Dsi_dpm.h965 struct atom_voltage_table mvdd_voltage_table; member