Searched refs:is_dram_addr (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.10/drivers/misc/habanalabs/common/ |
D | mmu.c | 121 bool is_dram_addr; in hl_mmu_unmap() local 126 is_dram_addr = is_dram_va(hdev, virt_addr); in hl_mmu_unmap() 128 if (is_dram_addr) in hl_mmu_unmap() 153 rc = hdev->mmu_func.unmap(ctx, real_virt_addr, is_dram_addr); in hl_mmu_unmap() 197 bool is_dram_addr; in hl_mmu_map() local 202 is_dram_addr = is_dram_va(hdev, virt_addr); in hl_mmu_map() 204 if (is_dram_addr) in hl_mmu_map() 235 real_page_size, is_dram_addr); in hl_mmu_map() 252 if (hdev->mmu_func.unmap(ctx, real_virt_addr, is_dram_addr)) in hl_mmu_map()
|
D | mmu_v1.c | 525 u64 virt_addr, bool is_dram_addr) in _hl_mmu_v1_unmap() argument 539 mmu_prop = is_dram_addr ? &prop->dmmu : &prop->pmmu; in _hl_mmu_v1_unmap() 575 if (is_dram_addr && !is_huge) { in _hl_mmu_v1_unmap() 595 if (hdev->dram_default_page_mapping && is_dram_addr) { in _hl_mmu_v1_unmap() 659 u32 page_size, bool is_dram_addr) in _hl_mmu_v1_map() argument 681 if (is_dram_addr) { in _hl_mmu_v1_map() 727 if (hdev->dram_default_page_mapping && is_dram_addr) { in _hl_mmu_v1_map()
|
D | debugfs.c | 381 bool is_dram_addr; in mmu_show() local 404 is_dram_addr = hl_mem_area_inside_range(virt_addr, prop->dmmu.page_size, in mmu_show() 409 mmu_prop = is_dram_addr ? &prop->dmmu : &prop->pmmu; in mmu_show() 624 bool is_dram_addr; in device_va_to_pa() local 631 is_dram_addr = hl_mem_area_inside_range(virt_addr, prop->dmmu.page_size, in device_va_to_pa() 636 mmu_prop = is_dram_addr ? &prop->dmmu : &prop->pmmu; in device_va_to_pa()
|
D | habanalabs.h | 1479 bool is_dram_addr); 1481 u64 virt_addr, bool is_dram_addr);
|