Lines Matching refs:fh

309 static int ivtv_g_fmt_sliced_vbi_out(struct file *file, void *fh, struct v4l2_format *fmt)  in ivtv_g_fmt_sliced_vbi_out()  argument
311 struct ivtv *itv = fh2id(fh)->itv; in ivtv_g_fmt_sliced_vbi_out()
331 static int ivtv_g_fmt_vid_cap(struct file *file, void *fh, struct v4l2_format *fmt) in ivtv_g_fmt_vid_cap() argument
333 struct ivtv_open_id *id = fh2id(fh); in ivtv_g_fmt_vid_cap()
354 static int ivtv_g_fmt_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt) in ivtv_g_fmt_vbi_cap() argument
356 struct ivtv *itv = fh2id(fh)->itv; in ivtv_g_fmt_vbi_cap()
372 static int ivtv_g_fmt_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt) in ivtv_g_fmt_sliced_vbi_cap() argument
375 struct ivtv_open_id *id = fh2id(fh); in ivtv_g_fmt_sliced_vbi_cap()
395 static int ivtv_g_fmt_vid_out(struct file *file, void *fh, struct v4l2_format *fmt) in ivtv_g_fmt_vid_out() argument
397 struct ivtv_open_id *id = fh2id(fh); in ivtv_g_fmt_vid_out()
435 static int ivtv_g_fmt_vid_out_overlay(struct file *file, void *fh, struct v4l2_format *fmt) in ivtv_g_fmt_vid_out_overlay() argument
437 struct ivtv *itv = fh2id(fh)->itv; in ivtv_g_fmt_vid_out_overlay()
438 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_g_fmt_vid_out_overlay()
457 static int ivtv_try_fmt_sliced_vbi_out(struct file *file, void *fh, struct v4l2_format *fmt) in ivtv_try_fmt_sliced_vbi_out() argument
459 return ivtv_g_fmt_sliced_vbi_out(file, fh, fmt); in ivtv_try_fmt_sliced_vbi_out()
462 static int ivtv_try_fmt_vid_cap(struct file *file, void *fh, struct v4l2_format *fmt) in ivtv_try_fmt_vid_cap() argument
464 struct ivtv_open_id *id = fh2id(fh); in ivtv_try_fmt_vid_cap()
479 ivtv_g_fmt_vid_cap(file, fh, fmt); in ivtv_try_fmt_vid_cap()
485 static int ivtv_try_fmt_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt) in ivtv_try_fmt_vbi_cap() argument
487 return ivtv_g_fmt_vbi_cap(file, fh, fmt); in ivtv_try_fmt_vbi_cap()
490 static int ivtv_try_fmt_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt) in ivtv_try_fmt_sliced_vbi_cap() argument
493 struct ivtv_open_id *id = fh2id(fh); in ivtv_try_fmt_sliced_vbi_cap()
497 return ivtv_g_fmt_sliced_vbi_cap(file, fh, fmt); in ivtv_try_fmt_sliced_vbi_cap()
511 static int ivtv_try_fmt_vid_out(struct file *file, void *fh, struct v4l2_format *fmt) in ivtv_try_fmt_vid_out() argument
513 struct ivtv_open_id *id = fh2id(fh); in ivtv_try_fmt_vid_out()
517 int ret = ivtv_g_fmt_vid_out(file, fh, fmt); in ivtv_try_fmt_vid_out()
545 static int ivtv_try_fmt_vid_out_overlay(struct file *file, void *fh, struct v4l2_format *fmt) in ivtv_try_fmt_vid_out_overlay() argument
547 struct ivtv *itv = fh2id(fh)->itv; in ivtv_try_fmt_vid_out_overlay()
548 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_try_fmt_vid_out_overlay()
556 ivtv_g_fmt_vid_out_overlay(file, fh, fmt); in ivtv_try_fmt_vid_out_overlay()
562 static int ivtv_s_fmt_sliced_vbi_out(struct file *file, void *fh, struct v4l2_format *fmt) in ivtv_s_fmt_sliced_vbi_out() argument
564 return ivtv_g_fmt_sliced_vbi_out(file, fh, fmt); in ivtv_s_fmt_sliced_vbi_out()
567 static int ivtv_s_fmt_vid_cap(struct file *file, void *fh, struct v4l2_format *fmt) in ivtv_s_fmt_vid_cap() argument
569 struct ivtv_open_id *id = fh2id(fh); in ivtv_s_fmt_vid_cap()
574 int ret = ivtv_try_fmt_vid_cap(file, fh, fmt); in ivtv_s_fmt_vid_cap()
595 return ivtv_g_fmt_vid_cap(file, fh, fmt); in ivtv_s_fmt_vid_cap()
598 static int ivtv_s_fmt_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt) in ivtv_s_fmt_vbi_cap() argument
600 struct ivtv *itv = fh2id(fh)->itv; in ivtv_s_fmt_vbi_cap()
607 return ivtv_g_fmt_vbi_cap(file, fh, fmt); in ivtv_s_fmt_vbi_cap()
610 static int ivtv_s_fmt_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt) in ivtv_s_fmt_sliced_vbi_cap() argument
613 struct ivtv_open_id *id = fh2id(fh); in ivtv_s_fmt_sliced_vbi_cap()
615 int ret = ivtv_try_fmt_sliced_vbi_cap(file, fh, fmt); in ivtv_s_fmt_sliced_vbi_cap()
629 static int ivtv_s_fmt_vid_out(struct file *file, void *fh, struct v4l2_format *fmt) in ivtv_s_fmt_vid_out() argument
631 struct ivtv_open_id *id = fh2id(fh); in ivtv_s_fmt_vid_out()
634 int ret = ivtv_try_fmt_vid_out(file, fh, fmt); in ivtv_s_fmt_vid_out()
674 static int ivtv_s_fmt_vid_out_overlay(struct file *file, void *fh, struct v4l2_format *fmt) in ivtv_s_fmt_vid_out_overlay() argument
676 struct ivtv *itv = fh2id(fh)->itv; in ivtv_s_fmt_vid_out_overlay()
677 int ret = ivtv_try_fmt_vid_out_overlay(file, fh, fmt); in ivtv_s_fmt_vid_out_overlay()
711 static int ivtv_g_register(struct file *file, void *fh, struct v4l2_dbg_register *reg) in ivtv_g_register() argument
713 struct ivtv *itv = fh2id(fh)->itv; in ivtv_g_register()
719 static int ivtv_s_register(struct file *file, void *fh, const struct v4l2_dbg_register *reg) in ivtv_s_register() argument
721 struct ivtv *itv = fh2id(fh)->itv; in ivtv_s_register()
728 static int ivtv_querycap(struct file *file, void *fh, struct v4l2_capability *vcap) in ivtv_querycap() argument
739 static int ivtv_enumaudio(struct file *file, void *fh, struct v4l2_audio *vin) in ivtv_enumaudio() argument
741 struct ivtv *itv = fh2id(fh)->itv; in ivtv_enumaudio()
746 static int ivtv_g_audio(struct file *file, void *fh, struct v4l2_audio *vin) in ivtv_g_audio() argument
748 struct ivtv *itv = fh2id(fh)->itv; in ivtv_g_audio()
754 static int ivtv_s_audio(struct file *file, void *fh, const struct v4l2_audio *vout) in ivtv_s_audio() argument
756 struct ivtv *itv = fh2id(fh)->itv; in ivtv_s_audio()
767 static int ivtv_enumaudout(struct file *file, void *fh, struct v4l2_audioout *vin) in ivtv_enumaudout() argument
769 struct ivtv *itv = fh2id(fh)->itv; in ivtv_enumaudout()
775 static int ivtv_g_audout(struct file *file, void *fh, struct v4l2_audioout *vin) in ivtv_g_audout() argument
777 struct ivtv *itv = fh2id(fh)->itv; in ivtv_g_audout()
783 static int ivtv_s_audout(struct file *file, void *fh, const struct v4l2_audioout *vout) in ivtv_s_audout() argument
785 struct ivtv *itv = fh2id(fh)->itv; in ivtv_s_audout()
792 static int ivtv_enum_input(struct file *file, void *fh, struct v4l2_input *vin) in ivtv_enum_input() argument
794 struct ivtv *itv = fh2id(fh)->itv; in ivtv_enum_input()
800 static int ivtv_enum_output(struct file *file, void *fh, struct v4l2_output *vout) in ivtv_enum_output() argument
802 struct ivtv *itv = fh2id(fh)->itv; in ivtv_enum_output()
807 static int ivtv_g_pixelaspect(struct file *file, void *fh, in ivtv_g_pixelaspect() argument
810 struct ivtv_open_id *id = fh2id(fh); in ivtv_g_pixelaspect()
825 static int ivtv_s_selection(struct file *file, void *fh, in ivtv_s_selection() argument
828 struct ivtv_open_id *id = fh2id(fh); in ivtv_s_selection()
868 static int ivtv_g_selection(struct file *file, void *fh, in ivtv_g_selection() argument
871 struct ivtv_open_id *id = fh2id(fh); in ivtv_g_selection()
914 static int ivtv_enum_fmt_vid_cap(struct file *file, void *fh, struct v4l2_fmtdesc *fmt) in ivtv_enum_fmt_vid_cap() argument
927 struct ivtv *itv = fh2id(fh)->itv; in ivtv_enum_fmt_vid_cap()
928 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_enum_fmt_vid_cap()
941 static int ivtv_enum_fmt_vid_out(struct file *file, void *fh, struct v4l2_fmtdesc *fmt) in ivtv_enum_fmt_vid_out() argument
954 struct ivtv *itv = fh2id(fh)->itv; in ivtv_enum_fmt_vid_out()
955 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_enum_fmt_vid_out()
968 static int ivtv_g_input(struct file *file, void *fh, unsigned int *i) in ivtv_g_input() argument
970 struct ivtv *itv = fh2id(fh)->itv; in ivtv_g_input()
977 int ivtv_s_input(struct file *file, void *fh, unsigned int inp) in ivtv_s_input() argument
979 struct ivtv *itv = fh2id(fh)->itv; in ivtv_s_input()
1020 static int ivtv_g_output(struct file *file, void *fh, unsigned int *i) in ivtv_g_output() argument
1022 struct ivtv *itv = fh2id(fh)->itv; in ivtv_g_output()
1032 static int ivtv_s_output(struct file *file, void *fh, unsigned int outp) in ivtv_s_output() argument
1034 struct ivtv *itv = fh2id(fh)->itv; in ivtv_s_output()
1054 static int ivtv_g_frequency(struct file *file, void *fh, struct v4l2_frequency *vf) in ivtv_g_frequency() argument
1056 struct ivtv *itv = fh2id(fh)->itv; in ivtv_g_frequency()
1057 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_g_frequency()
1068 int ivtv_s_frequency(struct file *file, void *fh, const struct v4l2_frequency *vf) in ivtv_s_frequency() argument
1070 struct ivtv *itv = fh2id(fh)->itv; in ivtv_s_frequency()
1071 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_s_frequency()
1085 static int ivtv_g_std(struct file *file, void *fh, v4l2_std_id *std) in ivtv_g_std() argument
1087 struct ivtv *itv = fh2id(fh)->itv; in ivtv_g_std()
1158 static int ivtv_s_std(struct file *file, void *fh, v4l2_std_id std) in ivtv_s_std() argument
1160 struct ivtv *itv = fh2id(fh)->itv; in ivtv_s_std()
1186 static int ivtv_s_tuner(struct file *file, void *fh, const struct v4l2_tuner *vt) in ivtv_s_tuner() argument
1188 struct ivtv_open_id *id = fh2id(fh); in ivtv_s_tuner()
1199 static int ivtv_g_tuner(struct file *file, void *fh, struct v4l2_tuner *vt) in ivtv_g_tuner() argument
1201 struct ivtv *itv = fh2id(fh)->itv; in ivtv_g_tuner()
1215 static int ivtv_g_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_sliced_vbi_cap *cap) in ivtv_g_sliced_vbi_cap() argument
1217 struct ivtv *itv = fh2id(fh)->itv; in ivtv_g_sliced_vbi_cap()
1250 static int ivtv_g_enc_index(struct file *file, void *fh, struct v4l2_enc_idx *idx) in ivtv_g_enc_index() argument
1252 struct ivtv *itv = fh2id(fh)->itv; in ivtv_g_enc_index()
1276 static int ivtv_encoder_cmd(struct file *file, void *fh, struct v4l2_encoder_cmd *enc) in ivtv_encoder_cmd() argument
1278 struct ivtv_open_id *id = fh2id(fh); in ivtv_encoder_cmd()
1328 static int ivtv_try_encoder_cmd(struct file *file, void *fh, struct v4l2_encoder_cmd *enc) in ivtv_try_encoder_cmd() argument
1330 struct ivtv *itv = fh2id(fh)->itv; in ivtv_try_encoder_cmd()
1358 static int ivtv_g_fbuf(struct file *file, void *fh, struct v4l2_framebuffer *fb) in ivtv_g_fbuf() argument
1360 struct ivtv *itv = fh2id(fh)->itv; in ivtv_g_fbuf()
1361 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_g_fbuf()
1445 static int ivtv_s_fbuf(struct file *file, void *fh, const struct v4l2_framebuffer *fb) in ivtv_s_fbuf() argument
1447 struct ivtv_open_id *id = fh2id(fh); in ivtv_s_fbuf()
1449 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_s_fbuf()
1466 static int ivtv_overlay(struct file *file, void *fh, unsigned int on) in ivtv_overlay() argument
1468 struct ivtv_open_id *id = fh2id(fh); in ivtv_overlay()
1470 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_overlay()
1482 static int ivtv_subscribe_event(struct v4l2_fh *fh, const struct v4l2_event_subscription *sub) in ivtv_subscribe_event() argument
1487 return v4l2_event_subscribe(fh, sub, 0, NULL); in ivtv_subscribe_event()
1489 return v4l2_ctrl_subscribe_event(fh, sub); in ivtv_subscribe_event()
1493 static int ivtv_log_status(struct file *file, void *fh) in ivtv_log_status() argument
1495 struct ivtv *itv = fh2id(fh)->itv; in ivtv_log_status()
1585 static int ivtv_decoder_cmd(struct file *file, void *fh, struct v4l2_decoder_cmd *dec) in ivtv_decoder_cmd() argument
1594 static int ivtv_try_decoder_cmd(struct file *file, void *fh, struct v4l2_decoder_cmd *dec) in ivtv_try_decoder_cmd() argument
1645 static long ivtv_default(struct file *file, void *fh, bool valid_prio, in ivtv_default() argument
1648 struct ivtv *itv = fh2id(fh)->itv; in ivtv_default()