Lines Matching refs:smc_result
2540 PPSMC_Result smc_result; in si_enable_power_containment() local
2546 smc_result = amdgpu_si_send_msg_to_smc(adev, PPSMC_TDPClampingActive); in si_enable_power_containment()
2547 if (smc_result != PPSMC_Result_OK) { in si_enable_power_containment()
2555 smc_result = amdgpu_si_send_msg_to_smc(adev, PPSMC_TDPClampingInactive); in si_enable_power_containment()
2556 if (smc_result != PPSMC_Result_OK) in si_enable_power_containment()
2905 PPSMC_Result smc_result; in si_enable_smc_cac() local
2912 smc_result = amdgpu_si_send_msg_to_smc(adev, PPSMC_CACLongTermAvgEnable); in si_enable_smc_cac()
2913 if (smc_result != PPSMC_Result_OK) in si_enable_smc_cac()
2917 smc_result = amdgpu_si_send_msg_to_smc(adev, PPSMC_MSG_EnableCac); in si_enable_smc_cac()
2918 if (smc_result != PPSMC_Result_OK) { in si_enable_smc_cac()
2926 smc_result = amdgpu_si_send_msg_to_smc(adev, PPSMC_MSG_EnableDTE); in si_enable_smc_cac()
2927 if (smc_result != PPSMC_Result_OK) in si_enable_smc_cac()
2933 smc_result = amdgpu_si_send_msg_to_smc(adev, PPSMC_MSG_DisableDTE); in si_enable_smc_cac()
2935 smc_result = amdgpu_si_send_msg_to_smc(adev, PPSMC_MSG_DisableCac); in si_enable_smc_cac()
2940 smc_result = amdgpu_si_send_msg_to_smc(adev, PPSMC_CACLongTermAvgDisable); in si_enable_smc_cac()