Merge remote branch 'keithp/drm-intel-fixes' of /ssd/git/drm-next into drm-fixes
[cascardo/linux.git] / drivers / pci / intr_remapping.h
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)