Home
last modified time | relevance | path

Searched refs:dst_dma (Results 1 – 17 of 17) sorted by relevance

/drivers/crypto/caam/
Dcaamprng.c59 static u32 *caam_init_prng_desc(u32 *desc, dma_addr_t dst_dma, u32 len) in caam_init_prng_desc() argument
65 append_fifo_store(desc, dst_dma, in caam_init_prng_desc()
80 dma_addr_t dst_dma; in caam_prng_generate() local
103 dst_dma = dma_map_single(jrdev, buf, dlen, DMA_FROM_DEVICE); in caam_prng_generate()
104 if (dma_mapping_error(jrdev, dst_dma)) { in caam_prng_generate()
112 caam_init_prng_desc(desc, dst_dma, dlen), in caam_prng_generate()
120 dma_unmap_single(jrdev, dst_dma, dlen, DMA_FROM_DEVICE); in caam_prng_generate()
Dcaamrng.c66 static u32 *caam_init_desc(u32 *desc, dma_addr_t dst_dma) in caam_init_desc() argument
73 append_fifo_store(desc, dst_dma, in caam_init_desc()
87 dma_addr_t dst_dma; in caam_rng_read_one() local
96 dst_dma = dma_map_single(jrdev, dst, len, DMA_FROM_DEVICE); in caam_rng_read_one()
97 if (dma_mapping_error(jrdev, dst_dma)) { in caam_rng_read_one()
104 caam_init_desc(desc, dst_dma), in caam_rng_read_one()
111 dma_unmap_single(jrdev, dst_dma, len, DMA_FROM_DEVICE); in caam_rng_read_one()
Dcaamalg.c1065 dma_addr_t dst_dma, src_dma; in init_aead_job() local
1089 dst_dma = src_dma; in init_aead_job()
1094 dst_dma = 0; in init_aead_job()
1097 dst_dma = sg_dma_address(req->dst); in init_aead_job()
1100 dst_dma = edesc->sec4_sg_dma + in init_aead_job()
1108 append_seq_out_ptr(desc, dst_dma, in init_aead_job()
1112 append_seq_out_ptr(desc, dst_dma, in init_aead_job()
1244 dma_addr_t src_dma, dst_dma, ptr; in init_skcipher_job() local
1273 dst_dma = src_dma + !!ivsize * sizeof(struct sec4_sg_entry); in init_skcipher_job()
1276 dst_dma = sg_dma_address(req->dst); in init_skcipher_job()
[all …]
/drivers/media/platform/verisilicon/
Dhantro_postproc.c68 dma_addr_t dst_dma; in hantro_postproc_g1_enable() local
87 dst_dma = vb2_dma_contig_plane_dma_addr(&dst_buf->vb2_buf, 0); in hantro_postproc_g1_enable()
93 HANTRO_PP_REG_WRITE(vpu, out_luma_base, dst_dma); in hantro_postproc_g1_enable()
119 dma_addr_t dst_dma; in hantro_postproc_g2_enable() local
122 dst_dma = vb2_dma_contig_plane_dma_addr(&dst_buf->vb2_buf, 0); in hantro_postproc_g2_enable()
130 hantro_write_addr(vpu, G2_DS_DST, dst_dma); in hantro_postproc_g2_enable()
131 hantro_write_addr(vpu, G2_DS_DST_CHR, dst_dma + (chroma_offset >> down_scale)); in hantro_postproc_g2_enable()
133 hantro_write_addr(vpu, G2_RS_OUT_LUMA_ADDR, dst_dma); in hantro_postproc_g2_enable()
134 hantro_write_addr(vpu, G2_RS_OUT_CHROMA_ADDR, dst_dma + chroma_offset); in hantro_postproc_g2_enable()
Dhantro_g1_h264_dec.c210 dma_addr_t src_dma, dst_dma; in set_buffers() local
219 dst_dma = hantro_get_dec_buf_addr(ctx, &dst_buf->vb2_buf); in set_buffers()
223 vdpu_write_relaxed(vpu, dst_dma + offset, G1_REG_ADDR_DST); in set_buffers()
243 vdpu_write_relaxed(vpu, dst_dma + offset, G1_REG_ADDR_DIR_MV); in set_buffers()
Dhantro_g1_vp8_dec.c412 dma_addr_t dst_dma; in cfg_buffers() local
428 dst_dma = hantro_get_dec_buf_addr(ctx, &vb2_dst->vb2_buf); in cfg_buffers()
429 vdpu_write_relaxed(vpu, dst_dma, G1_REG_ADDR_DST); in cfg_buffers()
Drockchip_vpu2_hw_h264_dec.c427 dma_addr_t src_dma, dst_dma; in set_buffers() local
436 dst_dma = hantro_get_dec_buf_addr(ctx, &dst_buf->vb2_buf); in set_buffers()
440 vdpu_write_relaxed(vpu, dst_dma + offset, VDPU_REG_DEC_OUT_BASE); in set_buffers()
460 vdpu_write_relaxed(vpu, dst_dma + offset, VDPU_REG_DIR_MV_BASE); in set_buffers()
Drockchip_vpu2_hw_vp8_dec.c488 dma_addr_t dst_dma; in cfg_buffers() local
505 dst_dma = vb2_dma_contig_plane_dma_addr(&vb2_dst->vb2_buf, 0); in cfg_buffers()
506 vdpu_write_relaxed(vpu, dst_dma, VDPU_REG_ADDR_DST); in cfg_buffers()
/drivers/crypto/marvell/cesa/
Dtdma.c86 tdma->dst = cpu_to_le32(tdma->dst_dma + engine->sram_dma); in mv_cesa_dma_prepare()
241 tdma->dst_dma = op_desc->src_dma; in mv_cesa_dma_add_result_op()
275 tdma->dst_dma = CESA_SA_CFG_SRAM_OFFSET; in mv_cesa_dma_add_op()
293 tdma->dst_dma = dst; in mv_cesa_dma_add_data_transfer()
Dcesa.h307 u32 dst_dma; member
/drivers/dma/ptdma/
Dptdma-dev.c113 desc.dst_lo = lower_32_bits(pt_engine->dst_dma); in pt_core_perform_passthru()
114 desc.dw5.dst_hi = upper_32_bits(pt_engine->dst_dma); in pt_core_perform_passthru()
Dptdma.h140 dma_addr_t src_dma, dst_dma; member
Dptdma-dmaengine.c201 pt_engine->dst_dma = dst; in pt_create_desc()
/drivers/crypto/ccp/
Dccp-dmaengine.c434 ccp_pt->dst_dma = sg_dma_address(dst_sg) + dst_offset; in ccp_create_desc()
445 &ccp_pt->dst_dma, ccp_pt->src_len); in ccp_create_desc()
Dccp-ops.c2110 if (!pt->src_dma || !pt->dst_dma) in ccp_run_passthru_nomap_cmd()
2152 op.dst.u.dma.address = pt->dst_dma; in ccp_run_passthru_nomap_cmd()
/drivers/mtd/nand/raw/atmel/
Dnand-controller.c371 dma_addr_t src_dma, dst_dma, buf_dma; in atmel_nand_dma_transfer() local
384 dst_dma = buf_dma; in atmel_nand_dma_transfer()
387 dst_dma = dev_dma; in atmel_nand_dma_transfer()
390 tx = dmaengine_prep_dma_memcpy(nc->dmac, dst_dma, src_dma, len, in atmel_nand_dma_transfer()
/drivers/mtd/nand/raw/
Dcadence-nand-controller.c1819 dma_addr_t src_dma, dst_dma, buf_dma; in cadence_nand_slave_dma_transfer() local
1834 dst_dma = buf_dma; in cadence_nand_slave_dma_transfer()
1837 dst_dma = cdns_ctrl->io.dma; in cadence_nand_slave_dma_transfer()
1840 tx = dmaengine_prep_dma_memcpy(cdns_ctrl->dmac, dst_dma, src_dma, len, in cadence_nand_slave_dma_transfer()