/linux-4.4.14/include/media/ |
D | videobuf2-core.h | 203 struct vb2_queue; 216 struct vb2_queue *vb2_queue; member 347 int (*queue_setup)(struct vb2_queue *q, const void *parg, 351 void (*wait_prepare)(struct vb2_queue *q); 352 void (*wait_finish)(struct vb2_queue *q); 359 int (*start_streaming)(struct vb2_queue *q, unsigned int count); 360 void (*stop_streaming)(struct vb2_queue *q); 439 struct vb2_queue { struct 504 void vb2_discard_done(struct vb2_queue *q); argument 505 int vb2_wait_for_all_buffers(struct vb2_queue *q); [all …]
|
D | videobuf2-v4l2.h | 53 int vb2_querybuf(struct vb2_queue *q, struct v4l2_buffer *b); 54 int vb2_reqbufs(struct vb2_queue *q, struct v4l2_requestbuffers *req); 56 int vb2_create_bufs(struct vb2_queue *q, struct v4l2_create_buffers *create); 57 int vb2_prepare_buf(struct vb2_queue *q, struct v4l2_buffer *b); 59 int vb2_qbuf(struct vb2_queue *q, struct v4l2_buffer *b); 60 int vb2_expbuf(struct vb2_queue *q, struct v4l2_exportbuffer *eb); 61 int vb2_dqbuf(struct vb2_queue *q, struct v4l2_buffer *b, bool nonblocking); 63 int vb2_streamon(struct vb2_queue *q, enum v4l2_buf_type type); 64 int vb2_streamoff(struct vb2_queue *q, enum v4l2_buf_type type); 66 int __must_check vb2_queue_init(struct vb2_queue *q); [all …]
|
D | v4l2-mem2mem.h | 60 struct vb2_queue q; 99 struct vb2_queue *v4l2_m2m_get_vq(struct v4l2_m2m_ctx *m2m_ctx, 147 int (*queue_init)(void *priv, struct vb2_queue *src_vq, struct vb2_queue *dst_vq)); 220 struct vb2_queue *v4l2_m2m_get_src_vq(struct v4l2_m2m_ctx *m2m_ctx) in v4l2_m2m_get_src_vq() 231 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 | 21 struct vb2_queue dvbq;
|
D | v4l2-dev.h | 105 struct vb2_queue *queue;
|
/linux-4.4.14/drivers/media/v4l2-core/ |
D | videobuf2-internal.h | 29 (vb)->vb2_queue, (vb)->index, #op, \ 30 (vb)->vb2_queue->mem_ops->op ? "" : " (nop)") 34 struct vb2_queue *_q = (vb)->vb2_queue; \ 46 struct vb2_queue *_q = (vb)->vb2_queue; \ 58 struct vb2_queue *_q = (vb)->vb2_queue; \ 91 (vb)->vb2_queue, (vb)->index, #op, \ 92 (vb)->vb2_queue->ops->op ? "" : " (nop)") 99 err = (vb)->vb2_queue->ops->op ? \ 100 (vb)->vb2_queue->ops->op(args) : 0; \ 109 if ((vb)->vb2_queue->ops->op) \ [all …]
|
D | videobuf2-core.c | 37 static void __vb2_queue_cancel(struct vb2_queue *q); 45 struct vb2_queue *q = vb->vb2_queue; in __vb2_buf_mem_alloc() 143 static void __setup_lengths(struct vb2_queue *q, unsigned int n) in __setup_lengths() 162 static void __setup_offsets(struct vb2_queue *q, unsigned int n) in __setup_offsets() 201 static int __vb2_queue_alloc(struct vb2_queue *q, enum vb2_memory memory, in __vb2_queue_alloc() 217 vb->vb2_queue = q; in __vb2_queue_alloc() 263 static void __vb2_free_mem(struct vb2_queue *q, unsigned int buffers) in __vb2_free_mem() 289 static int __vb2_queue_free(struct vb2_queue *q, unsigned int buffers) in __vb2_queue_free() 404 bool vb2_buffer_in_use(struct vb2_queue *q, struct vb2_buffer *vb) in vb2_buffer_in_use() 426 static bool __buffers_in_use(struct vb2_queue *q) in __buffers_in_use() [all …]
|
D | videobuf2-v4l2.c | 114 struct vb2_queue *q = vb->vb2_queue; in __set_timestamp() 142 if (vb->vb2_queue->allow_zero_bytesused) in vb2_warn_zero_bytesused() 148 static int vb2_queue_or_prepare_buf(struct vb2_queue *q, struct v4l2_buffer *b, in vb2_queue_or_prepare_buf() 183 struct vb2_queue *q = vb->vb2_queue; in __fill_v4l2_buffer() 286 struct vb2_queue *q = vb->vb2_queue; in __fill_vb2_buffer() 358 if (vb->vb2_queue->allow_zero_bytesused) in __fill_vb2_buffer() 395 if (vb->vb2_queue->allow_zero_bytesused) in __fill_vb2_buffer() 407 if ((vb->vb2_queue->timestamp_flags & V4L2_BUF_FLAG_TIMESTAMP_MASK) != in __fill_vb2_buffer() 453 int vb2_querybuf(struct vb2_queue *q, struct v4l2_buffer *b) in vb2_querybuf() 481 int vb2_reqbufs(struct vb2_queue *q, struct v4l2_requestbuffers *req) in vb2_reqbufs() [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() 381 struct vb2_queue *vq; in v4l2_m2m_querybuf() 410 struct vb2_queue *vq; in v4l2_m2m_qbuf() 429 struct vb2_queue *vq; in v4l2_m2m_dqbuf() 443 struct vb2_queue *vq; in v4l2_m2m_prepare_buf() 462 struct vb2_queue *vq; in v4l2_m2m_create_bufs() 476 struct vb2_queue *vq; in v4l2_m2m_expbuf() 488 struct vb2_queue *vq; in v4l2_m2m_streamon() 556 struct vb2_queue *src_q, *dst_q; in v4l2_m2m_poll() [all …]
|
/linux-4.4.14/include/trace/events/ |
D | vb2.h | 11 TP_PROTO(struct vb2_queue *q, struct vb2_buffer *vb), 43 TP_PROTO(struct vb2_queue *q, struct vb2_buffer *vb), 48 TP_PROTO(struct vb2_queue *q, struct vb2_buffer *vb), 53 TP_PROTO(struct vb2_queue *q, struct vb2_buffer *vb), 58 TP_PROTO(struct vb2_queue *q, struct vb2_buffer *vb),
|
D | v4l2.h | 180 TP_PROTO(struct vb2_queue *q, struct vb2_buffer *vb), 244 TP_PROTO(struct vb2_queue *q, struct vb2_buffer *vb), 249 TP_PROTO(struct vb2_queue *q, struct vb2_buffer *vb), 254 TP_PROTO(struct vb2_queue *q, struct vb2_buffer *vb), 259 TP_PROTO(struct vb2_queue *q, struct vb2_buffer *vb),
|
/linux-4.4.14/drivers/media/platform/vivid/ |
D | vivid-vbi-out.c | 30 static int vbi_out_queue_setup(struct vb2_queue *vq, const void *parg, 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() 83 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vbi_out_buf_queue() 93 static int vbi_out_start_streaming(struct vb2_queue *vq, unsigned count) in vbi_out_start_streaming() 119 static void vbi_out_stop_streaming(struct vb2_queue *vq) in vbi_out_stop_streaming()
|
D | vivid-vbi-cap.c | 140 static int vbi_cap_queue_setup(struct vb2_queue *vq, const void *parg, in vbi_cap_queue_setup() 164 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vbi_cap_buf_prepare() 166 unsigned size = vb->vb2_queue->type == V4L2_BUF_TYPE_SLICED_VBI_CAPTURE ? in vbi_cap_buf_prepare() 193 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vbi_cap_buf_queue() 203 static int vbi_cap_start_streaming(struct vb2_queue *vq, unsigned count) in vbi_cap_start_streaming() 229 static void vbi_cap_stop_streaming(struct vb2_queue *vq) in vbi_cap_stop_streaming()
|
D | vivid-core.h | 375 struct vb2_queue vb_vid_cap_q; 377 struct vb2_queue vb_vbi_cap_q; 403 struct vb2_queue vb_vid_out_q; 405 struct vb2_queue vb_vbi_out_q; 449 struct vb2_queue vb_sdr_cap_q;
|
D | vivid-sdr-cap.c | 216 static int sdr_cap_queue_setup(struct vb2_queue *vq, const void *parg, in sdr_cap_queue_setup() 228 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in sdr_cap_buf_prepare() 254 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in sdr_cap_buf_queue() 264 static int sdr_cap_start_streaming(struct vb2_queue *vq, unsigned count) in sdr_cap_start_streaming() 297 static void sdr_cap_stop_streaming(struct vb2_queue *vq) in sdr_cap_stop_streaming() 461 struct vb2_queue *q = &dev->vb_sdr_cap_q; in vidioc_s_fmt_sdr_cap()
|
D | vivid-vid-out.c | 34 static int vid_out_queue_setup(struct vb2_queue *vq, const void *parg, in vid_out_queue_setup() 114 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vid_out_buf_prepare() 158 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vid_out_buf_queue() 168 static int vid_out_start_streaming(struct vb2_queue *vq, unsigned count) in vid_out_start_streaming() 200 static void vid_out_stop_streaming(struct vb2_queue *vq) in vid_out_stop_streaming() 445 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 void *parg, in vid_cap_queue_setup() 173 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vid_cap_buf_prepare() 211 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vid_cap_buf_finish() 237 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vid_cap_buf_queue() 247 static int vid_cap_start_streaming(struct vb2_queue *vq, unsigned count) in vid_cap_start_streaming() 282 static void vid_cap_stop_streaming(struct vb2_queue *vq) in vid_cap_stop_streaming() 644 struct vb2_queue *q = &dev->vb_vid_cap_q; in vivid_s_fmt_vid_cap()
|
D | vivid-core.c | 661 struct vb2_queue *q; in vivid_create_instance()
|
/linux-4.4.14/drivers/media/platform/coda/ |
D | coda.h | 176 int (*queue_init)(void *priv, struct vb2_queue *src_vq, 177 struct vb2_queue *dst_vq); 252 int coda_encoder_queue_init(void *priv, struct vb2_queue *src_vq, 253 struct vb2_queue *dst_vq); 254 int coda_decoder_queue_init(void *priv, struct vb2_queue *src_vq, 255 struct vb2_queue *dst_vq);
|
D | coda-common.c | 491 struct vb2_queue *src_vq; in coda_try_fmt_vid_cap() 567 struct vb2_queue *vq; in coda_s_fmt() 689 struct vb2_queue *src_vq; in coda_buf_is_end_of_stream() 1134 static int coda_queue_setup(struct vb2_queue *vq, const void *parg, in coda_queue_setup() 1159 struct coda_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in coda_buf_prepare() 1162 q_data = get_q_data(ctx, vb->vb2_queue->type); in coda_buf_prepare() 1178 struct coda_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in coda_buf_queue() 1179 struct vb2_queue *vq = vb->vb2_queue; in coda_buf_queue() 1182 q_data = get_q_data(ctx, vb->vb2_queue->type); in coda_buf_queue() 1197 if (vb2_is_streaming(vb->vb2_queue)) in coda_buf_queue() [all …]
|
/linux-4.4.14/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 void *parg, in vbi_queue_setup() 63 struct em28xx *dev = vb2_get_drv_priv(vb->vb2_queue); in vbi_buffer_prepare() 83 struct em28xx *dev = vb2_get_drv_priv(vb->vb2_queue); in vbi_buffer_queue()
|
D | em28xx.h | 522 struct vb2_queue vb_vidq; 523 struct vb2_queue vb_vbiq;
|
D | em28xx-video.c | 874 static int queue_setup(struct vb2_queue *vq, const void *parg, in queue_setup() 905 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() 983 static void em28xx_stop_streaming(struct vb2_queue *vq) in em28xx_stop_streaming() 1015 void em28xx_stop_vbi_streaming(struct vb2_queue *vq) in em28xx_stop_vbi_streaming() 1051 struct em28xx *dev = vb2_get_drv_priv(vb->vb2_queue); in buffer_queue() 1079 struct vb2_queue *q; in em28xx_vb2_setup()
|
/linux-4.4.14/drivers/media/pci/cx23885/ |
D | cx23885-vbi.c | 124 static int queue_setup(struct vb2_queue *q, const void *parg, in queue_setup() 142 struct cx23885_dev *dev = vb->vb2_queue->drv_priv; in buffer_prepare() 169 cx23885_free_buffer(vb->vb2_queue->drv_priv, buf); in buffer_finish() 196 struct cx23885_dev *dev = vb->vb2_queue->drv_priv; in buffer_queue() 228 static int cx23885_start_streaming(struct vb2_queue *q, unsigned int count) in cx23885_start_streaming() 239 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 void *parg, in queue_setup() 333 struct cx23885_dev *dev = vb->vb2_queue->drv_priv; in buffer_prepare() 417 cx23885_free_buffer(vb->vb2_queue->drv_priv, buf); in buffer_finish() 444 struct cx23885_dev *dev = vb->vb2_queue->drv_priv; in buffer_queue() 474 static int cx23885_start_streaming(struct vb2_queue *q, unsigned int count) in cx23885_start_streaming() 485 static void cx23885_stop_streaming(struct vb2_queue *q) in cx23885_stop_streaming() 1141 struct vb2_queue *q; in cx23885_video_register()
|
D | cx23885.h | 428 struct vb2_queue vb2_vidq; 430 struct vb2_queue vb2_vbiq; 439 struct vb2_queue vb2_mpegq;
|
D | cx23885-417.c | 1141 static int queue_setup(struct vb2_queue *q, const void *parg, in queue_setup() 1159 struct cx23885_dev *dev = vb->vb2_queue->drv_priv; in buffer_prepare() 1169 struct cx23885_dev *dev = vb->vb2_queue->drv_priv; in buffer_finish() 1179 struct cx23885_dev *dev = vb->vb2_queue->drv_priv; in buffer_queue() 1186 static int cx23885_start_streaming(struct vb2_queue *q, unsigned int count) in cx23885_start_streaming() 1213 static void cx23885_stop_streaming(struct vb2_queue *q) in cx23885_stop_streaming() 1517 struct vb2_queue *q; in cx23885_417_register()
|
D | cx23885-dvb.c | 95 static int queue_setup(struct vb2_queue *q, const void *parg, in queue_setup() 114 struct cx23885_tsport *port = vb->vb2_queue->drv_priv; in buffer_prepare() 124 struct cx23885_tsport *port = vb->vb2_queue->drv_priv; in buffer_finish() 135 struct cx23885_tsport *port = vb->vb2_queue->drv_priv; in buffer_queue() 158 static int cx23885_start_streaming(struct vb2_queue *q, unsigned int count) in cx23885_start_streaming() 169 static void cx23885_stop_streaming(struct vb2_queue *q) in cx23885_stop_streaming() 2362 struct vb2_queue *q; in cx23885_dvb_register()
|
/linux-4.4.14/drivers/media/usb/au0828/ |
D | au0828-vbi.c | 33 static int vbi_queue_setup(struct vb2_queue *vq, const void *parg, in vbi_queue_setup() 55 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 | 218 struct vb2_queue vb_vidq; 219 struct vb2_queue vb_vbiq; 318 extern int au0828_start_analog_streaming(struct vb2_queue *vq, 320 extern void au0828_stop_vbi_streaming(struct vb2_queue *vq);
|
D | au0828-video.c | 305 struct vb2_queue *q = vb->vb2_buf.vb2_queue; in buffer_filled() 640 static int queue_setup(struct vb2_queue *vq, const void *parg, in queue_setup() 665 struct au0828_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in buffer_prepare() 685 struct au0828_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in buffer_queue() 778 int au0828_start_analog_streaming(struct vb2_queue *vq, unsigned int count) in au0828_start_analog_streaming() 816 static void au0828_stop_streaming(struct vb2_queue *vq) in au0828_stop_streaming() 847 void au0828_stop_vbi_streaming(struct vb2_queue *vq) in au0828_stop_vbi_streaming() 1708 struct vb2_queue *q; in au0828_vb2_setup()
|
/linux-4.4.14/drivers/media/pci/cx88/ |
D | cx88-vbi.c | 110 static int queue_setup(struct vb2_queue *q, const void *parg, in queue_setup() 129 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() 166 struct cx8800_dev *dev = vb->vb2_queue->drv_priv; in buffer_queue() 192 static int start_streaming(struct vb2_queue *q, unsigned int count) in start_streaming() 203 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 void *parg, in queue_setup() 657 struct cx8802_dev *dev = vb->vb2_queue->drv_priv; in buffer_prepare() 660 return cx8802_buf_prepare(vb->vb2_queue, dev, buf); in buffer_prepare() 666 struct cx8802_dev *dev = vb->vb2_queue->drv_priv; in buffer_finish() 678 struct cx8802_dev *dev = vb->vb2_queue->drv_priv; in buffer_queue() 684 static int start_streaming(struct vb2_queue *q, unsigned int count) in start_streaming() 733 static void stop_streaming(struct vb2_queue *q) in stop_streaming() 1137 struct vb2_queue *q; in cx8802_blackbird_probe()
|
D | cx88-dvb.c | 85 static int queue_setup(struct vb2_queue *q, const void *parg, in queue_setup() 103 struct cx8802_dev *dev = vb->vb2_queue->drv_priv; in buffer_prepare() 106 return cx8802_buf_prepare(vb->vb2_queue, dev, buf); in buffer_prepare() 112 struct cx8802_dev *dev = vb->vb2_queue->drv_priv; in buffer_finish() 124 struct cx8802_dev *dev = vb->vb2_queue->drv_priv; in buffer_queue() 130 static int start_streaming(struct vb2_queue *q, unsigned int count) in start_streaming() 141 static void stop_streaming(struct vb2_queue *q) in stop_streaming() 1776 struct vb2_queue *q; in cx8802_dvb_probe()
|
D | cx88-video.c | 432 static int queue_setup(struct vb2_queue *q, const void *parg, in queue_setup() 448 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() 514 struct cx8800_dev *dev = vb->vb2_queue->drv_priv; in buffer_queue() 540 static int start_streaming(struct vb2_queue *q, unsigned int count) in start_streaming() 551 static void stop_streaming(struct vb2_queue *q) in stop_streaming() 1287 struct vb2_queue *q; in cx8800_initdev()
|
D | cx88-mpeg.c | 224 int cx8802_buf_prepare(struct vb2_queue *q, struct cx8802_dev *dev, in cx8802_buf_prepare()
|
/linux-4.4.14/drivers/media/usb/uvc/ |
D | uvc_queue.c | 72 static int uvc_queue_setup(struct vb2_queue *vq, const void *parg, in uvc_queue_setup() 95 struct uvc_video_queue *queue = vb2_get_drv_priv(vb->vb2_queue); in uvc_buffer_prepare() 122 struct uvc_video_queue *queue = vb2_get_drv_priv(vb->vb2_queue); in uvc_buffer_queue() 143 struct uvc_video_queue *queue = vb2_get_drv_priv(vb->vb2_queue); in uvc_buffer_finish() 151 static int uvc_start_streaming(struct vb2_queue *vq, unsigned int count) in uvc_start_streaming() 171 static void uvc_stop_streaming(struct vb2_queue *vq) in uvc_stop_streaming()
|
D | uvcvideo.h | 374 struct vb2_queue queue;
|
/linux-4.4.14/drivers/media/pci/saa7134/ |
D | saa7134-ts.c | 83 struct saa7134_dmaqueue *dmaq = vb2->vb2_queue->drv_priv; in saa7134_ts_buffer_init() 96 struct saa7134_dmaqueue *dmaq = vb2->vb2_queue->drv_priv; in saa7134_ts_buffer_prepare() 119 int saa7134_ts_queue_setup(struct vb2_queue *q, const void *parg, in saa7134_ts_queue_setup() 139 int saa7134_ts_start_streaming(struct vb2_queue *vq, unsigned int count) in saa7134_ts_start_streaming() 168 void saa7134_ts_stop_streaming(struct vb2_queue *vq) in saa7134_ts_stop_streaming()
|
D | saa7134-vbi.c | 86 struct saa7134_dmaqueue *dmaq = buf->vb2.vb2_buf.vb2_queue->drv_priv; in buffer_activate() 120 struct saa7134_dmaqueue *dmaq = vb2->vb2_queue->drv_priv; in buffer_prepare() 141 static int queue_setup(struct vb2_queue *q, const void *parg, in queue_setup() 164 struct saa7134_dmaqueue *dmaq = vb2->vb2_queue->drv_priv; in buffer_init()
|
D | saa7134.h | 597 struct vb2_queue video_vbq; 599 struct vb2_queue vbi_vbq; 616 struct vb2_queue empress_vbq; 786 int saa7134_vb2_start_streaming(struct vb2_queue *vq, unsigned int count); 787 void saa7134_vb2_stop_streaming(struct vb2_queue *vq); 823 int saa7134_ts_queue_setup(struct vb2_queue *q, const void *parg, 826 int saa7134_ts_start_streaming(struct vb2_queue *vq, unsigned int count); 827 void saa7134_ts_stop_streaming(struct vb2_queue *vq);
|
D | saa7134-empress.c | 44 static int start_streaming(struct vb2_queue *vq, unsigned int count) in start_streaming() 72 static void stop_streaming(struct vb2_queue *vq) in stop_streaming() 256 struct vb2_queue *q; in empress_init()
|
D | saa7134-video.c | 794 struct saa7134_dmaqueue *dmaq = buf->vb2.vb2_buf.vb2_queue->drv_priv; in buffer_activate() 874 struct saa7134_dmaqueue *dmaq = vb2->vb2_queue->drv_priv; in buffer_init() 885 struct saa7134_dmaqueue *dmaq = vb2->vb2_queue->drv_priv; in buffer_prepare() 907 static int queue_setup(struct vb2_queue *q, const void *parg, in queue_setup() 935 struct saa7134_dmaqueue *dmaq = vb->vb2_queue->drv_priv; in saa7134_vb2_buffer_queue() 944 int saa7134_vb2_start_streaming(struct vb2_queue *vq, unsigned int count) in saa7134_vb2_start_streaming() 986 void saa7134_vb2_stop_streaming(struct vb2_queue *vq) in saa7134_vb2_stop_streaming() 2024 struct vb2_queue *q; in saa7134_video_init1()
|
D | saa7134-dvb.c | 1215 struct vb2_queue *q; in dvb_init()
|
/linux-4.4.14/drivers/media/platform/ |
D | vim2m.c | 480 struct vb2_queue *vq; in vidioc_g_fmt() 582 struct vb2_queue *vq; in vidioc_s_fmt() 712 static int vim2m_queue_setup(struct vb2_queue *vq, in vim2m_queue_setup() 752 struct vim2m_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in vim2m_buf_prepare() 755 dprintk(ctx->dev, "type: %d\n", vb->vb2_queue->type); in vim2m_buf_prepare() 757 q_data = get_q_data(ctx, vb->vb2_queue->type); in vim2m_buf_prepare() 758 if (V4L2_TYPE_IS_OUTPUT(vb->vb2_queue->type)) { in vim2m_buf_prepare() 782 struct vim2m_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in vim2m_buf_queue() 787 static int vim2m_start_streaming(struct vb2_queue *q, unsigned count) in vim2m_start_streaming() 796 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() 746 struct emmaprp_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in emmaprp_buf_queue() 756 static int queue_init(void *priv, struct vb2_queue *src_vq, in queue_init() 757 struct vb2_queue *dst_vq) in queue_init()
|
D | rcar_jpu.c | 857 struct vb2_queue *vq; in jpu_s_fmt() 1017 static int jpu_queue_setup(struct vb2_queue *vq, in jpu_queue_setup() 1049 struct jpu_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in jpu_buf_prepare() 1053 q_data = jpu_get_q_data(ctx, vb->vb2_queue->type); in jpu_buf_prepare() 1055 if (V4L2_TYPE_IS_OUTPUT(vb->vb2_queue->type)) { in jpu_buf_prepare() 1076 if (!ctx->encoder && !V4L2_TYPE_IS_OUTPUT(vb->vb2_queue->type)) in jpu_buf_prepare() 1086 struct jpu_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in jpu_buf_queue() 1088 if (!ctx->encoder && V4L2_TYPE_IS_OUTPUT(vb->vb2_queue->type)) { in jpu_buf_queue() 1136 struct jpu_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in jpu_buf_finish() 1138 enum v4l2_buf_type type = vb->vb2_queue->type; in jpu_buf_finish() [all …]
|
D | m2m-deinterlace.c | 515 struct vb2_queue *vq; in vidioc_g_fmt() 613 struct vb2_queue *vq; in vidioc_s_fmt() 800 static int deinterlace_queue_setup(struct vb2_queue *vq, in deinterlace_queue_setup() 833 struct deinterlace_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in deinterlace_buf_prepare() 836 dprintk(ctx->dev, "type: %d\n", vb->vb2_queue->type); in deinterlace_buf_prepare() 838 q_data = get_q_data(vb->vb2_queue->type); in deinterlace_buf_prepare() 854 struct deinterlace_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in deinterlace_buf_queue() 865 static int queue_init(void *priv, struct vb2_queue *src_vq, in queue_init() 866 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() 914 struct sh_veu_dev *veu = vb2_get_drv_priv(vb->vb2_queue); in sh_veu_buf_prepare() 918 vfmt = sh_veu_get_vfmt(veu, vb->vb2_queue->type); in sh_veu_buf_prepare() 936 struct sh_veu_dev *veu = vb2_get_drv_priv(vb->vb2_queue); in sh_veu_buf_queue() 949 static int sh_veu_queue_init(void *priv, struct vb2_queue *src_vq, in sh_veu_queue_init() 950 struct vb2_queue *dst_vq) in sh_veu_queue_init()
|
D | sh_vou.c | 88 struct vb2_queue queue; 246 static int sh_vou_queue_setup(struct vb2_queue *vq, const void *parg, in sh_vou_queue_setup() 267 struct sh_vou_device *vou_dev = vb2_get_drv_priv(vb->vb2_queue); in sh_vou_buf_prepare() 289 struct sh_vou_device *vou_dev = vb2_get_drv_priv(vb->vb2_queue); in sh_vou_buf_queue() 298 static int sh_vou_start_streaming(struct vb2_queue *vq, unsigned int count) in sh_vou_start_streaming() 346 static void sh_vou_stop_streaming(struct vb2_queue *vq) in sh_vou_stop_streaming() 1234 struct vb2_queue *q; in sh_vou_probe()
|
/linux-4.4.14/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() 259 struct gsc_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in gsc_m2m_buf_queue() 319 struct vb2_queue *vq; in gsc_m2m_s_fmt_mplane() 580 static int queue_init(void *priv, struct vb2_queue *src_vq, in queue_init() 581 struct vb2_queue *dst_vq) in queue_init()
|
/linux-4.4.14/Documentation/video4linux/ |
D | v4l2-pci-skeleton.c | 75 struct vb2_queue queue; 166 static int queue_setup(struct vb2_queue *vq, const void *parg, in queue_setup() 201 struct skeleton *skel = vb2_get_drv_priv(vb->vb2_queue); in buffer_prepare() 219 struct skeleton *skel = vb2_get_drv_priv(vb->vb2_queue); in buffer_queue() 251 static int start_streaming(struct vb2_queue *vq, unsigned int count) in start_streaming() 274 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.4.14/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 void *parg, 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() 224 struct fimc_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in fimc_buf_queue() 367 struct vb2_queue *vq; in fimc_m2m_s_fmt_mplane() 551 static int queue_init(void *priv, struct vb2_queue *src_vq, in queue_init() 552 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() 86 static int isp_video_capture_start_streaming(struct vb2_queue *q, in isp_video_capture_start_streaming() 129 static void isp_video_capture_stop_streaming(struct vb2_queue *q) in isp_video_capture_stop_streaming() 163 struct fimc_isp *isp = vb2_get_drv_priv(vb->vb2_queue); in isp_video_capture_buffer_prepare() 199 struct fimc_isp *isp = vb2_get_drv_priv(vb->vb2_queue); in isp_video_capture_buffer_queue() 237 isp_video_capture_start_streaming(vb->vb2_queue, 0); in isp_video_capture_buffer_queue() 575 struct vb2_queue *q = &isp->video_capture.vb_queue; in fimc_isp_video_device_register()
|
D | fimc-isp.h | 133 struct vb2_queue vb_queue;
|
D | fimc-lite.h | 176 struct vb2_queue vb_queue;
|
D | fimc-lite.c | 314 static int start_streaming(struct vb2_queue *q, unsigned int count) in start_streaming() 348 static void stop_streaming(struct vb2_queue *q) in stop_streaming() 358 static int queue_setup(struct vb2_queue *vq, const void *parg, in queue_setup() 397 struct vb2_queue *vq = vb->vb2_queue; in buffer_prepare() 424 struct fimc_lite *fimc = vb2_get_drv_priv(vb->vb2_queue); in buffer_queue() 1286 struct vb2_queue *q = &fimc->vb_queue; in fimc_lite_subdev_registered()
|
D | fimc-capture.c | 260 static int start_streaming(struct vb2_queue *q, unsigned int count) in start_streaming() 291 static void stop_streaming(struct vb2_queue *q) in stop_streaming() 341 static int queue_setup(struct vb2_queue *vq, const void *parg, in queue_setup() 384 struct vb2_queue *vq = vb->vb2_queue; in buffer_prepare() 411 struct fimc_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in buffer_queue() 1738 struct vb2_queue *q = &fimc->vid_cap.vbq; in fimc_register_capture_device()
|
D | fimc-core.h | 320 struct vb2_queue vbq;
|
/linux-4.4.14/drivers/input/touchscreen/ |
D | sur40.c | 153 struct vb2_queue queue; 174 static const struct vb2_queue sur40_queue; 647 static int sur40_queue_setup(struct vb2_queue *q, const void *parg, in sur40_queue_setup() 673 struct sur40_state *sur40 = vb2_get_drv_priv(vb->vb2_queue); in sur40_buffer_prepare() 691 struct sur40_state *sur40 = vb2_get_drv_priv(vb->vb2_queue); in sur40_buffer_queue() 718 static int sur40_start_streaming(struct vb2_queue *vq, unsigned int count) in sur40_start_streaming() 730 static void sur40_stop_streaming(struct vb2_queue *vq) in sur40_stop_streaming() 840 static const struct vb2_queue sur40_queue = {
|
/linux-4.4.14/drivers/staging/media/omap4iss/ |
D | iss_video.h | 169 struct vb2_queue *queue; 183 struct vb2_queue queue;
|
D | iss_video.c | 289 static int iss_video_queue_setup(struct vb2_queue *vq, in iss_video_queue_setup() 323 struct iss_video_fh *vfh = vb2_get_drv_priv(vb->vb2_queue); in iss_video_buf_prepare() 347 struct iss_video_fh *vfh = vb2_get_drv_priv(vb->vb2_queue); in iss_video_buf_queue() 972 struct vb2_queue *q; in iss_video_open()
|
/linux-4.4.14/drivers/media/pci/tw68/ |
D | tw68-video.c | 379 static int tw68_queue_setup(struct vb2_queue *q, const void *parg, in tw68_queue_setup() 428 struct vb2_queue *vq = vb->vb2_queue; in tw68_buf_queue() 463 struct vb2_queue *vq = vb->vb2_queue; in tw68_buf_prepare() 506 struct vb2_queue *vq = vb->vb2_queue; in tw68_buf_finish() 513 static int tw68_start_streaming(struct vb2_queue *q, unsigned int count) in tw68_start_streaming() 524 static void tw68_stop_streaming(struct vb2_queue *q) in tw68_stop_streaming()
|
D | tw68.h | 166 struct vb2_queue vidq;
|
/linux-4.4.14/drivers/media/usb/stk1160/ |
D | stk1160-v4l.c | 500 struct vb2_queue *q = &dev->vb_vidq; in vidioc_s_fmt_vid_cap() 535 struct vb2_queue *q = &dev->vb_vidq; in vidioc_s_std() 667 static int queue_setup(struct vb2_queue *vq, const void *parg, in queue_setup() 697 struct stk1160 *dev = vb2_get_drv_priv(vb->vb2_queue); in buffer_queue() 729 static int start_streaming(struct vb2_queue *vq, unsigned int count) in start_streaming() 736 static void stop_streaming(struct vb2_queue *vq) in stop_streaming() 793 struct vb2_queue *q; in stk1160_vb2_setup()
|
D | stk1160.h | 133 struct vb2_queue vb_vidq;
|
/linux-4.4.14/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() 346 struct isp_video_fh *vfh = vb2_get_drv_priv(buf->vb2_queue); in isp_video_buffer_prepare() 386 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.4.14/drivers/media/platform/s5p-g2d/ |
D | g2d.c | 104 static int g2d_queue_setup(struct vb2_queue *vq, const void *parg, 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() 138 struct g2d_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in g2d_buf_queue() 148 static int queue_init(void *priv, struct vb2_queue *src_vq, in queue_init() 149 struct vb2_queue *dst_vq) in queue_init() 319 struct vb2_queue *vq; in vidioc_g_fmt() 372 struct vb2_queue *vq; in vidioc_s_fmt()
|
/linux-4.4.14/drivers/usb/gadget/function/ |
D | uvc_queue.c | 44 static int uvc_queue_setup(struct vb2_queue *vq, const void *parg, in uvc_queue_setup() 63 struct uvc_video_queue *queue = vb2_get_drv_priv(vb->vb2_queue); in uvc_buffer_prepare() 89 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.4.14/drivers/media/pci/sta2x11/ |
D | sta2x11_vip.c | 145 struct vb2_queue vb_vidq; 268 static int queue_setup(struct vb2_queue *vq, const void *parg, in queue_setup() 301 struct sta2x11_vip *vip = vb2_get_drv_priv(vb->vb2_queue); in buffer_prepare() 319 struct sta2x11_vip *vip = vb2_get_drv_priv(vb->vb2_queue); in buffer_queue() 336 struct sta2x11_vip *vip = vb2_get_drv_priv(vb->vb2_queue); in buffer_finish() 344 if (vb2_is_streaming(vb->vb2_queue)) in buffer_finish() 348 static int start_streaming(struct vb2_queue *vq, unsigned int count) in start_streaming() 364 static void stop_streaming(struct vb2_queue *vq) in stop_streaming() 864 memset(&vip->vb_vidq, 0, sizeof(struct vb2_queue)); in sta2x11_vip_init_buffer()
|
/linux-4.4.14/drivers/media/platform/blackfin/ |
D | bfin_capture.c | 93 struct vb2_queue buffer_queue; 204 static int bcap_queue_setup(struct vb2_queue *vq, in bcap_queue_setup() 228 struct bcap_device *bcap_dev = vb2_get_drv_priv(vb->vb2_queue); in bcap_buffer_prepare() 246 struct bcap_device *bcap_dev = vb2_get_drv_priv(vb->vb2_queue); in bcap_buffer_queue() 258 struct bcap_device *bcap_dev = vb2_get_drv_priv(vb->vb2_queue); in bcap_buffer_cleanup() 267 static int bcap_start_streaming(struct vb2_queue *vq, unsigned int count) in bcap_start_streaming() 358 static void bcap_stop_streaming(struct vb2_queue *vq) in bcap_stop_streaming() 799 struct vb2_queue *q; in bcap_probe()
|
/linux-4.4.14/drivers/media/pci/cx25821/ |
D | cx25821-video.c | 144 static int cx25821_queue_setup(struct vb2_queue *q, const void *parg, in cx25821_queue_setup() 164 struct cx25821_channel *chan = vb->vb2_queue->drv_priv; in cx25821_buffer_prepare() 248 struct cx25821_channel *chan = vb->vb2_queue->drv_priv; in cx25821_buffer_finish() 259 struct cx25821_channel *chan = vb->vb2_queue->drv_priv; in cx25821_buffer_queue() 280 static int cx25821_start_streaming(struct vb2_queue *q, unsigned int count) in cx25821_start_streaming() 293 static void cx25821_stop_streaming(struct vb2_queue *q) in cx25821_stop_streaming() 703 struct vb2_queue *q; in cx25821_video_register()
|
D | cx25821.h | 221 struct vb2_queue vidq;
|
/linux-4.4.14/drivers/media/platform/soc_camera/ |
D | atmel-isi.c | 248 static int queue_setup(struct vb2_queue *vq, const void *parg, in queue_setup() 292 struct soc_camera_device *icd = soc_camera_from_vb2q(vb->vb2_queue); in buffer_prepare() 335 struct soc_camera_device *icd = soc_camera_from_vb2q(vb->vb2_queue); in buffer_cleanup() 377 struct soc_camera_device *icd = soc_camera_from_vb2q(vb->vb2_queue); in buffer_queue() 388 if (vb2_is_streaming(vb->vb2_queue)) in buffer_queue() 394 static int start_streaming(struct vb2_queue *vq, unsigned int count) in start_streaming() 428 static void stop_streaming(struct vb2_queue *vq) in stop_streaming() 483 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() 262 struct soc_camera_device *icd = soc_camera_from_vb2q(vb->vb2_queue); in mx3_videobuf_queue() 363 struct soc_camera_device *icd = soc_camera_from_vb2q(vb->vb2_queue); in mx3_videobuf_release() 397 struct soc_camera_device *icd = soc_camera_from_vb2q(vb->vb2_queue); in mx3_videobuf_init() 413 static void mx3_stop_streaming(struct vb2_queue *q) in mx3_stop_streaming() 447 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() 504 struct soc_camera_device *icd = soc_camera_from_vb2q(vb->vb2_queue); in mx2_videobuf_prepare() 535 struct soc_camera_device *icd = soc_camera_from_vb2q(vb->vb2_queue); in mx2_videobuf_queue() 648 static int mx2_start_streaming(struct vb2_queue *q, unsigned int count) in mx2_start_streaming() 744 static void mx2_stop_streaming(struct vb2_queue *q) in mx2_stop_streaming() 786 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() 387 struct soc_camera_device *icd = container_of(vb->vb2_queue, in sh_mobile_ceu_videobuf_queue() 439 struct soc_camera_device *icd = container_of(vb->vb2_queue, in sh_mobile_ceu_videobuf_release() 470 struct soc_camera_device *icd = container_of(vb->vb2_queue, in sh_mobile_ceu_videobuf_init() 484 static void sh_mobile_ceu_stop_streaming(struct vb2_queue *q) in sh_mobile_ceu_stop_streaming() 1687 static int sh_mobile_ceu_init_videobuf(struct vb2_queue *q, in sh_mobile_ceu_init_videobuf()
|
D | rcar_vin.c | 529 static int rcar_vin_videobuf_setup(struct vb2_queue *vq, in rcar_vin_videobuf_setup() 777 struct soc_camera_device *icd = soc_camera_from_vb2q(vb->vb2_queue); in rcar_vin_videobuf_queue() 847 static void rcar_vin_stop_streaming(struct vb2_queue *vq) in rcar_vin_stop_streaming() 1810 static int rcar_vin_init_videobuf2(struct vb2_queue *vq, in rcar_vin_init_videobuf2()
|
/linux-4.4.14/drivers/media/platform/sti/bdisp/ |
D | bdisp-v4l2.c | 440 static int bdisp_queue_setup(struct vb2_queue *vq, in bdisp_queue_setup() 471 struct bdisp_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in bdisp_buf_prepare() 472 struct bdisp_frame *frame = ctx_get_frame(ctx, vb->vb2_queue->type); in bdisp_buf_prepare() 479 if (vb->vb2_queue->type == V4L2_BUF_TYPE_VIDEO_CAPTURE) in bdisp_buf_prepare() 488 struct bdisp_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in bdisp_buf_queue() 501 static int bdisp_start_streaming(struct vb2_queue *q, unsigned int count) in bdisp_start_streaming() 524 static void bdisp_stop_streaming(struct vb2_queue *q) in bdisp_stop_streaming() 544 struct vb2_queue *src_vq, struct vb2_queue *dst_vq) in queue_init() 801 struct vb2_queue *vq; in bdisp_s_fmt()
|
/linux-4.4.14/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 void *parg, in xvip_dma_queue_setup() 334 struct xvip_dma *dma = vb2_get_drv_priv(vb->vb2_queue); in xvip_dma_buffer_prepare() 345 struct xvip_dma *dma = vb2_get_drv_priv(vb->vb2_queue); in xvip_dma_buffer_queue() 389 static int xvip_dma_start_streaming(struct vb2_queue *vq, unsigned int count) in xvip_dma_start_streaming() 448 static void xvip_dma_stop_streaming(struct vb2_queue *vq) in xvip_dma_stop_streaming()
|
/linux-4.4.14/drivers/media/usb/pwc/ |
D | pwc-if.c | 575 static int queue_setup(struct vb2_queue *vq, const void *parg, in queue_setup() 612 struct pwc_device *pdev = vb2_get_drv_priv(vb->vb2_queue); in buffer_prepare() 623 struct pwc_device *pdev = vb2_get_drv_priv(vb->vb2_queue); in buffer_finish() 650 struct pwc_device *pdev = vb2_get_drv_priv(vb->vb2_queue); in buffer_queue() 667 static int start_streaming(struct vb2_queue *vq, unsigned int count) in start_streaming() 694 static void stop_streaming(struct vb2_queue *vq) in stop_streaming()
|
D | pwc.h | 227 struct vb2_queue vb_queue;
|
/linux-4.4.14/drivers/media/pci/dt3155/ |
D | dt3155.c | 134 dt3155_queue_setup(struct vb2_queue *vq, const void *parg, in dt3155_queue_setup() 155 struct dt3155_priv *pd = vb2_get_drv_priv(vb->vb2_queue); in dt3155_buf_prepare() 161 static int dt3155_start_streaming(struct vb2_queue *q, unsigned count) in dt3155_start_streaming() 189 static void dt3155_stop_streaming(struct vb2_queue *q) in dt3155_stop_streaming() 227 struct dt3155_priv *pd = vb2_get_drv_priv(vb->vb2_queue); in dt3155_buf_queue()
|
D | dt3155.h | 183 struct vb2_queue vidq;
|
/linux-4.4.14/drivers/media/pci/solo6x10/ |
D | solo6x10-v4l2.c | 316 static int solo_queue_setup(struct vb2_queue *q, const void *parg, in solo_queue_setup() 332 static int solo_start_streaming(struct vb2_queue *q, unsigned int count) in solo_start_streaming() 340 static void solo_stop_streaming(struct vb2_queue *q) in solo_stop_streaming() 351 struct vb2_queue *vq = vb->vb2_queue; in solo_buf_queue()
|
D | solo6x10.h | 179 struct vb2_queue vidq; 271 struct vb2_queue vidq;
|
D | solo6x10-v4l2-enc.c | 665 static int solo_enc_queue_setup(struct vb2_queue *q, in solo_enc_queue_setup() 686 struct vb2_queue *vq = vb->vb2_queue; in solo_enc_buf_queue() 722 static int solo_enc_start_streaming(struct vb2_queue *q, unsigned int count) in solo_enc_start_streaming() 729 static void solo_enc_stop_streaming(struct vb2_queue *q) in solo_enc_stop_streaming() 750 struct solo_enc_dev *solo_enc = vb2_get_drv_priv(vb->vb2_queue); in solo_enc_buf_finish()
|
/linux-4.4.14/drivers/media/pci/cobalt/ |
D | cobalt-v4l2.c | 46 static int cobalt_queue_setup(struct vb2_queue *q, const void *parg, in cobalt_queue_setup() 71 struct cobalt_stream *s = vb->vb2_queue->drv_priv; in cobalt_buf_init() 107 struct cobalt_stream *s = vb->vb2_queue->drv_priv; in cobalt_buf_cleanup() 116 struct cobalt_stream *s = vb->vb2_queue->drv_priv; in cobalt_buf_prepare() 142 struct vb2_queue *q = vb->vb2_queue; in cobalt_buf_queue() 293 static int cobalt_start_streaming(struct vb2_queue *q, unsigned int count) in cobalt_start_streaming() 402 static void cobalt_stop_streaming(struct vb2_queue *q) in cobalt_stop_streaming() 1172 struct vb2_queue *q = &s->q; in cobalt_node_register()
|
D | cobalt-driver.h | 222 struct vb2_queue q;
|
/linux-4.4.14/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 | vpif_display.c | 73 struct channel_obj *ch = vb2_get_drv_priv(vb->vb2_queue); in vpif_buffer_prepare() 84 if (vb->vb2_queue->type != V4L2_BUF_TYPE_SLICED_VBI_OUTPUT) { in vpif_buffer_prepare() 111 static int vpif_buffer_queue_setup(struct vb2_queue *vq, in vpif_buffer_queue_setup() 146 struct channel_obj *ch = vb2_get_drv_priv(vb->vb2_queue); in vpif_buffer_queue() 163 static int vpif_start_streaming(struct vb2_queue *vq, unsigned int count) in vpif_start_streaming() 250 static void vpif_stop_streaming(struct vb2_queue *vq) in vpif_stop_streaming() 1143 struct vb2_queue *q; in vpif_probe_complete()
|
D | vpbe_display.c | 205 struct vb2_queue *q = vb->vb2_queue; in vpbe_buffer_prepare() 231 vpbe_buffer_queue_setup(struct vb2_queue *vq, const void *parg, in vpbe_buffer_queue_setup() 267 struct vpbe_layer *layer = vb2_get_drv_priv(vb->vb2_queue); in vpbe_buffer_queue() 281 static int vpbe_start_streaming(struct vb2_queue *vq, unsigned int count) in vpbe_start_streaming() 324 static void vpbe_stop_streaming(struct vb2_queue *vq) in vpbe_stop_streaming() 1385 struct vb2_queue *q; in vpbe_display_probe()
|
D | vpif_capture.c | 77 struct vb2_queue *q = vb->vb2_queue; in vpif_buffer_prepare() 116 static int vpif_buffer_queue_setup(struct vb2_queue *vq, in vpif_buffer_queue_setup() 152 struct channel_obj *ch = vb2_get_drv_priv(vb->vb2_queue); in vpif_buffer_queue() 172 static int vpif_start_streaming(struct vb2_queue *vq, unsigned int count) in vpif_start_streaming() 264 static void vpif_stop_streaming(struct vb2_queue *vq) in vpif_stop_streaming() 1344 struct vb2_queue *q; in vpif_probe_complete()
|
/linux-4.4.14/include/media/davinci/ |
D | vpbe_display.h | 83 struct vb2_queue buffer_queue;
|
/linux-4.4.14/drivers/media/usb/go7007/ |
D | go7007-v4l2.c | 371 static int go7007_queue_setup(struct vb2_queue *q, in go7007_queue_setup() 387 struct vb2_queue *vq = vb->vb2_queue; in go7007_buf_queue() 413 struct vb2_queue *vq = vb->vb2_queue; in go7007_buf_finish() 426 static int go7007_start_streaming(struct vb2_queue *q, unsigned int count) in go7007_start_streaming() 457 static void go7007_stop_streaming(struct vb2_queue *q) in go7007_stop_streaming()
|
D | go7007-priv.h | 234 struct vb2_queue vidq;
|
/linux-4.4.14/drivers/media/usb/usbtv/ |
D | usbtv.h | 77 struct vb2_queue vb2q;
|
D | usbtv-video.c | 601 static int usbtv_queue_setup(struct vb2_queue *vq, in usbtv_queue_setup() 622 struct usbtv *usbtv = vb2_get_drv_priv(vb->vb2_queue); in usbtv_buf_queue() 636 static int usbtv_start_streaming(struct vb2_queue *vq, unsigned int count) in usbtv_start_streaming() 647 static void usbtv_stop_streaming(struct vb2_queue *vq) in usbtv_stop_streaming()
|
/linux-4.4.14/drivers/media/platform/ti-vpe/ |
D | vpe.c | 1392 struct vb2_queue *vq; in vpe_g_fmt() 1525 struct vb2_queue *vq; in __vpe_s_fmt() 1798 static int vpe_queue_setup(struct vb2_queue *vq, in vpe_queue_setup() 1827 struct vpe_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in vpe_buf_prepare() 1831 vpe_dbg(ctx->dev, "type: %d\n", vb->vb2_queue->type); in vpe_buf_prepare() 1833 q_data = get_q_data(ctx, vb->vb2_queue->type); in vpe_buf_prepare() 1836 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.4.14/drivers/staging/media/davinci_vpfe/ |
D | vpfe_video.h | 124 struct vb2_queue buffer_queue;
|
D | vpfe_video.c | 1081 vpfe_buffer_queue_setup(struct vb2_queue *vq, const void *parg, in vpfe_buffer_queue_setup() 1114 struct vpfe_fh *fh = vb2_get_drv_priv(vb->vb2_queue); in vpfe_buffer_prepare() 1143 struct vpfe_fh *fh = vb2_get_drv_priv(vb->vb2_queue); in vpfe_buffer_queue() 1189 static int vpfe_start_streaming(struct vb2_queue *vq, unsigned int count) in vpfe_start_streaming() 1249 static void vpfe_stop_streaming(struct vb2_queue *vq) in vpfe_stop_streaming() 1279 struct vpfe_fh *fh = vb2_get_drv_priv(vb->vb2_queue); in vpfe_buf_cleanup() 1310 struct vb2_queue *q; in vpfe_reqbufs()
|
/linux-4.4.14/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc_dec.c | 890 static int s5p_mfc_queue_setup(struct vb2_queue *vq, in s5p_mfc_queue_setup() 954 struct vb2_queue *vq = vb->vb2_queue; in s5p_mfc_buf_init() 1003 static int s5p_mfc_start_streaming(struct vb2_queue *q, unsigned int count) in s5p_mfc_start_streaming() 1019 static void s5p_mfc_stop_streaming(struct vb2_queue *q) in s5p_mfc_stop_streaming() 1067 struct vb2_queue *vq = vb->vb2_queue; in s5p_mfc_buf_queue()
|
D | s5p_mfc_enc.c | 1820 static int s5p_mfc_queue_setup(struct vb2_queue *vq, in s5p_mfc_queue_setup() 1879 struct vb2_queue *vq = vb->vb2_queue; in s5p_mfc_buf_init() 1913 struct vb2_queue *vq = vb->vb2_queue; in s5p_mfc_buf_prepare() 1947 static int s5p_mfc_start_streaming(struct vb2_queue *q, unsigned int count) in s5p_mfc_start_streaming() 1977 static void s5p_mfc_stop_streaming(struct vb2_queue *q) in s5p_mfc_stop_streaming() 2010 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 | 730 struct vb2_queue *q; in s5p_mfc_open() 947 struct vb2_queue *src_q, *dst_q; in s5p_mfc_poll()
|
D | s5p_mfc_opr_v5.c | 1476 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 | 1850 static void s5p_mfc_cleanup_queue_v6(struct list_head *lh, struct vb2_queue *vq) in s5p_mfc_cleanup_queue_v6()
|
/linux-4.4.14/drivers/media/usb/airspy/ |
D | airspy.c | 118 struct vb2_queue vb_queue; 490 static int airspy_queue_setup(struct vb2_queue *vq, in airspy_queue_setup() 511 struct airspy *s = vb2_get_drv_priv(vb->vb2_queue); in airspy_buf_queue() 527 static int airspy_start_streaming(struct vb2_queue *vq, unsigned int count) in airspy_start_streaming() 588 static void airspy_stop_streaming(struct vb2_queue *vq) in airspy_stop_streaming() 662 struct vb2_queue *q = &s->vb_queue; in airspy_s_fmt_sdr_cap()
|
/linux-4.4.14/drivers/media/pci/netup_unidvb/ |
D | netup_unidvb_core.c | 279 static int netup_unidvb_queue_setup(struct vb2_queue *vq, in netup_unidvb_queue_setup() 301 struct netup_dma *dma = vb2_get_drv_priv(vb->vb2_queue); in netup_unidvb_buf_prepare() 314 struct netup_dma *dma = vb2_get_drv_priv(vb->vb2_queue); in netup_unidvb_buf_queue() 326 static int netup_unidvb_start_streaming(struct vb2_queue *q, unsigned int count) in netup_unidvb_start_streaming() 335 static void netup_unidvb_stop_streaming(struct vb2_queue *q) in netup_unidvb_stop_streaming() 353 struct vb2_queue *vb_queue) in netup_unidvb_queue_init()
|
/linux-4.4.14/drivers/media/usb/hackrf/ |
D | hackrf.c | 127 struct vb2_queue rx_vb2_queue; 128 struct vb2_queue tx_vb2_queue; 736 static void hackrf_return_all_buffers(struct vb2_queue *vq, in hackrf_return_all_buffers() 761 static int hackrf_queue_setup(struct vb2_queue *vq, in hackrf_queue_setup() 782 struct vb2_queue *vq = vb->vb2_queue; in hackrf_buf_queue() 800 static int hackrf_start_streaming(struct vb2_queue *vq, unsigned int count) in hackrf_start_streaming() 869 static void hackrf_stop_streaming(struct vb2_queue *vq) in hackrf_stop_streaming() 937 struct vb2_queue *q; in hackrf_s_fmt_sdr()
|
/linux-4.4.14/drivers/media/platform/vsp1/ |
D | vsp1_video.h | 131 struct vb2_queue queue;
|
D | vsp1_video.c | 790 vsp1_video_queue_setup(struct vb2_queue *vq, const void *parg, in vsp1_video_queue_setup() 825 struct vsp1_video *video = vb2_get_drv_priv(vb->vb2_queue); in vsp1_video_buffer_prepare() 847 struct vsp1_video *video = vb2_get_drv_priv(vb->vb2_queue); in vsp1_video_buffer_queue() 885 static int vsp1_video_start_streaming(struct vb2_queue *vq, unsigned int count) in vsp1_video_start_streaming() 937 static void vsp1_video_stop_streaming(struct vb2_queue *vq) in vsp1_video_stop_streaming()
|
/linux-4.4.14/drivers/media/platform/marvell-ccic/ |
D | mcam-core.c | 1051 static int mcam_vb_queue_setup(struct vb2_queue *vq, in mcam_vb_queue_setup() 1078 struct mcam_camera *cam = vb2_get_drv_priv(vb->vb2_queue); in mcam_vb_buf_queue() 1092 static void mcam_vb_requeue_bufs(struct vb2_queue *vq, in mcam_vb_requeue_bufs() 1119 static int mcam_vb_start_streaming(struct vb2_queue *vq, unsigned int count) in mcam_vb_start_streaming() 1158 static void mcam_vb_stop_streaming(struct vb2_queue *vq) in mcam_vb_stop_streaming() 1206 struct mcam_camera *cam = vb2_get_drv_priv(vb->vb2_queue); in mcam_vb_sg_buf_init() 1239 struct mcam_camera *cam = vb2_get_drv_priv(vb->vb2_queue); in mcam_vb_sg_buf_cleanup() 1264 struct vb2_queue *vq = &cam->vb_queue; in mcam_setup_vb2()
|
D | mcam-core.h | 159 struct vb2_queue vb_queue;
|
/linux-4.4.14/drivers/media/usb/msi2500/ |
D | msi2500.c | 129 struct vb2_queue vb_queue; 618 static int msi2500_queue_setup(struct vb2_queue *vq, in msi2500_queue_setup() 639 struct msi2500_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in msi2500_buf_queue() 849 static int msi2500_start_streaming(struct vb2_queue *vq, unsigned int count) in msi2500_start_streaming() 878 static void msi2500_stop_streaming(struct vb2_queue *vq) in msi2500_stop_streaming() 948 struct vb2_queue *q = &dev->vb_queue; in msi2500_s_fmt_sdr_cap()
|
/linux-4.4.14/drivers/media/platform/s5p-jpeg/ |
D | jpeg-core.c | 962 static int queue_init(void *priv, struct vb2_queue *src_vq, 963 struct vb2_queue *dst_vq); 1330 struct vb2_queue *vq; in s5p_jpeg_g_fmt() 1575 struct vb2_queue *vq; in s5p_jpeg_s_fmt() 2432 static int s5p_jpeg_queue_setup(struct vb2_queue *vq, in s5p_jpeg_queue_setup() 2463 struct s5p_jpeg_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in s5p_jpeg_buf_prepare() 2466 q_data = get_q_data(ctx, vb->vb2_queue->type); in s5p_jpeg_buf_prepare() 2484 struct s5p_jpeg_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in s5p_jpeg_buf_queue() 2487 vb->vb2_queue->type == V4L2_BUF_TYPE_VIDEO_OUTPUT) { in s5p_jpeg_buf_queue() 2521 static int s5p_jpeg_start_streaming(struct vb2_queue *q, unsigned int count) in s5p_jpeg_start_streaming() [all …]
|
/linux-4.4.14/drivers/media/platform/am437x/ |
D | am437x-vpfe.h | 266 struct vb2_queue buffer_queue;
|
D | am437x-vpfe.c | 1910 static int vpfe_queue_setup(struct vb2_queue *vq, in vpfe_queue_setup() 1948 struct vpfe_device *vpfe = vb2_get_drv_priv(vb->vb2_queue); in vpfe_buffer_prepare() 1967 struct vpfe_device *vpfe = vb2_get_drv_priv(vb->vb2_queue); in vpfe_buffer_queue() 1982 static int vpfe_start_streaming(struct vb2_queue *vq, unsigned int count) in vpfe_start_streaming() 2043 static void vpfe_stop_streaming(struct vb2_queue *vq) in vpfe_stop_streaming() 2349 struct vb2_queue *q; in vpfe_probe_complete()
|
/linux-4.4.14/drivers/media/usb/s2255/ |
D | s2255drv.c | 254 struct vb2_queue vb_vidq; 663 static int queue_setup(struct vb2_queue *vq, const void *parg, in queue_setup() 677 struct s2255_vc *vc = vb2_get_drv_priv(vb->vb2_queue); in buffer_prepare() 709 struct s2255_vc *vc = vb2_get_drv_priv(vb->vb2_queue); in buffer_queue() 717 static int start_streaming(struct vb2_queue *vq, unsigned int count); 718 static void stop_streaming(struct vb2_queue *vq); 848 struct vb2_queue *q = &vc->vb_vidq; in vidioc_s_fmt_vid_cap() 1096 static int start_streaming(struct vb2_queue *vq, unsigned int count) in start_streaming() 1113 static void stop_streaming(struct vb2_queue *vq) in stop_streaming() 1133 struct vb2_queue *q = &vc->vb_vidq; in vidioc_s_std() [all …]
|
/linux-4.4.14/drivers/media/dvb-frontends/ |
D | rtl2832_sdr.c | 128 struct vb2_queue vb_queue; 492 static int rtl2832_sdr_queue_setup(struct vb2_queue *vq, in rtl2832_sdr_queue_setup() 512 struct rtl2832_sdr_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in rtl2832_sdr_buf_prepare() 524 struct rtl2832_sdr_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in rtl2832_sdr_buf_queue() 902 static int rtl2832_sdr_start_streaming(struct vb2_queue *vq, unsigned int count) in rtl2832_sdr_start_streaming() 963 static void rtl2832_sdr_stop_streaming(struct vb2_queue *vq) in rtl2832_sdr_stop_streaming() 1202 struct vb2_queue *q = &dev->vb_queue; in rtl2832_sdr_s_fmt_sdr_cap()
|
/linux-4.4.14/drivers/media/platform/s5p-tv/ |
D | mixer_video.c | 884 static int queue_setup(struct vb2_queue *vq, const void *parg, in queue_setup() 919 struct mxr_layer *layer = vb2_get_drv_priv(vb->vb2_queue); in buf_queue() 930 static int start_streaming(struct vb2_queue *vq, unsigned int count) in start_streaming() 979 static void stop_streaming(struct vb2_queue *vq) in stop_streaming() 1104 layer->vb_queue = (struct vb2_queue) { in mxr_base_layer_create()
|
D | mixer.h | 181 struct vb2_queue vb_queue;
|
/linux-4.4.14/drivers/media/platform/s3c-camif/ |
D | camif-core.h | 218 struct vb2_queue vb_queue;
|
D | camif-capture.c | 375 static int start_streaming(struct vb2_queue *vq, unsigned int count) in start_streaming() 432 static void stop_streaming(struct vb2_queue *vq) in stop_streaming() 438 static int queue_setup(struct vb2_queue *vq, const void *parg, in queue_setup() 477 struct camif_vp *vp = vb2_get_drv_priv(vb->vb2_queue); in buffer_prepare() 496 struct camif_vp *vp = vb2_get_drv_priv(vb->vb2_queue); in buffer_queue() 1123 struct vb2_queue *q = &vp->vb_queue; in s3c_camif_register_video_node()
|