sh_mobile_ceu.h 866 B

123456789101112131415161718192021222324252627282930
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef __ASM_SH_MOBILE_CEU_H__
  3. #define __ASM_SH_MOBILE_CEU_H__
  4. #define SH_CEU_FLAG_USE_8BIT_BUS (1 << 0) /* use 8bit bus width */
  5. #define SH_CEU_FLAG_USE_16BIT_BUS (1 << 1) /* use 16bit bus width */
  6. #define SH_CEU_FLAG_HSYNC_LOW (1 << 2) /* default High if possible */
  7. #define SH_CEU_FLAG_VSYNC_LOW (1 << 3) /* default High if possible */
  8. #define SH_CEU_FLAG_LOWER_8BIT (1 << 4) /* default upper 8bit */
  9. struct device;
  10. struct resource;
  11. struct sh_mobile_ceu_companion {
  12. u32 num_resources;
  13. struct resource *resource;
  14. int id;
  15. void *platform_data;
  16. };
  17. struct sh_mobile_ceu_info {
  18. unsigned long flags;
  19. int max_width;
  20. int max_height;
  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__ */