vbuf 880 arch/powerpc/kernel/traps.c u8 vbuf[16], *vdst; vbuf 940 arch/powerpc/kernel/traps.c rc = __copy_from_user_inatomic(vbuf, addr, 16); vbuf 942 arch/powerpc/kernel/traps.c __get_user_atomic_128_aligned(vbuf, addr, rc); vbuf 1011 arch/powerpc/kernel/traps.c ((u32 *)vdst)[i] = ((u32 *)vbuf)[3-i]; vbuf 1015 arch/powerpc/kernel/traps.c ((u16 *)vdst)[i] = ((u16 *)vbuf)[7-i]; vbuf 1019 arch/powerpc/kernel/traps.c ((u64 *)vdst)[i] = ((u64 *)vbuf)[1-i]; vbuf 1023 arch/powerpc/kernel/traps.c vdst[i] = vbuf[15-i]; vbuf 1035 arch/powerpc/kernel/traps.c ((u32 *)vdst)[i] = cpu_to_le32(((u32 *)vbuf)[i]); vbuf 1039 arch/powerpc/kernel/traps.c ((u16 *)vdst)[i] = cpu_to_le16(((u16 *)vbuf)[i]); vbuf 1043 arch/powerpc/kernel/traps.c ((u64 *)vdst)[i] = cpu_to_le64(((u64 *)vbuf)[i]); vbuf 1046 arch/powerpc/kernel/traps.c memcpy(vdst, vbuf, 16); vbuf 91 drivers/gpu/drm/virtio/virtgpu_drv.h struct virtio_gpu_vbuffer *vbuf); vbuf 81 drivers/gpu/drm/virtio/virtgpu_vq.c struct virtio_gpu_vbuffer *vbuf; vbuf 83 drivers/gpu/drm/virtio/virtgpu_vq.c vbuf = kmem_cache_zalloc(vgdev->vbufs, GFP_KERNEL); vbuf 84 drivers/gpu/drm/virtio/virtgpu_vq.c if (!vbuf) vbuf 88 drivers/gpu/drm/virtio/virtgpu_vq.c vbuf->buf = (void *)vbuf + sizeof(*vbuf); vbuf 89 drivers/gpu/drm/virtio/virtgpu_vq.c vbuf->size = size; vbuf 91 drivers/gpu/drm/virtio/virtgpu_vq.c vbuf->resp_cb = resp_cb; vbuf 92 drivers/gpu/drm/virtio/virtgpu_vq.c vbuf->resp_size = resp_size; vbuf 94 drivers/gpu/drm/virtio/virtgpu_vq.c vbuf->resp_buf = (void *)vbuf->buf + size; vbuf 96 drivers/gpu/drm/virtio/virtgpu_vq.c vbuf->resp_buf = resp_buf; vbuf 97 drivers/gpu/drm/virtio/virtgpu_vq.c BUG_ON(!vbuf->resp_buf); vbuf 98 drivers/gpu/drm/virtio/virtgpu_vq.c return vbuf; vbuf 105 drivers/gpu/drm/virtio/virtgpu_vq.c struct virtio_gpu_vbuffer *vbuf; vbuf 107 drivers/gpu/drm/virtio/virtgpu_vq.c vbuf = virtio_gpu_get_vbuf(vgdev, size, vbuf 110 drivers/gpu/drm/virtio/virtgpu_vq.c if (IS_ERR(vbuf)) { vbuf 112 drivers/gpu/drm/virtio/virtgpu_vq.c return ERR_CAST(vbuf); vbuf 114 drivers/gpu/drm/virtio/virtgpu_vq.c *vbuffer_p = vbuf; vbuf 115 drivers/gpu/drm/virtio/virtgpu_vq.c return vbuf->buf; vbuf 122 drivers/gpu/drm/virtio/virtgpu_vq.c struct virtio_gpu_vbuffer *vbuf; vbuf 124 drivers/gpu/drm/virtio/virtgpu_vq.c vbuf = virtio_gpu_get_vbuf vbuf 127 drivers/gpu/drm/virtio/virtgpu_vq.c if (IS_ERR(vbuf)) { vbuf 129 drivers/gpu/drm/virtio/virtgpu_vq.c return ERR_CAST(vbuf); vbuf 131 drivers/gpu/drm/virtio/virtgpu_vq.c *vbuffer_p = vbuf; vbuf 132 drivers/gpu/drm/virtio/virtgpu_vq.c return (struct virtio_gpu_update_cursor *)vbuf->buf; vbuf 141 drivers/gpu/drm/virtio/virtgpu_vq.c struct virtio_gpu_vbuffer *vbuf; vbuf 143 drivers/gpu/drm/virtio/virtgpu_vq.c vbuf = virtio_gpu_get_vbuf(vgdev, cmd_size, vbuf 145 drivers/gpu/drm/virtio/virtgpu_vq.c if (IS_ERR(vbuf)) { vbuf 147 drivers/gpu/drm/virtio/virtgpu_vq.c return ERR_CAST(vbuf); vbuf 149 drivers/gpu/drm/virtio/virtgpu_vq.c *vbuffer_p = vbuf; vbuf 150 drivers/gpu/drm/virtio/virtgpu_vq.c return (struct virtio_gpu_command *)vbuf->buf; vbuf 154 drivers/gpu/drm/virtio/virtgpu_vq.c struct virtio_gpu_vbuffer *vbuf) vbuf 156 drivers/gpu/drm/virtio/virtgpu_vq.c if (vbuf->resp_size > MAX_INLINE_RESP_SIZE) vbuf 157 drivers/gpu/drm/virtio/virtgpu_vq.c kfree(vbuf->resp_buf); vbuf 158 drivers/gpu/drm/virtio/virtgpu_vq.c kfree(vbuf->data_buf); vbuf 159 drivers/gpu/drm/virtio/virtgpu_vq.c kmem_cache_free(vgdev->vbufs, vbuf); vbuf 164 drivers/gpu/drm/virtio/virtgpu_vq.c struct virtio_gpu_vbuffer *vbuf; vbuf 168 drivers/gpu/drm/virtio/virtgpu_vq.c while ((vbuf = virtqueue_get_buf(vq, &len))) { vbuf 169 drivers/gpu/drm/virtio/virtgpu_vq.c list_add_tail(&vbuf->list, reclaim_list); vbuf 256 drivers/gpu/drm/virtio/virtgpu_vq.c struct virtio_gpu_vbuffer *vbuf) vbuf 268 drivers/gpu/drm/virtio/virtgpu_vq.c sg_init_one(&vcmd, vbuf->buf, vbuf->size); vbuf 272 drivers/gpu/drm/virtio/virtgpu_vq.c if (vbuf->data_size) { vbuf 273 drivers/gpu/drm/virtio/virtgpu_vq.c sg_init_one(&vout, vbuf->data_buf, vbuf->data_size); vbuf 278 drivers/gpu/drm/virtio/virtgpu_vq.c if (vbuf->resp_size) { vbuf 279 drivers/gpu/drm/virtio/virtgpu_vq.c sg_init_one(&vresp, vbuf->resp_buf, vbuf->resp_size); vbuf 285 drivers/gpu/drm/virtio/virtgpu_vq.c ret = virtqueue_add_sgs(vq, sgs, outcnt, incnt, vbuf, GFP_ATOMIC); vbuf 293 drivers/gpu/drm/virtio/virtgpu_vq.c (struct virtio_gpu_ctrl_hdr *)vbuf->buf); vbuf 304 drivers/gpu/drm/virtio/virtgpu_vq.c struct virtio_gpu_vbuffer *vbuf) vbuf 309 drivers/gpu/drm/virtio/virtgpu_vq.c rc = virtio_gpu_queue_ctrl_buffer_locked(vgdev, vbuf); vbuf 315 drivers/gpu/drm/virtio/virtgpu_vq.c struct virtio_gpu_vbuffer *vbuf, vbuf 341 drivers/gpu/drm/virtio/virtgpu_vq.c rc = virtio_gpu_queue_ctrl_buffer_locked(vgdev, vbuf); vbuf 347 drivers/gpu/drm/virtio/virtgpu_vq.c struct virtio_gpu_vbuffer *vbuf) vbuf 357 drivers/gpu/drm/virtio/virtgpu_vq.c sg_init_one(&ccmd, vbuf->buf, vbuf->size); vbuf 363 drivers/gpu/drm/virtio/virtgpu_vq.c ret = virtqueue_add_sgs(vq, sgs, outcnt, 0, vbuf, GFP_ATOMIC); vbuf 371 drivers/gpu/drm/virtio/virtgpu_vq.c (struct virtio_gpu_ctrl_hdr *)vbuf->buf); vbuf 394 drivers/gpu/drm/virtio/virtgpu_vq.c struct virtio_gpu_vbuffer *vbuf; vbuf 396 drivers/gpu/drm/virtio/virtgpu_vq.c cmd_p = virtio_gpu_alloc_cmd(vgdev, &vbuf, sizeof(*cmd_p)); vbuf 405 drivers/gpu/drm/virtio/virtgpu_vq.c virtio_gpu_queue_fenced_ctrl_buffer(vgdev, vbuf, &cmd_p->hdr, fence); vbuf 413 drivers/gpu/drm/virtio/virtgpu_vq.c struct virtio_gpu_vbuffer *vbuf; vbuf 415 drivers/gpu/drm/virtio/virtgpu_vq.c cmd_p = virtio_gpu_alloc_cmd(vgdev, &vbuf, sizeof(*cmd_p)); vbuf 421 drivers/gpu/drm/virtio/virtgpu_vq.c virtio_gpu_queue_ctrl_buffer(vgdev, vbuf); vbuf 429 drivers/gpu/drm/virtio/virtgpu_vq.c struct virtio_gpu_vbuffer *vbuf; vbuf 431 drivers/gpu/drm/virtio/virtgpu_vq.c cmd_p = virtio_gpu_alloc_cmd(vgdev, &vbuf, sizeof(*cmd_p)); vbuf 437 drivers/gpu/drm/virtio/virtgpu_vq.c virtio_gpu_queue_fenced_ctrl_buffer(vgdev, vbuf, &cmd_p->hdr, fence); vbuf 446 drivers/gpu/drm/virtio/virtgpu_vq.c struct virtio_gpu_vbuffer *vbuf; vbuf 448 drivers/gpu/drm/virtio/virtgpu_vq.c cmd_p = virtio_gpu_alloc_cmd(vgdev, &vbuf, sizeof(*cmd_p)); vbuf 459 drivers/gpu/drm/virtio/virtgpu_vq.c virtio_gpu_queue_ctrl_buffer(vgdev, vbuf); vbuf 468 drivers/gpu/drm/virtio/virtgpu_vq.c struct virtio_gpu_vbuffer *vbuf; vbuf 470 drivers/gpu/drm/virtio/virtgpu_vq.c cmd_p = virtio_gpu_alloc_cmd(vgdev, &vbuf, sizeof(*cmd_p)); vbuf 480 drivers/gpu/drm/virtio/virtgpu_vq.c virtio_gpu_queue_ctrl_buffer(vgdev, vbuf); vbuf 491 drivers/gpu/drm/virtio/virtgpu_vq.c struct virtio_gpu_vbuffer *vbuf; vbuf 499 drivers/gpu/drm/virtio/virtgpu_vq.c cmd_p = virtio_gpu_alloc_cmd(vgdev, &vbuf, sizeof(*cmd_p)); vbuf 510 drivers/gpu/drm/virtio/virtgpu_vq.c virtio_gpu_queue_fenced_ctrl_buffer(vgdev, vbuf, &cmd_p->hdr, fence); vbuf 521 drivers/gpu/drm/virtio/virtgpu_vq.c struct virtio_gpu_vbuffer *vbuf; vbuf 523 drivers/gpu/drm/virtio/virtgpu_vq.c cmd_p = virtio_gpu_alloc_cmd(vgdev, &vbuf, sizeof(*cmd_p)); vbuf 530 drivers/gpu/drm/virtio/virtgpu_vq.c vbuf->data_buf = ents; vbuf 531 drivers/gpu/drm/virtio/virtgpu_vq.c vbuf->data_size = sizeof(*ents) * nents; vbuf 533 drivers/gpu/drm/virtio/virtgpu_vq.c virtio_gpu_queue_fenced_ctrl_buffer(vgdev, vbuf, &cmd_p->hdr, fence); vbuf 537 drivers/gpu/drm/virtio/virtgpu_vq.c struct virtio_gpu_vbuffer *vbuf) vbuf 540 drivers/gpu/drm/virtio/virtgpu_vq.c (struct virtio_gpu_resp_display_info *)vbuf->resp_buf; vbuf 566 drivers/gpu/drm/virtio/virtgpu_vq.c struct virtio_gpu_vbuffer *vbuf) vbuf 569 drivers/gpu/drm/virtio/virtgpu_vq.c (struct virtio_gpu_get_capset_info *)vbuf->buf; vbuf 571 drivers/gpu/drm/virtio/virtgpu_vq.c (struct virtio_gpu_resp_capset_info *)vbuf->resp_buf; vbuf 583 drivers/gpu/drm/virtio/virtgpu_vq.c struct virtio_gpu_vbuffer *vbuf) vbuf 586 drivers/gpu/drm/virtio/virtgpu_vq.c (struct virtio_gpu_get_capset *)vbuf->buf; vbuf 588 drivers/gpu/drm/virtio/virtgpu_vq.c (struct virtio_gpu_resp_capset *)vbuf->resp_buf; vbuf 620 drivers/gpu/drm/virtio/virtgpu_vq.c struct virtio_gpu_vbuffer *vbuf) vbuf 623 drivers/gpu/drm/virtio/virtgpu_vq.c (struct virtio_gpu_cmd_get_edid *)vbuf->buf; vbuf 625 drivers/gpu/drm/virtio/virtgpu_vq.c (struct virtio_gpu_resp_edid *)vbuf->resp_buf; vbuf 649 drivers/gpu/drm/virtio/virtgpu_vq.c struct virtio_gpu_vbuffer *vbuf; vbuf 658 drivers/gpu/drm/virtio/virtgpu_vq.c (vgdev, &virtio_gpu_cmd_get_display_info_cb, &vbuf, vbuf 665 drivers/gpu/drm/virtio/virtgpu_vq.c virtio_gpu_queue_ctrl_buffer(vgdev, vbuf); vbuf 672 drivers/gpu/drm/virtio/virtgpu_vq.c struct virtio_gpu_vbuffer *vbuf; vbuf 681 drivers/gpu/drm/virtio/virtgpu_vq.c (vgdev, &virtio_gpu_cmd_get_capset_info_cb, &vbuf, vbuf 688 drivers/gpu/drm/virtio/virtgpu_vq.c virtio_gpu_queue_ctrl_buffer(vgdev, vbuf); vbuf 697 drivers/gpu/drm/virtio/virtgpu_vq.c struct virtio_gpu_vbuffer *vbuf; vbuf 756 drivers/gpu/drm/virtio/virtgpu_vq.c (vgdev, &virtio_gpu_cmd_capset_cb, &vbuf, sizeof(*cmd_p), vbuf 763 drivers/gpu/drm/virtio/virtgpu_vq.c virtio_gpu_queue_ctrl_buffer(vgdev, vbuf); vbuf 771 drivers/gpu/drm/virtio/virtgpu_vq.c struct virtio_gpu_vbuffer *vbuf; vbuf 785 drivers/gpu/drm/virtio/virtgpu_vq.c (vgdev, &virtio_gpu_cmd_get_edid_cb, &vbuf, vbuf 790 drivers/gpu/drm/virtio/virtgpu_vq.c virtio_gpu_queue_ctrl_buffer(vgdev, vbuf); vbuf 800 drivers/gpu/drm/virtio/virtgpu_vq.c struct virtio_gpu_vbuffer *vbuf; vbuf 802 drivers/gpu/drm/virtio/virtgpu_vq.c cmd_p = virtio_gpu_alloc_cmd(vgdev, &vbuf, sizeof(*cmd_p)); vbuf 810 drivers/gpu/drm/virtio/virtgpu_vq.c virtio_gpu_queue_ctrl_buffer(vgdev, vbuf); vbuf 817 drivers/gpu/drm/virtio/virtgpu_vq.c struct virtio_gpu_vbuffer *vbuf; vbuf 819 drivers/gpu/drm/virtio/virtgpu_vq.c cmd_p = virtio_gpu_alloc_cmd(vgdev, &vbuf, sizeof(*cmd_p)); vbuf 824 drivers/gpu/drm/virtio/virtgpu_vq.c virtio_gpu_queue_ctrl_buffer(vgdev, vbuf); vbuf 832 drivers/gpu/drm/virtio/virtgpu_vq.c struct virtio_gpu_vbuffer *vbuf; vbuf 834 drivers/gpu/drm/virtio/virtgpu_vq.c cmd_p = virtio_gpu_alloc_cmd(vgdev, &vbuf, sizeof(*cmd_p)); vbuf 840 drivers/gpu/drm/virtio/virtgpu_vq.c virtio_gpu_queue_ctrl_buffer(vgdev, vbuf); vbuf 849 drivers/gpu/drm/virtio/virtgpu_vq.c struct virtio_gpu_vbuffer *vbuf; vbuf 851 drivers/gpu/drm/virtio/virtgpu_vq.c cmd_p = virtio_gpu_alloc_cmd(vgdev, &vbuf, sizeof(*cmd_p)); vbuf 857 drivers/gpu/drm/virtio/virtgpu_vq.c virtio_gpu_queue_ctrl_buffer(vgdev, vbuf); vbuf 867 drivers/gpu/drm/virtio/virtgpu_vq.c struct virtio_gpu_vbuffer *vbuf; vbuf 869 drivers/gpu/drm/virtio/virtgpu_vq.c cmd_p = virtio_gpu_alloc_cmd(vgdev, &vbuf, sizeof(*cmd_p)); vbuf 886 drivers/gpu/drm/virtio/virtgpu_vq.c virtio_gpu_queue_fenced_ctrl_buffer(vgdev, vbuf, &cmd_p->hdr, fence); vbuf 898 drivers/gpu/drm/virtio/virtgpu_vq.c struct virtio_gpu_vbuffer *vbuf; vbuf 906 drivers/gpu/drm/virtio/virtgpu_vq.c cmd_p = virtio_gpu_alloc_cmd(vgdev, &vbuf, sizeof(*cmd_p)); vbuf 916 drivers/gpu/drm/virtio/virtgpu_vq.c virtio_gpu_queue_fenced_ctrl_buffer(vgdev, vbuf, &cmd_p->hdr, fence); vbuf 926 drivers/gpu/drm/virtio/virtgpu_vq.c struct virtio_gpu_vbuffer *vbuf; vbuf 928 drivers/gpu/drm/virtio/virtgpu_vq.c cmd_p = virtio_gpu_alloc_cmd(vgdev, &vbuf, sizeof(*cmd_p)); vbuf 938 drivers/gpu/drm/virtio/virtgpu_vq.c virtio_gpu_queue_fenced_ctrl_buffer(vgdev, vbuf, &cmd_p->hdr, fence); vbuf 946 drivers/gpu/drm/virtio/virtgpu_vq.c struct virtio_gpu_vbuffer *vbuf; vbuf 948 drivers/gpu/drm/virtio/virtgpu_vq.c cmd_p = virtio_gpu_alloc_cmd(vgdev, &vbuf, sizeof(*cmd_p)); vbuf 951 drivers/gpu/drm/virtio/virtgpu_vq.c vbuf->data_buf = data; vbuf 952 drivers/gpu/drm/virtio/virtgpu_vq.c vbuf->data_size = data_size; vbuf 958 drivers/gpu/drm/virtio/virtgpu_vq.c virtio_gpu_queue_fenced_ctrl_buffer(vgdev, vbuf, &cmd_p->hdr, fence); vbuf 1037 drivers/gpu/drm/virtio/virtgpu_vq.c struct virtio_gpu_vbuffer *vbuf; vbuf 1041 drivers/gpu/drm/virtio/virtgpu_vq.c cur_p = virtio_gpu_alloc_cursor(vgdev, &vbuf); vbuf 1043 drivers/gpu/drm/virtio/virtgpu_vq.c virtio_gpu_queue_cursor(vgdev, vbuf); vbuf 2131 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c u8 *basep[TPG_MAX_PLANES][2], unsigned p, u8 *vbuf) vbuf 2138 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c basep[p][0] = vbuf; vbuf 2139 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c basep[p][1] = vbuf; vbuf 2146 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg_calc_text_basep(tpg, basep, 1, vbuf); vbuf 2284 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c unsigned p, unsigned h, u8 *vbuf) vbuf 2301 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c memcpy(vbuf, wss, params->wss_width); vbuf 2312 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c memcpy(vbuf + left, tpg->contrast_line[p], vbuf 2317 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c memcpy(vbuf + left, vbuf 2321 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c memcpy(vbuf + right - twopixsize, vbuf 2327 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c memcpy(vbuf, tpg->black_line[p], params->left_pillar_width); vbuf 2328 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c memcpy(vbuf + params->right_pillar_start, tpg->black_line[p], vbuf 2347 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c memcpy(vbuf + left, tpg->contrast_line[p], width); vbuf 2351 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c u8 *p = vbuf + offset; vbuf 2366 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c u8 *p = vbuf + offset; vbuf 2383 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c unsigned p, unsigned h, u8 *vbuf) vbuf 2501 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c memcpy(vbuf, linestart_top, img_width); vbuf 2503 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c memcpy(vbuf, linestart_bottom, img_width); vbuf 2507 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c memcpy(vbuf, linestart_bottom, img_width); vbuf 2509 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c memcpy(vbuf, linestart_top, img_width); vbuf 2512 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c memcpy(vbuf, linestart_top, img_width); vbuf 2515 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c memcpy(vbuf, linestart_bottom, img_width); vbuf 2519 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c memcpy(vbuf, linestart_older, img_width); vbuf 2525 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c unsigned p, u8 *vbuf) vbuf 2549 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c vbuf += tpg_hdiv(tpg, p, tpg->compose.left); vbuf 2601 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c vbuf + buf_line * params.stride); vbuf 2603 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c vbuf + buf_line * params.stride); vbuf 2608 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c void tpg_fillbuffer(struct tpg_data *tpg, v4l2_std_id std, unsigned p, u8 *vbuf) vbuf 2614 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg_fill_plane_buffer(tpg, std, p, vbuf); vbuf 2619 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg_fill_plane_buffer(tpg, std, i, vbuf + offset); vbuf 129 drivers/media/common/videobuf2/videobuf2-v4l2.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 131 drivers/media/common/videobuf2/videobuf2-v4l2.c vbuf->request_fd = -1; vbuf 137 drivers/media/common/videobuf2/videobuf2-v4l2.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 147 drivers/media/common/videobuf2/videobuf2-v4l2.c vbuf->flags |= b->flags & V4L2_BUF_FLAG_TIMECODE; vbuf 149 drivers/media/common/videobuf2/videobuf2-v4l2.c vbuf->timecode = b->timecode; vbuf 172 drivers/media/common/videobuf2/videobuf2-v4l2.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 173 drivers/media/common/videobuf2/videobuf2-v4l2.c struct vb2_plane *planes = vbuf->planes; vbuf 195 drivers/media/common/videobuf2/videobuf2-v4l2.c vbuf->sequence = 0; vbuf 196 drivers/media/common/videobuf2/videobuf2-v4l2.c vbuf->request_fd = -1; vbuf 305 drivers/media/common/videobuf2/videobuf2-v4l2.c vbuf->flags = b->flags & ~V4L2_BUFFER_MASK_FLAGS; vbuf 312 drivers/media/common/videobuf2/videobuf2-v4l2.c vbuf->flags &= ~V4L2_BUF_FLAG_TSTAMP_SRC_MASK; vbuf 322 drivers/media/common/videobuf2/videobuf2-v4l2.c vbuf->flags &= ~V4L2_BUF_FLAG_TIMECODE; vbuf 323 drivers/media/common/videobuf2/videobuf2-v4l2.c vbuf->field = b->field; vbuf 326 drivers/media/common/videobuf2/videobuf2-v4l2.c vbuf->flags &= ~V4L2_BUFFER_OUT_FLAGS; vbuf 328 drivers/media/common/videobuf2/videobuf2-v4l2.c vbuf->flags &= ~V4L2_BUF_FLAG_LAST; vbuf 340 drivers/media/common/videobuf2/videobuf2-v4l2.c struct vb2_v4l2_buffer *vbuf; vbuf 366 drivers/media/common/videobuf2/videobuf2-v4l2.c vbuf = to_vb2_v4l2_buffer(vb); vbuf 379 drivers/media/common/videobuf2/videobuf2-v4l2.c memset(vbuf->planes, 0, vbuf 380 drivers/media/common/videobuf2/videobuf2-v4l2.c sizeof(vbuf->planes[0]) * vb->num_planes); vbuf 455 drivers/media/common/videobuf2/videobuf2-v4l2.c vbuf->request_fd = b->request_fd; vbuf 467 drivers/media/common/videobuf2/videobuf2-v4l2.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 477 drivers/media/common/videobuf2/videobuf2-v4l2.c b->flags = vbuf->flags; vbuf 478 drivers/media/common/videobuf2/videobuf2-v4l2.c b->field = vbuf->field; vbuf 480 drivers/media/common/videobuf2/videobuf2-v4l2.c b->timecode = vbuf->timecode; vbuf 481 drivers/media/common/videobuf2/videobuf2-v4l2.c b->sequence = vbuf->sequence; vbuf 562 drivers/media/common/videobuf2/videobuf2-v4l2.c if (vbuf->request_fd >= 0) { vbuf 564 drivers/media/common/videobuf2/videobuf2-v4l2.c b->request_fd = vbuf->request_fd; vbuf 575 drivers/media/common/videobuf2/videobuf2-v4l2.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 583 drivers/media/common/videobuf2/videobuf2-v4l2.c planes[plane].m = vbuf->planes[plane].m; vbuf 584 drivers/media/common/videobuf2/videobuf2-v4l2.c planes[plane].length = vbuf->planes[plane].length; vbuf 586 drivers/media/common/videobuf2/videobuf2-v4l2.c planes[plane].bytesused = vbuf->planes[plane].bytesused; vbuf 587 drivers/media/common/videobuf2/videobuf2-v4l2.c planes[plane].data_offset = vbuf->planes[plane].data_offset; vbuf 262 drivers/media/dvb-core/dvb_vb2.c void *vbuf = NULL; vbuf 301 drivers/media/dvb-core/dvb_vb2.c vbuf = vb2_plane_vaddr(&ctx->buf->vb, 0); vbuf 302 drivers/media/dvb-core/dvb_vb2.c memcpy(vbuf + ctx->offset, psrc, ll); vbuf 464 drivers/media/dvb-frontends/rtl2832_sdr.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 467 drivers/media/dvb-frontends/rtl2832_sdr.c container_of(vbuf, struct rtl2832_sdr_frame_buf, vb); vbuf 418 drivers/media/i2c/video-i2c.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 425 drivers/media/i2c/video-i2c.c vbuf->field = V4L2_FIELD_NONE; vbuf 433 drivers/media/i2c/video-i2c.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 436 drivers/media/i2c/video-i2c.c container_of(vbuf, struct video_i2c_buffer, vb); vbuf 470 drivers/media/i2c/video-i2c.c void *vbuf = vb2_plane_vaddr(vb2_buf, 0); vbuf 473 drivers/media/i2c/video-i2c.c ret = data->chip->xfer(data, vbuf); vbuf 98 drivers/media/pci/cobalt/cobalt-v4l2.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 102 drivers/media/pci/cobalt/cobalt-v4l2.c vbuf->field = V4L2_FIELD_NONE; vbuf 124 drivers/media/pci/cobalt/cobalt-v4l2.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 127 drivers/media/pci/cobalt/cobalt-v4l2.c struct cobalt_buffer *cb = to_cobalt_buffer(vbuf); vbuf 1139 drivers/media/pci/cx23885/cx23885-417.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 1142 drivers/media/pci/cx23885/cx23885-417.c container_of(vbuf, struct cx23885_buffer, vb); vbuf 1149 drivers/media/pci/cx23885/cx23885-417.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 1151 drivers/media/pci/cx23885/cx23885-417.c struct cx23885_buffer *buf = container_of(vbuf, vbuf 1159 drivers/media/pci/cx23885/cx23885-417.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 1161 drivers/media/pci/cx23885/cx23885-417.c struct cx23885_buffer *buf = container_of(vbuf, vbuf 105 drivers/media/pci/cx23885/cx23885-dvb.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 108 drivers/media/pci/cx23885/cx23885-dvb.c container_of(vbuf, struct cx23885_buffer, vb); vbuf 115 drivers/media/pci/cx23885/cx23885-dvb.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 118 drivers/media/pci/cx23885/cx23885-dvb.c struct cx23885_buffer *buf = container_of(vbuf, vbuf 126 drivers/media/pci/cx23885/cx23885-dvb.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 128 drivers/media/pci/cx23885/cx23885-dvb.c struct cx23885_buffer *buf = container_of(vbuf, vbuf 130 drivers/media/pci/cx23885/cx23885-vbi.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 132 drivers/media/pci/cx23885/cx23885-vbi.c struct cx23885_buffer *buf = container_of(vbuf, vbuf 154 drivers/media/pci/cx23885/cx23885-vbi.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 155 drivers/media/pci/cx23885/cx23885-vbi.c struct cx23885_buffer *buf = container_of(vbuf, vbuf 184 drivers/media/pci/cx23885/cx23885-vbi.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 186 drivers/media/pci/cx23885/cx23885-vbi.c struct cx23885_buffer *buf = container_of(vbuf, vbuf 342 drivers/media/pci/cx23885/cx23885-video.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 345 drivers/media/pci/cx23885/cx23885-video.c container_of(vbuf, struct cx23885_buffer, vb); vbuf 423 drivers/media/pci/cx23885/cx23885-video.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 424 drivers/media/pci/cx23885/cx23885-video.c struct cx23885_buffer *buf = container_of(vbuf, vbuf 453 drivers/media/pci/cx23885/cx23885-video.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 455 drivers/media/pci/cx23885/cx23885-video.c struct cx23885_buffer *buf = container_of(vbuf, vbuf 144 drivers/media/pci/cx25821/cx25821-video.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 148 drivers/media/pci/cx25821/cx25821-video.c container_of(vbuf, struct cx25821_buffer, vb); vbuf 226 drivers/media/pci/cx25821/cx25821-video.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 228 drivers/media/pci/cx25821/cx25821-video.c container_of(vbuf, struct cx25821_buffer, vb); vbuf 237 drivers/media/pci/cx25821/cx25821-video.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 239 drivers/media/pci/cx25821/cx25821-video.c container_of(vbuf, struct cx25821_buffer, vb); vbuf 673 drivers/media/pci/cx88/cx88-blackbird.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 675 drivers/media/pci/cx88/cx88-blackbird.c struct cx88_buffer *buf = container_of(vbuf, struct cx88_buffer, vb); vbuf 682 drivers/media/pci/cx88/cx88-blackbird.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 684 drivers/media/pci/cx88/cx88-blackbird.c struct cx88_buffer *buf = container_of(vbuf, struct cx88_buffer, vb); vbuf 694 drivers/media/pci/cx88/cx88-blackbird.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 696 drivers/media/pci/cx88/cx88-blackbird.c struct cx88_buffer *buf = container_of(vbuf, struct cx88_buffer, vb); vbuf 91 drivers/media/pci/cx88/cx88-dvb.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 93 drivers/media/pci/cx88/cx88-dvb.c struct cx88_buffer *buf = container_of(vbuf, struct cx88_buffer, vb); vbuf 100 drivers/media/pci/cx88/cx88-dvb.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 102 drivers/media/pci/cx88/cx88-dvb.c struct cx88_buffer *buf = container_of(vbuf, struct cx88_buffer, vb); vbuf 112 drivers/media/pci/cx88/cx88-dvb.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 114 drivers/media/pci/cx88/cx88-dvb.c struct cx88_buffer *buf = container_of(vbuf, struct cx88_buffer, vb); vbuf 131 drivers/media/pci/cx88/cx88-vbi.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 133 drivers/media/pci/cx88/cx88-vbi.c struct cx88_buffer *buf = container_of(vbuf, struct cx88_buffer, vb); vbuf 156 drivers/media/pci/cx88/cx88-vbi.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 158 drivers/media/pci/cx88/cx88-vbi.c struct cx88_buffer *buf = container_of(vbuf, struct cx88_buffer, vb); vbuf 168 drivers/media/pci/cx88/cx88-vbi.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 170 drivers/media/pci/cx88/cx88-vbi.c struct cx88_buffer *buf = container_of(vbuf, struct cx88_buffer, vb); vbuf 436 drivers/media/pci/cx88/cx88-video.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 439 drivers/media/pci/cx88/cx88-video.c struct cx88_buffer *buf = container_of(vbuf, struct cx88_buffer, vb); vbuf 491 drivers/media/pci/cx88/cx88-video.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 493 drivers/media/pci/cx88/cx88-video.c struct cx88_buffer *buf = container_of(vbuf, struct cx88_buffer, vb); vbuf 503 drivers/media/pci/cx88/cx88-video.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 505 drivers/media/pci/cx88/cx88-video.c struct cx88_buffer *buf = container_of(vbuf, struct cx88_buffer, vb); vbuf 285 drivers/media/pci/ddbridge/ddbridge-core.c if (dma->vbuf[i]) { vbuf 291 drivers/media/pci/ddbridge/ddbridge-core.c kfree(dma->vbuf[i]); vbuf 292 drivers/media/pci/ddbridge/ddbridge-core.c dma->vbuf[i] = NULL; vbuf 295 drivers/media/pci/ddbridge/ddbridge-core.c dma->vbuf[i], dma->pbuf[i]); vbuf 298 drivers/media/pci/ddbridge/ddbridge-core.c dma->vbuf[i] = NULL; vbuf 311 drivers/media/pci/ddbridge/ddbridge-core.c dma->vbuf[i] = kmalloc(dma->size, __GFP_RETRY_MAYFAIL); vbuf 312 drivers/media/pci/ddbridge/ddbridge-core.c if (!dma->vbuf[i]) vbuf 315 drivers/media/pci/ddbridge/ddbridge-core.c dma->vbuf[i], vbuf 320 drivers/media/pci/ddbridge/ddbridge-core.c kfree(dma->vbuf[i]); vbuf 321 drivers/media/pci/ddbridge/ddbridge-core.c dma->vbuf[i] = NULL; vbuf 325 drivers/media/pci/ddbridge/ddbridge-core.c dma->vbuf[i] = dma_alloc_coherent(&pdev->dev, vbuf 329 drivers/media/pci/ddbridge/ddbridge-core.c if (!dma->vbuf[i]) vbuf 628 drivers/media/pci/ddbridge/ddbridge-core.c if (copy_from_user(output->dma->vbuf[output->dma->cbuf] + vbuf 693 drivers/media/pci/ddbridge/ddbridge-core.c ret = copy_to_user(buf, input->dma->vbuf[input->dma->cbuf] + vbuf 2162 drivers/media/pci/ddbridge/ddbridge-core.c dma2->vbuf[dma->cbuf], vbuf 147 drivers/media/pci/ddbridge/ddbridge.h u8 *vbuf[DMA_MAX_BUFS]; vbuf 213 drivers/media/pci/dt3155/dt3155.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 221 drivers/media/pci/dt3155/dt3155.c pd->curr_buf = vbuf; vbuf 306 drivers/media/pci/netup_unidvb/netup_unidvb_core.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 307 drivers/media/pci/netup_unidvb/netup_unidvb_core.c struct netup_unidvb_buffer *buf = container_of(vbuf, vbuf 319 drivers/media/pci/netup_unidvb/netup_unidvb_core.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 320 drivers/media/pci/netup_unidvb/netup_unidvb_core.c struct netup_unidvb_buffer *buf = container_of(vbuf, vbuf 69 drivers/media/pci/saa7134/saa7134-ts.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb2); vbuf 71 drivers/media/pci/saa7134/saa7134-ts.c struct saa7134_buf *buf = container_of(vbuf, struct saa7134_buf, vb2); vbuf 82 drivers/media/pci/saa7134/saa7134-ts.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb2); vbuf 85 drivers/media/pci/saa7134/saa7134-ts.c struct saa7134_buf *buf = container_of(vbuf, struct saa7134_buf, vb2); vbuf 99 drivers/media/pci/saa7134/saa7134-ts.c vbuf->field = dev->field; vbuf 109 drivers/media/pci/saa7134/saa7134-vbi.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb2); vbuf 110 drivers/media/pci/saa7134/saa7134-vbi.c struct saa7134_buf *buf = container_of(vbuf, struct saa7134_buf, vb2); vbuf 151 drivers/media/pci/saa7134/saa7134-vbi.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb2); vbuf 152 drivers/media/pci/saa7134/saa7134-vbi.c struct saa7134_buf *buf = container_of(vbuf, struct saa7134_buf, vb2); vbuf 905 drivers/media/pci/saa7134/saa7134-video.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb2); vbuf 906 drivers/media/pci/saa7134/saa7134-video.c struct saa7134_buf *buf = container_of(vbuf, struct saa7134_buf, vb2); vbuf 917 drivers/media/pci/saa7134/saa7134-video.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb2); vbuf 918 drivers/media/pci/saa7134/saa7134-video.c struct saa7134_buf *buf = container_of(vbuf, struct saa7134_buf, vb2); vbuf 931 drivers/media/pci/saa7134/saa7134-video.c vbuf->field = dev->field; vbuf 969 drivers/media/pci/saa7134/saa7134-video.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 970 drivers/media/pci/saa7134/saa7134-video.c struct saa7134_buf *buf = container_of(vbuf, struct saa7134_buf, vb2); vbuf 309 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c struct sg_table *vbuf, int off, int size, vbuf 322 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c for_each_sg(vbuf->sgl, sg, vbuf->nents, i) { vbuf 452 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 457 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c vbuf->flags |= V4L2_BUF_FLAG_KEYFRAME; vbuf 474 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 484 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c vbuf->flags &= ~(V4L2_BUF_FLAG_KEYFRAME | V4L2_BUF_FLAG_PFRAME | vbuf 488 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c vbuf->flags |= V4L2_BUF_FLAG_KEYFRAME; vbuf 492 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c vbuf->flags |= V4L2_BUF_FLAG_PFRAME; vbuf 509 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 524 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c vbuf->sequence = solo_enc->sequence++; vbuf 534 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c .frame_sequence = vbuf->sequence, vbuf 671 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 675 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c container_of(vbuf, struct solo_vb2_buf, vb); vbuf 735 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 742 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c if (vbuf->flags & V4L2_BUF_FLAG_KEYFRAME) vbuf 186 drivers/media/pci/solo6x10/solo6x10-v4l2.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 218 drivers/media/pci/solo6x10/solo6x10-v4l2.c vbuf->sequence = solo_dev->sequence++; vbuf 351 drivers/media/pci/solo6x10/solo6x10-v4l2.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 355 drivers/media/pci/solo6x10/solo6x10-v4l2.c container_of(vbuf, struct solo_vb2_buf, vb); vbuf 273 drivers/media/pci/sta2x11/sta2x11_vip.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 274 drivers/media/pci/sta2x11/sta2x11_vip.c struct vip_buffer *vip_buf = to_vip_buffer(vbuf); vbuf 283 drivers/media/pci/sta2x11/sta2x11_vip.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 285 drivers/media/pci/sta2x11/sta2x11_vip.c struct vip_buffer *vip_buf = to_vip_buffer(vbuf); vbuf 301 drivers/media/pci/sta2x11/sta2x11_vip.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 303 drivers/media/pci/sta2x11/sta2x11_vip.c struct vip_buffer *vip_buf = to_vip_buffer(vbuf); vbuf 318 drivers/media/pci/sta2x11/sta2x11_vip.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 320 drivers/media/pci/sta2x11/sta2x11_vip.c struct vip_buffer *vip_buf = to_vip_buffer(vbuf); vbuf 197 drivers/media/pci/tw5864/tw5864-video.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 200 drivers/media/pci/tw5864/tw5864-video.c struct tw5864_buf *buf = container_of(vbuf, struct tw5864_buf, vb); vbuf 405 drivers/media/pci/tw68/tw68-video.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 408 drivers/media/pci/tw68/tw68-video.c struct tw68_buf *buf = container_of(vbuf, struct tw68_buf, vb); vbuf 440 drivers/media/pci/tw68/tw68-video.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 443 drivers/media/pci/tw68/tw68-video.c struct tw68_buf *buf = container_of(vbuf, struct tw68_buf, vb); vbuf 483 drivers/media/pci/tw68/tw68-video.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 486 drivers/media/pci/tw68/tw68-video.c struct tw68_buf *buf = container_of(vbuf, struct tw68_buf, vb); vbuf 188 drivers/media/pci/tw686x/tw686x-video.c struct sg_table *vbuf = vb2_dma_sg_plane_desc(&buf->vb.vb2_buf, 0); vbuf 197 drivers/media/pci/tw686x/tw686x-video.c for_each_sg(vbuf->sgl, sg, vbuf->nents, i) { vbuf 454 drivers/media/pci/tw686x/tw686x-video.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 456 drivers/media/pci/tw686x/tw686x-video.c container_of(vbuf, struct tw686x_v4l2_buf, vb); vbuf 1934 drivers/media/platform/am437x/am437x-vpfe.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 1942 drivers/media/platform/am437x/am437x-vpfe.c vbuf->field = vpfe->fmt.fmt.pix.field; vbuf 1953 drivers/media/platform/am437x/am437x-vpfe.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 1955 drivers/media/platform/am437x/am437x-vpfe.c struct vpfe_cap_buffer *buf = to_vpfe_buffer(vbuf); vbuf 1478 drivers/media/platform/aspeed-video.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 1479 drivers/media/platform/aspeed-video.c struct aspeed_video_buffer *avb = to_aspeed_video_buffer(vbuf); vbuf 551 drivers/media/platform/atmel/atmel-isc-base.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 563 drivers/media/platform/atmel/atmel-isc-base.c vbuf->field = isc->fmt.fmt.pix.field; vbuf 869 drivers/media/platform/atmel/atmel-isc-base.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 870 drivers/media/platform/atmel/atmel-isc-base.c struct isc_buffer *buf = container_of(vbuf, struct isc_buffer, vb); vbuf 1594 drivers/media/platform/atmel/atmel-isc-base.c struct vb2_v4l2_buffer *vbuf = &isc->cur_frm->vb; vbuf 1595 drivers/media/platform/atmel/atmel-isc-base.c struct vb2_buffer *vb = &vbuf->vb2_buf; vbuf 1598 drivers/media/platform/atmel/atmel-isc-base.c vbuf->sequence = isc->sequence++; vbuf 177 drivers/media/platform/atmel/atmel-isi.c struct vb2_v4l2_buffer *vbuf = &isi->active->vb; vbuf 181 drivers/media/platform/atmel/atmel-isi.c vbuf->vb2_buf.timestamp = ktime_get_ns(); vbuf 182 drivers/media/platform/atmel/atmel-isi.c vbuf->sequence = isi->sequence++; vbuf 183 drivers/media/platform/atmel/atmel-isi.c vbuf->field = V4L2_FIELD_NONE; vbuf 184 drivers/media/platform/atmel/atmel-isi.c vb2_buffer_done(&vbuf->vb2_buf, VB2_BUF_STATE_DONE); vbuf 297 drivers/media/platform/atmel/atmel-isi.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 298 drivers/media/platform/atmel/atmel-isi.c struct frame_buffer *buf = container_of(vbuf, struct frame_buffer, vb); vbuf 308 drivers/media/platform/atmel/atmel-isi.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 309 drivers/media/platform/atmel/atmel-isi.c struct frame_buffer *buf = container_of(vbuf, struct frame_buffer, vb); vbuf 349 drivers/media/platform/atmel/atmel-isi.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 351 drivers/media/platform/atmel/atmel-isi.c struct frame_buffer *buf = container_of(vbuf, struct frame_buffer, vb); vbuf 403 drivers/media/platform/atmel/atmel-isi.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 405 drivers/media/platform/atmel/atmel-isi.c struct frame_buffer *buf = container_of(vbuf, struct frame_buffer, vb); vbuf 1600 drivers/media/platform/coda/coda-common.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 1606 drivers/media/platform/coda/coda-common.c if (vbuf->field == V4L2_FIELD_ANY) vbuf 1607 drivers/media/platform/coda/coda-common.c vbuf->field = V4L2_FIELD_NONE; vbuf 1608 drivers/media/platform/coda/coda-common.c if (vbuf->field != V4L2_FIELD_NONE) { vbuf 1731 drivers/media/platform/coda/coda-common.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 1766 drivers/media/platform/coda/coda-common.c v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbuf); vbuf 1790 drivers/media/platform/coda/coda-common.c vbuf->sequence = ctx->qsequence++; vbuf 1791 drivers/media/platform/coda/coda-common.c v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbuf); vbuf 252 drivers/media/platform/davinci/vpbe_display.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 254 drivers/media/platform/davinci/vpbe_display.c struct vpbe_disp_buffer *buf = container_of(vbuf, vbuf 70 drivers/media/platform/davinci/vpif_capture.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 84 drivers/media/platform/davinci/vpif_capture.c vbuf->field = common->fmt.fmt.pix.field; vbuf 143 drivers/media/platform/davinci/vpif_capture.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 145 drivers/media/platform/davinci/vpif_capture.c struct vpif_cap_buffer *buf = to_vpif_buffer(vbuf); vbuf 73 drivers/media/platform/davinci/vpif_display.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 83 drivers/media/platform/davinci/vpif_display.c vbuf->field = common->fmt.fmt.pix.field; vbuf 145 drivers/media/platform/davinci/vpif_display.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 146 drivers/media/platform/davinci/vpif_display.c struct vpif_disp_buffer *buf = to_vpif_buffer(vbuf); vbuf 268 drivers/media/platform/exynos-gsc/gsc-m2m.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 274 drivers/media/platform/exynos-gsc/gsc-m2m.c v4l2_m2m_buf_queue(ctx->m2m_ctx, vbuf); vbuf 401 drivers/media/platform/exynos4-is/fimc-capture.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 403 drivers/media/platform/exynos4-is/fimc-capture.c = container_of(vbuf, struct fimc_vid_buffer, vb); vbuf 188 drivers/media/platform/exynos4-is/fimc-isp-video.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 192 drivers/media/platform/exynos4-is/fimc-isp-video.c struct isp_video_buf *ivb = to_isp_video_buf(vbuf); vbuf 237 drivers/media/platform/exynos4-is/fimc-isp-video.c struct vb2_v4l2_buffer *vbuf; vbuf 245 drivers/media/platform/exynos4-is/fimc-isp-video.c vbuf = &video->buffers[buf_index]->vb; vbuf 247 drivers/media/platform/exynos4-is/fimc-isp-video.c vbuf->vb2_buf.timestamp = ktime_get_ns(); vbuf 248 drivers/media/platform/exynos4-is/fimc-isp-video.c vb2_buffer_done(&vbuf->vb2_buf, VB2_BUF_STATE_DONE); vbuf 245 drivers/media/platform/exynos4-is/fimc-lite.c struct flite_buffer *vbuf; vbuf 276 drivers/media/platform/exynos4-is/fimc-lite.c vbuf = fimc_lite_pending_queue_pop(fimc); vbuf 277 drivers/media/platform/exynos4-is/fimc-lite.c flite_hw_set_dma_buffer(fimc, vbuf); vbuf 278 drivers/media/platform/exynos4-is/fimc-lite.c fimc_lite_active_queue_add(fimc, vbuf); vbuf 284 drivers/media/platform/exynos4-is/fimc-lite.c vbuf = fimc_lite_active_queue_pop(fimc); vbuf 285 drivers/media/platform/exynos4-is/fimc-lite.c vbuf->vb.vb2_buf.timestamp = ktime_get_ns(); vbuf 286 drivers/media/platform/exynos4-is/fimc-lite.c vbuf->vb.sequence = fimc->frame_count++; vbuf 287 drivers/media/platform/exynos4-is/fimc-lite.c flite_hw_mask_dma_buffer(fimc, vbuf->index); vbuf 288 drivers/media/platform/exynos4-is/fimc-lite.c vb2_buffer_done(&vbuf->vb.vb2_buf, VB2_BUF_STATE_DONE); vbuf 404 drivers/media/platform/exynos4-is/fimc-lite.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 406 drivers/media/platform/exynos4-is/fimc-lite.c = container_of(vbuf, struct flite_buffer, vb); vbuf 213 drivers/media/platform/exynos4-is/fimc-m2m.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 215 drivers/media/platform/exynos4-is/fimc-m2m.c v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbuf); vbuf 1394 drivers/media/platform/imx-pxp.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 1403 drivers/media/platform/imx-pxp.c if (vbuf->field == V4L2_FIELD_ANY) vbuf 1404 drivers/media/platform/imx-pxp.c vbuf->field = V4L2_FIELD_NONE; vbuf 1405 drivers/media/platform/imx-pxp.c if (vbuf->field != V4L2_FIELD_NONE) { vbuf 1425 drivers/media/platform/imx-pxp.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 1428 drivers/media/platform/imx-pxp.c v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbuf); vbuf 1443 drivers/media/platform/imx-pxp.c struct vb2_v4l2_buffer *vbuf; vbuf 1448 drivers/media/platform/imx-pxp.c vbuf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); vbuf 1450 drivers/media/platform/imx-pxp.c vbuf = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); vbuf 1451 drivers/media/platform/imx-pxp.c if (vbuf == NULL) vbuf 1454 drivers/media/platform/imx-pxp.c v4l2_m2m_buf_done(vbuf, VB2_BUF_STATE_ERROR); vbuf 781 drivers/media/platform/m2m-deinterlace.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 784 drivers/media/platform/m2m-deinterlace.c v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbuf); vbuf 210 drivers/media/platform/marvell-ccic/mcam-core.c struct vb2_v4l2_buffer *vbuf) vbuf 212 drivers/media/platform/marvell-ccic/mcam-core.c vbuf->vb2_buf.planes[0].bytesused = cam->pix_format.sizeimage; vbuf 213 drivers/media/platform/marvell-ccic/mcam-core.c vbuf->sequence = cam->buf_seq[frame]; vbuf 214 drivers/media/platform/marvell-ccic/mcam-core.c vbuf->field = V4L2_FIELD_NONE; vbuf 215 drivers/media/platform/marvell-ccic/mcam-core.c vbuf->vb2_buf.timestamp = ktime_get_ns(); vbuf 216 drivers/media/platform/marvell-ccic/mcam-core.c vb2_set_plane_payload(&vbuf->vb2_buf, 0, cam->pix_format.sizeimage); vbuf 217 drivers/media/platform/marvell-ccic/mcam-core.c vb2_buffer_done(&vbuf->vb2_buf, VB2_BUF_STATE_DONE); vbuf 1114 drivers/media/platform/marvell-ccic/mcam-core.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 1115 drivers/media/platform/marvell-ccic/mcam-core.c struct mcam_vb_buffer *mvb = vb_to_mvb(vbuf); vbuf 1236 drivers/media/platform/marvell-ccic/mcam-core.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 1237 drivers/media/platform/marvell-ccic/mcam-core.c struct mcam_vb_buffer *mvb = vb_to_mvb(vbuf); vbuf 1253 drivers/media/platform/marvell-ccic/mcam-core.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 1254 drivers/media/platform/marvell-ccic/mcam-core.c struct mcam_vb_buffer *mvb = vb_to_mvb(vbuf); vbuf 1270 drivers/media/platform/marvell-ccic/mcam-core.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 1272 drivers/media/platform/marvell-ccic/mcam-core.c struct mcam_vb_buffer *mvb = vb_to_mvb(vbuf); vbuf 671 drivers/media/platform/mx2_emmaprp.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 673 drivers/media/platform/mx2_emmaprp.c v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbuf); vbuf 464 drivers/media/platform/omap/omap_vout.c vout->cur_frm->vbuf.vb2_buf.timestamp = ts; vbuf 465 drivers/media/platform/omap/omap_vout.c vout->cur_frm->vbuf.sequence = vout->sequence++; vbuf 466 drivers/media/platform/omap/omap_vout.c vb2_buffer_done(&vout->cur_frm->vbuf.vb2_buf, VB2_BUF_STATE_DONE); vbuf 532 drivers/media/platform/omap/omap_vout.c vout->cur_frm->vbuf.vb2_buf.timestamp = ts; vbuf 533 drivers/media/platform/omap/omap_vout.c vout->cur_frm->vbuf.sequence = vout->sequence++; vbuf 534 drivers/media/platform/omap/omap_vout.c vb2_buffer_done(&vout->cur_frm->vbuf.vb2_buf, VB2_BUF_STATE_DONE); vbuf 546 drivers/media/platform/omap/omap_vout.c addr = (unsigned long)vout->queued_buf_addr[vout->next_frm->vbuf.vb2_buf.index] vbuf 977 drivers/media/platform/omap/omap_vout.c voutbuf->vbuf.field = V4L2_FIELD_NONE; vbuf 1021 drivers/media/platform/omap/omap_vout.c addr = (unsigned long)vout->queued_buf_addr[vout->cur_frm->vbuf.vb2_buf.index] vbuf 1073 drivers/media/platform/omap/omap_vout.c vb2_buffer_done(&vout->cur_frm->vbuf.vb2_buf, VB2_BUF_STATE_QUEUED); vbuf 1076 drivers/media/platform/omap/omap_vout.c vb2_buffer_done(&buf->vbuf.vb2_buf, VB2_BUF_STATE_QUEUED); vbuf 1107 drivers/media/platform/omap/omap_vout.c vb2_buffer_done(&vout->next_frm->vbuf.vb2_buf, VB2_BUF_STATE_ERROR); vbuf 1108 drivers/media/platform/omap/omap_vout.c vb2_buffer_done(&vout->cur_frm->vbuf.vb2_buf, VB2_BUF_STATE_ERROR); vbuf 1111 drivers/media/platform/omap/omap_vout.c vb2_buffer_done(&buf->vbuf.vb2_buf, VB2_BUF_STATE_ERROR); vbuf 120 drivers/media/platform/omap/omap_voutdef.h struct vb2_v4l2_buffer vbuf; vbuf 126 drivers/media/platform/omap/omap_voutdef.h struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 128 drivers/media/platform/omap/omap_voutdef.h return container_of(vbuf, struct omap_vout_buffer, vbuf); vbuf 349 drivers/media/platform/omap3isp/ispvideo.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(buf); vbuf 351 drivers/media/platform/omap3isp/ispvideo.c struct isp_buffer *buffer = to_isp_buffer(vbuf); vbuf 389 drivers/media/platform/omap3isp/ispvideo.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(buf); vbuf 391 drivers/media/platform/omap3isp/ispvideo.c struct isp_buffer *buffer = to_isp_buffer(vbuf); vbuf 671 drivers/media/platform/pxa_camera.c struct vb2_v4l2_buffer vbuf; vbuf 808 drivers/media/platform/pxa_camera.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 810 drivers/media/platform/pxa_camera.c return container_of(vbuf, struct pxa_buffer, vbuf); vbuf 984 drivers/media/platform/pxa_camera.c struct vb2_buffer *vb = &buf->vbuf.vb2_buf; vbuf 985 drivers/media/platform/pxa_camera.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 990 drivers/media/platform/pxa_camera.c vbuf->sequence = pcdev->buf_sequence++; vbuf 991 drivers/media/platform/pxa_camera.c vbuf->field = V4L2_FIELD_NONE; vbuf 1374 drivers/media/platform/pxa_camera.c struct vb2_buffer *vb = &buf->vbuf.vb2_buf; vbuf 350 drivers/media/platform/qcom/camss/camss-video.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 352 drivers/media/platform/qcom/camss/camss-video.c struct camss_buffer *buffer = container_of(vbuf, struct camss_buffer, vbuf 380 drivers/media/platform/qcom/camss/camss-video.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 393 drivers/media/platform/qcom/camss/camss-video.c vbuf->field = V4L2_FIELD_NONE; vbuf 400 drivers/media/platform/qcom/camss/camss-video.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 402 drivers/media/platform/qcom/camss/camss-video.c struct camss_buffer *buffer = container_of(vbuf, struct camss_buffer, vbuf 454 drivers/media/platform/qcom/venus/helpers.c struct vb2_v4l2_buffer *vbuf) vbuf 458 drivers/media/platform/qcom/venus/helpers.c if (vbuf->vb2_buf.type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) vbuf 459 drivers/media/platform/qcom/venus/helpers.c v4l2_m2m_src_buf_remove_by_buf(m2m_ctx, vbuf); vbuf 461 drivers/media/platform/qcom/venus/helpers.c v4l2_m2m_dst_buf_remove_by_buf(m2m_ctx, vbuf); vbuf 463 drivers/media/platform/qcom/venus/helpers.c v4l2_m2m_buf_done(vbuf, VB2_BUF_STATE_ERROR); vbuf 467 drivers/media/platform/qcom/venus/helpers.c put_ts_metadata(struct venus_inst *inst, struct vb2_v4l2_buffer *vbuf) vbuf 469 drivers/media/platform/qcom/venus/helpers.c struct vb2_buffer *vb = &vbuf->vb2_buf; vbuf 489 drivers/media/platform/qcom/venus/helpers.c inst->tss[slot].flags = vbuf->flags; vbuf 490 drivers/media/platform/qcom/venus/helpers.c inst->tss[slot].tc = vbuf->timecode; vbuf 496 drivers/media/platform/qcom/venus/helpers.c struct vb2_v4l2_buffer *vbuf) vbuf 498 drivers/media/platform/qcom/venus/helpers.c struct vb2_buffer *vb = &vbuf->vb2_buf; vbuf 509 drivers/media/platform/qcom/venus/helpers.c vbuf->flags |= inst->tss[i].flags; vbuf 510 drivers/media/platform/qcom/venus/helpers.c vbuf->timecode = inst->tss[i].tc; vbuf 518 drivers/media/platform/qcom/venus/helpers.c session_process_buf(struct venus_inst *inst, struct vb2_v4l2_buffer *vbuf) vbuf 520 drivers/media/platform/qcom/venus/helpers.c struct venus_buffer *buf = to_venus_buffer(vbuf); vbuf 521 drivers/media/platform/qcom/venus/helpers.c struct vb2_buffer *vb = &vbuf->vb2_buf; vbuf 532 drivers/media/platform/qcom/venus/helpers.c fdata.clnt_data = vbuf->vb2_buf.index; vbuf 539 drivers/media/platform/qcom/venus/helpers.c if (vbuf->flags & V4L2_BUF_FLAG_LAST || !fdata.filled_len) vbuf 543 drivers/media/platform/qcom/venus/helpers.c put_ts_metadata(inst, vbuf); vbuf 997 drivers/media/platform/qcom/venus/helpers.c void venus_helper_acquire_buf_ref(struct vb2_v4l2_buffer *vbuf) vbuf 999 drivers/media/platform/qcom/venus/helpers.c struct venus_buffer *buf = to_venus_buffer(vbuf); vbuf 1005 drivers/media/platform/qcom/venus/helpers.c static int is_buf_refed(struct venus_inst *inst, struct vb2_v4l2_buffer *vbuf) vbuf 1007 drivers/media/platform/qcom/venus/helpers.c struct venus_buffer *buf = to_venus_buffer(vbuf); vbuf 1033 drivers/media/platform/qcom/venus/helpers.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 1034 drivers/media/platform/qcom/venus/helpers.c struct venus_buffer *buf = to_venus_buffer(vbuf); vbuf 1055 drivers/media/platform/qcom/venus/helpers.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 1058 drivers/media/platform/qcom/venus/helpers.c if (vbuf->field == V4L2_FIELD_ANY) vbuf 1059 drivers/media/platform/qcom/venus/helpers.c vbuf->field = V4L2_FIELD_NONE; vbuf 1060 drivers/media/platform/qcom/venus/helpers.c if (vbuf->field != V4L2_FIELD_NONE) { vbuf 1080 drivers/media/platform/qcom/venus/helpers.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 1087 drivers/media/platform/qcom/venus/helpers.c v4l2_m2m_buf_queue(m2m_ctx, vbuf); vbuf 1094 drivers/media/platform/qcom/venus/helpers.c ret = is_buf_refed(inst, vbuf); vbuf 1098 drivers/media/platform/qcom/venus/helpers.c ret = session_process_buf(inst, vbuf); vbuf 1100 drivers/media/platform/qcom/venus/helpers.c return_buf_error(inst, vbuf); vbuf 48 drivers/media/platform/qcom/venus/helpers.h void venus_helper_acquire_buf_ref(struct vb2_v4l2_buffer *vbuf); vbuf 66 drivers/media/platform/qcom/venus/helpers.h struct vb2_v4l2_buffer *vbuf); vbuf 1114 drivers/media/platform/qcom/venus/vdec.c struct vb2_v4l2_buffer *vbuf; vbuf 1123 drivers/media/platform/qcom/venus/vdec.c vbuf = venus_helper_find_buf(inst, type, tag); vbuf 1124 drivers/media/platform/qcom/venus/vdec.c if (!vbuf) vbuf 1127 drivers/media/platform/qcom/venus/vdec.c vbuf->flags = flags; vbuf 1128 drivers/media/platform/qcom/venus/vdec.c vbuf->field = V4L2_FIELD_NONE; vbuf 1129 drivers/media/platform/qcom/venus/vdec.c vb = &vbuf->vb2_buf; vbuf 1135 drivers/media/platform/qcom/venus/vdec.c vbuf->sequence = inst->sequence_cap++; vbuf 1137 drivers/media/platform/qcom/venus/vdec.c if (vbuf->flags & V4L2_BUF_FLAG_LAST) { vbuf 1146 drivers/media/platform/qcom/venus/vdec.c vbuf->sequence = inst->sequence_out++; vbuf 1149 drivers/media/platform/qcom/venus/vdec.c venus_helper_get_ts_metadata(inst, timestamp_us, vbuf); vbuf 1152 drivers/media/platform/qcom/venus/vdec.c venus_helper_acquire_buf_ref(vbuf); vbuf 1163 drivers/media/platform/qcom/venus/vdec.c v4l2_m2m_buf_done(vbuf, state); vbuf 1036 drivers/media/platform/qcom/venus/venc.c struct vb2_v4l2_buffer *vbuf; vbuf 1045 drivers/media/platform/qcom/venus/venc.c vbuf = venus_helper_find_buf(inst, type, tag); vbuf 1046 drivers/media/platform/qcom/venus/venc.c if (!vbuf) vbuf 1049 drivers/media/platform/qcom/venus/venc.c vbuf->flags = flags; vbuf 1052 drivers/media/platform/qcom/venus/venc.c vb = &vbuf->vb2_buf; vbuf 1056 drivers/media/platform/qcom/venus/venc.c vbuf->sequence = inst->sequence_cap++; vbuf 1058 drivers/media/platform/qcom/venus/venc.c vbuf->sequence = inst->sequence_out++; vbuf 1061 drivers/media/platform/qcom/venus/venc.c v4l2_m2m_buf_done(vbuf, VB2_BUF_STATE_DONE); vbuf 837 drivers/media/platform/rcar-vin/rcar-dma.c struct vb2_v4l2_buffer *vbuf; vbuf 852 drivers/media/platform/rcar-vin/rcar-dma.c vbuf = &buf->vb; vbuf 853 drivers/media/platform/rcar-vin/rcar-dma.c list_del_init(to_buf_list(vbuf)); vbuf 854 drivers/media/platform/rcar-vin/rcar-dma.c vin->queue_buf[slot] = vbuf; vbuf 857 drivers/media/platform/rcar-vin/rcar-dma.c phys_addr = vb2_dma_contig_plane_dma_addr(&vbuf->vb2_buf, 0); vbuf 1028 drivers/media/platform/rcar-vin/rcar-dma.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 1034 drivers/media/platform/rcar-vin/rcar-dma.c list_add_tail(to_buf_list(vbuf), &vin->buf_list); vbuf 443 drivers/media/platform/rcar_drif.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 446 drivers/media/platform/rcar_drif.c container_of(vbuf, struct rcar_drif_frame_buf, vb); vbuf 1182 drivers/media/platform/rcar_fdp1.c struct vb2_v4l2_buffer *vbuf; vbuf 1216 drivers/media/platform/rcar_fdp1.c vbuf = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); vbuf 1217 drivers/media/platform/rcar_fdp1.c fbuf = to_fdp1_buffer(vbuf); vbuf 1790 drivers/media/platform/rcar_fdp1.c struct vb2_v4l2_buffer *vbuf, vbuf 1793 drivers/media/platform/rcar_fdp1.c struct fdp1_buffer *buf = to_fdp1_buffer(vbuf); vbuf 1798 drivers/media/platform/rcar_fdp1.c num_fields = V4L2_FIELD_HAS_BOTH(vbuf->field) ? 2 : 1; vbuf 1800 drivers/media/platform/rcar_fdp1.c fbuf->vb = vbuf; vbuf 1803 drivers/media/platform/rcar_fdp1.c for (i = 0; i < vbuf->vb2_buf.num_planes; ++i) vbuf 1804 drivers/media/platform/rcar_fdp1.c fbuf->addrs[i] = vb2_dma_contig_plane_dma_addr(&vbuf->vb2_buf, i); vbuf 1806 drivers/media/platform/rcar_fdp1.c switch (vbuf->field) { vbuf 1825 drivers/media/platform/rcar_fdp1.c fbuf->field = vbuf->field; vbuf 1834 drivers/media/platform/rcar_fdp1.c switch (vbuf->field) { vbuf 1838 drivers/media/platform/rcar_fdp1.c for (i = 0; i < vbuf->vb2_buf.num_planes; i++) vbuf 1844 drivers/media/platform/rcar_fdp1.c for (i = 0; i < vbuf->vb2_buf.num_planes; i++) vbuf 1855 drivers/media/platform/rcar_fdp1.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 1856 drivers/media/platform/rcar_fdp1.c struct fdp1_buffer *buf = to_fdp1_buffer(vbuf); vbuf 1865 drivers/media/platform/rcar_fdp1.c if (vbuf->field != V4L2_FIELD_NONE) vbuf 1870 drivers/media/platform/rcar_fdp1.c if (vbuf->field != V4L2_FIELD_TOP && vbuf 1871 drivers/media/platform/rcar_fdp1.c vbuf->field != V4L2_FIELD_BOTTOM) vbuf 1880 drivers/media/platform/rcar_fdp1.c if (vbuf->field != q_data->format.field) vbuf 1888 drivers/media/platform/rcar_fdp1.c vbuf->field, q_data->format.field); vbuf 1892 drivers/media/platform/rcar_fdp1.c vbuf->field = V4L2_FIELD_NONE; vbuf 1911 drivers/media/platform/rcar_fdp1.c buf->num_fields = V4L2_FIELD_HAS_BOTH(vbuf->field) ? 2 : 1; vbuf 1913 drivers/media/platform/rcar_fdp1.c fdp1_buf_prepare_field(q_data, vbuf, i); vbuf 1920 drivers/media/platform/rcar_fdp1.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 1923 drivers/media/platform/rcar_fdp1.c v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbuf); vbuf 1968 drivers/media/platform/rcar_fdp1.c struct vb2_v4l2_buffer *vbuf; vbuf 1973 drivers/media/platform/rcar_fdp1.c vbuf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); vbuf 1975 drivers/media/platform/rcar_fdp1.c vbuf = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); vbuf 1976 drivers/media/platform/rcar_fdp1.c if (vbuf == NULL) vbuf 1979 drivers/media/platform/rcar_fdp1.c v4l2_m2m_buf_done(vbuf, VB2_BUF_STATE_ERROR); vbuf 1041 drivers/media/platform/rcar_jpu.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 1049 drivers/media/platform/rcar_jpu.c if (vbuf->field == V4L2_FIELD_ANY) vbuf 1050 drivers/media/platform/rcar_jpu.c vbuf->field = V4L2_FIELD_NONE; vbuf 1051 drivers/media/platform/rcar_jpu.c if (vbuf->field != V4L2_FIELD_NONE) { vbuf 1078 drivers/media/platform/rcar_jpu.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 1082 drivers/media/platform/rcar_jpu.c struct jpu_buffer *jpu_buf = vb2_to_jpu_buffer(vbuf); vbuf 1116 drivers/media/platform/rcar_jpu.c v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbuf); vbuf 1127 drivers/media/platform/rcar_jpu.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 1128 drivers/media/platform/rcar_jpu.c struct jpu_buffer *jpu_buf = vb2_to_jpu_buffer(vbuf); vbuf 1135 drivers/media/platform/rcar_jpu.c vbuf->sequence = jpu_get_q_data(ctx, type)->sequence++; vbuf 146 drivers/media/platform/renesas-ceu.c static inline struct ceu_buffer *vb2_to_ceu(struct vb2_v4l2_buffer *vbuf) vbuf 148 drivers/media/platform/renesas-ceu.c return container_of(vbuf, struct ceu_buffer, vb); vbuf 494 drivers/media/platform/renesas-ceu.c struct vb2_v4l2_buffer *vbuf; vbuf 509 drivers/media/platform/renesas-ceu.c vbuf = ceudev->active; vbuf 510 drivers/media/platform/renesas-ceu.c if (!vbuf) { vbuf 525 drivers/media/platform/renesas-ceu.c vbuf->vb2_buf.timestamp = ktime_get_ns(); vbuf 526 drivers/media/platform/renesas-ceu.c vbuf->sequence = ceudev->sequence++; vbuf 527 drivers/media/platform/renesas-ceu.c vbuf->field = ceudev->field; vbuf 540 drivers/media/platform/renesas-ceu.c vb2_buffer_done(&vbuf->vb2_buf, VB2_BUF_STATE_DONE); vbuf 548 drivers/media/platform/renesas-ceu.c vb2_buffer_done(&vbuf->vb2_buf, VB2_BUF_STATE_ERROR); vbuf 649 drivers/media/platform/renesas-ceu.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 650 drivers/media/platform/renesas-ceu.c struct ceu_buffer *buf = vb2_to_ceu(vbuf); vbuf 53 drivers/media/platform/rockchip/rga/rga-buf.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 56 drivers/media/platform/rockchip/rga/rga-buf.c v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbuf); vbuf 63 drivers/media/platform/rockchip/rga/rga-buf.c struct vb2_v4l2_buffer *vbuf; vbuf 67 drivers/media/platform/rockchip/rga/rga-buf.c vbuf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); vbuf 69 drivers/media/platform/rockchip/rga/rga-buf.c vbuf = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); vbuf 70 drivers/media/platform/rockchip/rga/rga-buf.c if (!vbuf) vbuf 72 drivers/media/platform/rockchip/rga/rga-buf.c v4l2_m2m_buf_done(vbuf, state); vbuf 329 drivers/media/platform/s3c-camif/camif-capture.c struct camif_buffer *vbuf; vbuf 336 drivers/media/platform/s3c-camif/camif-capture.c vbuf = camif_active_queue_peek(vp, index); vbuf 338 drivers/media/platform/s3c-camif/camif-capture.c if (!WARN_ON(vbuf == NULL)) { vbuf 340 drivers/media/platform/s3c-camif/camif-capture.c vbuf->vb.vb2_buf.timestamp = ktime_get_ns(); vbuf 341 drivers/media/platform/s3c-camif/camif-capture.c vbuf->vb.sequence = vp->frame_sequence++; vbuf 342 drivers/media/platform/s3c-camif/camif-capture.c vb2_buffer_done(&vbuf->vb.vb2_buf, VB2_BUF_STATE_DONE); vbuf 345 drivers/media/platform/s3c-camif/camif-capture.c vbuf = camif_pending_queue_pop(vp); vbuf 346 drivers/media/platform/s3c-camif/camif-capture.c vbuf->index = index; vbuf 347 drivers/media/platform/s3c-camif/camif-capture.c camif_hw_set_output_addr(vp, &vbuf->paddr, index); vbuf 348 drivers/media/platform/s3c-camif/camif-capture.c camif_hw_set_output_addr(vp, &vbuf->paddr, index + 2); vbuf 351 drivers/media/platform/s3c-camif/camif-capture.c camif_active_queue_add(vp, vbuf); vbuf 480 drivers/media/platform/s3c-camif/camif-capture.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 481 drivers/media/platform/s3c-camif/camif-capture.c struct camif_buffer *buf = container_of(vbuf, struct camif_buffer, vb); vbuf 127 drivers/media/platform/s5p-g2d/g2d.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 129 drivers/media/platform/s5p-g2d/g2d.c v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbuf); vbuf 2535 drivers/media/platform/s5p-jpeg/jpeg-core.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 2576 drivers/media/platform/s5p-jpeg/jpeg-core.c v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbuf); vbuf 944 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 965 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c ctx->dst_bufs[i].b = vbuf; vbuf 983 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c ctx->src_bufs[i].b = vbuf; vbuf 2420 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 2431 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c ctx->dst_bufs[i].b = vbuf; vbuf 2440 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c ctx->src_bufs[i].b = vbuf; vbuf 905 drivers/media/platform/sh_veu.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 908 drivers/media/platform/sh_veu.c v4l2_m2m_buf_queue(veu->m2m_ctx, vbuf); vbuf 188 drivers/media/platform/sh_vou.c struct vb2_v4l2_buffer *vbuf) vbuf 192 drivers/media/platform/sh_vou.c addr1 = vb2_dma_contig_plane_dma_addr(&vbuf->vb2_buf, 0); vbuf 277 drivers/media/platform/sh_vou.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 279 drivers/media/platform/sh_vou.c struct sh_vou_buffer *shbuf = to_sh_vou_buffer(vbuf); vbuf 484 drivers/media/platform/sti/bdisp/bdisp-v4l2.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 495 drivers/media/platform/sti/bdisp/bdisp-v4l2.c v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbuf); vbuf 28 drivers/media/platform/sti/delta/delta-v4l2.c #define to_au(__vbuf) container_of(__vbuf, struct delta_au, vbuf) vbuf 29 drivers/media/platform/sti/delta/delta-v4l2.c #define to_frame(__vbuf) container_of(__vbuf, struct delta_frame, vbuf) vbuf 69 drivers/media/platform/sti/delta/delta-v4l2.c ctx->name, au->vbuf.vb2_buf.index, au->dts, au->size, vbuf 73 drivers/media/platform/sti/delta/delta-v4l2.c ctx->name, au->vbuf.vb2_buf.index, au->dts, au->size, vbuf 92 drivers/media/platform/sti/delta/delta-v4l2.c struct vb2_v4l2_buffer *vbuf; vbuf 94 drivers/media/platform/sti/delta/delta-v4l2.c vbuf = &au->vbuf; vbuf 95 drivers/media/platform/sti/delta/delta-v4l2.c vbuf->sequence = ctx->au_num++; vbuf 96 drivers/media/platform/sti/delta/delta-v4l2.c v4l2_m2m_buf_done(vbuf, err ? VB2_BUF_STATE_ERROR : VB2_BUF_STATE_DONE); vbuf 102 drivers/media/platform/sti/delta/delta-v4l2.c struct vb2_v4l2_buffer *vbuf; vbuf 109 drivers/media/platform/sti/delta/delta-v4l2.c vbuf = &frame->vbuf; vbuf 110 drivers/media/platform/sti/delta/delta-v4l2.c vbuf->sequence = ctx->frame_num++; vbuf 111 drivers/media/platform/sti/delta/delta-v4l2.c v4l2_m2m_buf_done(vbuf, err ? VB2_BUF_STATE_ERROR : VB2_BUF_STATE_DONE); vbuf 119 drivers/media/platform/sti/delta/delta-v4l2.c struct vb2_v4l2_buffer *vbuf; vbuf 127 drivers/media/platform/sti/delta/delta-v4l2.c vbuf = &frame->vbuf; vbuf 128 drivers/media/platform/sti/delta/delta-v4l2.c v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbuf); vbuf 146 drivers/media/platform/sti/delta/delta-v4l2.c struct vb2_v4l2_buffer *vbuf = &frame->vbuf; vbuf 148 drivers/media/platform/sti/delta/delta-v4l2.c v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbuf); vbuf 931 drivers/media/platform/sti/delta/delta-v4l2.c struct vb2_v4l2_buffer *vbuf; vbuf 941 drivers/media/platform/sti/delta/delta-v4l2.c vbuf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); vbuf 942 drivers/media/platform/sti/delta/delta-v4l2.c if (!vbuf) { vbuf 947 drivers/media/platform/sti/delta/delta-v4l2.c au = to_au(vbuf); vbuf 948 drivers/media/platform/sti/delta/delta-v4l2.c au->size = vb2_get_plane_payload(&vbuf->vb2_buf, 0); vbuf 949 drivers/media/platform/sti/delta/delta-v4l2.c au->dts = vbuf->vb2_buf.timestamp; vbuf 1120 drivers/media/platform/sti/delta/delta-v4l2.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 1121 drivers/media/platform/sti/delta/delta-v4l2.c struct delta_au *au = to_au(vbuf); vbuf 1125 drivers/media/platform/sti/delta/delta-v4l2.c au->vaddr = vb2_plane_vaddr(&au->vbuf.vb2_buf, 0); vbuf 1127 drivers/media/platform/sti/delta/delta-v4l2.c (&au->vbuf.vb2_buf, 0); vbuf 1133 drivers/media/platform/sti/delta/delta-v4l2.c if (vbuf->field == V4L2_FIELD_ANY) vbuf 1134 drivers/media/platform/sti/delta/delta-v4l2.c vbuf->field = V4L2_FIELD_NONE; vbuf 1243 drivers/media/platform/sti/delta/delta-v4l2.c struct vb2_v4l2_buffer *vbuf; vbuf 1248 drivers/media/platform/sti/delta/delta-v4l2.c vbuf = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); vbuf 1249 drivers/media/platform/sti/delta/delta-v4l2.c if (!vbuf) { vbuf 1255 drivers/media/platform/sti/delta/delta-v4l2.c frame = to_frame(vbuf); vbuf 1299 drivers/media/platform/sti/delta/delta-v4l2.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 1301 drivers/media/platform/sti/delta/delta-v4l2.c v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbuf); vbuf 1312 drivers/media/platform/sti/delta/delta-v4l2.c struct vb2_v4l2_buffer *vbuf = NULL; vbuf 1338 drivers/media/platform/sti/delta/delta-v4l2.c vbuf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); vbuf 1339 drivers/media/platform/sti/delta/delta-v4l2.c if (!vbuf) { vbuf 1345 drivers/media/platform/sti/delta/delta-v4l2.c au = to_au(vbuf); vbuf 1346 drivers/media/platform/sti/delta/delta-v4l2.c au->size = vb2_get_plane_payload(&vbuf->vb2_buf, 0); vbuf 1347 drivers/media/platform/sti/delta/delta-v4l2.c au->dts = vbuf->vb2_buf.timestamp; vbuf 1390 drivers/media/platform/sti/delta/delta-v4l2.c if (vbuf) vbuf 1391 drivers/media/platform/sti/delta/delta-v4l2.c v4l2_m2m_buf_done(vbuf, VB2_BUF_STATE_QUEUED); vbuf 1393 drivers/media/platform/sti/delta/delta-v4l2.c while ((vbuf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx))) vbuf 1394 drivers/media/platform/sti/delta/delta-v4l2.c v4l2_m2m_buf_done(vbuf, VB2_BUF_STATE_QUEUED); vbuf 1401 drivers/media/platform/sti/delta/delta-v4l2.c struct vb2_v4l2_buffer *vbuf; vbuf 1406 drivers/media/platform/sti/delta/delta-v4l2.c while ((vbuf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx))) vbuf 1407 drivers/media/platform/sti/delta/delta-v4l2.c v4l2_m2m_buf_done(vbuf, VB2_BUF_STATE_ERROR); vbuf 1466 drivers/media/platform/sti/delta/delta-v4l2.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 1467 drivers/media/platform/sti/delta/delta-v4l2.c struct delta_frame *frame = to_frame(vbuf); vbuf 1471 drivers/media/platform/sti/delta/delta-v4l2.c frame->index = vbuf->vb2_buf.index; vbuf 1472 drivers/media/platform/sti/delta/delta-v4l2.c frame->vaddr = vb2_plane_vaddr(&vbuf->vb2_buf, 0); vbuf 1473 drivers/media/platform/sti/delta/delta-v4l2.c frame->paddr = vb2_dma_contig_plane_dma_addr(&vbuf->vb2_buf, 0); vbuf 1490 drivers/media/platform/sti/delta/delta-v4l2.c frame->flags = vbuf->flags; vbuf 1497 drivers/media/platform/sti/delta/delta-v4l2.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 1498 drivers/media/platform/sti/delta/delta-v4l2.c struct delta_frame *frame = to_frame(vbuf); vbuf 1501 drivers/media/platform/sti/delta/delta-v4l2.c vb2_set_plane_payload(&vbuf->vb2_buf, 0, frame->info.size); vbuf 1503 drivers/media/platform/sti/delta/delta-v4l2.c vbuf->field = frame->field; vbuf 1504 drivers/media/platform/sti/delta/delta-v4l2.c vbuf->flags = frame->flags; vbuf 1511 drivers/media/platform/sti/delta/delta-v4l2.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 1512 drivers/media/platform/sti/delta/delta-v4l2.c struct delta_frame *frame = to_frame(vbuf); vbuf 1531 drivers/media/platform/sti/delta/delta-v4l2.c struct vb2_v4l2_buffer *vbuf; vbuf 1547 drivers/media/platform/sti/delta/delta-v4l2.c vbuf = &frame->vbuf; vbuf 1548 drivers/media/platform/sti/delta/delta-v4l2.c v4l2_m2m_buf_done(vbuf, VB2_BUF_STATE_ERROR); vbuf 100 drivers/media/platform/sti/delta/delta.h struct vb2_v4l2_buffer vbuf; /* keep first */ vbuf 169 drivers/media/platform/sti/delta/delta.h struct vb2_v4l2_buffer vbuf; /* keep first */ vbuf 186 drivers/media/platform/sti/hva/hva-debugfs.c bytesused = vb2_get_plane_payload(&stream->vbuf.vb2_buf, 0); vbuf 187 drivers/media/platform/sti/hva/hva-debugfs.c div = stream->vbuf.vb2_buf.timestamp; vbuf 197 drivers/media/platform/sti/hva/hva-debugfs.c stream->vbuf.sequence, vbuf 816 drivers/media/platform/sti/hva/hva-h264.c stream->vbuf.flags |= V4L2_BUF_FLAG_KEYFRAME; vbuf 819 drivers/media/platform/sti/hva/hva-h264.c stream->vbuf.flags &= ~V4L2_BUF_FLAG_KEYFRAME; vbuf 841 drivers/media/platform/sti/hva/hva-h264.c if ((stream->vbuf.flags == V4L2_BUF_FLAG_KEYFRAME) && vbuf 849 drivers/media/platform/sti/hva/hva-h264.c if (stream->vbuf.flags != V4L2_BUF_FLAG_KEYFRAME) vbuf 826 drivers/media/platform/sti/hva/hva-v4l2.c frame->vbuf.sequence = ctx->frame_num++; vbuf 937 drivers/media/platform/sti/hva/hva-v4l2.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 940 drivers/media/platform/sti/hva/hva-v4l2.c struct hva_frame *frame = to_hva_frame(vbuf); vbuf 942 drivers/media/platform/sti/hva/hva-v4l2.c if (vbuf->field == V4L2_FIELD_ANY) vbuf 943 drivers/media/platform/sti/hva/hva-v4l2.c vbuf->field = V4L2_FIELD_NONE; vbuf 944 drivers/media/platform/sti/hva/hva-v4l2.c if (vbuf->field != V4L2_FIELD_NONE) { vbuf 947 drivers/media/platform/sti/hva/hva-v4l2.c ctx->name, vb->index, vbuf->field); vbuf 953 drivers/media/platform/sti/hva/hva-v4l2.c frame->vaddr = vb2_plane_vaddr(&vbuf->vb2_buf, 0); vbuf 955 drivers/media/platform/sti/hva/hva-v4l2.c &vbuf->vb2_buf, 0); vbuf 965 drivers/media/platform/sti/hva/hva-v4l2.c struct hva_stream *stream = to_hva_stream(vbuf); vbuf 969 drivers/media/platform/sti/hva/hva-v4l2.c stream->vaddr = vb2_plane_vaddr(&vbuf->vb2_buf, 0); vbuf 971 drivers/media/platform/sti/hva/hva-v4l2.c &vbuf->vb2_buf, 0); vbuf 972 drivers/media/platform/sti/hva/hva-v4l2.c stream->size = vb2_plane_size(&vbuf->vb2_buf, 0); vbuf 988 drivers/media/platform/sti/hva/hva-v4l2.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 991 drivers/media/platform/sti/hva/hva-v4l2.c v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbuf); vbuf 999 drivers/media/platform/sti/hva/hva-v4l2.c struct vb2_v4l2_buffer *vbuf; vbuf 1052 drivers/media/platform/sti/hva/hva-v4l2.c while ((vbuf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx))) vbuf 1053 drivers/media/platform/sti/hva/hva-v4l2.c v4l2_m2m_buf_done(vbuf, VB2_BUF_STATE_QUEUED); vbuf 1056 drivers/media/platform/sti/hva/hva-v4l2.c while ((vbuf = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx))) vbuf 1057 drivers/media/platform/sti/hva/hva-v4l2.c v4l2_m2m_buf_done(vbuf, VB2_BUF_STATE_QUEUED); vbuf 1071 drivers/media/platform/sti/hva/hva-v4l2.c struct vb2_v4l2_buffer *vbuf; vbuf 1079 drivers/media/platform/sti/hva/hva-v4l2.c while ((vbuf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx))) vbuf 1080 drivers/media/platform/sti/hva/hva-v4l2.c v4l2_m2m_buf_done(vbuf, VB2_BUF_STATE_ERROR); vbuf 1084 drivers/media/platform/sti/hva/hva-v4l2.c while ((vbuf = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx))) vbuf 1085 drivers/media/platform/sti/hva/hva-v4l2.c v4l2_m2m_buf_done(vbuf, VB2_BUF_STATE_ERROR); vbuf 116 drivers/media/platform/sti/hva/hva.h struct vb2_v4l2_buffer vbuf; vbuf 128 drivers/media/platform/sti/hva/hva.h container_of(vb, struct hva_frame, vbuf) vbuf 142 drivers/media/platform/sti/hva/hva.h struct vb2_v4l2_buffer vbuf; vbuf 155 drivers/media/platform/sti/hva/hva.h container_of(vb, struct hva_stream, vbuf) vbuf 210 drivers/media/platform/stm32/stm32-dcmi.c struct vb2_v4l2_buffer *vbuf; vbuf 217 drivers/media/platform/stm32/stm32-dcmi.c vbuf = &buf->vb; vbuf 219 drivers/media/platform/stm32/stm32-dcmi.c vbuf->sequence = dcmi->sequence++; vbuf 220 drivers/media/platform/stm32/stm32-dcmi.c vbuf->field = V4L2_FIELD_NONE; vbuf 221 drivers/media/platform/stm32/stm32-dcmi.c vbuf->vb2_buf.timestamp = ktime_get_ns(); vbuf 222 drivers/media/platform/stm32/stm32-dcmi.c vb2_set_plane_payload(&vbuf->vb2_buf, 0, bytesused); vbuf 223 drivers/media/platform/stm32/stm32-dcmi.c vb2_buffer_done(&vbuf->vb2_buf, vbuf 226 drivers/media/platform/stm32/stm32-dcmi.c vbuf->vb2_buf.index, vbuf->sequence, bytesused); vbuf 518 drivers/media/platform/stm32/stm32-dcmi.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 519 drivers/media/platform/stm32/stm32-dcmi.c struct dcmi_buf *buf = container_of(vbuf, struct dcmi_buf, vb); vbuf 529 drivers/media/platform/stm32/stm32-dcmi.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 530 drivers/media/platform/stm32/stm32-dcmi.c struct dcmi_buf *buf = container_of(vbuf, struct dcmi_buf, vb); vbuf 562 drivers/media/platform/stm32/stm32-dcmi.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 563 drivers/media/platform/stm32/stm32-dcmi.c struct dcmi_buf *buf = container_of(vbuf, struct dcmi_buf, vb); vbuf 111 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 113 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c container_of(vbuf, struct sun6i_csi_buffer, vb); vbuf 127 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c vbuf->field = video->fmt.fmt.pix.field; vbuf 244 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 246 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c container_of(vbuf, struct sun6i_csi_buffer, vb); vbuf 260 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c struct vb2_v4l2_buffer *vbuf; vbuf 285 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c vbuf = &buf->vb; vbuf 286 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c vbuf->vb2_buf.timestamp = ktime_get_ns(); vbuf 287 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c vbuf->sequence = video->sequence; vbuf 288 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c vb2_buffer_done(&vbuf->vb2_buf, VB2_BUF_STATE_DONE); vbuf 1077 drivers/media/platform/ti-vpe/vpe.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 1081 drivers/media/platform/ti-vpe/vpe.c int field = vbuf->field == V4L2_FIELD_BOTTOM; vbuf 2030 drivers/media/platform/ti-vpe/vpe.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 2042 drivers/media/platform/ti-vpe/vpe.c vbuf->field = V4L2_FIELD_NONE; vbuf 2044 drivers/media/platform/ti-vpe/vpe.c if (vbuf->field != V4L2_FIELD_TOP && vbuf 2045 drivers/media/platform/ti-vpe/vpe.c vbuf->field != V4L2_FIELD_BOTTOM && vbuf 2046 drivers/media/platform/ti-vpe/vpe.c vbuf->field != V4L2_FIELD_SEQ_TB) vbuf 2069 drivers/media/platform/ti-vpe/vpe.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 2072 drivers/media/platform/ti-vpe/vpe.c v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbuf); vbuf 108 drivers/media/platform/via-camera.c struct vb2_v4l2_buffer vbuf; vbuf 367 drivers/media/platform/via-camera.c sgt = vb2_dma_sg_plane_desc(&vb->vbuf.vb2_buf, 0); vbuf 368 drivers/media/platform/via-camera.c vb->vbuf.vb2_buf.timestamp = ktime_get_ns(); vbuf 370 drivers/media/platform/via-camera.c vb->vbuf.sequence = cam->sequence++; vbuf 371 drivers/media/platform/via-camera.c vb->vbuf.field = V4L2_FIELD_NONE; vbuf 373 drivers/media/platform/via-camera.c vb2_buffer_done(&vb->vbuf.vb2_buf, VB2_BUF_STATE_DONE); vbuf 575 drivers/media/platform/via-camera.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 577 drivers/media/platform/via-camera.c return container_of(vbuf, struct via_buffer, vbuf); vbuf 655 drivers/media/platform/via-camera.c vb2_buffer_done(&buf->vbuf.vb2_buf, VB2_BUF_STATE_QUEUED); vbuf 670 drivers/media/platform/via-camera.c vb2_buffer_done(&buf->vbuf.vb2_buf, VB2_BUF_STATE_ERROR); vbuf 1430 drivers/media/platform/vicodec/vicodec-core.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 1432 drivers/media/platform/vicodec/vicodec-core.c vbuf->field = V4L2_FIELD_NONE; vbuf 1438 drivers/media/platform/vicodec/vicodec-core.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 1446 drivers/media/platform/vicodec/vicodec-core.c if (vbuf->field == V4L2_FIELD_ANY) vbuf 1447 drivers/media/platform/vicodec/vicodec-core.c vbuf->field = V4L2_FIELD_NONE; vbuf 1448 drivers/media/platform/vicodec/vicodec-core.c if (vbuf->field != V4L2_FIELD_NONE) { vbuf 1468 drivers/media/platform/vicodec/vicodec-core.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 1470 drivers/media/platform/vicodec/vicodec-core.c unsigned int sz = vb2_get_plane_payload(&vbuf->vb2_buf, 0); vbuf 1471 drivers/media/platform/vicodec/vicodec-core.c u8 *p_src = vb2_plane_vaddr(&vbuf->vb2_buf, 0); vbuf 1490 drivers/media/platform/vicodec/vicodec-core.c vbuf->flags = V4L2_BUF_FLAG_LAST; vbuf 1491 drivers/media/platform/vicodec/vicodec-core.c vbuf->field = V4L2_FIELD_NONE; vbuf 1492 drivers/media/platform/vicodec/vicodec-core.c vbuf->sequence = get_q_data(ctx, vb->vb2_queue->type)->sequence++; vbuf 1504 drivers/media/platform/vicodec/vicodec-core.c v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbuf); vbuf 1513 drivers/media/platform/vicodec/vicodec-core.c v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbuf); vbuf 1523 drivers/media/platform/vicodec/vicodec-core.c v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbuf); vbuf 1532 drivers/media/platform/vicodec/vicodec-core.c v4l2_m2m_buf_done(vbuf, state); vbuf 1555 drivers/media/platform/vicodec/vicodec-core.c v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbuf); vbuf 1561 drivers/media/platform/vicodec/vicodec-core.c struct vb2_v4l2_buffer *vbuf; vbuf 1565 drivers/media/platform/vicodec/vicodec-core.c vbuf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); vbuf 1567 drivers/media/platform/vicodec/vicodec-core.c vbuf = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); vbuf 1568 drivers/media/platform/vicodec/vicodec-core.c if (vbuf == NULL) vbuf 1570 drivers/media/platform/vicodec/vicodec-core.c v4l2_ctrl_request_complete(vbuf->vb2_buf.req_obj.req, vbuf 1573 drivers/media/platform/vicodec/vicodec-core.c v4l2_m2m_buf_done(vbuf, state); vbuf 1024 drivers/media/platform/vim2m.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 1027 drivers/media/platform/vim2m.c if (vbuf->field == V4L2_FIELD_ANY) vbuf 1028 drivers/media/platform/vim2m.c vbuf->field = V4L2_FIELD_NONE; vbuf 1029 drivers/media/platform/vim2m.c if (vbuf->field != V4L2_FIELD_NONE) { vbuf 1062 drivers/media/platform/vim2m.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 1065 drivers/media/platform/vim2m.c v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbuf); vbuf 1086 drivers/media/platform/vim2m.c struct vb2_v4l2_buffer *vbuf; vbuf 1093 drivers/media/platform/vim2m.c vbuf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); vbuf 1095 drivers/media/platform/vim2m.c vbuf = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); vbuf 1096 drivers/media/platform/vim2m.c if (!vbuf) vbuf 1098 drivers/media/platform/vim2m.c v4l2_ctrl_request_complete(vbuf->vb2_buf.req_obj.req, vbuf 1101 drivers/media/platform/vim2m.c v4l2_m2m_buf_done(vbuf, VB2_BUF_STATE_ERROR); vbuf 222 drivers/media/platform/vimc/vimc-capture.c struct vimc_cap_buffer *vbuf, *node; vbuf 226 drivers/media/platform/vimc/vimc-capture.c list_for_each_entry_safe(vbuf, node, &vcap->buf_list, list) { vbuf 227 drivers/media/platform/vimc/vimc-capture.c list_del(&vbuf->list); vbuf 228 drivers/media/platform/vimc/vimc-capture.c vb2_buffer_done(&vbuf->vb2.vb2_buf, state); vbuf 361 drivers/media/platform/vimc/vimc-capture.c void *vbuf; vbuf 383 drivers/media/platform/vimc/vimc-capture.c vbuf = vb2_plane_vaddr(&vimc_buf->vb2.vb2_buf, 0); vbuf 385 drivers/media/platform/vimc/vimc-capture.c memcpy(vbuf, frame, vcap->format.sizeimage); vbuf 225 drivers/media/platform/vivid/vivid-kthread-cap.c void *vbuf; vbuf 229 drivers/media/platform/vivid/vivid-kthread-cap.c vbuf = vb2_plane_vaddr(&buf->vb.vb2_buf, 0); vbuf 231 drivers/media/platform/vivid/vivid-kthread-cap.c vbuf += bpl[i] * h / tpg->vdownsampling[i]; vbuf 232 drivers/media/platform/vivid/vivid-kthread-cap.c return vbuf; vbuf 452 drivers/media/platform/vivid/vivid-kthread-cap.c void *vbuf = plane_vaddr(tpg, buf, p, vbuf 461 drivers/media/platform/vivid/vivid-kthread-cap.c memset(vbuf, dev->fmt_cap->data_offset[p] & 0xff, vbuf 463 drivers/media/platform/vivid/vivid-kthread-cap.c vbuf += dev->fmt_cap->data_offset[p]; vbuf 465 drivers/media/platform/vivid/vivid-kthread-cap.c tpg_calc_text_basep(tpg, basep, p, vbuf); vbuf 466 drivers/media/platform/vivid/vivid-kthread-cap.c if (!is_loop || vivid_copy_buffer(dev, p, vbuf, buf)) vbuf 468 drivers/media/platform/vivid/vivid-kthread-cap.c p, vbuf); vbuf 596 drivers/media/platform/vivid/vivid-kthread-cap.c void *vbuf = vb2_plane_vaddr(&buf->vb.vb2_buf, 0); vbuf 615 drivers/media/platform/vivid/vivid-kthread-cap.c vbuf += dev->compose_cap.left * pixsize + dev->compose_cap.top * stride; vbuf 633 drivers/media/platform/vivid/vivid-kthread-cap.c y++, vbuf += stride) { vbuf 640 drivers/media/platform/vivid/vivid-kthread-cap.c vbuf + out_x * pixsize, w * pixsize); vbuf 649 drivers/media/platform/vivid/vivid-kthread-cap.c vbuf + (px + out_x) * pixsize, vbuf 247 drivers/media/platform/vivid/vivid-sdr-cap.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 249 drivers/media/platform/vivid/vivid-sdr-cap.c struct vivid_buffer *buf = container_of(vbuf, struct vivid_buffer, vb); vbuf 508 drivers/media/platform/vivid/vivid-sdr-cap.c u8 *vbuf = vb2_plane_vaddr(&buf->vb.vb2_buf, 0); vbuf 555 drivers/media/platform/vivid/vivid-sdr-cap.c *vbuf++ = DIV_ROUND_CLOSEST(fixp_i, FIXP_FRAC * 10); vbuf 556 drivers/media/platform/vivid/vivid-sdr-cap.c *vbuf++ = DIV_ROUND_CLOSEST(fixp_q, FIXP_FRAC * 10); vbuf 563 drivers/media/platform/vivid/vivid-sdr-cap.c *vbuf++ = DIV_ROUND_CLOSEST(fixp_i, FIXP_FRAC * 10); vbuf 564 drivers/media/platform/vivid/vivid-sdr-cap.c *vbuf++ = DIV_ROUND_CLOSEST(fixp_q, FIXP_FRAC * 10); vbuf 85 drivers/media/platform/vivid/vivid-vbi-cap.c u8 *vbuf = vb2_plane_vaddr(&buf->vb.vb2_buf, 0); vbuf 94 drivers/media/platform/vivid/vivid-vbi-cap.c memset(vbuf, 0x10, vb2_plane_size(&buf->vb.vb2_buf, 0)); vbuf 97 drivers/media/platform/vivid/vivid-vbi-cap.c vivid_vbi_gen_raw(&dev->vbi_gen, &vbi, vbuf); vbuf 104 drivers/media/platform/vivid/vivid-vbi-cap.c struct v4l2_sliced_vbi_data *vbuf = vbuf 113 drivers/media/platform/vivid/vivid-vbi-cap.c memset(vbuf, 0, vb2_plane_size(&buf->vb.vb2_buf, 0)); vbuf 118 drivers/media/platform/vivid/vivid-vbi-cap.c vbuf[i] = dev->vbi_gen.data[i]; vbuf 174 drivers/media/platform/vivid/vivid-vbi-cap.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 176 drivers/media/platform/vivid/vivid-vbi-cap.c struct vivid_buffer *buf = container_of(vbuf, struct vivid_buffer, vb); vbuf 70 drivers/media/platform/vivid/vivid-vbi-out.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 72 drivers/media/platform/vivid/vivid-vbi-out.c struct vivid_buffer *buf = container_of(vbuf, struct vivid_buffer, vb); vbuf 180 drivers/media/platform/vivid/vivid-vid-cap.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 182 drivers/media/platform/vivid/vivid-vid-cap.c struct v4l2_timecode *tc = &vbuf->timecode; vbuf 184 drivers/media/platform/vivid/vivid-vid-cap.c unsigned seq = vbuf->sequence; vbuf 193 drivers/media/platform/vivid/vivid-vid-cap.c vbuf->flags |= V4L2_BUF_FLAG_TIMECODE; vbuf 206 drivers/media/platform/vivid/vivid-vid-cap.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 208 drivers/media/platform/vivid/vivid-vid-cap.c struct vivid_buffer *buf = container_of(vbuf, struct vivid_buffer, vb); vbuf 89 drivers/media/platform/vivid/vivid-vid-out.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 95 drivers/media/platform/vivid/vivid-vid-out.c vbuf->field = dev->field_out; vbuf 96 drivers/media/platform/vivid/vivid-vid-out.c else if (vbuf->field != V4L2_FIELD_TOP && vbuf 97 drivers/media/platform/vivid/vivid-vid-out.c vbuf->field != V4L2_FIELD_BOTTOM) vbuf 145 drivers/media/platform/vivid/vivid-vid-out.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 147 drivers/media/platform/vivid/vivid-vid-out.c struct vivid_buffer *buf = container_of(vbuf, struct vivid_buffer, vb); vbuf 30 drivers/media/platform/vsp1/vsp1_histo.c to_vsp1_histogram_buffer(struct vb2_v4l2_buffer *vbuf) vbuf 32 drivers/media/platform/vsp1/vsp1_histo.c return container_of(vbuf, struct vsp1_histogram_buffer, buf); vbuf 107 drivers/media/platform/vsp1/vsp1_histo.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 109 drivers/media/platform/vsp1/vsp1_histo.c struct vsp1_histogram_buffer *buf = to_vsp1_histogram_buffer(vbuf); vbuf 124 drivers/media/platform/vsp1/vsp1_histo.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 126 drivers/media/platform/vsp1/vsp1_histo.c struct vsp1_histogram_buffer *buf = to_vsp1_histogram_buffer(vbuf); vbuf 735 drivers/media/platform/vsp1/vsp1_video.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 737 drivers/media/platform/vsp1/vsp1_video.c struct vsp1_vb2_buffer *buf = to_vsp1_vb2_buffer(vbuf); vbuf 759 drivers/media/platform/vsp1/vsp1_video.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 762 drivers/media/platform/vsp1/vsp1_video.c struct vsp1_vb2_buffer *buf = to_vsp1_vb2_buffer(vbuf); vbuf 26 drivers/media/platform/vsp1/vsp1_video.h to_vsp1_vb2_buffer(struct vb2_v4l2_buffer *vbuf) vbuf 28 drivers/media/platform/vsp1/vsp1_video.h return container_of(vbuf, struct vsp1_vb2_buffer, buf); vbuf 334 drivers/media/platform/xilinx/xilinx-dma.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 336 drivers/media/platform/xilinx/xilinx-dma.c struct xvip_dma_buffer *buf = to_xvip_dma_buffer(vbuf); vbuf 345 drivers/media/platform/xilinx/xilinx-dma.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 347 drivers/media/platform/xilinx/xilinx-dma.c struct xvip_dma_buffer *buf = to_xvip_dma_buffer(vbuf); vbuf 497 drivers/media/usb/airspy/airspy.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 500 drivers/media/usb/airspy/airspy.c container_of(vbuf, struct airspy_frame_buf, vb); vbuf 55 drivers/media/usb/au0828/au0828-vbi.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 57 drivers/media/usb/au0828/au0828-vbi.c container_of(vbuf, struct au0828_buffer, vb); vbuf 700 drivers/media/usb/au0828/au0828-video.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 701 drivers/media/usb/au0828/au0828-video.c struct au0828_buffer *buf = container_of(vbuf, vbuf 719 drivers/media/usb/au0828/au0828-video.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 720 drivers/media/usb/au0828/au0828-video.c struct au0828_buffer *buf = container_of(vbuf, vbuf 1269 drivers/media/usb/cx231xx/cx231xx-417.c void *vbuf; vbuf 1285 drivers/media/usb/cx231xx/cx231xx-417.c vbuf = videobuf_to_vmalloc(&buf->vb); vbuf 1291 drivers/media/usb/cx231xx/cx231xx-417.c memcpy(vbuf+dma_q->mpeg_buffer_completed, vbuf 1298 drivers/media/usb/cx231xx/cx231xx-417.c memcpy(vbuf+dma_q->mpeg_buffer_completed, data, len); vbuf 1306 drivers/media/usb/cx231xx/cx231xx-417.c memcpy(vbuf+dma_q->mpeg_buffer_completed, vbuf 1328 drivers/media/usb/cx231xx/cx231xx-417.c void *vbuf; vbuf 1338 drivers/media/usb/cx231xx/cx231xx-417.c vbuf = videobuf_to_vmalloc(&buf->vb); vbuf 1339 drivers/media/usb/cx231xx/cx231xx-417.c memcpy(vbuf, data, len); vbuf 457 drivers/media/usb/dvb-usb/cxusb-analog.c cxdev->vbuf = vbuf 461 drivers/media/usb/dvb-usb/cxusb-analog.c list_del(&cxdev->vbuf->list); vbuf 474 drivers/media/usb/dvb-usb/cxusb-analog.c if (cxdev->vbuf) { vbuf 475 drivers/media/usb/dvb-usb/cxusb-analog.c cxdev->vbuf->vb2.vb2_buf.timestamp = ktime_get_ns(); vbuf 476 drivers/media/usb/dvb-usb/cxusb-analog.c bt656->buf = vb2_plane_vaddr(&cxdev->vbuf->vb2.vb2_buf, vbuf 508 drivers/media/usb/dvb-usb/cxusb-analog.c if (cxdev->vbuf) { vbuf 509 drivers/media/usb/dvb-usb/cxusb-analog.c vb2_set_plane_payload(&cxdev->vbuf->vb2.vb2_buf, 0, vbuf 512 drivers/media/usb/dvb-usb/cxusb-analog.c cxdev->vbuf->vb2.field = cxdev->field_order; vbuf 513 drivers/media/usb/dvb-usb/cxusb-analog.c cxdev->vbuf->vb2.sequence = cxdev->vbuf_sequence++; vbuf 515 drivers/media/usb/dvb-usb/cxusb-analog.c vb2_buffer_done(&cxdev->vbuf->vb2.vb2_buf, vbuf 518 drivers/media/usb/dvb-usb/cxusb-analog.c cxdev->vbuf = NULL; vbuf 667 drivers/media/usb/dvb-usb/cxusb-analog.c struct cxusb_medion_vbuffer *vbuf, *vbuf_tmp; vbuf 669 drivers/media/usb/dvb-usb/cxusb-analog.c list_for_each_entry_safe(vbuf, vbuf_tmp, &cxdev->buflist, vbuf 671 drivers/media/usb/dvb-usb/cxusb-analog.c list_del(&vbuf->list); vbuf 672 drivers/media/usb/dvb-usb/cxusb-analog.c vb2_buffer_done(&vbuf->vb2.vb2_buf, vbuf 677 drivers/media/usb/dvb-usb/cxusb-analog.c if (cxdev->vbuf) { vbuf 678 drivers/media/usb/dvb-usb/cxusb-analog.c vb2_buffer_done(&cxdev->vbuf->vb2.vb2_buf, vbuf 682 drivers/media/usb/dvb-usb/cxusb-analog.c cxdev->vbuf = NULL; vbuf 864 drivers/media/usb/dvb-usb/cxusb-analog.c cxdev->vbuf = NULL; vbuf 943 drivers/media/usb/dvb-usb/cxusb-analog.c struct cxusb_medion_vbuffer *vbuf = vbuf 950 drivers/media/usb/dvb-usb/cxusb-analog.c list_add_tail(&vbuf->list, &cxdev->buflist); vbuf 145 drivers/media/usb/dvb-usb/cxusb.h struct cxusb_medion_vbuffer *vbuf; vbuf 76 drivers/media/usb/em28xx/em28xx-vbi.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 79 drivers/media/usb/em28xx/em28xx-vbi.c container_of(vbuf, struct em28xx_buffer, vb); vbuf 1060 drivers/media/usb/em28xx/em28xx-video.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 1065 drivers/media/usb/em28xx/em28xx-video.c em28xx_videodbg("%s, field=%d\n", __func__, vbuf->field); vbuf 1220 drivers/media/usb/em28xx/em28xx-video.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 1223 drivers/media/usb/em28xx/em28xx-video.c container_of(vbuf, struct em28xx_buffer, vb); vbuf 360 drivers/media/usb/go7007/go7007-v4l2.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 362 drivers/media/usb/go7007/go7007-v4l2.c container_of(vbuf, struct go7007_buffer, vb); vbuf 372 drivers/media/usb/go7007/go7007-v4l2.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 374 drivers/media/usb/go7007/go7007-v4l2.c container_of(vbuf, struct go7007_buffer, vb); vbuf 386 drivers/media/usb/go7007/go7007-v4l2.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 388 drivers/media/usb/go7007/go7007-v4l2.c container_of(vbuf, struct go7007_buffer, vb); vbuf 391 drivers/media/usb/go7007/go7007-v4l2.c vbuf->flags &= ~(V4L2_BUF_FLAG_KEYFRAME | V4L2_BUF_FLAG_BFRAME | vbuf 393 drivers/media/usb/go7007/go7007-v4l2.c vbuf->flags |= frame_type_flag; vbuf 394 drivers/media/usb/go7007/go7007-v4l2.c vbuf->field = V4L2_FIELD_NONE; vbuf 771 drivers/media/usb/hackrf/hackrf.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 774 drivers/media/usb/hackrf/hackrf.c struct hackrf_buffer *buffer = container_of(vbuf, struct hackrf_buffer, vb); vbuf 617 drivers/media/usb/msi2500/msi2500.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 619 drivers/media/usb/msi2500/msi2500.c struct msi2500_frame_buf *buf = container_of(vbuf, vbuf 628 drivers/media/usb/pwc/pwc-if.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 630 drivers/media/usb/pwc/pwc-if.c container_of(vbuf, struct pwc_frame_buf, vb); vbuf 654 drivers/media/usb/pwc/pwc-if.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 656 drivers/media/usb/pwc/pwc-if.c container_of(vbuf, struct pwc_frame_buf, vb); vbuf 671 drivers/media/usb/pwc/pwc-if.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 673 drivers/media/usb/pwc/pwc-if.c container_of(vbuf, struct pwc_frame_buf, vb); vbuf 681 drivers/media/usb/pwc/pwc-if.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 683 drivers/media/usb/pwc/pwc-if.c container_of(vbuf, struct pwc_frame_buf, vb); vbuf 597 drivers/media/usb/s2255/s2255drv.c char *vbuf = vb2_plane_vaddr(&buf->vb.vb2_buf, 0); vbuf 601 drivers/media/usb/s2255/s2255drv.c if (!vbuf) vbuf 611 drivers/media/usb/s2255/s2255drv.c vbuf, vc->width, vbuf 616 drivers/media/usb/s2255/s2255drv.c memcpy(vbuf, tmpbuf, vc->width * vc->height); vbuf 621 drivers/media/usb/s2255/s2255drv.c memcpy(vbuf, tmpbuf, jpgsize); vbuf 624 drivers/media/usb/s2255/s2255drv.c memcpy(vbuf, tmpbuf, vbuf 636 drivers/media/usb/s2255/s2255drv.c vbuf, pos); vbuf 659 drivers/media/usb/s2255/s2255drv.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 660 drivers/media/usb/s2255/s2255drv.c struct s2255_buffer *buf = container_of(vbuf, struct s2255_buffer, vb); vbuf 688 drivers/media/usb/s2255/s2255drv.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 689 drivers/media/usb/s2255/s2255drv.c struct s2255_buffer *buf = container_of(vbuf, struct s2255_buffer, vb); vbuf 684 drivers/media/usb/stk1160/stk1160-v4l.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 686 drivers/media/usb/stk1160/stk1160-v4l.c container_of(vbuf, struct stk1160_buffer, vb); vbuf 124 drivers/media/usb/tm6000/tm6000-video.c struct tm6000_buffer *vbuf = NULL; vbuf 130 drivers/media/usb/tm6000/tm6000-video.c get_next_buf(dma_q, &vbuf); vbuf 132 drivers/media/usb/tm6000/tm6000-video.c if (!vbuf) vbuf 134 drivers/media/usb/tm6000/tm6000-video.c voutp = videobuf_to_vmalloc(&vbuf->vb); vbuf 196 drivers/media/usb/tm6000/tm6000-video.c buffer_filled(dev, dma_q, vbuf); vbuf 199 drivers/media/usb/tm6000/tm6000-video.c get_next_buf(dma_q, &vbuf); vbuf 200 drivers/media/usb/tm6000/tm6000-video.c if (!vbuf) vbuf 202 drivers/media/usb/tm6000/tm6000-video.c voutp = videobuf_to_vmalloc(&vbuf->vb); vbuf 205 drivers/media/usb/tm6000/tm6000-video.c memset(voutp, 0, vbuf->vb.size); vbuf 207 drivers/media/usb/tm6000/tm6000-video.c linewidth = vbuf->vb.width << 1; vbuf 211 drivers/media/usb/tm6000/tm6000-video.c if (pos + size > vbuf->vb.size) vbuf 237 drivers/media/usb/tm6000/tm6000-video.c if (vbuf) vbuf 739 drivers/media/usb/usbtv/usbtv-video.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 741 drivers/media/usb/usbtv/usbtv-video.c struct usbtv_buf *buf = container_of(vbuf, struct usbtv_buf, vb); vbuf 106 drivers/media/usb/uvc/uvc_queue.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 108 drivers/media/usb/uvc/uvc_queue.c struct uvc_buffer *buf = uvc_vbuf_to_buffer(vbuf); vbuf 133 drivers/media/usb/uvc/uvc_queue.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 135 drivers/media/usb/uvc/uvc_queue.c struct uvc_buffer *buf = uvc_vbuf_to_buffer(vbuf); vbuf 155 drivers/media/usb/uvc/uvc_queue.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 158 drivers/media/usb/uvc/uvc_queue.c struct uvc_buffer *buf = uvc_vbuf_to_buffer(vbuf); vbuf 161 drivers/media/usb/uvc/uvc_queue.c uvc_video_clock_update(stream, vbuf, buf); vbuf 656 drivers/media/usb/uvc/uvc_video.c struct vb2_v4l2_buffer *vbuf, vbuf 747 drivers/media/usb/uvc/uvc_video.c y, timestamp, vbuf->vb2_buf.timestamp, vbuf 752 drivers/media/usb/uvc/uvc_video.c vbuf->vb2_buf.timestamp = timestamp; vbuf 803 drivers/media/usb/uvc/uvcvideo.h struct vb2_v4l2_buffer *vbuf, vbuf 484 drivers/media/usb/zr364xx/zr364xx.c char *vbuf = videobuf_to_vmalloc(&buf->vb); vbuf 487 drivers/media/usb/zr364xx/zr364xx.c if (!vbuf) vbuf 496 drivers/media/usb/zr364xx/zr364xx.c memcpy(vbuf, tmpbuf, buf->vb.size); vbuf 506 drivers/media/usb/zr364xx/zr364xx.c DBG("%s: Buffer %p size= %d\n", __func__, vbuf, pos); vbuf 186 drivers/media/v4l2-core/v4l2-mem2mem.c struct vb2_v4l2_buffer *vbuf) vbuf 192 drivers/media/v4l2-core/v4l2-mem2mem.c b = container_of(vbuf, struct v4l2_m2m_buffer, vb); vbuf 960 drivers/media/v4l2-core/v4l2-mem2mem.c struct vb2_v4l2_buffer *vbuf) vbuf 962 drivers/media/v4l2-core/v4l2-mem2mem.c struct v4l2_m2m_buffer *b = container_of(vbuf, vbuf 967 drivers/media/v4l2-core/v4l2-mem2mem.c q_ctx = get_queue_ctx(m2m_ctx, vbuf->vb2_buf.vb2_queue->type); vbuf 79 drivers/net/ethernet/8390/mcf8390.c void ei_insb(u32 addr, void *vbuf, int len) vbuf 84 drivers/net/ethernet/8390/mcf8390.c buf = (u8 *) vbuf; vbuf 92 drivers/net/ethernet/8390/mcf8390.c void ei_insw(u32 addr, void *vbuf, int len) vbuf 97 drivers/net/ethernet/8390/mcf8390.c buf = (u16 *) vbuf; vbuf 105 drivers/net/ethernet/8390/mcf8390.c void ei_outsb(u32 addr, const void *vbuf, int len) vbuf 110 drivers/net/ethernet/8390/mcf8390.c buf = (u8 *) vbuf; vbuf 118 drivers/net/ethernet/8390/mcf8390.c void ei_outsw(u32 addr, const void *vbuf, int len) vbuf 123 drivers/net/ethernet/8390/mcf8390.c buf = (u16 *) vbuf; vbuf 2109 drivers/staging/media/allegro-dvt/allegro-core.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 2118 drivers/staging/media/allegro-dvt/allegro-core.c if (vbuf->field == V4L2_FIELD_ANY) vbuf 2119 drivers/staging/media/allegro-dvt/allegro-core.c vbuf->field = V4L2_FIELD_NONE; vbuf 2120 drivers/staging/media/allegro-dvt/allegro-core.c if (vbuf->field != V4L2_FIELD_NONE) { vbuf 2134 drivers/staging/media/allegro-dvt/allegro-core.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 2138 drivers/staging/media/allegro-dvt/allegro-core.c allegro_channel_buf_done(channel, vbuf, VB2_BUF_STATE_DONE); vbuf 2142 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_m2m_buf_queue(channel->fh.m2m_ctx, vbuf); vbuf 605 drivers/staging/media/hantro/hantro_v4l2.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 607 drivers/staging/media/hantro/hantro_v4l2.c v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbuf); vbuf 651 drivers/staging/media/hantro/hantro_v4l2.c struct vb2_v4l2_buffer *vbuf; vbuf 653 drivers/staging/media/hantro/hantro_v4l2.c vbuf = buf_remove(ctx->fh.m2m_ctx); vbuf 654 drivers/staging/media/hantro/hantro_v4l2.c if (!vbuf) vbuf 656 drivers/staging/media/hantro/hantro_v4l2.c v4l2_ctrl_request_complete(vbuf->vb2_buf.req_obj.req, vbuf 658 drivers/staging/media/hantro/hantro_v4l2.c v4l2_m2m_buf_done(vbuf, VB2_BUF_STATE_ERROR); vbuf 691 drivers/staging/media/hantro/hantro_v4l2.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 693 drivers/staging/media/hantro/hantro_v4l2.c vbuf->field = V4L2_FIELD_NONE; vbuf 207 drivers/staging/media/imx/imx-ic-prpencvf.c done->vbuf.field = vdev->fmt.fmt.pix.field; vbuf 208 drivers/staging/media/imx/imx-ic-prpencvf.c done->vbuf.sequence = priv->frame_sequence; vbuf 209 drivers/staging/media/imx/imx-ic-prpencvf.c vb = &done->vbuf.vb2_buf; vbuf 221 drivers/staging/media/imx/imx-ic-prpencvf.c phys = vb2_dma_contig_plane_dma_addr(&next->vbuf.vb2_buf, 0); vbuf 319 drivers/staging/media/imx/imx-ic-prpencvf.c &buf->vbuf.vb2_buf, 0); vbuf 337 drivers/staging/media/imx/imx-ic-prpencvf.c struct vb2_buffer *vb = &buf->vbuf.vb2_buf; vbuf 587 drivers/staging/media/imx/imx-media-capture.c vb2_buffer_done(&buf->vbuf.vb2_buf, VB2_BUF_STATE_QUEUED); vbuf 614 drivers/staging/media/imx/imx-media-capture.c vb2_buffer_done(&frame->vbuf.vb2_buf, VB2_BUF_STATE_ERROR); vbuf 446 drivers/staging/media/imx/imx-media-csc-scaler.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 454 drivers/staging/media/imx/imx-media-csc-scaler.c if (vbuf->field == V4L2_FIELD_ANY) vbuf 455 drivers/staging/media/imx/imx-media-csc-scaler.c vbuf->field = V4L2_FIELD_NONE; vbuf 456 drivers/staging/media/imx/imx-media-csc-scaler.c if (vbuf->field != V4L2_FIELD_NONE) { vbuf 271 drivers/staging/media/imx/imx-media-csi.c done->vbuf.field = vdev->fmt.fmt.pix.field; vbuf 272 drivers/staging/media/imx/imx-media-csi.c done->vbuf.sequence = priv->frame_sequence; vbuf 273 drivers/staging/media/imx/imx-media-csi.c vb = &done->vbuf.vb2_buf; vbuf 285 drivers/staging/media/imx/imx-media-csi.c phys = vb2_dma_contig_plane_dma_addr(&next->vbuf.vb2_buf, 0); vbuf 378 drivers/staging/media/imx/imx-media-csi.c &buf->vbuf.vb2_buf, 0); vbuf 396 drivers/staging/media/imx/imx-media-csi.c struct vb2_buffer *vb = &buf->vbuf.vb2_buf; vbuf 203 drivers/staging/media/imx/imx-media-vdic.c prev_vb = &prev->vbuf.vb2_buf; vbuf 204 drivers/staging/media/imx/imx-media-vdic.c curr_vb = &curr->vbuf.vb2_buf; vbuf 83 drivers/staging/media/imx/imx-media.h struct vb2_v4l2_buffer vbuf; /* v4l buffer must be first */ vbuf 102 drivers/staging/media/imx/imx-media.h struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 104 drivers/staging/media/imx/imx-media.h return container_of(vbuf, struct imx_media_buffer, vbuf); vbuf 596 drivers/staging/media/imx/imx7-media-csi.c vb2_buf = &buf->vbuf.vb2_buf; vbuf 617 drivers/staging/media/imx/imx7-media-csi.c struct vb2_buffer *vb = &buf->vbuf.vb2_buf; vbuf 634 drivers/staging/media/imx/imx7-media-csi.c done->vbuf.field = vdev->fmt.fmt.pix.field; vbuf 635 drivers/staging/media/imx/imx7-media-csi.c done->vbuf.sequence = csi->frame_sequence; vbuf 636 drivers/staging/media/imx/imx7-media-csi.c vb = &done->vbuf.vb2_buf; vbuf 645 drivers/staging/media/imx/imx7-media-csi.c phys = vb2_dma_contig_plane_dma_addr(&next->vbuf.vb2_buf, 0); vbuf 178 drivers/staging/media/meson/vdec/esparser.c esparser_queue(struct amvdec_session *sess, struct vb2_v4l2_buffer *vbuf) vbuf 181 drivers/staging/media/meson/vdec/esparser.c struct vb2_buffer *vb = &vbuf->vb2_buf; vbuf 199 drivers/staging/media/meson/vdec/esparser.c v4l2_m2m_src_buf_remove_by_buf(sess->m2m_ctx, vbuf); vbuf 213 drivers/staging/media/meson/vdec/esparser.c v4l2_m2m_buf_done(vbuf, VB2_BUF_STATE_ERROR); vbuf 230 drivers/staging/media/meson/vdec/esparser.c vbuf->flags = 0; vbuf 231 drivers/staging/media/meson/vdec/esparser.c vbuf->field = V4L2_FIELD_NONE; vbuf 232 drivers/staging/media/meson/vdec/esparser.c v4l2_m2m_buf_done(vbuf, VB2_BUF_STATE_DONE); vbuf 258 drivers/staging/media/meson/vdec/vdec.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 262 drivers/staging/media/meson/vdec/vdec.c v4l2_m2m_buf_queue(m2m_ctx, vbuf); vbuf 421 drivers/staging/media/meson/vdec/vdec.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 423 drivers/staging/media/meson/vdec/vdec.c vbuf->field = V4L2_FIELD_NONE; vbuf 253 drivers/staging/media/meson/vdec/vdec_helpers.c struct vb2_v4l2_buffer *vbuf, vbuf 262 drivers/staging/media/meson/vdec/vdec_helpers.c vbuf->vb2_buf.planes[0].bytesused = output_size; vbuf 263 drivers/staging/media/meson/vdec/vdec_helpers.c vbuf->vb2_buf.planes[1].bytesused = output_size / 2; vbuf 266 drivers/staging/media/meson/vdec/vdec_helpers.c vbuf->vb2_buf.planes[0].bytesused = output_size; vbuf 267 drivers/staging/media/meson/vdec/vdec_helpers.c vbuf->vb2_buf.planes[1].bytesused = output_size / 4; vbuf 268 drivers/staging/media/meson/vdec/vdec_helpers.c vbuf->vb2_buf.planes[2].bytesused = output_size / 4; vbuf 272 drivers/staging/media/meson/vdec/vdec_helpers.c vbuf->vb2_buf.timestamp = timestamp; vbuf 273 drivers/staging/media/meson/vdec/vdec_helpers.c vbuf->sequence = sess->sequence_cap++; vbuf 281 drivers/staging/media/meson/vdec/vdec_helpers.c vbuf->flags |= V4L2_BUF_FLAG_LAST; vbuf 286 drivers/staging/media/meson/vdec/vdec_helpers.c dev_dbg(dev, "Buffer %u done\n", vbuf->vb2_buf.index); vbuf 287 drivers/staging/media/meson/vdec/vdec_helpers.c vbuf->field = field; vbuf 288 drivers/staging/media/meson/vdec/vdec_helpers.c v4l2_m2m_buf_done(vbuf, VB2_BUF_STATE_DONE); vbuf 295 drivers/staging/media/meson/vdec/vdec_helpers.c struct vb2_v4l2_buffer *vbuf, u32 field) vbuf 306 drivers/staging/media/meson/vdec/vdec_helpers.c vbuf->vb2_buf.index); vbuf 308 drivers/staging/media/meson/vdec/vdec_helpers.c v4l2_m2m_buf_done(vbuf, VB2_BUF_STATE_ERROR); vbuf 319 drivers/staging/media/meson/vdec/vdec_helpers.c dst_buf_done(sess, vbuf, field, timestamp); vbuf 325 drivers/staging/media/meson/vdec/vdec_helpers.c struct vb2_v4l2_buffer *vbuf, vbuf 364 drivers/staging/media/meson/vdec/vdec_helpers.c vbuf->vb2_buf.index, offset); vbuf 372 drivers/staging/media/meson/vdec/vdec_helpers.c dst_buf_done(sess, vbuf, field, timestamp); vbuf 381 drivers/staging/media/meson/vdec/vdec_helpers.c struct vb2_v4l2_buffer *vbuf; vbuf 384 drivers/staging/media/meson/vdec/vdec_helpers.c vbuf = v4l2_m2m_dst_buf_remove_by_idx(sess->m2m_ctx, vbuf 387 drivers/staging/media/meson/vdec/vdec_helpers.c if (!vbuf) { vbuf 395 drivers/staging/media/meson/vdec/vdec_helpers.c amvdec_dst_buf_done_offset(sess, vbuf, offset, field, true); vbuf 397 drivers/staging/media/meson/vdec/vdec_helpers.c amvdec_dst_buf_done(sess, vbuf, field); vbuf 41 drivers/staging/media/meson/vdec/vdec_helpers.h struct vb2_v4l2_buffer *vbuf, u32 field); vbuf 43 drivers/staging/media/meson/vdec/vdec_helpers.h struct vb2_v4l2_buffer *vbuf, vbuf 321 drivers/staging/media/omap4iss/iss_video.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 322 drivers/staging/media/omap4iss/iss_video.c struct iss_buffer *buffer = container_of(vbuf, struct iss_buffer, vb); vbuf 330 drivers/staging/media/omap4iss/iss_video.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 332 drivers/staging/media/omap4iss/iss_video.c struct iss_buffer *buffer = container_of(vbuf, struct iss_buffer, vb); vbuf 354 drivers/staging/media/omap4iss/iss_video.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 357 drivers/staging/media/omap4iss/iss_video.c struct iss_buffer *buffer = container_of(vbuf, struct iss_buffer, vb); vbuf 77 drivers/staging/media/sunxi/cedrus/cedrus_h264.c struct vb2_buffer *vbuf = &buf->m2m_buf.vb.vb2_buf; vbuf 84 drivers/staging/media/sunxi/cedrus/cedrus_h264.c pic->luma_ptr = cpu_to_le32(cedrus_buf_addr(vbuf, &ctx->dst_fmt, 0)); vbuf 85 drivers/staging/media/sunxi/cedrus/cedrus_h264.c pic->chroma_ptr = cpu_to_le32(cedrus_buf_addr(vbuf, &ctx->dst_fmt, 1)); vbuf 397 drivers/staging/media/sunxi/cedrus/cedrus_video.c struct vb2_v4l2_buffer *vbuf; vbuf 401 drivers/staging/media/sunxi/cedrus/cedrus_video.c vbuf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); vbuf 403 drivers/staging/media/sunxi/cedrus/cedrus_video.c vbuf = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); vbuf 405 drivers/staging/media/sunxi/cedrus/cedrus_video.c if (!vbuf) vbuf 408 drivers/staging/media/sunxi/cedrus/cedrus_video.c v4l2_ctrl_request_complete(vbuf->vb2_buf.req_obj.req, vbuf 410 drivers/staging/media/sunxi/cedrus/cedrus_video.c v4l2_m2m_buf_done(vbuf, state); vbuf 416 drivers/staging/media/sunxi/cedrus/cedrus_video.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 418 drivers/staging/media/sunxi/cedrus/cedrus_video.c vbuf->field = V4L2_FIELD_NONE; vbuf 484 drivers/staging/media/sunxi/cedrus/cedrus_video.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 487 drivers/staging/media/sunxi/cedrus/cedrus_video.c v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbuf); vbuf 1432 drivers/staging/unisys/visornic/visornic_main.c char *vbuf; vbuf 1436 drivers/staging/unisys/visornic/visornic_main.c vbuf = kzalloc(len, GFP_KERNEL); vbuf 1437 drivers/staging/unisys/visornic/visornic_main.c if (!vbuf) vbuf 1449 drivers/staging/unisys/visornic/visornic_main.c str_pos += scnprintf(vbuf + str_pos, len - str_pos, vbuf 1454 drivers/staging/unisys/visornic/visornic_main.c str_pos += scnprintf(vbuf + str_pos, len - str_pos, vbuf 1456 drivers/staging/unisys/visornic/visornic_main.c str_pos += scnprintf(vbuf + str_pos, len - str_pos, vbuf 1459 drivers/staging/unisys/visornic/visornic_main.c str_pos += scnprintf(vbuf + str_pos, len - str_pos, vbuf 1462 drivers/staging/unisys/visornic/visornic_main.c str_pos += scnprintf(vbuf + str_pos, len - str_pos, vbuf 1465 drivers/staging/unisys/visornic/visornic_main.c str_pos += scnprintf(vbuf + str_pos, len - str_pos, vbuf 1468 drivers/staging/unisys/visornic/visornic_main.c str_pos += scnprintf(vbuf + str_pos, len - str_pos, vbuf 1471 drivers/staging/unisys/visornic/visornic_main.c str_pos += scnprintf(vbuf + str_pos, len - str_pos, vbuf 1474 drivers/staging/unisys/visornic/visornic_main.c str_pos += scnprintf(vbuf + str_pos, len - str_pos, vbuf 1477 drivers/staging/unisys/visornic/visornic_main.c str_pos += scnprintf(vbuf + str_pos, len - str_pos, vbuf 1480 drivers/staging/unisys/visornic/visornic_main.c str_pos += scnprintf(vbuf + str_pos, len - str_pos, vbuf 1483 drivers/staging/unisys/visornic/visornic_main.c str_pos += scnprintf(vbuf + str_pos, len - str_pos, vbuf 1486 drivers/staging/unisys/visornic/visornic_main.c str_pos += scnprintf(vbuf + str_pos, len - str_pos, vbuf 1489 drivers/staging/unisys/visornic/visornic_main.c str_pos += scnprintf(vbuf + str_pos, len - str_pos, vbuf 1492 drivers/staging/unisys/visornic/visornic_main.c str_pos += scnprintf(vbuf + str_pos, len - str_pos, vbuf 1495 drivers/staging/unisys/visornic/visornic_main.c str_pos += scnprintf(vbuf + str_pos, len - str_pos, vbuf 1498 drivers/staging/unisys/visornic/visornic_main.c str_pos += scnprintf(vbuf + str_pos, len - str_pos, vbuf 1501 drivers/staging/unisys/visornic/visornic_main.c str_pos += scnprintf(vbuf + str_pos, len - str_pos, vbuf 1504 drivers/staging/unisys/visornic/visornic_main.c str_pos += scnprintf(vbuf + str_pos, len - str_pos, vbuf 1506 drivers/staging/unisys/visornic/visornic_main.c str_pos += scnprintf(vbuf + str_pos, len - str_pos, vbuf 1508 drivers/staging/unisys/visornic/visornic_main.c str_pos += scnprintf(vbuf + str_pos, len - str_pos, vbuf 1510 drivers/staging/unisys/visornic/visornic_main.c str_pos += scnprintf(vbuf + str_pos, len - str_pos, vbuf 1512 drivers/staging/unisys/visornic/visornic_main.c str_pos += scnprintf(vbuf + str_pos, len - str_pos, vbuf 1515 drivers/staging/unisys/visornic/visornic_main.c str_pos += scnprintf(vbuf + str_pos, len - str_pos, vbuf 1518 drivers/staging/unisys/visornic/visornic_main.c str_pos += scnprintf(vbuf + str_pos, len - str_pos, vbuf 1525 drivers/staging/unisys/visornic/visornic_main.c str_pos += scnprintf(vbuf + str_pos, len - str_pos, vbuf 1528 drivers/staging/unisys/visornic/visornic_main.c str_pos += scnprintf(vbuf + str_pos, len - str_pos, vbuf 1531 drivers/staging/unisys/visornic/visornic_main.c str_pos += scnprintf(vbuf + str_pos, len - str_pos, vbuf 1534 drivers/staging/unisys/visornic/visornic_main.c str_pos += scnprintf(vbuf + str_pos, len - str_pos, vbuf 1537 drivers/staging/unisys/visornic/visornic_main.c str_pos += scnprintf(vbuf + str_pos, len - str_pos, vbuf 1540 drivers/staging/unisys/visornic/visornic_main.c str_pos += scnprintf(vbuf + str_pos, len - str_pos, vbuf 1543 drivers/staging/unisys/visornic/visornic_main.c str_pos += scnprintf(vbuf + str_pos, len - str_pos, vbuf 1546 drivers/staging/unisys/visornic/visornic_main.c str_pos += scnprintf(vbuf + str_pos, len - str_pos, vbuf 1549 drivers/staging/unisys/visornic/visornic_main.c str_pos += scnprintf(vbuf + str_pos, len - str_pos, vbuf 1552 drivers/staging/unisys/visornic/visornic_main.c str_pos += scnprintf(vbuf + str_pos, len - str_pos, vbuf 1555 drivers/staging/unisys/visornic/visornic_main.c str_pos += scnprintf(vbuf + str_pos, len - str_pos, vbuf 1558 drivers/staging/unisys/visornic/visornic_main.c str_pos += scnprintf(vbuf + str_pos, len - str_pos, vbuf 1562 drivers/staging/unisys/visornic/visornic_main.c str_pos += scnprintf(vbuf + str_pos, len - str_pos, vbuf 1567 drivers/staging/unisys/visornic/visornic_main.c bytes_read = simple_read_from_buffer(buf, len, offset, vbuf, str_pos); vbuf 1568 drivers/staging/unisys/visornic/visornic_main.c kfree(vbuf); vbuf 60 drivers/usb/gadget/function/uvc_queue.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 61 drivers/usb/gadget/function/uvc_queue.c struct uvc_buffer *buf = container_of(vbuf, struct uvc_buffer, buf); vbuf 86 drivers/usb/gadget/function/uvc_queue.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 87 drivers/usb/gadget/function/uvc_queue.c struct uvc_buffer *buf = container_of(vbuf, struct uvc_buffer, buf); vbuf 3172 fs/f2fs/file.c char *vbuf; vbuf 3176 fs/f2fs/file.c vbuf = f2fs_kzalloc(sbi, MAX_VOLUME_NAME, GFP_KERNEL); vbuf 3177 fs/f2fs/file.c if (!vbuf) vbuf 3183 fs/f2fs/file.c UTF16_LITTLE_ENDIAN, vbuf, MAX_VOLUME_NAME); vbuf 3186 fs/f2fs/file.c if (copy_to_user((char __user *)arg, vbuf, vbuf 3190 fs/f2fs/file.c kvfree(vbuf); vbuf 3198 fs/f2fs/file.c char *vbuf; vbuf 3204 fs/f2fs/file.c vbuf = strndup_user((const char __user *)arg, FSLABEL_MAX); vbuf 3205 fs/f2fs/file.c if (IS_ERR(vbuf)) vbuf 3206 fs/f2fs/file.c return PTR_ERR(vbuf); vbuf 3216 fs/f2fs/file.c utf8s_to_utf16s(vbuf, strlen(vbuf), UTF16_LITTLE_ENDIAN, vbuf 3226 fs/f2fs/file.c kfree(vbuf); vbuf 246 include/media/tpg/v4l2-tpg.h u8 *basep[TPG_MAX_PLANES][2], unsigned p, u8 *vbuf); vbuf 249 include/media/tpg/v4l2-tpg.h unsigned p, u8 *vbuf); vbuf 251 include/media/tpg/v4l2-tpg.h unsigned p, u8 *vbuf); vbuf 393 include/media/v4l2-mem2mem.h struct vb2_v4l2_buffer *vbuf); vbuf 584 include/media/v4l2-mem2mem.h struct vb2_v4l2_buffer *vbuf); vbuf 594 include/media/v4l2-mem2mem.h struct vb2_v4l2_buffer *vbuf) vbuf 596 include/media/v4l2-mem2mem.h v4l2_m2m_buf_remove_by_buf(&m2m_ctx->out_q_ctx, vbuf); vbuf 607 include/media/v4l2-mem2mem.h struct vb2_v4l2_buffer *vbuf) vbuf 609 include/media/v4l2-mem2mem.h v4l2_m2m_buf_remove_by_buf(&m2m_ctx->cap_q_ctx, vbuf); vbuf 204 include/trace/events/v4l2.h struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 208 include/trace/events/v4l2.h __entry->flags = vbuf->flags; vbuf 209 include/trace/events/v4l2.h __entry->field = vbuf->field; vbuf 211 include/trace/events/v4l2.h __entry->timecode_type = vbuf->timecode.type; vbuf 212 include/trace/events/v4l2.h __entry->timecode_flags = vbuf->timecode.flags; vbuf 213 include/trace/events/v4l2.h __entry->timecode_frames = vbuf->timecode.frames; vbuf 214 include/trace/events/v4l2.h __entry->timecode_seconds = vbuf->timecode.seconds; vbuf 215 include/trace/events/v4l2.h __entry->timecode_minutes = vbuf->timecode.minutes; vbuf 216 include/trace/events/v4l2.h __entry->timecode_hours = vbuf->timecode.hours; vbuf 217 include/trace/events/v4l2.h __entry->timecode_userbits0 = vbuf->timecode.userbits[0]; vbuf 218 include/trace/events/v4l2.h __entry->timecode_userbits1 = vbuf->timecode.userbits[1]; vbuf 219 include/trace/events/v4l2.h __entry->timecode_userbits2 = vbuf->timecode.userbits[2]; vbuf 220 include/trace/events/v4l2.h __entry->timecode_userbits3 = vbuf->timecode.userbits[3]; vbuf 221 include/trace/events/v4l2.h __entry->sequence = vbuf->sequence; vbuf 88 samples/v4l/v4l2-pci-skeleton.c static inline struct skel_buffer *to_skel_buffer(struct vb2_v4l2_buffer *vbuf) vbuf 90 samples/v4l/v4l2-pci-skeleton.c return container_of(vbuf, struct skel_buffer, vb); vbuf 216 samples/v4l/v4l2-pci-skeleton.c struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vbuf 218 samples/v4l/v4l2-pci-skeleton.c struct skel_buffer *buf = to_skel_buffer(vbuf);