Searched refs:vb_buf (Results 1 - 6 of 6) sorted by relevance

/linux-4.4.14/drivers/media/pci/cx18/
H A Dcx18-mailbox.c165 struct cx18_videobuf_buffer *vb_buf; cx18_mdl_send_to_videobuf() local
179 vb_buf = list_first_entry(&s->vb_capture, struct cx18_videobuf_buffer, cx18_mdl_send_to_videobuf()
182 p = videobuf_to_vmalloc(&vb_buf->vb); cx18_mdl_send_to_videobuf()
186 offset = vb_buf->bytes_used; cx18_mdl_send_to_videobuf()
191 if ((offset + buf->bytesused) <= vb_buf->vb.bsize) { cx18_mdl_send_to_videobuf()
194 vb_buf->bytes_used += buf->bytesused; cx18_mdl_send_to_videobuf()
199 if (vb_buf->bytes_used >= s->vb_bytes_per_frame) { cx18_mdl_send_to_videobuf()
201 vb_buf->bytes_used = 0; cx18_mdl_send_to_videobuf()
205 v4l2_get_timestamp(&vb_buf->vb.ts); cx18_mdl_send_to_videobuf()
206 list_del(&vb_buf->vb.queue); cx18_mdl_send_to_videobuf()
207 vb_buf->vb.state = VIDEOBUF_DONE; cx18_mdl_send_to_videobuf()
208 wake_up(&vb_buf->vb.done); cx18_mdl_send_to_videobuf()
/linux-4.4.14/drivers/media/platform/marvell-ccic/
H A Dmcam-core.c208 struct vb2_v4l2_buffer vb_buf; member in struct:mcam_vb_buffer
217 return container_of(vb, struct mcam_vb_buffer, vb_buf); vb_to_mvb()
485 memcpy(vb2_plane_vaddr(&buf->vb_buf.vb2_buf, 0), mcam_frame_tasklet()
488 mcam_buffer_done(cam, bufno, &buf->vb_buf); mcam_frame_tasklet()
572 vb = &buf->vb_buf; mcam_set_contig_buffer()
599 mcam_buffer_done(cam, frame, &buf->vb_buf); mcam_dma_contig_done()
698 mcam_buffer_done(cam, frame, &buf->vb_buf); mcam_dma_sg_done()
1102 vb2_buffer_done(&buf->vb_buf.vb2_buf, state); mcam_vb_requeue_bufs()
1109 vb2_buffer_done(&buf->vb_buf.vb2_buf, state); mcam_vb_requeue_bufs()
/linux-4.4.14/drivers/media/usb/em28xx/
H A Dem28xx-video.c466 fieldstart = buf->vb_buf; em28xx_copy_video()
468 fieldstart = buf->vb_buf + bytesperline; em28xx_copy_video()
482 if ((char *)startwrite + lencopy > (char *)buf->vb_buf + buf->length) { em28xx_copy_video()
485 ((char *)buf->vb_buf + buf->length)); em28xx_copy_video()
486 remain = (char *)buf->vb_buf + buf->length - em28xx_copy_video()
507 if ((char *)startwrite + lencopy > (char *)buf->vb_buf + em28xx_copy_video()
512 ((char *)buf->vb_buf + buf->length)); em28xx_copy_video()
513 lencopy = remain = (char *)buf->vb_buf + buf->length - em28xx_copy_video()
545 memcpy(buf->vb_buf + offset, usb_buf, len); em28xx_copy_vbi()
606 buf->vb_buf = buf->mem; get_next_buf()
H A Dem28xx.h281 char *vb_buf; member in struct:em28xx_buffer
/linux-4.4.14/drivers/media/usb/au0828/
H A Dau0828.h179 char *vb_buf; member in struct:au0828_buffer
H A Dau0828-video.c421 (*buf)->vb_buf = (*buf)->mem; get_next_buf()
496 (*buf)->vb_buf = (*buf)->mem; vbi_get_next_buf()

Completed in 250 milliseconds