• Home
  • Raw
  • Download

Lines Matching refs:vfh

303 isp_video_check_format(struct isp_video *video, struct isp_video_fh *vfh)  in isp_video_check_format()  argument
308 memcpy(&format, &vfh->format, sizeof(format)); in isp_video_check_format()
313 if (vfh->format.fmt.pix.pixelformat != format.fmt.pix.pixelformat || in isp_video_check_format()
314 vfh->format.fmt.pix.height != format.fmt.pix.height || in isp_video_check_format()
315 vfh->format.fmt.pix.width != format.fmt.pix.width || in isp_video_check_format()
316 vfh->format.fmt.pix.bytesperline != format.fmt.pix.bytesperline || in isp_video_check_format()
317 vfh->format.fmt.pix.sizeimage != format.fmt.pix.sizeimage || in isp_video_check_format()
318 vfh->format.fmt.pix.field != format.fmt.pix.field) in isp_video_check_format()
332 struct isp_video_fh *vfh = vb2_get_drv_priv(queue); in isp_video_queue_setup() local
333 struct isp_video *video = vfh->video; in isp_video_queue_setup()
337 sizes[0] = vfh->format.fmt.pix.sizeimage; in isp_video_queue_setup()
349 struct isp_video_fh *vfh = vb2_get_drv_priv(buf->vb2_queue); in isp_video_buffer_prepare() local
351 struct isp_video *video = vfh->video; in isp_video_buffer_prepare()
371 vfh->format.fmt.pix.sizeimage); in isp_video_buffer_prepare()
389 struct isp_video_fh *vfh = vb2_get_drv_priv(buf->vb2_queue); in isp_video_buffer_queue() local
391 struct isp_video *video = vfh->video; in isp_video_buffer_queue()
460 struct isp_video_fh *vfh = vb2_get_drv_priv(queue); in isp_video_start_streaming() local
461 struct isp_video *video = vfh->video; in isp_video_start_streaming()
667 struct isp_video_fh *vfh = to_isp_video_fh(fh); in isp_video_get_format() local
674 *format = vfh->format; in isp_video_get_format()
683 struct isp_video_fh *vfh = to_isp_video_fh(fh); in isp_video_set_format() local
732 vfh->format = *format; in isp_video_set_format()
866 struct isp_video_fh *vfh = to_isp_video_fh(fh); in isp_video_get_param() local
876 a->parm.output.timeperframe = vfh->timeperframe; in isp_video_get_param()
884 struct isp_video_fh *vfh = to_isp_video_fh(fh); in isp_video_set_param() local
894 vfh->timeperframe = a->parm.output.timeperframe; in isp_video_set_param()
902 struct isp_video_fh *vfh = to_isp_video_fh(fh); in isp_video_reqbufs() local
907 ret = vb2_reqbufs(&vfh->queue, rb); in isp_video_reqbufs()
916 struct isp_video_fh *vfh = to_isp_video_fh(fh); in isp_video_querybuf() local
921 ret = vb2_querybuf(&vfh->queue, b); in isp_video_querybuf()
930 struct isp_video_fh *vfh = to_isp_video_fh(fh); in isp_video_qbuf() local
935 ret = vb2_qbuf(&vfh->queue, video->video.v4l2_dev->mdev, b); in isp_video_qbuf()
944 struct isp_video_fh *vfh = to_isp_video_fh(fh); in isp_video_dqbuf() local
949 ret = vb2_dqbuf(&vfh->queue, b, file->f_flags & O_NONBLOCK); in isp_video_dqbuf()
1081 struct isp_video_fh *vfh = to_isp_video_fh(fh); in isp_video_streamon() local
1114 ret = isp_video_check_format(video, vfh); in isp_video_streamon()
1119 video->bpl_value = vfh->format.fmt.pix.bytesperline; in isp_video_streamon()
1146 pipe->max_timeperframe = vfh->timeperframe; in isp_video_streamon()
1148 video->queue = &vfh->queue; in isp_video_streamon()
1151 pipe->field = vfh->format.fmt.pix.field; in isp_video_streamon()
1154 ret = vb2_streamon(&vfh->queue, type); in isp_video_streamon()
1188 struct isp_video_fh *vfh = to_isp_video_fh(fh); in isp_video_streamoff() local
1202 streaming = vb2_is_streaming(&vfh->queue); in isp_video_streamoff()
1225 vb2_streamoff(&vfh->queue, type); in isp_video_streamoff()
1304 v4l2_fh_init(&handle->vfh, &video->video); in isp_video_open()
1305 v4l2_fh_add(&handle->vfh); in isp_video_open()
1340 file->private_data = &handle->vfh; in isp_video_open()
1344 v4l2_fh_del(&handle->vfh); in isp_video_open()
1345 v4l2_fh_exit(&handle->vfh); in isp_video_open()
1355 struct v4l2_fh *vfh = file->private_data; in isp_video_release() local
1356 struct isp_video_fh *handle = to_isp_video_fh(vfh); in isp_video_release()
1359 isp_video_streamoff(file, vfh, video->type); in isp_video_release()
1368 v4l2_fh_del(vfh); in isp_video_release()
1369 v4l2_fh_exit(vfh); in isp_video_release()
1380 struct isp_video_fh *vfh = to_isp_video_fh(file->private_data); in isp_video_poll() local
1385 ret = vb2_poll(&vfh->queue, file, wait); in isp_video_poll()
1393 struct isp_video_fh *vfh = to_isp_video_fh(file->private_data); in isp_video_mmap() local
1395 return vb2_mmap(&vfh->queue, vma); in isp_video_mmap()