Andy Walls | 7461824 | 2009-09-26 22:50:44 -0300 | [diff] [blame] | 1 | /* |
| 2 | * Driver for the Conexant CX23885/7/8 PCIe bridge |
| 3 | * |
| 4 | * Various common ioctl() support functions |
| 5 | * |
Andy Walls | 6afdeaf | 2010-05-23 18:53:35 -0300 | [diff] [blame] | 6 | * Copyright (c) 2009 Andy Walls <awalls@md.metrocast.net> |
Andy Walls | 7461824 | 2009-09-26 22:50:44 -0300 | [diff] [blame] | 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. |
Andy Walls | 7461824 | 2009-09-26 22:50:44 -0300 | [diff] [blame] | 18 | */ |
| 19 | |
| 20 | #ifndef _CX23885_IOCTL_H_ |
| 21 | #define _CX23885_IOCTL_H_ |
| 22 | |
Hans Verkuil | 80f8568 | 2013-05-29 06:59:39 -0300 | [diff] [blame] | 23 | int cx23885_g_chip_info(struct file *file, void *fh, |
| 24 | struct v4l2_dbg_chip_info *chip); |
Andy Walls | 7461824 | 2009-09-26 22:50:44 -0300 | [diff] [blame] | 25 | |
| 26 | #ifdef CONFIG_VIDEO_ADV_DEBUG |
| 27 | int cx23885_g_register(struct file *file, void *fh, |
| 28 | struct v4l2_dbg_register *reg); |
| 29 | |
| 30 | |
| 31 | int cx23885_s_register(struct file *file, void *fh, |
Hans Verkuil | 977ba3b | 2013-03-24 08:28:46 -0300 | [diff] [blame] | 32 | const struct v4l2_dbg_register *reg); |
Andy Walls | 7461824 | 2009-09-26 22:50:44 -0300 | [diff] [blame] | 33 | |
| 34 | #endif |
| 35 | #endif |