Lines Matching refs:vfh

304 isp_video_check_format(struct isp_video *video, struct isp_video_fh *vfh)  in isp_video_check_format()  argument
309 memcpy(&format, &vfh->format, sizeof(format)); in isp_video_check_format()
314 if (vfh->format.fmt.pix.pixelformat != format.fmt.pix.pixelformat || in isp_video_check_format()
315 vfh->format.fmt.pix.height != format.fmt.pix.height || in isp_video_check_format()
316 vfh->format.fmt.pix.width != format.fmt.pix.width || in isp_video_check_format()
317 vfh->format.fmt.pix.bytesperline != format.fmt.pix.bytesperline || in isp_video_check_format()
318 vfh->format.fmt.pix.sizeimage != format.fmt.pix.sizeimage || in isp_video_check_format()
319 vfh->format.fmt.pix.field != format.fmt.pix.field) in isp_video_check_format()
333 struct isp_video_fh *vfh = vb2_get_drv_priv(queue); in isp_video_queue_setup() local
334 struct isp_video *video = vfh->video; in isp_video_queue_setup()
338 sizes[0] = vfh->format.fmt.pix.sizeimage; in isp_video_queue_setup()
350 struct isp_video_fh *vfh = vb2_get_drv_priv(buf->vb2_queue); in isp_video_buffer_prepare() local
352 struct isp_video *video = vfh->video; in isp_video_buffer_prepare()
372 vfh->format.fmt.pix.sizeimage); in isp_video_buffer_prepare()
390 struct isp_video_fh *vfh = vb2_get_drv_priv(buf->vb2_queue); in isp_video_buffer_queue() local
392 struct isp_video *video = vfh->video; in isp_video_buffer_queue()
461 struct isp_video_fh *vfh = vb2_get_drv_priv(queue); in isp_video_start_streaming() local
462 struct isp_video *video = vfh->video; in isp_video_start_streaming()
668 struct isp_video_fh *vfh = to_isp_video_fh(fh); in isp_video_get_format() local
675 *format = vfh->format; in isp_video_get_format()
684 struct isp_video_fh *vfh = to_isp_video_fh(fh); in isp_video_set_format() local
733 vfh->format = *format; in isp_video_set_format()
867 struct isp_video_fh *vfh = to_isp_video_fh(fh); in isp_video_get_param() local
877 a->parm.output.timeperframe = vfh->timeperframe; in isp_video_get_param()
885 struct isp_video_fh *vfh = to_isp_video_fh(fh); in isp_video_set_param() local
895 vfh->timeperframe = a->parm.output.timeperframe; in isp_video_set_param()
903 struct isp_video_fh *vfh = to_isp_video_fh(fh); in isp_video_reqbufs() local
908 ret = vb2_reqbufs(&vfh->queue, rb); in isp_video_reqbufs()
917 struct isp_video_fh *vfh = to_isp_video_fh(fh); in isp_video_querybuf() local
922 ret = vb2_querybuf(&vfh->queue, b); in isp_video_querybuf()
931 struct isp_video_fh *vfh = to_isp_video_fh(fh); in isp_video_qbuf() local
936 ret = vb2_qbuf(&vfh->queue, video->video.v4l2_dev->mdev, b); in isp_video_qbuf()
945 struct isp_video_fh *vfh = to_isp_video_fh(fh); in isp_video_dqbuf() local
950 ret = vb2_dqbuf(&vfh->queue, b, file->f_flags & O_NONBLOCK); in isp_video_dqbuf()
1082 struct isp_video_fh *vfh = to_isp_video_fh(fh); in isp_video_streamon() local
1115 ret = isp_video_check_format(video, vfh); in isp_video_streamon()
1120 video->bpl_value = vfh->format.fmt.pix.bytesperline; in isp_video_streamon()
1147 pipe->max_timeperframe = vfh->timeperframe; in isp_video_streamon()
1149 video->queue = &vfh->queue; in isp_video_streamon()
1152 pipe->field = vfh->format.fmt.pix.field; in isp_video_streamon()
1155 ret = vb2_streamon(&vfh->queue, type); in isp_video_streamon()
1189 struct isp_video_fh *vfh = to_isp_video_fh(fh); in isp_video_streamoff() local
1203 streaming = vb2_is_streaming(&vfh->queue); in isp_video_streamoff()
1226 vb2_streamoff(&vfh->queue, type); in isp_video_streamoff()
1305 v4l2_fh_init(&handle->vfh, &video->video); in isp_video_open()
1306 v4l2_fh_add(&handle->vfh); in isp_video_open()
1341 file->private_data = &handle->vfh; in isp_video_open()
1345 v4l2_fh_del(&handle->vfh); in isp_video_open()
1346 v4l2_fh_exit(&handle->vfh); in isp_video_open()
1356 struct v4l2_fh *vfh = file->private_data; in isp_video_release() local
1357 struct isp_video_fh *handle = to_isp_video_fh(vfh); in isp_video_release()
1360 isp_video_streamoff(file, vfh, video->type); in isp_video_release()
1369 v4l2_fh_del(vfh); in isp_video_release()
1370 v4l2_fh_exit(vfh); in isp_video_release()
1381 struct isp_video_fh *vfh = to_isp_video_fh(file->private_data); in isp_video_poll() local
1386 ret = vb2_poll(&vfh->queue, file, wait); in isp_video_poll()
1394 struct isp_video_fh *vfh = to_isp_video_fh(file->private_data); in isp_video_mmap() local
1396 return vb2_mmap(&vfh->queue, vma); in isp_video_mmap()