blob: 413129004a89bbb3978c1cbe931b10232d54fe32 [file] [log] [blame]
Hans Verkuil1c1e45d2008-04-28 20:24:33 -03001/*
2 * cx18 ioctl system call
3 *
4 * Derived from ivtv-ioctl.h
5 *
6 * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl>
Andy Walls6afdeaf2010-05-23 18:53:35 -03007 * Copyright (C) 2008 Andy Walls <awalls@md.metrocast.net>
Hans Verkuil1c1e45d2008-04-28 20:24:33 -03008 *
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.
Hans Verkuil1c1e45d2008-04-28 20:24:33 -030018 */
19
Mauro Carvalho Chehabaed6abd2008-04-29 21:38:51 -030020u16 cx18_service2vbi(int type);
21void cx18_expand_service_set(struct v4l2_sliced_vbi_format *fmt, int is_pal);
22u16 cx18_get_service_set(struct v4l2_sliced_vbi_format *fmt);
Andy Walls3b6fe58f2008-06-21 08:36:31 -030023void cx18_set_funcs(struct video_device *vdev);
Hans Verkuil314527a2013-03-15 06:10:40 -030024int cx18_s_std(struct file *file, void *fh, v4l2_std_id std);
Hans Verkuilb530a442013-03-19 04:09:26 -030025int cx18_s_frequency(struct file *file, void *fh, const struct v4l2_frequency *vf);
Andy Walls3b6fe58f2008-06-21 08:36:31 -030026int cx18_s_input(struct file *file, void *fh, unsigned int inp);