Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/crypto/caam/
Dcaamprng.c61 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()
Dcaamrng.c68 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()
Dcaamalg.c1080 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-6.6.21/drivers/media/platform/verisilicon/
Dhantro_postproc.c72 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()
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()
Drockchip_vpu981_hw_av1_dec.c2175 dma_addr_t dst_dma; in rockchip_vpu981_postproc_enable() local
2179 dst_dma = vb2_dma_contig_plane_dma_addr(&vb2_dst->vb2_buf, 0); in rockchip_vpu981_postproc_enable()
2217 hantro_write_addr(vpu, AV1_PP_OUT_LU, dst_dma); in rockchip_vpu981_postproc_enable()
2218 hantro_write_addr(vpu, AV1_PP_OUT_CH, dst_dma + chroma_offset); in rockchip_vpu981_postproc_enable()
/linux-6.6.21/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
/linux-6.6.21/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()
/linux-6.6.21/include/linux/
Dccp.h469 dma_addr_t src_dma, dst_dma; member
/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/drivers/mtd/nand/raw/
Dcadence-nand-controller.c1827 dma_addr_t src_dma, dst_dma, buf_dma; in cadence_nand_slave_dma_transfer() local
1842 dst_dma = buf_dma; in cadence_nand_slave_dma_transfer()
1845 dst_dma = cdns_ctrl->io.dma; in cadence_nand_slave_dma_transfer()
1848 tx = dmaengine_prep_dma_memcpy(cdns_ctrl->dmac, dst_dma, src_dma, len, in cadence_nand_slave_dma_transfer()