Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/media/pci/cx18/
Dcx18-mailbox.c165 struct cx18_videobuf_buffer *vb_buf; in cx18_mdl_send_to_videobuf() local
179 vb_buf = list_first_entry(&s->vb_capture, struct cx18_videobuf_buffer, in cx18_mdl_send_to_videobuf()
182 p = videobuf_to_vmalloc(&vb_buf->vb); in cx18_mdl_send_to_videobuf()
186 offset = vb_buf->bytes_used; in cx18_mdl_send_to_videobuf()
191 if ((offset + buf->bytesused) <= vb_buf->vb.bsize) { in cx18_mdl_send_to_videobuf()
194 vb_buf->bytes_used += buf->bytesused; in cx18_mdl_send_to_videobuf()
199 if (vb_buf->bytes_used >= s->vb_bytes_per_frame) { in cx18_mdl_send_to_videobuf()
201 vb_buf->bytes_used = 0; in cx18_mdl_send_to_videobuf()
205 vb_buf->vb.ts = ktime_to_timeval(ktime_get()); in cx18_mdl_send_to_videobuf()
206 list_del(&vb_buf->vb.queue); in cx18_mdl_send_to_videobuf()
[all …]
/linux-4.1.27/drivers/media/usb/em28xx/
Dem28xx-video.c466 fieldstart = buf->vb_buf; in em28xx_copy_video()
468 fieldstart = buf->vb_buf + bytesperline; in em28xx_copy_video()
482 if ((char *)startwrite + lencopy > (char *)buf->vb_buf + buf->length) { in em28xx_copy_video()
485 ((char *)buf->vb_buf + buf->length)); in em28xx_copy_video()
486 remain = (char *)buf->vb_buf + buf->length - in em28xx_copy_video()
507 if ((char *)startwrite + lencopy > (char *)buf->vb_buf + in em28xx_copy_video()
512 ((char *)buf->vb_buf + buf->length)); in em28xx_copy_video()
513 lencopy = remain = (char *)buf->vb_buf + buf->length - in em28xx_copy_video()
545 memcpy(buf->vb_buf + offset, usb_buf, len); in em28xx_copy_vbi()
606 buf->vb_buf = buf->mem; in get_next_buf()
Dem28xx.h280 char *vb_buf; member
/linux-4.1.27/drivers/media/platform/marvell-ccic/
Dmcam-core.c219 struct vb2_buffer vb_buf; member
229 return container_of(vb, struct mcam_vb_buffer, vb_buf); in vb_to_mvb()
459 memcpy(vb2_plane_vaddr(&buf->vb_buf, 0), cam->dma_bufs[bufno], in mcam_frame_tasklet()
461 mcam_buffer_done(cam, bufno, &buf->vb_buf); in mcam_frame_tasklet()
555 vb = &buf->vb_buf; in mcam_set_contig_buffer()
606 mcam_buffer_done(cam, frame, &buf->vb_buf); in mcam_dma_contig_done()
705 mcam_buffer_done(cam, frame, &buf->vb_buf); in mcam_dma_sg_done()
/linux-4.1.27/drivers/media/usb/au0828/
Dau0828.h178 char *vb_buf; member
Dau0828-video.c421 (*buf)->vb_buf = (*buf)->mem; in get_next_buf()
496 (*buf)->vb_buf = (*buf)->mem; in vbi_get_next_buf()