| /drivers/virtio/ |
| A D | virtio_balloon.c | 188 sg_init_one(&sg, vb->pfns, sizeof(vb->pfns[0]) * vb->num_pfns); in tell_host() 275 set_page_pfns(vb, vb->pfns + vb->num_pfns, page); in fill_balloon() 286 tell_host(vb, vb->inflate_vq); in fill_balloon() 324 set_page_pfns(vb, vb->pfns + vb->num_pfns, page); in leak_balloon() 336 tell_host(vb, vb->deflate_vq); in leak_balloon() 866 tell_host(vb, vb->inflate_vq); in virtballoon_migratepage() 870 set_page_pfns(vb, vb->pfns, page); in virtballoon_migratepage() 871 tell_host(vb, vb->deflate_vq); in virtballoon_migratepage() 938 vb->shrinker->private_data = vb; in virtio_balloon_register_shrinker() 1108 leak_balloon(vb, vb->num_pages); in remove_common() [all …]
|
| /drivers/media/common/videobuf2/ |
| A D | videobuf2-core.c | 452 vb->vb2_queue->bufs[vb->index] = NULL; in vb2_queue_remove_buffer() 537 ret = call_vb_qop(vb, buf_init, vb); in __vb2_queue_alloc() 594 if (vb && vb->planes[0].mem_priv) in __vb2_queue_free() 595 call_void_vb_qop(vb, buf_cleanup, vb); in __vb2_queue_free() 663 vb->cnt_mem_alloc, vb->cnt_mem_put); in __vb2_queue_free() 1258 vb, vb->planes); in __prepare_mmap() 1349 ret = call_vb_qop(vb, buf_init, vb); in __prepare_userptr() 1356 ret = call_vb_qop(vb, buf_prepare, vb); in __prepare_userptr() 1506 ret = call_vb_qop(vb, buf_init, vb); in __prepare_dmabuf() 1546 call_void_vb_qop(vb, buf_queue, vb); in __enqueue_in_driver() [all …]
|
| A D | videobuf2-v4l2.c | 396 if (!vb->prepared) { in vb2_queue_or_prepare_buf() 487 b->index = vb->index; in __fill_v4l2_buffer() 488 b->type = vb->type; in __fill_v4l2_buffer() 550 switch (vb->state) { in __fill_v4l2_buffer() 572 vb->synced && vb->prepared) in __fill_v4l2_buffer() 594 vb->timestamp = 0; in __fill_vb2_buffer() 653 struct vb2_buffer *vb; in vb2_querybuf() local 662 if (!vb) { in vb2_querybuf() 735 if (!vb) { in vb2_prepare_buf() 823 if (!vb) { in vb2_qbuf() [all …]
|
| /drivers/media/platform/chips-media/wave5/ |
| A D | wave5-vdi.c | 90 if (!vb || !vb->vaddr) { in wave5_vdi_clear_memory() 95 memset(vb->vaddr, 0, vb->size); in wave5_vdi_clear_memory() 96 return vb->size; in wave5_vdi_clear_memory() 102 if (!vb || !vb->vaddr) { in wave5_vdi_write_memory() 107 if (offset > vb->size || len > vb->size || offset + len > vb->size) { in wave5_vdi_write_memory() 141 if (!vb->vaddr) in wave5_vdi_free_dma_memory() 144 dma_free_coherent(vpu_dev->dev, vb->size, vb->vaddr, vb->daddr); in wave5_vdi_free_dma_memory() 146 memset(vb, 0, sizeof(*vb)); in wave5_vdi_free_dma_memory() 197 __func__, &vb->daddr, vb->size, vb->vaddr); in wave5_vdi_allocate_sram() 204 if (!vb->size || !vb->vaddr) in wave5_vdi_free_sram() [all …]
|
| /drivers/gpio/ |
| A D | gpio-viperboard.c | 69 struct vprbrd *vb; member 86 struct vprbrd *vb = gpio->vb; in vprbrd_gpioa_get() local 107 ret = usb_control_msg(vb->usb_dev, usb_sndctrlpipe(vb->usb_dev, 0), in vprbrd_gpioa_get() 136 struct vprbrd *vb = gpio->vb; in vprbrd_gpioa_set() local 182 struct vprbrd *vb = gpio->vb; in vprbrd_gpioa_direction_input() local 219 struct vprbrd *vb = gpio->vb; in vprbrd_gpioa_direction_output() local 286 struct vprbrd *vb = gpio->vb; in vprbrd_gpiob_get() local 317 struct vprbrd *vb = gpio->vb; in vprbrd_gpiob_set() local 355 struct vprbrd *vb = gpio->vb; in vprbrd_gpiob_direction_input() local 376 struct vprbrd *vb = gpio->vb; in vprbrd_gpiob_direction_output() local [all …]
|
| /drivers/media/usb/go7007/ |
| A D | go7007-driver.c | 383 if (vb && vb->vb.vb2_buf.planes[0].bytesused < GO7007_BUF_SIZE) { in store_byte() 384 u8 *ptr = vb2_plane_vaddr(&vb->vb.vb2_buf, 0); in store_byte() 398 .frame_sequence = vb->vb.sequence, in go7007_set_motion_regions() 456 bytesused = &vb->vb.vb2_buf.planes[0].bytesused; in frame_boundary() 458 vb->vb.sequence = go->next_seq++; in frame_boundary() 464 vb->vb.vb2_buf.timestamp = ktime_get_ns(); in frame_boundary() 518 if (vb && vb->vb.vb2_buf.planes[0].bytesused >= in go7007_parse_video_stream() 521 vb2_set_plane_payload(&vb->vb.vb2_buf, 0, 0); in go7007_parse_video_stream() 598 vb = frame_boundary(go, vb); in go7007_parse_video_stream() 602 vb->vb.vb2_buf.planes[0].bytesused; in go7007_parse_video_stream() [all …]
|
| /drivers/mfd/ |
| A D | viperboard.c | 50 struct vprbrd *vb; in vprbrd_probe() local 56 vb = kzalloc(sizeof(*vb), GFP_KERNEL); in vprbrd_probe() 57 if (!vb) in vprbrd_probe() 60 mutex_init(&vb->lock); in vprbrd_probe() 66 dev_set_drvdata(&vb->pdev.dev, vb); in vprbrd_probe() 74 version = vb->buf[0]; in vprbrd_probe() 87 vb->usb_dev->bus->busnum, vb->usb_dev->devnum); in vprbrd_probe() 99 if (vb) { in vprbrd_probe() 101 kfree(vb); in vprbrd_probe() 113 usb_put_dev(vb->usb_dev); in vprbrd_disconnect() [all …]
|
| /drivers/media/test-drivers/vivid/ |
| A D | vivid-meta-cap.c | 37 static int meta_cap_buf_prepare(struct vb2_buffer *vb) in meta_cap_buf_prepare() argument 52 if (vb2_plane_size(vb, 0) < size) { in meta_cap_buf_prepare() 54 __func__, vb2_plane_size(vb, 0), size); in meta_cap_buf_prepare() 57 vb2_set_plane_payload(vb, 0, size); in meta_cap_buf_prepare() 62 static void meta_cap_buf_queue(struct vb2_buffer *vb) in meta_cap_buf_queue() argument 64 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in meta_cap_buf_queue() 95 vb2_buffer_done(&buf->vb.vb2_buf, in meta_cap_start_streaming() 163 buf->vb.sequence = dev->meta_cap_seq_count; in vivid_meta_cap_fillbuff() 165 buf->vb.sequence /= 2; in vivid_meta_cap_fillbuff() 169 meta->sof = buf->vb.sequence * 30; in vivid_meta_cap_fillbuff() [all …]
|
| A D | vivid-kthread-out.c | 90 vid_out_buf->vb.sequence = dev->vid_out_seq_count; in vivid_thread_vid_out_tick() 96 vid_out_buf->vb.sequence /= 2; in vivid_thread_vid_out_tick() 98 vid_out_buf->vb.vb2_buf.timestamp = in vivid_thread_vid_out_tick() 103 vid_out_buf->vb.vb2_buf.index); in vivid_thread_vid_out_tick() 115 vbi_out_buf->vb.vb2_buf.timestamp = in vivid_thread_vid_out_tick() 120 vbi_out_buf->vb.vb2_buf.index); in vivid_thread_vid_out_tick() 129 meta_out_buf->vb.vb2_buf.timestamp = in vivid_thread_vid_out_tick() 134 meta_out_buf->vb.vb2_buf.index); in vivid_thread_vid_out_tick() 320 buf->vb.vb2_buf.index); in vivid_stop_generating_vid_out() 335 buf->vb.vb2_buf.index); in vivid_stop_generating_vid_out() [all …]
|
| A D | vivid-meta-out.c | 37 static int meta_out_buf_prepare(struct vb2_buffer *vb) in meta_out_buf_prepare() argument 39 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in meta_out_buf_prepare() 52 if (vb2_plane_size(vb, 0) < size) { in meta_out_buf_prepare() 54 __func__, vb2_plane_size(vb, 0), size); in meta_out_buf_prepare() 57 vb2_set_plane_payload(vb, 0, size); in meta_out_buf_prepare() 62 static void meta_out_buf_queue(struct vb2_buffer *vb) in meta_out_buf_queue() argument 64 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in meta_out_buf_queue() 65 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in meta_out_buf_queue() 95 vb2_buffer_done(&buf->vb.vb2_buf, in meta_out_start_streaming() 111 static void meta_out_buf_request_complete(struct vb2_buffer *vb) in meta_out_buf_request_complete() argument [all …]
|
| A D | vivid-vbi-cap.c | 86 u8 *vbuf = vb2_plane_vaddr(&buf->vb.vb2_buf, 0); in vivid_raw_vbi_cap_process() 89 buf->vb.sequence = dev->vbi_cap_seq_count; in vivid_raw_vbi_cap_process() 91 buf->vb.sequence /= 2; in vivid_raw_vbi_cap_process() 93 vivid_sliced_vbi_cap_fill(dev, buf->vb.sequence); in vivid_raw_vbi_cap_process() 106 vb2_plane_vaddr(&buf->vb.vb2_buf, 0); in vivid_sliced_vbi_cap_process() 108 buf->vb.sequence = dev->vbi_cap_seq_count; in vivid_sliced_vbi_cap_process() 110 buf->vb.sequence /= 2; in vivid_sliced_vbi_cap_process() 162 if (vb2_plane_size(vb, 0) < size) { in vbi_cap_buf_prepare() 164 __func__, vb2_plane_size(vb, 0), size); in vbi_cap_buf_prepare() 167 vb2_set_plane_payload(vb, 0, size); in vbi_cap_buf_prepare() [all …]
|
| A D | vivid-vbi-out.c | 39 static int vbi_out_buf_prepare(struct vb2_buffer *vb) in vbi_out_buf_prepare() argument 41 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vbi_out_buf_prepare() 57 if (vb2_plane_size(vb, 0) < size) { in vbi_out_buf_prepare() 59 __func__, vb2_plane_size(vb, 0), size); in vbi_out_buf_prepare() 62 vb2_set_plane_payload(vb, 0, size); in vbi_out_buf_prepare() 67 static void vbi_out_buf_queue(struct vb2_buffer *vb) in vbi_out_buf_queue() argument 69 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in vbi_out_buf_queue() 70 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vbi_out_buf_queue() 98 vb2_buffer_done(&buf->vb.vb2_buf, in vbi_out_start_streaming() 119 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vbi_out_buf_request_complete() [all …]
|
| /drivers/media/pci/intel/ipu6/ |
| A D | ipu6-isys-queue.c | 90 if (size > vb2_plane_size(vb, 0)) in ipu6_isys_buf_prepare() 135 vb2_buffer_done(vb, state); in ipu6_isys_buffer_list_queue() 169 struct vb2_buffer *vb = in flush_firmware_streamon_fail() local 176 av->vdev.name, vb->index); in flush_firmware_streamon_fail() 183 av->vdev.name, vb->index); in flush_firmware_streamon_fail() 489 struct vb2_buffer *vb; in return_buffers() local 497 vb2_buffer_done(vb, state); in return_buffers() 508 struct vb2_buffer *vb; in return_buffers() local 517 vb2_buffer_done(vb, state); in return_buffers() 745 struct vb2_buffer *vb; in ipu6_stream_buf_ready() local [all …]
|
| /drivers/media/usb/au0828/ |
| A D | au0828-vbi.c | 35 static int vbi_buffer_prepare(struct vb2_buffer *vb) in vbi_buffer_prepare() argument 37 struct au0828_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vbi_buffer_prepare() 42 if (vb2_plane_size(vb, 0) < size) { in vbi_buffer_prepare() 44 __func__, vb2_plane_size(vb, 0), size); in vbi_buffer_prepare() 47 vb2_set_plane_payload(vb, 0, size); in vbi_buffer_prepare() 53 vbi_buffer_queue(struct vb2_buffer *vb) in vbi_buffer_queue() argument 55 struct au0828_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vbi_buffer_queue() 56 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in vbi_buffer_queue() 58 container_of(vbuf, struct au0828_buffer, vb); in vbi_buffer_queue() 62 buf->mem = vb2_plane_vaddr(vb, 0); in vbi_buffer_queue() [all …]
|
| /drivers/iio/adc/ |
| A D | viperboard_adc.c | 32 struct vprbrd *vb; member 57 struct vprbrd *vb = adc->vb; in vprbrd_iio_read_raw() local 58 struct vprbrd_adc_msg *admsg = (struct vprbrd_adc_msg *)vb->buf; in vprbrd_iio_read_raw() 62 mutex_lock(&vb->lock); in vprbrd_iio_read_raw() 68 ret = usb_control_msg(vb->usb_dev, in vprbrd_iio_read_raw() 69 usb_sndctrlpipe(vb->usb_dev, 0), VPRBRD_USB_REQUEST_ADC, in vprbrd_iio_read_raw() 77 ret = usb_control_msg(vb->usb_dev, in vprbrd_iio_read_raw() 78 usb_rcvctrlpipe(vb->usb_dev, 0), VPRBRD_USB_REQUEST_ADC, in vprbrd_iio_read_raw() 84 mutex_unlock(&vb->lock); in vprbrd_iio_read_raw() 109 struct vprbrd *vb = dev_get_drvdata(pdev->dev.parent); in vprbrd_adc_probe() local [all …]
|
| /drivers/i2c/busses/ |
| A D | i2c-viperboard.c | 46 ret = usb_control_msg(vb->usb_dev, usb_rcvctrlpipe(vb->usb_dev, 0), in vprbrd_i2c_status() 119 (struct vprbrd_i2c_read_msg *)vb->buf; in vprbrd_i2c_read() 256 ret = usb_bulk_msg(vb->usb_dev, in vprbrd_i2c_write() 257 usb_sndbulkpipe(vb->usb_dev, in vprbrd_i2c_write() 285 mutex_lock(&vb->lock); in vprbrd_i2c_xfer() 300 ret = vprbrd_i2c_read(vb, pmsg); in vprbrd_i2c_xfer() 312 ret = vprbrd_i2c_write(vb, pmsg); in vprbrd_i2c_xfer() 332 mutex_unlock(&vb->lock); in vprbrd_i2c_xfer() 336 mutex_unlock(&vb->lock); in vprbrd_i2c_xfer() 372 vb_i2c->i2c.algo_data = vb; in vprbrd_i2c_probe() [all …]
|
| /drivers/staging/media/ipu7/ |
| A D | ipu7-isys-queue.c | 130 vb2_queue_to_isys_queue(vb->vb2_queue); in ipu7_isys_buffer_list_queue() 142 vb2_buffer_done(vb, state); in ipu7_isys_buffer_list_queue() 176 struct vb2_buffer *vb = in flush_firmware_streamon_fail() local 183 av->vdev.name, vb->index); in flush_firmware_streamon_fail() 190 av->vdev.name, vb->index); in flush_firmware_streamon_fail() 484 struct vb2_buffer *vb; in return_buffers() local 501 vb2_buffer_done(vb, state); in return_buffers() 513 vb2_buffer_done(vb, state); in return_buffers() 735 struct vb2_buffer *vb; in ipu7_isys_queue_buf_ready() local 757 vvb = to_vb2_v4l2_buffer(vb); in ipu7_isys_queue_buf_ready() [all …]
|
| /drivers/media/v4l2-core/ |
| A D | v4l2-compat-ioctl32.c | 408 memset(vb, 0, sizeof(*vb)); in get_v4l2_buffer32() 425 switch (vb->memory) { in get_v4l2_buffer32() 469 switch (vb->memory) { in get_v4l2_buffer32_time32() 497 .index = vb->index, in put_v4l2_buffer32() 498 .type = vb->type, in put_v4l2_buffer32() 500 .flags = vb->flags, in put_v4l2_buffer32() 501 .field = vb->field, in put_v4l2_buffer32() 512 switch (vb->memory) { in put_v4l2_buffer32() 542 .index = vb->index, in put_v4l2_buffer32_time32() 543 .type = vb->type, in put_v4l2_buffer32_time32() [all …]
|
| /drivers/media/usb/em28xx/ |
| A D | em28xx-vbi.c | 44 static int vbi_buffer_prepare(struct vb2_buffer *vb) in vbi_buffer_prepare() argument 46 struct em28xx *dev = vb2_get_drv_priv(vb->vb2_queue); in vbi_buffer_prepare() 52 if (vb2_plane_size(vb, 0) < size) { in vbi_buffer_prepare() 55 __func__, vb2_plane_size(vb, 0), size); in vbi_buffer_prepare() 58 vb2_set_plane_payload(vb, 0, size); in vbi_buffer_prepare() 64 vbi_buffer_queue(struct vb2_buffer *vb) in vbi_buffer_queue() argument 66 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in vbi_buffer_queue() 67 struct em28xx *dev = vb2_get_drv_priv(vb->vb2_queue); in vbi_buffer_queue() 69 container_of(vbuf, struct em28xx_buffer, vb); in vbi_buffer_queue() 73 buf->mem = vb2_plane_vaddr(vb, 0); in vbi_buffer_queue() [all …]
|
| /drivers/media/pci/cx88/ |
| A D | cx88-vbi.c | 108 buf, buf->vb.vb2_buf.index); in cx8800_restart_vbi_queue() 129 static int buffer_prepare(struct vb2_buffer *vb) in buffer_prepare() argument 132 struct cx8800_dev *dev = vb->vb2_queue->drv_priv; in buffer_prepare() 143 if (vb2_plane_size(vb, 0) < size) in buffer_prepare() 145 vb2_set_plane_payload(vb, 0, size); in buffer_prepare() 153 static void buffer_finish(struct vb2_buffer *vb) in buffer_finish() argument 156 struct cx8800_dev *dev = vb->vb2_queue->drv_priv; in buffer_finish() 166 static void buffer_queue(struct vb2_buffer *vb) in buffer_queue() argument 169 struct cx8800_dev *dev = vb->vb2_queue->drv_priv; in buffer_queue() 182 buf, buf->vb.vb2_buf.index); in buffer_queue() [all …]
|
| /drivers/media/platform/rockchip/rga/ |
| A D | rga-buf.c | 74 static int rga_buf_init(struct vb2_buffer *vb) in rga_buf_init() argument 76 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in rga_buf_init() 78 struct rga_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in rga_buf_init() 107 static int rga_buf_prepare(struct vb2_buffer *vb) in rga_buf_prepare() argument 109 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in rga_buf_prepare() 111 struct rga_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in rga_buf_prepare() 122 if (V4L2_TYPE_IS_OUTPUT(vb->vb2_queue->type)) { in rga_buf_prepare() 129 for (i = 0; i < vb->num_planes; i++) { in rga_buf_prepare() 135 vb2_dma_sg_plane_desc(vb, i)); in rga_buf_prepare() 157 static void rga_buf_queue(struct vb2_buffer *vb) in rga_buf_queue() argument [all …]
|
| /drivers/media/usb/uvc/ |
| A D | uvc_queue.c | 108 static int uvc_buffer_prepare(struct vb2_buffer *vb) in uvc_buffer_prepare() argument 114 if (vb->type == V4L2_BUF_TYPE_VIDEO_OUTPUT && in uvc_buffer_prepare() 115 vb2_get_plane_payload(vb, 0) > vb2_plane_size(vb, 0)) { in uvc_buffer_prepare() 126 buf->mem = vb2_plane_vaddr(vb, 0); in uvc_buffer_prepare() 127 buf->length = vb2_plane_size(vb, 0); in uvc_buffer_prepare() 128 if (vb->type != V4L2_BUF_TYPE_VIDEO_OUTPUT) in uvc_buffer_prepare() 131 buf->bytesused = vb2_get_plane_payload(vb, 0); in uvc_buffer_prepare() 136 static void uvc_buffer_queue(struct vb2_buffer *vb) in uvc_buffer_queue() argument 153 vb2_buffer_done(vb, VB2_BUF_STATE_ERROR); in uvc_buffer_queue() 166 if (vb->state == VB2_BUF_STATE_DONE) in uvc_buffer_finish() [all …]
|
| /drivers/media/pci/cx23885/ |
| A D | cx23885-vbi.c | 128 static int buffer_prepare(struct vb2_buffer *vb) in buffer_prepare() argument 131 struct cx23885_dev *dev = vb->vb2_queue->drv_priv; in buffer_prepare() 133 struct cx23885_buffer, vb); in buffer_prepare() 152 static void buffer_finish(struct vb2_buffer *vb) in buffer_finish() argument 156 struct cx23885_buffer, vb); in buffer_finish() 158 cx23885_free_buffer(vb->vb2_queue->drv_priv, buf); in buffer_finish() 182 static void buffer_queue(struct vb2_buffer *vb) in buffer_queue() argument 185 struct cx23885_dev *dev = vb->vb2_queue->drv_priv; in buffer_queue() 187 struct cx23885_buffer, vb); in buffer_queue() 202 buf, buf->vb.vb2_buf.index); in buffer_queue() [all …]
|
| /drivers/media/platform/amlogic/c3/isp/ |
| A D | c3-isp-stats.c | 169 struct vb2_v4l2_buffer *v4l2_buf = to_vb2_v4l2_buffer(vb); in c3_isp_stats_vb2_buf_queue() 171 container_of(v4l2_buf, struct c3_isp_stats_buffer, vb); in c3_isp_stats_vb2_buf_queue() 184 if (vb2_plane_size(vb, 0) < size) { in c3_isp_stats_vb2_buf_prepare() 187 vb2_plane_size(vb, 0), size); in c3_isp_stats_vb2_buf_prepare() 191 vb2_set_plane_payload(vb, 0, size); in c3_isp_stats_vb2_buf_prepare() 200 container_of(v4l2_buf, struct c3_isp_stats_buffer, vb); in c3_isp_stats_vb2_buf_init() 202 buf->dma_addr = vb2_dma_contig_plane_dma_addr(vb, 0); in c3_isp_stats_vb2_buf_init() 224 vb2_buffer_done(&buff->vb.vb2_buf, VB2_BUF_STATE_ERROR); in c3_isp_stats_vb2_stop_streaming() 319 stats->buff->vb.sequence = stats->isp->frm_sequence; in c3_isp_stats_isr() 320 stats->buff->vb.vb2_buf.timestamp = ktime_get(); in c3_isp_stats_isr() [all …]
|
| /drivers/media/dvb-core/ |
| A D | dvb_vb2.c | 50 static int _buffer_prepare(struct vb2_buffer *vb) in _buffer_prepare() argument 55 if (vb2_plane_size(vb, 0) < size) { in _buffer_prepare() 57 ctx->name, vb2_plane_size(vb, 0), size); in _buffer_prepare() 61 vb2_set_plane_payload(vb, 0, size); in _buffer_prepare() 67 static void _buffer_queue(struct vb2_buffer *vb) in _buffer_queue() argument 70 struct dvb_buffer *buf = container_of(vb, struct dvb_buffer, vb); in _buffer_queue() 138 b->index = vb->index; in _fill_dmx_buffer() 139 b->length = vb->planes[0].length; in _fill_dmx_buffer() 140 b->bytesused = vb->planes[0].bytesused; in _fill_dmx_buffer() 141 b->offset = vb->planes[0].m.offset; in _fill_dmx_buffer() [all …]
|