Lines Matching refs:file

356 int v4l2_m2m_reqbufs(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,  in v4l2_m2m_reqbufs()  argument
371 int v4l2_m2m_querybuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_querybuf() argument
400 int v4l2_m2m_qbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_qbuf() argument
419 int v4l2_m2m_dqbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_dqbuf() argument
425 return vb2_dqbuf(vq, buf, file->f_flags & O_NONBLOCK); in v4l2_m2m_dqbuf()
433 int v4l2_m2m_create_bufs(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_create_bufs() argument
447 int v4l2_m2m_expbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_expbuf() argument
459 int v4l2_m2m_streamon(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_streamon() argument
477 int v4l2_m2m_streamoff(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_streamoff() argument
525 unsigned int v4l2_m2m_poll(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_poll() argument
528 struct video_device *vfd = video_devdata(file); in v4l2_m2m_poll()
536 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_poll()
541 poll_wait(file, &fh->wait, wait); in v4l2_m2m_poll()
566 poll_wait(file, &src_q->done_wq, wait); in v4l2_m2m_poll()
568 poll_wait(file, &dst_q->done_wq, wait); in v4l2_m2m_poll()
612 int v4l2_m2m_mmap(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_mmap() argument
761 int v4l2_m2m_ioctl_reqbufs(struct file *file, void *priv, in v4l2_m2m_ioctl_reqbufs() argument
764 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_reqbufs()
766 return v4l2_m2m_reqbufs(file, fh->m2m_ctx, rb); in v4l2_m2m_ioctl_reqbufs()
770 int v4l2_m2m_ioctl_create_bufs(struct file *file, void *priv, in v4l2_m2m_ioctl_create_bufs() argument
773 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_create_bufs()
775 return v4l2_m2m_create_bufs(file, fh->m2m_ctx, create); in v4l2_m2m_ioctl_create_bufs()
779 int v4l2_m2m_ioctl_querybuf(struct file *file, void *priv, in v4l2_m2m_ioctl_querybuf() argument
782 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_querybuf()
784 return v4l2_m2m_querybuf(file, fh->m2m_ctx, buf); in v4l2_m2m_ioctl_querybuf()
788 int v4l2_m2m_ioctl_qbuf(struct file *file, void *priv, in v4l2_m2m_ioctl_qbuf() argument
791 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_qbuf()
793 return v4l2_m2m_qbuf(file, fh->m2m_ctx, buf); in v4l2_m2m_ioctl_qbuf()
797 int v4l2_m2m_ioctl_dqbuf(struct file *file, void *priv, in v4l2_m2m_ioctl_dqbuf() argument
800 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_dqbuf()
802 return v4l2_m2m_dqbuf(file, fh->m2m_ctx, buf); in v4l2_m2m_ioctl_dqbuf()
806 int v4l2_m2m_ioctl_expbuf(struct file *file, void *priv, in v4l2_m2m_ioctl_expbuf() argument
809 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_expbuf()
811 return v4l2_m2m_expbuf(file, fh->m2m_ctx, eb); in v4l2_m2m_ioctl_expbuf()
815 int v4l2_m2m_ioctl_streamon(struct file *file, void *priv, in v4l2_m2m_ioctl_streamon() argument
818 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_streamon()
820 return v4l2_m2m_streamon(file, fh->m2m_ctx, type); in v4l2_m2m_ioctl_streamon()
824 int v4l2_m2m_ioctl_streamoff(struct file *file, void *priv, in v4l2_m2m_ioctl_streamoff() argument
827 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_streamoff()
829 return v4l2_m2m_streamoff(file, fh->m2m_ctx, type); in v4l2_m2m_ioctl_streamoff()
838 int v4l2_m2m_fop_mmap(struct file *file, struct vm_area_struct *vma) in v4l2_m2m_fop_mmap() argument
840 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_fop_mmap()
847 ret = v4l2_m2m_mmap(file, m2m_ctx, vma); in v4l2_m2m_fop_mmap()
856 unsigned int v4l2_m2m_fop_poll(struct file *file, poll_table *wait) in v4l2_m2m_fop_poll() argument
858 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_fop_poll()
865 ret = v4l2_m2m_poll(file, m2m_ctx, wait); in v4l2_m2m_fop_poll()