11a0adaf37c30e89e44d1470ef604a930999a5826Hans Verkuil/*
21a0adaf37c30e89e44d1470ef604a930999a5826Hans Verkuil    gpio functions.
31a0adaf37c30e89e44d1470ef604a930999a5826Hans Verkuil    Copyright (C) 2004  Chris Kennedy <c@groovy.org>
41a0adaf37c30e89e44d1470ef604a930999a5826Hans Verkuil    Copyright (C) 2005-2007  Hans Verkuil <hverkuil@xs4all.nl>
51a0adaf37c30e89e44d1470ef604a930999a5826Hans Verkuil
61a0adaf37c30e89e44d1470ef604a930999a5826Hans Verkuil    This program is free software; you can redistribute it and/or modify
71a0adaf37c30e89e44d1470ef604a930999a5826Hans Verkuil    it under the terms of the GNU General Public License as published by
81a0adaf37c30e89e44d1470ef604a930999a5826Hans Verkuil    the Free Software Foundation; either version 2 of the License, or
91a0adaf37c30e89e44d1470ef604a930999a5826Hans Verkuil    (at your option) any later version.
101a0adaf37c30e89e44d1470ef604a930999a5826Hans Verkuil
111a0adaf37c30e89e44d1470ef604a930999a5826Hans Verkuil    This program is distributed in the hope that it will be useful,
121a0adaf37c30e89e44d1470ef604a930999a5826Hans Verkuil    but WITHOUT ANY WARRANTY; without even the implied warranty of
131a0adaf37c30e89e44d1470ef604a930999a5826Hans Verkuil    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
141a0adaf37c30e89e44d1470ef604a930999a5826Hans Verkuil    GNU General Public License for more details.
151a0adaf37c30e89e44d1470ef604a930999a5826Hans Verkuil
161a0adaf37c30e89e44d1470ef604a930999a5826Hans Verkuil    You should have received a copy of the GNU General Public License
171a0adaf37c30e89e44d1470ef604a930999a5826Hans Verkuil    along with this program; if not, write to the Free Software
181a0adaf37c30e89e44d1470ef604a930999a5826Hans Verkuil    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
191a0adaf37c30e89e44d1470ef604a930999a5826Hans Verkuil */
201a0adaf37c30e89e44d1470ef604a930999a5826Hans Verkuil
21612570f2c4794bbf4e5bfa8648b61fbfc9cd8501Hans Verkuil#ifndef IVTV_GPIO_H
22612570f2c4794bbf4e5bfa8648b61fbfc9cd8501Hans Verkuil#define IVTV_GPIO_H
23612570f2c4794bbf4e5bfa8648b61fbfc9cd8501Hans Verkuil
241a0adaf37c30e89e44d1470ef604a930999a5826Hans Verkuil/* GPIO stuff */
2567ec09fdf5e05d4670b617256c696348b5df080bHans Verkuilint ivtv_gpio_init(struct ivtv *itv);
261a0adaf37c30e89e44d1470ef604a930999a5826Hans Verkuilvoid ivtv_reset_ir_gpio(struct ivtv *itv);
27d7cba043d7ec840d67bd5143779d1febe7d83407Michael Krufkyint ivtv_reset_tuner_gpio(void *dev, int component, int cmd, int value);
28612570f2c4794bbf4e5bfa8648b61fbfc9cd8501Hans Verkuil
29612570f2c4794bbf4e5bfa8648b61fbfc9cd8501Hans Verkuil#endif
30