Lines Matching full:aperture

110 #include <linux/aperture.h>
451 if (dinfo->aperture.virtual) in cleanup()
452 iounmap((void __iomem *)dinfo->aperture.virtual); in cleanup()
457 release_mem_region(dinfo->aperture.physical, in cleanup()
458 dinfo->aperture.size); in cleanup()
542 dinfo->aperture.physical = pci_resource_start(pdev, aperture_bar); in intelfb_pci_register()
543 dinfo->aperture.size = pci_resource_len(pdev, aperture_bar); in intelfb_pci_register()
545 DBG_MSG("fb aperture: 0x%llx/0x%llx, MMIO region: 0x%llx/0x%llx\n", in intelfb_pci_register()
552 if (!request_mem_region(dinfo->aperture.physical, dinfo->aperture.size, in intelfb_pci_register()
584 INF_MSG("%02x:%02x.%d: %s, aperture size %dMB, " in intelfb_pci_register()
650 /* ioremap only up to the end of used aperture */ in intelfb_pci_register()
651 dinfo->aperture.virtual = (u8 __iomem *)ioremap_wc in intelfb_pci_register()
652 (dinfo->aperture.physical, ((offset + dinfo->fb.offset) << 12) in intelfb_pci_register()
654 if (!dinfo->aperture.virtual) { in intelfb_pci_register()
687 dinfo->ring.physical = dinfo->aperture.physical in intelfb_pci_register()
689 dinfo->ring.virtual = dinfo->aperture.virtual in intelfb_pci_register()
715 dinfo->cursor.physical = dinfo->aperture.physical in intelfb_pci_register()
717 dinfo->cursor.virtual = dinfo->aperture.virtual in intelfb_pci_register()
739 dinfo->fb.physical = dinfo->aperture.physical in intelfb_pci_register()
741 dinfo->fb.virtual = dinfo->aperture.virtual + (dinfo->fb.offset << 12); in intelfb_pci_register()
748 dinfo->wc_cookie = arch_phys_wc_add(dinfo->aperture.physical, in intelfb_pci_register()
749 dinfo->aperture.size); in intelfb_pci_register()