Searched refs:ACPILevel (Results 1 – 17 of 17) sorted by relevance
/Linux-v4.19/drivers/gpu/drm/amd/powerplay/smumgr/ |
D | fiji_smumgr.c | 1323 table->ACPILevel.Flags &= ~PPSMC_SWSTATE_FLAG_DC; in fiji_populate_smc_acpi_level() 1328 table->ACPILevel.SclkFrequency = in fiji_populate_smc_acpi_level() 1332 table->ACPILevel.SclkFrequency, in fiji_populate_smc_acpi_level() 1333 (uint32_t *)(&table->ACPILevel.MinVoltage), &mvdd); in fiji_populate_smc_acpi_level() 1339 table->ACPILevel.SclkFrequency = in fiji_populate_smc_acpi_level() 1341 table->ACPILevel.MinVoltage = in fiji_populate_smc_acpi_level() 1347 table->ACPILevel.SclkFrequency, ÷rs); in fiji_populate_smc_acpi_level() 1352 table->ACPILevel.SclkDid = (uint8_t)dividers.pll_post_divider; in fiji_populate_smc_acpi_level() 1353 table->ACPILevel.DisplayWatermark = PPSMC_DISPLAY_WATERMARK_LOW; in fiji_populate_smc_acpi_level() 1354 table->ACPILevel.DeepSleepDivId = 0; in fiji_populate_smc_acpi_level() [all …]
|
D | iceland_smumgr.c | 1437 table->ACPILevel.Flags &= ~PPSMC_SWSTATE_FLAG_DC; in iceland_populate_smc_acpi_level() 1440 table->ACPILevel.MinVddc = PP_HOST_TO_SMC_UL(data->acpi_vddc * VOLTAGE_SCALE); in iceland_populate_smc_acpi_level() 1442 table->ACPILevel.MinVddc = PP_HOST_TO_SMC_UL(data->min_vddc_in_pptable * VOLTAGE_SCALE); in iceland_populate_smc_acpi_level() 1444 table->ACPILevel.MinVddcPhases = vddc_phase_shed_control ? 0 : 1; in iceland_populate_smc_acpi_level() 1446 table->ACPILevel.SclkFrequency = atomctrl_get_reference_clock(hwmgr); in iceland_populate_smc_acpi_level() 1450 table->ACPILevel.SclkFrequency, ÷rs); in iceland_populate_smc_acpi_level() 1456 table->ACPILevel.SclkDid = (uint8_t)dividers.pll_post_divider; in iceland_populate_smc_acpi_level() 1457 table->ACPILevel.DisplayWatermark = PPSMC_DISPLAY_WATERMARK_LOW; in iceland_populate_smc_acpi_level() 1458 table->ACPILevel.DeepSleepDivId = 0; in iceland_populate_smc_acpi_level() 1467 table->ACPILevel.CgSpllFuncCntl = spll_func_cntl; in iceland_populate_smc_acpi_level() [all …]
|
D | ci_smumgr.c | 1388 table->ACPILevel.Flags &= ~PPSMC_SWSTATE_FLAG_DC; in ci_populate_smc_acpi_level() 1391 table->ACPILevel.MinVddc = PP_HOST_TO_SMC_UL(data->acpi_vddc * VOLTAGE_SCALE); in ci_populate_smc_acpi_level() 1393 table->ACPILevel.MinVddc = PP_HOST_TO_SMC_UL(data->min_vddc_in_pptable * VOLTAGE_SCALE); in ci_populate_smc_acpi_level() 1395 table->ACPILevel.MinVddcPhases = data->vddc_phase_shed_control ? 0 : 1; in ci_populate_smc_acpi_level() 1397 table->ACPILevel.SclkFrequency = atomctrl_get_reference_clock(hwmgr); in ci_populate_smc_acpi_level() 1401 table->ACPILevel.SclkFrequency, ÷rs); in ci_populate_smc_acpi_level() 1407 table->ACPILevel.SclkDid = (uint8_t)dividers.pll_post_divider; in ci_populate_smc_acpi_level() 1408 table->ACPILevel.DisplayWatermark = PPSMC_DISPLAY_WATERMARK_LOW; in ci_populate_smc_acpi_level() 1409 table->ACPILevel.DeepSleepDivId = 0; in ci_populate_smc_acpi_level() 1418 table->ACPILevel.CgSpllFuncCntl = spll_func_cntl; in ci_populate_smc_acpi_level() [all …]
|
D | vegam_smumgr.c | 1119 table->ACPILevel.Flags &= ~PPSMC_SWSTATE_FLAG_DC; in vegam_populate_smc_acpi_level() 1127 &table->ACPILevel.MinVoltage, &mvdd); in vegam_populate_smc_acpi_level() 1134 &(table->ACPILevel.SclkSetting)); in vegam_populate_smc_acpi_level() 1139 table->ACPILevel.DeepSleepDivId = 0; in vegam_populate_smc_acpi_level() 1140 table->ACPILevel.CcPwrDynRm = 0; in vegam_populate_smc_acpi_level() 1141 table->ACPILevel.CcPwrDynRm1 = 0; in vegam_populate_smc_acpi_level() 1143 CONVERT_FROM_HOST_TO_SMC_UL(table->ACPILevel.Flags); in vegam_populate_smc_acpi_level() 1144 CONVERT_FROM_HOST_TO_SMC_UL(table->ACPILevel.MinVoltage); in vegam_populate_smc_acpi_level() 1145 CONVERT_FROM_HOST_TO_SMC_UL(table->ACPILevel.CcPwrDynRm); in vegam_populate_smc_acpi_level() 1146 CONVERT_FROM_HOST_TO_SMC_UL(table->ACPILevel.CcPwrDynRm1); in vegam_populate_smc_acpi_level() [all …]
|
D | tonga_smumgr.c | 1178 table->ACPILevel.Flags &= ~PPSMC_SWSTATE_FLAG_DC; in tonga_populate_smc_acpi_level() 1180 table->ACPILevel.MinVoltage = in tonga_populate_smc_acpi_level() 1184 table->ACPILevel.SclkFrequency = atomctrl_get_reference_clock(hwmgr); in tonga_populate_smc_acpi_level() 1188 table->ACPILevel.SclkFrequency, ÷rs); in tonga_populate_smc_acpi_level() 1195 table->ACPILevel.SclkDid = (uint8_t)dividers.pll_post_divider; in tonga_populate_smc_acpi_level() 1196 table->ACPILevel.DisplayWatermark = PPSMC_DISPLAY_WATERMARK_LOW; in tonga_populate_smc_acpi_level() 1197 table->ACPILevel.DeepSleepDivId = 0; in tonga_populate_smc_acpi_level() 1206 table->ACPILevel.CgSpllFuncCntl = spll_func_cntl; in tonga_populate_smc_acpi_level() 1207 table->ACPILevel.CgSpllFuncCntl2 = spll_func_cntl_2; in tonga_populate_smc_acpi_level() 1208 table->ACPILevel.CgSpllFuncCntl3 = data->clock_registers.vCG_SPLL_FUNC_CNTL_3; in tonga_populate_smc_acpi_level() [all …]
|
D | polaris10_smumgr.c | 1208 table->ACPILevel.Flags &= ~PPSMC_SWSTATE_FLAG_DC; in polaris10_populate_smc_acpi_level() 1216 &table->ACPILevel.MinVoltage, &mvdd); in polaris10_populate_smc_acpi_level() 1222 result = polaris10_calculate_sclk_params(hwmgr, sclk_frequency, &(table->ACPILevel.SclkSetting)); in polaris10_populate_smc_acpi_level() 1225 table->ACPILevel.DeepSleepDivId = 0; in polaris10_populate_smc_acpi_level() 1226 table->ACPILevel.CcPwrDynRm = 0; in polaris10_populate_smc_acpi_level() 1227 table->ACPILevel.CcPwrDynRm1 = 0; in polaris10_populate_smc_acpi_level() 1229 CONVERT_FROM_HOST_TO_SMC_UL(table->ACPILevel.Flags); in polaris10_populate_smc_acpi_level() 1230 CONVERT_FROM_HOST_TO_SMC_UL(table->ACPILevel.MinVoltage); in polaris10_populate_smc_acpi_level() 1231 CONVERT_FROM_HOST_TO_SMC_UL(table->ACPILevel.CcPwrDynRm); in polaris10_populate_smc_acpi_level() 1232 CONVERT_FROM_HOST_TO_SMC_UL(table->ACPILevel.CcPwrDynRm1); in polaris10_populate_smc_acpi_level() [all …]
|
/Linux-v4.19/drivers/gpu/drm/radeon/ |
D | ci_dpm.c | 2999 table->ACPILevel.Flags &= ~PPSMC_SWSTATE_FLAG_DC; in ci_populate_smc_acpi_level() 3002 table->ACPILevel.MinVddc = cpu_to_be32(pi->acpi_vddc * VOLTAGE_SCALE); in ci_populate_smc_acpi_level() 3004 table->ACPILevel.MinVddc = cpu_to_be32(pi->min_vddc_in_pp_table * VOLTAGE_SCALE); in ci_populate_smc_acpi_level() 3006 table->ACPILevel.MinVddcPhases = pi->vddc_phase_shed_control ? 0 : 1; in ci_populate_smc_acpi_level() 3008 table->ACPILevel.SclkFrequency = rdev->clock.spll.reference_freq; in ci_populate_smc_acpi_level() 3012 table->ACPILevel.SclkFrequency, false, ÷rs); in ci_populate_smc_acpi_level() 3016 table->ACPILevel.SclkDid = (u8)dividers.post_divider; in ci_populate_smc_acpi_level() 3017 table->ACPILevel.DisplayWatermark = PPSMC_DISPLAY_WATERMARK_LOW; in ci_populate_smc_acpi_level() 3018 table->ACPILevel.DeepSleepDivId = 0; in ci_populate_smc_acpi_level() 3026 table->ACPILevel.CgSpllFuncCntl = spll_func_cntl; in ci_populate_smc_acpi_level() [all …]
|
D | smu7_fusion.h | 234 SMU7_Fusion_ACPILevel ACPILevel; member
|
D | smu7_discrete.h | 326 SMU7_Discrete_ACPILevel ACPILevel; member
|
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/ |
D | ci_dpm.c | 3143 table->ACPILevel.Flags &= ~PPSMC_SWSTATE_FLAG_DC; in ci_populate_smc_acpi_level() 3146 table->ACPILevel.MinVddc = cpu_to_be32(pi->acpi_vddc * VOLTAGE_SCALE); in ci_populate_smc_acpi_level() 3148 table->ACPILevel.MinVddc = cpu_to_be32(pi->min_vddc_in_pp_table * VOLTAGE_SCALE); in ci_populate_smc_acpi_level() 3150 table->ACPILevel.MinVddcPhases = pi->vddc_phase_shed_control ? 0 : 1; in ci_populate_smc_acpi_level() 3152 table->ACPILevel.SclkFrequency = adev->clock.spll.reference_freq; in ci_populate_smc_acpi_level() 3156 table->ACPILevel.SclkFrequency, false, ÷rs); in ci_populate_smc_acpi_level() 3160 table->ACPILevel.SclkDid = (u8)dividers.post_divider; in ci_populate_smc_acpi_level() 3161 table->ACPILevel.DisplayWatermark = PPSMC_DISPLAY_WATERMARK_LOW; in ci_populate_smc_acpi_level() 3162 table->ACPILevel.DeepSleepDivId = 0; in ci_populate_smc_acpi_level() 3170 table->ACPILevel.CgSpllFuncCntl = spll_func_cntl; in ci_populate_smc_acpi_level() [all …]
|
/Linux-v4.19/drivers/gpu/drm/amd/powerplay/inc/ |
D | smu7_fusion.h | 234 SMU7_Fusion_ACPILevel ACPILevel; member
|
D | smu7_discrete.h | 327 SMU7_Discrete_ACPILevel ACPILevel; member
|
D | smu71_discrete.h | 274 SMU71_Discrete_ACPILevel ACPILevel; member
|
D | smu72_discrete.h | 269 SMU72_Discrete_ACPILevel ACPILevel; member
|
D | smu73_discrete.h | 253 SMU73_Discrete_ACPILevel ACPILevel; member
|
D | smu74_discrete.h | 285 SMU74_Discrete_ACPILevel ACPILevel; member
|
D | smu75_discrete.h | 291 SMU75_Discrete_ACPILevel ACPILevel; member
|