Home
last modified time | relevance | path

Searched refs:is_dram_addr (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.6/drivers/accel/habanalabs/common/mmu/
Dmmu.c23 bool is_dram_addr) in hl_mmu_get_funcs() argument
175 u32 page_size, u32 *real_page_size, bool is_dram_addr) in hl_mmu_get_real_page_size() argument
193 bool is_dram_addr) in hl_mmu_get_prop() argument
197 if (is_dram_addr) in hl_mmu_get_prop()
234 bool is_dram_addr; in hl_mmu_unmap_page() local
239 is_dram_addr = hl_is_dram_va(hdev, virt_addr); in hl_mmu_unmap_page()
240 mmu_prop = hl_mmu_get_prop(hdev, page_size, is_dram_addr); in hl_mmu_unmap_page()
243 mmu_funcs = hl_mmu_get_funcs(hdev, pgt_residency, is_dram_addr); in hl_mmu_unmap_page()
246 is_dram_addr); in hl_mmu_unmap_page()
254 rc = mmu_funcs->unmap(ctx, real_virt_addr, is_dram_addr); in hl_mmu_unmap_page()
[all …]
Dmmu_v2_hr.c116 u64 virt_addr, bool is_dram_addr) in _hl_mmu_v2_hr_unmap() argument
129 mmu_prop = is_dram_addr ? &prop->dmmu : &prop->pmmu; in _hl_mmu_v2_hr_unmap()
162 if (is_dram_addr && !is_huge) { in _hl_mmu_v2_hr_unmap()
207 u32 page_size, bool is_dram_addr) in _hl_mmu_v2_hr_map() argument
225 if (is_dram_addr) in _hl_mmu_v2_hr_map()
339 bool is_dram_addr, is_pmmu_addr, is_pmmu_h_addr; in hl_mmu_v2_hr_get_tlb_mapping_params() local
341 is_dram_addr = hl_mem_area_inside_range(virt_addr, prop->dmmu.page_size, in hl_mmu_v2_hr_get_tlb_mapping_params()
351 if (is_dram_addr) { in hl_mmu_v2_hr_get_tlb_mapping_params()
Dmmu_v1.c484 u64 virt_addr, bool is_dram_addr) in hl_mmu_v1_unmap() argument
494 mmu_prop = is_dram_addr ? &prop->dmmu : &prop->pmmu; in hl_mmu_v1_unmap()
513 if (is_dram_addr && !is_huge) { in hl_mmu_v1_unmap()
530 if (hdev->dram_default_page_mapping && is_dram_addr) { in hl_mmu_v1_unmap()
588 u32 page_size, bool is_dram_addr) in hl_mmu_v1_map() argument
604 if (is_dram_addr) { in hl_mmu_v1_map()
632 if (hdev->dram_default_page_mapping && is_dram_addr) { in hl_mmu_v1_map()
723 bool is_dram_addr, is_pmmu_addr, is_pmmu_h_addr, is_huge; in hl_mmu_v1_get_tlb_info() local
726 is_dram_addr = hl_mem_area_inside_range(virt_addr, prop->dmmu.page_size, in hl_mmu_v1_get_tlb_info()
736 if (is_dram_addr) { in hl_mmu_v1_get_tlb_info()
/Linux-v6.6/drivers/accel/habanalabs/common/
Dhabanalabs.h1700 u32 page_size, u32 *real_page_size, bool is_dram_addr);
2830 bool is_dram_addr);
2831 int (*unmap)(struct hl_ctx *ctx, u64 virt_addr, bool is_dram_addr);
3762 u32 page_size, u32 *real_page_size, bool is_dram_addr);
/Linux-v6.6/drivers/accel/habanalabs/gaudi2/
Dgaudi2.c11099 u32 page_size, u32 *real_page_size, bool is_dram_addr) in gaudi2_mmu_get_real_page_size() argument
11104 if (!is_dram_addr) { in gaudi2_mmu_get_real_page_size()