Home
last modified time | relevance | path

Searched refs:sclk_pwrmgt_cntl (Results 1 – 2 of 2) sorted by relevance

/drivers/gpu/drm/radeon/
Dkv_dpm.c660 u32 sclk_pwrmgt_cntl = RREG32_SMC(SCLK_PWRMGT_CNTL); in kv_start_am() local
662 sclk_pwrmgt_cntl &= ~(RESET_SCLK_CNT | RESET_BUSY_CNT); in kv_start_am()
663 sclk_pwrmgt_cntl |= DYNAMIC_PM_EN; in kv_start_am()
665 WREG32_SMC(SCLK_PWRMGT_CNTL, sclk_pwrmgt_cntl); in kv_start_am()
670 u32 sclk_pwrmgt_cntl = RREG32_SMC(SCLK_PWRMGT_CNTL); in kv_reset_am() local
672 sclk_pwrmgt_cntl |= (RESET_SCLK_CNT | RESET_BUSY_CNT); in kv_reset_am()
674 WREG32_SMC(SCLK_PWRMGT_CNTL, sclk_pwrmgt_cntl); in kv_reset_am()
/drivers/gpu/drm/amd/amdgpu/
Dkv_dpm.c744 u32 sclk_pwrmgt_cntl = RREG32_SMC(ixSCLK_PWRMGT_CNTL); in kv_start_am() local
746 sclk_pwrmgt_cntl &= ~(SCLK_PWRMGT_CNTL__RESET_SCLK_CNT_MASK | in kv_start_am()
748 sclk_pwrmgt_cntl |= SCLK_PWRMGT_CNTL__DYNAMIC_PM_EN_MASK; in kv_start_am()
750 WREG32_SMC(ixSCLK_PWRMGT_CNTL, sclk_pwrmgt_cntl); in kv_start_am()
755 u32 sclk_pwrmgt_cntl = RREG32_SMC(ixSCLK_PWRMGT_CNTL); in kv_reset_am() local
757 sclk_pwrmgt_cntl |= (SCLK_PWRMGT_CNTL__RESET_SCLK_CNT_MASK | in kv_reset_am()
760 WREG32_SMC(ixSCLK_PWRMGT_CNTL, sclk_pwrmgt_cntl); in kv_reset_am()