Lines Matching refs:filp
586 ssize_t cx18_v4l2_read(struct file *filp, char __user *buf, size_t count, in cx18_v4l2_read() argument
589 struct cx18_open_id *id = file2id(filp); in cx18_v4l2_read()
605 filp->f_flags & O_NONBLOCK); in cx18_v4l2_read()
608 return cx18_read_pos(s, buf, count, pos, filp->f_flags & O_NONBLOCK); in cx18_v4l2_read()
611 unsigned int cx18_v4l2_enc_poll(struct file *filp, poll_table *wait) in cx18_v4l2_enc_poll() argument
614 struct cx18_open_id *id = file2id(filp); in cx18_v4l2_enc_poll()
638 int videobuf_poll = videobuf_poll_stream(filp, &s->vbuf_q, wait); in cx18_v4l2_enc_poll()
652 poll_wait(filp, &s->waitq, wait); in cx18_v4l2_enc_poll()
754 int cx18_v4l2_close(struct file *filp) in cx18_v4l2_close() argument
756 struct v4l2_fh *fh = filp->private_data; in cx18_v4l2_close()
766 v4l2_fh_is_singular_file(filp)) { in cx18_v4l2_close()
796 static int cx18_serialized_open(struct cx18_stream *s, struct file *filp) in cx18_serialized_open() argument
815 filp->private_data = &item->fh; in cx18_serialized_open()
819 v4l2_fh_is_singular_file(filp)) { in cx18_serialized_open()
845 int cx18_v4l2_open(struct file *filp) in cx18_v4l2_open() argument
848 struct video_device *video_dev = video_devdata(filp); in cx18_v4l2_open()
859 res = cx18_serialized_open(s, filp); in cx18_v4l2_open()