Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/media/pci/sta2x11/
Dsta2x11_vip.c128 struct vb2_queue vb_vidq; member
245 if (vb2_is_streaming(&vip->vb_vidq)) { /* streaming is on */ in vip_active_buf_next()
311 if (vb2_is_streaming(&vip->vb_vidq)) /* streaming is on */ in buffer_queue()
652 if (vb2_is_busy(&vip->vb_vidq)) { in vidioc_s_fmt_vid_cap()
848 memset(&vip->vb_vidq, 0, sizeof(struct vb2_queue)); in sta2x11_vip_init_buffer()
849 vip->vb_vidq.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in sta2x11_vip_init_buffer()
850 vip->vb_vidq.io_modes = VB2_MMAP | VB2_READ; in sta2x11_vip_init_buffer()
851 vip->vb_vidq.drv_priv = vip; in sta2x11_vip_init_buffer()
852 vip->vb_vidq.buf_struct_size = sizeof(struct vip_buffer); in sta2x11_vip_init_buffer()
853 vip->vb_vidq.ops = &vip_video_qops; in sta2x11_vip_init_buffer()
[all …]
/Linux-v5.4/drivers/media/usb/zr364xx/
Dzr364xx.c183 struct videobuf_queue vb_vidq; member
463 err = videobuf_read_one(&cam->vb_vidq, buf, count, ppos, in zr364xx_read()
817 struct videobuf_queue *q = &cam->vb_vidq; in zr364xx_vidioc_s_fmt_vid_cap()
827 if (videobuf_queue_is_busy(&cam->vb_vidq)) { in zr364xx_vidioc_s_fmt_vid_cap()
846 cam->vb_vidq.field = f->fmt.pix.field; in zr364xx_vidioc_s_fmt_vid_cap()
914 return videobuf_reqbufs(&cam->vb_vidq, p); in zr364xx_vidioc_reqbufs()
923 rc = videobuf_querybuf(&cam->vb_vidq, p); in zr364xx_vidioc_querybuf()
936 rc = videobuf_qbuf(&cam->vb_vidq, p); in zr364xx_vidioc_qbuf()
949 rc = videobuf_dqbuf(&cam->vb_vidq, p, file->f_flags & O_NONBLOCK); in zr364xx_vidioc_dqbuf()
1139 res = videobuf_streamon(&cam->vb_vidq); in zr364xx_vidioc_streamon()
[all …]
/Linux-v5.4/drivers/media/platform/
Dfsl-viu.c162 struct videobuf_queue vb_vidq; member
588 f->fmt.pix.field = fh->vb_vidq.field; in vidioc_g_fmt_cap()
645 fh->vb_vidq.field = f->fmt.pix.field; in vidioc_s_fmt_cap()
837 return videobuf_reqbufs(&fh->vb_vidq, p); in vidioc_reqbufs()
845 return videobuf_querybuf(&fh->vb_vidq, p); in vidioc_querybuf()
852 return videobuf_qbuf(&fh->vb_vidq, p); in vidioc_qbuf()
859 return videobuf_dqbuf(&fh->vb_vidq, p, in vidioc_dqbuf()
878 return videobuf_streamon(&fh->vb_vidq); in vidioc_streamon()
892 return videobuf_streamoff(&fh->vb_vidq); in vidioc_streamoff()
1220 videobuf_queue_dma_contig_init(&fh->vb_vidq, &viu_video_qops, in viu_open()
[all …]
/Linux-v5.4/drivers/media/usb/tm6000/
Dtm6000-video.c886 f->fmt.pix.field = fh->vb_vidq.field; in vidioc_g_fmt_vid_cap()
956 fh->vb_vidq.field = f->fmt.pix.field; in vidioc_s_fmt_vid_cap()
971 return videobuf_reqbufs(&fh->vb_vidq, p); in vidioc_reqbufs()
979 return videobuf_querybuf(&fh->vb_vidq, p); in vidioc_querybuf()
986 return videobuf_qbuf(&fh->vb_vidq, p); in vidioc_qbuf()
993 return videobuf_dqbuf(&fh->vb_vidq, p, in vidioc_dqbuf()
1009 return videobuf_streamon(&fh->vb_vidq); in vidioc_streamon()
1023 videobuf_streamoff(&fh->vb_vidq); in vidioc_streamoff()
1363 videobuf_queue_vmalloc_init(&fh->vb_vidq, &tm6000_video_qops, in __tm6000_open()
1405 res = videobuf_read_stream(&fh->vb_vidq, data, count, pos, 0, in tm6000_read()
[all …]
Dtm6000.h288 struct videobuf_queue vb_vidq; member
/Linux-v5.4/drivers/media/usb/cx231xx/
Dcx231xx-video.c1014 if (videobuf_queue_is_busy(&fh->vb_vidq)) { in vidioc_s_fmt_vid_cap()
1062 if (videobuf_queue_is_busy(&fh->vb_vidq)) in vidioc_s_std()
1525 rc = videobuf_streamon(&fh->vb_vidq); in vidioc_streamon()
1548 videobuf_streamoff(&fh->vb_vidq); in vidioc_streamoff()
1659 return videobuf_reqbufs(&fh->vb_vidq, rb); in vidioc_reqbufs()
1672 return videobuf_querybuf(&fh->vb_vidq, b); in vidioc_querybuf()
1685 return videobuf_qbuf(&fh->vb_vidq, b); in vidioc_qbuf()
1698 return videobuf_dqbuf(&fh->vb_vidq, b, file->f_flags & O_NONBLOCK); in vidioc_dqbuf()
1815 videobuf_queue_vmalloc_init(&fh->vb_vidq, &cx231xx_video_qops, in cx231xx_v4l2_open()
1825 videobuf_queue_vmalloc_init(&fh->vb_vidq, &cx231xx_vbi_qops, in cx231xx_v4l2_open()
[all …]
Dcx231xx.h436 struct videobuf_queue vb_vidq; member
/Linux-v5.4/drivers/media/usb/stk1160/
Dstk1160-v4l.c483 struct vb2_queue *q = &dev->vb_vidq; in vidioc_s_fmt_vid_cap()
518 struct vb2_queue *q = &dev->vb_vidq; in vidioc_s_std()
781 q = &dev->vb_vidq; in stk1160_vb2_setup()
807 dev->vdev.queue = &dev->vb_vidq; in stk1160_video_register()
Dstk1160.h124 struct vb2_queue vb_vidq; member
/Linux-v5.4/drivers/staging/vc04_services/bcm2835-camera/
Dbcm2835-camera.h88 struct vb2_queue vb_vidq; member
Dbcm2835-camera.c1288 if (vb2_is_busy(&dev->capture.vb_vidq)) { in vidioc_s_fmt_vid_cap()
1770 vfd->queue = &dev->capture.vb_vidq; in bm2835_mmal_init_device()
1916 q = &dev->capture.vb_vidq; in bcm2835_mmal_probe()
/Linux-v5.4/drivers/media/usb/s2255/
Ds2255drv.c241 struct vb2_queue vb_vidq; member
815 struct vb2_queue *q = &vc->vb_vidq; in vidioc_s_fmt_vid_cap()
1100 struct vb2_queue *q = &vc->vb_vidq; in vidioc_s_std()
1309 && vb2_is_streaming(&vc->vb_vidq)) in vidioc_s_parm()
1626 q = &vc->vb_vidq; in s2255_probe_v4l()
1795 if (!vb2_is_streaming(&vc->vb_vidq)) { in save_frame()
1839 if (vb2_is_streaming(&vc->vb_vidq)) in save_frame()
2024 if (vb2_is_streaming(&dev->vc[i].vb_vidq)) in s2255_board_shutdown()
/Linux-v5.4/drivers/media/i2c/
Dvideo-i2c.c54 struct vb2_queue vb_vidq; member
683 if (vb2_is_busy(&data->vb_vidq)) in video_i2c_s_fmt_vid_cap()
789 queue = &data->vb_vidq; in video_i2c_probe()
/Linux-v5.4/drivers/media/usb/au0828/
Dau0828.h205 struct vb2_queue vb_vidq; member
Dau0828-video.c1256 if (vb2_is_busy(&dev->vb_vidq)) { in vidioc_s_fmt_vid_cap()
1810 q = &dev->vb_vidq; in au0828_vb2_setup()
1979 dev->vdev.queue = &dev->vb_vidq; in au0828_analog_register()
2045 vb2_queue_release(&dev->vb_vidq); in au0828_analog_register()
/Linux-v5.4/drivers/media/usb/em28xx/
Dem28xx.h559 struct vb2_queue vb_vidq; member
Dem28xx-video.c1253 q = &v4l2->vb_vidq; in em28xx_vb2_setup()
1546 if (vb2_is_busy(&v4l2->vb_vidq)) in vidioc_s_fmt_vid_cap()
2762 v4l2->vdev.queue = &v4l2->vb_vidq; in em28xx_v4l2_init()
/Linux-v5.4/drivers/media/platform/ti-vpe/
Dcal.c302 struct vb2_queue vb_vidq; member
1075 struct vb2_queue *q = &ctx->vb_vidq; in cal_s_fmt_vid_cap()
1536 q = &ctx->vb_vidq; in cal_complete_ctx()