sh_mobile_ceu.h 660 B

123456789101112131415161718192021222324252627
  1. #ifndef __ASM_SH_MOBILE_CEU_H__
  2. #define __ASM_SH_MOBILE_CEU_H__
  3. #define SH_CEU_FLAG_USE_8BIT_BUS (1 << 0) /* use 8bit bus width */
  4. #define SH_CEU_FLAG_USE_16BIT_BUS (1 << 1) /* use 16bit bus width */
  5. #define SH_CEU_FLAG_HSYNC_LOW (1 << 2) /* default High if possible */
  6. #define SH_CEU_FLAG_VSYNC_LOW (1 << 3) /* default High if possible */
  7. struct device;
  8. struct resource;
  9. struct sh_mobile_ceu_companion {
  10. u32 num_resources;
  11. struct resource *resource;
  12. int id;
  13. void *platform_data;
  14. };
  15. struct sh_mobile_ceu_info {
  16. unsigned long flags;
  17. int max_width;
  18. int max_height;
  19. struct sh_mobile_ceu_companion *csi2;
  20. };
  21. #endif /* __ASM_SH_MOBILE_CEU_H__ */