xilinx-vipp.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Xilinx Video IP Composite Device
  4. *
  5. * Copyright (C) 2013-2015 Ideas on Board
  6. * Copyright (C) 2013-2015 Xilinx, Inc.
  7. *
  8. * Contacts: Hyun Kwon <[email protected]>
  9. * Laurent Pinchart <[email protected]>
  10. */
  11. #ifndef __XILINX_VIPP_H__
  12. #define __XILINX_VIPP_H__
  13. #include <linux/list.h>
  14. #include <linux/mutex.h>
  15. #include <media/media-device.h>
  16. #include <media/v4l2-async.h>
  17. #include <media/v4l2-ctrls.h>
  18. #include <media/v4l2-device.h>
  19. /**
  20. * struct xvip_composite_device - Xilinx Video IP device structure
  21. * @v4l2_dev: V4L2 device
  22. * @media_dev: media device
  23. * @dev: (OF) device
  24. * @notifier: V4L2 asynchronous subdevs notifier
  25. * @dmas: list of DMA channels at the pipeline output and input
  26. * @v4l2_caps: V4L2 capabilities of the whole device (see VIDIOC_QUERYCAP)
  27. */
  28. struct xvip_composite_device {
  29. struct v4l2_device v4l2_dev;
  30. struct media_device media_dev;
  31. struct device *dev;
  32. struct v4l2_async_notifier notifier;
  33. struct list_head dmas;
  34. u32 v4l2_caps;
  35. };
  36. #endif /* __XILINX_VIPP_H__ */