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.c190 struct s5p_mfc_buf *dst_buf; in s5p_mfc_handle_frame_all_extracted() local
196 dst_buf = list_entry(ctx->dst_queue.next, in s5p_mfc_handle_frame_all_extracted()
199 dst_buf->b->v4l2_buf.index); in s5p_mfc_handle_frame_all_extracted()
200 vb2_set_plane_payload(dst_buf->b, 0, 0); in s5p_mfc_handle_frame_all_extracted()
201 vb2_set_plane_payload(dst_buf->b, 1, 0); in s5p_mfc_handle_frame_all_extracted()
202 list_del(&dst_buf->list); in s5p_mfc_handle_frame_all_extracted()
204 dst_buf->b->v4l2_buf.sequence = (ctx->sequence++); in s5p_mfc_handle_frame_all_extracted()
208 dst_buf->b->v4l2_buf.field = V4L2_FIELD_NONE; in s5p_mfc_handle_frame_all_extracted()
210 dst_buf->b->v4l2_buf.field = V4L2_FIELD_INTERLACED; in s5p_mfc_handle_frame_all_extracted()
212 ctx->dec_dst_flag &= ~(1 << dst_buf->b->v4l2_buf.index); in s5p_mfc_handle_frame_all_extracted()
[all …]
/drivers/media/platform/coda/
Dcoda-bit.c1035 struct vb2_buffer *src_buf, *dst_buf; in coda_prepare_encode() local
1044 dst_buf = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); in coda_prepare_encode()
1050 dst_buf->v4l2_buf.sequence = ctx->osequence; in coda_prepare_encode()
1075 vb2_dma_contig_plane_dma_addr(dst_buf, 0) + in coda_prepare_encode()
1083 memcpy(vb2_plane_vaddr(dst_buf, 0), in coda_prepare_encode()
1085 memcpy(vb2_plane_vaddr(dst_buf, 0) + ctx->vpu_header_size[0], in coda_prepare_encode()
1087 memcpy(vb2_plane_vaddr(dst_buf, 0) + ctx->vpu_header_size[0] + in coda_prepare_encode()
1092 vb2_dma_contig_plane_dma_addr(dst_buf, 0); in coda_prepare_encode()
1188 struct vb2_buffer *src_buf, *dst_buf; in coda_finish_encode() local
1193 dst_buf = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); in coda_finish_encode()
[all …]
/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.c1768 struct vb2_buffer *src_buf, *dst_buf; in s5p_jpeg_device_run() local
1774 dst_buf = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); in s5p_jpeg_device_run()
1776 dst_addr = vb2_dma_contig_plane_dma_addr(dst_buf, 0); in s5p_jpeg_device_run()
2257 struct vb2_buffer *src_buf, *dst_buf; in s5p_jpeg_irq() local
2269 dst_buf = v4l2_m2m_dst_buf_remove(curr_ctx->fh.m2m_ctx); in s5p_jpeg_irq()
2291 dst_buf->v4l2_buf.timecode = src_buf->v4l2_buf.timecode; in s5p_jpeg_irq()
2292 dst_buf->v4l2_buf.timestamp = src_buf->v4l2_buf.timestamp; in s5p_jpeg_irq()
2293 dst_buf->v4l2_buf.flags &= ~V4L2_BUF_FLAG_TSTAMP_SRC_MASK; in s5p_jpeg_irq()
2294 dst_buf->v4l2_buf.flags |= in s5p_jpeg_irq()
2299 vb2_set_plane_payload(dst_buf, 0, payload_size); in s5p_jpeg_irq()
[all …]
/drivers/media/platform/
Dsh_veu.c261 struct vb2_buffer *dst_buf) in sh_veu_process() argument
263 dma_addr_t addr = vb2_dma_contig_plane_dma_addr(dst_buf, 0); in sh_veu_process()
294 struct vb2_buffer *src_buf, *dst_buf; in sh_veu_device_run() local
297 dst_buf = v4l2_m2m_next_dst_buf(veu->m2m_ctx); in sh_veu_device_run()
299 if (src_buf && dst_buf) in sh_veu_device_run()
300 sh_veu_process(veu, src_buf, dst_buf); in sh_veu_device_run()
Dmx2_emmaprp.c292 struct vb2_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, 0); in emmaprp_device_run()
Dmem2mem_testdev.c381 struct vb2_buffer *src_buf, *dst_buf; in device_run() local
384 dst_buf = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); in device_run()
386 device_process(ctx, src_buf, dst_buf); in device_run()
Dm2m-deinterlace.c228 struct vb2_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, 0); in deinterlace_issue_dma()
/drivers/crypto/
Dmxs-dcp.c265 uint8_t *out_tmp, *src_buf, *dst_buf = NULL; in mxs_dcp_aes_block_crypt() local
317 dst_buf = sg_virt(dst); in mxs_dcp_aes_block_crypt()
323 memcpy(dst_buf + dst_off, out_tmp, rem); in mxs_dcp_aes_block_crypt()
Dixp4xx_crypto.c127 u32 dst_buf; member
379 free_buf_chain(dev, req_ctx->dst, crypt->dst_buf); in one_packet()
913 crypt->dst_buf = dst_hook.phys_next; in ablk_perform()
933 free_buf_chain(dev, req_ctx->dst, crypt->dst_buf); in ablk_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.c301 static void swap_buffer2(void *dst_buf, void *src_buf, int len) in swap_buffer2() argument
305 unsigned int *dst = dst_buf; in swap_buffer2()