Lines Matching refs:pdei
146 u32 pdei = it->pte[it->lvl + 1]; in nvkm_vmm_unref_pdes() local
159 func->sparse(vmm, pgd->pt[0], pdei, 1); in nvkm_vmm_unref_pdes()
160 pgd->pde[pdei] = NVKM_VMM_PDE_SPARSE; in nvkm_vmm_unref_pdes()
162 func->unmap(vmm, pgd->pt[0], pdei, 1); in nvkm_vmm_unref_pdes()
163 pgd->pde[pdei] = NULL; in nvkm_vmm_unref_pdes()
170 func->pde(vmm, pgd, pdei); in nvkm_vmm_unref_pdes()
171 pgd->pde[pdei] = NULL; in nvkm_vmm_unref_pdes()
177 func->pde(vmm, pgd, pdei); in nvkm_vmm_unref_pdes()
413 nvkm_vmm_ref_hwpt(struct nvkm_vmm_iter *it, struct nvkm_vmm_pt *pgd, u32 pdei) in nvkm_vmm_ref_hwpt() argument
417 struct nvkm_vmm_pt *pgt = pgd->pde[pdei]; in nvkm_vmm_ref_hwpt()
478 it->desc[it->lvl].func->pde(it->vmm, pgd, pdei); in nvkm_vmm_ref_hwpt()
484 nvkm_vmm_ref_swpt(struct nvkm_vmm_iter *it, struct nvkm_vmm_pt *pgd, u32 pdei) in nvkm_vmm_ref_swpt() argument
487 struct nvkm_vmm_pt *pgt = pgd->pde[pdei]; in nvkm_vmm_ref_swpt()
496 pgd->pde[pdei] = pgt; in nvkm_vmm_ref_swpt()
540 const u32 pdei = it.pte[it.lvl]; in nvkm_vmm_iter() local
544 if (ref && NVKM_VMM_PDE_INVALID(pgd->pde[pdei])) { in nvkm_vmm_iter()
545 if (!nvkm_vmm_ref_swpt(&it, pgd, pdei)) in nvkm_vmm_iter()
548 it.pt[it.lvl - 1] = pgt = pgd->pde[pdei]; in nvkm_vmm_iter()
557 if (!nvkm_vmm_ref_hwpt(&it, pgd, pdei)) in nvkm_vmm_iter()