Home
last modified time | relevance | path

Searched refs:MAX_DMA_PFN (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/arch/x86/include/asm/
H A Ddma.h74 #define MAX_DMA_PFN ((16UL * 1024 * 1024) >> PAGE_SHIFT) macro
84 #define MAX_DMA_ADDRESS ((unsigned long)__va(MAX_DMA_PFN << PAGE_SHIFT))
/openbmc/linux/arch/x86/mm/
H A Dinit.c1012 start_pfn = min(start_pfn, MAX_DMA_PFN); in memblock_find_dma_reserve()
1013 end_pfn = min(end_pfn, MAX_DMA_PFN); in memblock_find_dma_reserve()
1025 start_pfn = min_t(unsigned long, PFN_UP(start_addr), MAX_DMA_PFN); in memblock_find_dma_reserve()
1026 end_pfn = min_t(unsigned long, PFN_DOWN(end_addr), MAX_DMA_PFN); in memblock_find_dma_reserve()
1043 max_zone_pfns[ZONE_DMA] = min(MAX_DMA_PFN, max_low_pfn); in zone_sizes_init()
/openbmc/linux/arch/mips/include/asm/
H A Ddma.h93 #define MAX_DMA_PFN PFN_DOWN(virt_to_phys((void *)MAX_DMA_ADDRESS)) macro
/openbmc/linux/arch/loongarch/mm/
H A Dinit.c68 max_zone_pfns[ZONE_DMA] = MAX_DMA_PFN; in paging_init()
/openbmc/linux/arch/mips/mm/
H A Dinit.c410 max_zone_pfns[ZONE_DMA] = MAX_DMA_PFN; in paging_init()