Home
last modified time | relevance | path

Searched refs:vbuf (Results 251 - 275 of 407) sorted by relevance

1...<<11121314151617

/kernel/linux/linux-5.10/drivers/media/platform/
H A Dpxa_camera.c635 struct vb2_v4l2_buffer vbuf; member
772 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in vb2_to_pxa_buffer() local
774 return container_of(vbuf, struct pxa_buffer, vbuf); in vb2_to_pxa_buffer()
948 struct vb2_buffer *vb = &buf->vbuf.vb2_buf; in pxa_camera_wakeup()
949 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in pxa_camera_wakeup() local
954 vbuf->sequence = pcdev->buf_sequence++; in pxa_camera_wakeup()
955 vbuf->field = V4L2_FIELD_NONE; in pxa_camera_wakeup()
1313 struct vb2_buffer *vb = &buf->vbuf.vb2_buf; in pxa_buffer_init()
/kernel/linux/linux-5.10/drivers/media/platform/rcar-vin/
H A Drcar-dma.c881 struct vb2_v4l2_buffer *vbuf; in rvin_fill_hw_slot() local
892 vbuf = vin->buf_hw[prev].buffer; in rvin_fill_hw_slot()
893 vin->buf_hw[slot].buffer = vbuf; in rvin_fill_hw_slot()
913 vbuf = &buf->vb; in rvin_fill_hw_slot()
914 list_del_init(to_buf_list(vbuf)); in rvin_fill_hw_slot()
915 vin->buf_hw[slot].buffer = vbuf; in rvin_fill_hw_slot()
922 phys_addr = vb2_dma_contig_plane_dma_addr(&vbuf->vb2_buf, 0); in rvin_fill_hw_slot()
1121 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in rvin_buffer_queue() local
1127 list_add_tail(to_buf_list(vbuf), &vin->buf_list); in rvin_buffer_queue()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/drivers/media/platform/renesas/rcar-vin/
H A Drcar-dma.c998 struct vb2_v4l2_buffer *vbuf; in rvin_fill_hw_slot() local
1009 vbuf = vin->buf_hw[prev].buffer; in rvin_fill_hw_slot()
1010 vin->buf_hw[slot].buffer = vbuf; in rvin_fill_hw_slot()
1031 vbuf = &buf->vb; in rvin_fill_hw_slot()
1032 list_del_init(to_buf_list(vbuf)); in rvin_fill_hw_slot()
1033 vin->buf_hw[slot].buffer = vbuf; in rvin_fill_hw_slot()
1040 phys_addr = vb2_dma_contig_plane_dma_addr(&vbuf->vb2_buf, 0); in rvin_fill_hw_slot()
1224 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in rvin_buffer_queue() local
1230 list_add_tail(to_buf_list(vbuf), &vin->buf_list); in rvin_buffer_queue()
/kernel/linux/linux-5.10/drivers/media/pci/ddbridge/
H A Dddbridge-core.c285 if (dma->vbuf[i]) { in dma_free()
291 kfree(dma->vbuf[i]); in dma_free()
292 dma->vbuf[i] = NULL; in dma_free()
295 dma->vbuf[i], dma->pbuf[i]); in dma_free()
298 dma->vbuf[i] = NULL; in dma_free()
311 dma->vbuf[i] = kmalloc(dma->size, __GFP_RETRY_MAYFAIL); in dma_alloc()
312 if (!dma->vbuf[i]) in dma_alloc()
315 dma->vbuf[i], in dma_alloc()
320 kfree(dma->vbuf[i]); in dma_alloc()
321 dma->vbuf[ in dma_alloc()
[all...]
/kernel/linux/linux-6.6/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()
302 dma->vbuf[i] = kmalloc(dma->size, __GFP_RETRY_MAYFAIL); in dma_alloc()
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[ in dma_alloc()
[all...]
/kernel/linux/linux-5.10/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 in buffer_queue() local
[all...]
/kernel/linux/linux-6.6/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 in buffer_queue() local
[all...]
/kernel/linux/linux-5.10/drivers/media/platform/sti/hva/
H A Dhva-h264.c816 stream->vbuf.flags |= V4L2_BUF_FLAG_KEYFRAME; in hva_h264_prepare_task()
819 stream->vbuf.flags &= ~V4L2_BUF_FLAG_KEYFRAME; in hva_h264_prepare_task()
841 if ((stream->vbuf.flags == V4L2_BUF_FLAG_KEYFRAME) && in hva_h264_prepare_task()
849 if (stream->vbuf.flags != V4L2_BUF_FLAG_KEYFRAME) in hva_h264_prepare_task()
/kernel/linux/linux-5.10/drivers/staging/media/imx/
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()
/kernel/linux/linux-6.6/drivers/staging/media/imx/
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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/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()
/third_party/mesa3d/src/gallium/tools/trace/
H A Ddump_state.py542 vbuf = self._state.vertex_buffers[velem.vertex_buffer_index]
543 resource = vbuf.buffer_resource
549 offset = vbuf.buffer_offset + velem.src_offset + vbuf.stride*index
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
H A Dconfig_winreg.c602 char vbuf[10]; in wpa_config_write_global() local
603 os_snprintf(vbuf, sizeof(vbuf), "%08x", in wpa_config_write_global()
605 wpa_config_write_reg_string(hk, "os_version", vbuf); in wpa_config_write_global()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
H A Dconfig_winreg.c611 char vbuf[10]; in wpa_config_write_global() local
612 os_snprintf(vbuf, sizeof(vbuf), "%08x", in wpa_config_write_global()
614 wpa_config_write_reg_string(hk, "os_version", vbuf); in wpa_config_write_global()
/kernel/linux/linux-6.6/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()
1885 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in mxc_jpeg_buf_queue() local
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()
1922 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); mxc_jpeg_buf_out_validate() local
1931 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); mxc_jpeg_buf_prepare() local
[all...]
/kernel/linux/linux-5.10/drivers/input/rmi4/
H A Drmi_f54.c294 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in rmi_f54_buffer_queue() local
351 vbuf->field = V4L2_FIELD_NONE; in rmi_f54_buffer_queue()
352 vbuf->sequence = f54->sequence++; in rmi_f54_buffer_queue()
/kernel/linux/linux-6.6/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()
/third_party/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_context.h172 struct draw_stage *vbuf; member
/third_party/mesa3d/src/gallium/auxiliary/hud/
H A Dhud_private.h90 struct pipe_vertex_buffer vbuf; member
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/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()
2055 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in vpe_buf_prepare() local
2071 vbuf->field = V4L2_FIELD_NONE; in vpe_buf_prepare()
2073 if (vbuf->field != V4L2_FIELD_TOP && in vpe_buf_prepare()
2074 vbuf->field != V4L2_FIELD_BOTTOM && in vpe_buf_prepare()
2075 vbuf->field != V4L2_FIELD_SEQ_TB && in vpe_buf_prepare()
2076 vbuf->field != V4L2_FIELD_SEQ_BT) in vpe_buf_prepare()
2099 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in vpe_buf_queue() local
2102 v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbuf); in vpe_buf_queue()
[all...]
/kernel/linux/linux-6.6/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()
[all...]

Completed in 47 milliseconds

1...<<11121314151617