Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/misc/habanalabs/include/hw_ip/mmu/
Dmmu_general.h19 #define PAGE_SIZE_2MB _BITUL(PAGE_SHIFT_2MB) macro
/linux-6.1.9/drivers/misc/habanalabs/goya/
Dgoya.c418 prop->dram_page_size = PAGE_SIZE_2MB; in goya_set_fixed_properties()
434 prop->dmmu.page_size = PAGE_SIZE_2MB; in goya_set_fixed_properties()
454 prop->pmmu_huge.page_size = PAGE_SIZE_2MB; in goya_set_fixed_properties()
4903 for (off = 0 ; off < CPU_FW_IMAGE_SIZE ; off += PAGE_SIZE_2MB) { in goya_mmu_add_mappings_for_device_cpu()
4906 prop->dram_base_address + off, PAGE_SIZE_2MB, in goya_mmu_add_mappings_for_device_cpu()
4907 (off + PAGE_SIZE_2MB) == CPU_FW_IMAGE_SIZE); in goya_mmu_add_mappings_for_device_cpu()
4915 if (!(hdev->cpu_accessible_dma_address & (PAGE_SIZE_2MB - 1))) { in goya_mmu_add_mappings_for_device_cpu()
4919 PAGE_SIZE_2MB, true); in goya_mmu_add_mappings_for_device_cpu()
4924 off -= PAGE_SIZE_2MB; in goya_mmu_add_mappings_for_device_cpu()
4963 for (; off >= 0 ; off -= PAGE_SIZE_2MB) in goya_mmu_add_mappings_for_device_cpu()
[all …]
/linux-6.1.9/drivers/misc/habanalabs/gaudi/
Dgaudi.c622 prop->dram_page_size = PAGE_SIZE_2MB; in gaudi_set_fixed_properties()
648 prop->pmmu_huge.page_size = PAGE_SIZE_2MB; in gaudi_set_fixed_properties()
654 prop->dmmu.page_size = PAGE_SIZE_2MB; in gaudi_set_fixed_properties()
/linux-6.1.9/drivers/misc/habanalabs/gaudi2/
Dgaudi2.c2027 prop->pmmu_huge.page_size = PAGE_SIZE_2MB; in gaudi2_set_fixed_properties()