/include/linux/xilinxfb.h

https://github.com/airy09/android_kernel_sony_apq8064 · C Header · 30 lines · 12 code · 5 blank · 13 comment · 0 complexity · 7a8544c184d36d43e3d5c102c4206c21 MD5 · raw file

  1. /*
  2. * Platform device data for Xilinx Framebuffer device
  3. *
  4. * Copyright 2007 Secret Lab Technologies Ltd.
  5. *
  6. * This file is licensed under the terms of the GNU General Public License
  7. * version 2. This program is licensed "as is" without any warranty of any
  8. * kind, whether express or implied.
  9. */
  10. #ifndef __XILINXFB_H__
  11. #define __XILINXFB_H__
  12. #include <linux/types.h>
  13. /* ML300/403 reference design framebuffer driver platform data struct */
  14. struct xilinxfb_platform_data {
  15. u32 rotate_screen; /* Flag to rotate display 180 degrees */
  16. u32 screen_height_mm; /* Physical dimensions of screen in mm */
  17. u32 screen_width_mm;
  18. u32 xres, yres; /* resolution of screen in pixels */
  19. u32 xvirt, yvirt; /* resolution of memory buffer */
  20. /* Physical address of framebuffer memory; If non-zero, driver
  21. * will use provided memory address instead of allocating one from
  22. * the consistent pool. */
  23. u32 fb_phys;
  24. };
  25. #endif /* __XILINXFB_H__ */