Lines Matching refs:smc_result
614 PPSMC_Result smc_result; in ci_enable_power_containment() local
621 smc_result = ci_send_msg_to_smc(rdev, PPSMC_MSG_EnableDTE); in ci_enable_power_containment()
622 if (smc_result != PPSMC_Result_OK) in ci_enable_power_containment()
629 smc_result = ci_send_msg_to_smc(rdev, PPSMC_MSG_TDCLimitEnable); in ci_enable_power_containment()
630 if (smc_result != PPSMC_Result_OK) in ci_enable_power_containment()
637 smc_result = ci_send_msg_to_smc(rdev, PPSMC_MSG_PkgPwrLimitEnable); in ci_enable_power_containment()
638 if (smc_result != PPSMC_Result_OK) { in ci_enable_power_containment()
672 PPSMC_Result smc_result; in ci_enable_smc_cac() local
677 smc_result = ci_send_msg_to_smc(rdev, PPSMC_MSG_EnableCac); in ci_enable_smc_cac()
678 if (smc_result != PPSMC_Result_OK) { in ci_enable_smc_cac()
697 PPSMC_Result smc_result = PPSMC_Result_OK; in ci_enable_thermal_based_sclk_dpm() local
701 smc_result = ci_send_msg_to_smc(rdev, PPSMC_MSG_ENABLE_THERMAL_DPM); in ci_enable_thermal_based_sclk_dpm()
703 smc_result = ci_send_msg_to_smc(rdev, PPSMC_MSG_DISABLE_THERMAL_DPM); in ci_enable_thermal_based_sclk_dpm()
706 if (smc_result == PPSMC_Result_OK) in ci_enable_thermal_based_sclk_dpm()
1415 PPSMC_Result smc_result; in ci_unfreeze_sclk_mclk_dpm() local
1422 smc_result = ci_send_msg_to_smc(rdev, PPSMC_MSG_SCLKDPM_UnfreezeLevel); in ci_unfreeze_sclk_mclk_dpm()
1423 if (smc_result != PPSMC_Result_OK) in ci_unfreeze_sclk_mclk_dpm()
1429 smc_result = ci_send_msg_to_smc(rdev, PPSMC_MSG_MCLKDPM_UnfreezeLevel); in ci_unfreeze_sclk_mclk_dpm()
1430 if (smc_result != PPSMC_Result_OK) in ci_unfreeze_sclk_mclk_dpm()
1441 PPSMC_Result smc_result; in ci_enable_sclk_mclk_dpm() local
1445 smc_result = ci_send_msg_to_smc(rdev, PPSMC_MSG_DPM_Enable); in ci_enable_sclk_mclk_dpm()
1446 if (smc_result != PPSMC_Result_OK) in ci_enable_sclk_mclk_dpm()
1451 smc_result = ci_send_msg_to_smc(rdev, PPSMC_MSG_MCLKDPM_Enable); in ci_enable_sclk_mclk_dpm()
1452 if (smc_result != PPSMC_Result_OK) in ci_enable_sclk_mclk_dpm()
1469 smc_result = ci_send_msg_to_smc(rdev, PPSMC_MSG_DPM_Disable); in ci_enable_sclk_mclk_dpm()
1470 if (smc_result != PPSMC_Result_OK) in ci_enable_sclk_mclk_dpm()
1475 smc_result = ci_send_msg_to_smc(rdev, PPSMC_MSG_MCLKDPM_Disable); in ci_enable_sclk_mclk_dpm()
1476 if (smc_result != PPSMC_Result_OK) in ci_enable_sclk_mclk_dpm()
1487 PPSMC_Result smc_result; in ci_start_dpm() local
1503 smc_result = ci_send_msg_to_smc(rdev, PPSMC_MSG_Voltage_Cntl_Enable); in ci_start_dpm()
1504 if (smc_result != PPSMC_Result_OK) in ci_start_dpm()
1512 smc_result = ci_send_msg_to_smc(rdev, PPSMC_MSG_PCIeDPM_Enable); in ci_start_dpm()
1513 if (smc_result != PPSMC_Result_OK) in ci_start_dpm()
1523 PPSMC_Result smc_result; in ci_freeze_sclk_mclk_dpm() local
1530 smc_result = ci_send_msg_to_smc(rdev, PPSMC_MSG_SCLKDPM_FreezeLevel); in ci_freeze_sclk_mclk_dpm()
1531 if (smc_result != PPSMC_Result_OK) in ci_freeze_sclk_mclk_dpm()
1537 smc_result = ci_send_msg_to_smc(rdev, PPSMC_MSG_MCLKDPM_FreezeLevel); in ci_freeze_sclk_mclk_dpm()
1538 if (smc_result != PPSMC_Result_OK) in ci_freeze_sclk_mclk_dpm()
1548 PPSMC_Result smc_result; in ci_stop_dpm() local
1561 smc_result = ci_send_msg_to_smc(rdev, PPSMC_MSG_PCIeDPM_Disable); in ci_stop_dpm()
1562 if (smc_result != PPSMC_Result_OK) in ci_stop_dpm()
1570 smc_result = ci_send_msg_to_smc(rdev, PPSMC_MSG_Voltage_Cntl_Disable); in ci_stop_dpm()
1571 if (smc_result != PPSMC_Result_OK) in ci_stop_dpm()
1646 PPSMC_Result smc_result; in ci_send_msg_to_smc_return_parameter() local
1648 smc_result = ci_send_msg_to_smc(rdev, msg); in ci_send_msg_to_smc_return_parameter()
1650 if ((smc_result == PPSMC_Result_OK) && parameter) in ci_send_msg_to_smc_return_parameter()
1653 return smc_result; in ci_send_msg_to_smc_return_parameter()
1661 PPSMC_Result smc_result = in ci_dpm_force_state_sclk() local
1663 if (smc_result != PPSMC_Result_OK) in ci_dpm_force_state_sclk()
1675 PPSMC_Result smc_result = in ci_dpm_force_state_mclk() local
1677 if (smc_result != PPSMC_Result_OK) in ci_dpm_force_state_mclk()
1689 PPSMC_Result smc_result = in ci_dpm_force_state_pcie() local
1691 if (smc_result != PPSMC_Result_OK) in ci_dpm_force_state_pcie()
1703 PPSMC_Result smc_result = in ci_set_power_limit() local
1705 if (smc_result != PPSMC_Result_OK) in ci_set_power_limit()
1715 PPSMC_Result smc_result = in ci_set_overdrive_target_tdp() local
1717 if (smc_result != PPSMC_Result_OK) in ci_set_overdrive_target_tdp()
1732 PPSMC_Result smc_result = in ci_get_average_sclk_freq() local
1736 if (smc_result != PPSMC_Result_OK) in ci_get_average_sclk_freq()
1745 PPSMC_Result smc_result = in ci_get_average_mclk_freq() local
1749 if (smc_result != PPSMC_Result_OK) in ci_get_average_mclk_freq()
4275 PPSMC_Result smc_result; in ci_dpm_force_performance_level() local
4277 smc_result = ci_send_msg_to_smc(rdev, in ci_dpm_force_performance_level()
4279 if (smc_result != PPSMC_Result_OK) in ci_dpm_force_performance_level()