/linux/drivers/media/pci/solo6x10/ |
H A D | solo6x10-v4l2.c | 482 if (vb2_is_busy(&solo_dev->vidq)) in solo_set_fmt_cap() 523 if (vb2_is_busy(&solo_dev->vidq)) in solo_set_video_type() 526 if (vb2_is_busy(&solo_dev->v4l2_enc[i]->vidq)) in solo_set_video_type() 651 solo_dev->vfd->queue = &solo_dev->vidq; in solo_v4l2_init() 663 solo_dev->vidq.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in solo_v4l2_init() 664 solo_dev->vidq.io_modes = VB2_MMAP | VB2_USERPTR | VB2_READ; in solo_v4l2_init() 665 solo_dev->vidq.ops = &solo_video_qops; in solo_v4l2_init() 666 solo_dev->vidq.mem_ops = &vb2_dma_contig_memops; in solo_v4l2_init() 667 solo_dev->vidq.drv_priv = solo_dev; in solo_v4l2_init() 668 solo_dev->vidq in solo_v4l2_init() [all...] |
H A D | solo6x10-v4l2-enc.c | 889 if (vb2_is_busy(&solo_enc->vidq)) in solo_enc_set_fmt_cap() 1044 if (vb2_is_streaming(&solo_enc->vidq)) in solo_s_parm() 1262 solo_enc->vidq.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in solo_enc_alloc() 1263 solo_enc->vidq.io_modes = VB2_MMAP | VB2_USERPTR | VB2_READ; in solo_enc_alloc() 1264 solo_enc->vidq.ops = &solo_enc_video_qops; in solo_enc_alloc() 1265 solo_enc->vidq.mem_ops = &vb2_dma_sg_memops; in solo_enc_alloc() 1266 solo_enc->vidq.drv_priv = solo_enc; in solo_enc_alloc() 1267 solo_enc->vidq.gfp_flags = __GFP_DMA32 | __GFP_KSWAPD_RECLAIM; in solo_enc_alloc() 1268 solo_enc->vidq.timestamp_flags = V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC; in solo_enc_alloc() 1269 solo_enc->vidq in solo_enc_alloc() [all...] |
H A D | solo6x10.h | 171 struct vb2_queue vidq; member 266 struct vb2_queue vidq; member
|
/linux/drivers/media/usb/cx231xx/ |
H A D | cx231xx-vbi.c | 193 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() 259 container_of(dma_q, struct cx231xx_video_mode, vidq); in cx231xx_irq_vbi_callback() [all...] |
H A D | cx231xx-video.c | 229 container_of(dma_q, struct cx231xx_video_mode, vidq); in get_next_buf() 737 struct cx231xx_dmaqueue *vidq = &dev->video_mode.vidq; in buffer_queue() local 741 list_add_tail(&buf->list, &vidq->active); in buffer_queue() 748 struct cx231xx_dmaqueue *vidq = &dev->video_mode.vidq; in return_all_buffers() local 757 list_for_each_entry_safe(buf, node, &vidq->active, list) { in return_all_buffers() 767 struct cx231xx_dmaqueue *vidq = &dev->video_mode.vidq; in start_streaming() local 770 vidq in start_streaming() [all...] |
H A D | cx231xx-417.c | 1370 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 D | cx231xx-core.c | 783 container_of(dma_q, struct cx231xx_video_mode, vidq); in cx231xx_isoc_irq_callback() 829 container_of(dma_q, struct cx231xx_video_mode, vidq); in cx231xx_bulk_irq_callback() 866 struct cx231xx_dmaqueue *dma_q = &dev->video_mode.vidq; in cx231xx_uninit_isoc() 925 struct cx231xx_dmaqueue *dma_q = &dev->video_mode.vidq; in cx231xx_uninit_bulk() 986 struct cx231xx_dmaqueue *dma_q = &dev->video_mode.vidq; in cx231xx_init_isoc() 1122 struct cx231xx_dmaqueue *dma_q = &dev->video_mode.vidq; in cx231xx_init_bulk()
|
/linux/drivers/media/pci/dt3155/ |
H A D | dt3155.c | 214 /* pd->vidq.streaming = 1 when dt3155_buf_queue() is invoked */ in dt3155_buf_queue() 333 if (vb2_is_busy(&pd->vidq)) in dt3155_s_std() 512 pd->vidq.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in dt3155_probe() 513 pd->vidq.timestamp_flags = V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC; in dt3155_probe() 514 pd->vidq.io_modes = VB2_MMAP | VB2_DMABUF | VB2_READ; in dt3155_probe() 515 pd->vidq.ops = &q_ops; in dt3155_probe() 516 pd->vidq.mem_ops = &vb2_dma_contig_memops; in dt3155_probe() 517 pd->vidq.drv_priv = pd; in dt3155_probe() 518 pd->vidq.min_queued_buffers = 2; in dt3155_probe() 519 pd->vidq in dt3155_probe() [all...] |
H A D | dt3155.h | 155 * @vidq: vb2_queue structure 173 struct vb2_queue vidq; member
|
/linux/drivers/media/pci/tw68/ |
H A D | tw68-video.c | 727 if (vb2_is_busy(&dev->vidq)) in tw68_s_std() 944 dev->vidq.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in tw68_video_init2() 945 dev->vidq.timestamp_flags = V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC; in tw68_video_init2() 946 dev->vidq.io_modes = VB2_MMAP | VB2_USERPTR | VB2_READ | VB2_DMABUF; in tw68_video_init2() 947 dev->vidq.ops = &tw68_video_qops; in tw68_video_init2() 948 dev->vidq.mem_ops = &vb2_dma_sg_memops; in tw68_video_init2() 949 dev->vidq.drv_priv = dev; in tw68_video_init2() 950 dev->vidq.gfp_flags = __GFP_DMA32 | __GFP_KSWAPD_RECLAIM; in tw68_video_init2() 951 dev->vidq.buf_struct_size = sizeof(struct tw68_buf); in tw68_video_init2() 952 dev->vidq in tw68_video_init2() [all...] |
H A D | tw68.h | 156 struct vb2_queue vidq; member
|
H A D | tw68-core.c | 375 vb2_discard_done(&dev->vidq); in tw68_suspend()
|
/linux/drivers/media/pci/cx18/ |
H A D | cx18-streams.c | 281 s->vidq.io_modes = VB2_READ | VB2_MMAP | VB2_DMABUF; in cx18_stream_init() 282 s->vidq.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in cx18_stream_init() 283 s->vidq.drv_priv = s; in cx18_stream_init() 284 s->vidq.buf_struct_size = sizeof(struct cx18_vb2_buffer); in cx18_stream_init() 285 s->vidq.ops = &cx18_vb2_qops; in cx18_stream_init() 286 s->vidq.mem_ops = &vb2_vmalloc_memops; in cx18_stream_init() 287 s->vidq.timestamp_flags = V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC; in cx18_stream_init() 288 s->vidq.min_queued_buffers = 2; in cx18_stream_init() 289 s->vidq.gfp_flags = GFP_DMA32; in cx18_stream_init() 290 s->vidq in cx18_stream_init() [all...] |
/linux/drivers/media/pci/tw686x/ |
H A D | tw686x-video.c | 742 if (vb2_is_busy(&vc->vidq)) in tw686x_s_fmt_vid_cap() 810 if (vb2_is_busy(&vc->vidq)) in tw686x_s_std() 839 if (vb2_is_streaming(&vc->vidq)) in tw686x_querystd() 959 if (vb2_is_busy(&vc->vidq)) in tw686x_s_parm() 1000 if (vb2_is_busy(&vc->vidq)) in tw686x_s_input() 1216 vc->vidq.io_modes = VB2_READ | VB2_MMAP | VB2_DMABUF; in tw686x_video_init() 1217 vc->vidq.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in tw686x_video_init() 1218 vc->vidq.drv_priv = vc; in tw686x_video_init() 1219 vc->vidq.buf_struct_size = sizeof(struct tw686x_v4l2_buf); in tw686x_video_init() 1220 vc->vidq in tw686x_video_init() [all...] |
H A D | tw686x.h | 81 struct vb2_queue vidq; member
|
/linux/drivers/media/usb/go7007/ |
H A D | go7007-v4l2.c | 337 if (vb2_is_busy(&go->vidq)) in vidioc_s_fmt_vid_cap() 580 if (vb2_is_busy(&go->vidq)) in vidioc_s_std() 694 if (vb2_is_busy(&go->vidq)) in vidioc_s_input() 1077 go->vidq.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in go7007_v4l2_init() 1078 go->vidq.io_modes = VB2_MMAP | VB2_USERPTR | VB2_READ; in go7007_v4l2_init() 1079 go->vidq.ops = &go7007_video_qops; in go7007_v4l2_init() 1080 go->vidq.mem_ops = &vb2_vmalloc_memops; in go7007_v4l2_init() 1081 go->vidq.drv_priv = go; in go7007_v4l2_init() 1082 go->vidq.buf_struct_size = sizeof(struct go7007_buffer); in go7007_v4l2_init() 1083 go->vidq in go7007_v4l2_init() [all...] |
H A D | go7007-priv.h | 226 struct vb2_queue vidq; member
|
/linux/drivers/media/pci/tw5864/ |
H A D | tw5864-video.c | 1107 input->vidq.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in tw5864_video_input_init() 1108 input->vidq.timestamp_flags = V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC; in tw5864_video_input_init() 1109 input->vidq.io_modes = VB2_MMAP | VB2_READ | VB2_DMABUF; in tw5864_video_input_init() 1110 input->vidq.ops = &tw5864_video_qops; in tw5864_video_input_init() 1111 input->vidq.mem_ops = &vb2_dma_contig_memops; in tw5864_video_input_init() 1112 input->vidq.drv_priv = input; in tw5864_video_input_init() 1113 input->vidq.gfp_flags = 0; in tw5864_video_input_init() 1114 input->vidq.buf_struct_size = sizeof(struct tw5864_buf); in tw5864_video_input_init() 1115 input->vidq.lock = &input->lock; in tw5864_video_input_init() 1116 input->vidq in tw5864_video_input_init() [all...] |
H A D | tw5864.h | 88 struct mutex lock; /* used for vidq and vdev */ 92 struct vb2_queue vidq; member
|
/linux/drivers/media/usb/au0828/ |
H A D | au0828-video.c | 113 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() 720 struct au0828_dmaqueue *vidq = &dev->vidq; in buffer_queue() local 727 list_add_tail(&buf->list, &vidq->active); in buffer_queue() 849 struct au0828_dmaqueue *vidq = &dev->vidq; in au0828_stop_streaming() local 868 while (!list_empty(&vidq->active)) { in au0828_stop_streaming() 871 buf = list_entry(vidq in au0828_stop_streaming() [all...] |
H A D | au0828.h | 246 struct au0828_dmaqueue vidq; member
|
/linux/drivers/media/pci/cx88/ |
H A D | cx88-video.c | 507 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() 1086 cx88_wakeup(core, &dev->vidq, count); in cx8800_vid_irq() 1300 INIT_LIST_HEAD(&dev->vidq.active); in cx8800_initdev() 1560 if (!list_empty(&dev->vidq.active)) { in cx8800_suspend() 1596 if (!list_empty(&dev->vidq.active)) { in cx8800_resume() 1598 restart_video_queue(dev, &dev->vidq); in cx8800_resume()
|
/linux/drivers/media/usb/em28xx/ |
H A D | em28xx-video.c | 640 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 in em28xx_v4l2_init() [all...] |
/linux/drivers/media/pci/cx23885/ |
H A D | cx23885-video.c | 463 struct cx23885_dmaqueue *q = &dev->vidq; in buffer_queue() 492 struct cx23885_dmaqueue *dmaq = &dev->vidq; in cx23885_start_streaming() 503 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/pci/cx25821/ |
H A D | cx25821.h | 203 struct vb2_queue vidq; member
|