Searched refs:vb_buf (Results 1 – 6 of 6) sorted by relevance
/Linux-v4.19/drivers/media/pci/cx18/ |
D | cx18-mailbox.c | 160 struct cx18_videobuf_buffer *vb_buf; in cx18_mdl_send_to_videobuf() local 174 vb_buf = list_first_entry(&s->vb_capture, struct cx18_videobuf_buffer, in cx18_mdl_send_to_videobuf() 177 p = videobuf_to_vmalloc(&vb_buf->vb); in cx18_mdl_send_to_videobuf() 181 offset = vb_buf->bytes_used; in cx18_mdl_send_to_videobuf() 186 if ((offset + buf->bytesused) <= vb_buf->vb.bsize) { in cx18_mdl_send_to_videobuf() 189 vb_buf->bytes_used += buf->bytesused; in cx18_mdl_send_to_videobuf() 194 if (vb_buf->bytes_used >= s->vb_bytes_per_frame) { in cx18_mdl_send_to_videobuf() 196 vb_buf->bytes_used = 0; in cx18_mdl_send_to_videobuf() 200 v4l2_get_timestamp(&vb_buf->vb.ts); in cx18_mdl_send_to_videobuf() 201 list_del(&vb_buf->vb.queue); in cx18_mdl_send_to_videobuf() [all …]
|
/Linux-v4.19/drivers/media/platform/marvell-ccic/ |
D | mcam-core.c | 199 struct vb2_v4l2_buffer vb_buf; member 208 return container_of(vb, struct mcam_vb_buffer, vb_buf); in vb_to_mvb() 477 memcpy(vb2_plane_vaddr(&buf->vb_buf.vb2_buf, 0), in mcam_frame_tasklet() 480 mcam_buffer_done(cam, bufno, &buf->vb_buf); in mcam_frame_tasklet() 564 vb = &buf->vb_buf; in mcam_set_contig_buffer() 591 mcam_buffer_done(cam, frame, &buf->vb_buf); in mcam_dma_contig_done() 690 mcam_buffer_done(cam, frame, &buf->vb_buf); in mcam_dma_sg_done() 1091 vb2_buffer_done(&buf->vb_buf.vb2_buf, state); in mcam_vb_requeue_bufs() 1098 vb2_buffer_done(&buf->vb_buf.vb2_buf, state); in mcam_vb_requeue_bufs()
|
/Linux-v4.19/drivers/media/usb/em28xx/ |
D | em28xx-video.c | 479 fieldstart = buf->vb_buf; in em28xx_copy_video() 481 fieldstart = buf->vb_buf + bytesperline; in em28xx_copy_video() 495 if ((char *)startwrite + lencopy > (char *)buf->vb_buf + buf->length) { in em28xx_copy_video() 498 ((char *)buf->vb_buf + buf->length)); in em28xx_copy_video() 499 remain = (char *)buf->vb_buf + buf->length - in em28xx_copy_video() 520 if ((char *)startwrite + lencopy > (char *)buf->vb_buf + in em28xx_copy_video() 524 ((char *)buf->vb_buf + buf->length)); in em28xx_copy_video() 525 remain = (char *)buf->vb_buf + buf->length - in em28xx_copy_video() 558 memcpy(buf->vb_buf + offset, usb_buf, len); in em28xx_copy_vbi() 619 buf->vb_buf = buf->mem; in get_next_buf()
|
D | em28xx.h | 293 char *vb_buf; member
|
/Linux-v4.19/drivers/media/usb/au0828/ |
D | au0828.h | 173 char *vb_buf; member
|
D | au0828-video.c | 416 (*buf)->vb_buf = (*buf)->mem; in get_next_buf() 491 (*buf)->vb_buf = (*buf)->mem; in vbi_get_next_buf()
|