yuezonghe | 824eb0c | 2024-06-27 02:32:26 -0700 | [diff] [blame] | 1 | #include <linux/intel-iommu.h> |
2 | |||||
3 | struct ioapic_scope { | ||||
4 | struct intel_iommu *iommu; | ||||
5 | unsigned int id; | ||||
6 | unsigned int bus; /* PCI bus number */ | ||||
7 | unsigned int devfn; /* PCI devfn number */ | ||||
8 | }; | ||||
9 | |||||
10 | struct hpet_scope { | ||||
11 | struct intel_iommu *iommu; | ||||
12 | u8 id; | ||||
13 | unsigned int bus; | ||||
14 | unsigned int devfn; | ||||
15 | }; | ||||
16 | |||||
17 | #define IR_X2APIC_MODE(mode) (mode ? (1 << 11) : 0) |