/kernel/linux/linux-5.10/drivers/media/pci/saa7134/ |
D | saa7134-vbi.c | 73 struct saa7134_dmaqueue *dmaq = buf->vb2.vb2_buf.vb2_queue->drv_priv; in buffer_activate() 105 static int buffer_prepare(struct vb2_buffer *vb2) in buffer_prepare() argument 107 struct saa7134_dmaqueue *dmaq = vb2->vb2_queue->drv_priv; in buffer_prepare() 109 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb2); in buffer_prepare() 110 struct saa7134_buf *buf = container_of(vbuf, struct saa7134_buf, vb2); in buffer_prepare() 111 struct sg_table *dma = vb2_dma_sg_plane_desc(vb2, 0); in buffer_prepare() 119 if (vb2_plane_size(vb2, 0) < size) in buffer_prepare() 122 vb2_set_plane_payload(vb2, 0, size); in buffer_prepare() 148 static int buffer_init(struct vb2_buffer *vb2) in buffer_init() argument 150 struct saa7134_dmaqueue *dmaq = vb2->vb2_queue->drv_priv; in buffer_init() [all …]
|
D | saa7134-ts.c | 67 int saa7134_ts_buffer_init(struct vb2_buffer *vb2) in saa7134_ts_buffer_init() argument 69 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb2); in saa7134_ts_buffer_init() 70 struct saa7134_dmaqueue *dmaq = vb2->vb2_queue->drv_priv; in saa7134_ts_buffer_init() 71 struct saa7134_buf *buf = container_of(vbuf, struct saa7134_buf, vb2); in saa7134_ts_buffer_init() 80 int saa7134_ts_buffer_prepare(struct vb2_buffer *vb2) in saa7134_ts_buffer_prepare() argument 82 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb2); in saa7134_ts_buffer_prepare() 83 struct saa7134_dmaqueue *dmaq = vb2->vb2_queue->drv_priv; in saa7134_ts_buffer_prepare() 85 struct saa7134_buf *buf = container_of(vbuf, struct saa7134_buf, vb2); in saa7134_ts_buffer_prepare() 86 struct sg_table *dma = vb2_dma_sg_plane_desc(vb2, 0); in saa7134_ts_buffer_prepare() 95 if (vb2_plane_size(vb2, 0) < size) in saa7134_ts_buffer_prepare() [all …]
|
D | saa7134-video.c | 824 struct saa7134_dmaqueue *dmaq = buf->vb2.vb2_buf.vb2_queue->drv_priv; in buffer_activate() 902 static int buffer_init(struct vb2_buffer *vb2) in buffer_init() argument 904 struct saa7134_dmaqueue *dmaq = vb2->vb2_queue->drv_priv; in buffer_init() 905 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb2); in buffer_init() 906 struct saa7134_buf *buf = container_of(vbuf, struct saa7134_buf, vb2); in buffer_init() 913 static int buffer_prepare(struct vb2_buffer *vb2) in buffer_prepare() argument 915 struct saa7134_dmaqueue *dmaq = vb2->vb2_queue->drv_priv; in buffer_prepare() 917 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb2); in buffer_prepare() 918 struct saa7134_buf *buf = container_of(vbuf, struct saa7134_buf, vb2); in buffer_prepare() 919 struct sg_table *dma = vb2_dma_sg_plane_desc(vb2, 0); in buffer_prepare() [all …]
|
D | saa7134-core.c | 205 return saa7134_buffer_pages(vb2_plane_size(&buf->vb2.vb2_buf, 0)) in saa7134_buffer_startpage() 206 * buf->vb2.vb2_buf.index; in saa7134_buffer_startpage() 212 struct sg_table *dma = vb2_dma_sg_plane_desc(&buf->vb2.vb2_buf, 0); in saa7134_buffer_base() 298 q->curr->vb2.vb2_buf.timestamp = ktime_get_ns(); in saa7134_buffer_finish() 299 q->curr->vb2.sequence = q->seq_nr++; in saa7134_buffer_finish() 300 vb2_buffer_done(&q->curr->vb2.vb2_buf, state); in saa7134_buffer_finish() 364 vb2_buffer_done(&tmp->vb2.vb2_buf, in saa7134_stop_streaming()
|
D | saa7134.h | 465 struct vb2_v4l2_buffer vb2; member 842 int saa7134_ts_buffer_init(struct vb2_buffer *vb2); 843 int saa7134_ts_buffer_prepare(struct vb2_buffer *vb2);
|
/kernel/linux/linux-5.10/drivers/media/test-drivers/vimc/ |
D | vimc-capture.c | 50 struct vb2_v4l2_buffer vb2; member 234 vb2_buffer_done(&vbuf->vb2.vb2_buf, state); in vimc_cap_return_all_buffers() 287 vb2.vb2_buf); in vimc_cap_buf_queue() 381 vimc_buf->vb2.vb2_buf.timestamp = ktime_get_ns(); in vimc_cap_process_frame() 382 vimc_buf->vb2.sequence = vcap->sequence++; in vimc_cap_process_frame() 383 vimc_buf->vb2.field = vcap->format.field; in vimc_cap_process_frame() 385 vbuf = vb2_plane_vaddr(&vimc_buf->vb2.vb2_buf, 0); in vimc_cap_process_frame() 390 vb2_set_plane_payload(&vimc_buf->vb2.vb2_buf, 0, in vimc_cap_process_frame() 392 vb2_buffer_done(&vimc_buf->vb2.vb2_buf, VB2_BUF_STATE_DONE); in vimc_cap_process_frame()
|
/kernel/linux/linux-5.10/drivers/media/dvb-core/ |
D | Makefile | 7 dvb-vb2-$(CONFIG_DVB_MMAP) := dvb_vb2.o 11 $(dvb-net-y) dvb_ringbuffer.o $(dvb-vb2-y) dvb_math.o
|
/kernel/linux/linux-5.10/drivers/media/usb/gspca/ |
D | gspca.h | 149 static inline struct gspca_buffer *to_gspca_buffer(struct vb2_buffer *vb2) in to_gspca_buffer() argument 151 return container_of(vb2, struct gspca_buffer, vb.vb2_buf); in to_gspca_buffer()
|
/kernel/linux/linux-5.10/drivers/media/common/videobuf2/ |
D | Makefile | 5 videobuf2-common-objs += vb2-trace.o
|
/kernel/linux/linux-5.10/include/trace/events/ |
D | vb2.h | 3 #define TRACE_SYSTEM vb2
|
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb/ |
D | cxusb-analog.c | 475 cxdev->vbuf->vb2.vb2_buf.timestamp = ktime_get_ns(); in cxusb_medion_v_process_auxbuf() 476 bt656->buf = vb2_plane_vaddr(&cxdev->vbuf->vb2.vb2_buf, in cxusb_medion_v_process_auxbuf() 509 vb2_set_plane_payload(&cxdev->vbuf->vb2.vb2_buf, 0, in cxusb_medion_v_process_auxbuf() 512 cxdev->vbuf->vb2.field = cxdev->field_order; in cxusb_medion_v_process_auxbuf() 513 cxdev->vbuf->vb2.sequence = cxdev->vbuf_sequence++; in cxusb_medion_v_process_auxbuf() 515 vb2_buffer_done(&cxdev->vbuf->vb2.vb2_buf, in cxusb_medion_v_process_auxbuf() 672 vb2_buffer_done(&vbuf->vb2.vb2_buf, in cxusb_medion_return_buffers() 678 vb2_buffer_done(&cxdev->vbuf->vb2.vb2_buf, in cxusb_medion_return_buffers() 944 container_of(v4l2buf, struct cxusb_medion_vbuffer, vb2); in cxusub_medion_v_buf_queue()
|
D | cxusb.h | 155 struct vb2_v4l2_buffer vb2; member
|
/kernel/linux/linux-5.10/drivers/media/pci/cobalt/ |
D | cobalt-driver.h | 204 struct cobalt_buffer *to_cobalt_buffer(struct vb2_v4l2_buffer *vb2) in to_cobalt_buffer() argument 206 return container_of(vb2, struct cobalt_buffer, vb); in to_cobalt_buffer()
|
/kernel/linux/linux-5.10/drivers/staging/vc04_services/bcm2835-camera/ |
D | bcm2835-camera.c | 269 struct vb2_v4l2_buffer *vb2 = to_vb2_v4l2_buffer(vb); in buffer_init() local 271 container_of(vb2, struct vb2_mmal_buffer, vb); in buffer_init() 306 struct vb2_v4l2_buffer *vb2 = to_vb2_v4l2_buffer(vb); in buffer_cleanup() local 308 container_of(vb2, struct vb2_mmal_buffer, vb); in buffer_cleanup() 486 struct vb2_v4l2_buffer *vb2 = to_vb2_v4l2_buffer(vb); in buffer_queue() local 488 container_of(vb2, struct vb2_mmal_buffer, vb); in buffer_queue() 493 __func__, dev, buf, vb2->vb2_buf.index); in buffer_queue()
|
/kernel/linux/linux-5.10/drivers/media/pci/sta2x11/ |
D | sta2x11_vip.c | 79 static inline struct vip_buffer *to_vip_buffer(struct vb2_v4l2_buffer *vb2) in to_vip_buffer() argument 81 return container_of(vb2, struct vip_buffer, vb); in to_vip_buffer()
|
/kernel/linux/linux-5.10/Documentation/driver-api/media/ |
D | v4l2-dev.rst | 76 That way the :ref:`vb2 <vb2_framework>` queuing framework does not have 78 :ref:`vb2 <vb2_framework>` helper functions to check for
|
/kernel/linux/linux-5.10/drivers/media/platform/ |
D | sh_vou.c | 68 sh_vou_buffer *to_sh_vou_buffer(struct vb2_v4l2_buffer *vb2) in to_sh_vou_buffer() argument 70 return container_of(vb2, struct sh_vou_buffer, vb); in to_sh_vou_buffer()
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
D | 0036_linux_drivers_staging.patch | 37745 + struct vb2_buffer *vb2 = &buf->v4l2_buf.vb2_buf; 37752 + paddr->cr = vb2_dma_contig_plane_dma_addr(vb2, 2); 37755 + paddr->cb = vb2_dma_contig_plane_dma_addr(vb2, 1); 37758 + paddr->y = vb2_dma_contig_plane_dma_addr(vb2, 0); 37772 + struct vb2_buffer *vb2; 37794 + vb2 = &buf->v4l2_buf.vb2_buf; 37820 + vb2 = &buf->v4l2_buf.vb2_buf; 37821 + vb2->state = VB2_BUF_STATE_ACTIVE; 37870 +static int cap_vb2_buffer_prepare(struct vb2_buffer *vb2) 37872 + struct vb2_queue *q = vb2->vb2_queue; [all …]
|
D | 0038_linux_drivers_mxc.patch | 176903 + v4l2_klog(LOGLVL_VERBOSE, "que has %d vb2 buffers, que count = %d", vq->num_buffers, vq->queued_c… 193744 + // initialize vb2 queue 195825 + struct vb2_queue vb2_q; // vb2 queue 201923 + // initialize vb2 queue 204908 + struct vb2_queue vb2_q; // vb2 queue
|
/kernel/linux/patches/linux-5.10/unionpi_tiger_pacth/ |
D | linux-5.10.patch | 31238 + /* dmabuf keeps reference to vb2 buffer */
|