diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/swiotlb.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/swiotlb.h b/include/linux/swiotlb.h index 58b996a642f9..694f1839cbc0 100644 --- a/include/linux/swiotlb.h +++ b/include/linux/swiotlb.h | |||
| @@ -27,6 +27,9 @@ swiotlb_init(void); | |||
| 27 | extern void *swiotlb_alloc_boot(size_t bytes, unsigned long nslabs); | 27 | extern void *swiotlb_alloc_boot(size_t bytes, unsigned long nslabs); |
| 28 | extern void *swiotlb_alloc(unsigned order, unsigned long nslabs); | 28 | extern void *swiotlb_alloc(unsigned order, unsigned long nslabs); |
| 29 | 29 | ||
| 30 | extern dma_addr_t swiotlb_phys_to_bus(phys_addr_t address); | ||
| 31 | extern phys_addr_t swiotlb_bus_to_phys(dma_addr_t address); | ||
| 32 | |||
| 30 | extern void | 33 | extern void |
| 31 | *swiotlb_alloc_coherent(struct device *hwdev, size_t size, | 34 | *swiotlb_alloc_coherent(struct device *hwdev, size_t size, |
| 32 | dma_addr_t *dma_handle, gfp_t flags); | 35 | dma_addr_t *dma_handle, gfp_t flags); |
