Lines Matching full:aperture
110 #include <linux/aperture.h>
454 if (dinfo->aperture.virtual) in cleanup()
455 iounmap((void __iomem *)dinfo->aperture.virtual); in cleanup()
460 release_mem_region(dinfo->aperture.physical, in cleanup()
461 dinfo->aperture.size); in cleanup()
545 dinfo->aperture.physical = pci_resource_start(pdev, aperture_bar); in intelfb_pci_register()
546 dinfo->aperture.size = pci_resource_len(pdev, aperture_bar); in intelfb_pci_register()
548 DBG_MSG("fb aperture: 0x%llx/0x%llx, MMIO region: 0x%llx/0x%llx\n", in intelfb_pci_register()
555 if (!request_mem_region(dinfo->aperture.physical, dinfo->aperture.size, in intelfb_pci_register()
587 INF_MSG("%02x:%02x.%d: %s, aperture size %dMB, " in intelfb_pci_register()
653 /* ioremap only up to the end of used aperture */ in intelfb_pci_register()
654 dinfo->aperture.virtual = (u8 __iomem *)ioremap_wc in intelfb_pci_register()
655 (dinfo->aperture.physical, ((offset + dinfo->fb.offset) << 12) in intelfb_pci_register()
657 if (!dinfo->aperture.virtual) { in intelfb_pci_register()
690 dinfo->ring.physical = dinfo->aperture.physical in intelfb_pci_register()
692 dinfo->ring.virtual = dinfo->aperture.virtual in intelfb_pci_register()
718 dinfo->cursor.physical = dinfo->aperture.physical in intelfb_pci_register()
720 dinfo->cursor.virtual = dinfo->aperture.virtual in intelfb_pci_register()
742 dinfo->fb.physical = dinfo->aperture.physical in intelfb_pci_register()
744 dinfo->fb.virtual = dinfo->aperture.virtual + (dinfo->fb.offset << 12); in intelfb_pci_register()
751 dinfo->wc_cookie = arch_phys_wc_add(dinfo->aperture.physical, in intelfb_pci_register()
752 dinfo->aperture.size); in intelfb_pci_register()