Home
last modified time | relevance | path

Searched refs:PAGE_SIZE_2MB (Results 1 - 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/drivers/misc/habanalabs/include/hw_ip/mmu/
H A Dmmu_general.h13 #define PAGE_SIZE_2MB (_AC(1, UL) << PAGE_SHIFT_2MB) macro
/kernel/linux/linux-6.6/drivers/accel/habanalabs/include/hw_ip/mmu/
H A Dmmu_general.h19 #define PAGE_SIZE_2MB _BITUL(PAGE_SHIFT_2MB) macro
/kernel/linux/linux-5.10/drivers/misc/habanalabs/goya/
H A 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()
4882 for (off = 0 ; off < CPU_FW_IMAGE_SIZE ; off += PAGE_SIZE_2MB) { in goya_mmu_add_mappings_for_device_cpu()
4884 prop->dram_base_address + off, PAGE_SIZE_2MB, in goya_mmu_add_mappings_for_device_cpu()
4885 (off + PAGE_SIZE_2MB) == CPU_FW_IMAGE_SIZE); in goya_mmu_add_mappings_for_device_cpu()
4893 if (!(hdev->cpu_accessible_dma_address & (PAGE_SIZE_2MB - 1))) { in goya_mmu_add_mappings_for_device_cpu()
4895 hdev->cpu_accessible_dma_address, PAGE_SIZE_2MB, true); in goya_mmu_add_mappings_for_device_cpu()
4900 off -= PAGE_SIZE_2MB; in goya_mmu_add_mappings_for_device_cpu()
4939 for (; off >= 0 ; off -= PAGE_SIZE_2MB) in goya_mmu_add_mappings_for_device_cpu()
[all...]
/kernel/linux/linux-6.6/drivers/accel/habanalabs/goya/
H A 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()
4908 for (off = 0 ; off < CPU_FW_IMAGE_SIZE ; off += PAGE_SIZE_2MB) { in goya_mmu_add_mappings_for_device_cpu()
4911 prop->dram_base_address + off, PAGE_SIZE_2MB, in goya_mmu_add_mappings_for_device_cpu()
4912 (off + PAGE_SIZE_2MB) == CPU_FW_IMAGE_SIZE); in goya_mmu_add_mappings_for_device_cpu()
4920 if (!(hdev->cpu_accessible_dma_address & (PAGE_SIZE_2MB - 1))) { in goya_mmu_add_mappings_for_device_cpu()
4924 PAGE_SIZE_2MB, true); in goya_mmu_add_mappings_for_device_cpu()
4929 off -= PAGE_SIZE_2MB; in goya_mmu_add_mappings_for_device_cpu()
4968 for (; off >= 0 ; off -= PAGE_SIZE_2MB) in goya_mmu_add_mappings_for_device_cpu()
[all...]
/kernel/linux/linux-5.10/drivers/misc/habanalabs/gaudi/
H A 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()
/kernel/linux/linux-6.6/drivers/accel/habanalabs/gaudi/
H A Dgaudi.c615 prop->dram_page_size = PAGE_SIZE_2MB; in gaudi_set_fixed_properties()
641 prop->pmmu_huge.page_size = PAGE_SIZE_2MB; in gaudi_set_fixed_properties()
647 prop->dmmu.page_size = PAGE_SIZE_2MB; in gaudi_set_fixed_properties()
/kernel/linux/linux-6.6/drivers/accel/habanalabs/gaudi2/
H A Dgaudi2.c2414 prop->pmmu_huge.page_size = PAGE_SIZE_2MB; in gaudi2_set_fixed_properties()

Completed in 40 milliseconds