/kernel/linux/linux-5.10/include/media/ |
H A D | v4l2-mem2mem.h | 147 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx 150 struct vb2_queue *v4l2_m2m_get_vq(struct v4l2_m2m_ctx *m2m_ctx, 157 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx 174 void v4l2_m2m_try_schedule(struct v4l2_m2m_ctx *m2m_ctx); 181 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx 192 struct v4l2_m2m_ctx *m2m_ctx); 200 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx 218 struct v4l2_m2m_ctx *m2m_ctx, 230 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx 233 v4l2_m2m_clear_state(struct v4l2_m2m_ctx *m2m_ctx) in v4l2_m2m_clear_state() argument 246 v4l2_m2m_mark_stopped(struct v4l2_m2m_ctx *m2m_ctx) v4l2_m2m_mark_stopped() argument 263 v4l2_m2m_dst_buf_is_last(struct v4l2_m2m_ctx *m2m_ctx) v4l2_m2m_dst_buf_is_last() argument 275 v4l2_m2m_has_stopped(struct v4l2_m2m_ctx *m2m_ctx) v4l2_m2m_has_stopped() argument 292 v4l2_m2m_is_last_draining_src_buf(struct v4l2_m2m_ctx *m2m_ctx, struct vb2_v4l2_buffer *vbuf) v4l2_m2m_is_last_draining_src_buf() argument 550 v4l2_m2m_set_src_buffered(struct v4l2_m2m_ctx *m2m_ctx, bool buffered) v4l2_m2m_set_src_buffered() argument 556 v4l2_m2m_set_dst_buffered(struct v4l2_m2m_ctx *m2m_ctx, bool buffered) v4l2_m2m_set_dst_buffered() argument 589 v4l2_m2m_num_src_bufs_ready(struct v4l2_m2m_ctx *m2m_ctx) v4l2_m2m_num_src_bufs_ready() argument 608 v4l2_m2m_num_dst_bufs_ready(struct v4l2_m2m_ctx *m2m_ctx) v4l2_m2m_num_dst_bufs_ready() argument 634 v4l2_m2m_next_src_buf(struct v4l2_m2m_ctx *m2m_ctx) v4l2_m2m_next_src_buf() argument 646 v4l2_m2m_next_dst_buf(struct v4l2_m2m_ctx *m2m_ctx) v4l2_m2m_next_dst_buf() argument 665 v4l2_m2m_last_src_buf(struct v4l2_m2m_ctx *m2m_ctx) v4l2_m2m_last_src_buf() argument 677 v4l2_m2m_last_dst_buf(struct v4l2_m2m_ctx *m2m_ctx) v4l2_m2m_last_dst_buf() argument 729 v4l2_m2m_get_src_vq(struct v4l2_m2m_ctx *m2m_ctx) v4l2_m2m_get_src_vq() argument 740 v4l2_m2m_get_dst_vq(struct v4l2_m2m_ctx *m2m_ctx) v4l2_m2m_get_dst_vq() argument 760 v4l2_m2m_src_buf_remove(struct v4l2_m2m_ctx *m2m_ctx) v4l2_m2m_src_buf_remove() argument 772 v4l2_m2m_dst_buf_remove(struct v4l2_m2m_ctx *m2m_ctx) v4l2_m2m_dst_buf_remove() argument 794 v4l2_m2m_src_buf_remove_by_buf(struct v4l2_m2m_ctx *m2m_ctx, struct vb2_v4l2_buffer *vbuf) v4l2_m2m_src_buf_remove_by_buf() argument 807 v4l2_m2m_dst_buf_remove_by_buf(struct v4l2_m2m_ctx *m2m_ctx, struct vb2_v4l2_buffer *vbuf) v4l2_m2m_dst_buf_remove_by_buf() argument 817 v4l2_m2m_src_buf_remove_by_idx(struct v4l2_m2m_ctx *m2m_ctx, unsigned int idx) v4l2_m2m_src_buf_remove_by_idx() argument 823 v4l2_m2m_dst_buf_remove_by_idx(struct v4l2_m2m_ctx *m2m_ctx, unsigned int idx) v4l2_m2m_dst_buf_remove_by_idx() argument [all...] |
/kernel/linux/linux-6.6/include/media/ |
H A D | v4l2-mem2mem.h | 147 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx 150 struct vb2_queue *v4l2_m2m_get_vq(struct v4l2_m2m_ctx *m2m_ctx, 157 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx 174 void v4l2_m2m_try_schedule(struct v4l2_m2m_ctx *m2m_ctx); 181 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx 192 struct v4l2_m2m_ctx *m2m_ctx); 200 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx 218 struct v4l2_m2m_ctx *m2m_ctx, 230 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx 233 v4l2_m2m_clear_state(struct v4l2_m2m_ctx *m2m_ctx) in v4l2_m2m_clear_state() argument 246 v4l2_m2m_mark_stopped(struct v4l2_m2m_ctx *m2m_ctx) v4l2_m2m_mark_stopped() argument 263 v4l2_m2m_dst_buf_is_last(struct v4l2_m2m_ctx *m2m_ctx) v4l2_m2m_dst_buf_is_last() argument 275 v4l2_m2m_has_stopped(struct v4l2_m2m_ctx *m2m_ctx) v4l2_m2m_has_stopped() argument 292 v4l2_m2m_is_last_draining_src_buf(struct v4l2_m2m_ctx *m2m_ctx, struct vb2_v4l2_buffer *vbuf) v4l2_m2m_is_last_draining_src_buf() argument 555 v4l2_m2m_set_src_buffered(struct v4l2_m2m_ctx *m2m_ctx, bool buffered) v4l2_m2m_set_src_buffered() argument 561 v4l2_m2m_set_dst_buffered(struct v4l2_m2m_ctx *m2m_ctx, bool buffered) v4l2_m2m_set_dst_buffered() argument 594 v4l2_m2m_num_src_bufs_ready(struct v4l2_m2m_ctx *m2m_ctx) v4l2_m2m_num_src_bufs_ready() argument 613 v4l2_m2m_num_dst_bufs_ready(struct v4l2_m2m_ctx *m2m_ctx) v4l2_m2m_num_dst_bufs_ready() argument 639 v4l2_m2m_next_src_buf(struct v4l2_m2m_ctx *m2m_ctx) v4l2_m2m_next_src_buf() argument 651 v4l2_m2m_next_dst_buf(struct v4l2_m2m_ctx *m2m_ctx) v4l2_m2m_next_dst_buf() argument 670 v4l2_m2m_last_src_buf(struct v4l2_m2m_ctx *m2m_ctx) v4l2_m2m_last_src_buf() argument 682 v4l2_m2m_last_dst_buf(struct v4l2_m2m_ctx *m2m_ctx) v4l2_m2m_last_dst_buf() argument 734 v4l2_m2m_get_src_vq(struct v4l2_m2m_ctx *m2m_ctx) v4l2_m2m_get_src_vq() argument 745 v4l2_m2m_get_dst_vq(struct v4l2_m2m_ctx *m2m_ctx) v4l2_m2m_get_dst_vq() argument 765 v4l2_m2m_src_buf_remove(struct v4l2_m2m_ctx *m2m_ctx) v4l2_m2m_src_buf_remove() argument 777 v4l2_m2m_dst_buf_remove(struct v4l2_m2m_ctx *m2m_ctx) v4l2_m2m_dst_buf_remove() argument 799 v4l2_m2m_src_buf_remove_by_buf(struct v4l2_m2m_ctx *m2m_ctx, struct vb2_v4l2_buffer *vbuf) v4l2_m2m_src_buf_remove_by_buf() argument 812 v4l2_m2m_dst_buf_remove_by_buf(struct v4l2_m2m_ctx *m2m_ctx, struct vb2_v4l2_buffer *vbuf) v4l2_m2m_dst_buf_remove_by_buf() argument 822 v4l2_m2m_src_buf_remove_by_idx(struct v4l2_m2m_ctx *m2m_ctx, unsigned int idx) v4l2_m2m_src_buf_remove_by_idx() argument 828 v4l2_m2m_dst_buf_remove_by_idx(struct v4l2_m2m_ctx *m2m_ctx, unsigned int idx) v4l2_m2m_dst_buf_remove_by_idx() argument [all...] |
/kernel/linux/linux-6.6/drivers/media/v4l2-core/ |
H A D | v4l2-mem2mem.c | 114 static struct v4l2_m2m_queue_ctx *get_queue_ctx(struct v4l2_m2m_ctx *m2m_ctx, in get_queue_ctx() argument 118 return &m2m_ctx->out_q_ctx; in get_queue_ctx() 120 return &m2m_ctx->cap_q_ctx; in get_queue_ctx() 123 struct vb2_queue *v4l2_m2m_get_vq(struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_get_vq() argument 128 q_ctx = get_queue_ctx(m2m_ctx, type); in v4l2_m2m_get_vq() 283 dprintk("Running job on m2m_ctx: %p\n", m2m_dev->curr_ctx); in v4l2_m2m_try_run() 290 * @m2m_ctx: m2m context 297 struct v4l2_m2m_ctx *m2m_ctx) in __v4l2_m2m_try_queue() 302 dprintk("Trying to schedule a job for m2m_ctx: %p\n", m2m_ctx); in __v4l2_m2m_try_queue() 296 __v4l2_m2m_try_queue(struct v4l2_m2m_dev *m2m_dev, struct v4l2_m2m_ctx *m2m_ctx) __v4l2_m2m_try_queue() argument 386 v4l2_m2m_try_schedule(struct v4l2_m2m_ctx *m2m_ctx) v4l2_m2m_try_schedule() argument 416 v4l2_m2m_cancel_job(struct v4l2_m2m_ctx *m2m_ctx) v4l2_m2m_cancel_job() argument 448 v4l2_m2m_schedule_next_job(struct v4l2_m2m_dev *m2m_dev, struct v4l2_m2m_ctx *m2m_ctx) v4l2_m2m_schedule_next_job() argument 469 _v4l2_m2m_job_finish(struct v4l2_m2m_dev *m2m_dev, struct v4l2_m2m_ctx *m2m_ctx) _v4l2_m2m_job_finish() argument 484 v4l2_m2m_job_finish(struct v4l2_m2m_dev *m2m_dev, struct v4l2_m2m_ctx *m2m_ctx) v4l2_m2m_job_finish() argument 506 v4l2_m2m_buf_done_and_job_finish(struct v4l2_m2m_dev *m2m_dev, struct v4l2_m2m_ctx *m2m_ctx, enum vb2_buffer_state state) v4l2_m2m_buf_done_and_job_finish() argument 572 v4l2_m2m_reqbufs(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, struct v4l2_requestbuffers *reqbufs) v4l2_m2m_reqbufs() argument 606 v4l2_m2m_querybuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, struct v4l2_buffer *buf) v4l2_m2m_querybuf() argument 631 v4l2_m2m_last_buffer_done(struct v4l2_m2m_ctx *m2m_ctx, struct vb2_v4l2_buffer *vbuf) v4l2_m2m_last_buffer_done() argument 642 v4l2_update_last_buf_state(struct v4l2_m2m_ctx *m2m_ctx) v4l2_update_last_buf_state() argument 688 v4l2_m2m_update_start_streaming_state(struct v4l2_m2m_ctx *m2m_ctx, struct vb2_queue *q) v4l2_m2m_update_start_streaming_state() argument 701 v4l2_m2m_update_stop_streaming_state(struct v4l2_m2m_ctx *m2m_ctx, struct vb2_queue *q) v4l2_m2m_update_stop_streaming_state() argument 729 v4l2_m2m_force_last_buf_done(struct v4l2_m2m_ctx *m2m_ctx, struct vb2_queue *q) v4l2_m2m_force_last_buf_done() argument 758 v4l2_m2m_qbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, struct v4l2_buffer *buf) v4l2_m2m_qbuf() argument 797 v4l2_m2m_dqbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, struct v4l2_buffer *buf) v4l2_m2m_dqbuf() argument 815 v4l2_m2m_prepare_buf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, struct v4l2_buffer *buf) v4l2_m2m_prepare_buf() argument 834 v4l2_m2m_create_bufs(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, struct v4l2_create_buffers *create) v4l2_m2m_create_bufs() argument 844 v4l2_m2m_expbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, struct v4l2_exportbuffer *eb) v4l2_m2m_expbuf() argument 854 v4l2_m2m_streamon(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, enum v4l2_buf_type type) v4l2_m2m_streamon() argument 869 v4l2_m2m_streamoff(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, enum v4l2_buf_type type) v4l2_m2m_streamoff() argument 909 v4l2_m2m_poll_for_data(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, struct poll_table_struct *wait) v4l2_m2m_poll_for_data() argument 948 v4l2_m2m_poll(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, struct poll_table_struct *wait) v4l2_m2m_poll() argument 982 v4l2_m2m_mmap(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, struct vm_area_struct *vma) v4l2_m2m_mmap() argument 1225 struct v4l2_m2m_ctx *m2m_ctx; v4l2_m2m_ctx_init() local 1268 v4l2_m2m_ctx_release(struct v4l2_m2m_ctx *m2m_ctx) v4l2_m2m_ctx_release() argument 1280 v4l2_m2m_buf_queue(struct v4l2_m2m_ctx *m2m_ctx, struct vb2_v4l2_buffer *vbuf) v4l2_m2m_buf_queue() argument 1323 struct v4l2_m2m_ctx *m2m_ctx = NULL; v4l2_m2m_request_queue() local 1482 v4l2_m2m_encoder_cmd(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, struct v4l2_encoder_cmd *ec) v4l2_m2m_encoder_cmd() argument 1505 v4l2_m2m_decoder_cmd(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, struct v4l2_decoder_cmd *dc) v4l2_m2m_decoder_cmd() argument 1611 struct v4l2_m2m_ctx *m2m_ctx = fh->m2m_ctx; v4l2_m2m_fop_poll() local [all...] |
/kernel/linux/linux-5.10/drivers/media/v4l2-core/ |
H A D | v4l2-mem2mem.c | 114 static struct v4l2_m2m_queue_ctx *get_queue_ctx(struct v4l2_m2m_ctx *m2m_ctx, in get_queue_ctx() argument 118 return &m2m_ctx->out_q_ctx; in get_queue_ctx() 120 return &m2m_ctx->cap_q_ctx; in get_queue_ctx() 123 struct vb2_queue *v4l2_m2m_get_vq(struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_get_vq() argument 128 q_ctx = get_queue_ctx(m2m_ctx, type); in v4l2_m2m_get_vq() 283 dprintk("Running job on m2m_ctx: %p\n", m2m_dev->curr_ctx); in v4l2_m2m_try_run() 290 * @m2m_ctx: m2m context 297 struct v4l2_m2m_ctx *m2m_ctx) in __v4l2_m2m_try_queue() 302 dprintk("Trying to schedule a job for m2m_ctx: %p\n", m2m_ctx); in __v4l2_m2m_try_queue() 296 __v4l2_m2m_try_queue(struct v4l2_m2m_dev *m2m_dev, struct v4l2_m2m_ctx *m2m_ctx) __v4l2_m2m_try_queue() argument 385 v4l2_m2m_try_schedule(struct v4l2_m2m_ctx *m2m_ctx) v4l2_m2m_try_schedule() argument 415 v4l2_m2m_cancel_job(struct v4l2_m2m_ctx *m2m_ctx) v4l2_m2m_cancel_job() argument 447 v4l2_m2m_schedule_next_job(struct v4l2_m2m_dev *m2m_dev, struct v4l2_m2m_ctx *m2m_ctx) v4l2_m2m_schedule_next_job() argument 468 _v4l2_m2m_job_finish(struct v4l2_m2m_dev *m2m_dev, struct v4l2_m2m_ctx *m2m_ctx) _v4l2_m2m_job_finish() argument 483 v4l2_m2m_job_finish(struct v4l2_m2m_dev *m2m_dev, struct v4l2_m2m_ctx *m2m_ctx) v4l2_m2m_job_finish() argument 505 v4l2_m2m_buf_done_and_job_finish(struct v4l2_m2m_dev *m2m_dev, struct v4l2_m2m_ctx *m2m_ctx, enum vb2_buffer_state state) v4l2_m2m_buf_done_and_job_finish() argument 571 v4l2_m2m_reqbufs(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, struct v4l2_requestbuffers *reqbufs) v4l2_m2m_reqbufs() argument 605 v4l2_m2m_querybuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, struct v4l2_buffer *buf) v4l2_m2m_querybuf() argument 630 v4l2_m2m_last_buffer_done(struct v4l2_m2m_ctx *m2m_ctx, struct vb2_v4l2_buffer *vbuf) v4l2_m2m_last_buffer_done() argument 641 v4l2_update_last_buf_state(struct v4l2_m2m_ctx *m2m_ctx) v4l2_update_last_buf_state() argument 687 v4l2_m2m_update_start_streaming_state(struct v4l2_m2m_ctx *m2m_ctx, struct vb2_queue *q) v4l2_m2m_update_start_streaming_state() argument 700 v4l2_m2m_update_stop_streaming_state(struct v4l2_m2m_ctx *m2m_ctx, struct vb2_queue *q) v4l2_m2m_update_stop_streaming_state() argument 728 v4l2_m2m_force_last_buf_done(struct v4l2_m2m_ctx *m2m_ctx, struct vb2_queue *q) v4l2_m2m_force_last_buf_done() argument 757 v4l2_m2m_qbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, struct v4l2_buffer *buf) v4l2_m2m_qbuf() argument 796 v4l2_m2m_dqbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, struct v4l2_buffer *buf) v4l2_m2m_dqbuf() argument 814 v4l2_m2m_prepare_buf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, struct v4l2_buffer *buf) v4l2_m2m_prepare_buf() argument 833 v4l2_m2m_create_bufs(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, struct v4l2_create_buffers *create) v4l2_m2m_create_bufs() argument 843 v4l2_m2m_expbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, struct v4l2_exportbuffer *eb) v4l2_m2m_expbuf() argument 853 v4l2_m2m_streamon(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, enum v4l2_buf_type type) v4l2_m2m_streamon() argument 868 v4l2_m2m_streamoff(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, enum v4l2_buf_type type) v4l2_m2m_streamoff() argument 908 v4l2_m2m_poll_for_data(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, struct poll_table_struct *wait) v4l2_m2m_poll_for_data() argument 950 v4l2_m2m_poll(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, struct poll_table_struct *wait) v4l2_m2m_poll() argument 972 v4l2_m2m_mmap(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, struct vm_area_struct *vma) v4l2_m2m_mmap() argument 1194 struct v4l2_m2m_ctx *m2m_ctx; v4l2_m2m_ctx_init() local 1237 v4l2_m2m_ctx_release(struct v4l2_m2m_ctx *m2m_ctx) v4l2_m2m_ctx_release() argument 1249 v4l2_m2m_buf_queue(struct v4l2_m2m_ctx *m2m_ctx, struct vb2_v4l2_buffer *vbuf) v4l2_m2m_buf_queue() argument 1292 struct v4l2_m2m_ctx *m2m_ctx = NULL; v4l2_m2m_request_queue() local 1451 v4l2_m2m_encoder_cmd(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, struct v4l2_encoder_cmd *ec) v4l2_m2m_encoder_cmd() argument 1474 v4l2_m2m_decoder_cmd(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, struct v4l2_decoder_cmd *dc) v4l2_m2m_decoder_cmd() argument 1580 struct v4l2_m2m_ctx *m2m_ctx = fh->m2m_ctx; v4l2_m2m_fop_poll() local [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/amphion/ |
H A D | vpu_v4l2.c | 70 if (inst->fh.m2m_ctx) { in vpu_v4l2_set_error() 71 vb2_queue_error(v4l2_m2m_get_src_vq(inst->fh.m2m_ctx)); in vpu_v4l2_set_error() 72 vb2_queue_error(v4l2_m2m_get_dst_vq(inst->fh.m2m_ctx)); in vpu_v4l2_set_error() 107 if (!inst || !inst->fh.m2m_ctx) in vpu_set_last_buffer_dequeued() 110 q = v4l2_m2m_get_dst_vq(inst->fh.m2m_ctx); in vpu_set_last_buffer_dequeued() 128 if (!inst->fh.m2m_ctx) in vpu_is_source_empty() 130 v4l2_m2m_for_each_src_buf(inst->fh.m2m_ctx, buf) { in vpu_is_source_empty() 285 if (!inst || !inst->fh.m2m_ctx) in vpu_process_output_buffer() 291 v4l2_m2m_for_each_src_buf(inst->fh.m2m_ctx, buf) { in vpu_process_output_buffer() 311 if (!inst || !inst->fh.m2m_ctx) in vpu_process_capture_buffer() 452 struct v4l2_m2m_ctx *m2m_ctx = inst->fh.m2m_ctx; vpu_m2m_job_abort() local [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/exynos-gsc/ |
H A D | gsc-m2m.c | 67 while (v4l2_m2m_num_src_bufs_ready(ctx->m2m_ctx) > 0) { in __gsc_m2m_cleanup_queue() 68 src_vb = v4l2_m2m_src_buf_remove(ctx->m2m_ctx); in __gsc_m2m_cleanup_queue() 72 while (v4l2_m2m_num_dst_bufs_ready(ctx->m2m_ctx) > 0) { in __gsc_m2m_cleanup_queue() 73 dst_vb = v4l2_m2m_dst_buf_remove(ctx->m2m_ctx); in __gsc_m2m_cleanup_queue() 93 if (!ctx || !ctx->m2m_ctx) in gsc_m2m_job_finish() 96 src_vb = v4l2_m2m_src_buf_remove(ctx->m2m_ctx); in gsc_m2m_job_finish() 97 dst_vb = v4l2_m2m_dst_buf_remove(ctx->m2m_ctx); in gsc_m2m_job_finish() 111 ctx->m2m_ctx); in gsc_m2m_job_finish() 129 src_vb = v4l2_m2m_next_src_buf(ctx->m2m_ctx); in gsc_get_bufs() 134 dst_vb = v4l2_m2m_next_dst_buf(ctx->m2m_ctx); in gsc_get_bufs() [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/samsung/exynos-gsc/ |
H A D | gsc-m2m.c | 67 while (v4l2_m2m_num_src_bufs_ready(ctx->m2m_ctx) > 0) { in __gsc_m2m_cleanup_queue() 68 src_vb = v4l2_m2m_src_buf_remove(ctx->m2m_ctx); in __gsc_m2m_cleanup_queue() 72 while (v4l2_m2m_num_dst_bufs_ready(ctx->m2m_ctx) > 0) { in __gsc_m2m_cleanup_queue() 73 dst_vb = v4l2_m2m_dst_buf_remove(ctx->m2m_ctx); in __gsc_m2m_cleanup_queue() 93 if (!ctx || !ctx->m2m_ctx) in gsc_m2m_job_finish() 96 src_vb = v4l2_m2m_src_buf_remove(ctx->m2m_ctx); in gsc_m2m_job_finish() 97 dst_vb = v4l2_m2m_dst_buf_remove(ctx->m2m_ctx); in gsc_m2m_job_finish() 111 ctx->m2m_ctx); in gsc_m2m_job_finish() 129 src_vb = v4l2_m2m_next_src_buf(ctx->m2m_ctx); in gsc_get_bufs() 134 dst_vb = v4l2_m2m_next_dst_buf(ctx->m2m_ctx); in gsc_get_bufs() [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/jpeg/ |
H A D | mtk_jpeg_core.c | 312 vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, f->type); in mtk_jpeg_g_fmt_vid_mplane() 418 vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, f->type); in mtk_jpeg_s_fmt_mplane() 600 vq = v4l2_m2m_get_vq(fh->m2m_ctx, buf->type); in mtk_jpeg_qbuf() 611 return v4l2_m2m_qbuf(file, fh->m2m_ctx, buf); in mtk_jpeg_qbuf() 798 v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, to_vb2_v4l2_buffer(vb)); in mtk_jpeg_enc_buf_queue() 829 ctx->fh.m2m_ctx, V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE); in mtk_jpeg_dec_buf_queue() 837 v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, to_vb2_v4l2_buffer(vb)); in mtk_jpeg_dec_buf_queue() 844 return v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); in mtk_jpeg_buf_remove() 846 return v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); in mtk_jpeg_buf_remove() 872 vb = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx); in mtk_jpeg_dec_stop_streaming() [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/vcodec/decoder/ |
H A D | mtk_vcodec_dec_stateful.c | 135 v4l2_m2m_buf_queue(ctx->m2m_ctx, vb); in get_free_buffer() 151 v4l2_m2m_buf_queue(ctx->m2m_ctx, vb); in get_free_buffer() 287 src_buf = v4l2_m2m_next_src_buf(ctx->m2m_ctx); in mtk_vdec_worker() 289 v4l2_m2m_job_finish(dev->m2m_dev_dec, ctx->m2m_ctx); in mtk_vdec_worker() 294 dst_buf = v4l2_m2m_next_dst_buf(ctx->m2m_ctx); in mtk_vdec_worker() 296 v4l2_m2m_job_finish(dev->m2m_dev_dec, ctx->m2m_ctx); in mtk_vdec_worker() 324 src_buf = v4l2_m2m_src_buf_remove(ctx->m2m_ctx); in mtk_vdec_worker() 327 dst_buf = v4l2_m2m_dst_buf_remove(ctx->m2m_ctx); in mtk_vdec_worker() 340 v4l2_m2m_job_finish(dev->m2m_dev_dec, ctx->m2m_ctx); in mtk_vdec_worker() 351 v4l2_m2m_job_finish(dev->m2m_dev_dec, ctx->m2m_ctx); in mtk_vdec_worker() [all...] |
/kernel/linux/linux-5.10/drivers/staging/media/imx/ |
H A D | imx-media-csc-scaler.c | 96 src_buf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); in ipu_ic_pp_complete() 97 dst_buf = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); in ipu_ic_pp_complete() 109 v4l2_m2m_job_finish(priv->m2m_dev, ctx->fh.m2m_ctx); in ipu_ic_pp_complete() 121 src_buf = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx); in device_run() 122 dst_buf = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); in device_run() 142 v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); in device_run() 143 v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); in device_run() 146 v4l2_m2m_job_finish(priv->m2m_dev, ctx->fh.m2m_ctx); in device_run() 248 vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, f->type); in ipu_csc_scaler_s_fmt() 485 v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, to_vb2_v4l2_buffe in ipu_csc_scaler_buf_queue() [all...] |
/kernel/linux/linux-6.6/drivers/staging/media/imx/ |
H A D | imx-media-csc-scaler.c | 96 src_buf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); in ipu_ic_pp_complete() 97 dst_buf = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); in ipu_ic_pp_complete() 109 v4l2_m2m_job_finish(priv->m2m_dev, ctx->fh.m2m_ctx); in ipu_ic_pp_complete() 121 src_buf = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx); in device_run() 122 dst_buf = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); in device_run() 142 v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); in device_run() 143 v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); in device_run() 146 v4l2_m2m_job_finish(priv->m2m_dev, ctx->fh.m2m_ctx); in device_run() 248 vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, f->type); in ipu_csc_scaler_s_fmt() 485 v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, to_vb2_v4l2_buffe in ipu_csc_scaler_buf_queue() [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/verisilicon/ |
H A D | hantro_v4l2.c | 465 ctx->fh.m2m_ctx->out_q_ctx.q.requires_requests = false; in hantro_update_requires_request() 472 ctx->fh.m2m_ctx->out_q_ctx.q.requires_requests = true; in hantro_update_requires_request() 484 vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, in hantro_update_requires_hold_capture_buf() 510 vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, in hantro_set_fmt_out() 532 peer_vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, in hantro_set_fmt_out() 584 vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, in hantro_set_fmt_cap() 597 peer_vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, in hantro_set_fmt_cap() 696 vq = v4l2_m2m_get_src_vq(ctx->fh.m2m_ctx); in vidioc_s_selection() 740 if (!vb2_is_streaming(v4l2_m2m_get_src_vq(ctx->fh.m2m_ctx)) || in vidioc_encoder_cmd() 741 !vb2_is_streaming(v4l2_m2m_get_dst_vq(ctx->fh.m2m_ctx))) in vidioc_encoder_cmd() [all...] |
/kernel/linux/linux-5.10/drivers/media/test-drivers/vicodec/ |
H A D | vicodec-core.c | 285 v4l2_m2m_get_vq(ctx->fh.m2m_ctx, in device_process() 413 src_buf = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx); in device_run() 414 dst_buf = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); in device_run() 430 v4l2_m2m_is_last_draining_src_buf(ctx->fh.m2m_ctx, src_buf)) { in device_run() 433 v4l2_m2m_mark_stopped(ctx->fh.m2m_ctx); in device_run() 437 src_buf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); in device_run() 441 src_buf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); in device_run() 457 v4l2_m2m_job_finish(dev->stateful_enc.m2m_dev, ctx->fh.m2m_ctx); in device_run() 460 ctx->fh.m2m_ctx); in device_run() 462 v4l2_m2m_job_finish(dev->stateful_dec.m2m_dev, ctx->fh.m2m_ctx); in device_run() [all...] |
/kernel/linux/linux-6.6/drivers/media/test-drivers/vicodec/ |
H A D | vicodec-core.c | 284 v4l2_m2m_get_vq(ctx->fh.m2m_ctx, in device_process() 409 src_buf = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx); in device_run() 410 dst_buf = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); in device_run() 426 v4l2_m2m_is_last_draining_src_buf(ctx->fh.m2m_ctx, src_buf)) { in device_run() 429 v4l2_m2m_mark_stopped(ctx->fh.m2m_ctx); in device_run() 433 src_buf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); in device_run() 437 src_buf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); in device_run() 453 v4l2_m2m_job_finish(dev->stateful_enc.m2m_dev, ctx->fh.m2m_ctx); in device_run() 456 ctx->fh.m2m_ctx); in device_run() 458 v4l2_m2m_job_finish(dev->stateful_dec.m2m_dev, ctx->fh.m2m_ctx); in device_run() [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/mdp3/ |
H A D | mtk-mdp3-m2m.c | 48 v4l2_m2m_src_buf_remove(ctx->m2m_ctx); in mdp_m2m_process_done() 50 v4l2_m2m_dst_buf_remove(ctx->m2m_ctx); in mdp_m2m_process_done() 58 v4l2_m2m_job_finish(ctx->mdp_dev->m2m_dev, ctx->m2m_ctx); in mdp_m2m_process_done() 83 src_vb = v4l2_m2m_next_src_buf(ctx->m2m_ctx); in mdp_m2m_device_run() 87 dst_vb = v4l2_m2m_next_dst_buf(ctx->m2m_ctx); in mdp_m2m_device_run() 132 vq = v4l2_m2m_get_src_vq(ctx->m2m_ctx); in mdp_m2m_start_streaming() 134 vq = v4l2_m2m_get_dst_vq(ctx->m2m_ctx); in mdp_m2m_start_streaming() 169 v4l2_m2m_src_buf_remove(ctx->m2m_ctx); in mdp_m2m_buf_remove() 172 v4l2_m2m_dst_buf_remove(ctx->m2m_ctx); in mdp_m2m_buf_remove() 249 v4l2_m2m_buf_queue(ctx->m2m_ctx, to_vb2_v4l2_buffe in mdp_m2m_buf_queue() [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/mtk-vcodec/ |
H A D | mtk_vcodec_enc.c | 391 vq = v4l2_m2m_get_vq(ctx->m2m_ctx, f->type); in vidioc_venc_s_fmt_cap() 455 vq = v4l2_m2m_get_vq(ctx->m2m_ctx, f->type); in vidioc_venc_s_fmt_out() 521 vq = v4l2_m2m_get_vq(ctx->m2m_ctx, f->type); in vidioc_venc_g_fmt() 664 return v4l2_m2m_qbuf(file, ctx->m2m_ctx, buf); in vidioc_venc_qbuf() 678 return v4l2_m2m_dqbuf(file, ctx->m2m_ctx, buf); in vidioc_venc_dqbuf() 787 v4l2_m2m_buf_queue(ctx->m2m_ctx, to_vb2_v4l2_buffer(vb)); in vb2ops_venc_buf_queue() 807 if (!vb2_start_streaming_called(&ctx->m2m_ctx->cap_q_ctx.q)) in vb2ops_venc_start_streaming() 810 if (!vb2_start_streaming_called(&ctx->m2m_ctx->out_q_ctx.q)) in vb2ops_venc_start_streaming() 868 while ((dst_buf = v4l2_m2m_dst_buf_remove(ctx->m2m_ctx))) { in vb2ops_venc_stop_streaming() 873 while ((src_buf = v4l2_m2m_src_buf_remove(ctx->m2m_ctx))) in vb2ops_venc_stop_streaming() [all...] |
H A D | mtk_vcodec_dec.c | 196 v4l2_m2m_buf_queue(ctx->m2m_ctx, vb); in get_free_buffer() 212 v4l2_m2m_buf_queue(ctx->m2m_ctx, vb); in get_free_buffer() 357 src_buf = v4l2_m2m_next_src_buf(ctx->m2m_ctx); in mtk_vdec_worker() 359 v4l2_m2m_job_finish(dev->m2m_dev_dec, ctx->m2m_ctx); in mtk_vdec_worker() 364 dst_buf = v4l2_m2m_next_dst_buf(ctx->m2m_ctx); in mtk_vdec_worker() 366 v4l2_m2m_job_finish(dev->m2m_dev_dec, ctx->m2m_ctx); in mtk_vdec_worker() 395 src_buf = v4l2_m2m_src_buf_remove(ctx->m2m_ctx); in mtk_vdec_worker() 398 dst_buf = v4l2_m2m_dst_buf_remove(ctx->m2m_ctx); in mtk_vdec_worker() 411 v4l2_m2m_job_finish(dev->m2m_dev_dec, ctx->m2m_ctx); in mtk_vdec_worker() 418 v4l2_m2m_job_finish(dev->m2m_dev_dec, ctx->m2m_ctx); in mtk_vdec_worker() [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/sunxi/sun8i-rotate/ |
H A D | sun8i_rotate.c | 70 src = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx); in rotate_device_run() 71 dst = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); in rotate_device_run() 160 buffer = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); in rotate_irq() 163 buffer = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); in rotate_irq() 166 v4l2_m2m_job_finish(ctx->dev->m2m_dev, ctx->fh.m2m_ctx); in rotate_irq() 350 vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, f->type); in rotate_s_fmt_vid_cap() 370 vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, f->type); in rotate_s_fmt_vid_out() 378 vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, V4L2_BUF_TYPE_VIDEO_CAPTURE); in rotate_s_fmt_vid_out() 471 v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbuf); in rotate_buf_queue() 481 vbuf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); in rotate_queue_cleanup() [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/sunxi/sun8i-di/ |
H A D | sun8i-di.c | 71 src = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx); in deinterlace_device_run() 72 dst = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); in deinterlace_device_run() 205 return v4l2_m2m_num_src_bufs_ready(ctx->fh.m2m_ctx) >= 1 && in deinterlace_job_ready() 206 v4l2_m2m_num_dst_bufs_ready(ctx->fh.m2m_ctx) >= 2; in deinterlace_job_ready() 249 dst = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); in deinterlace_irq() 255 src = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); in deinterlace_irq() 260 v4l2_m2m_job_finish(ctx->dev->m2m_dev, ctx->fh.m2m_ctx); in deinterlace_irq() 454 vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, f->type); in deinterlace_s_fmt_vid_cap() 474 vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, f->type); in deinterlace_s_fmt_vid_out() 563 v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbu in deinterlace_buf_queue() [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/sunxi/sun8i-rotate/ |
H A D | sun8i_rotate.c | 70 src = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx); in rotate_device_run() 71 dst = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); in rotate_device_run() 160 buffer = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); in rotate_irq() 163 buffer = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); in rotate_irq() 166 v4l2_m2m_job_finish(ctx->dev->m2m_dev, ctx->fh.m2m_ctx); in rotate_irq() 350 vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, f->type); in rotate_s_fmt_vid_cap() 370 vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, f->type); in rotate_s_fmt_vid_out() 378 vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, V4L2_BUF_TYPE_VIDEO_CAPTURE); in rotate_s_fmt_vid_out() 471 v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbuf); in rotate_buf_queue() 481 vbuf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); in rotate_queue_cleanup() [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/mtk-jpeg/ |
H A D | mtk_jpeg_core.c | 315 vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, f->type); in mtk_jpeg_g_fmt_vid_mplane() 421 vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, f->type); in mtk_jpeg_s_fmt_mplane() 770 v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, to_vb2_v4l2_buffer(vb)); in mtk_jpeg_enc_buf_queue() 801 ctx->fh.m2m_ctx, V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE); in mtk_jpeg_dec_buf_queue() 809 v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, to_vb2_v4l2_buffer(vb)); in mtk_jpeg_dec_buf_queue() 816 return v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); in mtk_jpeg_buf_remove() 818 return v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); in mtk_jpeg_buf_remove() 844 vb = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx); in mtk_jpeg_dec_stop_streaming() 920 src_buf = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx); in mtk_jpeg_enc_device_run() 921 dst_buf = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); in mtk_jpeg_enc_device_run() [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/vcodec/encoder/ |
H A D | mtk_vcodec_enc.c | 424 vq = v4l2_m2m_get_vq(ctx->m2m_ctx, f->type); in vidioc_venc_s_fmt_cap() 479 vq = v4l2_m2m_get_vq(ctx->m2m_ctx, f->type); in vidioc_venc_s_fmt_out() 532 vq = v4l2_m2m_get_vq(ctx->m2m_ctx, f->type); in vidioc_venc_g_fmt() 666 return v4l2_m2m_qbuf(file, ctx->m2m_ctx, buf); in vidioc_venc_qbuf() 681 ret = v4l2_m2m_dqbuf(file, ctx->m2m_ctx, buf); in vidioc_venc_dqbuf() 730 dst_vq = v4l2_m2m_get_vq(ctx->m2m_ctx, in vidioc_encoder_cmd() 734 src_vq = v4l2_m2m_get_vq(ctx->m2m_ctx, in vidioc_encoder_cmd() 745 v4l2_m2m_buf_queue(ctx->m2m_ctx, &ctx->empty_flush_buf.vb); in vidioc_encoder_cmd() 746 v4l2_m2m_try_schedule(ctx->m2m_ctx); in vidioc_encoder_cmd() 862 v4l2_m2m_buf_queue(ctx->m2m_ctx, to_vb2_v4l2_buffe in vb2ops_venc_buf_queue() [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/nxp/imx8-isi/ |
H A D | imx8-isi-m2m.c | 107 src_vbuf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); in mxc_isi_m2m_frame_write_done() 108 dst_vbuf = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); in mxc_isi_m2m_frame_write_done() 118 v4l2_m2m_job_finish(m2m->m2m_dev, ctx->fh.m2m_ctx); in mxc_isi_m2m_frame_write_done() 168 src_vbuf = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx); in mxc_isi_m2m_device_run() 169 dst_vbuf = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); in mxc_isi_m2m_device_run() 235 v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbuf); in mxc_isi_m2m_vb2_buffer_queue() 257 vbuf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); in mxc_isi_m2m_vb2_stop_streaming() 259 vbuf = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); in mxc_isi_m2m_vb2_stop_streaming() 461 vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, f->type); in mxc_isi_m2m_s_fmt_vid() 663 ctx->fh.m2m_ctx in mxc_isi_m2m_open() [all...] |
/kernel/linux/linux-5.10/drivers/staging/media/hantro/ |
H A D | hantro_postproc.c | 79 dst_buf = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); in hantro_postproc_enable() 116 struct v4l2_m2m_ctx *m2m_ctx = ctx->fh.m2m_ctx; in hantro_postproc_alloc() local 117 struct vb2_queue *cap_queue = &m2m_ctx->cap_q_ctx.q; in hantro_postproc_alloc()
|
/kernel/linux/linux-5.10/drivers/media/platform/ |
H A D | mx2_emmaprp.c | 243 v4l2_m2m_job_finish(pcdev->m2m_dev, ctx->fh.m2m_ctx); in emmaprp_job_abort() 278 src_buf = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx); in emmaprp_device_run() 279 dst_buf = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); in emmaprp_device_run() 353 src_vb = v4l2_m2m_src_buf_remove(curr_ctx->fh.m2m_ctx); in emmaprp_irq() 354 dst_vb = v4l2_m2m_dst_buf_remove(curr_ctx->fh.m2m_ctx); in emmaprp_irq() 371 v4l2_m2m_job_finish(pcdev->m2m_dev, curr_ctx->fh.m2m_ctx); in emmaprp_irq() 432 vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, f->type); in vidioc_g_fmt() 537 vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, f->type); in vidioc_s_fmt() 673 v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbuf); in emmaprp_buf_queue() 738 ctx->fh.m2m_ctx in emmaprp_open() [all...] |