Lines Matching refs:prop
48 struct asic_fixed_properties *prop = &hdev->asic_prop; in hl_mmu_v2_hr_init() local
50 return hl_mmu_hr_init(hdev, &hdev->mmu_priv.hr, prop->pmmu.hop_table_size, in hl_mmu_v2_hr_init()
51 prop->mmu_pgt_size); in hl_mmu_v2_hr_init()
66 struct asic_fixed_properties *prop = &hdev->asic_prop; in hl_mmu_v2_hr_fini() local
68 hl_mmu_hr_fini(hdev, &hdev->mmu_priv.hr, prop->pmmu.hop_table_size); in hl_mmu_v2_hr_fini()
121 struct asic_fixed_properties *prop; in _hl_mmu_v2_hr_unmap() local
126 prop = &hdev->asic_prop; in _hl_mmu_v2_hr_unmap()
129 mmu_prop = is_dram_addr ? &prop->dmmu : &prop->pmmu; in _hl_mmu_v2_hr_unmap()
214 struct asic_fixed_properties *prop = &hdev->asic_prop; in _hl_mmu_v2_hr_map() local
226 mmu_prop = &prop->dmmu; in _hl_mmu_v2_hr_map()
227 else if (page_size == prop->pmmu_huge.page_size) in _hl_mmu_v2_hr_map()
228 mmu_prop = &prop->pmmu_huge; in _hl_mmu_v2_hr_map()
230 mmu_prop = &prop->pmmu; in _hl_mmu_v2_hr_map()
338 struct asic_fixed_properties *prop = &hdev->asic_prop; 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()
342 prop->dmmu.start_addr, in hl_mmu_v2_hr_get_tlb_mapping_params()
343 prop->dmmu.end_addr); in hl_mmu_v2_hr_get_tlb_mapping_params()
344 is_pmmu_addr = hl_mem_area_inside_range(virt_addr, prop->pmmu.page_size, in hl_mmu_v2_hr_get_tlb_mapping_params()
345 prop->pmmu.start_addr, in hl_mmu_v2_hr_get_tlb_mapping_params()
346 prop->pmmu.end_addr); in hl_mmu_v2_hr_get_tlb_mapping_params()
348 prop->pmmu_huge.page_size, in hl_mmu_v2_hr_get_tlb_mapping_params()
349 prop->pmmu_huge.start_addr, in hl_mmu_v2_hr_get_tlb_mapping_params()
350 prop->pmmu_huge.end_addr); in hl_mmu_v2_hr_get_tlb_mapping_params()
352 *mmu_prop = &prop->dmmu; in hl_mmu_v2_hr_get_tlb_mapping_params()
356 *mmu_prop = &prop->pmmu; in hl_mmu_v2_hr_get_tlb_mapping_params()
360 *mmu_prop = &prop->pmmu_huge; in hl_mmu_v2_hr_get_tlb_mapping_params()