/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
D | rv770_dpm.c | 170 if (RREG32(GENERAL_PWRMGT) & GLOBAL_PWRMGT_EN) in rv770_restore_cgcg() 185 WREG32_P(GENERAL_PWRMGT, GLOBAL_PWRMGT_EN, ~GLOBAL_PWRMGT_EN); in rv770_start_dpm() 197 WREG32_P(GENERAL_PWRMGT, 0, ~GLOBAL_PWRMGT_EN); in rv770_stop_dpm() 206 if (RREG32(GENERAL_PWRMGT) & GLOBAL_PWRMGT_EN) in rv770_dpm_enabled() 216 WREG32_P(GENERAL_PWRMGT, 0, ~THERMAL_PROTECTION_DIS); in rv770_enable_thermal_protection() 218 WREG32_P(GENERAL_PWRMGT, THERMAL_PROTECTION_DIS, ~THERMAL_PROTECTION_DIS); in rv770_enable_thermal_protection() 223 WREG32_P(GENERAL_PWRMGT, STATIC_PM_EN, ~STATIC_PM_EN); in rv770_enable_acpi_pm() 774 WREG32_P(GENERAL_PWRMGT, BACKBIAS_PAD_EN, ~BACKBIAS_PAD_EN); in rv770_enable_backbias() 776 WREG32_P(GENERAL_PWRMGT, 0, ~(BACKBIAS_VALUE | BACKBIAS_PAD_EN)); in rv770_enable_backbias() 786 WREG32_P(GENERAL_PWRMGT, DYN_SPREAD_SPECTRUM_EN, ~DYN_SPREAD_SPECTRUM_EN); in rv770_enable_spread_spectrum() [all …]
|
D | rv6xx_dpm.c | 364 WREG32_P(GENERAL_PWRMGT, DYN_SPREAD_SPECTRUM_EN, ~DYN_SPREAD_SPECTRUM_EN); in rv6xx_enable_dynamic_spread_spectrum() 366 WREG32_P(GENERAL_PWRMGT, 0, ~DYN_SPREAD_SPECTRUM_EN); in rv6xx_enable_dynamic_spread_spectrum() 1173 WREG32_P(GENERAL_PWRMGT, BACKBIAS_PAD_EN | BACKBIAS_DPM_CNTL, in rv6xx_enable_backbias() 1176 WREG32_P(GENERAL_PWRMGT, 0, in rv6xx_enable_backbias() 1212 WREG32_P(GENERAL_PWRMGT, SW_GPIO_INDEX(R600_POWER_LEVEL_CTXSW), in rv6xx_set_sw_voltage_to_safe() 1224 WREG32_P(GENERAL_PWRMGT, SW_GPIO_INDEX(R600_POWER_LEVEL_CTXSW), in rv6xx_set_sw_voltage_to_low() 1237 WREG32_P(GENERAL_PWRMGT, BACKBIAS_VALUE, ~BACKBIAS_VALUE); in rv6xx_set_safe_backbias() 1239 WREG32_P(GENERAL_PWRMGT, 0, ~BACKBIAS_VALUE); in rv6xx_set_safe_backbias() 1258 WREG32_P(GENERAL_PWRMGT, VOLT_PWRMGT_EN, ~VOLT_PWRMGT_EN); in rv6xx_enable_dynamic_voltage_control() 1260 WREG32_P(GENERAL_PWRMGT, 0, ~VOLT_PWRMGT_EN); in rv6xx_enable_dynamic_voltage_control() [all …]
|
D | rv730d.h | 66 #define GENERAL_PWRMGT 0x63c macro
|
D | btcd.h | 29 #define GENERAL_PWRMGT 0x63c macro
|
D | r600_dpm.c | 269 WREG32_P(GENERAL_PWRMGT, GLOBAL_PWRMGT_EN, ~GLOBAL_PWRMGT_EN); in r600_dynamicpm_enable() 271 WREG32_P(GENERAL_PWRMGT, 0, ~GLOBAL_PWRMGT_EN); in r600_dynamicpm_enable() 277 WREG32_P(GENERAL_PWRMGT, 0, ~THERMAL_PROTECTION_DIS); in r600_enable_thermal_protection() 279 WREG32_P(GENERAL_PWRMGT, THERMAL_PROTECTION_DIS, ~THERMAL_PROTECTION_DIS); in r600_enable_thermal_protection() 284 WREG32_P(GENERAL_PWRMGT, STATIC_PM_EN, ~STATIC_PM_EN); in r600_enable_acpi_pm() 290 WREG32_P(GENERAL_PWRMGT, ENABLE_GEN2PCIE, ~ENABLE_GEN2PCIE); in r600_enable_dynamic_pcie_gen2() 292 WREG32_P(GENERAL_PWRMGT, 0, ~ENABLE_GEN2PCIE); in r600_enable_dynamic_pcie_gen2() 297 if (RREG32(GENERAL_PWRMGT) & GLOBAL_PWRMGT_EN) in r600_dynamicpm_enabled()
|
D | trinityd.h | 172 #define GENERAL_PWRMGT 0x670 macro
|
D | rv6xxd.h | 30 #define GENERAL_PWRMGT 0x618 macro
|
D | sumod.h | 149 #define GENERAL_PWRMGT 0x63c macro
|
D | rv730_dpm.c | 456 WREG32_P(GENERAL_PWRMGT, GLOBAL_PWRMGT_EN, ~GLOBAL_PWRMGT_EN); in rv730_start_dpm() 468 WREG32_P(GENERAL_PWRMGT, 0, ~GLOBAL_PWRMGT_EN); in rv730_stop_dpm()
|
D | ci_dpm.c | 1401 tmp = RREG32_SMC(GENERAL_PWRMGT); in ci_set_dpm_event_sources() 1406 WREG32_SMC(GENERAL_PWRMGT, tmp); in ci_set_dpm_event_sources() 1408 tmp = RREG32_SMC(GENERAL_PWRMGT); in ci_set_dpm_event_sources() 1410 WREG32_SMC(GENERAL_PWRMGT, tmp); in ci_set_dpm_event_sources() 1518 tmp = RREG32_SMC(GENERAL_PWRMGT); in ci_start_dpm() 1520 WREG32_SMC(GENERAL_PWRMGT, tmp); in ci_start_dpm() 1579 tmp = RREG32_SMC(GENERAL_PWRMGT); in ci_stop_dpm() 1581 WREG32_SMC(GENERAL_PWRMGT, tmp); in ci_stop_dpm() 1892 u32 tmp = RREG32_SMC(GENERAL_PWRMGT); in ci_enable_thermal_protection() 1898 WREG32_SMC(GENERAL_PWRMGT, tmp); in ci_enable_thermal_protection() [all …]
|
D | cypress_dpm.c | 93 WREG32_P(GENERAL_PWRMGT, ENABLE_GEN2PCIE, ~ENABLE_GEN2PCIE); in cypress_enable_dynamic_pcie_gen2() 95 WREG32_P(GENERAL_PWRMGT, 0, ~ENABLE_GEN2PCIE); in cypress_enable_dynamic_pcie_gen2() 228 WREG32_P(GENERAL_PWRMGT, DYN_SPREAD_SPECTRUM_EN, ~DYN_SPREAD_SPECTRUM_EN); in cypress_enable_spread_spectrum() 234 WREG32_P(GENERAL_PWRMGT, 0, ~DYN_SPREAD_SPECTRUM_EN); in cypress_enable_spread_spectrum() 242 WREG32_P(GENERAL_PWRMGT, GLOBAL_PWRMGT_EN, ~GLOBAL_PWRMGT_EN); in cypress_start_dpm() 1577 u32 tmp = RREG32(GENERAL_PWRMGT); in cypress_get_mvdd_configuration()
|
D | si_dpm.c | 3291 WREG32_P(GENERAL_PWRMGT, 0, ~THERMAL_PROTECTION_DIS); in si_set_dpm_event_sources() 3293 WREG32_P(GENERAL_PWRMGT, THERMAL_PROTECTION_DIS, ~THERMAL_PROTECTION_DIS); in si_set_dpm_event_sources() 3318 WREG32_P(GENERAL_PWRMGT, GLOBAL_PWRMGT_EN, ~GLOBAL_PWRMGT_EN); in si_start_dpm() 3323 WREG32_P(GENERAL_PWRMGT, 0, ~GLOBAL_PWRMGT_EN); in si_stop_dpm() 3576 WREG32_P(GENERAL_PWRMGT, 0, ~THERMAL_PROTECTION_DIS); in si_enable_thermal_protection() 3578 WREG32_P(GENERAL_PWRMGT, THERMAL_PROTECTION_DIS, ~THERMAL_PROTECTION_DIS); in si_enable_thermal_protection() 3583 WREG32_P(GENERAL_PWRMGT, STATIC_PM_EN, ~STATIC_PM_EN); in si_enable_acpi_power_management() 3715 WREG32_P(GENERAL_PWRMGT, DYN_SPREAD_SPECTRUM_EN, ~DYN_SPREAD_SPECTRUM_EN); in si_enable_spread_spectrum() 3718 WREG32_P(GENERAL_PWRMGT, 0, ~DYN_SPREAD_SPECTRUM_EN); in si_enable_spread_spectrum() 5696 WREG32_P(GENERAL_PWRMGT, VOLT_PWRMGT_EN, ~VOLT_PWRMGT_EN); in si_enable_voltage_control() [all …]
|
D | rv770d.h | 139 #define GENERAL_PWRMGT 0x63c macro
|
D | rs600d.h | 652 #define GENERAL_PWRMGT 0x8 macro
|
D | nid.h | 581 #define GENERAL_PWRMGT 0x63c macro
|
D | btc_dpm.c | 1381 WREG32_P(GENERAL_PWRMGT, ENABLE_GEN2PCIE, ~ENABLE_GEN2PCIE); in btc_enable_dynamic_pcie_gen2() 1383 WREG32_P(GENERAL_PWRMGT, 0, ~ENABLE_GEN2PCIE); in btc_enable_dynamic_pcie_gen2()
|
D | sid.h | 240 #define GENERAL_PWRMGT 0x780 macro
|
D | cikd.h | 89 #define GENERAL_PWRMGT 0xC0200000 macro
|
D | ni_dpm.c | 1022 WREG32_P(GENERAL_PWRMGT, 0, ~GLOBAL_PWRMGT_EN); in ni_stop_dpm() 3501 WREG32_P(GENERAL_PWRMGT, ENABLE_GEN2PCIE, ~ENABLE_GEN2PCIE); in ni_enable_dynamic_pcie_gen2() 3503 WREG32_P(GENERAL_PWRMGT, 0, ~ENABLE_GEN2PCIE); in ni_enable_dynamic_pcie_gen2()
|
D | kv_dpm.c | 646 u32 tmp = RREG32_SMC(GENERAL_PWRMGT); in kv_start_dpm() 649 WREG32_SMC(GENERAL_PWRMGT, tmp); in kv_start_dpm()
|
D | evergreend.h | 119 #define GENERAL_PWRMGT 0x63c macro
|
D | r600d.h | 1290 #define GENERAL_PWRMGT 0x618 macro
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | smu7_hwmgr.c | 220 GENERAL_PWRMGT, VOLT_PWRMGT_EN, 1); in smu7_enable_voltage_control() 1199 PHM_WRITE_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, GENERAL_PWRMGT, in smu7_start_dpm() 1282 PHM_WRITE_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, GENERAL_PWRMGT, in smu7_stop_dpm() 1340 PHM_WRITE_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, GENERAL_PWRMGT, in smu7_set_dpm_event_sources() 1345 PHM_WRITE_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, GENERAL_PWRMGT, in smu7_set_dpm_event_sources() 1412 GENERAL_PWRMGT, DYN_SPREAD_SPECTRUM_EN, 1); in smu7_enable_dpm_tasks() 1417 GENERAL_PWRMGT, THERMAL_PROTECTION_DIS, 0); in smu7_enable_dpm_tasks() 1554 GENERAL_PWRMGT, THERMAL_PROTECTION_DIS, 1); in smu7_disable_dpm_tasks() 1571 GENERAL_PWRMGT, DYN_SPREAD_SPECTRUM_EN, 0); in smu7_disable_dpm_tasks() 4446 GENERAL_PWRMGT, STATIC_PM_EN, 1); in smu7_enable_acpi_power_management()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/ |
D | si_dpm.c | 3746 WREG32_P(GENERAL_PWRMGT, 0, ~THERMAL_PROTECTION_DIS); in si_set_dpm_event_sources() 3748 WREG32_P(GENERAL_PWRMGT, THERMAL_PROTECTION_DIS, ~THERMAL_PROTECTION_DIS); in si_set_dpm_event_sources() 3773 WREG32_P(GENERAL_PWRMGT, GLOBAL_PWRMGT_EN, ~GLOBAL_PWRMGT_EN); in si_start_dpm() 3778 WREG32_P(GENERAL_PWRMGT, 0, ~GLOBAL_PWRMGT_EN); in si_stop_dpm() 4032 WREG32_P(GENERAL_PWRMGT, 0, ~THERMAL_PROTECTION_DIS); in si_enable_thermal_protection() 4034 WREG32_P(GENERAL_PWRMGT, THERMAL_PROTECTION_DIS, ~THERMAL_PROTECTION_DIS); in si_enable_thermal_protection() 4039 WREG32_P(GENERAL_PWRMGT, STATIC_PM_EN, ~STATIC_PM_EN); in si_enable_acpi_power_management() 4177 WREG32_P(GENERAL_PWRMGT, DYN_SPREAD_SPECTRUM_EN, ~DYN_SPREAD_SPECTRUM_EN); in si_enable_spread_spectrum() 4180 WREG32_P(GENERAL_PWRMGT, 0, ~DYN_SPREAD_SPECTRUM_EN); in si_enable_spread_spectrum() 6145 WREG32_P(GENERAL_PWRMGT, VOLT_PWRMGT_EN, ~VOLT_PWRMGT_EN); in si_enable_voltage_control() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
D | sid.h | 241 #define GENERAL_PWRMGT 0x1e0 macro
|