Home
last modified time | relevance | path

Searched refs:vb_buf (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/media/pci/cx18/
H A Dcx18-mailbox.c150 struct cx18_vb2_buffer *vb_buf; in cx18_mdl_send_to_vb2() local
168 p = vb2_plane_vaddr(&vb_buf->vb.vb2_buf, 0); in cx18_mdl_send_to_vb2()
172 bsize = vb2_get_plane_payload(&vb_buf->vb.vb2_buf, 0); in cx18_mdl_send_to_vb2()
173 offset = vb_buf->bytes_used; in cx18_mdl_send_to_vb2()
181 vb_buf->bytes_used += buf->bytesused; in cx18_mdl_send_to_vb2()
186 if (vb_buf->bytes_used >= s->vb_bytes_per_frame) { in cx18_mdl_send_to_vb2()
188 vb_buf->bytes_used = 0; in cx18_mdl_send_to_vb2()
192 vb_buf->vb.vb2_buf.timestamp = ktime_get_ns(); in cx18_mdl_send_to_vb2()
193 vb_buf->vb.sequence = s->sequence++; in cx18_mdl_send_to_vb2()
194 list_del(&vb_buf->list); in cx18_mdl_send_to_vb2()
[all …]
/openbmc/linux/drivers/media/platform/marvell/
H A Dmcam-core.c196 struct vb2_v4l2_buffer vb_buf; member
204 return container_of(vb, struct mcam_vb_buffer, vb_buf); in vb_to_mvb()
472 memcpy(vb2_plane_vaddr(&buf->vb_buf.vb2_buf, 0), in mcam_frame_tasklet()
475 mcam_buffer_done(cam, bufno, &buf->vb_buf); in mcam_frame_tasklet()
559 vb = &buf->vb_buf; in mcam_set_contig_buffer()
586 mcam_buffer_done(cam, frame, &buf->vb_buf); in mcam_dma_contig_done()
610 sg_table = vb2_dma_sg_plane_desc(&buf->vb_buf.vb2_buf, 0); in mcam_sg_next_buffer()
687 mcam_buffer_done(cam, frame, &buf->vb_buf); in mcam_dma_sg_done()
1122 vb2_buffer_done(&buf->vb_buf.vb2_buf, state); in mcam_vb_requeue_bufs()
1129 vb2_buffer_done(&buf->vb_buf.vb2_buf, state); in mcam_vb_requeue_bufs()
/openbmc/linux/drivers/media/usb/em28xx/
H A Dem28xx-video.c462 fieldstart = buf->vb_buf; in em28xx_copy_video()
464 fieldstart = buf->vb_buf + bytesperline; in em28xx_copy_video()
478 if ((char *)startwrite + lencopy > (char *)buf->vb_buf + buf->length) { in em28xx_copy_video()
481 ((char *)buf->vb_buf + buf->length)); in em28xx_copy_video()
482 remain = (char *)buf->vb_buf + buf->length - in em28xx_copy_video()
503 if ((char *)startwrite + lencopy > (char *)buf->vb_buf + in em28xx_copy_video()
507 ((char *)buf->vb_buf + buf->length)); in em28xx_copy_video()
508 remain = (char *)buf->vb_buf + buf->length - in em28xx_copy_video()
541 memcpy(buf->vb_buf + offset, usb_buf, len); in em28xx_copy_vbi()
602 buf->vb_buf = buf->mem; in get_next_buf()
H A Dem28xx.h285 char *vb_buf; member
/openbmc/linux/drivers/staging/media/rkvdec/
H A Drkvdec-h264.c955 struct vb2_buffer *vb_buf = run->ref_buf[i]; in config_registers() local
961 if (!vb_buf) in config_registers()
962 vb_buf = &dst_buf->vb2_buf; in config_registers()
963 refer_addr = vb2_dma_contig_plane_dma_addr(vb_buf, 0); in config_registers()
/openbmc/linux/drivers/media/usb/au0828/
H A Dau0828.h164 char *vb_buf; member
H A Dau0828-video.c406 (*buf)->vb_buf = (*buf)->mem; in get_next_buf()
481 (*buf)->vb_buf = (*buf)->mem; in vbi_get_next_buf()