Home
last modified time | relevance | path

Searched refs:pmmu_huge (Results 1 – 10 of 10) sorted by relevance

/linux-6.6.21/drivers/accel/habanalabs/common/mmu/
Dmmu_v2_hr.c227 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()
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()
360 *mmu_prop = &prop->pmmu_huge; in hl_mmu_v2_hr_get_tlb_mapping_params()
Dmmu.c199 else if ((page_size % prop->pmmu_huge.page_size) == 0) in hl_mmu_get_prop()
200 return &prop->pmmu_huge; in hl_mmu_get_prop()
398 prop->pmmu_huge.start_addr, prop->pmmu_huge.end_addr)) in hl_mmu_map_contiguous()
399 page_size = prop->pmmu_huge.page_size; in hl_mmu_map_contiguous()
458 prop->pmmu_huge.start_addr, prop->pmmu_huge.end_addr)) in hl_mmu_unmap_contiguous()
459 page_size = prop->pmmu_huge.page_size; in hl_mmu_unmap_contiguous()
490 mmu_prop = &prop->pmmu_huge; in hl_mmu_pa_page_with_offset()
Dmmu_v1.c607 } else if (page_size == prop->pmmu_huge.page_size) { in hl_mmu_v1_map()
608 mmu_prop = &prop->pmmu_huge; in hl_mmu_v1_map()
733 prop->pmmu_huge.page_size, in hl_mmu_v1_get_tlb_info()
734 prop->pmmu_huge.start_addr, in hl_mmu_v1_get_tlb_info()
735 prop->pmmu_huge.end_addr); in hl_mmu_v1_get_tlb_info()
743 mmu_prop = &prop->pmmu_huge; in hl_mmu_v1_get_tlb_info()
/linux-6.6.21/drivers/accel/habanalabs/common/
Dmemory.c845 huge_page_size = ctx->hdev->asic_prop.pmmu_huge.page_size; in init_phys_pg_pack_from_userptr()
1076 huge_page_size = hdev->asic_prop.pmmu_huge.page_size; in map_device_va()
2698 host_huge_range_start = prop->pmmu_huge.start_addr; in hl_vm_ctx_init()
2699 host_huge_range_end = prop->pmmu_huge.end_addr - 1; in hl_vm_ctx_init()
2700 host_huge_page_size = prop->pmmu_huge.page_size; in hl_vm_ctx_init()
Ddebugfs.c657 if (addr >= prop->pmmu_huge.start_addr && in hl_is_device_va()
658 addr < prop->pmmu_huge.end_addr) in hl_is_device_va()
Dhabanalabs.h702 struct hl_mmu_properties pmmu_huge; member
/linux-6.6.21/drivers/accel/habanalabs/gaudi2/
Dgaudi2.c2391 memcpy(&prop->pmmu_huge, &prop->pmmu, sizeof(prop->pmmu)); in gaudi2_set_fixed_properties()
2392 prop->pmmu_huge.page_size = PAGE_SIZE_16MB; in gaudi2_set_fixed_properties()
2393 prop->pmmu_huge.start_addr = VA_HOST_SPACE_HPAGE_START; in gaudi2_set_fixed_properties()
2394 prop->pmmu_huge.end_addr = VA_HOST_SPACE_HPAGE_END; in gaudi2_set_fixed_properties()
2413 memcpy(&prop->pmmu_huge, &prop->pmmu, sizeof(prop->pmmu)); in gaudi2_set_fixed_properties()
2414 prop->pmmu_huge.page_size = PAGE_SIZE_2MB; in gaudi2_set_fixed_properties()
2415 prop->pmmu_huge.start_addr = VA_HOST_SPACE_HPAGE_START; in gaudi2_set_fixed_properties()
2416 prop->pmmu_huge.end_addr = VA_HOST_SPACE_HPAGE_END; in gaudi2_set_fixed_properties()
6683 asic_prop->pmmu_huge.start_addr, in gaudi2_validate_cb_address()
6684 asic_prop->pmmu_huge.end_addr)) in gaudi2_validate_cb_address()
Dgaudi2_coresight.c2154 prop->pmmu_huge.start_addr, in gaudi2_etr_validate_address()
2155 prop->pmmu_huge.end_addr)) in gaudi2_etr_validate_address()
/linux-6.6.21/drivers/accel/habanalabs/goya/
Dgoya.c453 memcpy(&prop->pmmu_huge, &prop->pmmu, sizeof(prop->pmmu)); in goya_set_fixed_properties()
454 prop->pmmu_huge.page_size = PAGE_SIZE_2MB; in goya_set_fixed_properties()
/linux-6.6.21/drivers/accel/habanalabs/gaudi/
Dgaudi.c640 memcpy(&prop->pmmu_huge, &prop->pmmu, sizeof(prop->pmmu)); in gaudi_set_fixed_properties()
641 prop->pmmu_huge.page_size = PAGE_SIZE_2MB; in gaudi_set_fixed_properties()