]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - drivers/media/video/cx18/cx18-ioctl.h
V4L/DVB (10135): v4l2: introduce v4l2_file_operations.
[mirror_ubuntu-bionic-kernel.git] / drivers / media / video / cx18 / cx18-ioctl.h
1 /*
2 * cx18 ioctl system call
3 *
4 * Derived from ivtv-ioctl.h
5 *
6 * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl>
7 * Copyright (C) 2008 Andy Walls <awalls@radix.net>
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
22 * 02111-1307 USA
23 */
24
25 u16 cx18_service2vbi(int type);
26 void cx18_expand_service_set(struct v4l2_sliced_vbi_format *fmt, int is_pal);
27 u16 cx18_get_service_set(struct v4l2_sliced_vbi_format *fmt);
28 void cx18_set_funcs(struct video_device *vdev);
29 int cx18_s_std(struct file *file, void *fh, v4l2_std_id *std);
30 int cx18_s_frequency(struct file *file, void *fh, struct v4l2_frequency *vf);
31 int cx18_s_input(struct file *file, void *fh, unsigned int inp);
32 int cx18_v4l2_ioctl(struct file *filp, unsigned int cmd,
33 unsigned long arg);