Searched refs:PAGE_SIZE_2MB (Results 1 – 4 of 4) sorted by relevance
13 #define PAGE_SIZE_2MB (_AC(1, UL) << PAGE_SHIFT_2MB) macro15 #define PAGE_MASK_2MB (~(PAGE_SIZE_2MB - 1))
528 is_dram_addr = hl_mem_area_inside_range(virt_addr, PAGE_SIZE_2MB, in _hl_mmu_unmap()681 if ((page_size % PAGE_SIZE_2MB) == 0) { in hl_mmu_unmap()682 real_page_size = PAGE_SIZE_2MB; in hl_mmu_unmap()729 is_huge = page_size == PAGE_SIZE_2MB; in _hl_mmu_map()904 if ((page_size % PAGE_SIZE_2MB) == 0) { in hl_mmu_map()905 real_page_size = PAGE_SIZE_2MB; in hl_mmu_map()
16 #define PGS_IN_2MB_PAGE (PAGE_SIZE_2MB >> PAGE_SHIFT)537 page_size = PAGE_SIZE_2MB; in get_va_block()679 (dma_addr & (PAGE_SIZE_2MB - 1))) in init_phys_pg_pack_from_userptr()684 page_size = PAGE_SIZE_2MB; in init_phys_pg_pack_from_userptr()
378 prop->dram_page_size = PAGE_SIZE_2MB; in goya_get_fixed_properties()4713 for (off = 0 ; off < CPU_FW_IMAGE_SIZE ; off += PAGE_SIZE_2MB) { in goya_mmu_add_mappings_for_device_cpu()4715 prop->dram_base_address + off, PAGE_SIZE_2MB); in goya_mmu_add_mappings_for_device_cpu()4723 if (!(hdev->cpu_accessible_dma_address & (PAGE_SIZE_2MB - 1))) { in goya_mmu_add_mappings_for_device_cpu()4725 hdev->cpu_accessible_dma_address, PAGE_SIZE_2MB); in goya_mmu_add_mappings_for_device_cpu()4730 off -= PAGE_SIZE_2MB; in goya_mmu_add_mappings_for_device_cpu()4769 for (; off >= 0 ; off -= PAGE_SIZE_2MB) in goya_mmu_add_mappings_for_device_cpu()4771 prop->dram_base_address + off, PAGE_SIZE_2MB)) in goya_mmu_add_mappings_for_device_cpu()4794 if (!(hdev->cpu_accessible_dma_address & (PAGE_SIZE_2MB - 1))) { in goya_mmu_remove_device_cpu_mappings()4796 PAGE_SIZE_2MB)) in goya_mmu_remove_device_cpu_mappings()[all …]