1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Samsung EXYNOS4x12 FIMC-IS (Imaging Subsystem) driver
5 * Copyright (C) 2013 Samsung Electronics Co., Ltd.
6 * Sylwester Nawrocki <s.nawrocki@samsung.com>
8 #ifndef FIMC_ISP_VIDEO__
9 #define FIMC_ISP_VIDEO__
11 #include <media/videobuf2-v4l2.h>
14 #ifdef CONFIG_VIDEO_EXYNOS4_ISP_DMA_CAPTURE
15 int fimc_isp_video_device_register(struct fimc_isp
*isp
,
16 struct v4l2_device
*v4l2_dev
,
17 enum v4l2_buf_type type
);
19 void fimc_isp_video_device_unregister(struct fimc_isp
*isp
,
20 enum v4l2_buf_type type
);
22 void fimc_isp_video_irq_handler(struct fimc_is
*is
);
24 static inline void fimc_isp_video_irq_handler(struct fimc_is
*is
)
28 static inline int fimc_isp_video_device_register(struct fimc_isp
*isp
,
29 struct v4l2_device
*v4l2_dev
,
30 enum v4l2_buf_type type
)
35 void fimc_isp_video_device_unregister(struct fimc_isp
*isp
,
36 enum v4l2_buf_type type
)
39 #endif /* !CONFIG_VIDEO_EXYNOS4_ISP_DMA_CAPTURE */
41 #endif /* FIMC_ISP_VIDEO__ */