Home
last modified time | relevance | path

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

12

/Linux-v5.10/drivers/gpu/drm/radeon/
Dci_dpm.c637 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 …]
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.c2432 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 …]
Drv770_dpm.c194 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 …]
Dppsmc.h67 #define PPSMC_Result_OK ((uint8_t)0x01) macro
Dni_dpm.c1030 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 …]
Drv770_smc.c453 PPSMC_Result result = PPSMC_Result_OK; in rv770_wait_for_smc_inactive()
Dbtc_dpm.c1391 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/
Drv_ppsmc.h29 #define PPSMC_Result_OK 0x1 macro
Dsmu_v12_0_ppsmc.h28 #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
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
Dfiji_ppsmc.h87 #define PPSMC_Result_OK ((uint16_t)0x01) macro
Dsmu7_ppsmc.h83 #define PPSMC_Result_OK ((uint16_t)0x01) macro
Dtonga_ppsmc.h89 #define PPSMC_Result_OK ((uint16_t)0x01) macro
/Linux-v5.10/drivers/gpu/drm/amd/pm/powerplay/
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.c2527 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 …]
Dppsmc.h67 #define PPSMC_Result_OK ((uint8_t)0x01) macro
/Linux-v5.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