Lines Matching refs:smc_result
2599 PPSMC_Result smc_result; in ni_enable_power_containment() local
2605 smc_result = rv770_send_msg_to_smc(rdev, PPSMC_TDPClampingActive); in ni_enable_power_containment()
2606 if (smc_result != PPSMC_Result_OK) { in ni_enable_power_containment()
2614 smc_result = rv770_send_msg_to_smc(rdev, PPSMC_TDPClampingInactive); in ni_enable_power_containment()
2615 if (smc_result != PPSMC_Result_OK) in ni_enable_power_containment()
3383 PPSMC_Result smc_result; in ni_enable_smc_cac() local
3388 smc_result = rv770_send_msg_to_smc(rdev, PPSMC_MSG_CollectCAC_PowerCorreln); in ni_enable_smc_cac()
3391 smc_result = rv770_send_msg_to_smc(rdev, PPSMC_CACLongTermAvgEnable); in ni_enable_smc_cac()
3392 if (PPSMC_Result_OK != smc_result) in ni_enable_smc_cac()
3396 smc_result = rv770_send_msg_to_smc(rdev, PPSMC_MSG_EnableCac); in ni_enable_smc_cac()
3397 if (PPSMC_Result_OK != smc_result) in ni_enable_smc_cac()
3400 ni_pi->cac_enabled = (PPSMC_Result_OK == smc_result) ? true : false; in ni_enable_smc_cac()
3403 smc_result = rv770_send_msg_to_smc(rdev, PPSMC_MSG_DisableCac); in ni_enable_smc_cac()
3408 smc_result = rv770_send_msg_to_smc(rdev, PPSMC_CACLongTermAvgDisable); in ni_enable_smc_cac()
3409 if (PPSMC_Result_OK != smc_result) in ni_enable_smc_cac()