mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-25 00:15:18 +07:00
3b6fe58f0f
cx18: convert driver to use video_ioctl2(). Pushed down ioctl debug messages and priority checks as well. Still left serialization lock in place for now. #if 0'ed out sliced vbi ioctl code for now. Patch heavily based on similar changes made to ivtv by Hans Verkuil. Signed-off-by: Andy Walls <awalls@radix.net> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
33 lines
1.4 KiB
C
33 lines
1.4 KiB
C
/*
|
|
* cx18 ioctl system call
|
|
*
|
|
* Derived from ivtv-ioctl.h
|
|
*
|
|
* Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
|
|
* 02111-1307 USA
|
|
*/
|
|
|
|
u16 cx18_service2vbi(int type);
|
|
void cx18_expand_service_set(struct v4l2_sliced_vbi_format *fmt, int is_pal);
|
|
u16 cx18_get_service_set(struct v4l2_sliced_vbi_format *fmt);
|
|
void cx18_set_funcs(struct video_device *vdev);
|
|
int cx18_s_std(struct file *file, void *fh, v4l2_std_id *std);
|
|
int cx18_s_frequency(struct file *file, void *fh, struct v4l2_frequency *vf);
|
|
int cx18_s_input(struct file *file, void *fh, unsigned int inp);
|
|
int cx18_v4l2_ioctl(struct inode *inode, struct file *filp, unsigned int cmd,
|
|
unsigned long arg);
|