Searched refs:CONSISTENT_BASE (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/arch/nds32/kernel/ |
D | dma.c | 60 .vm_start = CONSISTENT_BASE, 154 size >= (CONSISTENT_END - CONSISTENT_BASE)) { in arch_dma_alloc() 302 pgd = pgd_offset(&init_mm, CONSISTENT_BASE); in consistent_init() 303 pmd = pmd_alloc(&init_mm, pgd, CONSISTENT_BASE); in consistent_init() 313 pte = pte_alloc_kernel(pmd, CONSISTENT_BASE); in consistent_init()
|
/Linux-v4.19/arch/powerpc/mm/ |
D | dma-noncoherent.c | 46 #define CONSISTENT_BASE (IOREMAP_TOP) macro 47 #define CONSISTENT_END (CONSISTENT_BASE + CONFIG_CONSISTENT_SIZE) 48 #define CONSISTENT_OFFSET(x) (((unsigned long)(x) - CONSISTENT_BASE) >> PAGE_SHIFT) 92 .vm_start = CONSISTENT_BASE, 186 size >= (CONSISTENT_END - CONSISTENT_BASE)) { in __dma_alloc_coherent()
|
/Linux-v4.19/arch/nds32/mm/ |
D | init.c | 214 CONSISTENT_BASE, CONSISTENT_END, in mem_init() 215 ((CONSISTENT_END) - (CONSISTENT_BASE)) >> 20, VMALLOC_START, in mem_init() 236 BUILD_BUG_ON(VMALLOC_END > CONSISTENT_BASE); in mem_init() 243 BUG_ON(VMALLOC_END > CONSISTENT_BASE); in mem_init()
|
/Linux-v4.19/arch/nds32/include/asm/ |
D | pgtable.h | 58 #define CONSISTENT_BASE ((PKMAP_BASE) - (SZ_2M)) macro 61 #define CONSISTENT_BASE (FIXADDR_START - SZ_2M) macro 64 #define CONSISTENT_OFFSET(x) (((unsigned long)(x) - CONSISTENT_BASE) >> PAGE_SHIFT) 73 #define VMALLOC_END (CONSISTENT_BASE - PAGE_SIZE)
|