1 /*
2  *  Driver for the Conexant CX23885/7/8 PCIe bridge
3  *
4  *  Various common ioctl() support functions
5  *
6  *  Copyright (c) 2009 Andy Walls <awalls@md.metrocast.net>
7  *
8  *  This program is free software; you can redistribute it and/or modify
9  *  it under the terms of the GNU General Public License as published by
10  *  the Free Software Foundation; either version 2 of the License, or
11  *  (at your option) any later version.
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  *
17  *  GNU General Public License for more details.
18  *
19  *  You should have received a copy of the GNU General Public License
20  *  along with this program; if not, write to the Free Software
21  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22  */
23 
24 #ifndef _CX23885_IOCTL_H_
25 #define _CX23885_IOCTL_H_
26 
27 int cx23885_g_chip_info(struct file *file, void *fh,
28 			 struct v4l2_dbg_chip_info *chip);
29 
30 #ifdef CONFIG_VIDEO_ADV_DEBUG
31 int cx23885_g_register(struct file *file, void *fh,
32 		       struct v4l2_dbg_register *reg);
33 
34 
35 int cx23885_s_register(struct file *file, void *fh,
36 		       const struct v4l2_dbg_register *reg);
37 
38 #endif
39 #endif
40