smum_send_msg_to_smc
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetGfxclkFrequency);
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetFclkFrequency);
return smum_send_msg_to_smc(hwmgr, PPSMC_MSG_SetRccPfcPmeRestoreRegister);
return smum_send_msg_to_smc(hwmgr, PPSMC_MSG_PowerGateMmHub);
return smum_send_msg_to_smc(hwmgr, PPSMC_MSG_PowerDownSdma);
return smum_send_msg_to_smc(hwmgr, PPSMC_MSG_PowerUpSdma);
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_DisableGfxOff);
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_EnableGfxOff);
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetMinGfxclkFrequency);
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetMaxGfxclkFrequency);
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetGfxclkFrequency);
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetFclkFrequency);
return smum_send_msg_to_smc(hwmgr, enable ?
return smum_send_msg_to_smc(hwmgr, enable ?
return smum_send_msg_to_smc(hwmgr,
return smum_send_msg_to_smc(hwmgr,
return smum_send_msg_to_smc(hwmgr,
return smum_send_msg_to_smc(hwmgr,
return smum_send_msg_to_smc(hwmgr, PPSMC_MSG_DisableULV);
if (smum_send_msg_to_smc(hwmgr, PPSMC_MSG_MASTER_DeepSleep_ON))
if (smum_send_msg_to_smc(hwmgr,
if (smum_send_msg_to_smc(hwmgr,
(0 == smum_send_msg_to_smc(hwmgr, PPSMC_MSG_DPM_Enable)),
(0 == smum_send_msg_to_smc(hwmgr,
(0 == smum_send_msg_to_smc(hwmgr,
PP_ASSERT_WITH_CODE((0 == smum_send_msg_to_smc(hwmgr,
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_DPM_Disable);
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_MCLKDPM_Disable);
(smum_send_msg_to_smc(hwmgr,
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_Voltage_Cntl_Disable);
smum_send_msg_to_smc(hwmgr, (PPSMC_Msg)PPSMC_NoDisplay);
PP_ASSERT_WITH_CODE(!smum_send_msg_to_smc(
PP_ASSERT_WITH_CODE(!smum_send_msg_to_smc(
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_Voltage_Cntl_Enable);
smum_send_msg_to_smc(hwmgr,
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_PmStatusLogStart);
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_PmStatusLogSample);
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_API_GetSclkFrequency);
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_API_GetMclkFrequency);
PP_ASSERT_WITH_CODE(0 == smum_send_msg_to_smc(hwmgr,
PP_ASSERT_WITH_CODE(0 == smum_send_msg_to_smc(hwmgr,
PP_ASSERT_WITH_CODE(0 == smum_send_msg_to_smc(hwmgr,
PP_ASSERT_WITH_CODE(0 == smum_send_msg_to_smc(hwmgr,
return (smum_send_msg_to_smc(hwmgr, (PPSMC_Msg)PPSMC_HasDisplay) == 0) ? 0 : -EINVAL;
return (smum_send_msg_to_smc(hwmgr, msg) == 0) ? 0 : -1;
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_PCIeDPM_UnForceLevel);
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_API_GetSclkFrequency);
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_API_GetMclkFrequency);
return smum_send_msg_to_smc(hwmgr, PPSMC_MSG_ResetToDefaults);
return smum_send_msg_to_smc(hwmgr,
return smum_send_msg_to_smc(hwmgr, PPSMC_MSG_EnableULV);
result = smum_send_msg_to_smc(hwmgr,
result = smum_send_msg_to_smc(hwmgr,
smc_result = smum_send_msg_to_smc(hwmgr,
int smc_result = smum_send_msg_to_smc(hwmgr,
smc_result = smum_send_msg_to_smc(hwmgr,
smc_result = smum_send_msg_to_smc(hwmgr,
smc_result = smum_send_msg_to_smc(hwmgr,
smc_result = smum_send_msg_to_smc(hwmgr,
smc_result = smum_send_msg_to_smc(hwmgr,
result = smum_send_msg_to_smc(hwmgr, PPSMC_StartFanControl);
result = smum_send_msg_to_smc(hwmgr, PPSMC_StartFanControl);
return smum_send_msg_to_smc(hwmgr, PPSMC_StopFanControl);
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_Thermal_Cntl_Enable);
return smum_send_msg_to_smc(hwmgr, PPSMC_MSG_Thermal_Cntl_Disable);
return smum_send_msg_to_smc(hwmgr, PPSMC_MSG_UVDPowerOFF);
return smum_send_msg_to_smc(hwmgr,
return smum_send_msg_to_smc(hwmgr,
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetMaxSclkLevel);
result = smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetAverageGraphicsActivity);
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_ACPPowerOFF);
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_ACPPowerON);
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetMaxUvdLevel);
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetMaxEclkLevel);
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetMaxAclkLevel);
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_ACPPowerOFF);
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_InitializeAcg);
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_RunAcgBtc);
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_RunAcgInClosedLoop);
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_RunAcgInOpenLoop);
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_ReadSerialNumTop32);
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_ReadSerialNumBottom32);
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetCurrPkgPwr);
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetAverageGfxclkActualFrequency);
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetCurrentUclkIndex);
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetCurrentGfxclkIndex);
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetCurrentUclkIndex);
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetCurrentLinkIndex);
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetSmuVersion);
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetCurrentRpm);
PP_ASSERT_WITH_CODE(!smum_send_msg_to_smc(hwmgr,
ret = smum_send_msg_to_smc(hwmgr, PPSMC_MSG_AllowGfxOff);
ret = smum_send_msg_to_smc(hwmgr, PPSMC_MSG_DisallowGfxOff);
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_EnableAllSmuFeatures) == 0,
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_DisableAllSmuFeatures) == 0,
PP_ASSERT_WITH_CODE(!smum_send_msg_to_smc(hwmgr,
result = smum_send_msg_to_smc(hwmgr,
return smum_send_msg_to_smc(hwmgr, PPSMC_MSG_RunAfllBtc);
PP_ASSERT_WITH_CODE((ret = smum_send_msg_to_smc(hwmgr,
PP_ASSERT_WITH_CODE((ret = smum_send_msg_to_smc(hwmgr,
PP_ASSERT_WITH_CODE((ret = smum_send_msg_to_smc(hwmgr,
extern int smum_send_msg_to_smc(struct pp_hwmgr *hwmgr, uint16_t msg);
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_SCLKDPM_FreezeLevel);
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_SCLKDPM_UnfreezeLevel);
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_MCLKDPM_FreezeLevel);
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_MCLKDPM_UnfreezeLevel);
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_EnableAvfs);
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_SCLKDPM_FreezeLevel);
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_SCLKDPM_UnfreezeLevel);
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_MCLKDPM_FreezeLevel);
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_MCLKDPM_UnfreezeLevel);
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_EnableAvfs);
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_ApplyAvfsCksOffVoltage);
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_SCLKDPM_FreezeLevel);
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_SCLKDPM_UnfreezeLevel);
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_MCLKDPM_FreezeLevel);
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_MCLKDPM_UnfreezeLevel);
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetSmuVersion);
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_SCLKDPM_FreezeLevel);
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_SCLKDPM_UnfreezeLevel);
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_MCLKDPM_FreezeLevel);
smum_send_msg_to_smc(hwmgr, PPSMC_MSG_MCLKDPM_UnfreezeLevel);
!smum_send_msg_to_smc(hwmgr, PPSMC_MSG_UseNewGPIOScheme))
ret = smum_send_msg_to_smc(hwmgr, PPSMC_MSG_EnableAvfs);
ret = smum_send_msg_to_smc(hwmgr, PPSMC_MSG_ApplyAvfsCksOffVoltage);