/linux/drivers/crypto/caam/ |
H A D | caamprng.c | 61 static u32 *caam_init_prng_desc(u32 *desc, dma_addr_t dst_dma, u32 len) in caam_init_prng_desc() argument 67 append_fifo_store(desc, dst_dma, in caam_init_prng_desc() 83 dma_addr_t dst_dma; in caam_prng_generate() local 109 dst_dma = dma_map_single(jrdev, buf, dlen, DMA_FROM_DEVICE); in caam_prng_generate() 110 if (dma_mapping_error(jrdev, dst_dma)) { in caam_prng_generate() 118 caam_init_prng_desc(desc, dst_dma, dlen), in caam_prng_generate() 126 dma_unmap_single(jrdev, dst_dma, dlen, DMA_FROM_DEVICE); in caam_prng_generate()
|
H A D | caamrng.c | 68 static u32 *caam_init_desc(u32 *desc, dma_addr_t dst_dma) in caam_init_desc() argument 75 append_fifo_store(desc, dst_dma, in caam_init_desc() 89 dma_addr_t dst_dma; in caam_rng_read_one() local 98 dst_dma = dma_map_single(jrdev, dst, len, DMA_FROM_DEVICE); in caam_rng_read_one() 99 if (dma_mapping_error(jrdev, dst_dma)) { in caam_rng_read_one() 106 caam_init_desc(desc, dst_dma), in caam_rng_read_one() 113 dma_unmap_single(jrdev, dst_dma, len, DMA_FROM_DEVICE); in caam_rng_read_one()
|
H A D | caamalg.c | 1080 dma_addr_t dst_dma, src_dma; in init_aead_job() local 1104 dst_dma = src_dma; in init_aead_job() 1109 dst_dma = 0; in init_aead_job() 1112 dst_dma = sg_dma_address(req->dst); in init_aead_job() 1115 dst_dma = edesc->sec4_sg_dma + in init_aead_job() 1123 append_seq_out_ptr(desc, dst_dma, in init_aead_job() 1127 append_seq_out_ptr(desc, dst_dma, in init_aead_job() 1260 dma_addr_t src_dma, dst_dma, ptr; in init_skcipher_job() local 1289 dst_dma = src_dma + !!ivsize * sizeof(struct sec4_sg_entry); in init_skcipher_job() 1292 dst_dma = sg_dma_address(req->dst); in init_skcipher_job() [all …]
|
/linux/drivers/media/platform/verisilicon/ |
H A D | hantro_postproc.c | 72 dma_addr_t dst_dma; in hantro_postproc_g1_enable() local 91 dst_dma = vb2_dma_contig_plane_dma_addr(&dst_buf->vb2_buf, 0); in hantro_postproc_g1_enable() 97 HANTRO_PP_REG_WRITE(vpu, out_luma_base, dst_dma); in hantro_postproc_g1_enable() 123 dma_addr_t dst_dma; in hantro_postproc_g2_enable() local 126 dst_dma = vb2_dma_contig_plane_dma_addr(&dst_buf->vb2_buf, 0); in hantro_postproc_g2_enable() 134 hantro_write_addr(vpu, G2_DS_DST, dst_dma); in hantro_postproc_g2_enable() 135 hantro_write_addr(vpu, G2_DS_DST_CHR, dst_dma + (chroma_offset >> down_scale)); in hantro_postproc_g2_enable() 137 hantro_write_addr(vpu, G2_RS_OUT_LUMA_ADDR, dst_dma); in hantro_postproc_g2_enable() 138 hantro_write_addr(vpu, G2_RS_OUT_CHROMA_ADDR, dst_dma + chroma_offset); in hantro_postproc_g2_enable()
|
H A D | hantro_g1_h264_dec.c | 210 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()
|
H A D | hantro_g1_vp8_dec.c | 412 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()
|
H A D | rockchip_vpu2_hw_h264_dec.c | 427 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()
|
H A D | rockchip_vpu2_hw_vp8_dec.c | 488 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()
|
H A D | rockchip_vpu981_hw_av1_dec.c | 2176 dma_addr_t dst_dma; in rockchip_vpu981_postproc_enable() local 2180 dst_dma = vb2_dma_contig_plane_dma_addr(&vb2_dst->vb2_buf, 0); in rockchip_vpu981_postproc_enable() 2218 hantro_write_addr(vpu, AV1_PP_OUT_LU, dst_dma); in rockchip_vpu981_postproc_enable() 2219 hantro_write_addr(vpu, AV1_PP_OUT_CH, dst_dma + chroma_offset); in rockchip_vpu981_postproc_enable()
|
/linux/drivers/crypto/marvell/cesa/ |
H A D | tdma.c | 86 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()
|
H A D | cesa.h | 307 u32 dst_dma; member
|
/linux/drivers/dma/ptdma/ |
H A D | ptdma-dev.c | 113 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()
|
H A D | ptdma.h | 140 dma_addr_t src_dma, dst_dma; member
|
H A D | ptdma-dmaengine.c | 201 pt_engine->dst_dma = dst; in pt_create_desc()
|
/linux/include/linux/ |
H A D | ccp.h | 469 dma_addr_t src_dma, dst_dma; member
|
/linux/drivers/crypto/ccp/ |
H A D | ccp-dmaengine.c | 434 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()
|
H A D | ccp-ops.c | 2110 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()
|
/linux/drivers/mtd/nand/raw/atmel/ |
H A D | nand-controller.c | 371 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()
|
/linux/drivers/mtd/nand/raw/ |
H A D | cadence-nand-controller.c | 1824 dma_addr_t src_dma, dst_dma, buf_dma; in cadence_nand_slave_dma_transfer() local 1839 dst_dma = buf_dma; in cadence_nand_slave_dma_transfer() 1842 dst_dma = cdns_ctrl->io.dma; in cadence_nand_slave_dma_transfer() 1845 tx = dmaengine_prep_dma_memcpy(cdns_ctrl->dmac, dst_dma, src_dma, len, in cadence_nand_slave_dma_transfer()
|