Searched refs:pgt (Results 1 – 9 of 9) sorted by relevance
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
D | vmm.c | 30 struct nvkm_vmm_pt *pgt = *ppgt; in nvkm_vmm_pt_del() local 31 if (pgt) { in nvkm_vmm_pt_del() 32 kvfree(pgt->pde); in nvkm_vmm_pt_del() 33 kfree(pgt); in nvkm_vmm_pt_del() 44 struct nvkm_vmm_pt *pgt; in nvkm_vmm_pt_new() local 56 if (!(pgt = kzalloc(sizeof(*pgt) + lpte, GFP_KERNEL))) in nvkm_vmm_pt_new() 58 pgt->page = page ? page->shift : 0; in nvkm_vmm_pt_new() 59 pgt->sparse = sparse; in nvkm_vmm_pt_new() 62 pgt->pde = kvcalloc(pten, sizeof(*pgt->pde), GFP_KERNEL); in nvkm_vmm_pt_new() 63 if (!pgt->pde) { in nvkm_vmm_pt_new() [all …]
|
D | vmmgp100.c | 151 struct nvkm_vmm_pt *pgt = pgd->pde[pdei]; in gp100_vmm_pd0_pde() local 155 if (pgt->pt[0] && !gp100_vmm_pde(pgt->pt[0], &data[0])) in gp100_vmm_pd0_pde() 157 if (pgt->pt[1] && !gp100_vmm_pde(pgt->pt[1], &data[1])) in gp100_vmm_pd0_pde() 191 struct nvkm_vmm_pt *pgt = pgd->pde[pdei]; in gp100_vmm_pd1_pde() local 195 if (!gp100_vmm_pde(pgt->pt[0], &data)) in gp100_vmm_pd1_pde()
|
D | vmmnv50.c | 106 nv50_vmm_pde(struct nvkm_vmm *vmm, struct nvkm_vmm_pt *pgt, u64 *pdata) in nv50_vmm_pde() argument 110 if (pgt && (pt = pgt->pt[0])) { in nv50_vmm_pde() 111 switch (pgt->page) { in nv50_vmm_pde()
|
D | vmmgf100.c | 108 struct nvkm_vmm_pt *pgt = pgd->pde[pdei]; in gf100_vmm_pgd_pde() local 113 if ((pt = pgt->pt[0])) { in gf100_vmm_pgd_pde() 127 if ((pt = pgt->pt[1])) { in gf100_vmm_pgd_pde()
|
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/engine/dma/ |
D | usernv04.c | 52 struct nvkm_memory *pgt = in nv04_dmaobj_bind() local 55 return nvkm_gpuobj_wrap(pgt, pgpuobj); in nv04_dmaobj_bind() 56 nvkm_kmap(pgt); in nv04_dmaobj_bind() 57 offset = nvkm_ro32(pgt, 8 + (offset >> 10)); in nv04_dmaobj_bind() 59 nvkm_done(pgt); in nv04_dmaobj_bind()
|
/Linux-v4.19/arch/s390/include/asm/ |
D | gmap.h | 129 int gmap_shadow_pgt(struct gmap *sg, unsigned long saddr, unsigned long pgt, 132 unsigned long *pgt, int *dat_protection, int *fake);
|
/Linux-v4.19/arch/s390/mm/ |
D | gmap.c | 1297 unsigned long *pgt) in __gmap_unshadow_pgt() argument 1303 pgt[i] = _PAGE_INVALID; in __gmap_unshadow_pgt() 1315 unsigned long sto, *ste, *pgt; in gmap_unshadow_pgt() local 1325 pgt = (unsigned long *)(*ste & _SEGMENT_ENTRY_ORIGIN); in gmap_unshadow_pgt() 1327 __gmap_unshadow_pgt(sg, raddr, pgt); in gmap_unshadow_pgt() 1329 page = pfn_to_page(__pa(pgt) >> PAGE_SHIFT); in gmap_unshadow_pgt() 1345 unsigned long *pgt; in __gmap_unshadow_sgt() local 1353 pgt = (unsigned long *)(sgt[i] & _REGION_ENTRY_ORIGIN); in __gmap_unshadow_sgt() 1355 __gmap_unshadow_pgt(sg, raddr, pgt); in __gmap_unshadow_sgt() 1357 page = pfn_to_page(__pa(pgt) >> PAGE_SHIFT); in __gmap_unshadow_sgt() [all …]
|
/Linux-v4.19/arch/s390/kvm/ |
D | gaccess.c | 983 unsigned long *pgt, int *dat_protection, in kvm_s390_shadow_tables() argument 1148 *pgt = ptr; in kvm_s390_shadow_tables() 1169 unsigned long pgt; in kvm_s390_shadow_fault() local 1181 rc = gmap_shadow_pgt_lookup(sg, saddr, &pgt, &dat_protection, &fake); in kvm_s390_shadow_fault() 1183 rc = kvm_s390_shadow_tables(sg, saddr, &pgt, &dat_protection, in kvm_s390_shadow_fault() 1188 pte.val = pgt + vaddr.px * PAGE_SIZE; in kvm_s390_shadow_fault() 1192 rc = gmap_read_table(sg->parent, pgt + vaddr.px * 8, &pte.val); in kvm_s390_shadow_fault()
|
/Linux-v4.19/arch/x86/events/intel/ |
D | uncore_nhmex.c | 877 DEFINE_UNCORE_FORMAT_ATTR(pgt, pgt, "config1:0-31");
|