Lines Matching refs:mr
255 MemoryRegion *mr; in sii3112_pci_realize() local
267 mr = g_new(MemoryRegion, 1); in sii3112_pci_realize()
268 memory_region_init_alias(mr, OBJECT(d), "sii3112.bar0", &d->mmio, 0x80, 8); in sii3112_pci_realize()
269 pci_register_bar(dev, 0, PCI_BASE_ADDRESS_SPACE_IO, mr); in sii3112_pci_realize()
270 mr = g_new(MemoryRegion, 1); in sii3112_pci_realize()
271 memory_region_init_alias(mr, OBJECT(d), "sii3112.bar1", &d->mmio, 0x88, 4); in sii3112_pci_realize()
272 pci_register_bar(dev, 1, PCI_BASE_ADDRESS_SPACE_IO, mr); in sii3112_pci_realize()
273 mr = g_new(MemoryRegion, 1); in sii3112_pci_realize()
274 memory_region_init_alias(mr, OBJECT(d), "sii3112.bar2", &d->mmio, 0xc0, 8); in sii3112_pci_realize()
275 pci_register_bar(dev, 2, PCI_BASE_ADDRESS_SPACE_IO, mr); in sii3112_pci_realize()
276 mr = g_new(MemoryRegion, 1); in sii3112_pci_realize()
277 memory_region_init_alias(mr, OBJECT(d), "sii3112.bar3", &d->mmio, 0xc8, 4); in sii3112_pci_realize()
278 pci_register_bar(dev, 3, PCI_BASE_ADDRESS_SPACE_IO, mr); in sii3112_pci_realize()
279 mr = g_new(MemoryRegion, 1); in sii3112_pci_realize()
280 memory_region_init_alias(mr, OBJECT(d), "sii3112.bar4", &d->mmio, 0, 16); in sii3112_pci_realize()
281 pci_register_bar(dev, 4, PCI_BASE_ADDRESS_SPACE_IO, mr); in sii3112_pci_realize()