Home
last modified time | relevance | path

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

/linux/drivers/media/pci/cx18/
H A Dcx18-mailbox.c150 struct cx18_vb2_buffer *vb_buf; in cx18_mdl_send_to_vb2() local
165 vb_buf = list_first_entry(&s->vb_capture, struct cx18_vb2_buffer, in cx18_mdl_send_to_vb2()
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 in cx18_mdl_send_to_vb2()
[all...]
/linux/drivers/media/platform/chips-media/wave5/
H A Dwave5-vdi.c154 struct vpu_buf vb_buf; in wave5_vdi_allocate_array() local
157 vb_buf.size = size; in wave5_vdi_allocate_array()
166 ret = wave5_vdi_allocate_dma_memory(vpu_dev, &vb_buf); in wave5_vdi_allocate_array()
169 array[i] = vb_buf; in wave5_vdi_allocate_array()
H A Dwave5-hw.c773 struct vpu_buf vb_buf; in wave5_vpu_dec_register_framebuffer() local
828 vb_buf.size = (p_dec_info->vlc_buf_size * VLC_BUF_NUM) + in wave5_vpu_dec_register_framebuffer()
830 vb_buf.daddr = 0; in wave5_vpu_dec_register_framebuffer()
832 if (vb_buf.size != p_dec_info->vb_task.size) { in wave5_vpu_dec_register_framebuffer()
836 &vb_buf); in wave5_vpu_dec_register_framebuffer()
840 p_dec_info->vb_task = vb_buf; in wave5_vpu_dec_register_framebuffer()
846 vb_buf.size); in wave5_vpu_dec_register_framebuffer()
/linux/drivers/media/platform/rockchip/rga/
H A Drga.h101 struct vb2_v4l2_buffer vb_buf; member
115 return container_of(vb, struct rga_vb_buffer, vb_buf); in vb_to_rga()
/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 in get_next_buf()
[all...]
H A Dem28xx.h268 * @vb_buf: pointer to vmalloc memory address in vb
286 char *vb_buf; member
/linux/drivers/media/platform/rockchip/rkvdec/
H A Drkvdec-h264.c956 struct vb2_buffer *vb_buf = run->ref_buf[i]; in config_registers() local
962 if (!vb_buf) in config_registers()
963 vb_buf = &dst_buf->vb2_buf; in config_registers()
964 refer_addr = vb2_dma_contig_plane_dma_addr(vb_buf, 0); in config_registers()
/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()