Lines Matching refs:aperture
54 * voffset - framebuffer offset in MiB from aperture start address. In order for
1630 par->fb.physical = par->aperture.physical+(par->fb.offset << 12);
1631 par->fb.virtual = par->aperture.virtual+(par->fb.offset << 12);
1632 par->iring.physical = par->aperture.physical +
1634 par->iring.virtual = par->aperture.virtual +
1636 par->cursor_heap.virtual = par->aperture.virtual+
1642 if (vram + 1 > par->aperture.size >> 20)
1643 vram = (par->aperture.size >> 20) - 1;
1644 if (v_offset_default > (par->aperture.size >> 20))
1645 v_offset_default = (par->aperture.size >> 20);
1646 if (vram + v_offset_default + 1 > par->aperture.size >> 20)
1647 v_offset_default = (par->aperture.size >> 20) - (vram + 1);
1762 else if (par->aperture.size > 32 * 1024 * 1024)
1846 par->aperture.physical = pci_resource_start(par->dev, 0);
1847 par->aperture.size = pci_resource_len(par->dev, 0);
1850 par->aperture.physical = pci_resource_start(par->dev, 1);
1851 par->aperture.size = pci_resource_len(par->dev, 1);
1854 if (!par->aperture.size) {
1859 if (!request_mem_region(par->aperture.physical,
1860 par->aperture.size,
1867 par->aperture.virtual = ioremap_nocache(par->aperture.physical,
1868 par->aperture.size);
1869 if (!par->aperture.virtual) {
2112 if (par->aperture.virtual)
2113 iounmap(par->aperture.virtual);
2116 release_mem_region(par->aperture.physical,
2117 par->aperture.size);
2168 "memory (0 to maximum aperture size), in MiB (default = 48)");