Lines Matching refs:PPSMC_Result_OK
627 if (smc_result != PPSMC_Result_OK) in ci_enable_power_containment()
635 if (smc_result != PPSMC_Result_OK) in ci_enable_power_containment()
643 if (smc_result != PPSMC_Result_OK) { in ci_enable_power_containment()
683 if (smc_result != PPSMC_Result_OK) { in ci_enable_smc_cac()
702 PPSMC_Result smc_result = PPSMC_Result_OK; in ci_enable_thermal_based_sclk_dpm()
711 if (smc_result == PPSMC_Result_OK) in ci_enable_thermal_based_sclk_dpm()
892 if (result != PPSMC_Result_OK) { in ci_thermal_enable_alert()
901 if (result != PPSMC_Result_OK) { in ci_thermal_enable_alert()
1018 if (ret != PPSMC_Result_OK) in ci_fan_ctrl_start_smc_fan_control()
1023 if (ret != PPSMC_Result_OK) in ci_fan_ctrl_start_smc_fan_control()
1029 if (ret != PPSMC_Result_OK) in ci_fan_ctrl_start_smc_fan_control()
1043 if (ret == PPSMC_Result_OK) { in ci_fan_ctrl_stop_smc_fan_control()
1428 if (smc_result != PPSMC_Result_OK) in ci_unfreeze_sclk_mclk_dpm()
1435 if (smc_result != PPSMC_Result_OK) in ci_unfreeze_sclk_mclk_dpm()
1451 if (smc_result != PPSMC_Result_OK) in ci_enable_sclk_mclk_dpm()
1457 if (smc_result != PPSMC_Result_OK) in ci_enable_sclk_mclk_dpm()
1475 if (smc_result != PPSMC_Result_OK) in ci_enable_sclk_mclk_dpm()
1481 if (smc_result != PPSMC_Result_OK) in ci_enable_sclk_mclk_dpm()
1509 if (smc_result != PPSMC_Result_OK) in ci_start_dpm()
1518 if (smc_result != PPSMC_Result_OK) in ci_start_dpm()
1536 if (smc_result != PPSMC_Result_OK) in ci_freeze_sclk_mclk_dpm()
1543 if (smc_result != PPSMC_Result_OK) in ci_freeze_sclk_mclk_dpm()
1567 if (smc_result != PPSMC_Result_OK) in ci_stop_dpm()
1576 if (smc_result != PPSMC_Result_OK) in ci_stop_dpm()
1655 if ((smc_result == PPSMC_Result_OK) && parameter) in ci_send_msg_to_smc_return_parameter()
1668 if (smc_result != PPSMC_Result_OK) in ci_dpm_force_state_sclk()
1682 if (smc_result != PPSMC_Result_OK) in ci_dpm_force_state_mclk()
1696 if (smc_result != PPSMC_Result_OK) in ci_dpm_force_state_pcie()
1710 if (smc_result != PPSMC_Result_OK) in ci_set_power_limit()
1722 if (smc_result != PPSMC_Result_OK) in ci_set_overdrive_target_tdp()
1741 if (smc_result != PPSMC_Result_OK) in ci_get_average_sclk_freq()
1754 if (smc_result != PPSMC_Result_OK) in ci_get_average_mclk_freq()
1922 return (ci_send_msg_to_smc(rdev, msg) == PPSMC_Result_OK) ? 0 : -EINVAL; in ci_notify_smc_display_change()
1932 if (ci_send_msg_to_smc(rdev, PPSMC_MSG_MASTER_DeepSleep_ON) != PPSMC_Result_OK) in ci_enable_ds_master_switch()
1935 if (ci_send_msg_to_smc(rdev, PPSMC_MSG_MASTER_DeepSleep_OFF) != PPSMC_Result_OK) in ci_enable_ds_master_switch()
1940 if (ci_send_msg_to_smc(rdev, PPSMC_MSG_MASTER_DeepSleep_OFF) != PPSMC_Result_OK) in ci_enable_ds_master_switch()
2442 return (ci_send_msg_to_smc(rdev, PPSMC_MSG_ResetToDefaults) == PPSMC_Result_OK) ? in ci_reset_to_default()
3075 return (ci_send_msg_to_smc(rdev, PPSMC_MSG_EnableULV) == PPSMC_Result_OK) ? in ci_enable_ulv()
3078 return (ci_send_msg_to_smc(rdev, PPSMC_MSG_DisableULV) == PPSMC_Result_OK) ? in ci_enable_ulv()
3770 requested_voltage * VOLTAGE_SCALE) == PPSMC_Result_OK) ? in ci_apply_disp_minimum_voltage_request()
3790 if (result != PPSMC_Result_OK) in ci_upload_dpm_level_enable_mask()
3800 if (result != PPSMC_Result_OK) in ci_upload_dpm_level_enable_mask()
3810 if (result != PPSMC_Result_OK) in ci_upload_dpm_level_enable_mask()
3939 PPSMC_MSG_UVDDPM_Enable : PPSMC_MSG_UVDDPM_Disable) == PPSMC_Result_OK) ? in ci_enable_uvd_dpm()
3971 PPSMC_MSG_VCEDPM_Enable : PPSMC_MSG_VCEDPM_Disable) == PPSMC_Result_OK) ? in ci_enable_vce_dpm()
4003 PPSMC_MSG_SAMUDPM_Enable : PPSMC_MSG_SAMUDPM_Disable) == PPSMC_Result_OK) ?
4035 PPSMC_MSG_ACPDPM_Enable : PPSMC_MSG_ACPDPM_Disable) == PPSMC_Result_OK) ?
4286 if (smc_result != PPSMC_Result_OK) in ci_dpm_force_performance_level()