Lines Matching refs:mmio
177 lo = readw(bus->mmio + offset); in scan_read32()
178 hi = readw(bus->mmio + offset + 2); in scan_read32()
184 return readl(bus->mmio + offset); in scan_read32()
207 iounmap(bus->mmio); in ssb_iounmap()
211 pci_iounmap(bus->host_pci, bus->mmio); in ssb_iounmap()
219 bus->mmio = NULL; in ssb_iounmap()
226 void __iomem *mmio = NULL; in ssb_ioremap() local
233 mmio = ioremap(baseaddr, SSB_CORE_SIZE); in ssb_ioremap()
237 mmio = pci_iomap(bus->host_pci, 0, ~0UL); in ssb_ioremap()
244 mmio = (void __iomem *)baseaddr; in ssb_ioremap()
248 return mmio; in ssb_ioremap()
275 void __iomem *mmio; in ssb_bus_scan() local
281 mmio = ssb_ioremap(bus, baseaddr); in ssb_bus_scan()
282 if (!mmio) in ssb_bus_scan()
284 bus->mmio = mmio; in ssb_bus_scan()
336 iounmap(mmio); in ssb_bus_scan()
337 mmio = ioremap(baseaddr, SSB_CORE_SIZE * bus->nr_devices); in ssb_bus_scan()
338 if (!mmio) in ssb_bus_scan()
340 bus->mmio = mmio; in ssb_bus_scan()