Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/radeon/
H A Dkv_dpm.c503 u32 sclk_pwrmgt_cntl = RREG32_SMC(SCLK_PWRMGT_CNTL); in kv_start_am() local
505 sclk_pwrmgt_cntl &= ~(RESET_SCLK_CNT | RESET_BUSY_CNT); in kv_start_am()
506 sclk_pwrmgt_cntl |= DYNAMIC_PM_EN; in kv_start_am()
508 WREG32_SMC(SCLK_PWRMGT_CNTL, sclk_pwrmgt_cntl); in kv_start_am()
513 u32 sclk_pwrmgt_cntl = RREG32_SMC(SCLK_PWRMGT_CNTL); in kv_reset_am() local
515 sclk_pwrmgt_cntl |= (RESET_SCLK_CNT | RESET_BUSY_CNT); in kv_reset_am()
517 WREG32_SMC(SCLK_PWRMGT_CNTL, sclk_pwrmgt_cntl); in kv_reset_am()
/openbmc/linux/drivers/gpu/drm/amd/pm/legacy-dpm/
H A Dkv_dpm.c732 u32 sclk_pwrmgt_cntl = RREG32_SMC(ixSCLK_PWRMGT_CNTL); in kv_start_am() local
734 sclk_pwrmgt_cntl &= ~(SCLK_PWRMGT_CNTL__RESET_SCLK_CNT_MASK | in kv_start_am()
736 sclk_pwrmgt_cntl |= SCLK_PWRMGT_CNTL__DYNAMIC_PM_EN_MASK; in kv_start_am()
738 WREG32_SMC(ixSCLK_PWRMGT_CNTL, sclk_pwrmgt_cntl); in kv_start_am()
743 u32 sclk_pwrmgt_cntl = RREG32_SMC(ixSCLK_PWRMGT_CNTL); in kv_reset_am() local
745 sclk_pwrmgt_cntl |= (SCLK_PWRMGT_CNTL__RESET_SCLK_CNT_MASK | in kv_reset_am()
748 WREG32_SMC(ixSCLK_PWRMGT_CNTL, sclk_pwrmgt_cntl); in kv_reset_am()