sh_mobile_ceu.h 866 B

1234567891011121314151617181920212223242526272829
  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. #define SH_CEU_FLAG_LOWER_8BIT (1 << 4) /* default upper 8bit */
  8. struct device;
  9. struct resource;
  10. struct sh_mobile_ceu_companion {
  11. u32 num_resources;
  12. struct resource *resource;
  13. int id;
  14. void *platform_data;
  15. };
  16. struct sh_mobile_ceu_info {
  17. unsigned long flags;
  18. int max_width;
  19. int max_height;
  20. struct sh_mobile_ceu_companion *csi2;
  21. struct v4l2_async_subdev **asd; /* Flat array, arranged in groups */
  22. unsigned int *asd_sizes; /* 0-terminated array pf asd group sizes */
  23. };
  24. #endif /* __ASM_SH_MOBILE_CEU_H__ */