Home
last modified time | relevance | path

Searched refs:dst_buf (Results 1 – 12 of 12) sorted by relevance

/drivers/media/platform/s5p-mfc/
Ds5p_mfc.c187 struct s5p_mfc_buf *dst_buf; in s5p_mfc_handle_frame_all_extracted() local
193 dst_buf = list_entry(ctx->dst_queue.next, in s5p_mfc_handle_frame_all_extracted()
196 dst_buf->b->vb2_buf.index); in s5p_mfc_handle_frame_all_extracted()
197 vb2_set_plane_payload(&dst_buf->b->vb2_buf, 0, 0); in s5p_mfc_handle_frame_all_extracted()
198 vb2_set_plane_payload(&dst_buf->b->vb2_buf, 1, 0); in s5p_mfc_handle_frame_all_extracted()
199 list_del(&dst_buf->list); in s5p_mfc_handle_frame_all_extracted()
200 dst_buf->flags |= MFC_BUF_FLAG_EOS; in s5p_mfc_handle_frame_all_extracted()
202 dst_buf->b->sequence = (ctx->sequence++); in s5p_mfc_handle_frame_all_extracted()
206 dst_buf->b->field = V4L2_FIELD_NONE; in s5p_mfc_handle_frame_all_extracted()
208 dst_buf->b->field = V4L2_FIELD_INTERLACED; in s5p_mfc_handle_frame_all_extracted()
[all …]
/drivers/media/platform/coda/
Dcoda-bit.c1190 struct vb2_v4l2_buffer *src_buf, *dst_buf; in coda_prepare_encode() local
1200 dst_buf = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); in coda_prepare_encode()
1206 dst_buf->sequence = ctx->osequence; in coda_prepare_encode()
1231 vb2_dma_contig_plane_dma_addr(&dst_buf->vb2_buf, 0) + in coda_prepare_encode()
1239 memcpy(vb2_plane_vaddr(&dst_buf->vb2_buf, 0), in coda_prepare_encode()
1241 memcpy(vb2_plane_vaddr(&dst_buf->vb2_buf, 0) in coda_prepare_encode()
1244 memcpy(vb2_plane_vaddr(&dst_buf->vb2_buf, 0) in coda_prepare_encode()
1249 vb2_dma_contig_plane_dma_addr(&dst_buf->vb2_buf, 0); in coda_prepare_encode()
1330 struct vb2_v4l2_buffer *src_buf, *dst_buf; in coda_finish_encode() local
1335 dst_buf = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); in coda_finish_encode()
[all …]
/drivers/media/platform/
Drcar_jpu.c1336 struct vb2_v4l2_buffer *src_buf, *dst_buf; in jpu_cleanup() local
1342 dst_buf = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); in jpu_cleanup()
1345 v4l2_m2m_buf_done(dst_buf, VB2_BUF_STATE_ERROR); in jpu_cleanup()
1362 struct vb2_v4l2_buffer *src_buf, *dst_buf; in jpu_device_run() local
1378 dst_buf = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); in jpu_device_run()
1381 jpu_buf = vb2_to_jpu_buffer(dst_buf); in jpu_device_run()
1398 dst_addr = vb2_dma_contig_plane_dma_addr(&dst_buf->vb2_buf, 0); in jpu_device_run()
1466 vb2_dma_contig_plane_dma_addr(&dst_buf->vb2_buf, 0); in jpu_device_run()
1469 &dst_buf->vb2_buf, 1); in jpu_device_run()
1524 struct vb2_v4l2_buffer *src_buf, *dst_buf; in jpu_irq_handler() local
[all …]
Dsh_veu.c247 struct vb2_buffer *dst_buf) in sh_veu_process() argument
249 dma_addr_t addr = vb2_dma_contig_plane_dma_addr(dst_buf, 0); in sh_veu_process()
280 struct vb2_v4l2_buffer *src_buf, *dst_buf; in sh_veu_device_run() local
283 dst_buf = v4l2_m2m_next_dst_buf(veu->m2m_ctx); in sh_veu_device_run()
285 if (src_buf && dst_buf) in sh_veu_device_run()
286 sh_veu_process(veu, &src_buf->vb2_buf, &dst_buf->vb2_buf); in sh_veu_device_run()
Dmx2_emmaprp.c292 struct vb2_v4l2_buffer *src_buf, *dst_buf; in emmaprp_device_run() local
301 dst_buf = v4l2_m2m_next_dst_buf(ctx->m2m_ctx); in emmaprp_device_run()
313 p_out = vb2_dma_contig_plane_dma_addr(&dst_buf->vb2_buf, 0); in emmaprp_device_run()
Dvim2m.c377 struct vb2_v4l2_buffer *src_buf, *dst_buf; in device_run() local
380 dst_buf = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); in device_run()
382 device_process(ctx, src_buf, dst_buf); in device_run()
Dm2m-deinterlace.c228 struct vb2_v4l2_buffer *src_buf, *dst_buf; in deinterlace_issue_dma() local
239 dst_buf = v4l2_m2m_next_dst_buf(ctx->m2m_ctx); in deinterlace_issue_dma()
247 p_out = (dma_addr_t)vb2_dma_contig_plane_dma_addr(&dst_buf->vb2_buf, in deinterlace_issue_dma()
/drivers/usb/wusbcore/
Dcrypto.c210 void *iv, *dst_buf; in wusb_ccm_mac() local
229 dst_buf = kzalloc(dst_size, GFP_KERNEL); in wusb_ccm_mac()
230 if (dst_buf == NULL) { in wusb_ccm_mac()
260 sg_init_one(&sg_dst, dst_buf, dst_size); in wusb_ccm_mac()
286 kfree(dst_buf); in wusb_ccm_mac()
/drivers/media/platform/s5p-jpeg/
Djpeg-core.c2022 struct vb2_v4l2_buffer *src_buf, *dst_buf; in s5p_jpeg_device_run() local
2028 dst_buf = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); in s5p_jpeg_device_run()
2030 dst_addr = vb2_dma_contig_plane_dma_addr(&dst_buf->vb2_buf, 0); in s5p_jpeg_device_run()
2592 struct vb2_v4l2_buffer *src_buf, *dst_buf; in s5p_jpeg_irq() local
2604 dst_buf = v4l2_m2m_dst_buf_remove(curr_ctx->fh.m2m_ctx); in s5p_jpeg_irq()
2626 dst_buf->timecode = src_buf->timecode; in s5p_jpeg_irq()
2627 dst_buf->timestamp = src_buf->timestamp; in s5p_jpeg_irq()
2628 dst_buf->flags &= ~V4L2_BUF_FLAG_TSTAMP_SRC_MASK; in s5p_jpeg_irq()
2629 dst_buf->flags |= in s5p_jpeg_irq()
2634 vb2_set_plane_payload(&dst_buf->vb2_buf, 0, payload_size); in s5p_jpeg_irq()
[all …]
/drivers/crypto/
Dixp4xx_crypto.c127 u32 dst_buf; member
378 free_buf_chain(dev, req_ctx->dst, crypt->dst_buf); in one_packet()
390 free_buf_chain(dev, req_ctx->dst, crypt->dst_buf); in one_packet()
929 crypt->dst_buf = dst_hook.phys_next; in ablk_perform()
949 free_buf_chain(dev, req_ctx->dst, crypt->dst_buf); in ablk_perform()
1047 crypt->dst_buf = dst_hook.phys_next; in aead_perform()
1098 free_buf_chain(dev, req_ctx->dst, crypt->dst_buf); in aead_perform()
/drivers/mmc/host/
Dtifm_sd.c216 unsigned char *dst_buf = kmap_atomic(dst) + dst_off; in tifm_sd_copy_page() local
218 memcpy(dst_buf, src_buf, count); in tifm_sd_copy_page()
220 kunmap_atomic(dst_buf - dst_off); in tifm_sd_copy_page()
/drivers/net/ethernet/freescale/
Dfec_main.c310 static void swap_buffer2(void *dst_buf, void *src_buf, int len) in swap_buffer2() argument
314 unsigned int *dst = dst_buf; in swap_buffer2()