Searched refs:nptes (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_vm_sdma.c | 200 unsigned int i, ndw, nptes; in amdgpu_vm_sdma_update() local 244 nptes = min(count, ndw / 2); in amdgpu_vm_sdma_update() 247 p->num_dw_left -= nptes * 2; in amdgpu_vm_sdma_update() 249 for (i = 0; i < nptes; ++i, addr += incr) { in amdgpu_vm_sdma_update() 255 amdgpu_vm_sdma_copy_ptes(p, bo->shadow, pe, nptes); in amdgpu_vm_sdma_update() 256 amdgpu_vm_sdma_copy_ptes(p, bo, pe, nptes); in amdgpu_vm_sdma_update() 258 pe += nptes * 8; in amdgpu_vm_sdma_update() 259 count -= nptes; in amdgpu_vm_sdma_update()
|
D | amdgpu_vm.c | 1446 unsigned nptes = (upd_end - frag_start) >> shift; in amdgpu_vm_update_ptes() local 1449 pe_start, dst, nptes, incr, in amdgpu_vm_update_ptes() 1452 pe_start += nptes * 8; in amdgpu_vm_update_ptes() 1453 dst += (uint64_t)nptes * AMDGPU_GPU_PAGE_SIZE << shift; in amdgpu_vm_update_ptes()
|
/Linux-v5.4/arch/sparc/mm/ |
D | hugetlbpage.c | 323 unsigned int nptes, orig_shift, shift; in set_huge_pte_at() local 337 nptes = size >> shift; in set_huge_pte_at() 340 mm->context.hugetlb_pte_count += nptes; in set_huge_pte_at() 346 for (i = 0; i < nptes; i++) in set_huge_pte_at() 359 unsigned int i, nptes, orig_shift, shift; in huge_ptep_get_and_clear() local 374 nptes = size >> shift; in huge_ptep_get_and_clear() 378 mm->context.hugetlb_pte_count -= nptes; in huge_ptep_get_and_clear() 381 for (i = 0; i < nptes; i++) in huge_ptep_get_and_clear()
|
/Linux-v5.4/drivers/gpu/drm/radeon/ |
D | radeon_vm.c | 829 unsigned nptes; in radeon_vm_update_ptes() local 839 nptes = end - addr; in radeon_vm_update_ptes() 841 nptes = RADEON_VM_PTE_COUNT - (addr & mask); in radeon_vm_update_ptes() 854 count = nptes; in radeon_vm_update_ptes() 858 count += nptes; in radeon_vm_update_ptes() 861 addr += nptes; in radeon_vm_update_ptes() 862 dst += nptes * RADEON_GPU_PAGE_SIZE; in radeon_vm_update_ptes() 918 unsigned nptes, ncmds, ndw; in radeon_vm_bo_update() local 967 nptes = bo_va->it.last - bo_va->it.start + 1; in radeon_vm_bo_update() 971 ncmds = (nptes >> min(radeon_vm_block_size, 11)) + 1; in radeon_vm_bo_update() [all …]
|