Searched refs:pmmu_huge (Results 1 – 10 of 10) sorted by relevance
/linux-6.1.9/drivers/misc/habanalabs/common/mmu/ ! |
D | mmu_v2_hr.c | 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() 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()
|
D | mmu.c | 199 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() 530 mmu_prop = &prop->pmmu_huge; in hl_mmu_pa_page_with_offset()
|
D | mmu_v1.c | 608 } else if (page_size == prop->pmmu_huge.page_size) { in hl_mmu_v1_map() 609 mmu_prop = &prop->pmmu_huge; in hl_mmu_v1_map() 734 prop->pmmu_huge.page_size, in hl_mmu_v1_get_tlb_info() 735 prop->pmmu_huge.start_addr, in hl_mmu_v1_get_tlb_info() 736 prop->pmmu_huge.end_addr); in hl_mmu_v1_get_tlb_info() 744 mmu_prop = &prop->pmmu_huge; in hl_mmu_v1_get_tlb_info()
|
/linux-6.1.9/drivers/misc/habanalabs/common/ ! |
D | memory.c | 846 huge_page_size = ctx->hdev->asic_prop.pmmu_huge.page_size; in init_phys_pg_pack_from_userptr() 1101 huge_page_size = hdev->asic_prop.pmmu_huge.page_size; in map_device_va() 2712 host_huge_range_start = prop->pmmu_huge.start_addr; in hl_vm_ctx_init() 2713 host_huge_range_end = prop->pmmu_huge.end_addr - 1; in hl_vm_ctx_init() 2714 host_huge_page_size = prop->pmmu_huge.page_size; in hl_vm_ctx_init()
|
D | debugfs.c | 675 if (addr >= prop->pmmu_huge.start_addr && in hl_is_device_va() 676 addr < prop->pmmu_huge.end_addr) in hl_is_device_va()
|
D | habanalabs.h | 691 struct hl_mmu_properties pmmu_huge; member
|
/linux-6.1.9/drivers/misc/habanalabs/gaudi2/ ! |
D | gaudi2.c | 2004 memcpy(&prop->pmmu_huge, &prop->pmmu, sizeof(prop->pmmu)); in gaudi2_set_fixed_properties() 2005 prop->pmmu_huge.page_size = PAGE_SIZE_16MB; in gaudi2_set_fixed_properties() 2006 prop->pmmu_huge.start_addr = VA_HOST_SPACE_HPAGE_START; in gaudi2_set_fixed_properties() 2007 prop->pmmu_huge.end_addr = VA_HOST_SPACE_HPAGE_END; in gaudi2_set_fixed_properties() 2026 memcpy(&prop->pmmu_huge, &prop->pmmu, sizeof(prop->pmmu)); in gaudi2_set_fixed_properties() 2027 prop->pmmu_huge.page_size = PAGE_SIZE_2MB; in gaudi2_set_fixed_properties() 2028 prop->pmmu_huge.start_addr = VA_HOST_SPACE_HPAGE_START; in gaudi2_set_fixed_properties() 2029 prop->pmmu_huge.end_addr = VA_HOST_SPACE_HPAGE_END; in gaudi2_set_fixed_properties() 5947 asic_prop->pmmu_huge.start_addr, in gaudi2_validate_cb_address() 5948 asic_prop->pmmu_huge.end_addr)) in gaudi2_validate_cb_address()
|
D | gaudi2_coresight.c | 2154 prop->pmmu_huge.start_addr, in gaudi2_etr_validate_address() 2155 prop->pmmu_huge.end_addr)) in gaudi2_etr_validate_address()
|
/linux-6.1.9/drivers/misc/habanalabs/goya/ ! |
D | goya.c | 453 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.1.9/drivers/misc/habanalabs/gaudi/ ! |
D | gaudi.c | 647 memcpy(&prop->pmmu_huge, &prop->pmmu, sizeof(prop->pmmu)); in gaudi_set_fixed_properties() 648 prop->pmmu_huge.page_size = PAGE_SIZE_2MB; in gaudi_set_fixed_properties()
|