2 * Support for Medifield PNW Camera Imaging ISP subsystem.
4 * Copyright (c) 2010 Intel Corporation. All Rights Reserved.
6 * Copyright (c) 2010 Silicon Hive www.siliconhive.com.
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License version
10 * 2 as published by the Free Software Foundation.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
24 #ifndef __ATOMISP_TPG_H__
25 #define __ATOMISP_TPG_H__
27 #include <media/media-entity.h>
28 #include <media/v4l2-subdev.h>
30 struct atomisp_tpg_device {
31 struct v4l2_subdev sd;
32 struct atomisp_device *isp;
33 struct media_pad pads[1];
36 void atomisp_tpg_cleanup(struct atomisp_device *isp);
37 int atomisp_tpg_init(struct atomisp_device *isp);
38 void atomisp_tpg_unregister_entities(struct atomisp_tpg_device *tpg);
39 int atomisp_tpg_register_entities(struct atomisp_tpg_device *tpg,
40 struct v4l2_device *vdev);
42 #endif /* __ATOMISP_TPG_H__ */