/third_party/mesa3d/src/gallium/auxiliary/draw/ |
H A D | draw_pipe_vbuf.c | 96 static void vbuf_flush_vertices(struct vbuf_stage *vbuf); 97 static void vbuf_alloc_vertices(struct vbuf_stage *vbuf); 101 check_space(struct vbuf_stage *vbuf, unsigned nr) in check_space() argument 103 if (vbuf->nr_vertices + nr > vbuf->max_vertices || in check_space() 104 vbuf->nr_indices + nr > vbuf->max_indices) { in check_space() 105 vbuf_flush_vertices(vbuf); in check_space() 106 vbuf_alloc_vertices(vbuf); in check_space() 119 emit_vertex(struct vbuf_stage *vbuf, struc argument 144 struct vbuf_stage *vbuf = vbuf_stage(stage); vbuf_tri() local 158 struct vbuf_stage *vbuf = vbuf_stage(stage); vbuf_line() local 172 struct vbuf_stage *vbuf = vbuf_stage(stage); vbuf_point() local 186 vbuf_start_prim(struct vbuf_stage *vbuf, uint prim) vbuf_start_prim() argument 270 struct vbuf_stage *vbuf = vbuf_stage(stage); vbuf_first_tri() local 282 struct vbuf_stage *vbuf = vbuf_stage(stage); vbuf_first_line() local 294 struct vbuf_stage *vbuf = vbuf_stage(stage); vbuf_first_point() local 308 vbuf_flush_vertices(struct vbuf_stage *vbuf) vbuf_flush_vertices() argument 345 vbuf_alloc_vertices(struct vbuf_stage *vbuf) vbuf_alloc_vertices() argument 377 struct vbuf_stage *vbuf = vbuf_stage(stage); vbuf_flush() local 395 struct vbuf_stage *vbuf = vbuf_stage(stage); vbuf_destroy() local 416 struct vbuf_stage *vbuf = CALLOC_STRUCT(vbuf_stage); draw_vbuf_stage() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/virtio/ |
H A D | virtgpu_vq.c | 92 struct virtio_gpu_vbuffer *vbuf; in virtio_gpu_get_vbuf() local 94 vbuf = kmem_cache_zalloc(vgdev->vbufs, GFP_KERNEL | __GFP_NOFAIL); in virtio_gpu_get_vbuf() 98 vbuf->buf = (void *)vbuf + sizeof(*vbuf); in virtio_gpu_get_vbuf() 99 vbuf->size = size; in virtio_gpu_get_vbuf() 101 vbuf->resp_cb = resp_cb; in virtio_gpu_get_vbuf() 102 vbuf->resp_size = resp_size; in virtio_gpu_get_vbuf() 104 vbuf->resp_buf = (void *)vbuf in virtio_gpu_get_vbuf() 112 virtio_gpu_vbuf_ctrl_hdr(struct virtio_gpu_vbuffer *vbuf) virtio_gpu_vbuf_ctrl_hdr() argument 125 struct virtio_gpu_vbuffer *vbuf; virtio_gpu_alloc_cursor() local 144 struct virtio_gpu_vbuffer *vbuf; virtio_gpu_alloc_cmd_resp() local 171 free_vbuf(struct virtio_gpu_device *vgdev, struct virtio_gpu_vbuffer *vbuf) free_vbuf() argument 182 struct virtio_gpu_vbuffer *vbuf; reclaim_vbufs() local 317 virtio_gpu_queue_ctrl_sgs(struct virtio_gpu_device *vgdev, struct virtio_gpu_vbuffer *vbuf, struct virtio_gpu_fence *fence, int elemcnt, struct scatterlist **sgs, int outcnt, int incnt) virtio_gpu_queue_ctrl_sgs() argument 373 virtio_gpu_queue_fenced_ctrl_buffer(struct virtio_gpu_device *vgdev, struct virtio_gpu_vbuffer *vbuf, struct virtio_gpu_fence *fence) virtio_gpu_queue_fenced_ctrl_buffer() argument 443 virtio_gpu_queue_ctrl_buffer(struct virtio_gpu_device *vgdev, struct virtio_gpu_vbuffer *vbuf) virtio_gpu_queue_ctrl_buffer() argument 449 virtio_gpu_queue_cursor(struct virtio_gpu_device *vgdev, struct virtio_gpu_vbuffer *vbuf) virtio_gpu_queue_cursor() argument 501 struct virtio_gpu_vbuffer *vbuf; virtio_gpu_cmd_create_resource() local 517 virtio_gpu_cmd_unref_cb(struct virtio_gpu_device *vgdev, struct virtio_gpu_vbuffer *vbuf) virtio_gpu_cmd_unref_cb() argument 532 struct virtio_gpu_vbuffer *vbuf; virtio_gpu_cmd_unref_resource() local 554 struct virtio_gpu_vbuffer *vbuf; virtio_gpu_cmd_set_scanout() local 576 struct virtio_gpu_vbuffer *vbuf; virtio_gpu_cmd_resource_flush() local 600 struct virtio_gpu_vbuffer *vbuf; virtio_gpu_cmd_transfer_to_host_2d() local 631 struct virtio_gpu_vbuffer *vbuf; virtio_gpu_cmd_resource_attach_backing() local 646 virtio_gpu_cmd_get_display_info_cb(struct virtio_gpu_device *vgdev, struct virtio_gpu_vbuffer *vbuf) virtio_gpu_cmd_get_display_info_cb() argument 675 virtio_gpu_cmd_get_capset_info_cb(struct virtio_gpu_device *vgdev, struct virtio_gpu_vbuffer *vbuf) virtio_gpu_cmd_get_capset_info_cb() argument 696 virtio_gpu_cmd_capset_cb(struct virtio_gpu_device *vgdev, struct virtio_gpu_vbuffer *vbuf) virtio_gpu_cmd_capset_cb() argument 733 virtio_gpu_cmd_get_edid_cb(struct virtio_gpu_device *vgdev, struct virtio_gpu_vbuffer *vbuf) virtio_gpu_cmd_get_edid_cb() argument 763 struct virtio_gpu_vbuffer *vbuf; virtio_gpu_cmd_get_display_info() local 786 struct virtio_gpu_vbuffer *vbuf; virtio_gpu_cmd_get_capset_info() local 811 struct virtio_gpu_vbuffer *vbuf; virtio_gpu_cmd_get_capset() local 885 struct virtio_gpu_vbuffer *vbuf; virtio_gpu_cmd_get_edids() local 914 struct virtio_gpu_vbuffer *vbuf; virtio_gpu_cmd_context_create() local 931 struct virtio_gpu_vbuffer *vbuf; virtio_gpu_cmd_context_destroy() local 947 struct virtio_gpu_vbuffer *vbuf; virtio_gpu_cmd_context_attach_resource() local 965 struct virtio_gpu_vbuffer *vbuf; virtio_gpu_cmd_context_detach_resource() local 985 struct virtio_gpu_vbuffer *vbuf; virtio_gpu_cmd_resource_create_3d() local 1019 struct virtio_gpu_vbuffer *vbuf; virtio_gpu_cmd_transfer_to_host_3d() local 1051 struct virtio_gpu_vbuffer *vbuf; virtio_gpu_cmd_transfer_from_host_3d() local 1075 struct virtio_gpu_vbuffer *vbuf; virtio_gpu_cmd_submit() local 1103 struct virtio_gpu_vbuffer *vbuf; virtio_gpu_cursor_ping() local 1112 virtio_gpu_cmd_resource_uuid_cb(struct virtio_gpu_device *vgdev, struct virtio_gpu_vbuffer *vbuf) virtio_gpu_cmd_resource_uuid_cb() argument 1142 struct virtio_gpu_vbuffer *vbuf; virtio_gpu_cmd_resource_assign_uuid() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/virtio/ |
H A D | virtgpu_vq.c | 94 struct virtio_gpu_vbuffer *vbuf; in virtio_gpu_get_vbuf() local 96 vbuf = kmem_cache_zalloc(vgdev->vbufs, GFP_KERNEL | __GFP_NOFAIL); in virtio_gpu_get_vbuf() 100 vbuf->buf = (void *)vbuf + sizeof(*vbuf); in virtio_gpu_get_vbuf() 101 vbuf->size = size; in virtio_gpu_get_vbuf() 103 vbuf->resp_cb = resp_cb; in virtio_gpu_get_vbuf() 104 vbuf->resp_size = resp_size; in virtio_gpu_get_vbuf() 106 vbuf->resp_buf = (void *)vbuf in virtio_gpu_get_vbuf() 114 virtio_gpu_vbuf_ctrl_hdr(struct virtio_gpu_vbuffer *vbuf) virtio_gpu_vbuf_ctrl_hdr() argument 127 struct virtio_gpu_vbuffer *vbuf; virtio_gpu_alloc_cursor() local 146 struct virtio_gpu_vbuffer *vbuf; virtio_gpu_alloc_cmd_resp() local 173 free_vbuf(struct virtio_gpu_device *vgdev, struct virtio_gpu_vbuffer *vbuf) free_vbuf() argument 184 struct virtio_gpu_vbuffer *vbuf; reclaim_vbufs() local 314 virtio_gpu_queue_ctrl_sgs(struct virtio_gpu_device *vgdev, struct virtio_gpu_vbuffer *vbuf, struct virtio_gpu_fence *fence, int elemcnt, struct scatterlist **sgs, int outcnt, int incnt) virtio_gpu_queue_ctrl_sgs() argument 371 virtio_gpu_queue_fenced_ctrl_buffer(struct virtio_gpu_device *vgdev, struct virtio_gpu_vbuffer *vbuf, struct virtio_gpu_fence *fence) virtio_gpu_queue_fenced_ctrl_buffer() argument 441 virtio_gpu_queue_ctrl_buffer(struct virtio_gpu_device *vgdev, struct virtio_gpu_vbuffer *vbuf) virtio_gpu_queue_ctrl_buffer() argument 447 virtio_gpu_queue_cursor(struct virtio_gpu_device *vgdev, struct virtio_gpu_vbuffer *vbuf) virtio_gpu_queue_cursor() argument 501 struct virtio_gpu_vbuffer *vbuf; virtio_gpu_cmd_create_resource() local 517 virtio_gpu_cmd_unref_cb(struct virtio_gpu_device *vgdev, struct virtio_gpu_vbuffer *vbuf) virtio_gpu_cmd_unref_cb() argument 532 struct virtio_gpu_vbuffer *vbuf; virtio_gpu_cmd_unref_resource() local 554 struct virtio_gpu_vbuffer *vbuf; virtio_gpu_cmd_set_scanout() local 578 struct virtio_gpu_vbuffer *vbuf; virtio_gpu_cmd_resource_flush() local 603 struct virtio_gpu_vbuffer *vbuf; virtio_gpu_cmd_transfer_to_host_2d() local 633 struct virtio_gpu_vbuffer *vbuf; virtio_gpu_cmd_resource_attach_backing() local 648 virtio_gpu_cmd_get_display_info_cb(struct virtio_gpu_device *vgdev, struct virtio_gpu_vbuffer *vbuf) virtio_gpu_cmd_get_display_info_cb() argument 677 virtio_gpu_cmd_get_capset_info_cb(struct virtio_gpu_device *vgdev, struct virtio_gpu_vbuffer *vbuf) virtio_gpu_cmd_get_capset_info_cb() argument 698 virtio_gpu_cmd_capset_cb(struct virtio_gpu_device *vgdev, struct virtio_gpu_vbuffer *vbuf) virtio_gpu_cmd_capset_cb() argument 735 virtio_gpu_cmd_get_edid_cb(struct virtio_gpu_device *vgdev, struct virtio_gpu_vbuffer *vbuf) virtio_gpu_cmd_get_edid_cb() argument 765 struct virtio_gpu_vbuffer *vbuf; virtio_gpu_cmd_get_display_info() local 788 struct virtio_gpu_vbuffer *vbuf; virtio_gpu_cmd_get_capset_info() local 813 struct virtio_gpu_vbuffer *vbuf; virtio_gpu_cmd_get_capset() local 887 struct virtio_gpu_vbuffer *vbuf; virtio_gpu_cmd_get_edids() local 917 struct virtio_gpu_vbuffer *vbuf; virtio_gpu_cmd_context_create() local 934 struct virtio_gpu_vbuffer *vbuf; virtio_gpu_cmd_context_destroy() local 950 struct virtio_gpu_vbuffer *vbuf; virtio_gpu_cmd_context_attach_resource() local 968 struct virtio_gpu_vbuffer *vbuf; virtio_gpu_cmd_context_detach_resource() local 988 struct virtio_gpu_vbuffer *vbuf; virtio_gpu_cmd_resource_create_3d() local 1024 struct virtio_gpu_vbuffer *vbuf; virtio_gpu_cmd_transfer_to_host_3d() local 1059 struct virtio_gpu_vbuffer *vbuf; virtio_gpu_cmd_transfer_from_host_3d() local 1085 struct virtio_gpu_vbuffer *vbuf; virtio_gpu_cmd_submit() local 1113 struct virtio_gpu_vbuffer *vbuf; virtio_gpu_cursor_ping() local 1122 virtio_gpu_cmd_resource_uuid_cb(struct virtio_gpu_device *vgdev, struct virtio_gpu_vbuffer *vbuf) virtio_gpu_cmd_resource_uuid_cb() argument 1152 struct virtio_gpu_vbuffer *vbuf; virtio_gpu_cmd_resource_assign_uuid() local 1177 virtio_gpu_cmd_resource_map_cb(struct virtio_gpu_device *vgdev, struct virtio_gpu_vbuffer *vbuf) virtio_gpu_cmd_resource_map_cb() argument 1205 struct virtio_gpu_vbuffer *vbuf; virtio_gpu_cmd_map() local 1230 struct virtio_gpu_vbuffer *vbuf; virtio_gpu_cmd_unmap() local 1249 struct virtio_gpu_vbuffer *vbuf; virtio_gpu_cmd_resource_create_blob() local 1279 struct virtio_gpu_vbuffer *vbuf; virtio_gpu_cmd_set_scanout_blob() local [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/amphion/ |
H A D | vpu_v4l2.c | 52 void vpu_set_buffer_state(struct vb2_v4l2_buffer *vbuf, unsigned int state) in vpu_set_buffer_state() argument 54 struct vpu_vb2_buffer *vpu_buf = to_vpu_vb2_buffer(vbuf); in vpu_set_buffer_state() 59 unsigned int vpu_get_buffer_state(struct vb2_v4l2_buffer *vbuf) in vpu_get_buffer_state() argument 61 struct vpu_vb2_buffer *vpu_buf = to_vpu_vb2_buffer(vbuf); in vpu_get_buffer_state() 283 struct vb2_v4l2_buffer *vbuf = NULL; in vpu_process_output_buffer() local 292 vbuf = &buf->vb; in vpu_process_output_buffer() 293 if (vpu_get_buffer_state(vbuf) == VPU_BUF_STATE_IDLE) in vpu_process_output_buffer() 295 vbuf = NULL; in vpu_process_output_buffer() 298 if (!vbuf) in vpu_process_output_buffer() 302 inst->id, vbuf in vpu_process_output_buffer() 309 struct vb2_v4l2_buffer *vbuf = NULL; vpu_process_capture_buffer() local 379 struct vb2_v4l2_buffer *vbuf = NULL; vpu_find_buf_by_sequence() local 406 struct vb2_v4l2_buffer *vbuf = NULL; vpu_find_buf_by_idx() local 502 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vpu_vb2_buf_init() local 510 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vpu_vb2_buf_out_validate() local 520 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vpu_vb2_buf_prepare() local 538 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vpu_vb2_buf_finish() local 613 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vpu_vb2_buf_queue() local [all...] |
H A D | vdec.c | 715 struct vb2_v4l2_buffer *vbuf; in vdec_frame_decoded() local 729 vbuf = &vpu_buf->m2m_buf.vb; in vdec_frame_decoded() 732 v4l2_m2m_buf_copy_metadata(src_buf, vbuf, true); in vdec_frame_decoded() 741 if (vpu_get_buffer_state(vbuf) == VPU_BUF_STATE_DECODED) in vdec_frame_decoded() 743 vpu_set_buffer_state(vbuf, VPU_BUF_STATE_DECODED); in vdec_frame_decoded() 749 vpu_set_buffer_state(vbuf, VPU_BUF_STATE_READY); in vdec_frame_decoded() 750 for (int i = 0; i < vbuf->vb2_buf.num_planes; i++) in vdec_frame_decoded() 751 vb2_set_plane_payload(&vbuf->vb2_buf, in vdec_frame_decoded() 753 vbuf->field = cur_fmt->field; in vdec_frame_decoded() 754 vbuf in vdec_frame_decoded() 786 struct vb2_v4l2_buffer *vbuf; vdec_buf_done() local 1038 vdec_response_frame(struct vpu_inst *inst, struct vb2_v4l2_buffer *vbuf) vdec_response_frame() argument 1138 vdec_recycle_buffer(struct vpu_inst *inst, struct vb2_v4l2_buffer *vbuf) vdec_recycle_buffer() argument 1153 struct vb2_v4l2_buffer *vbuf; vdec_clear_slots() local 1269 struct vb2_v4l2_buffer *vbuf; vdec_evnet_rel_fs() local 1351 struct vb2_v4l2_buffer *vbuf; vdec_process_output() local 1393 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); vdec_process_capture() local [all...] |
/kernel/linux/linux-5.10/drivers/staging/media/meson/vdec/ |
H A D | vdec_helpers.c | 274 struct vb2_v4l2_buffer *vbuf, in dst_buf_done() 283 vbuf->vb2_buf.planes[0].bytesused = output_size; in dst_buf_done() 284 vbuf->vb2_buf.planes[1].bytesused = output_size / 2; in dst_buf_done() 287 vbuf->vb2_buf.planes[0].bytesused = output_size; in dst_buf_done() 288 vbuf->vb2_buf.planes[1].bytesused = output_size / 4; in dst_buf_done() 289 vbuf->vb2_buf.planes[2].bytesused = output_size / 4; in dst_buf_done() 293 vbuf->vb2_buf.timestamp = timestamp; in dst_buf_done() 294 vbuf->sequence = sess->sequence_cap++; in dst_buf_done() 295 vbuf->flags = flags; in dst_buf_done() 296 vbuf in dst_buf_done() 273 dst_buf_done(struct amvdec_session *sess, struct vb2_v4l2_buffer *vbuf, u32 field, u64 timestamp, struct v4l2_timecode timecode, u32 flags) dst_buf_done() argument 323 amvdec_dst_buf_done(struct amvdec_session *sess, struct vb2_v4l2_buffer *vbuf, u32 field) amvdec_dst_buf_done() argument 357 amvdec_dst_buf_done_offset(struct amvdec_session *sess, struct vb2_v4l2_buffer *vbuf, u32 offset, u32 field, bool allow_drop) amvdec_dst_buf_done_offset() argument 409 struct vb2_v4l2_buffer *vbuf; amvdec_dst_buf_done_idx() local [all...] |
/kernel/linux/linux-6.6/drivers/staging/media/meson/vdec/ |
H A D | vdec_helpers.c | 274 struct vb2_v4l2_buffer *vbuf, in dst_buf_done() 283 vb2_set_plane_payload(&vbuf->vb2_buf, 0, output_size); in dst_buf_done() 284 vb2_set_plane_payload(&vbuf->vb2_buf, 1, output_size / 2); in dst_buf_done() 287 vb2_set_plane_payload(&vbuf->vb2_buf, 0, output_size); in dst_buf_done() 288 vb2_set_plane_payload(&vbuf->vb2_buf, 1, output_size / 4); in dst_buf_done() 289 vb2_set_plane_payload(&vbuf->vb2_buf, 2, output_size / 4); in dst_buf_done() 293 vbuf->vb2_buf.timestamp = timestamp; in dst_buf_done() 294 vbuf->sequence = sess->sequence_cap++; in dst_buf_done() 295 vbuf->flags = flags; in dst_buf_done() 296 vbuf in dst_buf_done() 273 dst_buf_done(struct amvdec_session *sess, struct vb2_v4l2_buffer *vbuf, u32 field, u64 timestamp, struct v4l2_timecode timecode, u32 flags) dst_buf_done() argument 323 amvdec_dst_buf_done(struct amvdec_session *sess, struct vb2_v4l2_buffer *vbuf, u32 field) amvdec_dst_buf_done() argument 357 amvdec_dst_buf_done_offset(struct amvdec_session *sess, struct vb2_v4l2_buffer *vbuf, u32 offset, u32 field, bool allow_drop) amvdec_dst_buf_done_offset() argument 409 struct vb2_v4l2_buffer *vbuf; amvdec_dst_buf_done_idx() local [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/sti/delta/ |
H A D | delta-v4l2.c | 28 #define to_au(__vbuf) container_of(__vbuf, struct delta_au, vbuf) 29 #define to_frame(__vbuf) container_of(__vbuf, struct delta_frame, vbuf) 69 ctx->name, au->vbuf.vb2_buf.index, au->dts, au->size, in dump_au() 73 ctx->name, au->vbuf.vb2_buf.index, au->dts, au->size, in dump_au() 92 struct vb2_v4l2_buffer *vbuf; in delta_au_done() local 94 vbuf = &au->vbuf; in delta_au_done() 95 vbuf->sequence = ctx->au_num++; in delta_au_done() 96 v4l2_m2m_buf_done(vbuf, err ? VB2_BUF_STATE_ERROR : VB2_BUF_STATE_DONE); in delta_au_done() 102 struct vb2_v4l2_buffer *vbuf; in delta_frame_done() local 119 struct vb2_v4l2_buffer *vbuf; requeue_free_frames() local 146 struct vb2_v4l2_buffer *vbuf = &frame->vbuf; delta_recycle() local 931 struct vb2_v4l2_buffer *vbuf; delta_run_work() local 1122 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); delta_vb2_au_prepare() local 1245 struct vb2_v4l2_buffer *vbuf; delta_get_free_frame() local 1301 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); delta_vb2_au_queue() local 1314 struct vb2_v4l2_buffer *vbuf = NULL; delta_vb2_au_start_streaming() local 1403 struct vb2_v4l2_buffer *vbuf; delta_vb2_au_stop_streaming() local 1468 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); delta_vb2_frame_prepare() local 1499 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); delta_vb2_frame_finish() local 1513 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); delta_vb2_frame_queue() local 1533 struct vb2_v4l2_buffer *vbuf; delta_vb2_frame_stop_streaming() local [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/st/sti/delta/ |
H A D | delta-v4l2.c | 28 #define to_au(__vbuf) container_of(__vbuf, struct delta_au, vbuf) 29 #define to_frame(__vbuf) container_of(__vbuf, struct delta_frame, vbuf) 69 ctx->name, au->vbuf.vb2_buf.index, au->dts, au->size, in dump_au() 73 ctx->name, au->vbuf.vb2_buf.index, au->dts, au->size, in dump_au() 92 struct vb2_v4l2_buffer *vbuf; in delta_au_done() local 94 vbuf = &au->vbuf; in delta_au_done() 95 vbuf->sequence = ctx->au_num++; in delta_au_done() 96 v4l2_m2m_buf_done(vbuf, err ? VB2_BUF_STATE_ERROR : VB2_BUF_STATE_DONE); in delta_au_done() 102 struct vb2_v4l2_buffer *vbuf; in delta_frame_done() local 119 struct vb2_v4l2_buffer *vbuf; requeue_free_frames() local 146 struct vb2_v4l2_buffer *vbuf = &frame->vbuf; delta_recycle() local 931 struct vb2_v4l2_buffer *vbuf; delta_run_work() local 1119 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); delta_vb2_au_prepare() local 1242 struct vb2_v4l2_buffer *vbuf; delta_get_free_frame() local 1298 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); delta_vb2_au_queue() local 1311 struct vb2_v4l2_buffer *vbuf = NULL; delta_vb2_au_start_streaming() local 1400 struct vb2_v4l2_buffer *vbuf; delta_vb2_au_stop_streaming() local 1465 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); delta_vb2_frame_prepare() local 1496 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); delta_vb2_frame_finish() local 1510 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); delta_vb2_frame_queue() local 1530 struct vb2_v4l2_buffer *vbuf; delta_vb2_frame_stop_streaming() local [all...] |
/kernel/linux/linux-5.10/include/trace/events/ |
H A D | v4l2.h | 204 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); 208 __entry->flags = vbuf->flags; 209 __entry->field = vbuf->field; 211 __entry->timecode_type = vbuf->timecode.type; 212 __entry->timecode_flags = vbuf->timecode.flags; 213 __entry->timecode_frames = vbuf->timecode.frames; 214 __entry->timecode_seconds = vbuf->timecode.seconds; 215 __entry->timecode_minutes = vbuf->timecode.minutes; 216 __entry->timecode_hours = vbuf->timecode.hours; 217 __entry->timecode_userbits0 = vbuf [all...] |
/kernel/linux/linux-6.6/include/trace/events/ |
H A D | v4l2.h | 204 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); 208 __entry->flags = vbuf->flags; 209 __entry->field = vbuf->field; 211 __entry->timecode_type = vbuf->timecode.type; 212 __entry->timecode_flags = vbuf->timecode.flags; 213 __entry->timecode_frames = vbuf->timecode.frames; 214 __entry->timecode_seconds = vbuf->timecode.seconds; 215 __entry->timecode_minutes = vbuf->timecode.minutes; 216 __entry->timecode_hours = vbuf->timecode.hours; 217 __entry->timecode_userbits0 = vbuf [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/rockchip/rga/ |
H A D | rga-buf.c | 53 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in rga_buf_queue() local 56 v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbuf); in rga_buf_queue() 63 struct vb2_v4l2_buffer *vbuf; in rga_buf_return_buffers() local 67 vbuf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); in rga_buf_return_buffers() 69 vbuf = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); in rga_buf_return_buffers() 70 if (!vbuf) in rga_buf_return_buffers() 72 v4l2_m2m_buf_done(vbuf, state); in rga_buf_return_buffers()
|
/kernel/linux/linux-6.6/drivers/media/platform/rockchip/rga/ |
H A D | rga-buf.c | 53 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in rga_buf_queue() local 56 v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbuf); in rga_buf_queue() 63 struct vb2_v4l2_buffer *vbuf; in rga_buf_return_buffers() local 67 vbuf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); in rga_buf_return_buffers() 69 vbuf = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); in rga_buf_return_buffers() 70 if (!vbuf) in rga_buf_return_buffers() 72 v4l2_m2m_buf_done(vbuf, state); in rga_buf_return_buffers()
|
/third_party/mesa3d/src/gallium/tests/graw/ |
H A D | fs-fragcoord.c | 56 struct pipe_vertex_buffer vbuf; in set_vertices() local 69 memset(&vbuf, 0, sizeof vbuf); in set_vertices() 71 vbuf.stride = sizeof(struct vertex); in set_vertices() 72 vbuf.buffer_offset = 0; in set_vertices() 73 vbuf.buffer.resource = pipe_buffer_create_with_data(info.ctx, in set_vertices() 79 info.ctx->set_vertex_buffers(info.ctx, 0, 1, 0, false, &vbuf); in set_vertices()
|
H A D | fs-write-z.c | 82 struct pipe_vertex_buffer vbuf; in set_vertices() local 95 memset(&vbuf, 0, sizeof vbuf); in set_vertices() 97 vbuf.stride = sizeof(struct vertex); in set_vertices() 98 vbuf.buffer_offset = 0; in set_vertices() 99 vbuf.buffer.resource = pipe_buffer_create_with_data(info.ctx, in set_vertices() 105 info.ctx->set_vertex_buffers(info.ctx, 0, 1, 0, false, &vbuf); in set_vertices()
|
H A D | fs-frontface.c | 78 struct pipe_vertex_buffer vbuf; in set_vertices() local 91 memset(&vbuf, 0, sizeof vbuf); in set_vertices() 93 vbuf.stride = sizeof(struct vertex); in set_vertices() 94 vbuf.buffer_offset = 0; in set_vertices() 95 vbuf.buffer.resource = pipe_buffer_create_with_data(info.ctx, in set_vertices() 101 info.ctx->set_vertex_buffers(info.ctx, 0, 1, 0, false, &vbuf); in set_vertices()
|
H A D | tri-large.c | 45 struct pipe_vertex_buffer vbuf; in set_vertices() local 58 memset(&vbuf, 0, sizeof vbuf); in set_vertices() 60 vbuf.stride = sizeof( struct vertex ); in set_vertices() 61 vbuf.buffer_offset = 0; in set_vertices() 62 vbuf.buffer.resource = pipe_buffer_create_with_data(info.ctx, in set_vertices() 68 info.ctx->set_vertex_buffers(info.ctx, 0, 1, 0, false, &vbuf); in set_vertices()
|
H A D | tri.c | 42 struct pipe_vertex_buffer vbuf; in set_vertices() local 55 memset(&vbuf, 0, sizeof vbuf); in set_vertices() 57 vbuf.stride = sizeof( struct vertex ); in set_vertices() 58 vbuf.buffer_offset = 0; in set_vertices() 59 vbuf.buffer.resource = pipe_buffer_create_with_data(info.ctx, in set_vertices() 65 info.ctx->set_vertex_buffers(info.ctx, 0, 1, 0, false, &vbuf); in set_vertices()
|
H A D | quad-tex.c | 43 struct pipe_vertex_buffer vbuf; in set_vertices() local 56 memset(&vbuf, 0, sizeof vbuf); in set_vertices() 58 vbuf.stride = sizeof( struct vertex ); in set_vertices() 59 vbuf.buffer_offset = 0; in set_vertices() 60 vbuf.buffer.resource = pipe_buffer_create_with_data(info.ctx, in set_vertices() 66 info.ctx->set_vertex_buffers(info.ctx, 0, 1, 0, false, &vbuf); in set_vertices()
|
H A D | tex-swizzle.c | 41 struct pipe_vertex_buffer vbuf; in set_vertices() local 54 memset(&vbuf, 0, sizeof vbuf); in set_vertices() 56 vbuf.stride = sizeof(struct vertex); in set_vertices() 57 vbuf.buffer_offset = 0; in set_vertices() 58 vbuf.buffer.resource = pipe_buffer_create_with_data(info.ctx, in set_vertices() 64 info.ctx->set_vertex_buffers(info.ctx, 0, 1, 0, false, &vbuf); in set_vertices()
|
H A D | tex-srgb.c | 59 struct pipe_vertex_buffer vbuf; in set_vertices() local 72 memset(&vbuf, 0, sizeof vbuf); in set_vertices() 74 vbuf.stride = sizeof(struct vertex); in set_vertices() 75 vbuf.buffer_offset = 0; in set_vertices() 76 vbuf.buffer.resource = pipe_buffer_create_with_data(info.ctx, in set_vertices() 82 info.ctx->set_vertex_buffers(info.ctx, 0, 1, 0, false, &vbuf); in set_vertices()
|
H A D | tri-instanced.c | 111 struct pipe_vertex_buffer vbuf[2]; in set_vertices() local 135 memset(&vbuf, 0, sizeof vbuf); in set_vertices() 138 vbuf[0].stride = sizeof( struct vertex ); in set_vertices() 139 vbuf[0].buffer_offset = 0; in set_vertices() 140 vbuf[0].buffer.resource = pipe_buffer_create_with_data(ctx, in set_vertices() 147 vbuf[1].stride = sizeof( inst_data[0] ); in set_vertices() 148 vbuf[1].buffer_offset = 0; in set_vertices() 149 vbuf[1].buffer.resource = pipe_buffer_create_with_data(ctx, in set_vertices() 155 ctx->set_vertex_buffers(ctx, 0, 2, 0, false, vbuf); in set_vertices() [all...] |
/kernel/linux/linux-5.10/drivers/media/common/videobuf2/ |
H A D | videobuf2-v4l2.c | 136 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in __init_vb2_v4l2_buffer() local 138 vbuf->request_fd = -1; in __init_vb2_v4l2_buffer() 144 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in __copy_timestamp() local 154 vbuf->flags |= b->flags & V4L2_BUF_FLAG_TIMECODE; in __copy_timestamp() 156 vbuf->timecode = b->timecode; in __copy_timestamp() 179 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in vb2_fill_vb2_v4l2_buffer() local 180 struct vb2_plane *planes = vbuf->planes; in vb2_fill_vb2_v4l2_buffer() 202 vbuf->sequence = 0; in vb2_fill_vb2_v4l2_buffer() 203 vbuf->request_fd = -1; in vb2_fill_vb2_v4l2_buffer() 204 vbuf in vb2_fill_vb2_v4l2_buffer() 397 struct vb2_v4l2_buffer *vbuf; vb2_queue_or_prepare_buf() local 525 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); __fill_v4l2_buffer() local 633 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); __fill_vb2_buffer() local [all...] |
/kernel/linux/linux-6.6/drivers/media/common/videobuf2/ |
H A D | videobuf2-v4l2.c | 136 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in __init_vb2_v4l2_buffer() local 138 vbuf->request_fd = -1; in __init_vb2_v4l2_buffer() 144 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in __copy_timestamp() local 154 vbuf->flags |= b->flags & V4L2_BUF_FLAG_TIMECODE; in __copy_timestamp() 156 vbuf->timecode = b->timecode; in __copy_timestamp() 179 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in vb2_fill_vb2_v4l2_buffer() local 180 struct vb2_plane *planes = vbuf->planes; in vb2_fill_vb2_v4l2_buffer() 202 vbuf->sequence = 0; in vb2_fill_vb2_v4l2_buffer() 203 vbuf->request_fd = -1; in vb2_fill_vb2_v4l2_buffer() 204 vbuf in vb2_fill_vb2_v4l2_buffer() 372 struct vb2_v4l2_buffer *vbuf; vb2_queue_or_prepare_buf() local 495 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); __fill_v4l2_buffer() local 603 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); __fill_vb2_buffer() local [all...] |
/third_party/mesa3d/src/gallium/winsys/svga/drm/ |
H A D | vmw_surface.c | 62 struct svga_winsys_buffer *vbuf = in vmw_svga_winsys_surface_init() local 65 data = vmw_svga_winsys_buffer_map(&vws->base, vbuf, pb_flags); in vmw_svga_winsys_surface_init() 70 vsrf->buf = vbuf; in vmw_svga_winsys_surface_init() 73 vmw_svga_winsys_buffer_destroy(&vws->base, vbuf); in vmw_svga_winsys_surface_init() 176 struct svga_winsys_buffer *vbuf = in vmw_svga_winsys_surface_map() local 179 data = vmw_svga_winsys_buffer_map(&vws->base, vbuf, pb_flags); in vmw_svga_winsys_surface_map() 189 vsrf->buf = vbuf; in vmw_svga_winsys_surface_map() 198 vmw_svga_winsys_buffer_destroy(&vws->base, vbuf); in vmw_svga_winsys_surface_map()
|