Lines Matching refs:file
356 int v4l2_m2m_reqbufs(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_reqbufs() argument
367 vq->owner = reqbufs->count ? file->private_data : NULL; in v4l2_m2m_reqbufs()
378 int v4l2_m2m_querybuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_querybuf() argument
407 int v4l2_m2m_qbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_qbuf() argument
426 int v4l2_m2m_dqbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_dqbuf() argument
432 return vb2_dqbuf(vq, buf, file->f_flags & O_NONBLOCK); in v4l2_m2m_dqbuf()
440 int v4l2_m2m_prepare_buf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_prepare_buf() argument
459 int v4l2_m2m_create_bufs(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_create_bufs() argument
473 int v4l2_m2m_expbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_expbuf() argument
485 int v4l2_m2m_streamon(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_streamon() argument
503 int v4l2_m2m_streamoff(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_streamoff() argument
551 unsigned int v4l2_m2m_poll(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_poll() argument
554 struct video_device *vfd = video_devdata(file); in v4l2_m2m_poll()
562 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_poll()
567 poll_wait(file, &fh->wait, wait); in v4l2_m2m_poll()
588 poll_wait(file, &src_q->done_wq, wait); in v4l2_m2m_poll()
602 poll_wait(file, &dst_q->done_wq, wait); in v4l2_m2m_poll()
639 int v4l2_m2m_mmap(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_mmap() argument
790 int v4l2_m2m_ioctl_reqbufs(struct file *file, void *priv, in v4l2_m2m_ioctl_reqbufs() argument
793 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_reqbufs()
795 return v4l2_m2m_reqbufs(file, fh->m2m_ctx, rb); in v4l2_m2m_ioctl_reqbufs()
799 int v4l2_m2m_ioctl_create_bufs(struct file *file, void *priv, in v4l2_m2m_ioctl_create_bufs() argument
802 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_create_bufs()
804 return v4l2_m2m_create_bufs(file, fh->m2m_ctx, create); in v4l2_m2m_ioctl_create_bufs()
808 int v4l2_m2m_ioctl_querybuf(struct file *file, void *priv, in v4l2_m2m_ioctl_querybuf() argument
811 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_querybuf()
813 return v4l2_m2m_querybuf(file, fh->m2m_ctx, buf); in v4l2_m2m_ioctl_querybuf()
817 int v4l2_m2m_ioctl_qbuf(struct file *file, void *priv, in v4l2_m2m_ioctl_qbuf() argument
820 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_qbuf()
822 return v4l2_m2m_qbuf(file, fh->m2m_ctx, buf); in v4l2_m2m_ioctl_qbuf()
826 int v4l2_m2m_ioctl_dqbuf(struct file *file, void *priv, in v4l2_m2m_ioctl_dqbuf() argument
829 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_dqbuf()
831 return v4l2_m2m_dqbuf(file, fh->m2m_ctx, buf); in v4l2_m2m_ioctl_dqbuf()
835 int v4l2_m2m_ioctl_prepare_buf(struct file *file, void *priv, in v4l2_m2m_ioctl_prepare_buf() argument
838 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_prepare_buf()
840 return v4l2_m2m_prepare_buf(file, fh->m2m_ctx, buf); in v4l2_m2m_ioctl_prepare_buf()
844 int v4l2_m2m_ioctl_expbuf(struct file *file, void *priv, in v4l2_m2m_ioctl_expbuf() argument
847 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_expbuf()
849 return v4l2_m2m_expbuf(file, fh->m2m_ctx, eb); in v4l2_m2m_ioctl_expbuf()
853 int v4l2_m2m_ioctl_streamon(struct file *file, void *priv, in v4l2_m2m_ioctl_streamon() argument
856 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_streamon()
858 return v4l2_m2m_streamon(file, fh->m2m_ctx, type); in v4l2_m2m_ioctl_streamon()
862 int v4l2_m2m_ioctl_streamoff(struct file *file, void *priv, in v4l2_m2m_ioctl_streamoff() argument
865 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_streamoff()
867 return v4l2_m2m_streamoff(file, fh->m2m_ctx, type); in v4l2_m2m_ioctl_streamoff()
876 int v4l2_m2m_fop_mmap(struct file *file, struct vm_area_struct *vma) in v4l2_m2m_fop_mmap() argument
878 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_fop_mmap()
880 return v4l2_m2m_mmap(file, fh->m2m_ctx, vma); in v4l2_m2m_fop_mmap()
884 unsigned int v4l2_m2m_fop_poll(struct file *file, poll_table *wait) in v4l2_m2m_fop_poll() argument
886 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_fop_poll()
893 ret = v4l2_m2m_poll(file, m2m_ctx, wait); in v4l2_m2m_fop_poll()