Lines Matching refs:fh
53 if (s->fh == &id->fh) { in ivtv_claim_stream()
57 if (s->fh == NULL && (type == IVTV_DEC_STREAM_TYPE_VBI || in ivtv_claim_stream()
62 s->fh = &id->fh; in ivtv_claim_stream()
70 s->fh = &id->fh; in ivtv_claim_stream()
108 s->fh = NULL; in ivtv_release_stream()
140 if (s_vbi->fh) { in ivtv_release_stream()
364 if (atomic_read(&itv->capturing) == 0 && s->fh == NULL) { in ivtv_read()
745 if (!list_empty(&id->fh.subscribed)) { in ivtv_v4l2_dec_poll()
746 poll_wait(filp, &id->fh.wait, wait); in ivtv_v4l2_dec_poll()
749 if (v4l2_event_pending(&id->fh)) in ivtv_v4l2_dec_poll()
796 if (v4l2_event_pending(&id->fh)) in ivtv_v4l2_enc_poll()
799 poll_wait(filp, &id->fh.wait, wait); in ivtv_v4l2_enc_poll()
834 s->fh = NULL; in ivtv_stop_capture()
880 struct v4l2_fh *fh = filp->private_data; in ivtv_v4l2_close() local
881 struct ivtv_open_id *id = fh2id(fh); in ivtv_v4l2_close()
914 v4l2_fh_del(fh); in ivtv_v4l2_close()
915 v4l2_fh_exit(fh); in ivtv_v4l2_close()
918 if (s->fh != &id->fh) in ivtv_v4l2_close()
998 v4l2_fh_init(&item->fh, &s->vdev);
1002 filp->private_data = &item->fh;
1003 v4l2_fh_add(&item->fh);
1011 v4l2_fh_del(&item->fh);
1012 v4l2_fh_exit(&item->fh);