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