Lines Matching refs:vb2_buf
137 for (i = 0; i < b->b->vb2_buf.num_planes; i++) in s5p_mfc_cleanup_queue()
138 vb2_set_plane_payload(&b->b->vb2_buf, i, 0); in s5p_mfc_cleanup_queue()
139 vb2_buffer_done(&b->b->vb2_buf, VB2_BUF_STATE_ERROR); in s5p_mfc_cleanup_queue()
230 dst_buf->b->vb2_buf.index); in s5p_mfc_handle_frame_all_extracted()
231 vb2_set_plane_payload(&dst_buf->b->vb2_buf, 0, 0); in s5p_mfc_handle_frame_all_extracted()
232 vb2_set_plane_payload(&dst_buf->b->vb2_buf, 1, 0); in s5p_mfc_handle_frame_all_extracted()
245 ctx->dec_dst_flag &= ~(1 << dst_buf->b->vb2_buf.index); in s5p_mfc_handle_frame_all_extracted()
246 vb2_buffer_done(&dst_buf->b->vb2_buf, VB2_BUF_STATE_DONE); in s5p_mfc_handle_frame_all_extracted()
267 u32 addr = (u32)vb2_dma_contig_plane_dma_addr(&dst_buf->b->vb2_buf, 0); in s5p_mfc_handle_frame_copy_time()
271 dst_buf->b->vb2_buf.timestamp = in s5p_mfc_handle_frame_copy_time()
272 src_buf->b->vb2_buf.timestamp; in s5p_mfc_handle_frame_copy_time()
328 u32 addr = (u32)vb2_dma_contig_plane_dma_addr(&dst_buf->b->vb2_buf, 0); in s5p_mfc_handle_frame_new()
343 vb2_set_plane_payload(&dst_buf->b->vb2_buf, 0, in s5p_mfc_handle_frame_new()
345 vb2_set_plane_payload(&dst_buf->b->vb2_buf, 1, in s5p_mfc_handle_frame_new()
347 clear_bit(dst_buf->b->vb2_buf.index, in s5p_mfc_handle_frame_new()
350 vb2_buffer_done(&dst_buf->b->vb2_buf, err ? in s5p_mfc_handle_frame_new()
430 src_buf->b->vb2_buf.planes[0].bytesused) { in s5p_mfc_handle_frame()
442 vb2_buffer_done(&src_buf->b->vb2_buf, in s5p_mfc_handle_frame()
445 vb2_buffer_done(&src_buf->b->vb2_buf, in s5p_mfc_handle_frame()
542 src_buf->b->vb2_buf.planes[0].bytesused) in s5p_mfc_handle_seq_done()
581 vb2_buffer_done(&src_buf->b->vb2_buf, in s5p_mfc_handle_init_buffers()
616 vb2_set_plane_payload(&mb_entry->b->vb2_buf, 0, 0); in s5p_mfc_handle_stream_complete()
617 vb2_buffer_done(&mb_entry->b->vb2_buf, VB2_BUF_STATE_DONE); in s5p_mfc_handle_stream_complete()