Home
last modified time | relevance | path

Searched refs:vb2_queue (Results 1 – 13 of 13) sorted by relevance

/linux-2.6.39/include/media/
Dvideobuf2-core.h126 struct vb2_queue;
156 struct vb2_queue *vb2_queue; member
213 int (*queue_setup)(struct vb2_queue *q, unsigned int *num_buffers,
217 void (*wait_prepare)(struct vb2_queue *q);
218 void (*wait_finish)(struct vb2_queue *q);
225 int (*start_streaming)(struct vb2_queue *q);
226 int (*stop_streaming)(struct vb2_queue *q);
256 struct vb2_queue { struct
289 int vb2_wait_for_all_buffers(struct vb2_queue *q); argument
291 int vb2_querybuf(struct vb2_queue *q, struct v4l2_buffer *b);
[all …]
Dv4l2-mem2mem.h56 struct vb2_queue q;
91 struct vb2_queue *v4l2_m2m_get_vq(struct v4l2_m2m_ctx *m2m_ctx,
130 int (*queue_init)(void *priv, struct vb2_queue *src_vq, struct vb2_queue *dst_vq));
180 struct vb2_queue *v4l2_m2m_get_src_vq(struct v4l2_m2m_ctx *m2m_ctx) in v4l2_m2m_get_src_vq()
189 struct vb2_queue *v4l2_m2m_get_dst_vq(struct v4l2_m2m_ctx *m2m_ctx) in v4l2_m2m_get_dst_vq()
Dsoc_camera.h52 struct vb2_queue vb2_vidq;
87 int (*init_videobuf2)(struct vb2_queue *,
311 static inline struct soc_camera_device *soc_camera_from_vb2q(struct vb2_queue *vq) in soc_camera_from_vb2q()
321 void soc_camera_lock(struct vb2_queue *vq);
322 void soc_camera_unlock(struct vb2_queue *vq);
/linux-2.6.39/drivers/media/video/
Dvideobuf2-core.c49 struct vb2_queue *q = vb->vb2_queue; in __vb2_buf_mem_alloc()
79 struct vb2_queue *q = vb->vb2_queue; in __vb2_buf_mem_free()
96 struct vb2_queue *q = vb->vb2_queue; in __vb2_buf_userptr_put()
113 static void __setup_offsets(struct vb2_queue *q) in __setup_offsets()
143 static int __vb2_queue_alloc(struct vb2_queue *q, enum v4l2_memory memory, in __vb2_queue_alloc()
164 vb->vb2_queue = q; in __vb2_queue_alloc()
210 static void __vb2_free_mem(struct vb2_queue *q) in __vb2_free_mem()
233 static void __vb2_queue_free(struct vb2_queue *q) in __vb2_queue_free()
287 struct vb2_queue *q = vb->vb2_queue; in __fill_v4l2_buffer()
359 int vb2_querybuf(struct vb2_queue *q, struct v4l2_buffer *b) in vb2_querybuf()
[all …]
Dv4l2-mem2mem.c77 struct vb2_queue *v4l2_m2m_get_vq(struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_get_vq()
296 struct vb2_queue *vq; in v4l2_m2m_reqbufs()
311 struct vb2_queue *vq; in v4l2_m2m_querybuf()
340 struct vb2_queue *vq; in v4l2_m2m_qbuf()
359 struct vb2_queue *vq; in v4l2_m2m_dqbuf()
372 struct vb2_queue *vq; in v4l2_m2m_streamon()
390 struct vb2_queue *vq; in v4l2_m2m_streamoff()
408 struct vb2_queue *src_q, *dst_q; in v4l2_m2m_poll()
473 struct vb2_queue *vq; in v4l2_m2m_mmap()
536 int (*queue_init)(void *priv, struct vb2_queue *src_vq, struct vb2_queue *dst_vq)) in v4l2_m2m_ctx_init()
[all …]
Dvivi.c199 struct vb2_queue vb_vidq;
646 static int queue_setup(struct vb2_queue *vq, unsigned int *nbuffers, in queue_setup()
678 struct vivi_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in buffer_init()
699 struct vivi_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in buffer_prepare()
736 struct vivi_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in buffer_finish()
743 struct vivi_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in buffer_cleanup()
750 struct vivi_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in buffer_queue()
762 static int start_streaming(struct vb2_queue *vq) in start_streaming()
770 static int stop_streaming(struct vb2_queue *vq) in stop_streaming()
778 static void vivi_lock(struct vb2_queue *vq) in vivi_lock()
[all …]
Dmem2mem_testdev.c434 struct vb2_queue *vq; in vidioc_g_fmt()
534 struct vb2_queue *vq; in vidioc_s_fmt()
743 static int m2mtest_queue_setup(struct vb2_queue *vq, unsigned int *nbuffers, in m2mtest_queue_setup()
774 struct m2mtest_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in m2mtest_buf_prepare()
777 dprintk(ctx->dev, "type: %d\n", vb->vb2_queue->type); in m2mtest_buf_prepare()
779 q_data = get_q_data(vb->vb2_queue->type); in m2mtest_buf_prepare()
794 struct m2mtest_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in m2mtest_buf_queue()
804 static int queue_init(void *priv, struct vb2_queue *src_vq, struct vb2_queue *dst_vq) in queue_init()
Dmx3_camera.c193 static int mx3_videobuf_setup(struct vb2_queue *vq, in mx3_videobuf_setup()
226 struct soc_camera_device *icd = soc_camera_from_vb2q(vb->vb2_queue); in mx3_videobuf_prepare()
286 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()
413 static int mx3_camera_init_videobuf(struct vb2_queue *q, in mx3_camera_init_videobuf()
Dsh_mobile_ceu_camera.c215 static int sh_mobile_ceu_videobuf_setup(struct vb2_queue *vq, in sh_mobile_ceu_videobuf_setup()
334 struct soc_camera_device *icd = container_of(vb->vb2_queue, struct soc_camera_device, vb2_vidq); in sh_mobile_ceu_videobuf_prepare()
377 struct soc_camera_device *icd = container_of(vb->vb2_queue, struct soc_camera_device, vb2_vidq); in sh_mobile_ceu_videobuf_queue()
403 struct soc_camera_device *icd = container_of(vb->vb2_queue, struct soc_camera_device, vb2_vidq); in sh_mobile_ceu_videobuf_release()
1723 static int sh_mobile_ceu_init_videobuf(struct vb2_queue *q, in sh_mobile_ceu_init_videobuf()
Dsoc_camera.c625 void soc_camera_lock(struct vb2_queue *vq) in soc_camera_lock()
632 void soc_camera_unlock(struct vb2_queue *vq) in soc_camera_unlock()
/linux-2.6.39/drivers/media/video/s5p-fimc/
Dfimc-capture.c200 static int start_streaming(struct vb2_queue *q) in start_streaming()
250 static int stop_streaming(struct vb2_queue *q) in stop_streaming()
273 static int queue_setup(struct vb2_queue *vq, unsigned int *num_buffers, in queue_setup()
306 struct vb2_queue *vq = vb->vb2_queue; in buffer_prepare()
331 struct fimc_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in buffer_queue()
367 static void fimc_lock(struct vb2_queue *vq) in fimc_lock()
373 static void fimc_unlock(struct vb2_queue *vq) in fimc_unlock()
822 struct vb2_queue *q; in fimc_register_capture_device()
Dfimc-core.c351 static int stop_streaming(struct vb2_queue *q) in stop_streaming()
703 static int fimc_queue_setup(struct vb2_queue *vq, unsigned int *num_buffers, in fimc_queue_setup()
735 struct fimc_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in fimc_buf_prepare()
739 frame = ctx_get_frame(ctx, vb->vb2_queue->type); in fimc_buf_prepare()
751 struct fimc_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in fimc_buf_queue()
759 static void fimc_lock(struct vb2_queue *vq) in fimc_lock()
765 static void fimc_unlock(struct vb2_queue *vq) in fimc_unlock()
967 struct vb2_queue *vq; in fimc_m2m_s_fmt_mplane()
1381 static int queue_init(void *priv, struct vb2_queue *src_vq, in queue_init()
1382 struct vb2_queue *dst_vq) in queue_init()
Dfimc-core.h320 struct vb2_queue vbq;