]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blob - drivers/staging/media/atomisp/pci/atomisp2/atomisp_tpg.h
staging/atomisp: Add support for the Intel IPU v2
[mirror_ubuntu-hirsute-kernel.git] / drivers / staging / media / atomisp / pci / atomisp2 / atomisp_tpg.h
1 /*
2 * Support for Medifield PNW Camera Imaging ISP subsystem.
3 *
4 * Copyright (c) 2010 Intel Corporation. All Rights Reserved.
5 *
6 * Copyright (c) 2010 Silicon Hive www.siliconhive.com.
7 *
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.
11 *
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.
16 *
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
20 * 02110-1301, USA.
21 *
22 */
23
24 #ifndef __ATOMISP_TPG_H__
25 #define __ATOMISP_TPG_H__
26
27 #include <media/media-entity.h>
28 #include <media/v4l2-subdev.h>
29
30 struct atomisp_tpg_device {
31 struct v4l2_subdev sd;
32 struct atomisp_device *isp;
33 struct media_pad pads[1];
34 };
35
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);
41
42 #endif /* __ATOMISP_TPG_H__ */