1*1a59d1b8SThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-or-later */ 2b285192aSMauro Carvalho Chehab /* 3b285192aSMauro Carvalho Chehab ioctl system call 4b285192aSMauro Carvalho Chehab Copyright (C) 2003-2004 Kevin Thayer <nufan_wfk at yahoo.com> 5b285192aSMauro Carvalho Chehab Copyright (C) 2005-2007 Hans Verkuil <hverkuil@xs4all.nl> 6b285192aSMauro Carvalho Chehab 7b285192aSMauro Carvalho Chehab */ 8b285192aSMauro Carvalho Chehab 9b285192aSMauro Carvalho Chehab #ifndef IVTV_IOCTL_H 10b285192aSMauro Carvalho Chehab #define IVTV_IOCTL_H 11b285192aSMauro Carvalho Chehab 12b285192aSMauro Carvalho Chehab u16 ivtv_service2vbi(int type); 13b285192aSMauro Carvalho Chehab void ivtv_expand_service_set(struct v4l2_sliced_vbi_format *fmt, int is_pal); 14b285192aSMauro Carvalho Chehab u16 ivtv_get_service_set(struct v4l2_sliced_vbi_format *fmt); 15b285192aSMauro Carvalho Chehab void ivtv_set_osd_alpha(struct ivtv *itv); 16b285192aSMauro Carvalho Chehab int ivtv_set_speed(struct ivtv *itv, int speed); 17b285192aSMauro Carvalho Chehab void ivtv_set_funcs(struct video_device *vdev); 18314527acSHans Verkuil void ivtv_s_std_enc(struct ivtv *itv, v4l2_std_id std); 19314527acSHans Verkuil void ivtv_s_std_dec(struct ivtv *itv, v4l2_std_id std); 20b530a447SHans Verkuil int ivtv_s_frequency(struct file *file, void *fh, const struct v4l2_frequency *vf); 21b285192aSMauro Carvalho Chehab int ivtv_s_input(struct file *file, void *fh, unsigned int inp); 22b285192aSMauro Carvalho Chehab 23b285192aSMauro Carvalho Chehab #endif 24