Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/accel/habanalabs/common/
Dmemory.c1061 u64 ret_vaddr, hint_addr; in map_device_va() local
1176 ret_vaddr = get_va_block(hdev, va_range, phys_pg_pack->total_size, in map_device_va()
1179 if (!ret_vaddr) { in map_device_va()
1188 rc = map_phys_pg_pack(ctx, ret_vaddr, phys_pg_pack); in map_device_va()
1196 ctx->asid, ret_vaddr, phys_pg_pack->total_size); in map_device_va()
1206 rc = hl_mmu_prefetch_cache_range(ctx, *vm_type, ctx->asid, ret_vaddr, in map_device_va()
1212 ret_vaddr += phys_pg_pack->offset; in map_device_va()
1215 hnode->vaddr = ret_vaddr; in map_device_va()
1219 hash_add(ctx->mem_hash, &hnode->node, ret_vaddr); in map_device_va()
1222 *device_addr = ret_vaddr; in map_device_va()
[all …]