Lines Matching refs:dmmu

33 	return hl_mem_area_inside_range(virt_addr, prop->dmmu.page_size,  in hl_is_dram_va()
34 prop->dmmu.start_addr, in hl_is_dram_va()
35 prop->dmmu.end_addr); in hl_is_dram_va()
199 return &prop->dmmu; in hl_mmu_get_prop()
393 prop->dmmu.start_addr, prop->dmmu.end_addr)) in hl_mmu_map_contiguous()
394 page_size = prop->dmmu.page_size; in hl_mmu_map_contiguous()
453 prop->dmmu.start_addr, prop->dmmu.end_addr)) in hl_mmu_unmap_contiguous()
454 page_size = prop->dmmu.page_size; in hl_mmu_unmap_contiguous()
495 mmu_prop = &prop->dmmu; in hl_mmu_pa_page_with_offset()
564 is_dram_addr = hl_mem_area_inside_range(virt_addr, prop->dmmu.page_size, in hl_mmu_get_tlb_info()
565 prop->dmmu.start_addr, in hl_mmu_get_tlb_info()
566 prop->dmmu.end_addr); in hl_mmu_get_tlb_info()
569 mmu_prop = is_dram_addr ? &prop->dmmu : &prop->pmmu; in hl_mmu_get_tlb_info()
1243 hdev->asic_prop.dmmu.hop_table_size); in hl_mmu_dr_free_pgt_node()
1252 (ctx->asid * ctx->hdev->asic_prop.dmmu.hop_table_size); in hl_mmu_dr_get_phys_hop0_addr()
1258 (ctx->asid * ctx->hdev->asic_prop.dmmu.hop_table_size); in hl_mmu_dr_get_hop0_addr()
1263 u64 page_mask = ctx->hdev->asic_prop.dmmu.hop_table_size - 1; in hl_mmu_dr_get_phys_addr()
1333 prop->dmmu.hop_table_size); in hl_mmu_dr_alloc_hop()
1339 shadow_addr = (u64) (uintptr_t) kzalloc(prop->dmmu.hop_table_size, in hl_mmu_dr_alloc_hop()
1354 phys_addr, prop->dmmu.hop_table_size); in hl_mmu_dr_alloc_hop()
1386 gen_pool_create(__ffs(prop->dmmu.hop_table_size), -1); in hl_mmu_dr_init()
1394 prop->dmmu.hop0_tables_total_size, in hl_mmu_dr_init()
1395 prop->dmmu.pgt_size - prop->dmmu.hop0_tables_total_size, in hl_mmu_dr_init()
1403 prop->dmmu.hop_table_size, GFP_KERNEL); in hl_mmu_dr_init()