Searched refs:agpmem (Results 1 – 2 of 2) sorted by relevance
58 struct drm_agp_mem *agpmem; in agp_remap() local69 list_for_each_entry(agpmem, &dev->agp->memory, head) in agp_remap()70 if (agpmem->bound <= offset in agp_remap()71 && (agpmem->bound + (agpmem->pages << PAGE_SHIFT)) >= in agp_remap()74 if (&agpmem->head == &dev->agp->memory) in agp_remap()87 phys_page_map = (agpmem->memory->pages + (offset - agpmem->bound) / PAGE_SIZE); in agp_remap()
130 struct drm_agp_mem *agpmem; in drm_do_vm_fault() local143 list_for_each_entry(agpmem, &dev->agp->memory, head) { in drm_do_vm_fault()144 if (agpmem->bound <= baddr && in drm_do_vm_fault()145 agpmem->bound + agpmem->pages * PAGE_SIZE > baddr) in drm_do_vm_fault()149 if (&agpmem->head == &dev->agp->memory) in drm_do_vm_fault()155 offset = (baddr - agpmem->bound) >> PAGE_SHIFT; in drm_do_vm_fault()156 page = agpmem->memory->pages[offset]; in drm_do_vm_fault()163 agpmem->memory->pages[offset], in drm_do_vm_fault()