Searched refs:dst_buf (Results 1 - 16 of 16) sorted by relevance

/linux-4.1.27/drivers/media/platform/coda/
H A Dcoda-bit.c1123 struct vb2_buffer *src_buf, *dst_buf; coda_prepare_encode() local
1133 dst_buf = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); coda_prepare_encode()
1139 dst_buf->v4l2_buf.sequence = ctx->osequence; coda_prepare_encode()
1164 vb2_dma_contig_plane_dma_addr(dst_buf, 0) + coda_prepare_encode()
1172 memcpy(vb2_plane_vaddr(dst_buf, 0), coda_prepare_encode()
1174 memcpy(vb2_plane_vaddr(dst_buf, 0) + ctx->vpu_header_size[0], coda_prepare_encode()
1176 memcpy(vb2_plane_vaddr(dst_buf, 0) + ctx->vpu_header_size[0] + coda_prepare_encode()
1181 vb2_dma_contig_plane_dma_addr(dst_buf, 0); coda_prepare_encode()
1262 struct vb2_buffer *src_buf, *dst_buf; coda_finish_encode() local
1267 dst_buf = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); coda_finish_encode()
1269 trace_coda_enc_pic_done(ctx, dst_buf); coda_finish_encode()
1276 if (dst_buf->v4l2_buf.sequence == 0) { coda_finish_encode()
1277 vb2_set_plane_payload(dst_buf, 0, wr_ptr - start_ptr + coda_finish_encode()
1282 vb2_set_plane_payload(dst_buf, 0, wr_ptr - start_ptr); coda_finish_encode()
1292 dst_buf->v4l2_buf.flags |= V4L2_BUF_FLAG_KEYFRAME; coda_finish_encode()
1293 dst_buf->v4l2_buf.flags &= ~V4L2_BUF_FLAG_PFRAME; coda_finish_encode()
1295 dst_buf->v4l2_buf.flags |= V4L2_BUF_FLAG_PFRAME; coda_finish_encode()
1296 dst_buf->v4l2_buf.flags &= ~V4L2_BUF_FLAG_KEYFRAME; coda_finish_encode()
1299 dst_buf->v4l2_buf.timestamp = src_buf->v4l2_buf.timestamp; coda_finish_encode()
1300 dst_buf->v4l2_buf.flags &= ~V4L2_BUF_FLAG_TSTAMP_SRC_MASK; coda_finish_encode()
1301 dst_buf->v4l2_buf.flags |= coda_finish_encode()
1303 dst_buf->v4l2_buf.timecode = src_buf->v4l2_buf.timecode; coda_finish_encode()
1307 dst_buf = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); coda_finish_encode()
1308 v4l2_m2m_buf_done(dst_buf, VB2_BUF_STATE_DONE); coda_finish_encode()
1316 dst_buf->v4l2_buf.sequence, coda_finish_encode()
1317 (dst_buf->v4l2_buf.flags & V4L2_BUF_FLAG_KEYFRAME) ? coda_finish_encode()
1653 struct vb2_buffer *dst_buf; coda_prepare_decode() local
1659 dst_buf = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); coda_prepare_decode()
1699 coda_write(dev, CODA_MAX_FRAMEBUFFERS + dst_buf->v4l2_buf.index, coda_prepare_decode()
1708 coda_write_base(ctx, q_data_dst, dst_buf, reg_addr); coda_prepare_decode()
1772 struct vb2_buffer *dst_buf; coda_finish_decode() local
1952 dst_buf = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); coda_finish_decode()
1953 dst_buf->v4l2_buf.sequence = ctx->osequence++; coda_finish_decode()
1955 dst_buf->v4l2_buf.flags &= ~(V4L2_BUF_FLAG_KEYFRAME | coda_finish_decode()
1958 dst_buf->v4l2_buf.flags |= ctx->frame_types[ctx->display_idx]; coda_finish_decode()
1960 dst_buf->v4l2_buf.timecode = meta->timecode; coda_finish_decode()
1961 dst_buf->v4l2_buf.timestamp = meta->timestamp; coda_finish_decode()
1963 trace_coda_dec_rot_done(ctx, meta, dst_buf); coda_finish_decode()
1976 vb2_set_plane_payload(dst_buf, 0, payload); coda_finish_decode()
1978 v4l2_m2m_buf_done(dst_buf, ctx->frame_errors[display_idx] ? coda_finish_decode()
1983 dst_buf->v4l2_buf.sequence, coda_finish_decode()
1984 (dst_buf->v4l2_buf.flags & V4L2_BUF_FLAG_KEYFRAME) ? coda_finish_decode()
/linux-4.1.27/drivers/media/platform/s5p-mfc/
H A Ds5p_mfc.c193 struct s5p_mfc_buf *dst_buf; s5p_mfc_handle_frame_all_extracted() local
199 dst_buf = list_entry(ctx->dst_queue.next, s5p_mfc_handle_frame_all_extracted()
202 dst_buf->b->v4l2_buf.index); s5p_mfc_handle_frame_all_extracted()
203 vb2_set_plane_payload(dst_buf->b, 0, 0); s5p_mfc_handle_frame_all_extracted()
204 vb2_set_plane_payload(dst_buf->b, 1, 0); s5p_mfc_handle_frame_all_extracted()
205 list_del(&dst_buf->list); s5p_mfc_handle_frame_all_extracted()
207 dst_buf->b->v4l2_buf.sequence = (ctx->sequence++); s5p_mfc_handle_frame_all_extracted()
211 dst_buf->b->v4l2_buf.field = V4L2_FIELD_NONE; s5p_mfc_handle_frame_all_extracted()
213 dst_buf->b->v4l2_buf.field = V4L2_FIELD_INTERLACED; s5p_mfc_handle_frame_all_extracted()
215 ctx->dec_dst_flag &= ~(1 << dst_buf->b->v4l2_buf.index); s5p_mfc_handle_frame_all_extracted()
216 vb2_buffer_done(dst_buf->b, VB2_BUF_STATE_DONE); s5p_mfc_handle_frame_all_extracted()
223 struct s5p_mfc_buf *dst_buf, *src_buf; s5p_mfc_handle_frame_copy_time() local
236 list_for_each_entry(dst_buf, &ctx->dst_queue, list) { s5p_mfc_handle_frame_copy_time()
237 if (vb2_dma_contig_plane_dma_addr(dst_buf->b, 0) == dec_y_addr) { s5p_mfc_handle_frame_copy_time()
238 dst_buf->b->v4l2_buf.timecode = s5p_mfc_handle_frame_copy_time()
240 dst_buf->b->v4l2_buf.timestamp = s5p_mfc_handle_frame_copy_time()
242 dst_buf->b->v4l2_buf.flags &= s5p_mfc_handle_frame_copy_time()
244 dst_buf->b->v4l2_buf.flags |= s5p_mfc_handle_frame_copy_time()
249 dst_buf->b->v4l2_buf.flags |= s5p_mfc_handle_frame_copy_time()
253 dst_buf->b->v4l2_buf.flags |= s5p_mfc_handle_frame_copy_time()
257 dst_buf->b->v4l2_buf.flags |= s5p_mfc_handle_frame_copy_time()
274 struct s5p_mfc_buf *dst_buf; s5p_mfc_handle_frame_new() local
296 list_for_each_entry(dst_buf, &ctx->dst_queue, list) { s5p_mfc_handle_frame_new()
298 if (vb2_dma_contig_plane_dma_addr(dst_buf->b, 0) == dspl_y_addr) { s5p_mfc_handle_frame_new()
299 list_del(&dst_buf->list); s5p_mfc_handle_frame_new()
301 dst_buf->b->v4l2_buf.sequence = ctx->sequence; s5p_mfc_handle_frame_new()
306 dst_buf->b->v4l2_buf.field = V4L2_FIELD_NONE; s5p_mfc_handle_frame_new()
308 dst_buf->b->v4l2_buf.field = s5p_mfc_handle_frame_new()
310 vb2_set_plane_payload(dst_buf->b, 0, ctx->luma_size); s5p_mfc_handle_frame_new()
311 vb2_set_plane_payload(dst_buf->b, 1, ctx->chroma_size); s5p_mfc_handle_frame_new()
312 clear_bit(dst_buf->b->v4l2_buf.index, s5p_mfc_handle_frame_new()
315 vb2_buffer_done(dst_buf->b, s5p_mfc_handle_frame_new()
/linux-4.1.27/drivers/media/platform/s5p-jpeg/
H A Djpeg-core.c1765 struct vb2_buffer *src_buf, *dst_buf; s5p_jpeg_device_run() local
1771 dst_buf = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); s5p_jpeg_device_run()
1773 dst_addr = vb2_dma_contig_plane_dma_addr(dst_buf, 0); s5p_jpeg_device_run()
2267 struct vb2_buffer *src_buf, *dst_buf; s5p_jpeg_irq() local
2279 dst_buf = v4l2_m2m_dst_buf_remove(curr_ctx->fh.m2m_ctx); s5p_jpeg_irq()
2301 dst_buf->v4l2_buf.timecode = src_buf->v4l2_buf.timecode; s5p_jpeg_irq()
2302 dst_buf->v4l2_buf.timestamp = src_buf->v4l2_buf.timestamp; s5p_jpeg_irq()
2303 dst_buf->v4l2_buf.flags &= ~V4L2_BUF_FLAG_TSTAMP_SRC_MASK; s5p_jpeg_irq()
2304 dst_buf->v4l2_buf.flags |= s5p_jpeg_irq()
2309 vb2_set_plane_payload(dst_buf, 0, payload_size); s5p_jpeg_irq()
2310 v4l2_m2m_buf_done(dst_buf, state); s5p_jpeg_irq()
2386 struct vb2_buffer *src_buf, *dst_buf; exynos3250_jpeg_irq() local
2428 dst_buf = v4l2_m2m_dst_buf_remove(curr_ctx->fh.m2m_ctx); exynos3250_jpeg_irq()
2430 dst_buf->v4l2_buf.timecode = src_buf->v4l2_buf.timecode; exynos3250_jpeg_irq()
2431 dst_buf->v4l2_buf.timestamp = src_buf->v4l2_buf.timestamp; exynos3250_jpeg_irq()
2435 vb2_set_plane_payload(dst_buf, 0, payload_size); exynos3250_jpeg_irq()
2436 v4l2_m2m_buf_done(dst_buf, state); exynos3250_jpeg_irq()
/linux-4.1.27/drivers/usb/wusbcore/
H A Dcrypto.c210 void *iv, *dst_buf; wusb_ccm_mac() local
229 dst_buf = kzalloc(dst_size, GFP_KERNEL); wusb_ccm_mac()
230 if (dst_buf == NULL) { wusb_ccm_mac()
260 sg_init_one(&sg_dst, dst_buf, dst_size); wusb_ccm_mac()
286 kfree(dst_buf); wusb_ccm_mac()
/linux-4.1.27/drivers/media/platform/
H A Dsh_veu.c247 struct vb2_buffer *dst_buf) sh_veu_process()
249 dma_addr_t addr = vb2_dma_contig_plane_dma_addr(dst_buf, 0); sh_veu_process()
280 struct vb2_buffer *src_buf, *dst_buf; sh_veu_device_run() local
283 dst_buf = v4l2_m2m_next_dst_buf(veu->m2m_ctx); sh_veu_device_run()
285 if (src_buf && dst_buf) sh_veu_device_run()
286 sh_veu_process(veu, src_buf, dst_buf); sh_veu_device_run()
245 sh_veu_process(struct sh_veu_dev *veu, struct vb2_buffer *src_buf, struct vb2_buffer *dst_buf) sh_veu_process() argument
H A Dmx2_emmaprp.c292 struct vb2_buffer *src_buf, *dst_buf; emmaprp_device_run() local
301 dst_buf = v4l2_m2m_next_dst_buf(ctx->m2m_ctx); emmaprp_device_run()
313 p_out = vb2_dma_contig_plane_dma_addr(dst_buf, 0); emmaprp_device_run()
H A Dvim2m.c380 struct vb2_buffer *src_buf, *dst_buf; device_run() local
383 dst_buf = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); device_run()
385 device_process(ctx, src_buf, dst_buf); device_run()
H A Dm2m-deinterlace.c228 struct vb2_buffer *src_buf, *dst_buf; deinterlace_issue_dma() local
239 dst_buf = v4l2_m2m_next_dst_buf(ctx->m2m_ctx); deinterlace_issue_dma()
247 p_out = (dma_addr_t)vb2_dma_contig_plane_dma_addr(dst_buf, 0); deinterlace_issue_dma()
/linux-4.1.27/drivers/crypto/
H A Dmxs-dcp.c265 uint8_t *out_tmp, *src_buf, *dst_buf = NULL; mxs_dcp_aes_block_crypt() local
317 dst_buf = sg_virt(dst); mxs_dcp_aes_block_crypt()
323 memcpy(dst_buf + dst_off, out_tmp, rem); mxs_dcp_aes_block_crypt()
H A Dixp4xx_crypto.c127 u32 dst_buf; member in struct:crypt_ctl
379 free_buf_chain(dev, req_ctx->dst, crypt->dst_buf); one_packet()
913 crypt->dst_buf = dst_hook.phys_next; ablk_perform()
933 free_buf_chain(dev, req_ctx->dst, crypt->dst_buf); ablk_perform()
/linux-4.1.27/drivers/media/platform/exynos-gsc/
H A Dgsc-regs.c104 pr_debug("dst_buf[%d]: %pad, cb: %pad, cr: %pad", gsc_hw_set_output_addr()
/linux-4.1.27/drivers/mmc/host/
H A Dtifm_sd.c216 unsigned char *dst_buf = kmap_atomic(dst) + dst_off; tifm_sd_copy_page() local
218 memcpy(dst_buf, src_buf, count); tifm_sd_copy_page()
220 kunmap_atomic(dst_buf - dst_off); tifm_sd_copy_page()
/linux-4.1.27/drivers/media/platform/s3c-camif/
H A Dcamif-regs.c217 pr_debug("dst_buf[%d]: %pad, cb: %pad, cr: %pad\n", camif_hw_set_output_addr()
/linux-4.1.27/drivers/media/platform/exynos4-is/
H A Dfimc-reg.c554 dbg("dst_buf[%d]: 0x%X, cb: 0x%X, cr: 0x%X", fimc_hw_set_output_addr()
/linux-4.1.27/drivers/net/ethernet/freescale/
H A Dfec_main.c306 static void swap_buffer2(void *dst_buf, void *src_buf, int len) swap_buffer2() argument
310 unsigned int *dst = dst_buf; swap_buffer2()
/linux-4.1.27/fs/btrfs/
H A Dctree.c38 struct extent_buffer *dst_buf,

Completed in 880 milliseconds