mbxfb.h 509 B

12345678910111213141516171819202122232425262728
  1. #ifndef __MBX_FB_H
  2. #define __MBX_FB_H
  3. struct mbxfb_val {
  4. unsigned int defval;
  5. unsigned int min;
  6. unsigned int max;
  7. };
  8. struct fb_info;
  9. struct mbxfb_platform_data {
  10. /* Screen info */
  11. struct mbxfb_val xres;
  12. struct mbxfb_val yres;
  13. struct mbxfb_val bpp;
  14. /* Memory info */
  15. unsigned long memsize; /* if 0 use ODFB? */
  16. unsigned long timings1;
  17. unsigned long timings2;
  18. unsigned long timings3;
  19. int (*probe)(struct fb_info *fb);
  20. int (*remove)(struct fb_info *fb);
  21. };
  22. #endif /* __MBX_FB_H */