Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef __LINUX_SWIOTLB_XEN_H
0003 #define __LINUX_SWIOTLB_XEN_H
0004 
0005 #include <linux/swiotlb.h>
0006 #include <asm/xen/swiotlb-xen.h>
0007 
0008 void xen_dma_sync_for_cpu(struct device *dev, dma_addr_t handle,
0009               size_t size, enum dma_data_direction dir);
0010 void xen_dma_sync_for_device(struct device *dev, dma_addr_t handle,
0011                  size_t size, enum dma_data_direction dir);
0012 
0013 extern const struct dma_map_ops xen_swiotlb_dma_ops;
0014 
0015 #endif /* __LINUX_SWIOTLB_XEN_H */