linux/kernel/dma
Christoph Hellwig 274b3f7bf3 dma-contiguous: cleanup dma_alloc_contiguous
Split out a cma_alloc_aligned helper to deal with the "interesting"
calling conventions for cma_alloc, which then allows to the main
function to be written straight forward.  This also takes advantage
of the fact that NULL dev arguments have been gone from the DMA API
for a while.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Nicolin Chen <nicoleotsuka@gmail.com>
Reviewed-by: Barry Song <song.bao.hua@hisilicon.com>
2020-07-28 13:42:15 +02:00
..
coherent.c dma-coherent: fix integer overflow in the reserved-memory dma allocation 2020-03-16 10:43:02 +01:00
contiguous.c dma-contiguous: cleanup dma_alloc_contiguous 2020-07-28 13:42:15 +02:00
debug.c dma-debug: use named initializers for dir2name 2020-07-19 09:31:13 +02:00
direct.c dma-mapping: inline the fast path dma-direct calls 2020-07-16 16:58:37 +02:00
dummy.c dma-mapping: factor out dummy DMA ops 2018-12-13 21:06:12 +01:00
Kconfig dma-mapping: add a dma_ops_bypass flag to struct device 2020-07-19 09:29:29 +02:00
Makefile dma-mapping: make support for dma ops optional 2020-07-19 09:29:23 +02:00
mapping.c dma-mapping: add a dma_ops_bypass flag to struct device 2020-07-19 09:29:29 +02:00
pool.c dma-pool: do not allocate pool memory from CMA 2020-07-14 15:46:32 +02:00
remap.c dma-remap: align the size in dma_common_*_remap() 2020-06-23 14:14:41 +02:00
swiotlb.c dma-direct: improve swiotlb error reporting 2020-02-05 18:53:05 +01:00
virt.c dma-mapping: zero memory returned from dma_alloc_* 2018-12-20 08:13:52 +01:00