Home
last modified time | relevance | path

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

12

/linux/drivers/media/platform/
A Dfsl-viu.c119 struct viu_dmaqueue vidq; member
294 viu_stop_dma(vidq->dev); in restart_video_queue()
315 viu_stop_dma(vidq->dev); in restart_video_queue()
316 viu_start_dma(vidq->dev); in restart_video_queue()
341 struct viu_dmaqueue *vidq = &dev->vidq; in viu_vid_timeout() local
351 restart_video_queue(vidq); in viu_vid_timeout()
489 struct viu_dmaqueue *vidq = &dev->vidq; in buffer_queue() local
495 vidq, &vidq->queued); in buffer_queue()
497 dev, &vidq->queued, vidq->queued.next, in buffer_queue()
498 vidq->queued.prev); in buffer_queue()
[all …]
/linux/drivers/media/pci/solo6x10/
A Dsolo6x10-v4l2.c488 if (vb2_is_busy(&solo_dev->vidq)) in solo_set_fmt_cap()
529 if (vb2_is_busy(&solo_dev->vidq)) in solo_set_video_type()
532 if (vb2_is_busy(&solo_dev->v4l2_enc[i]->vidq)) in solo_set_video_type()
657 solo_dev->vfd->queue = &solo_dev->vidq; in solo_v4l2_init()
669 solo_dev->vidq.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in solo_v4l2_init()
671 solo_dev->vidq.ops = &solo_video_qops; in solo_v4l2_init()
672 solo_dev->vidq.mem_ops = &vb2_dma_contig_memops; in solo_v4l2_init()
673 solo_dev->vidq.drv_priv = solo_dev; in solo_v4l2_init()
677 solo_dev->vidq.lock = &solo_dev->lock; in solo_v4l2_init()
678 solo_dev->vidq.dev = &solo_dev->pdev->dev; in solo_v4l2_init()
[all …]
A Dsolo6x10-v4l2-enc.c894 if (vb2_is_busy(&solo_enc->vidq)) in solo_enc_set_fmt_cap()
1049 if (vb2_is_streaming(&solo_enc->vidq)) in solo_s_parm()
1267 solo_enc->vidq.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in solo_enc_alloc()
1268 solo_enc->vidq.io_modes = VB2_MMAP | VB2_USERPTR | VB2_READ; in solo_enc_alloc()
1269 solo_enc->vidq.ops = &solo_enc_video_qops; in solo_enc_alloc()
1270 solo_enc->vidq.mem_ops = &vb2_dma_sg_memops; in solo_enc_alloc()
1271 solo_enc->vidq.drv_priv = solo_enc; in solo_enc_alloc()
1275 solo_enc->vidq.lock = &solo_enc->lock; in solo_enc_alloc()
1276 solo_enc->vidq.dev = &solo_dev->pdev->dev; in solo_enc_alloc()
1277 ret = vb2_queue_init(&solo_enc->vidq); in solo_enc_alloc()
[all …]
A Dsolo6x10.h171 struct vb2_queue vidq; member
266 struct vb2_queue vidq; member
/linux/drivers/media/platform/sunxi/sun6i-csi/
A Dsun6i_video.c601 struct vb2_queue *vidq = &video->vb2_vidq; in sun6i_video_init() local
630 vidq->type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in sun6i_video_init()
631 vidq->io_modes = VB2_MMAP | VB2_DMABUF; in sun6i_video_init()
632 vidq->drv_priv = video; in sun6i_video_init()
634 vidq->ops = &sun6i_csi_vb2_ops; in sun6i_video_init()
635 vidq->mem_ops = &vb2_dma_contig_memops; in sun6i_video_init()
637 vidq->lock = &video->lock; in sun6i_video_init()
639 vidq->min_buffers_needed = 3; in sun6i_video_init()
640 vidq->dev = csi->dev; in sun6i_video_init()
642 ret = vb2_queue_init(vidq); in sun6i_video_init()
[all …]
/linux/drivers/media/usb/cx231xx/
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()
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()
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()
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()
1121 struct cx231xx_dmaqueue *dma_q = &dev->video_mode.vidq; in cx231xx_init_bulk()
/linux/drivers/media/pci/dt3155/
A Ddt3155.c340 if (vb2_is_busy(&pd->vidq)) in dt3155_s_std()
519 pd->vidq.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in dt3155_probe()
521 pd->vidq.io_modes = VB2_MMAP | VB2_DMABUF | VB2_READ; in dt3155_probe()
522 pd->vidq.ops = &q_ops; in dt3155_probe()
523 pd->vidq.mem_ops = &vb2_dma_contig_memops; in dt3155_probe()
524 pd->vidq.drv_priv = pd; in dt3155_probe()
525 pd->vidq.min_buffers_needed = 2; in dt3155_probe()
526 pd->vidq.gfp_flags = GFP_DMA32; in dt3155_probe()
528 pd->vidq.dev = &pdev->dev; in dt3155_probe()
529 pd->vdev.queue = &pd->vidq; in dt3155_probe()
[all …]
A Ddt3155.h174 struct vb2_queue vidq; member
/linux/drivers/media/pci/tw68/
A Dtw68-video.c729 if (vb2_is_busy(&dev->vidq)) in tw68_s_std()
946 dev->vidq.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in tw68_video_init2()
949 dev->vidq.ops = &tw68_video_qops; in tw68_video_init2()
950 dev->vidq.mem_ops = &vb2_dma_sg_memops; in tw68_video_init2()
951 dev->vidq.drv_priv = dev; in tw68_video_init2()
953 dev->vidq.buf_struct_size = sizeof(struct tw68_buf); in tw68_video_init2()
954 dev->vidq.lock = &dev->lock; in tw68_video_init2()
955 dev->vidq.min_buffers_needed = 2; in tw68_video_init2()
956 dev->vidq.dev = &dev->pci->dev; in tw68_video_init2()
957 ret = vb2_queue_init(&dev->vidq); in tw68_video_init2()
[all …]
A Dtw68.h156 struct vb2_queue vidq; member
/linux/drivers/media/pci/tw686x/
A Dtw686x-video.c743 if (vb2_is_busy(&vc->vidq)) in tw686x_s_fmt_vid_cap()
813 if (vb2_is_busy(&vc->vidq)) in tw686x_s_std()
842 if (vb2_is_streaming(&vc->vidq)) in tw686x_querystd()
962 if (vb2_is_busy(&vc->vidq)) in tw686x_s_parm()
1003 if (vb2_is_busy(&vc->vidq)) in tw686x_s_input()
1221 vc->vidq.drv_priv = vc; in tw686x_video_init()
1223 vc->vidq.ops = &tw686x_video_qops; in tw686x_video_init()
1226 vc->vidq.min_buffers_needed = 2; in tw686x_video_init()
1227 vc->vidq.lock = &vc->vb_mutex; in tw686x_video_init()
1232 err = vb2_queue_init(&vc->vidq); in tw686x_video_init()
[all …]
A Dtw686x.h81 struct vb2_queue vidq; member
/linux/drivers/media/usb/go7007/
A Dgo7007-v4l2.c337 if (vb2_is_busy(&go->vidq)) in vidioc_s_fmt_vid_cap()
586 if (vb2_is_busy(&go->vidq)) in vidioc_s_std()
700 if (vb2_is_busy(&go->vidq)) in vidioc_s_input()
1083 go->vidq.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in go7007_v4l2_init()
1084 go->vidq.io_modes = VB2_MMAP | VB2_USERPTR | VB2_READ; in go7007_v4l2_init()
1085 go->vidq.ops = &go7007_video_qops; in go7007_v4l2_init()
1086 go->vidq.mem_ops = &vb2_vmalloc_memops; in go7007_v4l2_init()
1087 go->vidq.drv_priv = go; in go7007_v4l2_init()
1090 go->vidq.lock = &go->queue_lock; in go7007_v4l2_init()
1091 rv = vb2_queue_init(&go->vidq); in go7007_v4l2_init()
[all …]
A Dgo7007-priv.h226 struct vb2_queue vidq; member
/linux/drivers/media/pci/tw5864/
A Dtw5864-video.c1109 input->vidq.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in tw5864_video_input_init()
1111 input->vidq.io_modes = VB2_MMAP | VB2_READ | VB2_DMABUF; in tw5864_video_input_init()
1112 input->vidq.ops = &tw5864_video_qops; in tw5864_video_input_init()
1113 input->vidq.mem_ops = &vb2_dma_contig_memops; in tw5864_video_input_init()
1114 input->vidq.drv_priv = input; in tw5864_video_input_init()
1115 input->vidq.gfp_flags = 0; in tw5864_video_input_init()
1117 input->vidq.lock = &input->lock; in tw5864_video_input_init()
1118 input->vidq.min_buffers_needed = 2; in tw5864_video_input_init()
1119 input->vidq.dev = &input->root->pci->dev; in tw5864_video_input_init()
1120 ret = vb2_queue_init(&input->vidq); in tw5864_video_input_init()
[all …]
A Dtw5864.h91 struct vb2_queue vidq; member
/linux/drivers/media/usb/tm6000/
A Dtm6000-video.c83 struct tm6000_core *dev = container_of(dma_q, struct tm6000_core, vidq); in get_next_buf()
119 struct tm6000_core *dev = container_of(dma_q, struct tm6000_core, vidq); in copy_streams()
552 struct tm6000_dmaqueue *dma_q = &dev->vidq; in tm6000_prepare_isoc()
645 struct tm6000_dmaqueue *dma_q = &dev->vidq; in tm6000_start_thread()
774 struct tm6000_dmaqueue *vidq = &dev->vidq; in buffer_queue() local
777 list_add_tail(&buf->vb.queue, &vidq->active); in buffer_queue()
1344 fh, dev, &dev->vidq); in __tm6000_open()
1346 list_empty(&dev->vidq.queued)); in __tm6000_open()
1348 list_empty(&dev->vidq.active)); in __tm6000_open()
1637 INIT_LIST_HEAD(&dev->vidq.active); in tm6000_v4l2_register()
[all …]
/linux/drivers/media/usb/au0828/
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()
956 struct au0828_dmaqueue *dma_q = &dev->vidq; in au0828_vid_buffer_timeout()
1952 INIT_LIST_HEAD(&dev->vidq.active); in au0828_analog_register()
/linux/drivers/media/pci/cx88/
A Dcx88-video.c506 struct cx88_dmaqueue *q = &dev->vidq; in buffer_queue()
531 struct cx88_dmaqueue *dmaq = &dev->vidq; in start_streaming()
543 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()
1561 if (!list_empty(&dev->vidq.active)) { in cx8800_suspend()
1597 if (!list_empty(&dev->vidq.active)) { in cx8800_resume()
1599 restart_video_queue(dev, &dev->vidq); in cx8800_resume()
/linux/drivers/media/usb/em28xx/
A Dem28xx-video.c650 struct em28xx_dmaqueue *dma_q = &dev->vidq; in process_frame_data_em28xx()
733 struct em28xx_dmaqueue *dmaq = &dev->vidq; in process_frame_data_em25xx()
1151 struct em28xx_dmaqueue *vidq = &dev->vidq; in em28xx_stop_streaming() local
1172 while (!list_empty(&vidq->active)) { in em28xx_stop_streaming()
1175 buf = list_entry(vidq->active.next, struct em28xx_buffer, list); in em28xx_stop_streaming()
1224 struct em28xx_dmaqueue *vidq = &dev->vidq; in buffer_queue() local
1232 list_add_tail(&buf->list, &vidq->active); in buffer_queue()
2663 INIT_LIST_HEAD(&dev->vidq.active); in em28xx_v4l2_init()
/linux/drivers/media/pci/cx23885/
A Dcx23885-video.c461 struct cx23885_dmaqueue *q = &dev->vidq; in buffer_queue()
490 struct cx23885_dmaqueue *dmaq = &dev->vidq; in cx23885_start_streaming()
501 struct cx23885_dmaqueue *dmaq = &dev->vidq; in cx23885_stop_streaming()
1140 cx23885_video_wakeup(dev, &dev->vidq, count); in cx23885_video_irq()
1255 INIT_LIST_HEAD(&dev->vidq.active); in cx23885_video_register()
/linux/drivers/media/usb/zr364xx/
A Dzr364xx.c172 struct zr364xx_dmaqueue vidq; member
410 list_add_tail(&buf->vb.queue, &cam->vidq.active); in buffer_queue()
513 struct zr364xx_dmaqueue *dma_q = &cam->vidq; in zr364xx_got_frame()
1511 INIT_LIST_HEAD(&cam->vidq.active); in zr364xx_probe()
1512 cam->vidq.cam = cam; in zr364xx_probe()

Completed in 76 milliseconds

12