1b285192aSMauro Carvalho Chehab /* 2b285192aSMauro Carvalho Chehab * Driver for the Conexant CX23885/7/8 PCIe bridge 3b285192aSMauro Carvalho Chehab * 4b285192aSMauro Carvalho Chehab * Various common ioctl() support functions 5b285192aSMauro Carvalho Chehab * 6b285192aSMauro Carvalho Chehab * Copyright (c) 2009 Andy Walls <awalls@md.metrocast.net> 7b285192aSMauro Carvalho Chehab * 8b285192aSMauro Carvalho Chehab * This program is free software; you can redistribute it and/or modify 9b285192aSMauro Carvalho Chehab * it under the terms of the GNU General Public License as published by 10b285192aSMauro Carvalho Chehab * the Free Software Foundation; either version 2 of the License, or 11b285192aSMauro Carvalho Chehab * (at your option) any later version. 12b285192aSMauro Carvalho Chehab * 13b285192aSMauro Carvalho Chehab * This program is distributed in the hope that it will be useful, 14b285192aSMauro Carvalho Chehab * but WITHOUT ANY WARRANTY; without even the implied warranty of 15b285192aSMauro Carvalho Chehab * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16b285192aSMauro Carvalho Chehab * 17b285192aSMauro Carvalho Chehab * GNU General Public License for more details. 18b285192aSMauro Carvalho Chehab * 19b285192aSMauro Carvalho Chehab * You should have received a copy of the GNU General Public License 20b285192aSMauro Carvalho Chehab * along with this program; if not, write to the Free Software 21b285192aSMauro Carvalho Chehab * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 22b285192aSMauro Carvalho Chehab */ 23b285192aSMauro Carvalho Chehab 24b285192aSMauro Carvalho Chehab #ifndef _CX23885_IOCTL_H_ 25b285192aSMauro Carvalho Chehab #define _CX23885_IOCTL_H_ 26b285192aSMauro Carvalho Chehab 27b285192aSMauro Carvalho Chehab int cx23885_g_chip_ident(struct file *file, void *fh, 28b285192aSMauro Carvalho Chehab struct v4l2_dbg_chip_ident *chip); 29b285192aSMauro Carvalho Chehab 30b285192aSMauro Carvalho Chehab #ifdef CONFIG_VIDEO_ADV_DEBUG 31b285192aSMauro Carvalho Chehab int cx23885_g_register(struct file *file, void *fh, 32b285192aSMauro Carvalho Chehab struct v4l2_dbg_register *reg); 33b285192aSMauro Carvalho Chehab 34b285192aSMauro Carvalho Chehab 35b285192aSMauro Carvalho Chehab int cx23885_s_register(struct file *file, void *fh, 36977ba3b1SHans Verkuil const struct v4l2_dbg_register *reg); 37b285192aSMauro Carvalho Chehab 38b285192aSMauro Carvalho Chehab #endif 39b285192aSMauro Carvalho Chehab #endif 40