treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / media / pci / ivtv / ivtv-ioctl.h
blob42c2516379fcbbd0640820ab0e3abe9bf00b57ea
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 ioctl system call
4 Copyright (C) 2003-2004 Kevin Thayer <nufan_wfk at yahoo.com>
5 Copyright (C) 2005-2007 Hans Verkuil <hverkuil@xs4all.nl>
7 */
9 #ifndef IVTV_IOCTL_H
10 #define IVTV_IOCTL_H
12 u16 ivtv_service2vbi(int type);
13 void ivtv_expand_service_set(struct v4l2_sliced_vbi_format *fmt, int is_pal);
14 u16 ivtv_get_service_set(struct v4l2_sliced_vbi_format *fmt);
15 void ivtv_set_osd_alpha(struct ivtv *itv);
16 int ivtv_set_speed(struct ivtv *itv, int speed);
17 void ivtv_set_funcs(struct video_device *vdev);
18 void ivtv_s_std_enc(struct ivtv *itv, v4l2_std_id std);
19 void ivtv_s_std_dec(struct ivtv *itv, v4l2_std_id std);
20 int ivtv_s_frequency(struct file *file, void *fh, const struct v4l2_frequency *vf);
21 int ivtv_s_input(struct file *file, void *fh, unsigned int inp);
23 #endif