Searched refs:agpmem (Results 1 – 2 of 2) sorted by relevance
64 struct drm_agp_mem *agpmem; in agp_remap() local75 list_for_each_entry(agpmem, &dev->agp->memory, head) in agp_remap()76 if (agpmem->bound <= offset in agp_remap()77 && (agpmem->bound + (agpmem->pages << PAGE_SHIFT)) >= in agp_remap()80 if (&agpmem->head == &dev->agp->memory) in agp_remap()93 phys_page_map = (agpmem->memory->pages + (offset - agpmem->bound) / PAGE_SIZE); in agp_remap()
122 struct drm_agp_mem *agpmem; in drm_do_vm_fault() local135 list_for_each_entry(agpmem, &dev->agp->memory, head) { in drm_do_vm_fault()136 if (agpmem->bound <= baddr && in drm_do_vm_fault()137 agpmem->bound + agpmem->pages * PAGE_SIZE > baddr) in drm_do_vm_fault()141 if (&agpmem->head == &dev->agp->memory) in drm_do_vm_fault()147 offset = (baddr - agpmem->bound) >> PAGE_SHIFT; in drm_do_vm_fault()148 page = agpmem->memory->pages[offset]; in drm_do_vm_fault()155 agpmem->memory->pages[offset], in drm_do_vm_fault()