Home
last modified time | relevance | path

Searched refs:ll_region (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/dma/dw-edma/
H A Ddw-edma-pcie.c238 struct dw_edma_region *ll_region = &chip->ll_region_wr[i]; in dw_edma_pcie_probe() local
243 ll_region->vaddr.io = pcim_iomap_table(pdev)[ll_block->bar]; in dw_edma_pcie_probe()
244 if (!ll_region->vaddr.io) in dw_edma_pcie_probe()
247 ll_region->vaddr.io += ll_block->off; in dw_edma_pcie_probe()
248 ll_region->paddr = pci_bus_address(pdev, ll_block->bar); in dw_edma_pcie_probe()
249 ll_region->paddr += ll_block->off; in dw_edma_pcie_probe()
250 ll_region->sz = ll_block->sz; in dw_edma_pcie_probe()
263 struct dw_edma_region *ll_region = &chip->ll_region_rd[i]; in dw_edma_pcie_probe() local
268 ll_region->vaddr.io = pcim_iomap_table(pdev)[ll_block->bar]; in dw_edma_pcie_probe()
269 if (!ll_region->vaddr.io) in dw_edma_pcie_probe()
[all …]
H A Ddw-hdma-v0-core.c161 struct dw_hdma_v0_lli *lli = chunk->ll_region.vaddr.mem + ofs; in dw_hdma_v0_write_ll_data()
168 struct dw_hdma_v0_lli __iomem *lli = chunk->ll_region.vaddr.io + ofs; in dw_hdma_v0_write_ll_data()
183 struct dw_hdma_v0_llp *llp = chunk->ll_region.vaddr.mem + ofs; in dw_hdma_v0_write_ll_link()
188 struct dw_hdma_v0_llp __iomem *llp = chunk->ll_region.vaddr.io + ofs; in dw_hdma_v0_write_ll_link()
211 dw_hdma_v0_write_ll_link(chunk, i, control, chunk->ll_region.paddr); in dw_hdma_v0_core_write_chunk()
225 readl(chunk->ll_region.vaddr.io); in dw_hdma_v0_sync_ll_data()
252 lower_32_bits(chunk->ll_region.paddr)); in dw_hdma_v0_core_start()
254 upper_32_bits(chunk->ll_region.paddr)); in dw_hdma_v0_core_start()
H A Ddw-edma-v0-core.c285 struct dw_edma_v0_lli *lli = chunk->ll_region.vaddr.mem + ofs; in dw_edma_v0_write_ll_data()
292 struct dw_edma_v0_lli __iomem *lli = chunk->ll_region.vaddr.io + ofs; in dw_edma_v0_write_ll_data()
307 struct dw_edma_v0_llp *llp = chunk->ll_region.vaddr.mem + ofs; in dw_edma_v0_write_ll_link()
312 struct dw_edma_v0_llp __iomem *llp = chunk->ll_region.vaddr.io + ofs; in dw_edma_v0_write_ll_link()
346 dw_edma_v0_write_ll_link(chunk, i, control, chunk->ll_region.paddr); in dw_edma_v0_core_write_chunk()
360 readl(chunk->ll_region.vaddr.io); in dw_edma_v0_sync_ll_data()
425 lower_32_bits(chunk->ll_region.paddr)); in dw_edma_v0_core_start()
427 upper_32_bits(chunk->ll_region.paddr)); in dw_edma_v0_core_start()
H A Ddw-edma-core.c96 chunk->ll_region.paddr = chip->ll_region_wr[chan->id].paddr; in dw_edma_alloc_chunk()
97 chunk->ll_region.vaddr = chip->ll_region_wr[chan->id].vaddr; in dw_edma_alloc_chunk()
99 chunk->ll_region.paddr = chip->ll_region_rd[chan->id].paddr; in dw_edma_alloc_chunk()
100 chunk->ll_region.vaddr = chip->ll_region_rd[chan->id].vaddr; in dw_edma_alloc_chunk()
206 desc->xfer_sz += child->ll_region.sz; in dw_edma_start_transfer()
481 chunk->ll_region.sz += burst->sz; in dw_edma_device_transfer()
H A Ddw-edma-core.h60 struct dw_edma_region ll_region; /* Linked list */ member