root/arch/x86/include/asm/xen/swiotlb-xen.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


DEFINITIONS

This source file includes following definitions.
  1. pci_xen_swiotlb_detect
  2. pci_xen_swiotlb_init
  3. pci_xen_swiotlb_init_late

   1 /* SPDX-License-Identifier: GPL-2.0 */
   2 #ifndef _ASM_X86_SWIOTLB_XEN_H
   3 #define _ASM_X86_SWIOTLB_XEN_H
   4 
   5 #ifdef CONFIG_SWIOTLB_XEN
   6 extern int xen_swiotlb;
   7 extern int __init pci_xen_swiotlb_detect(void);
   8 extern void __init pci_xen_swiotlb_init(void);
   9 extern int pci_xen_swiotlb_init_late(void);
  10 #else
  11 #define xen_swiotlb (0)
  12 static inline int __init pci_xen_swiotlb_detect(void) { return 0; }
  13 static inline void __init pci_xen_swiotlb_init(void) { }
  14 static inline int pci_xen_swiotlb_init_late(void) { return -ENXIO; }
  15 #endif
  16 
  17 #endif /* _ASM_X86_SWIOTLB_XEN_H */

/* [<][>][^][v][top][bottom][index][help] */