Searched refs:vm_type (Results 1 – 3 of 3) sorted by relevance
132 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()859 phys_pg_pack->vm_type = userptr->vm_type; in init_phys_pg_pack_from_userptr()1087 enum vm_type *vm_type; in map_device_va() local1118 vm_type = (enum vm_type *) userptr; in map_device_va()1160 vm_type = (enum vm_type *) phys_pg_pack; in map_device_va()1222 rc = hl_mmu_invalidate_cache_range(hdev, false, *vm_type | MMU_OP_SKIP_LOW_CACHE_INV, in map_device_va()1233 rc = hl_mmu_prefetch_cache_range(ctx, *vm_type, ctx->asid, ret_vaddr, in map_device_va()1241 hnode->ptr = vm_type; in map_device_va()1296 enum vm_type *vm_type; in unmap_device_va() local[all …]
253 enum vm_type *vm_type; in vm_show() local274 vm_type = hnode->ptr; in vm_show()276 if (*vm_type == VM_TYPE_USERPTR) { in vm_show()718 enum vm_type *vm_type; in device_va_to_pa() local732 vm_type = hnode->ptr; in device_va_to_pa()734 if (*vm_type == VM_TYPE_USERPTR) { in device_va_to_pa()
460 enum vm_type { enum1880 enum vm_type vm_type; /* must be first */ member2116 enum vm_type vm_type; /* must be first */ member