xref: /openbmc/linux/arch/x86/include/asm/xen/swiotlb-xen.h (revision 7f3650a0b6615f230d798f11c18ff032172a4045)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_X86_SWIOTLB_XEN_H
3 #define _ASM_X86_SWIOTLB_XEN_H
4 
5 int xen_swiotlb_fixup(void *buf, unsigned long nslabs);
6 int xen_create_contiguous_region(phys_addr_t pstart, unsigned int order,
7 				unsigned int address_bits,
8 				dma_addr_t *dma_handle);
9 void xen_destroy_contiguous_region(phys_addr_t pstart, unsigned int order);
10 
11 #endif /* _ASM_X86_SWIOTLB_XEN_H */
12