| /Linux-v5.4/drivers/gpu/drm/radeon/ |
| D | ci_dpm.c | 652 if (smc_result != PPSMC_Result_OK) in ci_enable_power_containment() 660 if (smc_result != PPSMC_Result_OK) in ci_enable_power_containment() 668 if (smc_result != PPSMC_Result_OK) { in ci_enable_power_containment() 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() 736 if (smc_result == PPSMC_Result_OK) in ci_enable_thermal_based_sclk_dpm() 917 if (result != PPSMC_Result_OK) { in ci_thermal_enable_alert() 926 if (result != PPSMC_Result_OK) { in ci_thermal_enable_alert() 1043 if (ret != PPSMC_Result_OK) in ci_fan_ctrl_start_smc_fan_control() 1048 if (ret != PPSMC_Result_OK) in ci_fan_ctrl_start_smc_fan_control() [all …]
|
| D | ci_smc.c | 173 return PPSMC_Result_OK; 182 return PPSMC_Result_OK;
|
| 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()
|
| D | si_dpm.c | 2451 if (smc_result != PPSMC_Result_OK) { in si_enable_power_containment() 2460 if (smc_result != PPSMC_Result_OK) in si_enable_power_containment() 2814 if (smc_result != PPSMC_Result_OK) in si_enable_smc_cac() 2819 if (smc_result != PPSMC_Result_OK) { in si_enable_smc_cac() 2828 if (smc_result != PPSMC_Result_OK) in si_enable_smc_cac() 3360 if (ret == PPSMC_Result_OK) 3378 return (si_send_msg_to_smc(rdev, PPSMC_MSG_RunningOnAC) == PPSMC_Result_OK) ? 3394 if (si_send_msg_to_smc(rdev, PPSMC_MSG_NoForcedLevel) != PPSMC_Result_OK) in si_restrict_performance_levels_before_switch() 3397 …return (si_send_msg_to_smc_with_parameter(rdev, PPSMC_MSG_SetEnabledLevels, 1) == PPSMC_Result_OK)… in si_restrict_performance_levels_before_switch() 3409 …if (si_send_msg_to_smc_with_parameter(rdev, PPSMC_MSG_SetEnabledLevels, levels) != PPSMC_Result_OK) in si_dpm_force_performance_level() [all …]
|
| D | rv770_dpm.c | 194 if (result != PPSMC_Result_OK) in rv770_stop_dpm() 1401 if (rv770_send_msg_to_smc(rdev, PPSMC_MSG_Halt) != PPSMC_Result_OK) in rv770_halt_smc() 1404 if (rv770_wait_for_smc_inactive(rdev) != PPSMC_Result_OK) in rv770_halt_smc() 1412 if (rv770_send_msg_to_smc(rdev, PPSMC_MSG_Resume) != PPSMC_Result_OK) in rv770_resume_smc() 1419 if (rv770_send_msg_to_smc(rdev, PPSMC_MSG_SwitchToSwState) != PPSMC_Result_OK) in rv770_set_sw_state() 1426 if (rv770_send_msg_to_smc(rdev, PPSMC_MSG_SwitchToInitialState) != PPSMC_Result_OK) in rv770_set_boot_state() 1467 if (rv770_send_msg_to_smc(rdev, (PPSMC_Msg)(PPSMC_MSG_NoForcedLevel)) != PPSMC_Result_OK) in rv770_restrict_performance_levels_before_switch() 1470 if (rv770_send_msg_to_smc(rdev, (PPSMC_Msg)(PPSMC_MSG_TwoLevelsDisabled)) != PPSMC_Result_OK) in rv770_restrict_performance_levels_before_switch() 1482 if (rv770_send_msg_to_smc(rdev, PPSMC_MSG_ZeroLevelsDisabled) != PPSMC_Result_OK) in rv770_dpm_force_performance_level() 1486 if (rv770_send_msg_to_smc(rdev, PPSMC_MSG_NoForcedLevel) != PPSMC_Result_OK) in rv770_dpm_force_performance_level() [all …]
|
| D | ppsmc.h | 67 #define PPSMC_Result_OK ((uint8_t)0x01) macro
|
| D | ni_dpm.c | 1031 return (rv770_send_msg_to_smc(rdev, PPSMC_MSG_RunningOnAC) == PPSMC_Result_OK) ? 1047 if (rv770_send_msg_to_smc(rdev, PPSMC_MSG_NoForcedLevel) != PPSMC_Result_OK) in ni_restrict_performance_levels_before_switch() 1050 …return (ni_send_msg_to_smc_with_parameter(rdev, PPSMC_MSG_SetEnabledLevels, 1) == PPSMC_Result_OK)… in ni_restrict_performance_levels_before_switch() 1058 if (ni_send_msg_to_smc_with_parameter(rdev, PPSMC_MSG_SetEnabledLevels, 0) != PPSMC_Result_OK) in ni_dpm_force_performance_level() 1061 if (ni_send_msg_to_smc_with_parameter(rdev, PPSMC_MSG_SetForcedLevels, 1) != PPSMC_Result_OK) in ni_dpm_force_performance_level() 1064 if (ni_send_msg_to_smc_with_parameter(rdev, PPSMC_MSG_SetForcedLevels, 0) != PPSMC_Result_OK) in ni_dpm_force_performance_level() 1067 if (ni_send_msg_to_smc_with_parameter(rdev, PPSMC_MSG_SetEnabledLevels, 1) != PPSMC_Result_OK) in ni_dpm_force_performance_level() 1070 if (ni_send_msg_to_smc_with_parameter(rdev, PPSMC_MSG_SetForcedLevels, 0) != PPSMC_Result_OK) in ni_dpm_force_performance_level() 1073 if (ni_send_msg_to_smc_with_parameter(rdev, PPSMC_MSG_SetEnabledLevels, 0) != PPSMC_Result_OK) in ni_dpm_force_performance_level() 2606 if (smc_result != PPSMC_Result_OK) { in ni_enable_power_containment() [all …]
|
| D | rv770_smc.c | 453 PPSMC_Result result = PPSMC_Result_OK; in rv770_wait_for_smc_inactive()
|
| D | btc_dpm.c | 1392 if (rv770_send_msg_to_smc(rdev, PPSMC_MSG_DisableULV) != PPSMC_Result_OK) in btc_disable_ulv() 1734 if (rv770_send_msg_to_smc(rdev, PPSMC_MSG_ResetToDefaults) != PPSMC_Result_OK) in btc_reset_to_default() 1832 if (rv770_send_msg_to_smc(rdev, PPSMC_MSG_EnableULV) != PPSMC_Result_OK) in btc_enable_ulv()
|
| D | rv730_dpm.c | 465 if (result != PPSMC_Result_OK) in rv730_stop_dpm()
|
| /Linux-v5.4/drivers/gpu/drm/amd/powerplay/inc/ |
| D | rv_ppsmc.h | 29 #define PPSMC_Result_OK 0x1 macro
|
| D | smu_v12_0_ppsmc.h | 28 #define PPSMC_Result_OK 0x1 macro
|
| D | arcturus_ppsmc.h | 30 #define PPSMC_Result_OK 0x1 macro
|
| D | smu_v11_0_ppsmc.h | 28 #define PPSMC_Result_OK 0x1 macro
|
| D | vega12_ppsmc.h | 32 #define PPSMC_Result_OK 0x1 macro
|
| D | vega20_ppsmc.h | 30 #define PPSMC_Result_OK 0x1 macro
|
| D | vega10_ppsmc.h | 32 #define PPSMC_Result_OK 0x1 macro
|
| D | cz_ppsmc.h | 49 #define PPSMC_Result_OK ((uint16_t)0x01) macro
|
| D | fiji_ppsmc.h | 87 #define PPSMC_Result_OK ((uint16_t)0x01) macro
|
| D | smu7_ppsmc.h | 83 #define PPSMC_Result_OK ((uint16_t)0x01) macro
|
| D | tonga_ppsmc.h | 89 #define PPSMC_Result_OK ((uint16_t)0x01) macro
|
| /Linux-v5.4/drivers/gpu/drm/amd/amdgpu/ |
| 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()
|
| D | si_dpm.c | 2547 if (smc_result != PPSMC_Result_OK) { in si_enable_power_containment() 2556 if (smc_result != PPSMC_Result_OK) in si_enable_power_containment() 2913 if (smc_result != PPSMC_Result_OK) in si_enable_smc_cac() 2918 if (smc_result != PPSMC_Result_OK) { in si_enable_smc_cac() 2927 if (smc_result != PPSMC_Result_OK) in si_enable_smc_cac() 3819 if (ret == PPSMC_Result_OK) 3837 return (amdgpu_si_send_msg_to_smc(adev, PPSMC_MSG_RunningOnAC) == PPSMC_Result_OK) ? 3853 if (amdgpu_si_send_msg_to_smc(adev, PPSMC_MSG_NoForcedLevel) != PPSMC_Result_OK) in si_restrict_performance_levels_before_switch() 3856 …return (si_send_msg_to_smc_with_parameter(adev, PPSMC_MSG_SetEnabledLevels, 1) == PPSMC_Result_OK)… in si_restrict_performance_levels_before_switch() 3869 …if (si_send_msg_to_smc_with_parameter(adev, PPSMC_MSG_SetEnabledLevels, levels) != PPSMC_Result_OK) in si_dpm_force_performance_level() [all …]
|
| D | ppsmc.h | 67 #define PPSMC_Result_OK ((uint8_t)0x01) macro
|
| /Linux-v5.4/drivers/gpu/drm/amd/powerplay/smumgr/ |
| D | vega20_smumgr.c | 115 if (ret != PPSMC_Result_OK) in vega20_send_msg_to_smc() 118 return (ret == PPSMC_Result_OK) ? 0 : -EIO; in vega20_send_msg_to_smc() 143 if (ret != PPSMC_Result_OK) in vega20_send_msg_to_smc_with_parameter() 146 return (ret == PPSMC_Result_OK) ? 0 : -EIO; in vega20_send_msg_to_smc_with_parameter()
|