Home
last modified time | relevance | path

Searched refs:dma_addr (Results 1 – 20 of 20) sorted by relevance

/u-boot/include/
A Dnvme.h26 unsigned cns, dma_addr_t dma_addr);
42 dma_addr_t dma_addr, u32 *result);
58 dma_addr_t dma_addr, u32 *result);
/u-boot/drivers/nvme/
A Dnvme.c77 int total_len, u64 dma_addr) in nvme_setup_prps() argument
80 int offset = dma_addr & (page_size - 1); in nvme_setup_prps()
95 dma_addr += (page_size - offset); in nvme_setup_prps()
98 *prp2 = dma_addr; in nvme_setup_prps()
129 dma_addr += page_size; in nvme_setup_prps()
454 unsigned cns, dma_addr_t dma_addr) in nvme_identify() argument
458 int offset = dma_addr & (page_size - 1); in nvme_identify()
465 c.identify.prp1 = cpu_to_le64(dma_addr); in nvme_identify()
471 dma_addr += (page_size - offset); in nvme_identify()
477 invalidate_dcache_range(dma_addr, in nvme_identify()
[all …]
/u-boot/drivers/spi/
A Dmtk_snor.c237 unsigned int length, dma_addr_t dma_addr) in mtk_snor_dma_exec() argument
244 writel(dma_addr, priv->base + MTK_NOR_REG_DMA_DADR); in mtk_snor_dma_exec()
245 writel(dma_addr + length, priv->base + MTK_NOR_REG_DMA_END_DADR); in mtk_snor_dma_exec()
286 dma_addr_t dma_addr; in mtk_snor_read_dma() local
291 dma_addr = dma_map_single(op->data.buf.in, op->data.nbytes, in mtk_snor_read_dma()
294 if (dma_mapping_error(priv->dev, dma_addr)) in mtk_snor_read_dma()
297 ret = mtk_snor_dma_exec(priv, op->addr.val, op->data.nbytes, dma_addr); in mtk_snor_read_dma()
299 dma_unmap_single(dma_addr, op->data.nbytes, DMA_FROM_DEVICE); in mtk_snor_read_dma()
/u-boot/drivers/mmc/
A Dtmio-common.c271 dma_addr_t dma_addr) in tmio_sd_dma_start() argument
283 tmio_sd_writel(priv, dma_addr & U32_MAX, TMIO_SD_DMA_ADDR_L); in tmio_sd_dma_start()
286 dma_addr >>= min_t(int, 32, 8 * sizeof(dma_addr)); in tmio_sd_dma_start()
288 tmio_sd_writel(priv, dma_addr & U32_MAX, TMIO_SD_DMA_ADDR_H); in tmio_sd_dma_start()
322 dma_addr_t dma_addr; in tmio_sd_dma_xfer() local
350 dma_addr = dma_map_single(buf, len, dir); in tmio_sd_dma_xfer()
352 tmio_sd_dma_start(priv, dma_addr); in tmio_sd_dma_xfer()
359 dma_unmap_single(dma_addr, len, dir); in tmio_sd_dma_xfer()
A Dfsl_esdhc.c108 dma_addr_t dma_addr; member
245 priv->dma_addr = dma_map_single(buf, trans_bytes, in esdhc_setup_dma()
253 priv->dma_addr); in esdhc_setup_dma()
263 if (upper_32_bits(priv->dma_addr)) in esdhc_setup_dma()
265 esdhc_write32(&regs->dsaddr, lower_32_bits(priv->dma_addr)); in esdhc_setup_dma()
474 dma_unmap_single(priv->dma_addr, in esdhc_send_cmd_common()
A Dsdhci.c77 dma_addr_t dma_addr; in sdhci_prepare_dma() local
108 dma_addr = dev_phys_to_bus(mmc_to_dev(host->mmc), host->start_addr); in sdhci_prepare_dma()
109 sdhci_writel(host, dma_addr, SDHCI_DMA_ADDRESS); in sdhci_prepare_dma()
A Docteontx_hsmmc.c1130 dma_addr_t dma_addr = (dma_addr_t)dm_pci_virt_to_mem(host->dev, in octeontx_mmc_read_blocks() local
1140 __func__, mmc->dev->name, data->dest, dma_addr, blkcnt, start); in octeontx_mmc_read_blocks()
1157 octeontx_mmc_start_dma(mmc, false, false, start, dma_addr, in octeontx_mmc_read_blocks()
1181 dma_addr, 1, timeout); in octeontx_mmc_read_blocks()
1182 dma_addr += mmc->read_bl_len; in octeontx_mmc_read_blocks()
1251 dma_addr_t dma_addr; in octeontx_mmc_write_blocks() local
1271 dma_addr = (u64)dm_pci_virt_to_mem(host->dev, (void *)data->src); in octeontx_mmc_write_blocks()
1274 octeontx_mmc_start_dma(mmc, true, false, start, dma_addr, in octeontx_mmc_write_blocks()
1293 dma_addr, 1, timeout); in octeontx_mmc_write_blocks()
1294 dma_addr += mmc->read_bl_len; in octeontx_mmc_write_blocks()
/u-boot/drivers/usb/musb-new/
A Dmusb_dma.h133 dma_addr_t dma_addr,
A Dmusb_core.h225 dma_addr_t *dma_addr, u32 *len);
A Dmusb_gadget.c859 u32 dma_addr = request->dma + request->actual; in rxstate() local
865 dma_addr, in rxstate()
/u-boot/drivers/mtd/nand/raw/
A Docteontx_bch.h57 dma_addr_t dma_addr; member
A Ddenali.c435 dma_addr_t dma_addr, int page, int write) in denali_setup_dma64() argument
452 denali->host_write(denali, mode, lower_32_bits(dma_addr)); in denali_setup_dma64()
455 denali->host_write(denali, mode, upper_32_bits(dma_addr)); in denali_setup_dma64()
459 dma_addr_t dma_addr, int page, int write) in denali_setup_dma32() argument
473 denali->host_write(denali, mode | ((dma_addr >> 16) << 8), 0x2200); in denali_setup_dma32()
476 denali->host_write(denali, mode | ((dma_addr & 0xffff) << 8), 0x2300); in denali_setup_dma32()
543 dma_addr_t dma_addr; in denali_dma_xfer() local
548 dma_addr = dma_map_single(buf, size, dir); in denali_dma_xfer()
549 if (dma_mapping_error(denali->dev, dma_addr)) { in denali_dma_xfer()
579 denali->setup_dma(denali, dma_addr, page, write); in denali_dma_xfer()
[all …]
A Ddenali.h306 dma_addr_t dma_addr; member
316 void (*setup_dma)(struct denali_nand_info *denali, dma_addr_t dma_addr,
/u-boot/drivers/ata/
A Dahci.c564 u64 dma_addr; in ahci_port_start() local
610 dma_addr = (ulong)pp->cmd_slot; in ahci_port_start()
611 writel_with_flush(dma_addr, port_mmio + PORT_LST_ADDR); in ahci_port_start()
612 writel_with_flush(dma_addr >> 32, port_mmio + PORT_LST_ADDR_HI); in ahci_port_start()
613 dma_addr = (ulong)pp->rx_fis; in ahci_port_start()
614 writel_with_flush(dma_addr, port_mmio + PORT_FIS_ADDR); in ahci_port_start()
615 writel_with_flush(dma_addr >> 32, port_mmio + PORT_FIS_ADDR_HI); in ahci_port_start()
/u-boot/test/dm/
A Dtest-fdt.c615 fdt32_t dma_addr[2]; in dm_test_fdt_translation() local
646 dma_addr[0] = cpu_to_be32(0); in dm_test_fdt_translation()
647 dma_addr[1] = cpu_to_be32(0); in dm_test_fdt_translation()
648 ut_asserteq(0x10000000, dev_translate_dma_address(dev, dma_addr)); in dm_test_fdt_translation()
651 dma_addr[0] = cpu_to_be32(1); in dm_test_fdt_translation()
652 dma_addr[1] = cpu_to_be32(0x100); in dm_test_fdt_translation()
653 ut_asserteq(0x20000000, dev_translate_dma_address(dev, dma_addr)); in dm_test_fdt_translation()
/u-boot/drivers/usb/cdns3/
A Dep0.c43 dma_addr_t dma_addr, in cdns3_ep0_run_transfer() argument
49 priv_ep->trb_pool[0].buffer = TRB_BUFFER(dma_addr); in cdns3_ep0_run_transfer()
54 priv_ep->trb_pool[1].buffer = TRB_BUFFER(dma_addr); in cdns3_ep0_run_transfer()
/u-boot/drivers/net/
A Dmvpp2.c1232 dma_addr_t dma_addr; member
1289 dma_addr_t dma_addr) in mvpp2_txdesc_dma_addr_set() argument
1292 tx_desc->pp21.buf_dma_addr = dma_addr; in mvpp2_txdesc_dma_addr_set()
1294 u64 val = (u64)dma_addr; in mvpp2_txdesc_dma_addr_set()
2578 lower_32_bits(bm_pool->dma_addr)); in mvpp2_bm_pool_create()
2761 dma_addr_t dma_addr, in mvpp2_pool_refill() argument
4454 u32 bm, dma_addr_t dma_addr) in mvpp2_rx_refill() argument
4456 mvpp2_pool_refill(port, bm, dma_addr, (unsigned long)dma_addr); in mvpp2_rx_refill()
5061 dma_addr_t dma_addr; in mvpp2_recv() local
5100 mvpp2_pool_refill(port, bm, dma_addr, dma_addr); in mvpp2_recv()
[all …]
/u-boot/include/usb/
A Dfotg210.h64 uint32_t dma_addr; /* 0x1cc: DMA Address Register */ member
/u-boot/drivers/usb/mtu3/
A Dmtu3_qmu.c56 dma_addr_t dma_addr) in gpd_dma_to_virt() argument
60 u32 offset = (dma_addr - dma_base) / sizeof(*gpd_head); in gpd_dma_to_virt()
/u-boot/drivers/usb/gadget/
A Dfotg210.c244 writel(virt_to_phys(buf), &regs->dma_addr); in fotg210_dma()

Completed in 53 milliseconds