Lines Matching refs:map_ofs
140 u64 map_ofs, u64 vram_offset, u16 pat_index, u64 pt_2m_ofs) in xe_migrate_program_identity() argument
149 ofs = map_ofs + XE_PAGE_SIZE * level + vram_offset * 8; in xe_migrate_program_identity()
194 u32 map_ofs, level, i; in xe_migrate_prepare_vm() local
221 map_ofs = (num_entries - num_setup) * XE_PAGE_SIZE; in xe_migrate_prepare_vm()
228 xe_map_wr(xe, &bo->vmap, map_ofs + level * 8, u64, entry); in xe_migrate_prepare_vm()
245 xe_map_wr(xe, &bo->vmap, map_ofs + level * 8, u64, in xe_migrate_prepare_vm()
262 xe_map_wr(xe, &bo->vmap, map_ofs + level * 8, u64, in xe_migrate_prepare_vm()
285 entry = vm->pt_ops->pde_encode_bo(bo, map_ofs + (u64)(level - 1) * in xe_migrate_prepare_vm()
287 xe_map_wr(xe, &bo->vmap, map_ofs + XE_PAGE_SIZE * level, u64, in xe_migrate_prepare_vm()
292 for (i = 0; i < map_ofs / PAGE_SIZE; i++) { in xe_migrate_prepare_vm()
296 xe_map_wr(xe, &bo->vmap, map_ofs + XE_PAGE_SIZE + in xe_migrate_prepare_vm()
302 xe_map_wr(xe, &bo->vmap, map_ofs + XE_PAGE_SIZE * level + 255 * 8, u64, in xe_migrate_prepare_vm()
311 xe_migrate_program_identity(xe, vm, bo, map_ofs, IDENTITY_OFFSET, in xe_migrate_prepare_vm()
328 xe_migrate_program_identity(xe, vm, bo, map_ofs, vram_offset, in xe_migrate_prepare_vm()
356 (size_t)(map_ofs / XE_PAGE_SIZE - NUM_KERNEL_PDE) * in xe_migrate_prepare_vm()