Lines Matching refs:pt_idx
454 unsigned last_pfn, pt_idx; in radeon_vm_bo_set_addr() local
542 for (pt_idx = soffset; pt_idx <= eoffset; ++pt_idx) { in radeon_vm_bo_set_addr()
545 if (vm->page_tables[pt_idx].bo) in radeon_vm_bo_set_addr()
566 if (vm->page_tables[pt_idx].bo) { in radeon_vm_bo_set_addr()
574 vm->page_tables[pt_idx].addr = 0; in radeon_vm_bo_set_addr()
575 vm->page_tables[pt_idx].bo = pt; in radeon_vm_bo_set_addr()
647 unsigned count = 0, pt_idx, ndw; in radeon_vm_update_page_directory() local
667 for (pt_idx = 0; pt_idx <= vm->max_pde_used; ++pt_idx) { in radeon_vm_update_page_directory()
668 struct radeon_bo *bo = vm->page_tables[pt_idx].bo; in radeon_vm_update_page_directory()
675 if (vm->page_tables[pt_idx].addr == pt) in radeon_vm_update_page_directory()
677 vm->page_tables[pt_idx].addr = pt; in radeon_vm_update_page_directory()
679 pde = pd_addr + pt_idx * 8; in radeon_vm_update_page_directory()
827 uint64_t pt_idx = addr >> radeon_vm_block_size; in radeon_vm_update_ptes() local
828 struct radeon_bo *pt = vm->page_tables[pt_idx].bo; in radeon_vm_update_ptes()