Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/radeon/
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()
/linux-6.1.9/drivers/gpu/drm/amd/pm/legacy-dpm/
Dkv_dpm.c743 u32 sclk_pwrmgt_cntl = RREG32_SMC(ixSCLK_PWRMGT_CNTL); in kv_start_am() local
745 sclk_pwrmgt_cntl &= ~(SCLK_PWRMGT_CNTL__RESET_SCLK_CNT_MASK | in kv_start_am()
747 sclk_pwrmgt_cntl |= SCLK_PWRMGT_CNTL__DYNAMIC_PM_EN_MASK; in kv_start_am()
749 WREG32_SMC(ixSCLK_PWRMGT_CNTL, sclk_pwrmgt_cntl); in kv_start_am()
754 u32 sclk_pwrmgt_cntl = RREG32_SMC(ixSCLK_PWRMGT_CNTL); in kv_reset_am() local
756 sclk_pwrmgt_cntl |= (SCLK_PWRMGT_CNTL__RESET_SCLK_CNT_MASK | in kv_reset_am()
759 WREG32_SMC(ixSCLK_PWRMGT_CNTL, sclk_pwrmgt_cntl); in kv_reset_am()