/linux-master/drivers/net/ethernet/8390/ |
H A D | mcf8390.c | 77 void ei_insb(u32 addr, void *vbuf, int len) argument 82 buf = (u8 *) vbuf; 90 void ei_insw(u32 addr, void *vbuf, int len) argument 95 buf = (u16 *) vbuf; 103 void ei_outsb(u32 addr, const void *vbuf, int len) argument 108 buf = (u8 *) vbuf; 116 void ei_outsw(u32 addr, const void *vbuf, int len) argument 121 buf = (u16 *) vbuf;
|
/linux-master/drivers/media/test-drivers/vivid/ |
H A D | vivid-vbi-cap.c | 85 u8 *vbuf = vb2_plane_vaddr(&buf->vb.vb2_buf, 0); local 94 memset(vbuf, 0x10, vb2_plane_size(&buf->vb.vb2_buf, 0)); 97 vivid_vbi_gen_raw(&dev->vbi_gen, &vbi, vbuf); 104 struct v4l2_sliced_vbi_data *vbuf = local 113 memset(vbuf, 0, vb2_plane_size(&buf->vb.vb2_buf, 0)); 118 vbuf[i] = dev->vbi_gen.data[i]; 171 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); local 173 struct vivid_buffer *buf = container_of(vbuf, struct vivid_buffer, vb);
|
H A D | vivid-meta-out.c | 64 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); local 66 struct vivid_buffer *buf = container_of(vbuf, struct vivid_buffer, vb);
|
/linux-master/drivers/media/platform/st/sti/hva/ |
H A D | hva.h | 108 * @vbuf: video buffer information for V4L2 116 struct vb2_v4l2_buffer vbuf; member in struct:hva_frame 128 container_of(vb, struct hva_frame, vbuf) 133 * @vbuf: video buffer information for V4L2 142 struct vb2_v4l2_buffer vbuf; member in struct:hva_stream 155 container_of(vb, struct hva_stream, vbuf)
|
/linux-master/drivers/media/pci/saa7134/ |
H A D | saa7134-vbi.c | 109 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb2); local 110 struct saa7134_buf *buf = container_of(vbuf, struct saa7134_buf, vb2); 151 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb2); local 152 struct saa7134_buf *buf = container_of(vbuf, struct saa7134_buf, vb2);
|
H A D | saa7134-ts.c | 69 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb2); local 71 struct saa7134_buf *buf = container_of(vbuf, struct saa7134_buf, vb2); 82 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb2); local 85 struct saa7134_buf *buf = container_of(vbuf, struct saa7134_buf, vb2); 99 vbuf->field = dev->field;
|
/linux-master/drivers/media/pci/zoran/ |
H A D | zoran.h | 36 struct vb2_v4l2_buffer vbuf; member in struct:zr_buffer 42 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); local 44 return container_of(vbuf, struct zr_buffer, vbuf);
|
H A D | zoran_driver.c | 797 struct vb2_v4l2_buffer *vbuf; local 807 buf->vbuf.vb2_buf.timestamp = ktime_get_ns(); 808 buf->vbuf.sequence = zr->vbseq++; 809 vbuf = &buf->vbuf; 811 buf->vbuf.field = V4L2_FIELD_INTERLACED; 813 buf->vbuf.field = V4L2_FIELD_INTERLACED; 815 buf->vbuf.field = V4L2_FIELD_TOP; 816 vb2_set_plane_payload(&buf->vbuf.vb2_buf, 0, zr->buffer_size); 817 vb2_buffer_done(&buf->vbuf [all...] |
H A D | zoran_device.c | 736 struct vb2_v4l2_buffer *vbuf; local 755 vbuf = &buf->vbuf; 756 vbuf->vb2_buf.state = VB2_BUF_STATE_ACTIVE; 757 phys_addr = vb2_dma_contig_plane_dma_addr(&vbuf->vb2_buf, 0); 758 payload = vb2_get_plane_payload(&vbuf->vb2_buf, 0); 837 buf->vbuf.vb2_buf.timestamp = ktime_get_ns(); 840 vb2_set_plane_payload(&buf->vbuf.vb2_buf, 0, size); 847 buf->vbuf.sequence = zr->jpg_settings.tmp_dcm == 851 buf->vbuf [all...] |
/linux-master/drivers/staging/media/imx/ |
H A D | imx-media.h | 100 struct vb2_v4l2_buffer vbuf; /* v4l buffer must be first */ member in struct:imx_media_buffer 119 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); local 121 return container_of(vbuf, struct imx_media_buffer, vbuf);
|
/linux-master/drivers/media/usb/uvc/ |
H A D | uvc_queue.c | 100 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); local 102 struct uvc_buffer *buf = uvc_vbuf_to_buffer(vbuf); 128 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); local 130 struct uvc_buffer *buf = uvc_vbuf_to_buffer(vbuf); 151 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); local 154 struct uvc_buffer *buf = uvc_vbuf_to_buffer(vbuf); 157 uvc_video_clock_update(stream, vbuf, buf);
|
/linux-master/drivers/media/test-drivers/vimc/ |
H A D | vimc-capture.c | 230 struct vimc_capture_buffer *vbuf, *node; local 234 list_for_each_entry_safe(vbuf, node, &vcapture->buf_list, list) { 235 list_del(&vbuf->list); 236 vb2_buffer_done(&vbuf->vb2.vb2_buf, state); 364 void *vbuf; local 386 vbuf = vb2_plane_vaddr(&vimc_buf->vb2.vb2_buf, 0); 388 memcpy(vbuf, frame, vcapture->format.sizeimage);
|
/linux-master/drivers/staging/media/sunxi/cedrus/ |
H A D | cedrus_video.c | 457 struct vb2_v4l2_buffer *vbuf; local 461 vbuf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); 463 vbuf = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); 465 if (!vbuf) 468 v4l2_ctrl_request_complete(vbuf->vb2_buf.req_obj.req, 470 v4l2_m2m_buf_done(vbuf, state); 476 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); local 478 vbuf->field = V4L2_FIELD_NONE; 552 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); local 555 v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbuf); [all...] |
/linux-master/drivers/media/platform/amphion/ |
H A D | venc.c | 781 struct vb2_v4l2_buffer *vbuf) 786 if (!vbuf) 791 v4l2_m2m_buf_copy_metadata(src_buf, vbuf, true); 796 vbuf->vb2_buf.timestamp = frame->info.timestamp; 798 if (!venc_get_enable(inst->priv, vbuf->vb2_buf.type)) { 799 v4l2_m2m_buf_done(vbuf, VB2_BUF_STATE_ERROR); 802 if (frame->bytesused > vbuf->vb2_buf.planes[0].length) { 803 v4l2_m2m_buf_done(vbuf, VB2_BUF_STATE_ERROR); 811 void *dst = vb2_plane_vaddr(&vbuf->vb2_buf, 0); 817 vb2_set_plane_payload(&vbuf 779 venc_get_one_encoded_frame(struct vpu_inst *inst, struct venc_frame_t *frame, struct vb2_v4l2_buffer *vbuf) argument 1094 struct vb2_v4l2_buffer *vbuf; local 1127 struct vb2_v4l2_buffer *vbuf; local [all...] |
/linux-master/drivers/media/common/saa7146/ |
H A D | saa7146_vbi.c | 236 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); local 239 struct saa7146_buf *buf = container_of(vbuf, struct saa7146_buf, vb); 250 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); local 251 struct saa7146_buf *buf = container_of(vbuf, struct saa7146_buf, vb); 282 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); local 283 struct saa7146_buf *buf = container_of(vbuf, struct saa7146_buf, vb);
|
/linux-master/drivers/media/platform/st/stm32/stm32-dcmipp/ |
H A D | dcmipp-bytecap.c | 532 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); local 533 struct dcmipp_buf *buf = container_of(vbuf, struct dcmipp_buf, vb); 565 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb2_buf); local 566 struct dcmipp_buf *buf = container_of(vbuf, struct dcmipp_buf, vb); 613 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); local 614 struct dcmipp_buf *buf = container_of(vbuf, struct dcmipp_buf, vb); 661 struct vb2_v4l2_buffer *vbuf; local 665 vbuf = &buf->vb; 667 vbuf->sequence = vcap->sequence++; 668 vbuf [all...] |
/linux-master/drivers/staging/media/starfive/camss/ |
H A D | stf-video.c | 24 to_stfcamss_buffer(struct vb2_v4l2_buffer *vbuf) argument 26 return container_of(vbuf, struct stfcamss_buffer, vb); 166 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); local 168 struct stfcamss_buffer *buffer = to_stfcamss_buffer(vbuf); 184 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); local 196 vbuf->field = V4L2_FIELD_NONE; 203 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); local 205 struct stfcamss_buffer *buffer = to_stfcamss_buffer(vbuf);
|
/linux-master/drivers/usb/gadget/function/ |
H A D | uvc_queue.c | 74 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); local 75 struct uvc_buffer *buf = container_of(vbuf, struct uvc_buffer, buf); 105 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); local 106 struct uvc_buffer *buf = container_of(vbuf, struct uvc_buffer, buf);
|
/linux-master/drivers/media/platform/renesas/ |
H A D | rcar_fdp1.c | 1182 struct vb2_v4l2_buffer *vbuf; local 1216 vbuf = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); 1217 fbuf = to_fdp1_buffer(vbuf); 1786 struct vb2_v4l2_buffer *vbuf, 1789 struct fdp1_buffer *buf = to_fdp1_buffer(vbuf); 1794 num_fields = V4L2_FIELD_HAS_BOTH(vbuf->field) ? 2 : 1; 1796 fbuf->vb = vbuf; 1799 for (i = 0; i < vbuf->vb2_buf.num_planes; ++i) 1800 fbuf->addrs[i] = vb2_dma_contig_plane_dma_addr(&vbuf->vb2_buf, i); 1802 switch (vbuf 1785 fdp1_buf_prepare_field(struct fdp1_q_data *q_data, struct vb2_v4l2_buffer *vbuf, unsigned int field_num) argument 1851 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); local 1916 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); local 1964 struct vb2_v4l2_buffer *vbuf; local [all...] |
/linux-master/drivers/media/platform/verisilicon/ |
H A D | hantro_v4l2.c | 865 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); local 875 vbuf->field = V4L2_FIELD_NONE; 876 vbuf->sequence = ctx->sequence_cap++; 878 v4l2_m2m_last_buffer_done(ctx->fh.m2m_ctx, vbuf); 883 v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbuf); 942 struct vb2_v4l2_buffer *vbuf; local 944 vbuf = buf_remove(ctx->fh.m2m_ctx); 945 if (!vbuf) 947 v4l2_ctrl_request_complete(vbuf->vb2_buf.req_obj.req, 949 v4l2_m2m_buf_done(vbuf, VB2_BUF_STATE_ERRO 989 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); local [all...] |
/linux-master/drivers/media/test-drivers/visl/ |
H A D | visl-video.c | 600 struct vb2_v4l2_buffer *vbuf; local 605 vbuf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); 607 vbuf = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); 609 if (!vbuf) 612 v4l2_ctrl_request_complete(vbuf->vb2_buf.req_obj.req, 615 vbuf->vb2_buf.req_obj.req); 617 v4l2_m2m_buf_done(vbuf, state); 620 vbuf->vb2_buf.timestamp, 627 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); local 629 vbuf 699 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); local [all...] |
/linux-master/drivers/media/usb/dvb-usb/ |
H A D | cxusb-analog.c | 457 cxdev->vbuf = 461 list_del(&cxdev->vbuf->list); 474 if (cxdev->vbuf) { 475 cxdev->vbuf->vb2.vb2_buf.timestamp = ktime_get_ns(); 476 bt656->buf = vb2_plane_vaddr(&cxdev->vbuf->vb2.vb2_buf, 508 if (cxdev->vbuf) { 509 vb2_set_plane_payload(&cxdev->vbuf->vb2.vb2_buf, 0, 512 cxdev->vbuf->vb2.field = cxdev->field_order; 513 cxdev->vbuf->vb2.sequence = cxdev->vbuf_sequence++; 515 vb2_buffer_done(&cxdev->vbuf 667 struct cxusb_medion_vbuffer *vbuf, *vbuf_tmp; local 943 struct cxusb_medion_vbuffer *vbuf = local [all...] |
/linux-master/mm/kmsan/ |
H A D | kmsan_test.c | 321 void *vbuf; local 328 vbuf = vmap(pages, npages, VM_MAP, PAGE_KERNEL); 329 memset(vbuf, 0xfe, npages * PAGE_SIZE); 333 if (vbuf) 334 vunmap(vbuf);
|
/linux-master/drivers/media/platform/qcom/venus/ |
H A D | vdec.c | 1345 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); local 1346 struct venus_buffer *buf = to_venus_buffer(vbuf); 1362 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); local 1371 vbuf->flags |= V4L2_BUF_FLAG_LAST; 1372 vbuf->sequence = inst->sequence_cap++; 1373 vbuf->field = V4L2_FIELD_NONE; 1375 v4l2_m2m_buf_done(vbuf, VB2_BUF_STATE_DONE); 1401 struct vb2_v4l2_buffer *vbuf; local 1412 vbuf = venus_helper_find_buf(inst, type, tag); 1413 if (!vbuf) { [all...] |
/linux-master/drivers/media/platform/st/stm32/dma2d/ |
H A D | dma2d.c | 126 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); local 128 if (vbuf->field == V4L2_FIELD_ANY) 129 vbuf->field = V4L2_FIELD_NONE; 130 if (vbuf->field != V4L2_FIELD_NONE) 151 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); local 154 v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbuf); 169 struct vb2_v4l2_buffer *vbuf; local 173 vbuf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); 175 vbuf = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); 176 if (!vbuf) [all...] |