Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/misc/habanalabs/common/
Dmemory.c931 va_range = ctx->dram_va_range; in map_device_va()
1081 va_range = ctx->dram_va_range; in unmap_device_va()
1593 ctx->dram_va_range = kzalloc(sizeof(*ctx->dram_va_range), GFP_KERNEL); in vm_ctx_init_with_ranges()
1594 if (!ctx->dram_va_range) { in vm_ctx_init_with_ranges()
1633 mutex_init(&ctx->dram_va_range->lock); in vm_ctx_init_with_ranges()
1635 rc = va_range_init(hdev, ctx->dram_va_range, dram_range_start, in vm_ctx_init_with_ranges()
1647 mutex_destroy(&ctx->dram_va_range->lock); in vm_ctx_init_with_ranges()
1665 kfree(ctx->dram_va_range); in vm_ctx_init_with_ranges()
1775 va_range_fini(hdev, ctx->dram_va_range); in hl_vm_ctx_fini()
Dhabanalabs.h888 struct hl_va_range *dram_va_range; member