Path: blob/master/drivers/media/video/cx18/cx18-ioctl.h
17722 views
/*1* cx18 ioctl system call2*3* Derived from ivtv-ioctl.h4*5* Copyright (C) 2007 Hans Verkuil <[email protected]>6* Copyright (C) 2008 Andy Walls <[email protected]>7*8* This program is free software; you can redistribute it and/or modify9* it under the terms of the GNU General Public License as published by10* the Free Software Foundation; either version 2 of the License, or11* (at your option) any later version.12*13* This program is distributed in the hope that it will be useful,14* but WITHOUT ANY WARRANTY; without even the implied warranty of15* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the16* GNU General Public License for more details.17*18* You should have received a copy of the GNU General Public License19* along with this program; if not, write to the Free Software20* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA21* 02111-1307 USA22*/2324u16 cx18_service2vbi(int type);25void cx18_expand_service_set(struct v4l2_sliced_vbi_format *fmt, int is_pal);26u16 cx18_get_service_set(struct v4l2_sliced_vbi_format *fmt);27void cx18_set_funcs(struct video_device *vdev);28int cx18_s_std(struct file *file, void *fh, v4l2_std_id *std);29int cx18_s_frequency(struct file *file, void *fh, struct v4l2_frequency *vf);30int cx18_s_input(struct file *file, void *fh, unsigned int inp);31long cx18_v4l2_ioctl(struct file *filp, unsigned int cmd,32unsigned long arg);333435