Searched refs:is_dram_addr (Results 1 – 5 of 5) sorted by relevance
/linux-6.6.21/drivers/accel/habanalabs/common/mmu/ |
D | mmu.c | 23 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 …]
|
D | mmu_v2_hr.c | 116 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()
|
D | mmu_v1.c | 484 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-6.6.21/drivers/accel/habanalabs/common/ |
D | habanalabs.h | 1702 u32 page_size, u32 *real_page_size, bool is_dram_addr); 2832 bool is_dram_addr); 2833 int (*unmap)(struct hl_ctx *ctx, u64 virt_addr, bool is_dram_addr); 3764 u32 page_size, u32 *real_page_size, bool is_dram_addr);
|
/linux-6.6.21/drivers/accel/habanalabs/gaudi2/ |
D | gaudi2.c | 11099 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()
|