diff options
author | Andres Salomon <dilinger@queued.net> | 2008-04-28 05:15:00 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-28 11:58:36 -0400 |
commit | 9f1277bd1497858a05a80222a6e98f9c43343491 (patch) | |
tree | 8fccb34af16de101fbf43582d8c40611cc3765d5 /drivers/video/geode/gxfb.h | |
parent | d255114f22e19b50cf45fcc70963e6a9f287ad40 (diff) |
gxfb: move MSR bit fields into gxfb.h
This continues the gxfb header cleanups. MSRs are defined in geode.h; the
specific bits we care about are defined in gxfb.h.
Signed-off-by: Andres Salomon <dilinger@debian.org>
Cc: Jordan Crouse <jordan.crouse@amd.com>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/geode/gxfb.h')
-rw-r--r-- | drivers/video/geode/gxfb.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/video/geode/gxfb.h b/drivers/video/geode/gxfb.h index d408ad354d2d..c21f9dc5e0c1 100644 --- a/drivers/video/geode/gxfb.h +++ b/drivers/video/geode/gxfb.h | |||
@@ -252,4 +252,20 @@ static inline void write_fp(struct geodefb_par *par, int reg, uint32_t val) | |||
252 | writel(val, par->vid_regs + 8*reg + VP_FP_START); | 252 | writel(val, par->vid_regs + 8*reg + VP_FP_START); |
253 | } | 253 | } |
254 | 254 | ||
255 | |||
256 | /* MSRs are defined in asm/geode.h; their bitfields are here */ | ||
257 | |||
258 | #define MSR_GLCP_SYS_RSTPLL_DOTPOSTDIV3 (1 << 3) | ||
259 | #define MSR_GLCP_SYS_RSTPLL_DOTPREMULT2 (1 << 2) | ||
260 | #define MSR_GLCP_SYS_RSTPLL_DOTPREDIV2 (1 << 1) | ||
261 | |||
262 | #define MSR_GLCP_DOTPLL_LOCK (1 << 25) /* r/o */ | ||
263 | #define MSR_GLCP_DOTPLL_BYPASS (1 << 15) | ||
264 | #define MSR_GLCP_DOTPLL_DOTRESET (1 << 0) | ||
265 | |||
266 | #define MSR_GX_MSR_PADSEL_MASK 0x3FFFFFFF /* undocumented? */ | ||
267 | #define MSR_GX_MSR_PADSEL_TFT 0x1FFFFFFF /* undocumented? */ | ||
268 | |||
269 | #define MSR_GX_GLD_MSR_CONFIG_FP (1 << 3) | ||
270 | |||
255 | #endif | 271 | #endif |