Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/accel/habanalabs/common/
Dmemory.c134 phys_pg_pack->vm_type = VM_TYPE_PHYS_PACK; in alloc_device_memory()
243 userptr->vm_type = VM_TYPE_USERPTR; in dma_map_host_va()
858 phys_pg_pack->vm_type = userptr->vm_type; in init_phys_pg_pack_from_userptr()
1062 enum vm_type *vm_type; in map_device_va() local
1091 vm_type = (enum vm_type *) userptr; in map_device_va()
1133 vm_type = (enum vm_type *) phys_pg_pack; in map_device_va()
1195 rc = hl_mmu_invalidate_cache_range(hdev, false, *vm_type | MMU_OP_SKIP_LOW_CACHE_INV, in map_device_va()
1206 rc = hl_mmu_prefetch_cache_range(ctx, *vm_type, ctx->asid, ret_vaddr, in map_device_va()
1214 hnode->ptr = vm_type; in map_device_va()
1282 enum vm_type *vm_type; in unmap_device_va() local
[all …]
Ddebugfs.c253 enum vm_type *vm_type; in vm_show() local
271 vm_type = hnode->ptr; in vm_show()
273 if (*vm_type == VM_TYPE_USERPTR) { in vm_show()
697 enum vm_type *vm_type; in device_va_to_pa() local
711 vm_type = hnode->ptr; in device_va_to_pa()
713 if (*vm_type == VM_TYPE_USERPTR) { in device_va_to_pa()
Ddevice.c2569 enum vm_type *vm_type; in hl_capture_user_mappings() local
2585 vm_type = hnode->ptr; in hl_capture_user_mappings()
2586 if (((*vm_type == VM_TYPE_USERPTR) && is_pmmu) || in hl_capture_user_mappings()
2587 ((*vm_type == VM_TYPE_PHYS_PACK) && !is_pmmu)) in hl_capture_user_mappings()
2607 vm_type = hnode->ptr; in hl_capture_user_mappings()
2608 if ((*vm_type == VM_TYPE_USERPTR) && (is_pmmu)) { in hl_capture_user_mappings()
2613 } else if ((*vm_type == VM_TYPE_PHYS_PACK) && (!is_pmmu)) { in hl_capture_user_mappings()
Dhabanalabs.h457 enum vm_type { enum
1922 enum vm_type vm_type; /* must be first */ member
2166 enum vm_type vm_type; /* must be first */ member