perf tools: Don't clone maps from parent when synthesizing forks
[linux/fpc-iii.git] / drivers / media / pci / cx18 / cx18-gpio.h
blob0274a17a88372491898f614e16b6b143a15144e2
1 /*
2 * cx18 gpio functions
4 * Derived from ivtv-gpio.h
6 * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl>
7 * Copyright (C) 2008 Andy Walls <awalls@md.metrocast.net>
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
20 void cx18_gpio_init(struct cx18 *cx);
21 int cx18_gpio_register(struct cx18 *cx, u32 hw);
23 enum cx18_gpio_reset_type {
24 CX18_GPIO_RESET_I2C = 0,
25 CX18_GPIO_RESET_Z8F0811 = 1,
26 CX18_GPIO_RESET_XC2028 = 2,
29 void cx18_reset_ir_gpio(void *data);
30 int cx18_reset_tuner_gpio(void *dev, int component, int cmd, int value);