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()
550 static inline void v4l2_m2m_set_src_buffered(struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_set_src_buffered()
556 static inline void v4l2_m2m_set_dst_buffered(struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_set_dst_buffered()
589 unsigned int v4l2_m2m_num_src_bufs_ready(struct v4l2_m2m_ctx *m2m_ctx) in v4l2_m2m_num_src_bufs_ready()
608 unsigned int v4l2_m2m_num_dst_bufs_ready(struct v4l2_m2m_ctx *m2m_ctx) in v4l2_m2m_num_dst_bufs_ready()
634 v4l2_m2m_next_src_buf(struct v4l2_m2m_ctx *m2m_ctx) in v4l2_m2m_next_src_buf()
646 v4l2_m2m_next_dst_buf(struct v4l2_m2m_ctx *m2m_ctx) in v4l2_m2m_next_dst_buf()
665 v4l2_m2m_last_src_buf(struct v4l2_m2m_ctx *m2m_ctx) in v4l2_m2m_last_src_buf()
677 v4l2_m2m_last_dst_buf(struct v4l2_m2m_ctx *m2m_ctx) in v4l2_m2m_last_dst_buf()
689 #define v4l2_m2m_for_each_dst_buf(m2m_ctx, b) \ argument
698 #define v4l2_m2m_for_each_src_buf(m2m_ctx, b) \ argument
709 #define v4l2_m2m_for_each_dst_buf_safe(m2m_ctx, b, n) \ argument
720 #define v4l2_m2m_for_each_src_buf_safe(m2m_ctx, b, n) \ argument
729 struct vb2_queue *v4l2_m2m_get_src_vq(struct v4l2_m2m_ctx *m2m_ctx) in v4l2_m2m_get_src_vq()
740 struct vb2_queue *v4l2_m2m_get_dst_vq(struct v4l2_m2m_ctx *m2m_ctx) in v4l2_m2m_get_dst_vq()
760 v4l2_m2m_src_buf_remove(struct v4l2_m2m_ctx *m2m_ctx) in v4l2_m2m_src_buf_remove()
772 v4l2_m2m_dst_buf_remove(struct v4l2_m2m_ctx *m2m_ctx) in v4l2_m2m_dst_buf_remove()
794 static inline void v4l2_m2m_src_buf_remove_by_buf(struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_src_buf_remove_by_buf()
807 static inline void v4l2_m2m_dst_buf_remove_by_buf(struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_dst_buf_remove_by_buf()
817 v4l2_m2m_src_buf_remove_by_idx(struct v4l2_m2m_ctx *m2m_ctx, unsigned int idx) in v4l2_m2m_src_buf_remove_by_idx()
823 v4l2_m2m_dst_buf_remove_by_idx(struct v4l2_m2m_ctx *m2m_ctx, unsigned int idx) in v4l2_m2m_dst_buf_remove_by_idx()