/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_X86_SWIOTLB_XEN_H #define _ASM_X86_SWIOTLB_XEN_H #ifdef CONFIG_SWIOTLB_XEN extern int xen_swiotlb; extern int __init pci_xen_swiotlb_detect(void); extern void __init pci_xen_swiotlb_init(void); extern int pci_xen_swiotlb_init_late(void); #else #define xen_swiotlb (0) static inline int __init pci_xen_swiotlb_detect(void) { return 0; } static inline void __init pci_xen_swiotlb_init(void) { } static inline int pci_xen_swiotlb_init_late(void) { return -ENXIO; } #endif #endif /* _ASM_X86_SWIOTLB_XEN_H */
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
cpuid.h | File | 4.27 KB | 0644 |
|
events.h | File | 806 B | 0644 |
|
hypercall.h | File | 17.11 KB | 0644 |
|
hypervisor.h | File | 2.23 KB | 0644 |
|
interface.h | File | 13.21 KB | 0644 |
|
interface_32.h | File | 2.92 KB | 0644 |
|
interface_64.h | File | 4.56 KB | 0644 |
|
page-coherent.h | File | 1.28 KB | 0644 |
|
page.h | File | 9.33 KB | 0644 |
|
pci.h | File | 2.24 KB | 0644 |
|
swiotlb-xen.h | File | 559 B | 0644 |
|
trace_types.h | File | 480 B | 0644 |
|