Lines Matching refs:smc_result
2535 PPSMC_Result smc_result; in si_enable_power_containment() local
2541 smc_result = amdgpu_si_send_msg_to_smc(adev, PPSMC_TDPClampingActive); in si_enable_power_containment()
2542 if (smc_result != PPSMC_Result_OK) { in si_enable_power_containment()
2550 smc_result = amdgpu_si_send_msg_to_smc(adev, PPSMC_TDPClampingInactive); in si_enable_power_containment()
2551 if (smc_result != PPSMC_Result_OK) in si_enable_power_containment()
2900 PPSMC_Result smc_result; in si_enable_smc_cac() local
2907 smc_result = amdgpu_si_send_msg_to_smc(adev, PPSMC_CACLongTermAvgEnable); in si_enable_smc_cac()
2908 if (smc_result != PPSMC_Result_OK) in si_enable_smc_cac()
2912 smc_result = amdgpu_si_send_msg_to_smc(adev, PPSMC_MSG_EnableCac); in si_enable_smc_cac()
2913 if (smc_result != PPSMC_Result_OK) { in si_enable_smc_cac()
2921 smc_result = amdgpu_si_send_msg_to_smc(adev, PPSMC_MSG_EnableDTE); in si_enable_smc_cac()
2922 if (smc_result != PPSMC_Result_OK) in si_enable_smc_cac()
2928 smc_result = amdgpu_si_send_msg_to_smc(adev, PPSMC_MSG_DisableDTE); in si_enable_smc_cac()
2930 smc_result = amdgpu_si_send_msg_to_smc(adev, PPSMC_MSG_DisableCac); in si_enable_smc_cac()
2935 smc_result = amdgpu_si_send_msg_to_smc(adev, PPSMC_CACLongTermAvgDisable); in si_enable_smc_cac()