Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/misc/habanalabs/common/
Dmemory.c77 paddr = (u64) gen_pool_alloc(vm->dram_pg_pool, total_size); in alloc_device_memory()
112 vm->dram_pg_pool, in alloc_device_memory()
152 gen_pool_free(vm->dram_pg_pool, phys_pg_pack->pages[i], in alloc_device_memory()
160 gen_pool_free(vm->dram_pg_pool, paddr, total_size); in alloc_device_memory()
254 gen_pool_destroy(vm->dram_pg_pool); in dram_pg_pool_do_release()
275 gen_pool_free(vm->dram_pg_pool, phys_pg_pack->pages[0], in free_phys_pg_pack()
283 gen_pool_free(vm->dram_pg_pool, in free_phys_pg_pack()
1800 vm->dram_pg_pool = gen_pool_create(__ffs(prop->dram_page_size), -1); in hl_vm_init()
1801 if (!vm->dram_pg_pool) { in hl_vm_init()
1808 rc = gen_pool_add(vm->dram_pg_pool, prop->dram_user_base_address, in hl_vm_init()
[all …]
Dhabanalabs.h1143 struct gen_pool *dram_pg_pool; member