/linux-5.19.10/drivers/gpu/drm/radeon/ |
D | ci_dpm.c | 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() [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 | 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) 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 | 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() 1469 if (rv770_send_msg_to_smc(rdev, (PPSMC_Msg)(PPSMC_MSG_NoForcedLevel)) != PPSMC_Result_OK) in rv770_restrict_performance_levels_before_switch() 1472 if (rv770_send_msg_to_smc(rdev, (PPSMC_Msg)(PPSMC_MSG_TwoLevelsDisabled)) != PPSMC_Result_OK) in rv770_restrict_performance_levels_before_switch() 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() [all …]
|
/linux-5.19.10/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/ |
D | smu_v13_0_5_ppsmc.h | 28 #define PPSMC_Result_OK 0x1 macro
|
D | smu_v11_8_ppsmc.h | 28 #define PPSMC_Result_OK 0x1 macro
|
D | smu_v13_0_1_ppsmc.h | 35 #define PPSMC_Result_OK 0x1 ///< Message Response OK macro
|
D | smu_v13_0_4_ppsmc.h | 43 #define PPSMC_Result_OK 0x1 ///< Message Response OK macro
|
D | smu_v12_0_ppsmc.h | 28 #define PPSMC_Result_OK 0x1 macro
|
D | smu_v13_0_7_ppsmc.h | 29 #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 | smu_v11_5_ppsmc.h | 28 #define PPSMC_Result_OK 0x1 macro
|
D | smu_v13_0_0_ppsmc.h | 31 #define PPSMC_Result_OK 0x1 macro
|
D | aldebaran_ppsmc.h | 30 #define PPSMC_Result_OK 0x1 macro
|
/linux-5.19.10/drivers/gpu/drm/amd/pm/legacy-dpm/ |
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 | 2542 if (smc_result != PPSMC_Result_OK) { in si_enable_power_containment() 2551 if (smc_result != PPSMC_Result_OK) in si_enable_power_containment() 2908 if (smc_result != PPSMC_Result_OK) in si_enable_smc_cac() 2913 if (smc_result != PPSMC_Result_OK) { in si_enable_smc_cac() 2922 if (smc_result != PPSMC_Result_OK) in si_enable_smc_cac() 3813 if (ret == PPSMC_Result_OK) 3831 return (amdgpu_si_send_msg_to_smc(adev, PPSMC_MSG_RunningOnAC) == PPSMC_Result_OK) ? 3847 if (amdgpu_si_send_msg_to_smc(adev, PPSMC_MSG_NoForcedLevel) != PPSMC_Result_OK) in si_restrict_performance_levels_before_switch() 3850 …return (si_send_msg_to_smc_with_parameter(adev, PPSMC_MSG_SetEnabledLevels, 1) == PPSMC_Result_OK)… in si_restrict_performance_levels_before_switch() 3863 …if (si_send_msg_to_smc_with_parameter(adev, PPSMC_MSG_SetEnabledLevels, levels) != PPSMC_Result_OK) in si_dpm_force_performance_level() [all …]
|
/linux-5.19.10/drivers/gpu/drm/amd/pm/powerplay/inc/ |
D | rv_ppsmc.h | 29 #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
|
/linux-5.19.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()
|