Home
last modified time | relevance | path

Searched refs:dma_dst (Results 1 – 21 of 21) sorted by relevance

/drivers/crypto/allwinner/sun8i-ce/
Dsun8i-ce-trng.c26 dma_addr_t dma_dst; in sun8i_ce_trng_read() local
50 dma_dst = dma_map_single(ce->dev, d, todo, DMA_FROM_DEVICE); in sun8i_ce_trng_read()
51 if (dma_mapping_error(ce->dev, dma_dst)) { in sun8i_ce_trng_read()
80 cet->t_dst[0].addr = cpu_to_le32(dma_dst); in sun8i_ce_trng_read()
90 dma_unmap_single(ce->dev, dma_dst, todo, DMA_FROM_DEVICE); in sun8i_ce_trng_read()
Dsun8i-ce-prng.c62 dma_addr_t dma_iv, dma_dst; in sun8i_ce_prng_generate() local
104 dma_dst = dma_map_single(ce->dev, d, todo, DMA_FROM_DEVICE); in sun8i_ce_prng_generate()
105 if (dma_mapping_error(ce->dev, dma_dst)) { in sun8i_ce_prng_generate()
138 cet->t_dst[0].addr = cpu_to_le32(dma_dst); in sun8i_ce_prng_generate()
148 dma_unmap_single(ce->dev, dma_dst, todo, DMA_FROM_DEVICE); in sun8i_ce_prng_generate()
/drivers/crypto/allwinner/sun8i-ss/
Dsun8i-ss-prng.c62 dma_addr_t dma_iv, dma_dst; in sun8i_ss_prng_generate() local
108 dma_dst = dma_map_single(ss->dev, d, todo, DMA_FROM_DEVICE); in sun8i_ss_prng_generate()
109 if (dma_mapping_error(ss->dev, dma_dst)) { in sun8i_ss_prng_generate()
124 writel(dma_dst, ss->base + SS_DST_ADR_REG); in sun8i_ss_prng_generate()
157 dma_unmap_single(ss->dev, dma_dst, todo, DMA_FROM_DEVICE); in sun8i_ss_prng_generate()
/drivers/mtd/hyperbus/
Dhbmc-am654.c80 dma_addr_t dma_dst, dma_src; in am654_hbmc_dma_read() local
87 dma_dst = dma_map_single(rx_chan->device->dev, to, len, DMA_FROM_DEVICE); in am654_hbmc_dma_read()
88 if (dma_mapping_error(rx_chan->device->dev, dma_dst)) { in am654_hbmc_dma_read()
94 tx = dmaengine_prep_dma_memcpy(rx_chan, dma_dst, dma_src, len, flags); in am654_hbmc_dma_read()
120 dma_unmap_single(rx_chan->device->dev, dma_dst, len, DMA_FROM_DEVICE); in am654_hbmc_dma_read()
/drivers/mtd/nand/onenand/
Donenand_omap2.c368 dma_addr_t dma_src, dma_dst; in omap2_onenand_read_bufferram() local
388 dma_dst = dma_map_single(dev, buf, count, DMA_FROM_DEVICE); in omap2_onenand_read_bufferram()
391 if (dma_mapping_error(dev, dma_dst)) { in omap2_onenand_read_bufferram()
396 err = omap2_onenand_dma_transfer(c, dma_src, dma_dst, count); in omap2_onenand_read_bufferram()
397 dma_unmap_single(dev, dma_dst, count, DMA_FROM_DEVICE); in omap2_onenand_read_bufferram()
416 dma_addr_t dma_src, dma_dst; in omap2_onenand_write_bufferram() local
430 dma_dst = c->phys_base + bram_offset; in omap2_onenand_write_bufferram()
436 err = omap2_onenand_dma_transfer(c, dma_src, dma_dst, count); in omap2_onenand_write_bufferram()
Donenand_samsung.c622 dma_addr_t dma_src, dma_dst; in s5pc110_read_bufferram() local
655 dma_dst = dma_map_page(dev, page, ofs, count, DMA_FROM_DEVICE); in s5pc110_read_bufferram()
659 dma_dst = dma_map_single(dev, buf, count, DMA_FROM_DEVICE); in s5pc110_read_bufferram()
661 if (dma_mapping_error(dev, dma_dst)) { in s5pc110_read_bufferram()
665 err = s5pc110_dma_ops(dma_dst, dma_src, in s5pc110_read_bufferram()
669 dma_unmap_page(dev, dma_dst, count, DMA_FROM_DEVICE); in s5pc110_read_bufferram()
671 dma_unmap_single(dev, dma_dst, count, DMA_FROM_DEVICE); in s5pc110_read_bufferram()
/drivers/dma/
Daltera-msgdma.c332 msgdma_prep_memcpy(struct dma_chan *dchan, dma_addr_t dma_dst, in msgdma_prep_memcpy() argument
359 msgdma_desc_config(desc, dma_dst, dma_src, copy, in msgdma_prep_memcpy()
363 dma_dst += copy; in msgdma_prep_memcpy()
398 dma_addr_t dma_dst, dma_src; in msgdma_prep_slave_sg() local
428 dma_dst = cfg->dst_addr; in msgdma_prep_slave_sg()
432 dma_dst = sg_dma_address(sgl) + sg_dma_len(sgl) - avail; in msgdma_prep_slave_sg()
435 msgdma_desc_config(desc, dma_dst, dma_src, len, stride); in msgdma_prep_slave_sg()
Dmmp_pdma.c445 dma_addr_t dma_dst, dma_addr_t dma_src, in mmp_pdma_prep_memcpy() argument
476 if (dma_src & 0x7 || dma_dst & 0x7) in mmp_pdma_prep_memcpy()
481 new->desc.dtadr = dma_dst; in mmp_pdma_prep_memcpy()
497 dma_dst += copy; in mmp_pdma_prep_memcpy()
500 dma_dst += copy; in mmp_pdma_prep_memcpy()
612 dma_addr_t dma_src, dma_dst; in mmp_pdma_prep_dma_cyclic() local
630 dma_dst = chan->dev_addr; in mmp_pdma_prep_dma_cyclic()
633 dma_dst = buf_addr; in mmp_pdma_prep_dma_cyclic()
654 new->desc.dtadr = dma_dst; in mmp_pdma_prep_dma_cyclic()
670 dma_dst += period_len; in mmp_pdma_prep_dma_cyclic()
Dplx_dma.c252 dma_addr_t dma_dst, dma_addr_t dma_src, size_t len, in plx_dma_prep_memcpy() argument
272 plxdesc->hw->dst_addr_lo = cpu_to_le32(lower_32_bits(dma_dst)); in plx_dma_prep_memcpy()
273 plxdesc->hw->dst_addr_hi = cpu_to_le16(upper_32_bits(dma_dst)); in plx_dma_prep_memcpy()
Dpxa_dma.c915 dma_addr_t dma_dst, dma_addr_t dma_src, in pxad_prep_memcpy() argument
930 __func__, (unsigned long)dma_dst, (unsigned long)dma_src, in pxad_prep_memcpy()
941 !IS_ALIGNED(dma_dst, 1 << PDMA_ALIGNMENT)) in pxad_prep_memcpy()
950 hw_desc->dtadr = dma_dst; in pxad_prep_memcpy()
953 dma_dst += copy; in pxad_prep_memcpy()
Dfsldma.c760 dma_addr_t dma_dst, dma_addr_t dma_src, in fsl_dma_prep_memcpy() argument
788 set_desc_dst(chan, &new->hw, dma_dst); in fsl_dma_prep_memcpy()
801 dma_dst += copy; in fsl_dma_prep_memcpy()
Dfsl-edma-common.h245 struct dma_chan *chan, dma_addr_t dma_dst, dma_addr_t dma_src,
Dfsl-edma-common.c595 dma_addr_t dma_dst, dma_addr_t dma_src, in fsl_edma_prep_memcpy() argument
609 fsl_edma_fill_tcd(fsl_desc->tcd[0].vtcd, dma_src, dma_dst, in fsl_edma_prep_memcpy()
Dimx-sdma.c1537 struct dma_chan *chan, dma_addr_t dma_dst, in sdma_prep_memcpy() argument
1552 &dma_src, &dma_dst, len, channel); in sdma_prep_memcpy()
1563 bd->ext_buffer_addr = dma_dst; in sdma_prep_memcpy()
1569 dma_dst += count; in sdma_prep_memcpy()
/drivers/spi/
Dspi-ti-qspi.c442 static int ti_qspi_dma_xfer(struct ti_qspi *qspi, dma_addr_t dma_dst, in ti_qspi_dma_xfer() argument
452 tx = dmaengine_prep_dma_memcpy(chan, dma_dst, dma_src, len, flags); in ti_qspi_dma_xfer()
513 dma_addr_t dma_dst; in ti_qspi_dma_xfer_sg() local
517 dma_dst = sg_dma_address(sg); in ti_qspi_dma_xfer_sg()
519 ret = ti_qspi_dma_xfer(qspi, dma_dst, dma_src, len); in ti_qspi_dma_xfer_sg()
Dspi-cadence-quadspi.c1242 dma_addr_t dma_dst; in cqspi_direct_read_execute() local
1251 dma_dst = dma_map_single(ddev, buf, len, DMA_FROM_DEVICE); in cqspi_direct_read_execute()
1252 if (dma_mapping_error(ddev, dma_dst)) { in cqspi_direct_read_execute()
1256 tx = dmaengine_prep_dma_memcpy(cqspi->rx_chan, dma_dst, dma_src, in cqspi_direct_read_execute()
1286 dma_unmap_single(ddev, dma_dst, len, DMA_FROM_DEVICE); in cqspi_direct_read_execute()
/drivers/crypto/hisilicon/zip/
Dzip_crypto.c80 dma_addr_t dma_dst; member
267 sqe->dest_addr_l = lower_32_bits(req->dma_dst); in hisi_zip_fill_addr()
268 sqe->dest_addr_h = upper_32_bits(req->dma_dst); in hisi_zip_fill_addr()
357 &req->dma_dst); in hisi_zip_do_work()
/drivers/mtd/nand/raw/
Dfsmc_nand.c491 dma_addr_t dma_dst, dma_src, dma_addr; in dma_xfer() local
509 dma_dst = host->data_pa; in dma_xfer()
512 dma_dst = dma_addr; in dma_xfer()
515 tx = dma_dev->device_prep_dma_memcpy(chan, dma_dst, dma_src, in dma_xfer()
/drivers/dma/xilinx/
Dzynqmp_dma.c820 struct dma_chan *dchan, dma_addr_t dma_dst, in zynqmp_dma_prep_memcpy() argument
850 dma_dst, copy, prev); in zynqmp_dma_prep_memcpy()
854 dma_dst += copy; in zynqmp_dma_prep_memcpy()
Dxilinx_dma.c2085 xilinx_cdma_prep_memcpy(struct dma_chan *dchan, dma_addr_t dma_dst, in xilinx_cdma_prep_memcpy() argument
2111 hw->dest_addr = dma_dst; in xilinx_cdma_prep_memcpy()
2114 hw->dest_addr_msb = upper_32_bits(dma_dst); in xilinx_cdma_prep_memcpy()
/drivers/pci/endpoint/functions/
Dpci-epf-test.c120 dma_addr_t dma_dst, dma_addr_t dma_src, in pci_epf_test_data_transfer() argument
126 dma_addr_t dma_local = (dir == DMA_MEM_TO_DEV) ? dma_src : dma_dst; in pci_epf_test_data_transfer()
153 tx = dmaengine_prep_dma_memcpy(chan, dma_dst, dma_src, len, in pci_epf_test_data_transfer()