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 20 #ifndef _CX23885_IOCTL_H_ 21 #define _CX23885_IOCTL_H_ 22 23 int cx23885_g_chip_info(struct file *file, void *fh, 24 struct v4l2_dbg_chip_info *chip); 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, 32 const struct v4l2_dbg_register *reg); 33 34 #endif 35 #endif 36