aboutsummaryrefslogtreecommitdiff
path: root/linux-core/radeon_reg.h
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2008-09-18 16:42:22 -0400
committerAlex Deucher <alexdeucher@gmail.com>2008-09-18 16:42:22 -0400
commit6988176195450da9033a0f0f21eafc6ae0a7a6a4 (patch)
tree1ac027ded2b50ebec8a14075e229ce1bfbc752a0 /linux-core/radeon_reg.h
parent34af71c42a66e5ef6a9a08250ca541030ca3cc4f (diff)
radeon: Add functions to set mem/eng clocks
Diffstat (limited to 'linux-core/radeon_reg.h')
-rw-r--r--linux-core/radeon_reg.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/linux-core/radeon_reg.h b/linux-core/radeon_reg.h
index c4bc7a80..113a8267 100644
--- a/linux-core/radeon_reg.h
+++ b/linux-core/radeon_reg.h
@@ -1549,6 +1549,13 @@
#define RADEON_SC_TOP_LEFT_C 0x1c88
# define RADEON_SC_SIGN_MASK_LO 0x8000
# define RADEON_SC_SIGN_MASK_HI 0x80000000
+#define RADEON_M_SPLL_REF_FB_DIV 0x000a /* PLL */
+# define RADEON_M_SPLL_REF_DIV_SHIFT 0
+# define RADEON_M_SPLL_REF_DIV_MASK 0xff
+# define RADEON_MPLL_FB_DIV_SHIFT 8
+# define RADEON_MPLL_FB_DIV_MASK 0xff
+# define RADEON_SPLL_FB_DIV_SHIFT 16
+# define RADEON_SPLL_FB_DIV_MASK 0xff
#define RADEON_SCLK_CNTL 0x000d /* PLL */
# define RADEON_SCLK_SRC_SEL_MASK 0x0007
# define RADEON_DYN_STOP_LAT_MASK 0x00007ff8