Searched refs:pmmu_huge (Results 1 – 7 of 7) sorted by relevance
130 else if ((page_size % prop->pmmu_huge.page_size) == 0) in hl_mmu_unmap()131 mmu_prop = &prop->pmmu_huge; in hl_mmu_unmap()206 else if ((page_size % prop->pmmu_huge.page_size) == 0) in hl_mmu_map()207 mmu_prop = &prop->pmmu_huge; in hl_mmu_map()
642 huge_page_size = ctx->hdev->asic_prop.pmmu_huge.page_size; in init_phys_pg_pack_from_userptr()868 huge_page_size = hdev->asic_prop.pmmu_huge.page_size; in map_device_va()1694 host_huge_range_start = prop->pmmu_huge.start_addr; in hl_vm_ctx_init()1695 host_huge_range_end = prop->pmmu_huge.end_addr; in hl_vm_ctx_init()
684 } else if (page_size == prop->pmmu_huge.page_size) { in _hl_mmu_v1_map()685 mmu_prop = &prop->pmmu_huge; in _hl_mmu_v1_map()
608 if (addr >= prop->pmmu_huge.start_addr && in hl_is_device_va()609 addr < prop->pmmu_huge.end_addr) in hl_is_device_va()
333 struct hl_mmu_properties pmmu_huge; member
439 memcpy(&prop->pmmu_huge, &prop->pmmu, sizeof(prop->pmmu)); in goya_get_fixed_properties()440 prop->pmmu_huge.page_size = PAGE_SIZE_2MB; in goya_get_fixed_properties()
447 memcpy(&prop->pmmu_huge, &prop->pmmu, sizeof(prop->pmmu)); in gaudi_get_fixed_properties()448 prop->pmmu_huge.page_size = PAGE_SIZE_2MB; in gaudi_get_fixed_properties()