Home
last modified time | relevance | path

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

/drivers/accel/habanalabs/common/
A 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()
857 phys_pg_pack->vm_type = userptr->vm_type; in init_phys_pg_pack_from_userptr()
1061 enum vm_type *vm_type; in map_device_va() local
1090 vm_type = (enum vm_type *) userptr; in map_device_va()
1132 vm_type = (enum vm_type *) phys_pg_pack; in map_device_va()
1214 hnode->ptr = vm_type; in map_device_va()
1282 enum vm_type *vm_type; in unmap_device_va() local
1306 vm_type = hnode->ptr; in unmap_device_va()
1308 if (*vm_type == VM_TYPE_USERPTR) { in unmap_device_va()
[all …]
A Ddebugfs.c246 enum vm_type *vm_type; in vm_show() local
264 vm_type = hnode->ptr; in vm_show()
266 if (*vm_type == VM_TYPE_USERPTR) { in vm_show()
690 enum vm_type *vm_type; in device_va_to_pa() local
704 vm_type = hnode->ptr; in device_va_to_pa()
706 if (*vm_type == VM_TYPE_USERPTR) { in device_va_to_pa()
A Ddevice.c2713 enum vm_type *vm_type; in hl_capture_user_mappings() local
2729 vm_type = hnode->ptr; in hl_capture_user_mappings()
2730 if (((*vm_type == VM_TYPE_USERPTR) && is_pmmu) || in hl_capture_user_mappings()
2731 ((*vm_type == VM_TYPE_PHYS_PACK) && !is_pmmu)) in hl_capture_user_mappings()
2751 vm_type = hnode->ptr; in hl_capture_user_mappings()
2752 if ((*vm_type == VM_TYPE_USERPTR) && (is_pmmu)) { in hl_capture_user_mappings()
2757 } else if ((*vm_type == VM_TYPE_PHYS_PACK) && (!is_pmmu)) { in hl_capture_user_mappings()
A Dhabanalabs.h469 enum vm_type { enum
1988 enum vm_type vm_type; /* must be first */ member
2231 enum vm_type vm_type; /* must be first */ member

Completed in 31 milliseconds