Home
last modified time | relevance | path

Searched refs:pten (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
Dvmmnv44.c79 const u32 pten = min(ptes, 4 - (ptei & 3)); in nv44_vmm_pgt_pte() local
80 for (i = 0; i < pten; i++, addr += 0x1000) in nv44_vmm_pgt_pte()
82 nv44_vmm_pgt_fill(vmm, pt, tmp, ptei, pten); in nv44_vmm_pgt_pte()
83 ptei += pten; in nv44_vmm_pgt_pte()
84 ptes -= pten; in nv44_vmm_pgt_pte()
118 const u32 pten = min(ptes, 4 - (ptei & 3)); in nv44_vmm_pgt_dma() local
119 nv44_vmm_pgt_fill(vmm, pt, map->dma, ptei, pten); in nv44_vmm_pgt_dma()
120 ptei += pten; in nv44_vmm_pgt_dma()
121 ptes -= pten; in nv44_vmm_pgt_dma()
122 map->dma += pten; in nv44_vmm_pgt_dma()
[all …]
Dvmmnv50.c36 u32 pten; in nv50_vmm_pgt_pte() local
43 pten = 1 << log2blk; in nv50_vmm_pgt_pte()
44 if (ptes >= pten && IS_ALIGNED(ptei, pten)) in nv50_vmm_pgt_pte()
49 next += pten * map->next; in nv50_vmm_pgt_pte()
50 ptes -= pten; in nv50_vmm_pgt_pte()
52 while (pten--) in nv50_vmm_pgt_pte()
Dvmm.c43 const u32 pten = 1 << desc->bits; in nvkm_vmm_pt_new() local
50 lpte = pten >> (desc->bits - pair->bits); in nvkm_vmm_pt_new()
52 lpte = pten; in nvkm_vmm_pt_new()
62 pgt->pde = kvcalloc(pten, sizeof(*pgt->pde), GFP_KERNEL); in nvkm_vmm_pt_new()
210 const u32 pten = min(sptn - spti, ptes); in nvkm_vmm_unref_sptes() local
211 pgt->pte[lpti] -= pten; in nvkm_vmm_unref_sptes()
212 ptes -= pten; in nvkm_vmm_unref_sptes()
309 const u32 pten = min(sptn - spti, ptes); in nvkm_vmm_ref_sptes() local
310 pgt->pte[lpti] += pten; in nvkm_vmm_ref_sptes()
311 ptes -= pten; in nvkm_vmm_ref_sptes()
[all …]