Home
last modified time | relevance | path

Searched refs:GENERAL_PWRMGT (Results 1 – 25 of 28) sorted by relevance

12

/linux/drivers/gpu/drm/radeon/
A Drv770_dpm.c172 if (RREG32(GENERAL_PWRMGT) & GLOBAL_PWRMGT_EN) in rv770_restore_cgcg()
187 WREG32_P(GENERAL_PWRMGT, GLOBAL_PWRMGT_EN, ~GLOBAL_PWRMGT_EN); in rv770_start_dpm()
199 WREG32_P(GENERAL_PWRMGT, 0, ~GLOBAL_PWRMGT_EN); in rv770_stop_dpm()
208 if (RREG32(GENERAL_PWRMGT) & GLOBAL_PWRMGT_EN) in rv770_dpm_enabled()
218 WREG32_P(GENERAL_PWRMGT, 0, ~THERMAL_PROTECTION_DIS); in rv770_enable_thermal_protection()
225 WREG32_P(GENERAL_PWRMGT, STATIC_PM_EN, ~STATIC_PM_EN); in rv770_enable_acpi_pm()
797 WREG32_P(GENERAL_PWRMGT, 0, ~DYN_SPREAD_SPECTRUM_EN); in rv770_enable_spread_spectrum()
1338 WREG32_P(GENERAL_PWRMGT, VOLT_PWRMGT_EN, ~VOLT_PWRMGT_EN); in rv770_enable_voltage_control()
1340 WREG32_P(GENERAL_PWRMGT, 0, ~VOLT_PWRMGT_EN); in rv770_enable_voltage_control()
1369 WREG32_P(GENERAL_PWRMGT, 0, ~ENABLE_GEN2PCIE); in rv770_enable_dynamic_pcie_gen2()
[all …]
A Drv6xx_dpm.c366 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()
1269 WREG32_P(GENERAL_PWRMGT, 0, ~BACKBIAS_DPM_CNTL); in rv6xx_enable_dynamic_backbias_control()
[all …]
A Dr600_dpm.c269 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()
A Drv730d.h66 #define GENERAL_PWRMGT 0x63c macro
A Dbtcd.h29 #define GENERAL_PWRMGT 0x63c macro
A Dtrinityd.h172 #define GENERAL_PWRMGT 0x670 macro
A Drv6xxd.h30 #define GENERAL_PWRMGT 0x618 macro
A Dci_dpm.c1379 tmp = RREG32_SMC(GENERAL_PWRMGT); in ci_set_dpm_event_sources()
1384 WREG32_SMC(GENERAL_PWRMGT, tmp); in ci_set_dpm_event_sources()
1388 WREG32_SMC(GENERAL_PWRMGT, tmp); in ci_set_dpm_event_sources()
1496 tmp = RREG32_SMC(GENERAL_PWRMGT); in ci_start_dpm()
1498 WREG32_SMC(GENERAL_PWRMGT, tmp); in ci_start_dpm()
1557 tmp = RREG32_SMC(GENERAL_PWRMGT); in ci_stop_dpm()
1559 WREG32_SMC(GENERAL_PWRMGT, tmp); in ci_stop_dpm()
1876 WREG32_SMC(GENERAL_PWRMGT, tmp); in ci_enable_thermal_protection()
1885 WREG32_SMC(GENERAL_PWRMGT, tmp); in ci_enable_acpi_power_management()
2000 WREG32_SMC(GENERAL_PWRMGT, tmp); in ci_enable_spread_spectrum()
[all …]
A Drv730_dpm.c454 WREG32_P(GENERAL_PWRMGT, GLOBAL_PWRMGT_EN, ~GLOBAL_PWRMGT_EN); in rv730_start_dpm()
466 WREG32_P(GENERAL_PWRMGT, 0, ~GLOBAL_PWRMGT_EN); in rv730_stop_dpm()
A Dcypress_dpm.c91 WREG32_P(GENERAL_PWRMGT, ENABLE_GEN2PCIE, ~ENABLE_GEN2PCIE); in cypress_enable_dynamic_pcie_gen2()
93 WREG32_P(GENERAL_PWRMGT, 0, ~ENABLE_GEN2PCIE); in cypress_enable_dynamic_pcie_gen2()
226 WREG32_P(GENERAL_PWRMGT, DYN_SPREAD_SPECTRUM_EN, ~DYN_SPREAD_SPECTRUM_EN); in cypress_enable_spread_spectrum()
232 WREG32_P(GENERAL_PWRMGT, 0, ~DYN_SPREAD_SPECTRUM_EN); in cypress_enable_spread_spectrum()
240 WREG32_P(GENERAL_PWRMGT, GLOBAL_PWRMGT_EN, ~GLOBAL_PWRMGT_EN); in cypress_start_dpm()
1575 u32 tmp = RREG32(GENERAL_PWRMGT); in cypress_get_mvdd_configuration()
A Dsumod.h149 #define GENERAL_PWRMGT 0x63c macro
A Dsi_dpm.c3288 WREG32_P(GENERAL_PWRMGT, 0, ~THERMAL_PROTECTION_DIS); in si_set_dpm_event_sources()
3290 WREG32_P(GENERAL_PWRMGT, THERMAL_PROTECTION_DIS, ~THERMAL_PROTECTION_DIS); in si_set_dpm_event_sources()
3315 WREG32_P(GENERAL_PWRMGT, GLOBAL_PWRMGT_EN, ~GLOBAL_PWRMGT_EN); in si_start_dpm()
3320 WREG32_P(GENERAL_PWRMGT, 0, ~GLOBAL_PWRMGT_EN); in si_stop_dpm()
3573 WREG32_P(GENERAL_PWRMGT, 0, ~THERMAL_PROTECTION_DIS); in si_enable_thermal_protection()
3575 WREG32_P(GENERAL_PWRMGT, THERMAL_PROTECTION_DIS, ~THERMAL_PROTECTION_DIS); in si_enable_thermal_protection()
3580 WREG32_P(GENERAL_PWRMGT, STATIC_PM_EN, ~STATIC_PM_EN); in si_enable_acpi_power_management()
3712 WREG32_P(GENERAL_PWRMGT, DYN_SPREAD_SPECTRUM_EN, ~DYN_SPREAD_SPECTRUM_EN); in si_enable_spread_spectrum()
3715 WREG32_P(GENERAL_PWRMGT, 0, ~DYN_SPREAD_SPECTRUM_EN); in si_enable_spread_spectrum()
5694 WREG32_P(GENERAL_PWRMGT, VOLT_PWRMGT_EN, ~VOLT_PWRMGT_EN); in si_enable_voltage_control()
[all …]
A Drv770d.h139 #define GENERAL_PWRMGT 0x63c macro
A Drs600d.h652 #define GENERAL_PWRMGT 0x8 macro
A Dbtc_dpm.c1379 WREG32_P(GENERAL_PWRMGT, ENABLE_GEN2PCIE, ~ENABLE_GEN2PCIE); in btc_enable_dynamic_pcie_gen2()
1381 WREG32_P(GENERAL_PWRMGT, 0, ~ENABLE_GEN2PCIE); in btc_enable_dynamic_pcie_gen2()
A Dnid.h581 #define GENERAL_PWRMGT 0x63c macro
A Dsid.h240 #define GENERAL_PWRMGT 0x780 macro
A Dcikd.h89 #define GENERAL_PWRMGT 0xC0200000 macro
A Dkv_dpm.c488 u32 tmp = RREG32_SMC(GENERAL_PWRMGT); in kv_start_dpm()
491 WREG32_SMC(GENERAL_PWRMGT, tmp); in kv_start_dpm()
A Dni_dpm.c1021 WREG32_P(GENERAL_PWRMGT, 0, ~GLOBAL_PWRMGT_EN); in ni_stop_dpm()
3504 WREG32_P(GENERAL_PWRMGT, ENABLE_GEN2PCIE, ~ENABLE_GEN2PCIE); in ni_enable_dynamic_pcie_gen2()
3506 WREG32_P(GENERAL_PWRMGT, 0, ~ENABLE_GEN2PCIE); in ni_enable_dynamic_pcie_gen2()
A Devergreend.h119 #define GENERAL_PWRMGT 0x63c macro
A Dr600d.h1290 #define GENERAL_PWRMGT 0x618 macro
/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
A Dsmu7_hwmgr.c283 GENERAL_PWRMGT, VOLT_PWRMGT_EN, 1); in smu7_enable_voltage_control()
1268 PHM_WRITE_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, GENERAL_PWRMGT, in smu7_start_dpm()
1351 PHM_WRITE_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, GENERAL_PWRMGT, in smu7_stop_dpm()
1409 PHM_WRITE_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, GENERAL_PWRMGT, in smu7_set_dpm_event_sources()
1414 PHM_WRITE_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, GENERAL_PWRMGT, in smu7_set_dpm_event_sources()
1525 GENERAL_PWRMGT, DYN_SPREAD_SPECTRUM_EN, 1); in smu7_enable_dpm_tasks()
1530 GENERAL_PWRMGT, THERMAL_PROTECTION_DIS, 0); in smu7_enable_dpm_tasks()
1681 GENERAL_PWRMGT, THERMAL_PROTECTION_DIS, 1); in smu7_disable_dpm_tasks()
1698 GENERAL_PWRMGT, DYN_SPREAD_SPECTRUM_EN, 0); in smu7_disable_dpm_tasks()
4796 GENERAL_PWRMGT, STATIC_PM_EN, 1); in smu7_enable_acpi_power_management()
/linux/drivers/gpu/drm/amd/pm/powerplay/
A Dsi_dpm.c3746 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 …]
/linux/drivers/gpu/drm/amd/amdgpu/
A Dsid.h241 #define GENERAL_PWRMGT 0x1e0 macro

Completed in 165 milliseconds

12