Home
last modified time | relevance | path

Searched refs:vidq (Results 1 – 25 of 35) sorted by relevance

12

/openbmc/linux/drivers/media/pci/solo6x10/
H A Dsolo6x10-v4l2.c484 if (vb2_is_busy(&solo_dev->vidq)) in solo_set_fmt_cap()
525 if (vb2_is_busy(&solo_dev->vidq)) in solo_set_video_type()
528 if (vb2_is_busy(&solo_dev->v4l2_enc[i]->vidq)) in solo_set_video_type()
653 solo_dev->vfd->queue = &solo_dev->vidq; in solo_v4l2_init()
665 solo_dev->vidq.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in solo_v4l2_init()
667 solo_dev->vidq.ops = &solo_video_qops; in solo_v4l2_init()
668 solo_dev->vidq.mem_ops = &vb2_dma_contig_memops; in solo_v4l2_init()
669 solo_dev->vidq.drv_priv = solo_dev; in solo_v4l2_init()
673 solo_dev->vidq.lock = &solo_dev->lock; in solo_v4l2_init()
674 solo_dev->vidq.dev = &solo_dev->pdev->dev; in solo_v4l2_init()
[all …]
H A Dsolo6x10-v4l2-enc.c891 if (vb2_is_busy(&solo_enc->vidq)) in solo_enc_set_fmt_cap()
1046 if (vb2_is_streaming(&solo_enc->vidq)) in solo_s_parm()
1264 solo_enc->vidq.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in solo_enc_alloc()
1265 solo_enc->vidq.io_modes = VB2_MMAP | VB2_USERPTR | VB2_READ; in solo_enc_alloc()
1266 solo_enc->vidq.ops = &solo_enc_video_qops; in solo_enc_alloc()
1267 solo_enc->vidq.mem_ops = &vb2_dma_sg_memops; in solo_enc_alloc()
1268 solo_enc->vidq.drv_priv = solo_enc; in solo_enc_alloc()
1272 solo_enc->vidq.lock = &solo_enc->lock; in solo_enc_alloc()
1273 solo_enc->vidq.dev = &solo_dev->pdev->dev; in solo_enc_alloc()
1274 ret = vb2_queue_init(&solo_enc->vidq); in solo_enc_alloc()
[all …]
H A Dsolo6x10.h171 struct vb2_queue vidq; member
266 struct vb2_queue vidq; member
/openbmc/linux/drivers/media/usb/cx231xx/
H A Dcx231xx-vbi.c193 struct cx231xx_dmaqueue *vidq = &dev->vbi_mode.vidq; in vbi_buf_queue() local
197 list_add_tail(&buf->list, &vidq->active); in vbi_buf_queue()
204 struct cx231xx_dmaqueue *vidq = &dev->vbi_mode.vidq; in return_all_buffers() local
210 list_for_each_entry_safe(buf, node, &vidq->active, list) { in return_all_buffers()
220 struct cx231xx_dmaqueue *vidq = &dev->vbi_mode.vidq; in vbi_start_streaming() local
223 vidq->sequence = 0; in vbi_start_streaming()
261 container_of(dma_q, struct cx231xx_video_mode, vidq); in cx231xx_irq_vbi_callback()
345 struct cx231xx_dmaqueue *dma_q = &dev->vbi_mode.vidq; in cx231xx_init_vbi_isoc()
567 container_of(dma_q, struct cx231xx_video_mode, vidq); in get_next_vbi_buf()
H A Dcx231xx-video.c229 container_of(dma_q, struct cx231xx_video_mode, vidq); in get_next_buf()
736 struct cx231xx_dmaqueue *vidq = &dev->video_mode.vidq; in buffer_queue() local
740 list_add_tail(&buf->list, &vidq->active); in buffer_queue()
747 struct cx231xx_dmaqueue *vidq = &dev->video_mode.vidq; in return_all_buffers() local
756 list_for_each_entry_safe(buf, node, &vidq->active, list) { in return_all_buffers()
766 struct cx231xx_dmaqueue *vidq = &dev->video_mode.vidq; in start_streaming() local
769 vidq->sequence = 0; in start_streaming()
902 if (vb2_is_busy(&dev->vidq)) { in vidioc_s_fmt_vid_cap()
937 if (vb2_is_busy(&dev->vidq)) in vidioc_s_std()
1805 q = &dev->vidq; in cx231xx_register_analog_devices()
H A Dcx231xx-417.c1370 struct cx231xx_dmaqueue *vidq = &dev->video_mode.vidq; in buffer_queue() local
1374 list_add_tail(&buf->list, &vidq->active); in buffer_queue()
1381 struct cx231xx_dmaqueue *vidq = &dev->video_mode.vidq; in return_all_buffers() local
1386 list_for_each_entry_safe(buf, node, &vidq->active, list) { in return_all_buffers()
1396 struct cx231xx_dmaqueue *vidq = &dev->video_mode.vidq; in start_streaming() local
1399 vidq->sequence = 0; in start_streaming()
H A Dcx231xx-core.c784 container_of(dma_q, struct cx231xx_video_mode, vidq); in cx231xx_isoc_irq_callback()
830 container_of(dma_q, struct cx231xx_video_mode, vidq); in cx231xx_bulk_irq_callback()
867 struct cx231xx_dmaqueue *dma_q = &dev->video_mode.vidq; in cx231xx_uninit_isoc()
926 struct cx231xx_dmaqueue *dma_q = &dev->video_mode.vidq; in cx231xx_uninit_bulk()
987 struct cx231xx_dmaqueue *dma_q = &dev->video_mode.vidq; in cx231xx_init_isoc()
1123 struct cx231xx_dmaqueue *dma_q = &dev->video_mode.vidq; in cx231xx_init_bulk()
/openbmc/linux/drivers/media/pci/dt3155/
H A Ddt3155.c337 if (vb2_is_busy(&pd->vidq)) in dt3155_s_std()
516 pd->vidq.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in dt3155_probe()
518 pd->vidq.io_modes = VB2_MMAP | VB2_DMABUF | VB2_READ; in dt3155_probe()
519 pd->vidq.ops = &q_ops; in dt3155_probe()
520 pd->vidq.mem_ops = &vb2_dma_contig_memops; in dt3155_probe()
521 pd->vidq.drv_priv = pd; in dt3155_probe()
522 pd->vidq.min_buffers_needed = 2; in dt3155_probe()
523 pd->vidq.gfp_flags = GFP_DMA32; in dt3155_probe()
525 pd->vidq.dev = &pdev->dev; in dt3155_probe()
526 pd->vdev.queue = &pd->vidq; in dt3155_probe()
[all …]
H A Ddt3155.h174 struct vb2_queue vidq; member
/openbmc/linux/drivers/media/pci/tw68/
H A Dtw68-video.c728 if (vb2_is_busy(&dev->vidq)) in tw68_s_std()
945 dev->vidq.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in tw68_video_init2()
948 dev->vidq.ops = &tw68_video_qops; in tw68_video_init2()
949 dev->vidq.mem_ops = &vb2_dma_sg_memops; in tw68_video_init2()
950 dev->vidq.drv_priv = dev; in tw68_video_init2()
952 dev->vidq.buf_struct_size = sizeof(struct tw68_buf); in tw68_video_init2()
953 dev->vidq.lock = &dev->lock; in tw68_video_init2()
954 dev->vidq.min_buffers_needed = 2; in tw68_video_init2()
955 dev->vidq.dev = &dev->pci->dev; in tw68_video_init2()
956 ret = vb2_queue_init(&dev->vidq); in tw68_video_init2()
[all …]
H A Dtw68.h156 struct vb2_queue vidq; member
H A Dtw68-core.c375 vb2_discard_done(&dev->vidq); in tw68_suspend()
/openbmc/linux/drivers/media/pci/cx18/
H A Dcx18-streams.c282 s->vidq.io_modes = VB2_READ | VB2_MMAP | VB2_DMABUF; in cx18_stream_init()
283 s->vidq.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in cx18_stream_init()
284 s->vidq.drv_priv = s; in cx18_stream_init()
286 s->vidq.ops = &cx18_vb2_qops; in cx18_stream_init()
287 s->vidq.mem_ops = &vb2_vmalloc_memops; in cx18_stream_init()
289 s->vidq.min_buffers_needed = 2; in cx18_stream_init()
290 s->vidq.gfp_flags = GFP_DMA32; in cx18_stream_init()
291 s->vidq.dev = &cx->pci_dev->dev; in cx18_stream_init()
292 s->vidq.lock = &cx->serialize_lock; in cx18_stream_init()
294 err = vb2_queue_init(&s->vidq); in cx18_stream_init()
[all …]
/openbmc/linux/drivers/media/pci/tw686x/
H A Dtw686x-video.c743 if (vb2_is_busy(&vc->vidq)) in tw686x_s_fmt_vid_cap()
811 if (vb2_is_busy(&vc->vidq)) in tw686x_s_std()
840 if (vb2_is_streaming(&vc->vidq)) in tw686x_querystd()
960 if (vb2_is_busy(&vc->vidq)) in tw686x_s_parm()
1001 if (vb2_is_busy(&vc->vidq)) in tw686x_s_input()
1219 vc->vidq.drv_priv = vc; in tw686x_video_init()
1221 vc->vidq.ops = &tw686x_video_qops; in tw686x_video_init()
1224 vc->vidq.min_buffers_needed = 2; in tw686x_video_init()
1225 vc->vidq.lock = &vc->vb_mutex; in tw686x_video_init()
1230 err = vb2_queue_init(&vc->vidq); in tw686x_video_init()
[all …]
H A Dtw686x.h81 struct vb2_queue vidq; member
/openbmc/linux/drivers/media/usb/go7007/
H A Dgo7007-v4l2.c337 if (vb2_is_busy(&go->vidq)) in vidioc_s_fmt_vid_cap()
582 if (vb2_is_busy(&go->vidq)) in vidioc_s_std()
696 if (vb2_is_busy(&go->vidq)) in vidioc_s_input()
1079 go->vidq.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in go7007_v4l2_init()
1080 go->vidq.io_modes = VB2_MMAP | VB2_USERPTR | VB2_READ; in go7007_v4l2_init()
1081 go->vidq.ops = &go7007_video_qops; in go7007_v4l2_init()
1082 go->vidq.mem_ops = &vb2_vmalloc_memops; in go7007_v4l2_init()
1083 go->vidq.drv_priv = go; in go7007_v4l2_init()
1086 go->vidq.lock = &go->queue_lock; in go7007_v4l2_init()
1087 rv = vb2_queue_init(&go->vidq); in go7007_v4l2_init()
[all …]
H A Dgo7007-priv.h226 struct vb2_queue vidq; member
/openbmc/linux/drivers/media/pci/tw5864/
H A Dtw5864-video.c1108 input->vidq.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in tw5864_video_input_init()
1110 input->vidq.io_modes = VB2_MMAP | VB2_READ | VB2_DMABUF; in tw5864_video_input_init()
1111 input->vidq.ops = &tw5864_video_qops; in tw5864_video_input_init()
1112 input->vidq.mem_ops = &vb2_dma_contig_memops; in tw5864_video_input_init()
1113 input->vidq.drv_priv = input; in tw5864_video_input_init()
1114 input->vidq.gfp_flags = 0; in tw5864_video_input_init()
1116 input->vidq.lock = &input->lock; in tw5864_video_input_init()
1117 input->vidq.min_buffers_needed = 2; in tw5864_video_input_init()
1118 input->vidq.dev = &input->root->pci->dev; in tw5864_video_input_init()
1119 ret = vb2_queue_init(&input->vidq); in tw5864_video_input_init()
[all …]
H A Dtw5864.h91 struct vb2_queue vidq; member
/openbmc/linux/drivers/media/usb/au0828/
H A Dau0828-video.c113 struct au0828_dev *dev = container_of(dma_q, struct au0828_dev, vidq); in au0828_irq_callback()
199 struct au0828_dmaqueue *dma_q = &dev->vidq; in au0828_init_isoc()
392 struct au0828_dev *dev = container_of(dma_q, struct au0828_dev, vidq); in get_next_buf()
723 struct au0828_dmaqueue *vidq = &dev->vidq; in buffer_queue() local
730 list_add_tail(&buf->list, &vidq->active); in buffer_queue()
852 struct au0828_dmaqueue *vidq = &dev->vidq; in au0828_stop_streaming() local
871 while (!list_empty(&vidq->active)) { in au0828_stop_streaming()
874 buf = list_entry(vidq->active.next, struct au0828_buffer, list); in au0828_stop_streaming()
957 struct au0828_dmaqueue *dma_q = &dev->vidq; in au0828_vid_buffer_timeout()
1953 INIT_LIST_HEAD(&dev->vidq.active); in au0828_analog_register()
H A Dau0828.h246 struct au0828_dmaqueue vidq; member
/openbmc/linux/drivers/media/pci/cx88/
H A Dcx88-video.c507 struct cx88_dmaqueue *q = &dev->vidq; in buffer_queue()
532 struct cx88_dmaqueue *dmaq = &dev->vidq; in start_streaming()
544 struct cx88_dmaqueue *dmaq = &dev->vidq; in stop_streaming()
1088 cx88_wakeup(core, &dev->vidq, count); in cx8800_vid_irq()
1302 INIT_LIST_HEAD(&dev->vidq.active); in cx8800_initdev()
1562 if (!list_empty(&dev->vidq.active)) { in cx8800_suspend()
1598 if (!list_empty(&dev->vidq.active)) { in cx8800_resume()
1600 restart_video_queue(dev, &dev->vidq); in cx8800_resume()
/openbmc/linux/drivers/media/usb/em28xx/
H A Dem28xx-video.c640 struct em28xx_dmaqueue *dma_q = &dev->vidq; in process_frame_data_em28xx()
723 struct em28xx_dmaqueue *dmaq = &dev->vidq; in process_frame_data_em25xx()
1141 struct em28xx_dmaqueue *vidq = &dev->vidq; in em28xx_stop_streaming() local
1162 while (!list_empty(&vidq->active)) { in em28xx_stop_streaming()
1165 buf = list_entry(vidq->active.next, struct em28xx_buffer, list); in em28xx_stop_streaming()
1214 struct em28xx_dmaqueue *vidq = &dev->vidq; in buffer_queue() local
1222 list_add_tail(&buf->list, &vidq->active); in buffer_queue()
2653 INIT_LIST_HEAD(&dev->vidq.active); in em28xx_v4l2_init()
/openbmc/linux/drivers/media/pci/cx23885/
H A Dcx23885-video.c462 struct cx23885_dmaqueue *q = &dev->vidq; in buffer_queue()
491 struct cx23885_dmaqueue *dmaq = &dev->vidq; in cx23885_start_streaming()
502 struct cx23885_dmaqueue *dmaq = &dev->vidq; in cx23885_stop_streaming()
1141 cx23885_video_wakeup(dev, &dev->vidq, count); in cx23885_video_irq()
1256 INIT_LIST_HEAD(&dev->vidq.active); in cx23885_video_register()
/openbmc/linux/drivers/media/pci/cx25821/
H A Dcx25821.h203 struct vb2_queue vidq; member

12