2 *************************************************************************
3 * Rockchip driver for CIF ISP 1.0
4 * (Based on Intel driver for sofiaxxx)
6 * Copyright (C) 2015 Intel Mobile Communications GmbH
7 * Copyright (C) 2016 Fuzhou Rockchip Electronics Co., Ltd.
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 of the License, or
13 * (at your option) any later version.
14 *************************************************************************
17 #ifndef _CIF_ISP10_IMG_SRC_V4L2_SUBDEV_H
18 #define _CIF_ISP10_IMG_SRC_V4L2_SUBDEV_H
20 #define CIF_ISP10_IMG_SRC_V4L2_I2C_SUBDEV "v4l2-i2c-subdev"
22 void *cif_isp10_img_src_v4l2_i2c_subdev_to_img_src(
24 struct pltfrm_soc_cfg *soc_cfg);
26 int cif_isp10_img_src_v4l2_subdev_s_streaming(
30 int cif_isp10_img_src_v4l2_subdev_s_power(
34 int cif_isp10_img_src_v4l2_subdev_enum_strm_fmts(
37 struct cif_isp10_strm_fmt_desc *strm_fmt_desc);
39 int cif_isp10_img_src_v4l2_subdev_s_strm_fmt(
41 struct cif_isp10_strm_fmt *strm_fmt);
43 int cif_isp10_img_src_v4l2_subdev_g_ctrl(
48 int cif_isp10_img_src_v4l2_subdev_s_ctrl(
53 const char *cif_isp10_img_src_v4l2_subdev_g_name(
56 int cif_isp10_img_src_v4l2_subdev_s_ext_ctrls(
58 struct cif_isp10_img_src_ext_ctrl *ctrl);
60 long cif_isp10_img_src_v4l2_subdev_ioctl(