Searched refs:dt_region (Results 1 – 2 of 2) sorted by relevance
225 struct dw_edma_region *dt_region = &chip->dt_region_wr[i]; in dw_edma_pcie_probe() local238 dt_region->vaddr = pcim_iomap_table(pdev)[dt_block->bar]; in dw_edma_pcie_probe()239 if (!dt_region->vaddr) in dw_edma_pcie_probe()242 dt_region->vaddr += dt_block->off; in dw_edma_pcie_probe()243 dt_region->paddr = pdev->resource[dt_block->bar].start; in dw_edma_pcie_probe()244 dt_region->paddr += dt_block->off; in dw_edma_pcie_probe()245 dt_region->sz = dt_block->sz; in dw_edma_pcie_probe()250 struct dw_edma_region *dt_region = &chip->dt_region_rd[i]; in dw_edma_pcie_probe() local263 dt_region->vaddr = pcim_iomap_table(pdev)[dt_block->bar]; in dw_edma_pcie_probe()264 if (!dt_region->vaddr) in dw_edma_pcie_probe()[all …]
708 struct dw_edma_region *dt_region; in dw_edma_channel_setup() local736 dt_region = devm_kzalloc(dev, sizeof(*dt_region), GFP_KERNEL); in dw_edma_channel_setup()737 if (!dt_region) in dw_edma_channel_setup()740 chan->vc.chan.private = dt_region; in dw_edma_channel_setup()782 dt_region->paddr = chip->dt_region_wr[j].paddr; in dw_edma_channel_setup()783 dt_region->vaddr = chip->dt_region_wr[j].vaddr; in dw_edma_channel_setup()784 dt_region->sz = chip->dt_region_wr[j].sz; in dw_edma_channel_setup()786 dt_region->paddr = chip->dt_region_rd[j].paddr; in dw_edma_channel_setup()787 dt_region->vaddr = chip->dt_region_rd[j].vaddr; in dw_edma_channel_setup()788 dt_region->sz = chip->dt_region_rd[j].sz; in dw_edma_channel_setup()