Searched refs:va_range (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/drivers/accel/habanalabs/common/ |
D | memory.c | 535 struct hl_va_range *va_range, u64 start, u64 end) in add_va_block() argument 539 mutex_lock(&va_range->lock); in add_va_block() 540 rc = add_va_block_locked(hdev, &va_range->list, start, end); in add_va_block() 541 mutex_unlock(&va_range->lock); in add_va_block() 594 struct hl_va_range *va_range, in get_va_block() argument 605 bool is_align_pow_2 = is_power_of_2(va_range->page_size); in get_va_block() 618 size = DIV_ROUND_UP_ULL(size, va_range->page_size) * in get_va_block() 619 va_range->page_size; in get_va_block() 626 do_div(tmp_hint_addr, va_range->page_size))) { in get_va_block() 642 mutex_lock(&va_range->lock); in get_va_block() [all …]
|
D | debugfs.c | 244 struct hl_va_range *va_range; in vm_show() local 328 va_range = ctx->va_range[i]; in vm_show() 331 mutex_lock(&va_range->lock); in vm_show() 332 list_for_each_entry(va_block, &va_range->list, node) { in vm_show() 337 mutex_unlock(&va_range->lock); in vm_show()
|
D | habanalabs.h | 1938 struct hl_va_range *va_range[HL_VA_RANGE_TYPE_MAX]; member
|
/linux-6.12.1/drivers/gpu/drm/imagination/ |
D | pvr_vm.c | 414 u64 va_start = 0, va_range = 0; in pvr_vm_gpuva_remap() local 417 drm_gpuva_op_remap_to_unmap_range(&op->remap, &va_start, &va_range); in pvr_vm_gpuva_remap() 418 err = pvr_mmu_unmap(ctx->mmu_op_ctx, va_start, va_range); in pvr_vm_gpuva_remap()
|
/linux-6.12.1/drivers/gpu/drm/panthor/ |
D | panthor_mmu.c | 2272 u64 mair, min_va, va_range; in panthor_vm_create() local 2295 va_range = SZ_4G; in panthor_vm_create() 2298 va_range = full_va_range; in panthor_vm_create() 2357 min_va, va_range, 0, 0, &panthor_gpuvm_ops); in panthor_vm_create()
|