diff options
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 |