Lines Matching refs:aperture
31 #include <linux/aperture.h>
56 * voffset - framebuffer offset in MiB from aperture start address. In order for
1635 par->fb.physical = par->aperture.physical+(par->fb.offset << 12);
1636 par->fb.virtual = par->aperture.virtual+(par->fb.offset << 12);
1637 par->iring.physical = par->aperture.physical +
1639 par->iring.virtual = par->aperture.virtual +
1641 par->cursor_heap.virtual = par->aperture.virtual+
1647 if (vram + 1 > par->aperture.size >> 20)
1648 vram = (par->aperture.size >> 20) - 1;
1649 if (v_offset_default > (par->aperture.size >> 20))
1650 v_offset_default = (par->aperture.size >> 20);
1651 if (vram + v_offset_default + 1 > par->aperture.size >> 20)
1652 v_offset_default = (par->aperture.size >> 20) - (vram + 1);
1766 else if (par->aperture.size > 32 * 1024 * 1024)
1822 par->wc_cookie= arch_phys_wc_add((u32) par->aperture.physical,
1823 par->aperture.size);
1851 par->aperture.physical = pci_resource_start(par->dev, 0);
1852 par->aperture.size = pci_resource_len(par->dev, 0);
1855 par->aperture.physical = pci_resource_start(par->dev, 1);
1856 par->aperture.size = pci_resource_len(par->dev, 1);
1859 if (!par->aperture.size) {
1864 if (!request_mem_region(par->aperture.physical,
1865 par->aperture.size,
1872 par->aperture.virtual = ioremap_wc(par->aperture.physical,
1873 par->aperture.size);
1874 if (!par->aperture.virtual) {
2118 if (par->aperture.virtual)
2119 iounmap(par->aperture.virtual);
2122 release_mem_region(par->aperture.physical,
2123 par->aperture.size);
2179 "memory (0 to maximum aperture size), in MiB (default = 48)");