From adb099409768e695b9928fa6aa5760f93dadd9af Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Tue, 31 Mar 2009 17:13:11 -0400 Subject: radeon: Add functions to set sclk/mclk on r1xx-r4xx --- src/radeon_reg.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/radeon_reg.h') diff --git a/src/radeon_reg.h b/src/radeon_reg.h index d74a30a4..e8af027f 100644 --- a/src/radeon_reg.h +++ b/src/radeon_reg.h @@ -288,6 +288,13 @@ # define RADEON_PLL_WR_EN (1 << 7) # define RADEON_PLL_DIV_SEL (3 << 8) # define RADEON_PLL2_DIV_SEL_MASK ~(3 << 8) +#define RADEON_M_SPLL_REF_FB_DIV 0x000a +# define RADEON_M_SPLL_REF_DIV_MASK 0xff +# define RADEON_M_SPLL_REF_DIV_SHIFT 0 +# define RADEON_MPLL_FB_DIV_MASK 0xff +# define RADEON_MPLL_FB_DIV_SHIFT 8 +# define RADEON_SPLL_FB_DIV_MASK 0xff +# define RADEON_SPLL_FB_DIV_SHIFT 16 #define RADEON_CLK_PWRMGT_CNTL 0x0014 # define RADEON_ENGIN_DYNCLK_MODE (1 << 12) # define RADEON_ACTIVE_HILO_LAT_MASK (3 << 13) -- cgit v1.2.3