/linux/drivers/gpu/drm/radeon/ |
A D | ci_dpm.c | 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() 1509 if (smc_result != PPSMC_Result_OK) in ci_start_dpm() 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() [all …]
|
A D | ci_smc.c | 173 return PPSMC_Result_OK; 182 return PPSMC_Result_OK;
|
A D | si_smc.c | 199 return PPSMC_Result_OK; in si_wait_for_smc_inactive() 208 return PPSMC_Result_OK; in si_wait_for_smc_inactive()
|
A D | si_dpm.c | 2429 if (smc_result != PPSMC_Result_OK) { in si_enable_power_containment() 2438 if (smc_result != PPSMC_Result_OK) in si_enable_power_containment() 2792 if (smc_result != PPSMC_Result_OK) in si_enable_smc_cac() 2797 if (smc_result != PPSMC_Result_OK) { in si_enable_smc_cac() 2806 if (smc_result != PPSMC_Result_OK) in si_enable_smc_cac() 3340 if (ret == PPSMC_Result_OK) 5799 PPSMC_Result_OK) ? 5803 PPSMC_Result_OK) ? 0 : -EINVAL; 5950 if (result != PPSMC_Result_OK) { in si_thermal_enable_alert() 6093 if (ret == PPSMC_Result_OK) { in si_fan_ctrl_start_smc_fan_control() [all …]
|
A D | rv770_dpm.c | 196 if (result != PPSMC_Result_OK) in rv770_stop_dpm() 1403 if (rv770_send_msg_to_smc(rdev, PPSMC_MSG_Halt) != PPSMC_Result_OK) in rv770_halt_smc() 1406 if (rv770_wait_for_smc_inactive(rdev) != PPSMC_Result_OK) in rv770_halt_smc() 1414 if (rv770_send_msg_to_smc(rdev, PPSMC_MSG_Resume) != PPSMC_Result_OK) in rv770_resume_smc() 1421 if (rv770_send_msg_to_smc(rdev, PPSMC_MSG_SwitchToSwState) != PPSMC_Result_OK) in rv770_set_sw_state() 1428 if (rv770_send_msg_to_smc(rdev, PPSMC_MSG_SwitchToInitialState) != PPSMC_Result_OK) in rv770_set_boot_state() 1484 if (rv770_send_msg_to_smc(rdev, PPSMC_MSG_ZeroLevelsDisabled) != PPSMC_Result_OK) in rv770_dpm_force_performance_level() 1488 if (rv770_send_msg_to_smc(rdev, PPSMC_MSG_NoForcedLevel) != PPSMC_Result_OK) in rv770_dpm_force_performance_level() 1492 if (rv770_send_msg_to_smc(rdev, PPSMC_MSG_NoForcedLevel) != PPSMC_Result_OK) in rv770_dpm_force_performance_level() 1497 if (rv770_send_msg_to_smc(rdev, msg) != PPSMC_Result_OK) in rv770_dpm_force_performance_level() [all …]
|
A D | ni_dpm.c | 1029 return (rv770_send_msg_to_smc(rdev, PPSMC_MSG_RunningOnAC) == PPSMC_Result_OK) ? 1045 if (rv770_send_msg_to_smc(rdev, PPSMC_MSG_NoForcedLevel) != PPSMC_Result_OK) in ni_restrict_performance_levels_before_switch() 1059 if (ni_send_msg_to_smc_with_parameter(rdev, PPSMC_MSG_SetForcedLevels, 1) != PPSMC_Result_OK) in ni_dpm_force_performance_level() 1062 if (ni_send_msg_to_smc_with_parameter(rdev, PPSMC_MSG_SetForcedLevels, 0) != PPSMC_Result_OK) in ni_dpm_force_performance_level() 1068 if (ni_send_msg_to_smc_with_parameter(rdev, PPSMC_MSG_SetForcedLevels, 0) != PPSMC_Result_OK) in ni_dpm_force_performance_level() 2606 if (smc_result != PPSMC_Result_OK) { in ni_enable_power_containment() 2615 if (smc_result != PPSMC_Result_OK) in ni_enable_power_containment() 3393 if (PPSMC_Result_OK != smc_result) in ni_enable_smc_cac() 3398 if (PPSMC_Result_OK != smc_result) in ni_enable_smc_cac() 3401 ni_pi->cac_enabled = (PPSMC_Result_OK == smc_result) ? true : false; in ni_enable_smc_cac() [all …]
|
A D | ppsmc.h | 67 #define PPSMC_Result_OK ((uint8_t)0x01) macro
|
A D | rv770_smc.c | 453 PPSMC_Result result = PPSMC_Result_OK; in rv770_wait_for_smc_inactive()
|
/linux/drivers/gpu/drm/amd/pm/powerplay/ |
A D | si_smc.c | 191 return PPSMC_Result_OK; in amdgpu_si_wait_for_smc_inactive() 200 return PPSMC_Result_OK; in amdgpu_si_wait_for_smc_inactive()
|
A D | si_dpm.c | 2527 if (smc_result != PPSMC_Result_OK) { in si_enable_power_containment() 2536 if (smc_result != PPSMC_Result_OK) in si_enable_power_containment() 2893 if (smc_result != PPSMC_Result_OK) in si_enable_smc_cac() 2898 if (smc_result != PPSMC_Result_OK) { in si_enable_smc_cac() 2907 if (smc_result != PPSMC_Result_OK) in si_enable_smc_cac() 3798 if (ret == PPSMC_Result_OK) 6250 PPSMC_Result_OK) ? 6254 PPSMC_Result_OK) ? 0 : -EINVAL; 6385 if (result != PPSMC_Result_OK) { in si_thermal_enable_alert() 6519 if (ret == PPSMC_Result_OK) { in si_fan_ctrl_start_smc_fan_control() [all …]
|
A D | ppsmc.h | 67 #define PPSMC_Result_OK ((uint8_t)0x01) macro
|
/linux/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
A D | vega20_smumgr.c | 117 if (ret != PPSMC_Result_OK) in vega20_send_msg_to_smc() 120 return (ret == PPSMC_Result_OK) ? 0 : -EIO; in vega20_send_msg_to_smc() 145 if (ret != PPSMC_Result_OK) in vega20_send_msg_to_smc_with_parameter() 148 return (ret == PPSMC_Result_OK) ? 0 : -EIO; in vega20_send_msg_to_smc_with_parameter()
|
/linux/drivers/gpu/drm/amd/pm/inc/ |
A D | smu_v11_8_ppsmc.h | 28 #define PPSMC_Result_OK 0x1 macro
|
A D | smu_v13_0_1_ppsmc.h | 35 #define PPSMC_Result_OK 0x1 ///< Message Response OK macro
|
A D | rv_ppsmc.h | 29 #define PPSMC_Result_OK 0x1 macro
|
A D | smu_v12_0_ppsmc.h | 28 #define PPSMC_Result_OK 0x1 macro
|
A D | arcturus_ppsmc.h | 30 #define PPSMC_Result_OK 0x1 macro
|
A D | smu_v11_0_7_ppsmc.h | 30 #define PPSMC_Result_OK 0x1 macro
|
A D | smu_v11_0_ppsmc.h | 28 #define PPSMC_Result_OK 0x1 macro
|
A D | smu_v11_5_ppsmc.h | 28 #define PPSMC_Result_OK 0x1 macro
|
A D | aldebaran_ppsmc.h | 30 #define PPSMC_Result_OK 0x1 macro
|
A D | vega12_ppsmc.h | 32 #define PPSMC_Result_OK 0x1 macro
|
A D | vega20_ppsmc.h | 30 #define PPSMC_Result_OK 0x1 macro
|
A D | vega10_ppsmc.h | 32 #define PPSMC_Result_OK 0x1 macro
|
A D | cz_ppsmc.h | 49 #define PPSMC_Result_OK ((uint16_t)0x01) macro
|