xref: /OK3568_Linux_fs/kernel/drivers/media/pci/cx23885/cx23885-ioctl.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0-or-later */
2*4882a593Smuzhiyun /*
3*4882a593Smuzhiyun  *  Driver for the Conexant CX23885/7/8 PCIe bridge
4*4882a593Smuzhiyun  *
5*4882a593Smuzhiyun  *  Various common ioctl() support functions
6*4882a593Smuzhiyun  *
7*4882a593Smuzhiyun  *  Copyright (c) 2009 Andy Walls <awalls@md.metrocast.net>
8*4882a593Smuzhiyun  */
9*4882a593Smuzhiyun 
10*4882a593Smuzhiyun #ifndef _CX23885_IOCTL_H_
11*4882a593Smuzhiyun #define _CX23885_IOCTL_H_
12*4882a593Smuzhiyun 
13*4882a593Smuzhiyun int cx23885_g_chip_info(struct file *file, void *fh,
14*4882a593Smuzhiyun 			 struct v4l2_dbg_chip_info *chip);
15*4882a593Smuzhiyun 
16*4882a593Smuzhiyun #ifdef CONFIG_VIDEO_ADV_DEBUG
17*4882a593Smuzhiyun int cx23885_g_register(struct file *file, void *fh,
18*4882a593Smuzhiyun 		       struct v4l2_dbg_register *reg);
19*4882a593Smuzhiyun 
20*4882a593Smuzhiyun 
21*4882a593Smuzhiyun int cx23885_s_register(struct file *file, void *fh,
22*4882a593Smuzhiyun 		       const struct v4l2_dbg_register *reg);
23*4882a593Smuzhiyun 
24*4882a593Smuzhiyun #endif
25*4882a593Smuzhiyun #endif
26