aboutsummaryrefslogblamecommitdiffstats
path: root/drivers/pci/intr_remapping.h
blob: 63a263c18415f8d2f61ce13c6b1918d95c65d19a (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                              



                                  

                                                      
  

                                                   
#include <linux/intel-iommu.h>

struct ioapic_scope {
	struct intel_iommu *iommu;
	unsigned int id;
	unsigned int bus;	/* PCI bus number */
	unsigned int devfn;	/* PCI devfn number */
};

#define IR_X2APIC_MODE(mode) (mode ? (1 << 11) : 0)