Home
last modified time | relevance | path

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

/openbmc/linux/drivers/accel/habanalabs/common/
H A Dmemory.c1061 u64 ret_vaddr, hint_addr; in map_device_va() local
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()
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()
1230 if (add_va_block(hdev, va_range, ret_vaddr, in map_device_va()
1231 ret_vaddr + phys_pg_pack->total_size - 1)) in map_device_va()
[all …]