Lines Matching full:bar

28 		.bar = a, \
34 enum pci_barno bar; member
57 .rg.bar = BAR_0,
62 /* Channel 0 - BAR 2, offset 0 Mbytes, size 2 Kbytes */
64 /* Channel 1 - BAR 2, offset 2 Mbytes, size 2 Kbytes */
68 /* Channel 0 - BAR 2, offset 4 Mbytes, size 2 Kbytes */
70 /* Channel 1 - BAR 2, offset 6 Mbytes, size 2 Kbytes */
75 /* Channel 0 - BAR 2, offset 8 Mbytes, size 2 Kbytes */
77 /* Channel 1 - BAR 2, offset 9 Mbytes, size 2 Kbytes */
81 /* Channel 0 - BAR 2, offset 10 Mbytes, size 2 Kbytes */
83 /* Channel 1 - BAR 2, offset 11 Mbytes, size 2 Kbytes */
143 pdata->rg.bar = FIELD_GET(DW_PCIE_VSEC_DMA_BAR, val); in dw_edma_pcie_get_vsec_dma_data()
184 /* Mapping PCI BAR regions */ in dw_edma_pcie_probe()
185 mask = BIT(vsec_data.rg.bar); in dw_edma_pcie_probe()
187 mask |= BIT(vsec_data.ll_wr[i].bar); in dw_edma_pcie_probe()
188 mask |= BIT(vsec_data.dt_wr[i].bar); in dw_edma_pcie_probe()
191 mask |= BIT(vsec_data.ll_rd[i].bar); in dw_edma_pcie_probe()
192 mask |= BIT(vsec_data.dt_rd[i].bar); in dw_edma_pcie_probe()
196 pci_err(pdev, "eDMA BAR I/O remapping failed\n"); in dw_edma_pcie_probe()
233 chip->reg_base = pcim_iomap_table(pdev)[vsec_data.rg.bar]; in dw_edma_pcie_probe()
243 ll_region->vaddr.io = pcim_iomap_table(pdev)[ll_block->bar]; in dw_edma_pcie_probe()
248 ll_region->paddr = pci_bus_address(pdev, ll_block->bar); in dw_edma_pcie_probe()
252 dt_region->vaddr.io = pcim_iomap_table(pdev)[dt_block->bar]; in dw_edma_pcie_probe()
257 dt_region->paddr = pci_bus_address(pdev, dt_block->bar); in dw_edma_pcie_probe()
268 ll_region->vaddr.io = pcim_iomap_table(pdev)[ll_block->bar]; in dw_edma_pcie_probe()
273 ll_region->paddr = pci_bus_address(pdev, ll_block->bar); in dw_edma_pcie_probe()
277 dt_region->vaddr.io = pcim_iomap_table(pdev)[dt_block->bar]; in dw_edma_pcie_probe()
282 dt_region->paddr = pci_bus_address(pdev, dt_block->bar); in dw_edma_pcie_probe()
298 vsec_data.rg.bar, vsec_data.rg.off, vsec_data.rg.sz, in dw_edma_pcie_probe()
303 pci_dbg(pdev, "L. List:\tWRITE CH%.2u, BAR=%u, off=0x%.8lx, sz=0x%zx bytes, addr(v=%p, p=%pa)\n", in dw_edma_pcie_probe()
304 i, vsec_data.ll_wr[i].bar, in dw_edma_pcie_probe()
308 pci_dbg(pdev, "Data:\tWRITE CH%.2u, BAR=%u, off=0x%.8lx, sz=0x%zx bytes, addr(v=%p, p=%pa)\n", in dw_edma_pcie_probe()
309 i, vsec_data.dt_wr[i].bar, in dw_edma_pcie_probe()
315 pci_dbg(pdev, "L. List:\tREAD CH%.2u, BAR=%u, off=0x%.8lx, sz=0x%zx bytes, addr(v=%p, p=%pa)\n", in dw_edma_pcie_probe()
316 i, vsec_data.ll_rd[i].bar, in dw_edma_pcie_probe()
320 pci_dbg(pdev, "Data:\tREAD CH%.2u, BAR=%u, off=0x%.8lx, sz=0x%zx bytes, addr(v=%p, p=%pa)\n", in dw_edma_pcie_probe()
321 i, vsec_data.dt_rd[i].bar, in dw_edma_pcie_probe()