Searched refs:vpgd (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
H A Dbase.c226 struct nvkm_vm_pgd *vpgd; nvkm_vm_unmap_pgt() local
239 list_for_each_entry(vpgd, &vm->pgd_list, head) { nvkm_vm_unmap_pgt()
240 mmu->func->map_pgt(vpgd->obj, pde, vpgt->mem); nvkm_vm_unmap_pgt()
252 struct nvkm_vm_pgd *vpgd; nvkm_vm_map_pgt() local
265 list_for_each_entry(vpgd, &vm->pgd_list, head) { nvkm_vm_map_pgt()
266 mmu->func->map_pgt(vpgd->obj, pde, vpgt->mem); nvkm_vm_map_pgt()
415 struct nvkm_vm_pgd *vpgd; nvkm_vm_link() local
421 vpgd = kzalloc(sizeof(*vpgd), GFP_KERNEL); nvkm_vm_link()
422 if (!vpgd) nvkm_vm_link()
425 vpgd->obj = pgd; nvkm_vm_link()
430 list_add(&vpgd->head, &vm->pgd_list); nvkm_vm_link()
438 struct nvkm_vm_pgd *vpgd, *tmp; nvkm_vm_unlink() local
444 list_for_each_entry_safe(vpgd, tmp, &vm->pgd_list, head) { nvkm_vm_unlink()
445 if (vpgd->obj == mpgd) { nvkm_vm_unlink()
446 list_del(&vpgd->head); nvkm_vm_unlink()
447 kfree(vpgd); nvkm_vm_unlink()
458 struct nvkm_vm_pgd *vpgd, *tmp; nvkm_vm_del() local
460 list_for_each_entry_safe(vpgd, tmp, &vm->pgd_list, head) { nvkm_vm_del()
461 nvkm_vm_unlink(vm, vpgd->obj); nvkm_vm_del()
H A Dgf100.c166 struct nvkm_vm_pgd *vpgd; gf100_vm_flush() local
174 list_for_each_entry(vpgd, &vm->pgd_list, head) { gf100_vm_flush()
183 nvkm_wr32(device, 0x100cb8, vpgd->obj->addr >> 8); gf100_vm_flush()

Completed in 125 milliseconds