/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (c) 2011-2018 Magewell Electronics Co., Ltd. (Nanjing) * Author: Yong Deng <[email protected]> * Copyright 2021-2022 Bootlin * Author: Paul Kocialkowski <[email protected]> */ #ifndef _SUN6I_CSI_H_ #define _SUN6I_CSI_H_ #include <media/v4l2-device.h> #include <media/videobuf2-v4l2.h> #include "sun6i_csi_bridge.h" #include "sun6i_csi_capture.h" #define SUN6I_CSI_NAME … #define SUN6I_CSI_DESCRIPTION … enum sun6i_csi_port { … }; struct sun6i_csi_buffer { … }; struct sun6i_csi_v4l2 { … }; struct sun6i_csi_device { … }; struct sun6i_csi_variant { … }; /* ISP */ int sun6i_csi_isp_complete(struct sun6i_csi_device *csi_dev, struct v4l2_device *v4l2_dev); #endif