Lines Matching full:aperture

31 #include <linux/aperture.h>
56 * voffset - framebuffer offset in MiB from aperture start address. In order for
68 * So for chipsets with 64 MiB Aperture sizes, 32 MiB for v_offset is okay, allowing up to
69 * 15 + 1 MiB of Framebuffer memory. For 32 MiB Aperture sizes, a v_offset of 8 MiB should
1637 par->fb.physical = par->aperture.physical+(par->fb.offset << 12); in i810_fix_pointers()
1638 par->fb.virtual = par->aperture.virtual+(par->fb.offset << 12); in i810_fix_pointers()
1639 par->iring.physical = par->aperture.physical + in i810_fix_pointers()
1641 par->iring.virtual = par->aperture.virtual + in i810_fix_pointers()
1643 par->cursor_heap.virtual = par->aperture.virtual+ in i810_fix_pointers()
1649 if (vram + 1 > par->aperture.size >> 20) in i810_fix_offsets()
1650 vram = (par->aperture.size >> 20) - 1; in i810_fix_offsets()
1651 if (v_offset_default > (par->aperture.size >> 20)) in i810_fix_offsets()
1652 v_offset_default = (par->aperture.size >> 20); in i810_fix_offsets()
1653 if (vram + v_offset_default + 1 > par->aperture.size >> 20) in i810_fix_offsets()
1654 v_offset_default = (par->aperture.size >> 20) - (vram + 1); in i810_fix_offsets()
1768 else if (par->aperture.size > 32 * 1024 * 1024) in i810_init_defaults()
1824 par->wc_cookie= arch_phys_wc_add((u32) par->aperture.physical, in i810_init_device()
1825 par->aperture.size); in i810_init_device()
1853 par->aperture.physical = pci_resource_start(par->dev, 0); in i810_allocate_pci_resource()
1854 par->aperture.size = pci_resource_len(par->dev, 0); in i810_allocate_pci_resource()
1857 par->aperture.physical = pci_resource_start(par->dev, 1); in i810_allocate_pci_resource()
1858 par->aperture.size = pci_resource_len(par->dev, 1); in i810_allocate_pci_resource()
1861 if (!par->aperture.size) { in i810_allocate_pci_resource()
1866 if (!request_mem_region(par->aperture.physical, in i810_allocate_pci_resource()
1867 par->aperture.size, in i810_allocate_pci_resource()
1874 par->aperture.virtual = ioremap_wc(par->aperture.physical, in i810_allocate_pci_resource()
1875 par->aperture.size); in i810_allocate_pci_resource()
1876 if (!par->aperture.virtual) { in i810_allocate_pci_resource()
2120 if (par->aperture.virtual) in i810fb_release_resource()
2121 iounmap(par->aperture.virtual); in i810fb_release_resource()
2124 release_mem_region(par->aperture.physical, in i810fb_release_resource()
2125 par->aperture.size); in i810fb_release_resource()
2181 "memory (0 to maximum aperture size), in MiB (default = 48)");