xref: /linux/drivers/media/pci/cx18/cx18-ioctl.h (revision 314527acbbb3f33f72c2ef19d8cfabcada9912a5)
1b285192aSMauro Carvalho Chehab /*
2b285192aSMauro Carvalho Chehab  *  cx18 ioctl system call
3b285192aSMauro Carvalho Chehab  *
4b285192aSMauro Carvalho Chehab  *  Derived from ivtv-ioctl.h
5b285192aSMauro Carvalho Chehab  *
6b285192aSMauro Carvalho Chehab  *  Copyright (C) 2007  Hans Verkuil <hverkuil@xs4all.nl>
7b285192aSMauro Carvalho Chehab  *  Copyright (C) 2008  Andy Walls <awalls@md.metrocast.net>
8b285192aSMauro Carvalho Chehab  *
9b285192aSMauro Carvalho Chehab  *  This program is free software; you can redistribute it and/or modify
10b285192aSMauro Carvalho Chehab  *  it under the terms of the GNU General Public License as published by
11b285192aSMauro Carvalho Chehab  *  the Free Software Foundation; either version 2 of the License, or
12b285192aSMauro Carvalho Chehab  *  (at your option) any later version.
13b285192aSMauro Carvalho Chehab  *
14b285192aSMauro Carvalho Chehab  *  This program is distributed in the hope that it will be useful,
15b285192aSMauro Carvalho Chehab  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
16b285192aSMauro Carvalho Chehab  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
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., 59 Temple Place, Suite 330, Boston, MA
22b285192aSMauro Carvalho Chehab  *  02111-1307  USA
23b285192aSMauro Carvalho Chehab  */
24b285192aSMauro Carvalho Chehab 
25b285192aSMauro Carvalho Chehab u16 cx18_service2vbi(int type);
26b285192aSMauro Carvalho Chehab void cx18_expand_service_set(struct v4l2_sliced_vbi_format *fmt, int is_pal);
27b285192aSMauro Carvalho Chehab u16 cx18_get_service_set(struct v4l2_sliced_vbi_format *fmt);
28b285192aSMauro Carvalho Chehab void cx18_set_funcs(struct video_device *vdev);
29*314527acSHans Verkuil int cx18_s_std(struct file *file, void *fh, v4l2_std_id std);
30b530a447SHans Verkuil int cx18_s_frequency(struct file *file, void *fh, const struct v4l2_frequency *vf);
31b285192aSMauro Carvalho Chehab int cx18_s_input(struct file *file, void *fh, unsigned int inp);
32