/linux-4.1.27/include/media/ |
D | videobuf2-core.h | 160 struct vb2_queue; 189 struct vb2_queue *vb2_queue; member 313 int (*queue_setup)(struct vb2_queue *q, const struct v4l2_format *fmt, 317 void (*wait_prepare)(struct vb2_queue *q); 318 void (*wait_finish)(struct vb2_queue *q); 325 int (*start_streaming)(struct vb2_queue *q, unsigned int count); 326 void (*stop_streaming)(struct vb2_queue *q); 387 struct vb2_queue { struct 447 void vb2_discard_done(struct vb2_queue *q); argument 448 int vb2_wait_for_all_buffers(struct vb2_queue *q); [all …]
|
D | v4l2-mem2mem.h | 56 struct vb2_queue q; 95 struct vb2_queue *v4l2_m2m_get_vq(struct v4l2_m2m_ctx *m2m_ctx, 141 int (*queue_init)(void *priv, struct vb2_queue *src_vq, struct vb2_queue *dst_vq)); 203 struct vb2_queue *v4l2_m2m_get_src_vq(struct v4l2_m2m_ctx *m2m_ctx) in v4l2_m2m_get_src_vq() 212 struct vb2_queue *v4l2_m2m_get_dst_vq(struct v4l2_m2m_ctx *m2m_ctx) in v4l2_m2m_get_dst_vq()
|
D | soc_camera.h | 60 struct vb2_queue vb2_vidq; 122 int (*init_videobuf2)(struct vb2_queue *, 397 static inline struct soc_camera_device *soc_camera_from_vb2q(const struct vb2_queue *vq) in soc_camera_from_vb2q() 412 void soc_camera_lock(struct vb2_queue *vq); 413 void soc_camera_unlock(struct vb2_queue *vq);
|
D | videobuf2-dvb.h | 15 struct vb2_queue dvbq;
|
D | v4l2-dev.h | 105 struct vb2_queue *queue;
|
/linux-4.1.27/drivers/media/v4l2-core/ |
D | videobuf2-core.c | 54 (vb)->vb2_queue, (vb)->v4l2_buf.index, #op, \ 55 (vb)->vb2_queue->mem_ops->op ? "" : " (nop)") 59 struct vb2_queue *_q = (vb)->vb2_queue; \ 71 struct vb2_queue *_q = (vb)->vb2_queue; \ 83 struct vb2_queue *_q = (vb)->vb2_queue; \ 116 (vb)->vb2_queue, (vb)->v4l2_buf.index, #op, \ 117 (vb)->vb2_queue->ops->op ? "" : " (nop)") 124 err = (vb)->vb2_queue->ops->op ? \ 125 (vb)->vb2_queue->ops->op(args) : 0; \ 134 if ((vb)->vb2_queue->ops->op) \ [all …]
|
D | v4l2-mem2mem.c | 82 struct vb2_queue *v4l2_m2m_get_vq(struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_get_vq() 359 struct vb2_queue *vq; in v4l2_m2m_reqbufs() 374 struct vb2_queue *vq; in v4l2_m2m_querybuf() 403 struct vb2_queue *vq; in v4l2_m2m_qbuf() 422 struct vb2_queue *vq; in v4l2_m2m_dqbuf() 436 struct vb2_queue *vq; in v4l2_m2m_create_bufs() 450 struct vb2_queue *vq; in v4l2_m2m_expbuf() 462 struct vb2_queue *vq; in v4l2_m2m_streamon() 530 struct vb2_queue *src_q, *dst_q; in v4l2_m2m_poll() 616 struct vb2_queue *vq; in v4l2_m2m_mmap() [all …]
|
/linux-4.1.27/drivers/media/platform/vivid/ |
D | vivid-vbi-out.c | 30 static int vbi_out_queue_setup(struct vb2_queue *vq, const struct v4l2_format *fmt, in vbi_out_queue_setup() 54 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vbi_out_buf_prepare() 56 unsigned size = vb->vb2_queue->type == V4L2_BUF_TYPE_SLICED_VBI_OUTPUT ? in vbi_out_buf_prepare() 82 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vbi_out_buf_queue() 92 static int vbi_out_start_streaming(struct vb2_queue *vq, unsigned count) in vbi_out_start_streaming() 117 static void vbi_out_stop_streaming(struct vb2_queue *vq) in vbi_out_stop_streaming()
|
D | vivid-vbi-cap.c | 138 static int vbi_cap_queue_setup(struct vb2_queue *vq, const struct v4l2_format *fmt, in vbi_cap_queue_setup() 162 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vbi_cap_buf_prepare() 164 unsigned size = vb->vb2_queue->type == V4L2_BUF_TYPE_SLICED_VBI_CAPTURE ? in vbi_cap_buf_prepare() 190 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vbi_cap_buf_queue() 200 static int vbi_cap_start_streaming(struct vb2_queue *vq, unsigned count) in vbi_cap_start_streaming() 225 static void vbi_cap_stop_streaming(struct vb2_queue *vq) in vbi_cap_stop_streaming()
|
D | vivid-core.h | 374 struct vb2_queue vb_vid_cap_q; 376 struct vb2_queue vb_vbi_cap_q; 402 struct vb2_queue vb_vid_out_q; 404 struct vb2_queue vb_vbi_out_q; 448 struct vb2_queue vb_sdr_cap_q;
|
D | vivid-sdr-cap.c | 194 static int sdr_cap_queue_setup(struct vb2_queue *vq, const struct v4l2_format *fmt, in sdr_cap_queue_setup() 206 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in sdr_cap_buf_prepare() 231 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in sdr_cap_buf_queue() 241 static int sdr_cap_start_streaming(struct vb2_queue *vq, unsigned count) in sdr_cap_start_streaming() 273 static void sdr_cap_stop_streaming(struct vb2_queue *vq) in sdr_cap_stop_streaming()
|
D | vivid-vid-out.c | 34 static int vid_out_queue_setup(struct vb2_queue *vq, const struct v4l2_format *fmt, in vid_out_queue_setup() 112 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vid_out_buf_prepare() 155 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vid_out_buf_queue() 165 static int vid_out_start_streaming(struct vb2_queue *vq, unsigned count) in vid_out_start_streaming() 196 static void vid_out_stop_streaming(struct vb2_queue *vq) in vid_out_stop_streaming() 438 struct vb2_queue *q = &dev->vb_vid_out_q; in vivid_s_fmt_vid_out()
|
D | vivid-vid-cap.c | 98 static int vid_cap_queue_setup(struct vb2_queue *vq, const struct v4l2_format *fmt, in vid_cap_queue_setup() 172 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vid_cap_buf_prepare() 209 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vid_cap_buf_finish() 234 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vid_cap_buf_queue() 244 static int vid_cap_start_streaming(struct vb2_queue *vq, unsigned count) in vid_cap_start_streaming() 278 static void vid_cap_stop_streaming(struct vb2_queue *vq) in vid_cap_stop_streaming() 631 struct vb2_queue *q = &dev->vb_vid_cap_q; in vivid_s_fmt_vid_cap()
|
D | vivid-core.c | 650 struct vb2_queue *q; in vivid_create_instance()
|
/linux-4.1.27/drivers/media/platform/coda/ |
D | coda.h | 181 int (*queue_init)(void *priv, struct vb2_queue *src_vq, 182 struct vb2_queue *dst_vq); 255 int coda_encoder_queue_init(void *priv, struct vb2_queue *src_vq, 256 struct vb2_queue *dst_vq); 257 int coda_decoder_queue_init(void *priv, struct vb2_queue *src_vq, 258 struct vb2_queue *dst_vq);
|
D | coda-common.c | 547 struct vb2_queue *src_vq; in coda_try_fmt_vid_cap() 623 struct vb2_queue *vq; in coda_s_fmt() 729 struct vb2_queue *src_vq; in coda_buf_is_end_of_stream() 1131 static int coda_queue_setup(struct vb2_queue *vq, in coda_queue_setup() 1157 struct coda_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in coda_buf_prepare() 1160 q_data = get_q_data(ctx, vb->vb2_queue->type); in coda_buf_prepare() 1175 struct coda_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in coda_buf_queue() 1176 struct vb2_queue *vq = vb->vb2_queue; in coda_buf_queue() 1179 q_data = get_q_data(ctx, vb->vb2_queue->type); in coda_buf_queue() 1194 if (vb2_is_streaming(vb->vb2_queue)) in coda_buf_queue() [all …]
|
/linux-4.1.27/drivers/media/pci/cx23885/ |
D | cx23885-vbi.c | 124 static int queue_setup(struct vb2_queue *q, const struct v4l2_format *fmt, in queue_setup() 141 struct cx23885_dev *dev = vb->vb2_queue->drv_priv; in buffer_prepare() 167 cx23885_free_buffer(vb->vb2_queue->drv_priv, buf); in buffer_finish() 193 struct cx23885_dev *dev = vb->vb2_queue->drv_priv; in buffer_queue() 224 static int cx23885_start_streaming(struct vb2_queue *q, unsigned int count) in cx23885_start_streaming() 235 static void cx23885_stop_streaming(struct vb2_queue *q) in cx23885_stop_streaming()
|
D | cx23885-video.c | 318 static int queue_setup(struct vb2_queue *q, const struct v4l2_format *fmt, in queue_setup() 332 struct cx23885_dev *dev = vb->vb2_queue->drv_priv; in buffer_prepare() 415 cx23885_free_buffer(vb->vb2_queue->drv_priv, buf); in buffer_finish() 441 struct cx23885_dev *dev = vb->vb2_queue->drv_priv; in buffer_queue() 471 static int cx23885_start_streaming(struct vb2_queue *q, unsigned int count) in cx23885_start_streaming() 482 static void cx23885_stop_streaming(struct vb2_queue *q) in cx23885_stop_streaming() 1136 struct vb2_queue *q; in cx23885_video_register()
|
D | cx23885.h | 427 struct vb2_queue vb2_vidq; 429 struct vb2_queue vb2_vbiq; 438 struct vb2_queue vb2_mpegq;
|
D | cx23885-417.c | 1141 static int queue_setup(struct vb2_queue *q, const struct v4l2_format *fmt, in queue_setup() 1158 struct cx23885_dev *dev = vb->vb2_queue->drv_priv; in buffer_prepare() 1167 struct cx23885_dev *dev = vb->vb2_queue->drv_priv; in buffer_finish() 1176 struct cx23885_dev *dev = vb->vb2_queue->drv_priv; in buffer_queue() 1183 static int cx23885_start_streaming(struct vb2_queue *q, unsigned int count) in cx23885_start_streaming() 1210 static void cx23885_stop_streaming(struct vb2_queue *q) in cx23885_stop_streaming() 1514 struct vb2_queue *q; in cx23885_417_register()
|
D | cx23885-dvb.c | 95 static int queue_setup(struct vb2_queue *q, const struct v4l2_format *fmt, in queue_setup() 113 struct cx23885_tsport *port = vb->vb2_queue->drv_priv; in buffer_prepare() 122 struct cx23885_tsport *port = vb->vb2_queue->drv_priv; in buffer_finish() 132 struct cx23885_tsport *port = vb->vb2_queue->drv_priv; in buffer_queue() 155 static int cx23885_start_streaming(struct vb2_queue *q, unsigned int count) in cx23885_start_streaming() 166 static void cx23885_stop_streaming(struct vb2_queue *q) in cx23885_stop_streaming() 2282 struct vb2_queue *q; in cx23885_dvb_register()
|
/linux-4.1.27/drivers/media/usb/em28xx/ |
D | em28xx-v4l.h | 17 int em28xx_start_analog_streaming(struct vb2_queue *vq, unsigned int count); 18 void em28xx_stop_vbi_streaming(struct vb2_queue *vq);
|
D | em28xx-vbi.c | 34 static int vbi_queue_setup(struct vb2_queue *vq, const struct v4l2_format *fmt, in vbi_queue_setup() 62 struct em28xx *dev = vb2_get_drv_priv(vb->vb2_queue); in vbi_buffer_prepare() 82 struct em28xx *dev = vb2_get_drv_priv(vb->vb2_queue); in vbi_buffer_queue()
|
D | em28xx.h | 521 struct vb2_queue vb_vidq; 522 struct vb2_queue vb_vbiq;
|
D | em28xx-video.c | 875 static int queue_setup(struct vb2_queue *vq, const struct v4l2_format *fmt, in queue_setup() 904 struct em28xx *dev = vb2_get_drv_priv(vb->vb2_queue); in buffer_prepare() 923 int em28xx_start_analog_streaming(struct vb2_queue *vq, unsigned int count) in em28xx_start_analog_streaming() 981 static void em28xx_stop_streaming(struct vb2_queue *vq) in em28xx_stop_streaming() 1012 void em28xx_stop_vbi_streaming(struct vb2_queue *vq) in em28xx_stop_vbi_streaming() 1046 struct em28xx *dev = vb2_get_drv_priv(vb->vb2_queue); in buffer_queue() 1073 struct vb2_queue *q; in em28xx_vb2_setup()
|
/linux-4.1.27/drivers/media/usb/au0828/ |
D | au0828-vbi.c | 33 static int vbi_queue_setup(struct vb2_queue *vq, const struct v4l2_format *fmt, in vbi_queue_setup() 54 struct au0828_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vbi_buffer_prepare() 73 struct au0828_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vbi_buffer_queue()
|
D | au0828.h | 217 struct vb2_queue vb_vidq; 218 struct vb2_queue vb_vbiq; 317 extern int au0828_start_analog_streaming(struct vb2_queue *vq, 319 extern void au0828_stop_vbi_streaming(struct vb2_queue *vq);
|
D | au0828-video.c | 305 struct vb2_queue *q = vb->vb2_queue; in buffer_filled() 639 static int queue_setup(struct vb2_queue *vq, const struct v4l2_format *fmt, in queue_setup() 661 struct au0828_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in buffer_prepare() 680 struct au0828_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in buffer_queue() 773 int au0828_start_analog_streaming(struct vb2_queue *vq, unsigned int count) in au0828_start_analog_streaming() 811 static void au0828_stop_streaming(struct vb2_queue *vq) in au0828_stop_streaming() 841 void au0828_stop_vbi_streaming(struct vb2_queue *vq) in au0828_stop_vbi_streaming() 1702 struct vb2_queue *q; in au0828_vb2_setup()
|
/linux-4.1.27/drivers/media/pci/cx88/ |
D | cx88-vbi.c | 112 static int queue_setup(struct vb2_queue *q, const struct v4l2_format *fmt, in queue_setup() 130 struct cx8800_dev *dev = vb->vb2_queue->drv_priv; in buffer_prepare() 154 struct cx8800_dev *dev = vb->vb2_queue->drv_priv; in buffer_finish() 165 struct cx8800_dev *dev = vb->vb2_queue->drv_priv; in buffer_queue() 193 static int start_streaming(struct vb2_queue *q, unsigned int count) in start_streaming() 204 static void stop_streaming(struct vb2_queue *q) in stop_streaming()
|
D | cx88.h | 494 struct vb2_queue vb2_vidq; 496 struct vb2_queue vb2_vbiq; 556 struct vb2_queue vb2_mpegq; 728 int cx8802_buf_prepare(struct vb2_queue *q, struct cx8802_dev *dev,
|
D | cx88-blackbird.c | 640 static int queue_setup(struct vb2_queue *q, const struct v4l2_format *fmt, in queue_setup() 656 struct cx8802_dev *dev = vb->vb2_queue->drv_priv; in buffer_prepare() 659 return cx8802_buf_prepare(vb->vb2_queue, dev, buf); in buffer_prepare() 664 struct cx8802_dev *dev = vb->vb2_queue->drv_priv; in buffer_finish() 675 struct cx8802_dev *dev = vb->vb2_queue->drv_priv; in buffer_queue() 681 static int start_streaming(struct vb2_queue *q, unsigned int count) in start_streaming() 730 static void stop_streaming(struct vb2_queue *q) in stop_streaming() 1134 struct vb2_queue *q; in cx8802_blackbird_probe()
|
D | cx88-dvb.c | 85 static int queue_setup(struct vb2_queue *q, const struct v4l2_format *fmt, in queue_setup() 102 struct cx8802_dev *dev = vb->vb2_queue->drv_priv; in buffer_prepare() 105 return cx8802_buf_prepare(vb->vb2_queue, dev, buf); in buffer_prepare() 110 struct cx8802_dev *dev = vb->vb2_queue->drv_priv; in buffer_finish() 121 struct cx8802_dev *dev = vb->vb2_queue->drv_priv; in buffer_queue() 127 static int start_streaming(struct vb2_queue *q, unsigned int count) in start_streaming() 138 static void stop_streaming(struct vb2_queue *q) in stop_streaming() 1773 struct vb2_queue *q; in cx8802_dvb_probe()
|
D | cx88-video.c | 434 static int queue_setup(struct vb2_queue *q, const struct v4l2_format *fmt, in queue_setup() 449 struct cx8800_dev *dev = vb->vb2_queue->drv_priv; in buffer_prepare() 502 struct cx8800_dev *dev = vb->vb2_queue->drv_priv; in buffer_finish() 513 struct cx8800_dev *dev = vb->vb2_queue->drv_priv; in buffer_queue() 541 static int start_streaming(struct vb2_queue *q, unsigned int count) in start_streaming() 552 static void stop_streaming(struct vb2_queue *q) in stop_streaming() 1287 struct vb2_queue *q; in cx8800_initdev()
|
D | cx88-mpeg.c | 226 int cx8802_buf_prepare(struct vb2_queue *q, struct cx8802_dev *dev, in cx8802_buf_prepare()
|
/linux-4.1.27/drivers/media/usb/uvc/ |
D | uvc_queue.c | 71 static int uvc_queue_setup(struct vb2_queue *vq, const struct v4l2_format *fmt, in uvc_queue_setup() 92 struct uvc_video_queue *queue = vb2_get_drv_priv(vb->vb2_queue); in uvc_buffer_prepare() 118 struct uvc_video_queue *queue = vb2_get_drv_priv(vb->vb2_queue); in uvc_buffer_queue() 138 struct uvc_video_queue *queue = vb2_get_drv_priv(vb->vb2_queue); in uvc_buffer_finish() 146 static int uvc_start_streaming(struct vb2_queue *vq, unsigned int count) in uvc_start_streaming() 166 static void uvc_stop_streaming(struct vb2_queue *vq) in uvc_stop_streaming()
|
D | uvcvideo.h | 374 struct vb2_queue queue;
|
/linux-4.1.27/drivers/media/pci/saa7134/ |
D | saa7134-ts.c | 80 struct saa7134_dmaqueue *dmaq = vb2->vb2_queue->drv_priv; in saa7134_ts_buffer_init() 92 struct saa7134_dmaqueue *dmaq = vb2->vb2_queue->drv_priv; in saa7134_ts_buffer_prepare() 115 int saa7134_ts_queue_setup(struct vb2_queue *q, const struct v4l2_format *fmt, in saa7134_ts_queue_setup() 135 int saa7134_ts_start_streaming(struct vb2_queue *vq, unsigned int count) in saa7134_ts_start_streaming() 162 void saa7134_ts_stop_streaming(struct vb2_queue *vq) in saa7134_ts_stop_streaming()
|
D | saa7134-vbi.c | 84 struct saa7134_dmaqueue *dmaq = buf->vb2.vb2_queue->drv_priv; in buffer_activate() 118 struct saa7134_dmaqueue *dmaq = vb2->vb2_queue->drv_priv; in buffer_prepare() 138 static int queue_setup(struct vb2_queue *q, const struct v4l2_format *fmt, in queue_setup() 161 struct saa7134_dmaqueue *dmaq = vb2->vb2_queue->drv_priv; in buffer_init()
|
D | saa7134.h | 593 struct vb2_queue video_vbq; 595 struct vb2_queue vbi_vbq; 612 struct vb2_queue empress_vbq; 781 int saa7134_vb2_start_streaming(struct vb2_queue *vq, unsigned int count); 782 void saa7134_vb2_stop_streaming(struct vb2_queue *vq); 818 int saa7134_ts_queue_setup(struct vb2_queue *q, const struct v4l2_format *fmt, 821 int saa7134_ts_start_streaming(struct vb2_queue *vq, unsigned int count); 822 void saa7134_ts_stop_streaming(struct vb2_queue *vq);
|
D | saa7134-empress.c | 51 static int start_streaming(struct vb2_queue *vq, unsigned int count) in start_streaming() 79 static void stop_streaming(struct vb2_queue *vq) in stop_streaming() 255 struct vb2_queue *q; in empress_init()
|
D | saa7134-video.c | 791 struct saa7134_dmaqueue *dmaq = buf->vb2.vb2_queue->drv_priv; in buffer_activate() 871 struct saa7134_dmaqueue *dmaq = vb2->vb2_queue->drv_priv; in buffer_init() 881 struct saa7134_dmaqueue *dmaq = vb2->vb2_queue->drv_priv; in buffer_prepare() 902 static int queue_setup(struct vb2_queue *q, const struct v4l2_format *fmt, in queue_setup() 930 struct saa7134_dmaqueue *dmaq = vb->vb2_queue->drv_priv; in saa7134_vb2_buffer_queue() 938 int saa7134_vb2_start_streaming(struct vb2_queue *vq, unsigned int count) in saa7134_vb2_start_streaming() 978 void saa7134_vb2_stop_streaming(struct vb2_queue *vq) in saa7134_vb2_stop_streaming() 2016 struct vb2_queue *q; in saa7134_video_init1()
|
D | saa7134-dvb.c | 1219 struct vb2_queue *q; in dvb_init()
|
/linux-4.1.27/drivers/media/platform/ |
D | vim2m.c | 484 struct vb2_queue *vq; in vidioc_g_fmt() 586 struct vb2_queue *vq; in vidioc_s_fmt() 714 static int vim2m_queue_setup(struct vb2_queue *vq, in vim2m_queue_setup() 746 struct vim2m_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in vim2m_buf_prepare() 749 dprintk(ctx->dev, "type: %d\n", vb->vb2_queue->type); in vim2m_buf_prepare() 751 q_data = get_q_data(ctx, vb->vb2_queue->type); in vim2m_buf_prepare() 752 if (V4L2_TYPE_IS_OUTPUT(vb->vb2_queue->type)) { in vim2m_buf_prepare() 775 struct vim2m_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in vim2m_buf_queue() 780 static int vim2m_start_streaming(struct vb2_queue *q, unsigned count) in vim2m_start_streaming() 789 static void vim2m_stop_streaming(struct vb2_queue *q) in vim2m_stop_streaming() [all …]
|
D | mx2_emmaprp.c | 454 struct vb2_queue *vq; in vidioc_g_fmt() 559 struct vb2_queue *vq; in vidioc_s_fmt() 691 static int emmaprp_queue_setup(struct vb2_queue *vq, in emmaprp_queue_setup() 723 struct emmaprp_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in emmaprp_buf_prepare() 726 dprintk(ctx->dev, "type: %d\n", vb->vb2_queue->type); in emmaprp_buf_prepare() 728 q_data = get_q_data(ctx, vb->vb2_queue->type); in emmaprp_buf_prepare() 745 struct emmaprp_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in emmaprp_buf_queue() 755 static int queue_init(void *priv, struct vb2_queue *src_vq, in queue_init() 756 struct vb2_queue *dst_vq) in queue_init()
|
D | sh_veu.c | 300 static int sh_veu_queue_init(void *priv, struct vb2_queue *src_vq, 301 struct vb2_queue *dst_vq); 554 struct vb2_queue *vq; in sh_veu_s_fmt() 867 static int sh_veu_queue_setup(struct vb2_queue *vq, in sh_veu_queue_setup() 913 struct sh_veu_dev *veu = vb2_get_drv_priv(vb->vb2_queue); in sh_veu_buf_prepare() 917 vfmt = sh_veu_get_vfmt(veu, vb->vb2_queue->type); in sh_veu_buf_prepare() 934 struct sh_veu_dev *veu = vb2_get_drv_priv(vb->vb2_queue); in sh_veu_buf_queue() 947 static int sh_veu_queue_init(void *priv, struct vb2_queue *src_vq, in sh_veu_queue_init() 948 struct vb2_queue *dst_vq) in sh_veu_queue_init()
|
D | m2m-deinterlace.c | 514 struct vb2_queue *vq; in vidioc_g_fmt() 612 struct vb2_queue *vq; in vidioc_s_fmt() 799 static int deinterlace_queue_setup(struct vb2_queue *vq, in deinterlace_queue_setup() 832 struct deinterlace_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in deinterlace_buf_prepare() 835 dprintk(ctx->dev, "type: %d\n", vb->vb2_queue->type); in deinterlace_buf_prepare() 837 q_data = get_q_data(vb->vb2_queue->type); in deinterlace_buf_prepare() 852 struct deinterlace_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in deinterlace_buf_queue() 862 static int queue_init(void *priv, struct vb2_queue *src_vq, in queue_init() 863 struct vb2_queue *dst_vq) in queue_init()
|
/linux-4.1.27/drivers/media/usb/stk1160/ |
D | stk1160-v4l.c | 351 struct vb2_queue *q = &dev->vb_vidq; in vidioc_s_fmt_vid_cap() 381 struct vb2_queue *q = &dev->vb_vidq; in vidioc_s_std() 519 static int queue_setup(struct vb2_queue *vq, const struct v4l2_format *v4l_fmt, in queue_setup() 549 struct stk1160 *dev = vb2_get_drv_priv(vb->vb2_queue); in buffer_queue() 580 static int start_streaming(struct vb2_queue *vq, unsigned int count) in start_streaming() 587 static void stop_streaming(struct vb2_queue *vq) in stop_streaming() 644 struct vb2_queue *q; in stk1160_vb2_setup()
|
D | stk1160.h | 134 struct vb2_queue vb_vidq;
|
/linux-4.1.27/drivers/media/platform/exynos-gsc/ |
D | gsc-m2m.c | 60 static int gsc_m2m_start_streaming(struct vb2_queue *q, unsigned int count) in gsc_m2m_start_streaming() 69 static void gsc_m2m_stop_streaming(struct vb2_queue *q) in gsc_m2m_stop_streaming() 214 static int gsc_m2m_queue_setup(struct vb2_queue *vq, in gsc_m2m_queue_setup() 240 struct gsc_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in gsc_m2m_buf_prepare() 244 frame = ctx_get_frame(ctx, vb->vb2_queue->type); in gsc_m2m_buf_prepare() 248 if (!V4L2_TYPE_IS_OUTPUT(vb->vb2_queue->type)) { in gsc_m2m_buf_prepare() 258 struct gsc_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in gsc_m2m_buf_queue() 318 struct vb2_queue *vq; in gsc_m2m_s_fmt_mplane() 579 static int queue_init(void *priv, struct vb2_queue *src_vq, in queue_init() 580 struct vb2_queue *dst_vq) in queue_init()
|
/linux-4.1.27/drivers/input/touchscreen/ |
D | sur40.c | 152 struct vb2_queue queue; 173 static const struct vb2_queue sur40_queue; 634 static int sur40_queue_setup(struct vb2_queue *q, const struct v4l2_format *fmt, in sur40_queue_setup() 659 struct sur40_state *sur40 = vb2_get_drv_priv(vb->vb2_queue); in sur40_buffer_prepare() 677 struct sur40_state *sur40 = vb2_get_drv_priv(vb->vb2_queue); in sur40_buffer_queue() 704 static int sur40_start_streaming(struct vb2_queue *vq, unsigned int count) in sur40_start_streaming() 716 static void sur40_stop_streaming(struct vb2_queue *vq) in sur40_stop_streaming() 798 static const struct vb2_queue sur40_queue = {
|
/linux-4.1.27/Documentation/video4linux/ |
D | v4l2-pci-skeleton.c | 74 struct vb2_queue queue; 165 static int queue_setup(struct vb2_queue *vq, const struct v4l2_format *fmt, in queue_setup() 199 struct skeleton *skel = vb2_get_drv_priv(vb->vb2_queue); in buffer_prepare() 217 struct skeleton *skel = vb2_get_drv_priv(vb->vb2_queue); in buffer_queue() 249 static int start_streaming(struct vb2_queue *vq, unsigned int count) in start_streaming() 272 static void stop_streaming(struct vb2_queue *vq) in stop_streaming() 767 struct vb2_queue *q; in skeleton_probe()
|
D | v4l2-framework.txt | 653 - queue: a pointer to the struct vb2_queue associated with this device node.
|
/linux-4.1.27/drivers/media/platform/exynos4-is/ |
D | fimc-m2m.c | 79 static int start_streaming(struct vb2_queue *q, unsigned int count) in start_streaming() 88 static void stop_streaming(struct vb2_queue *q) in stop_streaming() 179 static int fimc_queue_setup(struct vb2_queue *vq, const struct v4l2_format *fmt, in fimc_queue_setup() 207 struct fimc_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in fimc_buf_prepare() 211 frame = ctx_get_frame(ctx, vb->vb2_queue->type); in fimc_buf_prepare() 223 struct fimc_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in fimc_buf_queue() 366 struct vb2_queue *vq; in fimc_m2m_s_fmt_mplane() 550 static int queue_init(void *priv, struct vb2_queue *src_vq, in queue_init() 551 struct vb2_queue *dst_vq) in queue_init()
|
D | fimc-isp-video.c | 41 static int isp_video_capture_queue_setup(struct vb2_queue *vq, in isp_video_capture_queue_setup() 85 static int isp_video_capture_start_streaming(struct vb2_queue *q, in isp_video_capture_start_streaming() 128 static void isp_video_capture_stop_streaming(struct vb2_queue *q) in isp_video_capture_stop_streaming() 162 struct fimc_isp *isp = vb2_get_drv_priv(vb->vb2_queue); in isp_video_capture_buffer_prepare() 197 struct fimc_isp *isp = vb2_get_drv_priv(vb->vb2_queue); in isp_video_capture_buffer_queue() 235 isp_video_capture_start_streaming(vb->vb2_queue, 0); in isp_video_capture_buffer_queue() 573 struct vb2_queue *q = &isp->video_capture.vb_queue; in fimc_isp_video_device_register()
|
D | fimc-lite.h | 176 struct vb2_queue vb_queue;
|
D | fimc-isp.h | 133 struct vb2_queue vb_queue;
|
D | fimc-lite.c | 319 static int start_streaming(struct vb2_queue *q, unsigned int count) in start_streaming() 353 static void stop_streaming(struct vb2_queue *q) in stop_streaming() 363 static int queue_setup(struct vb2_queue *vq, const struct v4l2_format *pfmt, in queue_setup() 401 struct vb2_queue *vq = vb->vb2_queue; in buffer_prepare() 427 struct fimc_lite *fimc = vb2_get_drv_priv(vb->vb2_queue); in buffer_queue() 1289 struct vb2_queue *q = &fimc->vb_queue; in fimc_lite_subdev_registered()
|
D | fimc-capture.c | 266 static int start_streaming(struct vb2_queue *q, unsigned int count) in start_streaming() 297 static void stop_streaming(struct vb2_queue *q) in stop_streaming() 347 static int queue_setup(struct vb2_queue *vq, const struct v4l2_format *pfmt, in queue_setup() 389 struct vb2_queue *vq = vb->vb2_queue; in buffer_prepare() 415 struct fimc_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in buffer_queue() 1741 struct vb2_queue *q = &fimc->vid_cap.vbq; in fimc_register_capture_device()
|
D | fimc-core.h | 320 struct vb2_queue vbq;
|
/linux-4.1.27/drivers/staging/media/omap4iss/ |
D | iss_video.h | 169 struct vb2_queue *queue; 183 struct vb2_queue queue;
|
D | iss_video.c | 290 static int iss_video_queue_setup(struct vb2_queue *vq, in iss_video_queue_setup() 322 struct iss_video_fh *vfh = vb2_get_drv_priv(vb->vb2_queue); in iss_video_buf_prepare() 345 struct iss_video_fh *vfh = vb2_get_drv_priv(vb->vb2_queue); in iss_video_buf_queue() 1046 struct vb2_queue *q; in iss_video_open()
|
/linux-4.1.27/drivers/media/pci/tw68/ |
D | tw68-video.c | 379 static int tw68_queue_setup(struct vb2_queue *q, const struct v4l2_format *fmt, in tw68_queue_setup() 426 struct vb2_queue *vq = vb->vb2_queue; in tw68_buf_queue() 460 struct vb2_queue *vq = vb->vb2_queue; in tw68_buf_prepare() 502 struct vb2_queue *vq = vb->vb2_queue; in tw68_buf_finish() 509 static int tw68_start_streaming(struct vb2_queue *q, unsigned int count) in tw68_start_streaming() 520 static void tw68_stop_streaming(struct vb2_queue *q) in tw68_stop_streaming()
|
D | tw68.h | 181 struct vb2_queue vidq;
|
/linux-4.1.27/drivers/media/platform/omap3isp/ |
D | ispvideo.h | 175 struct vb2_queue *queue; 189 struct vb2_queue queue;
|
D | ispvideo.c | 322 static int isp_video_queue_setup(struct vb2_queue *queue, in isp_video_queue_setup() 345 struct isp_video_fh *vfh = vb2_get_drv_priv(buf->vb2_queue); in isp_video_buffer_prepare() 383 struct isp_video_fh *vfh = vb2_get_drv_priv(buf->vb2_queue); in isp_video_buffer_queue() 1231 struct vb2_queue *queue; in isp_video_open()
|
/linux-4.1.27/drivers/media/pci/sta2x11/ |
D | sta2x11_vip.c | 145 struct vb2_queue vb_vidq; 268 static int queue_setup(struct vb2_queue *vq, const struct v4l2_format *fmt, in queue_setup() 299 struct sta2x11_vip *vip = vb2_get_drv_priv(vb->vb2_queue); in buffer_prepare() 316 struct sta2x11_vip *vip = vb2_get_drv_priv(vb->vb2_queue); in buffer_queue() 332 struct sta2x11_vip *vip = vb2_get_drv_priv(vb->vb2_queue); in buffer_finish() 340 if (vb2_is_streaming(vb->vb2_queue)) in buffer_finish() 344 static int start_streaming(struct vb2_queue *vq, unsigned int count) in start_streaming() 360 static void stop_streaming(struct vb2_queue *vq) in stop_streaming() 860 memset(&vip->vb_vidq, 0, sizeof(struct vb2_queue)); in sta2x11_vip_init_buffer()
|
/linux-4.1.27/drivers/usb/gadget/function/ |
D | uvc_queue.c | 44 static int uvc_queue_setup(struct vb2_queue *vq, const struct v4l2_format *fmt, in uvc_queue_setup() 63 struct uvc_video_queue *queue = vb2_get_drv_priv(vb->vb2_queue); in uvc_buffer_prepare() 88 struct uvc_video_queue *queue = vb2_get_drv_priv(vb->vb2_queue); in uvc_buffer_queue()
|
D | uvc_queue.h | 43 struct vb2_queue queue;
|
/linux-4.1.27/drivers/media/platform/s5p-g2d/ |
D | g2d.c | 104 static int g2d_queue_setup(struct vb2_queue *vq, const struct v4l2_format *fmt, in g2d_queue_setup() 126 struct g2d_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in g2d_buf_prepare() 127 struct g2d_frame *f = get_frame(ctx, vb->vb2_queue->type); in g2d_buf_prepare() 137 struct g2d_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in g2d_buf_queue() 147 static int queue_init(void *priv, struct vb2_queue *src_vq, in queue_init() 148 struct vb2_queue *dst_vq) in queue_init() 318 struct vb2_queue *vq; in vidioc_g_fmt() 371 struct vb2_queue *vq; in vidioc_s_fmt()
|
/linux-4.1.27/drivers/media/platform/soc_camera/ |
D | atmel-isi.c | 240 static int queue_setup(struct vb2_queue *vq, const struct v4l2_format *fmt, in queue_setup() 282 struct soc_camera_device *icd = soc_camera_from_vb2q(vb->vb2_queue); in buffer_prepare() 324 struct soc_camera_device *icd = soc_camera_from_vb2q(vb->vb2_queue); in buffer_cleanup() 365 struct soc_camera_device *icd = soc_camera_from_vb2q(vb->vb2_queue); in buffer_queue() 376 if (vb2_is_streaming(vb->vb2_queue)) in buffer_queue() 382 static int start_streaming(struct vb2_queue *vq, unsigned int count) in start_streaming() 410 static void stop_streaming(struct vb2_queue *vq) in stop_streaming() 465 static int isi_camera_init_videobuf(struct vb2_queue *q, in isi_camera_init_videobuf()
|
D | mx3_camera.c | 187 static int mx3_videobuf_setup(struct vb2_queue *vq, in mx3_videobuf_setup() 260 struct soc_camera_device *icd = soc_camera_from_vb2q(vb->vb2_queue); in mx3_videobuf_queue() 360 struct soc_camera_device *icd = soc_camera_from_vb2q(vb->vb2_queue); in mx3_videobuf_release() 393 struct soc_camera_device *icd = soc_camera_from_vb2q(vb->vb2_queue); in mx3_videobuf_init() 409 static void mx3_stop_streaming(struct vb2_queue *q) in mx3_stop_streaming() 443 static int mx3_camera_init_videobuf(struct vb2_queue *q, in mx3_camera_init_videobuf()
|
D | mx2_camera.c | 471 static int mx2_videobuf_setup(struct vb2_queue *vq, in mx2_videobuf_setup() 503 struct soc_camera_device *icd = soc_camera_from_vb2q(vb->vb2_queue); in mx2_videobuf_prepare() 533 struct soc_camera_device *icd = soc_camera_from_vb2q(vb->vb2_queue); in mx2_videobuf_queue() 646 static int mx2_start_streaming(struct vb2_queue *q, unsigned int count) in mx2_start_streaming() 742 static void mx2_stop_streaming(struct vb2_queue *q) in mx2_stop_streaming() 784 static int mx2_camera_init_videobuf(struct vb2_queue *q, in mx2_camera_init_videobuf()
|
D | sh_mobile_ceu_camera.c | 212 static int sh_mobile_ceu_videobuf_setup(struct vb2_queue *vq, in sh_mobile_ceu_videobuf_setup() 382 struct soc_camera_device *icd = container_of(vb->vb2_queue, struct soc_camera_device, vb2_vidq); in sh_mobile_ceu_videobuf_queue() 432 struct soc_camera_device *icd = container_of(vb->vb2_queue, struct soc_camera_device, vb2_vidq); in sh_mobile_ceu_videobuf_release() 461 struct soc_camera_device *icd = container_of(vb->vb2_queue, struct soc_camera_device, vb2_vidq); in sh_mobile_ceu_videobuf_init() 474 static void sh_mobile_ceu_stop_streaming(struct vb2_queue *q) in sh_mobile_ceu_stop_streaming() 1661 static int sh_mobile_ceu_init_videobuf(struct vb2_queue *q, in sh_mobile_ceu_init_videobuf()
|
D | rcar_vin.c | 528 static int rcar_vin_videobuf_setup(struct vb2_queue *vq, in rcar_vin_videobuf_setup() 764 struct soc_camera_device *icd = soc_camera_from_vb2q(vb->vb2_queue); in rcar_vin_videobuf_queue() 834 static void rcar_vin_stop_streaming(struct vb2_queue *vq) in rcar_vin_stop_streaming() 1777 static int rcar_vin_init_videobuf2(struct vb2_queue *vq, in rcar_vin_init_videobuf2()
|
/linux-4.1.27/drivers/media/platform/blackfin/ |
D | bfin_capture.c | 93 struct vb2_queue buffer_queue; 199 static int bcap_queue_setup(struct vb2_queue *vq, in bcap_queue_setup() 221 struct bcap_device *bcap_dev = vb2_get_drv_priv(vb->vb2_queue); in bcap_buffer_prepare() 238 struct bcap_device *bcap_dev = vb2_get_drv_priv(vb->vb2_queue); in bcap_buffer_queue() 249 struct bcap_device *bcap_dev = vb2_get_drv_priv(vb->vb2_queue); in bcap_buffer_cleanup() 258 static int bcap_start_streaming(struct vb2_queue *vq, unsigned int count) in bcap_start_streaming() 348 static void bcap_stop_streaming(struct vb2_queue *vq) in bcap_stop_streaming() 780 struct vb2_queue *q; in bcap_probe()
|
/linux-4.1.27/drivers/media/pci/cx25821/ |
D | cx25821-video.c | 144 static int cx25821_queue_setup(struct vb2_queue *q, const struct v4l2_format *fmt, in cx25821_queue_setup() 162 struct cx25821_channel *chan = vb->vb2_queue->drv_priv; in cx25821_buffer_prepare() 245 struct cx25821_channel *chan = vb->vb2_queue->drv_priv; in cx25821_buffer_finish() 255 struct cx25821_channel *chan = vb->vb2_queue->drv_priv; in cx25821_buffer_queue() 276 static int cx25821_start_streaming(struct vb2_queue *q, unsigned int count) in cx25821_start_streaming() 289 static void cx25821_stop_streaming(struct vb2_queue *q) in cx25821_stop_streaming() 699 struct vb2_queue *q; in cx25821_video_register()
|
D | cx25821.h | 220 struct vb2_queue vidq;
|
/linux-4.1.27/drivers/media/platform/xilinx/ |
D | xilinx-dma.h | 90 struct vb2_queue queue;
|
D | xilinx-dma.c | 312 xvip_dma_queue_setup(struct vb2_queue *vq, const struct v4l2_format *fmt, in xvip_dma_queue_setup() 332 struct xvip_dma *dma = vb2_get_drv_priv(vb->vb2_queue); in xvip_dma_buffer_prepare() 342 struct xvip_dma *dma = vb2_get_drv_priv(vb->vb2_queue); in xvip_dma_buffer_queue() 386 static int xvip_dma_start_streaming(struct vb2_queue *vq, unsigned int count) in xvip_dma_start_streaming() 445 static void xvip_dma_stop_streaming(struct vb2_queue *vq) in xvip_dma_stop_streaming()
|
/linux-4.1.27/drivers/media/usb/pwc/ |
D | pwc-if.c | 575 static int queue_setup(struct vb2_queue *vq, const struct v4l2_format *fmt, in queue_setup() 610 struct pwc_device *pdev = vb2_get_drv_priv(vb->vb2_queue); in buffer_prepare() 621 struct pwc_device *pdev = vb2_get_drv_priv(vb->vb2_queue); in buffer_finish() 644 struct pwc_device *pdev = vb2_get_drv_priv(vb->vb2_queue); in buffer_queue() 659 static int start_streaming(struct vb2_queue *vq, unsigned int count) in start_streaming() 686 static void stop_streaming(struct vb2_queue *vq) in stop_streaming()
|
D | pwc.h | 225 struct vb2_queue vb_queue;
|
/linux-4.1.27/drivers/media/pci/solo6x10/ |
D | solo6x10-v4l2.c | 314 static int solo_queue_setup(struct vb2_queue *q, const struct v4l2_format *fmt, in solo_queue_setup() 330 static int solo_start_streaming(struct vb2_queue *q, unsigned int count) in solo_start_streaming() 338 static void solo_stop_streaming(struct vb2_queue *q) in solo_stop_streaming() 348 struct vb2_queue *vq = vb->vb2_queue; in solo_buf_queue()
|
D | solo6x10.h | 179 struct vb2_queue vidq; 272 struct vb2_queue vidq;
|
D | solo6x10-v4l2-enc.c | 661 static int solo_enc_queue_setup(struct vb2_queue *q, in solo_enc_queue_setup() 681 struct vb2_queue *vq = vb->vb2_queue; in solo_enc_buf_queue() 717 static int solo_enc_start_streaming(struct vb2_queue *q, unsigned int count) in solo_enc_start_streaming() 724 static void solo_enc_stop_streaming(struct vb2_queue *q) in solo_enc_stop_streaming() 744 struct solo_enc_dev *solo_enc = vb2_get_drv_priv(vb->vb2_queue); in solo_enc_buf_finish()
|
/linux-4.1.27/drivers/media/platform/davinci/ |
D | vpif_capture.h | 67 struct vb2_queue buffer_queue;
|
D | vpif_display.h | 75 struct vb2_queue buffer_queue; /* Buffer queue used in
|
D | vpbe_display.c | 210 struct vb2_queue *q = vb->vb2_queue; in vpbe_buffer_prepare() 236 vpbe_buffer_queue_setup(struct vb2_queue *vq, const struct v4l2_format *fmt, in vpbe_buffer_queue_setup() 270 struct vpbe_layer *layer = vb2_get_drv_priv(vb->vb2_queue); in vpbe_buffer_queue() 284 static int vpbe_start_streaming(struct vb2_queue *vq, unsigned int count) in vpbe_start_streaming() 325 static void vpbe_stop_streaming(struct vb2_queue *vq) in vpbe_stop_streaming() 1384 struct vb2_queue *q; in vpbe_display_probe()
|
D | vpif_display.c | 71 struct channel_obj *ch = vb2_get_drv_priv(vb->vb2_queue); in vpif_buffer_prepare() 82 if (vb->vb2_queue->type != V4L2_BUF_TYPE_SLICED_VBI_OUTPUT) { in vpif_buffer_prepare() 109 static int vpif_buffer_queue_setup(struct vb2_queue *vq, in vpif_buffer_queue_setup() 142 struct channel_obj *ch = vb2_get_drv_priv(vb->vb2_queue); in vpif_buffer_queue() 159 static int vpif_start_streaming(struct vb2_queue *vq, unsigned int count) in vpif_start_streaming() 246 static void vpif_stop_streaming(struct vb2_queue *vq) in vpif_stop_streaming() 1137 struct vb2_queue *q; in vpif_probe_complete()
|
D | vpif_capture.c | 75 struct vb2_queue *q = vb->vb2_queue; in vpif_buffer_prepare() 114 static int vpif_buffer_queue_setup(struct vb2_queue *vq, in vpif_buffer_queue_setup() 148 struct channel_obj *ch = vb2_get_drv_priv(vb->vb2_queue); in vpif_buffer_queue() 168 static int vpif_start_streaming(struct vb2_queue *vq, unsigned int count) in vpif_start_streaming() 260 static void vpif_stop_streaming(struct vb2_queue *vq) in vpif_stop_streaming() 1339 struct vb2_queue *q; in vpif_probe_complete()
|
/linux-4.1.27/include/media/davinci/ |
D | vpbe_display.h | 82 struct vb2_queue buffer_queue;
|
/linux-4.1.27/drivers/media/usb/go7007/ |
D | go7007-v4l2.c | 369 static int go7007_queue_setup(struct vb2_queue *q, in go7007_queue_setup() 385 struct vb2_queue *vq = vb->vb2_queue; in go7007_buf_queue() 409 struct vb2_queue *vq = vb->vb2_queue; in go7007_buf_finish() 422 static int go7007_start_streaming(struct vb2_queue *q, unsigned int count) in go7007_start_streaming() 453 static void go7007_stop_streaming(struct vb2_queue *q) in go7007_stop_streaming()
|
D | go7007-priv.h | 234 struct vb2_queue vidq;
|
/linux-4.1.27/drivers/media/usb/usbtv/ |
D | usbtv.h | 76 struct vb2_queue vb2q;
|
D | usbtv-video.c | 601 static int usbtv_queue_setup(struct vb2_queue *vq, in usbtv_queue_setup() 617 struct usbtv *usbtv = vb2_get_drv_priv(vb->vb2_queue); in usbtv_buf_queue() 631 static int usbtv_start_streaming(struct vb2_queue *vq, unsigned int count) in usbtv_start_streaming() 641 static void usbtv_stop_streaming(struct vb2_queue *vq) in usbtv_stop_streaming()
|
/linux-4.1.27/drivers/media/platform/ti-vpe/ |
D | vpe.c | 1394 struct vb2_queue *vq; in vpe_g_fmt() 1527 struct vb2_queue *vq; in __vpe_s_fmt() 1800 static int vpe_queue_setup(struct vb2_queue *vq, in vpe_queue_setup() 1828 struct vpe_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in vpe_buf_prepare() 1832 vpe_dbg(ctx->dev, "type: %d\n", vb->vb2_queue->type); in vpe_buf_prepare() 1834 q_data = get_q_data(ctx, vb->vb2_queue->type); in vpe_buf_prepare() 1837 if (vb->vb2_queue->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) { in vpe_buf_prepare() 1865 struct vpe_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in vpe_buf_queue() 1870 static int vpe_start_streaming(struct vb2_queue *q, unsigned int count) in vpe_start_streaming() 1877 static void vpe_stop_streaming(struct vb2_queue *q) in vpe_stop_streaming() [all …]
|
/linux-4.1.27/drivers/staging/media/davinci_vpfe/ |
D | vpfe_video.h | 123 struct vb2_queue buffer_queue;
|
D | vpfe_video.c | 1084 vpfe_buffer_queue_setup(struct vb2_queue *vq, const struct v4l2_format *fmt, in vpfe_buffer_queue_setup() 1123 struct vpfe_fh *fh = vb2_get_drv_priv(vb->vb2_queue); in vpfe_buffer_prepare() 1151 struct vpfe_fh *fh = vb2_get_drv_priv(vb->vb2_queue); in vpfe_buffer_queue() 1197 static int vpfe_start_streaming(struct vb2_queue *vq, unsigned int count) in vpfe_start_streaming() 1254 static void vpfe_stop_streaming(struct vb2_queue *vq) in vpfe_stop_streaming() 1281 struct vpfe_fh *fh = vb2_get_drv_priv(vb->vb2_queue); in vpfe_buf_cleanup() 1312 struct vb2_queue *q; in vpfe_reqbufs()
|
/linux-4.1.27/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc_dec.c | 885 static int s5p_mfc_queue_setup(struct vb2_queue *vq, in s5p_mfc_queue_setup() 948 struct vb2_queue *vq = vb->vb2_queue; in s5p_mfc_buf_init() 997 static int s5p_mfc_start_streaming(struct vb2_queue *q, unsigned int count) in s5p_mfc_start_streaming() 1013 static void s5p_mfc_stop_streaming(struct vb2_queue *q) in s5p_mfc_stop_streaming() 1061 struct vb2_queue *vq = vb->vb2_queue; in s5p_mfc_buf_queue()
|
D | s5p_mfc_enc.c | 1814 static int s5p_mfc_queue_setup(struct vb2_queue *vq, in s5p_mfc_queue_setup() 1871 struct vb2_queue *vq = vb->vb2_queue; in s5p_mfc_buf_init() 1905 struct vb2_queue *vq = vb->vb2_queue; in s5p_mfc_buf_prepare() 1939 static int s5p_mfc_start_streaming(struct vb2_queue *q, unsigned int count) in s5p_mfc_start_streaming() 1969 static void s5p_mfc_stop_streaming(struct vb2_queue *q) in s5p_mfc_stop_streaming() 2002 struct vb2_queue *vq = vb->vb2_queue; in s5p_mfc_buf_queue()
|
D | s5p_mfc_common.h | 577 struct vb2_queue vq_src; 578 struct vb2_queue vq_dst;
|
D | s5p_mfc_opr.h | 300 struct vb2_queue *vq);
|
D | s5p_mfc.c | 723 struct vb2_queue *q; in s5p_mfc_open() 940 struct vb2_queue *src_q, *dst_q; in s5p_mfc_poll()
|
D | s5p_mfc_opr_v5.c | 1472 static void s5p_mfc_cleanup_queue_v5(struct list_head *lh, struct vb2_queue *vq) in s5p_mfc_cleanup_queue_v5()
|
D | s5p_mfc_opr_v6.c | 1830 static void s5p_mfc_cleanup_queue_v6(struct list_head *lh, struct vb2_queue *vq) in s5p_mfc_cleanup_queue_v6()
|
/linux-4.1.27/drivers/staging/media/dt3155v4l/ |
D | dt3155v4l.h | 198 struct vb2_queue *q;
|
D | dt3155v4l.c | 221 dt3155_queue_setup(struct vb2_queue *q, const struct v4l2_format *fmt, in dt3155_queue_setup() 243 dt3155_wait_prepare(struct vb2_queue *q) in dt3155_wait_prepare() 251 dt3155_wait_finish(struct vb2_queue *q) in dt3155_wait_finish() 266 dt3155_stop_streaming(struct vb2_queue *q) in dt3155_stop_streaming() 284 struct dt3155_priv *pd = vb2_get_drv_priv(vb->vb2_queue); in dt3155_buf_queue()
|
/linux-4.1.27/drivers/media/platform/s5p-jpeg/ |
D | jpeg-core.c | 759 static int queue_init(void *priv, struct vb2_queue *src_vq, 760 struct vb2_queue *dst_vq); 1075 struct vb2_queue *vq; in s5p_jpeg_g_fmt() 1321 struct vb2_queue *vq; in s5p_jpeg_s_fmt() 2122 static int s5p_jpeg_queue_setup(struct vb2_queue *vq, in s5p_jpeg_queue_setup() 2153 struct s5p_jpeg_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in s5p_jpeg_buf_prepare() 2156 q_data = get_q_data(ctx, vb->vb2_queue->type); in s5p_jpeg_buf_prepare() 2173 struct s5p_jpeg_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in s5p_jpeg_buf_queue() 2176 vb->vb2_queue->type == V4L2_BUF_TYPE_VIDEO_OUTPUT) { in s5p_jpeg_buf_queue() 2199 static int s5p_jpeg_start_streaming(struct vb2_queue *q, unsigned int count) in s5p_jpeg_start_streaming() [all …]
|
/linux-4.1.27/drivers/media/platform/vsp1/ |
D | vsp1_video.h | 131 struct vb2_queue queue;
|
D | vsp1_video.c | 711 vsp1_video_queue_setup(struct vb2_queue *vq, const struct v4l2_format *fmt, in vsp1_video_queue_setup() 744 struct vsp1_video *video = vb2_get_drv_priv(vb->vb2_queue); in vsp1_video_buffer_prepare() 765 struct vsp1_video *video = vb2_get_drv_priv(vb->vb2_queue); in vsp1_video_buffer_queue() 803 static int vsp1_video_start_streaming(struct vb2_queue *vq, unsigned int count) in vsp1_video_start_streaming() 855 static void vsp1_video_stop_streaming(struct vb2_queue *vq) in vsp1_video_stop_streaming()
|
/linux-4.1.27/drivers/media/usb/airspy/ |
D | airspy.c | 116 struct vb2_queue vb_queue; 488 static int airspy_queue_setup(struct vb2_queue *vq, in airspy_queue_setup() 508 struct airspy *s = vb2_get_drv_priv(vb->vb2_queue); in airspy_buf_queue() 524 static int airspy_start_streaming(struct vb2_queue *vq, unsigned int count) in airspy_start_streaming() 584 static void airspy_stop_streaming(struct vb2_queue *vq) in airspy_stop_streaming() 658 struct vb2_queue *q = &s->vb_queue; in airspy_s_fmt_sdr_cap()
|
/linux-4.1.27/drivers/media/usb/hackrf/ |
D | hackrf.c | 104 struct vb2_queue vb_queue; 466 static int hackrf_queue_setup(struct vb2_queue *vq, in hackrf_queue_setup() 486 struct hackrf_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in hackrf_buf_queue() 496 static int hackrf_start_streaming(struct vb2_queue *vq, unsigned int count) in hackrf_start_streaming() 552 static void hackrf_stop_streaming(struct vb2_queue *vq) in hackrf_stop_streaming() 604 struct vb2_queue *q = &dev->vb_queue; in hackrf_s_fmt_sdr_cap()
|
/linux-4.1.27/drivers/media/usb/msi2500/ |
D | msi2500.c | 130 struct vb2_queue vb_queue; 616 static int msi2500_queue_setup(struct vb2_queue *vq, in msi2500_queue_setup() 634 struct msi2500_state *s = vb2_get_drv_priv(vb->vb2_queue); in msi2500_buf_queue() 824 static int msi2500_start_streaming(struct vb2_queue *vq, unsigned int count) in msi2500_start_streaming() 853 static void msi2500_stop_streaming(struct vb2_queue *vq) in msi2500_stop_streaming() 923 struct vb2_queue *q = &s->vb_queue; in msi2500_s_fmt_sdr_cap()
|
/linux-4.1.27/drivers/media/platform/am437x/ |
D | am437x-vpfe.h | 265 struct vb2_queue buffer_queue;
|
D | am437x-vpfe.c | 1924 static int vpfe_queue_setup(struct vb2_queue *vq, in vpfe_queue_setup() 1960 struct vpfe_device *vpfe = vb2_get_drv_priv(vb->vb2_queue); in vpfe_buffer_prepare() 1978 struct vpfe_device *vpfe = vb2_get_drv_priv(vb->vb2_queue); in vpfe_buffer_queue() 1993 static int vpfe_start_streaming(struct vb2_queue *vq, unsigned int count) in vpfe_start_streaming() 2054 static void vpfe_stop_streaming(struct vb2_queue *vq) in vpfe_stop_streaming() 2358 struct vb2_queue *q; in vpfe_probe_complete()
|
/linux-4.1.27/drivers/media/usb/s2255/ |
D | s2255drv.c | 253 struct vb2_queue vb_vidq; 662 static int queue_setup(struct vb2_queue *vq, const struct v4l2_format *fmt, in queue_setup() 676 struct s2255_vc *vc = vb2_get_drv_priv(vb->vb2_queue); in buffer_prepare() 706 struct s2255_vc *vc = vb2_get_drv_priv(vb->vb2_queue); in buffer_queue() 714 static int start_streaming(struct vb2_queue *vq, unsigned int count); 715 static void stop_streaming(struct vb2_queue *vq); 845 struct vb2_queue *q = &vc->vb_vidq; in vidioc_s_fmt_vid_cap() 1093 static int start_streaming(struct vb2_queue *vq, unsigned int count) in start_streaming() 1110 static void stop_streaming(struct vb2_queue *vq) in stop_streaming() 1130 struct vb2_queue *q = &vc->vb_vidq; in vidioc_s_std() [all …]
|
/linux-4.1.27/drivers/media/dvb-frontends/ |
D | rtl2832_sdr.c | 121 struct vb2_queue vb_queue; 485 static int rtl2832_sdr_queue_setup(struct vb2_queue *vq, in rtl2832_sdr_queue_setup() 505 struct rtl2832_sdr_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in rtl2832_sdr_buf_prepare() 516 struct rtl2832_sdr_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in rtl2832_sdr_buf_queue() 869 static int rtl2832_sdr_start_streaming(struct vb2_queue *vq, unsigned int count) in rtl2832_sdr_start_streaming() 926 static void rtl2832_sdr_stop_streaming(struct vb2_queue *vq) in rtl2832_sdr_stop_streaming() 1134 struct vb2_queue *q = &dev->vb_queue; in rtl2832_sdr_s_fmt_sdr_cap()
|
/linux-4.1.27/drivers/media/platform/marvell-ccic/ |
D | mcam-core.c | 1068 static int mcam_vb_queue_setup(struct vb2_queue *vq, in mcam_vb_queue_setup() 1091 struct mcam_camera *cam = vb2_get_drv_priv(vb->vb2_queue); in mcam_vb_buf_queue() 1108 static int mcam_vb_start_streaming(struct vb2_queue *vq, unsigned int count) in mcam_vb_start_streaming() 1140 static void mcam_vb_stop_streaming(struct vb2_queue *vq) in mcam_vb_stop_streaming() 1187 struct mcam_camera *cam = vb2_get_drv_priv(vb->vb2_queue); in mcam_vb_sg_buf_init() 1218 struct mcam_camera *cam = vb2_get_drv_priv(vb->vb2_queue); in mcam_vb_sg_buf_cleanup() 1243 struct vb2_queue *vq = &cam->vb_queue; in mcam_setup_vb2()
|
D | mcam-core.h | 160 struct vb2_queue vb_queue;
|
/linux-4.1.27/drivers/media/platform/s5p-tv/ |
D | mixer_video.c | 884 static int queue_setup(struct vb2_queue *vq, const struct v4l2_format *pfmt, in queue_setup() 918 struct mxr_layer *layer = vb2_get_drv_priv(vb->vb2_queue); in buf_queue() 929 static int start_streaming(struct vb2_queue *vq, unsigned int count) in start_streaming() 976 static void stop_streaming(struct vb2_queue *vq) in stop_streaming() 1101 layer->vb_queue = (struct vb2_queue) { in mxr_base_layer_create()
|
D | mixer.h | 181 struct vb2_queue vb_queue;
|
/linux-4.1.27/drivers/media/platform/s3c-camif/ |
D | camif-core.h | 218 struct vb2_queue vb_queue;
|
D | camif-capture.c | 381 static int start_streaming(struct vb2_queue *vq, unsigned int count) in start_streaming() 438 static void stop_streaming(struct vb2_queue *vq) in stop_streaming() 444 static int queue_setup(struct vb2_queue *vq, const struct v4l2_format *pfmt, in queue_setup() 479 struct camif_vp *vp = vb2_get_drv_priv(vb->vb2_queue); in buffer_prepare() 497 struct camif_vp *vp = vb2_get_drv_priv(vb->vb2_queue); in buffer_queue() 1124 struct vb2_queue *q = &vp->vb_queue; in s3c_camif_register_video_node()
|