video_gx.h 997 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * Geode GX video device
  3. *
  4. * Copyright (C) 2006 Arcom Control Systems Ltd.
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License as published by
  8. * the Free Software Foundation; either version 2 of the License, or
  9. * (at your option) any later version.
  10. */
  11. #ifndef __VIDEO_GX_H__
  12. #define __VIDEO_GX_H__
  13. extern struct geode_vid_ops gx_vid_ops;
  14. /* GX Flatpanel control MSR */
  15. #define GX_VP_PAD_SELECT_MASK 0x3FFFFFFF
  16. #define GX_VP_PAD_SELECT_TFT 0x1FFFFFFF
  17. /* Geode GX clock control MSRs */
  18. # define MSR_GLCP_SYS_RSTPLL_DOTPREDIV2 (0x0000000000000002ull)
  19. # define MSR_GLCP_SYS_RSTPLL_DOTPREMULT2 (0x0000000000000004ull)
  20. # define MSR_GLCP_SYS_RSTPLL_DOTPOSTDIV3 (0x0000000000000008ull)
  21. # define MSR_GLCP_DOTPLL_DOTRESET (0x0000000000000001ull)
  22. # define MSR_GLCP_DOTPLL_BYPASS (0x0000000000008000ull)
  23. # define MSR_GLCP_DOTPLL_LOCK (0x0000000002000000ull)
  24. #endif /* !__VIDEO_GX_H__ */