1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 3 * Support for Medifield PNW Camera Imaging ISP subsystem. 4 * 5 * Copyright (c) 2010 Intel Corporation. All Rights Reserved. 6 * 7 * Copyright (c) 2010 Silicon Hive www.siliconhive.com. 8 * 9 * This program is free software; you can redistribute it and/or 10 * modify it under the terms of the GNU General Public License version 11 * 2 as published by the Free Software Foundation. 12 * 13 * This program is distributed in the hope that it will be useful, 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 * GNU General Public License for more details. 17 * 18 * 19 */ 20 21 #ifndef __ATOMISP_V4L2_H__ 22 #define __ATOMISP_V4L2_H__ 23 24 struct atomisp_video_pipe; 25 struct atomisp_acc_pipe; 26 struct v4l2_device; 27 struct atomisp_device; 28 struct firmware; 29 30 int atomisp_video_init(struct atomisp_video_pipe *video, const char *name, 31 unsigned int run_mode); 32 void atomisp_acc_init(struct atomisp_acc_pipe *video, const char *name); 33 void atomisp_video_unregister(struct atomisp_video_pipe *video); 34 void atomisp_acc_unregister(struct atomisp_acc_pipe *video); 35 const struct firmware *atomisp_load_firmware(struct atomisp_device *isp); 36 int atomisp_csi_lane_config(struct atomisp_device *isp); 37 38 #endif /* __ATOMISP_V4L2_H__ */ 39