Home
last modified time | relevance | path

Searched refs:PPSMC_Result_OK (Results 1 – 25 of 35) sorted by relevance

12

/linux-5.19.10/drivers/gpu/drm/radeon/
Dci_dpm.c627 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 …]
Dci_smc.c173 return PPSMC_Result_OK;
182 return PPSMC_Result_OK;
Dsi_smc.c199 return PPSMC_Result_OK; in si_wait_for_smc_inactive()
208 return PPSMC_Result_OK; in si_wait_for_smc_inactive()
Dsi_dpm.c2429 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 …]
Drv770_dpm.c196 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/
Dsmu_v13_0_5_ppsmc.h28 #define PPSMC_Result_OK 0x1 macro
Dsmu_v11_8_ppsmc.h28 #define PPSMC_Result_OK 0x1 macro
Dsmu_v13_0_1_ppsmc.h35 #define PPSMC_Result_OK 0x1 ///< Message Response OK macro
Dsmu_v13_0_4_ppsmc.h43 #define PPSMC_Result_OK 0x1 ///< Message Response OK macro
Dsmu_v12_0_ppsmc.h28 #define PPSMC_Result_OK 0x1 macro
Dsmu_v13_0_7_ppsmc.h29 #define PPSMC_Result_OK 0x1 macro
Darcturus_ppsmc.h30 #define PPSMC_Result_OK 0x1 macro
Dsmu_v11_0_7_ppsmc.h30 #define PPSMC_Result_OK 0x1 macro
Dsmu_v11_0_ppsmc.h28 #define PPSMC_Result_OK 0x1 macro
Dsmu_v11_5_ppsmc.h28 #define PPSMC_Result_OK 0x1 macro
Dsmu_v13_0_0_ppsmc.h31 #define PPSMC_Result_OK 0x1 macro
Daldebaran_ppsmc.h30 #define PPSMC_Result_OK 0x1 macro
/linux-5.19.10/drivers/gpu/drm/amd/pm/legacy-dpm/
Dsi_smc.c191 return PPSMC_Result_OK; in amdgpu_si_wait_for_smc_inactive()
200 return PPSMC_Result_OK; in amdgpu_si_wait_for_smc_inactive()
Dsi_dpm.c2542 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/
Drv_ppsmc.h29 #define PPSMC_Result_OK 0x1 macro
Dvega12_ppsmc.h32 #define PPSMC_Result_OK 0x1 macro
Dvega20_ppsmc.h30 #define PPSMC_Result_OK 0x1 macro
Dvega10_ppsmc.h32 #define PPSMC_Result_OK 0x1 macro
Dcz_ppsmc.h49 #define PPSMC_Result_OK ((uint16_t)0x01) macro
/linux-5.19.10/drivers/gpu/drm/amd/pm/powerplay/smumgr/
Dvega20_smumgr.c117 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()

12