1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Support for Medifield PNW Camera Imaging ISP subsystem.
5 * Copyright (c) 2010 Intel Corporation. All Rights Reserved.
7 * Copyright (c) 2010 Silicon Hive www.siliconhive.com.
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.
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.
21 #ifndef __ATOMISP_FILE_H__
22 #define __ATOMISP_FILE_H__
24 #include <media/media-entity.h>
25 #include <media/v4l2-subdev.h>
27 struct atomisp_device;
29 struct atomisp_file_device {
30 struct v4l2_subdev sd;
31 struct atomisp_device *isp;
32 struct media_pad pads[1];
34 struct workqueue_struct *work_queue;
35 struct work_struct work;
38 void atomisp_file_input_cleanup(struct atomisp_device *isp);
39 int atomisp_file_input_init(struct atomisp_device *isp);
40 void atomisp_file_input_unregister_entities(
41 struct atomisp_file_device *file_dev);
42 int atomisp_file_input_register_entities(struct atomisp_file_device *file_dev,
43 struct v4l2_device *vdev);
44 #endif /* __ATOMISP_FILE_H__ */