Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/misc/habanalabs/common/
Dmemory.c856 u64 ret_vaddr, hint_addr; in map_device_va() local
954 ret_vaddr = get_va_block(hdev, va_range, phys_pg_pack->total_size, in map_device_va()
956 if (!ret_vaddr) { in map_device_va()
965 rc = map_phys_pg_pack(ctx, ret_vaddr, phys_pg_pack); in map_device_va()
984 ret_vaddr += phys_pg_pack->offset; in map_device_va()
987 hnode->vaddr = ret_vaddr; in map_device_va()
990 hash_add(ctx->mem_hash, &hnode->node, ret_vaddr); in map_device_va()
993 *device_addr = ret_vaddr; in map_device_va()
1001 if (add_va_block(hdev, va_range, ret_vaddr, in map_device_va()
1002 ret_vaddr + phys_pg_pack->total_size - 1)) in map_device_va()
[all …]