Lines Matching defs:m2m_ctx
233 v4l2_m2m_clear_state(struct v4l2_m2m_ctx *m2m_ctx) in v4l2_m2m_clear_state()
246 v4l2_m2m_mark_stopped(struct v4l2_m2m_ctx *m2m_ctx) in v4l2_m2m_mark_stopped()
263 v4l2_m2m_dst_buf_is_last(struct v4l2_m2m_ctx *m2m_ctx) in v4l2_m2m_dst_buf_is_last()
275 v4l2_m2m_has_stopped(struct v4l2_m2m_ctx *m2m_ctx) in v4l2_m2m_has_stopped()
292 v4l2_m2m_is_last_draining_src_buf(struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_is_last_draining_src_buf()
555 static inline void v4l2_m2m_set_src_buffered(struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_set_src_buffered()
561 static inline void v4l2_m2m_set_dst_buffered(struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_set_dst_buffered()
594 unsigned int v4l2_m2m_num_src_bufs_ready(struct v4l2_m2m_ctx *m2m_ctx) in v4l2_m2m_num_src_bufs_ready()
606 unsigned int v4l2_m2m_num_dst_bufs_ready(struct v4l2_m2m_ctx *m2m_ctx) in v4l2_m2m_num_dst_bufs_ready()
625 v4l2_m2m_next_src_buf(struct v4l2_m2m_ctx *m2m_ctx) in v4l2_m2m_next_src_buf()
637 v4l2_m2m_next_dst_buf(struct v4l2_m2m_ctx *m2m_ctx) in v4l2_m2m_next_dst_buf()
656 v4l2_m2m_last_src_buf(struct v4l2_m2m_ctx *m2m_ctx) in v4l2_m2m_last_src_buf()
668 v4l2_m2m_last_dst_buf(struct v4l2_m2m_ctx *m2m_ctx) in v4l2_m2m_last_dst_buf()
680 #define v4l2_m2m_for_each_dst_buf(m2m_ctx, b) \ argument
689 #define v4l2_m2m_for_each_src_buf(m2m_ctx, b) \ argument
700 #define v4l2_m2m_for_each_dst_buf_safe(m2m_ctx, b, n) \ argument
711 #define v4l2_m2m_for_each_src_buf_safe(m2m_ctx, b, n) \ argument
720 struct vb2_queue *v4l2_m2m_get_src_vq(struct v4l2_m2m_ctx *m2m_ctx) in v4l2_m2m_get_src_vq()
731 struct vb2_queue *v4l2_m2m_get_dst_vq(struct v4l2_m2m_ctx *m2m_ctx) in v4l2_m2m_get_dst_vq()
751 v4l2_m2m_src_buf_remove(struct v4l2_m2m_ctx *m2m_ctx) in v4l2_m2m_src_buf_remove()
763 v4l2_m2m_dst_buf_remove(struct v4l2_m2m_ctx *m2m_ctx) in v4l2_m2m_dst_buf_remove()
785 static inline void v4l2_m2m_src_buf_remove_by_buf(struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_src_buf_remove_by_buf()
798 static inline void v4l2_m2m_dst_buf_remove_by_buf(struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_dst_buf_remove_by_buf()
808 v4l2_m2m_src_buf_remove_by_idx(struct v4l2_m2m_ctx *m2m_ctx, unsigned int idx) in v4l2_m2m_src_buf_remove_by_idx()
814 v4l2_m2m_dst_buf_remove_by_idx(struct v4l2_m2m_ctx *m2m_ctx, unsigned int idx) in v4l2_m2m_dst_buf_remove_by_idx()