Lines Matching defs:file

532 static int s3c_camif_open(struct file *file)
534 struct camif_vp *vp = video_drvdata(file);
544 ret = v4l2_fh_open(file);
558 v4l2_fh_release(file);
564 static int s3c_camif_close(struct file *file)
566 struct camif_vp *vp = video_drvdata(file);
575 if (vp->owner == file->private_data) {
584 ret = v4l2_fh_release(file);
590 static __poll_t s3c_camif_poll(struct file *file,
593 struct camif_vp *vp = video_drvdata(file);
598 if (vp->owner && vp->owner != file->private_data)
601 ret = vb2_poll(&vp->vb_queue, file, wait);
607 static int s3c_camif_mmap(struct file *file, struct vm_area_struct *vma)
609 struct camif_vp *vp = video_drvdata(file);
612 if (vp->owner && vp->owner != file->private_data)
633 static int s3c_camif_vidioc_querycap(struct file *file, void *priv,
636 struct camif_vp *vp = video_drvdata(file);
645 static int s3c_camif_vidioc_enum_input(struct file *file, void *priv,
648 struct camif_vp *vp = video_drvdata(file);
659 static int s3c_camif_vidioc_s_input(struct file *file, void *priv,
665 static int s3c_camif_vidioc_g_input(struct file *file, void *priv,
672 static int s3c_camif_vidioc_enum_fmt(struct file *file, void *priv,
675 struct camif_vp *vp = video_drvdata(file);
686 static int s3c_camif_vidioc_g_fmt(struct file *file, void *priv,
689 struct camif_vp *vp = video_drvdata(file);
757 static int s3c_camif_vidioc_try_fmt(struct file *file, void *priv,
760 struct camif_vp *vp = video_drvdata(file);
764 static int s3c_camif_vidioc_s_fmt(struct file *file, void *priv,
768 struct camif_vp *vp = video_drvdata(file);
831 static int s3c_camif_streamon(struct file *file, void *priv,
834 struct camif_vp *vp = video_drvdata(file);
863 static int s3c_camif_streamoff(struct file *file, void *priv,
866 struct camif_vp *vp = video_drvdata(file);
884 static int s3c_camif_reqbufs(struct file *file, void *priv,
887 struct camif_vp *vp = video_drvdata(file);
918 static int s3c_camif_querybuf(struct file *file, void *priv,
921 struct camif_vp *vp = video_drvdata(file);
925 static int s3c_camif_qbuf(struct file *file, void *priv,
928 struct camif_vp *vp = video_drvdata(file);
938 static int s3c_camif_dqbuf(struct file *file, void *priv,
941 struct camif_vp *vp = video_drvdata(file);
948 return vb2_dqbuf(&vp->vb_queue, buf, file->f_flags & O_NONBLOCK);
951 static int s3c_camif_create_bufs(struct file *file, void *priv,
954 struct camif_vp *vp = video_drvdata(file);
969 static int s3c_camif_prepare_buf(struct file *file, void *priv,
972 struct camif_vp *vp = video_drvdata(file);
976 static int s3c_camif_g_selection(struct file *file, void *priv,
979 struct camif_vp *vp = video_drvdata(file);
1013 static int s3c_camif_s_selection(struct file *file, void *priv,
1016 struct camif_vp *vp = video_drvdata(file);