Lines Matching refs:ptes
35 struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes) in gp100_vmm_pfn_unmap() argument
41 while (ptes--) { in gp100_vmm_pfn_unmap()
56 struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes) in gp100_vmm_pfn_clear() argument
60 while (ptes--) { in gp100_vmm_pfn_clear()
76 u32 ptei, u32 ptes, struct nvkm_vmm_map *map) in gp100_vmm_pgt_pfn() argument
82 for (; ptes; ptes--, map->pfn++) { in gp100_vmm_pgt_pfn()
116 u32 ptei, u32 ptes, struct nvkm_vmm_map *map, u64 addr) in gp100_vmm_pgt_pte() argument
120 map->type += ptes * map->ctag; in gp100_vmm_pgt_pte()
122 while (ptes--) { in gp100_vmm_pgt_pte()
130 u32 ptei, u32 ptes, struct nvkm_vmm_map *map) in gp100_vmm_pgt_sgl() argument
132 VMM_MAP_ITER_SGL(vmm, pt, ptei, ptes, map, gp100_vmm_pgt_pte); in gp100_vmm_pgt_sgl()
137 u32 ptei, u32 ptes, struct nvkm_vmm_map *map) in gp100_vmm_pgt_dma() argument
140 VMM_SPAM(vmm, "DMAA %08x %08x PTE(s)", ptei, ptes); in gp100_vmm_pgt_dma()
142 while (ptes--) { in gp100_vmm_pgt_dma()
151 VMM_MAP_ITER_DMA(vmm, pt, ptei, ptes, map, gp100_vmm_pgt_pte); in gp100_vmm_pgt_dma()
156 u32 ptei, u32 ptes, struct nvkm_vmm_map *map) in gp100_vmm_pgt_mem() argument
158 VMM_MAP_ITER_MEM(vmm, pt, ptei, ptes, map, gp100_vmm_pgt_pte); in gp100_vmm_pgt_mem()
163 struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes) in gp100_vmm_pgt_sparse() argument
166 VMM_FO064(pt, vmm, ptei * 8, BIT_ULL(3) /* VOL. */, ptes); in gp100_vmm_pgt_sparse()
183 struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes) in gp100_vmm_lpt_invalid() argument
186 VMM_FO064(pt, vmm, ptei * 8, BIT_ULL(5) /* PRIV. */, ptes); in gp100_vmm_lpt_invalid()
199 u32 ptei, u32 ptes, struct nvkm_vmm_map *map, u64 addr) in gp100_vmm_pd0_pte() argument
203 map->type += ptes * map->ctag; in gp100_vmm_pd0_pte()
205 while (ptes--) { in gp100_vmm_pd0_pte()
213 u32 ptei, u32 ptes, struct nvkm_vmm_map *map) in gp100_vmm_pd0_mem() argument
215 VMM_MAP_ITER_MEM(vmm, pt, ptei, ptes, map, gp100_vmm_pd0_pte); in gp100_vmm_pd0_mem()
269 struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes) in gp100_vmm_pd0_pfn_unmap() argument
275 while (ptes--) { in gp100_vmm_pd0_pfn_unmap()
291 struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes) in gp100_vmm_pd0_pfn_clear() argument
296 while (ptes--) { in gp100_vmm_pd0_pfn_clear()
313 u32 ptei, u32 ptes, struct nvkm_vmm_map *map) in gp100_vmm_pd0_pfn() argument
319 for (; ptes; ptes--, map->pfn++) { in gp100_vmm_pd0_pfn()