Searched refs:vm_type (Results 1 – 4 of 4) sorted by relevance
134 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() local1091 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 …]
253 enum vm_type *vm_type; in vm_show() local271 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() local711 vm_type = hnode->ptr; in device_va_to_pa()713 if (*vm_type == VM_TYPE_USERPTR) { in device_va_to_pa()
2569 enum vm_type *vm_type; in hl_capture_user_mappings() local2585 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()
457 enum vm_type { enum1922 enum vm_type vm_type; /* must be first */ member2166 enum vm_type vm_type; /* must be first */ member