Lines Matching +full:dma +full:- +full:coherent
1 // SPDX-License-Identifier: GPL-2.0-only
8 * DMA uncached mapping support.
11 * Copyright (C) 2000-2004 Russell King
18 #include <linux/dma-map-ops.h>
26 * DMA coherent memory management, can be redefined using the memdma=
41 * Return a DMA coherent and contiguous memory chunk from the DMA memory
58 u32 pos = (addr - dma_base) >> PAGE_SHIFT; in __free_dma_pages()
71 * Allocate DMA coherent memory space and return both the kernel
72 * virtual and DMA address for that space.
84 order = get_count_order(((size - 1) >> PAGE_SHIFT) + 1); in arch_dma_alloc()
100 * Free DMA coherent memory as defined by the above mapping.
110 order = get_count_order(((size - 1) >> PAGE_SHIFT) + 1); in arch_dma_free()
116 * Initialise the coherent DMA memory allocator using the given uncached region.
124 "Coherent memory (DMA) region start=0x%x size=0x%x\n", in coherent_mem_init()
132 if (dma_size & (PAGE_SIZE - 1)) in coherent_mem_init()