Lines Matching refs:smc_result

644 	PPSMC_Result smc_result;  in ci_enable_power_containment()  local
651 smc_result = ci_send_msg_to_smc(rdev, PPSMC_MSG_EnableDTE); in ci_enable_power_containment()
652 if (smc_result != PPSMC_Result_OK) in ci_enable_power_containment()
659 smc_result = ci_send_msg_to_smc(rdev, PPSMC_MSG_TDCLimitEnable); in ci_enable_power_containment()
660 if (smc_result != PPSMC_Result_OK) in ci_enable_power_containment()
667 smc_result = ci_send_msg_to_smc(rdev, PPSMC_MSG_PkgPwrLimitEnable); in ci_enable_power_containment()
668 if (smc_result != PPSMC_Result_OK) { in ci_enable_power_containment()
702 PPSMC_Result smc_result; in ci_enable_smc_cac() local
707 smc_result = ci_send_msg_to_smc(rdev, PPSMC_MSG_EnableCac); in ci_enable_smc_cac()
708 if (smc_result != PPSMC_Result_OK) { in ci_enable_smc_cac()
727 PPSMC_Result smc_result = PPSMC_Result_OK; in ci_enable_thermal_based_sclk_dpm() local
731 smc_result = ci_send_msg_to_smc(rdev, PPSMC_MSG_ENABLE_THERMAL_DPM); in ci_enable_thermal_based_sclk_dpm()
733 smc_result = ci_send_msg_to_smc(rdev, PPSMC_MSG_DISABLE_THERMAL_DPM); in ci_enable_thermal_based_sclk_dpm()
736 if (smc_result == PPSMC_Result_OK) in ci_enable_thermal_based_sclk_dpm()
1457 PPSMC_Result smc_result; in ci_unfreeze_sclk_mclk_dpm() local
1464 smc_result = ci_send_msg_to_smc(rdev, PPSMC_MSG_SCLKDPM_UnfreezeLevel); in ci_unfreeze_sclk_mclk_dpm()
1465 if (smc_result != PPSMC_Result_OK) in ci_unfreeze_sclk_mclk_dpm()
1471 smc_result = ci_send_msg_to_smc(rdev, PPSMC_MSG_MCLKDPM_UnfreezeLevel); in ci_unfreeze_sclk_mclk_dpm()
1472 if (smc_result != PPSMC_Result_OK) in ci_unfreeze_sclk_mclk_dpm()
1483 PPSMC_Result smc_result; in ci_enable_sclk_mclk_dpm() local
1487 smc_result = ci_send_msg_to_smc(rdev, PPSMC_MSG_DPM_Enable); in ci_enable_sclk_mclk_dpm()
1488 if (smc_result != PPSMC_Result_OK) in ci_enable_sclk_mclk_dpm()
1493 smc_result = ci_send_msg_to_smc(rdev, PPSMC_MSG_MCLKDPM_Enable); in ci_enable_sclk_mclk_dpm()
1494 if (smc_result != PPSMC_Result_OK) in ci_enable_sclk_mclk_dpm()
1511 smc_result = ci_send_msg_to_smc(rdev, PPSMC_MSG_DPM_Disable); in ci_enable_sclk_mclk_dpm()
1512 if (smc_result != PPSMC_Result_OK) in ci_enable_sclk_mclk_dpm()
1517 smc_result = ci_send_msg_to_smc(rdev, PPSMC_MSG_MCLKDPM_Disable); in ci_enable_sclk_mclk_dpm()
1518 if (smc_result != PPSMC_Result_OK) in ci_enable_sclk_mclk_dpm()
1529 PPSMC_Result smc_result; in ci_start_dpm() local
1545 smc_result = ci_send_msg_to_smc(rdev, PPSMC_MSG_Voltage_Cntl_Enable); in ci_start_dpm()
1546 if (smc_result != PPSMC_Result_OK) in ci_start_dpm()
1554 smc_result = ci_send_msg_to_smc(rdev, PPSMC_MSG_PCIeDPM_Enable); in ci_start_dpm()
1555 if (smc_result != PPSMC_Result_OK) in ci_start_dpm()
1565 PPSMC_Result smc_result; in ci_freeze_sclk_mclk_dpm() local
1572 smc_result = ci_send_msg_to_smc(rdev, PPSMC_MSG_SCLKDPM_FreezeLevel); in ci_freeze_sclk_mclk_dpm()
1573 if (smc_result != PPSMC_Result_OK) in ci_freeze_sclk_mclk_dpm()
1579 smc_result = ci_send_msg_to_smc(rdev, PPSMC_MSG_MCLKDPM_FreezeLevel); in ci_freeze_sclk_mclk_dpm()
1580 if (smc_result != PPSMC_Result_OK) in ci_freeze_sclk_mclk_dpm()
1590 PPSMC_Result smc_result; in ci_stop_dpm() local
1603 smc_result = ci_send_msg_to_smc(rdev, PPSMC_MSG_PCIeDPM_Disable); in ci_stop_dpm()
1604 if (smc_result != PPSMC_Result_OK) in ci_stop_dpm()
1612 smc_result = ci_send_msg_to_smc(rdev, PPSMC_MSG_Voltage_Cntl_Disable); in ci_stop_dpm()
1613 if (smc_result != PPSMC_Result_OK) in ci_stop_dpm()
1688 PPSMC_Result smc_result; in ci_send_msg_to_smc_return_parameter() local
1690 smc_result = ci_send_msg_to_smc(rdev, msg); in ci_send_msg_to_smc_return_parameter()
1692 if ((smc_result == PPSMC_Result_OK) && parameter) in ci_send_msg_to_smc_return_parameter()
1695 return smc_result; in ci_send_msg_to_smc_return_parameter()
1703 PPSMC_Result smc_result = in ci_dpm_force_state_sclk() local
1705 if (smc_result != PPSMC_Result_OK) in ci_dpm_force_state_sclk()
1717 PPSMC_Result smc_result = in ci_dpm_force_state_mclk() local
1719 if (smc_result != PPSMC_Result_OK) in ci_dpm_force_state_mclk()
1731 PPSMC_Result smc_result = in ci_dpm_force_state_pcie() local
1733 if (smc_result != PPSMC_Result_OK) in ci_dpm_force_state_pcie()
1745 PPSMC_Result smc_result = in ci_set_power_limit() local
1747 if (smc_result != PPSMC_Result_OK) in ci_set_power_limit()
1757 PPSMC_Result smc_result = in ci_set_overdrive_target_tdp() local
1759 if (smc_result != PPSMC_Result_OK) in ci_set_overdrive_target_tdp()
1774 PPSMC_Result smc_result = in ci_get_average_sclk_freq() local
1778 if (smc_result != PPSMC_Result_OK) in ci_get_average_sclk_freq()
1787 PPSMC_Result smc_result = in ci_get_average_mclk_freq() local
1791 if (smc_result != PPSMC_Result_OK) in ci_get_average_mclk_freq()
4319 PPSMC_Result smc_result; in ci_dpm_force_performance_level() local
4321 smc_result = ci_send_msg_to_smc(rdev, in ci_dpm_force_performance_level()
4323 if (smc_result != PPSMC_Result_OK) in ci_dpm_force_performance_level()