Home
last modified time | relevance | path

Searched refs:PAGE_SIZE_2MB (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/drivers/misc/habanalabs/include/hw_ip/mmu/
Dmmu_general.h13 #define PAGE_SIZE_2MB (_AC(1, UL) << PAGE_SHIFT_2MB) macro
/Linux-v5.10/drivers/misc/habanalabs/goya/
Dgoya.c414 prop->dram_page_size = PAGE_SIZE_2MB; in goya_get_fixed_properties()
428 prop->dmmu.page_size = PAGE_SIZE_2MB; in goya_get_fixed_properties()
440 prop->pmmu_huge.page_size = PAGE_SIZE_2MB; in goya_get_fixed_properties()
4874 for (off = 0 ; off < CPU_FW_IMAGE_SIZE ; off += PAGE_SIZE_2MB) { in goya_mmu_add_mappings_for_device_cpu()
4876 prop->dram_base_address + off, PAGE_SIZE_2MB, in goya_mmu_add_mappings_for_device_cpu()
4877 (off + PAGE_SIZE_2MB) == CPU_FW_IMAGE_SIZE); in goya_mmu_add_mappings_for_device_cpu()
4885 if (!(hdev->cpu_accessible_dma_address & (PAGE_SIZE_2MB - 1))) { in goya_mmu_add_mappings_for_device_cpu()
4887 hdev->cpu_accessible_dma_address, PAGE_SIZE_2MB, true); in goya_mmu_add_mappings_for_device_cpu()
4892 off -= PAGE_SIZE_2MB; in goya_mmu_add_mappings_for_device_cpu()
4931 for (; off >= 0 ; off -= PAGE_SIZE_2MB) in goya_mmu_add_mappings_for_device_cpu()
[all …]
/Linux-v5.10/drivers/misc/habanalabs/gaudi/
Dgaudi.c428 prop->dram_page_size = PAGE_SIZE_2MB; in gaudi_get_fixed_properties()
448 prop->pmmu_huge.page_size = PAGE_SIZE_2MB; in gaudi_get_fixed_properties()
454 prop->dmmu.page_size = PAGE_SIZE_2MB; in gaudi_get_fixed_properties()