locking/refcounts: Include fewer headers in <linux/refcount.h>
[linux/fpc-iii.git] / arch / x86 / include / asm / dma-direct.h
blob1a19251eaac90281e6641a2f10a75efbda8cbef2
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef ASM_X86_DMA_DIRECT_H
3 #define ASM_X86_DMA_DIRECT_H 1
5 bool dma_capable(struct device *dev, dma_addr_t addr, size_t size);
6 dma_addr_t __phys_to_dma(struct device *dev, phys_addr_t paddr);
7 phys_addr_t __dma_to_phys(struct device *dev, dma_addr_t daddr);
9 #endif /* ASM_X86_DMA_DIRECT_H */