Searched refs:dma_size (Results 1 – 3 of 3) sorted by relevance
69 static unsigned long dma_size __initdata;231 dma_size = memparse(p, &p); in early_memdma()310 if (dma_size) { in setup_arch()312 dma_size = CACHE_REGION_END(dma_size); in setup_arch()315 dma_start = memory_end - dma_size; in setup_arch()321 if (memblock_is_region_memory(dma_start, dma_size)) in setup_arch()322 memblock_reserve(dma_start, dma_size); in setup_arch()373 if (dma_size && memblock_is_region_memory(dma_start, dma_size)) in setup_arch()375 CACHE_REGION_START(dma_start + dma_size - 1)); in setup_arch()378 coherent_mem_init(dma_start, dma_size); in setup_arch()
32 static u32 dma_size; variable81 if (!dma_size || !size) in arch_dma_alloc()107 if (!dma_size || !size) in arch_dma_free()128 dma_size = size; in coherent_mem_init()131 dma_pages = dma_size >> PAGE_SHIFT; in coherent_mem_init()132 if (dma_size & (PAGE_SIZE - 1)) in coherent_mem_init()
96 unsigned long dma_size) in arm_adjust_dma_zone() argument98 if (size[0] <= dma_size) in arm_adjust_dma_zone()101 size[ZONE_NORMAL] = size[0] - dma_size; in arm_adjust_dma_zone()102 size[ZONE_DMA] = dma_size; in arm_adjust_dma_zone()