Home
last modified time | relevance | path

Searched refs:vbuf (Results 101 – 125 of 183) sorted by relevance

12345678

/openbmc/linux/drivers/media/platform/xilinx/
H A Dxilinx-dma.c318 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in xvip_dma_buffer_prepare() local
320 struct xvip_dma_buffer *buf = to_xvip_dma_buffer(vbuf); in xvip_dma_buffer_prepare()
329 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in xvip_dma_buffer_queue() local
331 struct xvip_dma_buffer *buf = to_xvip_dma_buffer(vbuf); in xvip_dma_buffer_queue()
/openbmc/linux/drivers/media/platform/nxp/imx-jpeg/
H A Dmxc-jpeg.c1647 struct vb2_v4l2_buffer *vbuf; in mxc_jpeg_stop_streaming() local
1654 vbuf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); in mxc_jpeg_stop_streaming()
1656 vbuf = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); in mxc_jpeg_stop_streaming()
1657 if (!vbuf) in mxc_jpeg_stop_streaming()
1659 v4l2_m2m_buf_done(vbuf, VB2_BUF_STATE_ERROR); in mxc_jpeg_stop_streaming()
1895 vbuf->field = V4L2_FIELD_NONE; in mxc_jpeg_buf_queue()
1896 vbuf->sequence = q_data->sequence++; in mxc_jpeg_buf_queue()
1897 v4l2_m2m_last_buffer_done(ctx->fh.m2m_ctx, vbuf); in mxc_jpeg_buf_queue()
1917 v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbuf); in mxc_jpeg_buf_queue()
1924 vbuf->field = V4L2_FIELD_NONE; in mxc_jpeg_buf_out_validate()
[all …]
/openbmc/linux/drivers/media/usb/cx231xx/
H A Dcx231xx-417.c1240 void *vbuf; in buffer_copy() local
1256 vbuf = vb2_plane_vaddr(&buf->vb.vb2_buf, 0); in buffer_copy()
1262 memcpy(vbuf+dma_q->mpeg_buffer_completed, in buffer_copy()
1269 memcpy(vbuf+dma_q->mpeg_buffer_completed, data, len); in buffer_copy()
1277 memcpy(vbuf+dma_q->mpeg_buffer_completed, in buffer_copy()
1298 void *vbuf; in buffer_filled() local
1307 vbuf = vb2_plane_vaddr(&buf->vb.vb2_buf, 0); in buffer_filled()
1308 memcpy(vbuf, data, len); in buffer_filled()
/openbmc/linux/include/media/tpg/
H A Dv4l2-tpg.h247 u8 *basep[TPG_MAX_PLANES][2], unsigned p, u8 *vbuf);
250 unsigned p, u8 *vbuf);
252 unsigned p, u8 *vbuf);
/openbmc/linux/drivers/media/pci/cx88/
H A Dcx88-blackbird.c673 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in buffer_prepare() local
675 struct cx88_buffer *buf = container_of(vbuf, struct cx88_buffer, vb); in buffer_prepare()
682 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in buffer_finish() local
684 struct cx88_buffer *buf = container_of(vbuf, struct cx88_buffer, vb); in buffer_finish()
695 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in buffer_queue() local
697 struct cx88_buffer *buf = container_of(vbuf, struct cx88_buffer, vb); in buffer_queue()
H A Dcx88-dvb.c91 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in buffer_prepare() local
93 struct cx88_buffer *buf = container_of(vbuf, struct cx88_buffer, vb); in buffer_prepare()
100 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in buffer_finish() local
102 struct cx88_buffer *buf = container_of(vbuf, struct cx88_buffer, vb); in buffer_finish()
113 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in buffer_queue() local
115 struct cx88_buffer *buf = container_of(vbuf, struct cx88_buffer, vb); in buffer_queue()
/openbmc/linux/drivers/staging/media/omap4iss/
H A Diss_video.c314 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in iss_video_buf_cleanup() local
315 struct iss_buffer *buffer = container_of(vbuf, struct iss_buffer, vb); in iss_video_buf_cleanup()
323 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in iss_video_buf_prepare() local
325 struct iss_buffer *buffer = container_of(vbuf, struct iss_buffer, vb); in iss_video_buf_prepare()
347 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in iss_video_buf_queue() local
350 struct iss_buffer *buffer = container_of(vbuf, struct iss_buffer, vb); in iss_video_buf_queue()
/openbmc/linux/drivers/media/platform/st/sti/hva/
H A Dhva-h264.c818 stream->vbuf.flags |= V4L2_BUF_FLAG_KEYFRAME; in hva_h264_prepare_task()
821 stream->vbuf.flags &= ~V4L2_BUF_FLAG_KEYFRAME; in hva_h264_prepare_task()
843 if ((stream->vbuf.flags == V4L2_BUF_FLAG_KEYFRAME) && in hva_h264_prepare_task()
851 if (stream->vbuf.flags != V4L2_BUF_FLAG_KEYFRAME) in hva_h264_prepare_task()
/openbmc/linux/drivers/staging/media/imx/
H A Dimx-ic-prpencvf.c207 done->vbuf.field = vdev->fmt.field; in prp_vb2_buf_done()
208 done->vbuf.sequence = priv->frame_sequence; in prp_vb2_buf_done()
209 vb = &done->vbuf.vb2_buf; in prp_vb2_buf_done()
221 phys = vb2_dma_contig_plane_dma_addr(&next->vbuf.vb2_buf, 0); in prp_vb2_buf_done()
319 &buf->vbuf.vb2_buf, 0); in prp_setup_vb2_buf()
337 struct vb2_buffer *vb = &buf->vbuf.vb2_buf; in prp_unsetup_vb2_buf()
H A Dimx-media-csc-scaler.c449 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in ipu_csc_scaler_buf_prepare() local
457 if (vbuf->field == V4L2_FIELD_ANY) in ipu_csc_scaler_buf_prepare()
458 vbuf->field = V4L2_FIELD_NONE; in ipu_csc_scaler_buf_prepare()
459 if (vbuf->field != V4L2_FIELD_NONE) { in ipu_csc_scaler_buf_prepare()
/openbmc/u-boot/drivers/net/
H A Dftmac110.h140 void *vbuf; member
/openbmc/linux/drivers/media/usb/s2255/
H A Ds2255drv.c597 char *vbuf = vb2_plane_vaddr(&buf->vb.vb2_buf, 0); in s2255_fillbuff() local
601 if (!vbuf) in s2255_fillbuff()
611 vbuf, vc->width, in s2255_fillbuff()
616 memcpy(vbuf, tmpbuf, vc->width * vc->height); in s2255_fillbuff()
621 memcpy(vbuf, tmpbuf, jpgsize); in s2255_fillbuff()
624 memcpy(vbuf, tmpbuf, in s2255_fillbuff()
636 vbuf, pos); in s2255_fillbuff()
659 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in buffer_prepare() local
660 struct s2255_buffer *buf = container_of(vbuf, struct s2255_buffer, vb); in buffer_prepare()
688 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in buffer_queue() local
[all …]
/openbmc/linux/drivers/media/platform/amphion/
H A Dvpu.h314 static inline struct vpu_vb2_buffer *to_vpu_vb2_buffer(struct vb2_v4l2_buffer *vbuf) in to_vpu_vb2_buffer() argument
316 struct v4l2_m2m_buffer *m2m_buf = container_of(vbuf, struct v4l2_m2m_buffer, vb); in to_vpu_vb2_buffer()
/openbmc/linux/drivers/media/usb/dvb-usb/
H A Dcxusb.h145 struct cxusb_medion_vbuffer *vbuf; member
/openbmc/linux/drivers/input/rmi4/
H A Drmi_f54.c300 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in rmi_f54_buffer_queue() local
357 vbuf->field = V4L2_FIELD_NONE; in rmi_f54_buffer_queue()
358 vbuf->sequence = f54->sequence++; in rmi_f54_buffer_queue()
/openbmc/linux/drivers/media/pci/cx23885/
H A Dcx23885-417.c1139 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in buffer_prepare() local
1142 container_of(vbuf, struct cx23885_buffer, vb); in buffer_prepare()
1149 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in buffer_finish() local
1151 struct cx23885_buffer *buf = container_of(vbuf, in buffer_finish()
1159 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in buffer_queue() local
1161 struct cx23885_buffer *buf = container_of(vbuf, in buffer_queue()
H A Dcx23885-video.c346 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in buffer_prepare() local
349 container_of(vbuf, struct cx23885_buffer, vb); in buffer_prepare()
427 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in buffer_finish() local
428 struct cx23885_buffer *buf = container_of(vbuf, in buffer_finish()
457 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in buffer_queue() local
459 struct cx23885_buffer *buf = container_of(vbuf, in buffer_queue()
/openbmc/linux/drivers/media/test-drivers/vivid/
H A Dvivid-vid-out.c89 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in vid_out_buf_out_validate() local
95 vbuf->field = dev->field_out; in vid_out_buf_out_validate()
96 else if (vbuf->field != V4L2_FIELD_TOP && in vid_out_buf_out_validate()
97 vbuf->field != V4L2_FIELD_BOTTOM) in vid_out_buf_out_validate()
145 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in vid_out_buf_queue() local
147 struct vivid_buffer *buf = container_of(vbuf, struct vivid_buffer, vb); in vid_out_buf_queue()
/openbmc/linux/drivers/media/platform/intel/
H A Dpxa_camera.c634 struct vb2_v4l2_buffer vbuf; member
768 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in vb2_to_pxa_buffer() local
770 return container_of(vbuf, struct pxa_buffer, vbuf); in vb2_to_pxa_buffer()
944 struct vb2_buffer *vb = &buf->vbuf.vb2_buf; in pxa_camera_wakeup()
945 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in pxa_camera_wakeup() local
950 vbuf->sequence = pcdev->buf_sequence++; in pxa_camera_wakeup()
951 vbuf->field = V4L2_FIELD_NONE; in pxa_camera_wakeup()
1309 struct vb2_buffer *vb = &buf->vbuf.vb2_buf; in pxa_buffer_init()
/openbmc/linux/drivers/media/pci/ddbridge/
H A Dddbridge-core.c276 if (dma->vbuf[i]) { in dma_free()
282 kfree(dma->vbuf[i]); in dma_free()
283 dma->vbuf[i] = NULL; in dma_free()
286 dma->vbuf[i], dma->pbuf[i]); in dma_free()
289 dma->vbuf[i] = NULL; in dma_free()
303 if (!dma->vbuf[i]) in dma_alloc()
306 dma->vbuf[i], in dma_alloc()
311 kfree(dma->vbuf[i]); in dma_alloc()
312 dma->vbuf[i] = NULL; in dma_alloc()
320 if (!dma->vbuf[i]) in dma_alloc()
[all …]
/openbmc/linux/drivers/media/platform/ti/vpe/
H A Dvpe.c1086 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in add_in_dtd() local
1091 int field = vbuf->field == V4L2_FIELD_BOTTOM; in add_in_dtd()
2053 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in vpe_buf_prepare() local
2069 vbuf->field = V4L2_FIELD_NONE; in vpe_buf_prepare()
2071 if (vbuf->field != V4L2_FIELD_TOP && in vpe_buf_prepare()
2072 vbuf->field != V4L2_FIELD_BOTTOM && in vpe_buf_prepare()
2073 vbuf->field != V4L2_FIELD_SEQ_TB && in vpe_buf_prepare()
2074 vbuf->field != V4L2_FIELD_SEQ_BT) in vpe_buf_prepare()
2097 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in vpe_buf_queue() local
2100 v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbuf); in vpe_buf_queue()
/openbmc/linux/drivers/media/pci/cx18/
H A Dcx18-streams.c141 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in cx18_buf_queue() local
143 container_of(vbuf, struct cx18_vb2_buffer, vb); in cx18_buf_queue()
153 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in cx18_buf_prepare() local
170 vbuf->field = V4L2_FIELD_INTERLACED; in cx18_buf_prepare()
/openbmc/linux/drivers/media/pci/saa7134/
H A Dsaa7134-video.c718 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb2); in buffer_init() local
719 struct saa7134_buf *buf = container_of(vbuf, struct saa7134_buf, vb2); in buffer_init()
730 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb2); in buffer_prepare() local
731 struct saa7134_buf *buf = container_of(vbuf, struct saa7134_buf, vb2); in buffer_prepare()
744 vbuf->field = dev->field; in buffer_prepare()
782 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in saa7134_vb2_buffer_queue() local
783 struct saa7134_buf *buf = container_of(vbuf, struct saa7134_buf, vb2); in saa7134_vb2_buffer_queue()
/openbmc/linux/drivers/staging/media/sunxi/cedrus/
H A Dcedrus_h264.c74 struct vb2_buffer *vbuf = &buf->m2m_buf.vb.vb2_buf; in cedrus_fill_ref_pic() local
80 pic->luma_ptr = cpu_to_le32(cedrus_buf_addr(vbuf, &ctx->dst_fmt, 0)); in cedrus_fill_ref_pic()
81 pic->chroma_ptr = cpu_to_le32(cedrus_buf_addr(vbuf, &ctx->dst_fmt, 1)); in cedrus_fill_ref_pic()
/openbmc/linux/drivers/media/pci/netup_unidvb/
H A Dnetup_unidvb_core.c311 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in netup_unidvb_buf_prepare() local
312 struct netup_unidvb_buffer *buf = container_of(vbuf, in netup_unidvb_buf_prepare()
324 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in netup_unidvb_buf_queue() local
325 struct netup_unidvb_buffer *buf = container_of(vbuf, in netup_unidvb_buf_queue()

12345678