intr_remapping.h 340 B

123456789101112131415161718
  1. #include <linux/intel-iommu.h>
  2. struct ioapic_scope {
  3. struct intel_iommu *iommu;
  4. unsigned int id;
  5. unsigned int bus; /* PCI bus number */
  6. unsigned int devfn; /* PCI devfn number */
  7. };
  8. struct hpet_scope {
  9. struct intel_iommu *iommu;
  10. u8 id;
  11. unsigned int bus;
  12. unsigned int devfn;
  13. };
  14. #define IR_X2APIC_MODE(mode) (mode ? (1 << 11) : 0)