Home
last modified time | relevance | path

Searched refs:CONSISTENT_BASE (Results 1 – 2 of 2) sorted by relevance

/arch/powerpc/lib/
Ddma-noncoherent.c41 #define CONSISTENT_BASE (CONFIG_CONSISTENT_START) macro
43 #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()
/arch/arm/mm/
Ddma-mapping.c32 #define CONSISTENT_BASE (CONSISTENT_END - CONSISTENT_DMA_SIZE) macro
34 #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()