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_TPG_H__ 22#define __ATOMISP_TPG_H__ 23 24#include <media/media-entity.h> 25#include <media/v4l2-subdev.h> 26 27struct atomisp_tpg_device { 28 struct v4l2_subdev sd; 29 struct atomisp_device *isp; 30 struct media_pad pads[1]; 31}; 32 33void atomisp_tpg_cleanup(struct atomisp_device *isp); 34int atomisp_tpg_init(struct atomisp_device *isp); 35void atomisp_tpg_unregister_entities(struct atomisp_tpg_device *tpg); 36int atomisp_tpg_register_entities(struct atomisp_tpg_device *tpg, 37 struct v4l2_device *vdev); 38 39#endif /* __ATOMISP_TPG_H__ */ 40