Home
last modified time | relevance | path

Searched refs:vb_vidq (Results 1 – 17 of 17) sorted by relevance

/drivers/media/video/
Dtimblogiw.c65 struct videobuf_queue vb_vidq; member
222 if (videobuf_queue_is_busy(&fh->vb_vidq)) { in timblogiw_s_fmt()
293 return videobuf_reqbufs(&fh->vb_vidq, rb); in timblogiw_reqbufs()
304 return videobuf_querybuf(&fh->vb_vidq, b); in timblogiw_querybuf()
314 return videobuf_qbuf(&fh->vb_vidq, b); in timblogiw_qbuf()
325 return videobuf_dqbuf(&fh->vb_vidq, b, file->f_flags & O_NONBLOCK); in timblogiw_dqbuf()
420 return videobuf_streamon(&fh->vb_vidq); in timblogiw_streamon()
434 return videobuf_streamoff(&fh->vb_vidq); in timblogiw_streamoff()
680 videobuf_queue_dma_contig_init(&fh->vb_vidq, in timblogiw_open()
700 videobuf_stop(&fh->vb_vidq); in timblogiw_close()
[all …]
Dvivi.c202 struct vb2_queue vb_vidq; member
906 struct vb2_queue *q = &dev->vb_vidq; in vidioc_s_fmt_vid_cap()
929 return vb2_reqbufs(&dev->vb_vidq, p); in vidioc_reqbufs()
935 return vb2_querybuf(&dev->vb_vidq, p); in vidioc_querybuf()
941 return vb2_qbuf(&dev->vb_vidq, p); in vidioc_qbuf()
947 return vb2_dqbuf(&dev->vb_vidq, p, file->f_flags & O_NONBLOCK); in vidioc_dqbuf()
953 return vb2_streamon(&dev->vb_vidq, i); in vidioc_streamon()
959 return vb2_streamoff(&dev->vb_vidq, i); in vidioc_streamoff()
1034 return vb2_read(&dev->vb_vidq, data, count, ppos, in vivi_read()
1043 struct vb2_queue *q = &dev->vb_vidq; in vivi_poll()
[all …]
Dzr364xx.c199 struct videobuf_queue vb_vidq; member
486 return videobuf_read_one(&cam->vb_vidq, buf, count, ppos, in zr364xx_read()
925 struct videobuf_queue *q = &cam->vb_vidq; in zr364xx_vidioc_s_fmt_vid_cap()
935 if (videobuf_queue_is_busy(&cam->vb_vidq)) { in zr364xx_vidioc_s_fmt_vid_cap()
955 cam->vb_vidq.field = f->fmt.pix.field; in zr364xx_vidioc_s_fmt_vid_cap()
1022 rc = videobuf_reqbufs(&cam->vb_vidq, p); in zr364xx_vidioc_reqbufs()
1032 rc = videobuf_querybuf(&cam->vb_vidq, p); in zr364xx_vidioc_querybuf()
1043 rc = videobuf_qbuf(&cam->vb_vidq, p); in zr364xx_vidioc_qbuf()
1054 rc = videobuf_dqbuf(&cam->vb_vidq, p, file->f_flags & O_NONBLOCK); in zr364xx_vidioc_dqbuf()
1232 res = videobuf_streamon(&cam->vb_vidq); in zr364xx_vidioc_streamon()
[all …]
Dfsl-viu.c199 struct videobuf_queue vb_vidq; member
634 f->fmt.pix.field = fh->vb_vidq.field; in vidioc_g_fmt_cap()
698 fh->vb_vidq.field = f->fmt.pix.field; in vidioc_s_fmt_cap()
893 return videobuf_reqbufs(&fh->vb_vidq, p); in vidioc_reqbufs()
901 return videobuf_querybuf(&fh->vb_vidq, p); in vidioc_querybuf()
908 return videobuf_qbuf(&fh->vb_vidq, p); in vidioc_qbuf()
915 return videobuf_dqbuf(&fh->vb_vidq, p, in vidioc_dqbuf()
934 return videobuf_streamon(&fh->vb_vidq); in vidioc_streamon()
948 return videobuf_streamoff(&fh->vb_vidq); in vidioc_streamoff()
1323 videobuf_queue_dma_contig_init(&fh->vb_vidq, &viu_video_qops, in viu_open()
[all …]
Dsoc_camera.c46 (icd)->vb_vidq.streaming : \
282 ret = videobuf_reqbufs(&icd->vb_vidq, p); in soc_camera_reqbufs()
306 return videobuf_querybuf(&icd->vb_vidq, p); in soc_camera_querybuf()
323 return videobuf_qbuf(&icd->vb_vidq, p); in soc_camera_qbuf()
340 return videobuf_dqbuf(&icd->vb_vidq, p, file->f_flags & O_NONBLOCK); in soc_camera_dqbuf()
484 icd->vb_vidq.field = pix->field; in soc_camera_set_fmt()
562 ici->ops->init_videobuf(&icd->vb_vidq, icd); in soc_camera_open()
646 err = videobuf_mmap_mapper(&icd->vb_vidq, vma); in soc_camera_mmap()
666 if (ici->ops->init_videobuf && list_empty(&icd->vb_vidq.stream)) { in soc_camera_poll()
799 ret = videobuf_streamon(&icd->vb_vidq); in soc_camera_streamon()
[all …]
Ds2255drv.c297 struct videobuf_queue vb_vidq; member
876 f->fmt.pix.field = fh->vb_vidq.field; in vidioc_g_fmt_vid_cap()
987 struct videobuf_queue *q = &fh->vb_vidq; in vidioc_s_fmt_vid_cap()
1004 if (videobuf_queue_is_busy(&fh->vb_vidq)) { in vidioc_s_fmt_vid_cap()
1019 fh->vb_vidq.field = f->fmt.pix.field; in vidioc_s_fmt_vid_cap()
1077 rc = videobuf_reqbufs(&fh->vb_vidq, p); in vidioc_reqbufs()
1085 rc = videobuf_querybuf(&fh->vb_vidq, p); in vidioc_querybuf()
1093 rc = videobuf_qbuf(&fh->vb_vidq, p); in vidioc_qbuf()
1101 rc = videobuf_dqbuf(&fh->vb_vidq, p, file->f_flags & O_NONBLOCK); in vidioc_dqbuf()
1314 res = videobuf_streamon(&fh->vb_vidq); in vidioc_streamon()
[all …]
Dmx1_camera.c660 struct mx1_buffer *buf = container_of(icd->vb_vidq.bufs[i], in mx1_camera_reqbufs()
674 buf = list_entry(icd->vb_vidq.stream.next, struct mx1_buffer, in mx1_camera_poll()
Domap1_camera.c1420 struct omap1_cam_buf *buf = container_of(icd->vb_vidq.bufs[i], in omap1_cam_reqbufs()
1523 buf = list_entry(icd->vb_vidq.stream.next, struct omap1_cam_buf, in omap1_cam_poll()
Dpxa_camera.c1559 struct pxa_buffer *buf = container_of(icd->vb_vidq.bufs[i], in pxa_camera_reqbufs()
1573 buf = list_entry(icd->vb_vidq.stream.next, struct pxa_buffer, in pxa_camera_poll()
/drivers/media/video/tm6000/
Dtm6000-video.c922 f->fmt.pix.field = fh->vb_vidq.field; in vidioc_g_fmt_vid_cap()
995 fh->vb_vidq.field = f->fmt.pix.field; in vidioc_s_fmt_vid_cap()
1010 return videobuf_reqbufs(&fh->vb_vidq, p); in vidioc_reqbufs()
1018 return videobuf_querybuf(&fh->vb_vidq, p); in vidioc_querybuf()
1025 return videobuf_qbuf(&fh->vb_vidq, p); in vidioc_qbuf()
1032 return videobuf_dqbuf(&fh->vb_vidq, p, in vidioc_dqbuf()
1048 return videobuf_streamon(&fh->vb_vidq); in vidioc_streamon()
1062 videobuf_streamoff(&fh->vb_vidq); in vidioc_streamoff()
1534 videobuf_queue_vmalloc_init(&fh->vb_vidq, &tm6000_video_qops, in tm6000_open()
1560 return videobuf_read_stream(&fh->vb_vidq, data, count, pos, 0, in tm6000_read()
[all …]
Dtm6000.h293 struct videobuf_queue vb_vidq; member
/drivers/media/video/cx231xx/
Dcx231xx-video.c1091 if (videobuf_queue_is_busy(&fh->vb_vidq)) { in vidioc_s_fmt_vid_cap()
1837 rc = videobuf_streamon(&fh->vb_vidq); in vidioc_streamon()
1863 videobuf_streamoff(&fh->vb_vidq); in vidioc_streamoff()
2010 return videobuf_reqbufs(&fh->vb_vidq, rb); in vidioc_reqbufs()
2023 return videobuf_querybuf(&fh->vb_vidq, b); in vidioc_querybuf()
2036 return videobuf_qbuf(&fh->vb_vidq, b); in vidioc_qbuf()
2049 return videobuf_dqbuf(&fh->vb_vidq, b, file->f_flags & O_NONBLOCK); in vidioc_dqbuf()
2229 videobuf_queue_vmalloc_init(&fh->vb_vidq, &cx231xx_video_qops, in cx231xx_v4l2_open()
2239 videobuf_queue_vmalloc_init(&fh->vb_vidq, &cx231xx_vbi_qops, in cx231xx_v4l2_open()
2314 videobuf_stop(&fh->vb_vidq); in cx231xx_v4l2_close()
[all …]
Dcx231xx.h435 struct videobuf_queue vb_vidq; member
/drivers/media/video/au0828/
Dau0828-video.c1022 videobuf_queue_vmalloc_init(&fh->vb_vidq, &au0828_video_qops, in au0828_v4l2_open()
1051 videobuf_stop(&fh->vb_vidq); in au0828_v4l2_close()
1085 videobuf_mmap_free(&fh->vb_vidq); in au0828_v4l2_close()
1108 return videobuf_read_stream(&fh->vb_vidq, buf, count, pos, 0, in au0828_v4l2_read()
1143 return videobuf_poll_stream(filp, &fh->vb_vidq, wait); in au0828_v4l2_poll()
1164 rc = videobuf_mmap_mapper(&fh->vb_vidq, vma); in au0828_v4l2_mmap()
1317 if (videobuf_queue_is_busy(&fh->vb_vidq)) { in vidioc_s_fmt_vid_cap()
1647 rc = videobuf_streamon(&fh->vb_vidq); in vidioc_streamon()
1696 videobuf_streamoff(&fh->vb_vidq); in vidioc_streamoff()
1757 rc = videobuf_reqbufs(&fh->vb_vidq, rb); in vidioc_reqbufs()
[all …]
Dau0828.h124 struct videobuf_queue vb_vidq; member
/drivers/media/video/em28xx/
Dem28xx-video.c1141 if (videobuf_queue_is_busy(&fh->vb_vidq)) { in vidioc_s_fmt_vid_cap()
1730 rc = videobuf_streamon(&fh->vb_vidq); in vidioc_streamon()
1759 videobuf_streamoff(&fh->vb_vidq); in vidioc_streamoff()
1960 return videobuf_reqbufs(&fh->vb_vidq, rb); in vidioc_reqbufs()
1977 return videobuf_querybuf(&fh->vb_vidq, b); in vidioc_querybuf()
2002 return videobuf_qbuf(&fh->vb_vidq, b); in vidioc_qbuf()
2018 return videobuf_dqbuf(&fh->vb_vidq, b, file->f_flags & in vidioc_dqbuf()
2184 videobuf_queue_vmalloc_init(&fh->vb_vidq, &em28xx_video_qops, in em28xx_v4l2_open()
2249 videobuf_stop(&fh->vb_vidq); in em28xx_v4l2_close()
2285 videobuf_mmap_free(&fh->vb_vidq); in em28xx_v4l2_close()
[all …]
Dem28xx.h497 struct videobuf_queue vb_vidq; member