Searched refs:CONSISTENT_BASE (Results 1 – 2 of 2) sorted by relevance
41 #define CONSISTENT_BASE (CONFIG_CONSISTENT_START) macro43 #define CONSISTENT_OFFSET(x) (((unsigned long)(x) - CONSISTENT_BASE) >> PAGE_SHIFT)88 .vm_start = CONSISTENT_BASE,166 if ((limit && size >= limit) || size >= (CONSISTENT_END - CONSISTENT_BASE)) { in __dma_alloc_coherent()315 pgd = pgd_offset(&init_mm, CONSISTENT_BASE); in dma_alloc_init()316 pud = pud_alloc(&init_mm, pgd, CONSISTENT_BASE); in dma_alloc_init()317 pmd = pmd_alloc(&init_mm, pud, CONSISTENT_BASE); in dma_alloc_init()324 pte = pte_alloc_kernel(pmd, CONSISTENT_BASE); in dma_alloc_init()
32 #define CONSISTENT_BASE (CONSISTENT_END - CONSISTENT_DMA_SIZE) macro34 #define CONSISTENT_OFFSET(x) (((unsigned long)(x) - CONSISTENT_BASE) >> PAGE_SHIFT)35 #define CONSISTENT_PTE_INDEX(x) (((unsigned long)(x) - CONSISTENT_BASE) >> PGDIR_SHIFT)84 .vm_start = CONSISTENT_BASE,188 size >= (CONSISTENT_END - CONSISTENT_BASE)) { in __dma_alloc()457 u32 base = CONSISTENT_BASE; in consistent_init()