Home
last modified time | relevance | path

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

/linux/drivers/accel/habanalabs/include/hw_ip/mmu/
H A Dmmu_general.h19 #define PAGE_SIZE_2MB _BITUL(PAGE_SHIFT_2MB) macro
/linux/drivers/accel/habanalabs/goya/
H A Dgoya.c416 prop->dram_page_size = PAGE_SIZE_2MB; in goya_set_fixed_properties()
432 prop->dmmu.page_size = PAGE_SIZE_2MB; in goya_set_fixed_properties()
452 prop->pmmu_huge.page_size = PAGE_SIZE_2MB; in goya_set_fixed_properties()
4897 for (off = 0 ; off < CPU_FW_IMAGE_SIZE ; off += PAGE_SIZE_2MB) { in goya_mmu_add_mappings_for_device_cpu()
4900 prop->dram_base_address + off, PAGE_SIZE_2MB, in goya_mmu_add_mappings_for_device_cpu()
4901 (off + PAGE_SIZE_2MB) == CPU_FW_IMAGE_SIZE); in goya_mmu_add_mappings_for_device_cpu()
4909 if (!(hdev->cpu_accessible_dma_address & (PAGE_SIZE_2MB - 1))) { in goya_mmu_add_mappings_for_device_cpu()
4913 PAGE_SIZE_2MB, true); in goya_mmu_add_mappings_for_device_cpu()
4918 off -= PAGE_SIZE_2MB; in goya_mmu_add_mappings_for_device_cpu()
4957 for (; off >= 0 ; off -= PAGE_SIZE_2MB) in goya_mmu_add_mappings_for_device_cpu()
[all …]
/linux/drivers/accel/habanalabs/gaudi/
H A Dgaudi.c617 prop->dram_page_size = PAGE_SIZE_2MB; in gaudi_set_fixed_properties()
643 prop->pmmu_huge.page_size = PAGE_SIZE_2MB; in gaudi_set_fixed_properties()
649 prop->dmmu.page_size = PAGE_SIZE_2MB; in gaudi_set_fixed_properties()
/linux/drivers/accel/habanalabs/gaudi2/
H A Dgaudi2.c2554 prop->pmmu_huge.page_size = PAGE_SIZE_2MB; in gaudi2_set_fixed_properties()