/Linux-v5.10/drivers/gpu/drm/radeon/ |
D | ci_dpm.c | 637 if (smc_result != PPSMC_Result_OK) in ci_enable_power_containment() 645 if (smc_result != PPSMC_Result_OK) in ci_enable_power_containment() 653 if (smc_result != PPSMC_Result_OK) { in ci_enable_power_containment() 693 if (smc_result != PPSMC_Result_OK) { in ci_enable_smc_cac() 712 PPSMC_Result smc_result = PPSMC_Result_OK; in ci_enable_thermal_based_sclk_dpm() 721 if (smc_result == PPSMC_Result_OK) in ci_enable_thermal_based_sclk_dpm() 902 if (result != PPSMC_Result_OK) { in ci_thermal_enable_alert() 911 if (result != PPSMC_Result_OK) { in ci_thermal_enable_alert() 1028 if (ret != PPSMC_Result_OK) in ci_fan_ctrl_start_smc_fan_control() 1033 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 | 2432 if (smc_result != PPSMC_Result_OK) { in si_enable_power_containment() 2441 if (smc_result != PPSMC_Result_OK) in si_enable_power_containment() 2795 if (smc_result != PPSMC_Result_OK) in si_enable_smc_cac() 2800 if (smc_result != PPSMC_Result_OK) { in si_enable_smc_cac() 2809 if (smc_result != PPSMC_Result_OK) in si_enable_smc_cac() 3340 if (ret == PPSMC_Result_OK) 3358 return (si_send_msg_to_smc(rdev, PPSMC_MSG_RunningOnAC) == PPSMC_Result_OK) ? 3374 if (si_send_msg_to_smc(rdev, PPSMC_MSG_NoForcedLevel) != PPSMC_Result_OK) in si_restrict_performance_levels_before_switch() 3377 …return (si_send_msg_to_smc_with_parameter(rdev, PPSMC_MSG_SetEnabledLevels, 1) == PPSMC_Result_OK)… in si_restrict_performance_levels_before_switch() 3389 …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 | 1030 return (rv770_send_msg_to_smc(rdev, PPSMC_MSG_RunningOnAC) == PPSMC_Result_OK) ? 1046 if (rv770_send_msg_to_smc(rdev, PPSMC_MSG_NoForcedLevel) != PPSMC_Result_OK) in ni_restrict_performance_levels_before_switch() 1049 …return (ni_send_msg_to_smc_with_parameter(rdev, PPSMC_MSG_SetEnabledLevels, 1) == PPSMC_Result_OK)… in ni_restrict_performance_levels_before_switch() 1057 if (ni_send_msg_to_smc_with_parameter(rdev, PPSMC_MSG_SetEnabledLevels, 0) != PPSMC_Result_OK) in ni_dpm_force_performance_level() 1060 if (ni_send_msg_to_smc_with_parameter(rdev, PPSMC_MSG_SetForcedLevels, 1) != PPSMC_Result_OK) in ni_dpm_force_performance_level() 1063 if (ni_send_msg_to_smc_with_parameter(rdev, PPSMC_MSG_SetForcedLevels, 0) != PPSMC_Result_OK) in ni_dpm_force_performance_level() 1066 if (ni_send_msg_to_smc_with_parameter(rdev, PPSMC_MSG_SetEnabledLevels, 1) != PPSMC_Result_OK) in ni_dpm_force_performance_level() 1069 if (ni_send_msg_to_smc_with_parameter(rdev, PPSMC_MSG_SetForcedLevels, 0) != PPSMC_Result_OK) in ni_dpm_force_performance_level() 1072 if (ni_send_msg_to_smc_with_parameter(rdev, PPSMC_MSG_SetEnabledLevels, 0) != PPSMC_Result_OK) in ni_dpm_force_performance_level() 2605 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 | 1391 if (rv770_send_msg_to_smc(rdev, PPSMC_MSG_DisableULV) != PPSMC_Result_OK) in btc_disable_ulv() 1733 if (rv770_send_msg_to_smc(rdev, PPSMC_MSG_ResetToDefaults) != PPSMC_Result_OK) in btc_reset_to_default() 1831 if (rv770_send_msg_to_smc(rdev, PPSMC_MSG_EnableULV) != PPSMC_Result_OK) in btc_enable_ulv()
|
/Linux-v5.10/drivers/gpu/drm/amd/pm/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_7_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.10/drivers/gpu/drm/amd/pm/powerplay/ |
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 | 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) 3816 return (amdgpu_si_send_msg_to_smc(adev, PPSMC_MSG_RunningOnAC) == PPSMC_Result_OK) ? 3832 if (amdgpu_si_send_msg_to_smc(adev, PPSMC_MSG_NoForcedLevel) != PPSMC_Result_OK) in si_restrict_performance_levels_before_switch() 3835 …return (si_send_msg_to_smc_with_parameter(adev, PPSMC_MSG_SetEnabledLevels, 1) == PPSMC_Result_OK)… in si_restrict_performance_levels_before_switch() 3848 …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.10/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
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()
|