Lines Matching refs:src_buf
1327 struct vb2_v4l2_buffer *src_buf, *dst_buf; in jpu_cleanup() local
1332 src_buf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); in jpu_cleanup()
1335 v4l2_m2m_buf_done(src_buf, VB2_BUF_STATE_ERROR); in jpu_cleanup()
1353 struct vb2_v4l2_buffer *src_buf, *dst_buf; in jpu_device_run() local
1368 src_buf = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx); in jpu_device_run()
1375 jpu_buf = vb2_to_jpu_buffer(src_buf); in jpu_device_run()
1391 vb2_dma_contig_plane_dma_addr(&src_buf->vb2_buf, 0); in jpu_device_run()
1394 &src_buf->vb2_buf, 1); in jpu_device_run()
1455 src_addr = vb2_dma_contig_plane_dma_addr(&src_buf->vb2_buf, 0); in jpu_device_run()
1499 struct vb2_v4l2_buffer *src_buf, *dst_buf; in jpu_irq_handler() local
1527 src_buf = v4l2_m2m_src_buf_remove(curr_ctx->fh.m2m_ctx); in jpu_irq_handler()
1539 dst_buf->field = src_buf->field; in jpu_irq_handler()
1540 dst_buf->vb2_buf.timestamp = src_buf->vb2_buf.timestamp; in jpu_irq_handler()
1541 if (src_buf->flags & V4L2_BUF_FLAG_TIMECODE) in jpu_irq_handler()
1542 dst_buf->timecode = src_buf->timecode; in jpu_irq_handler()
1543 dst_buf->flags = src_buf->flags & in jpu_irq_handler()
1548 v4l2_m2m_buf_done(src_buf, VB2_BUF_STATE_DONE); in jpu_irq_handler()
1556 v4l2_m2m_buf_done(src_buf, VB2_BUF_STATE_ERROR); in jpu_irq_handler()