Lines Matching refs:aperture

1635       	par->fb.physical = par->aperture.physical+(par->fb.offset << 12);  in i810_fix_pointers()
1636 par->fb.virtual = par->aperture.virtual+(par->fb.offset << 12); in i810_fix_pointers()
1637 par->iring.physical = par->aperture.physical + in i810_fix_pointers()
1639 par->iring.virtual = par->aperture.virtual + in i810_fix_pointers()
1641 par->cursor_heap.virtual = par->aperture.virtual+ in i810_fix_pointers()
1647 if (vram + 1 > par->aperture.size >> 20) in i810_fix_offsets()
1648 vram = (par->aperture.size >> 20) - 1; in i810_fix_offsets()
1649 if (v_offset_default > (par->aperture.size >> 20)) in i810_fix_offsets()
1650 v_offset_default = (par->aperture.size >> 20); in i810_fix_offsets()
1651 if (vram + v_offset_default + 1 > par->aperture.size >> 20) in i810_fix_offsets()
1652 v_offset_default = (par->aperture.size >> 20) - (vram + 1); in i810_fix_offsets()
1766 else if (par->aperture.size > 32 * 1024 * 1024) in i810_init_defaults()
1822 par->wc_cookie= arch_phys_wc_add((u32) par->aperture.physical, in i810_init_device()
1823 par->aperture.size); in i810_init_device()
1851 par->aperture.physical = pci_resource_start(par->dev, 0); in i810_allocate_pci_resource()
1852 par->aperture.size = pci_resource_len(par->dev, 0); in i810_allocate_pci_resource()
1855 par->aperture.physical = pci_resource_start(par->dev, 1); in i810_allocate_pci_resource()
1856 par->aperture.size = pci_resource_len(par->dev, 1); in i810_allocate_pci_resource()
1859 if (!par->aperture.size) { in i810_allocate_pci_resource()
1864 if (!request_mem_region(par->aperture.physical, in i810_allocate_pci_resource()
1865 par->aperture.size, in i810_allocate_pci_resource()
1872 par->aperture.virtual = ioremap_wc(par->aperture.physical, in i810_allocate_pci_resource()
1873 par->aperture.size); in i810_allocate_pci_resource()
1874 if (!par->aperture.virtual) { in i810_allocate_pci_resource()
2118 if (par->aperture.virtual) in i810fb_release_resource()
2119 iounmap(par->aperture.virtual); in i810fb_release_resource()
2122 release_mem_region(par->aperture.physical, in i810fb_release_resource()
2123 par->aperture.size); in i810fb_release_resource()