summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/intr_remapping.h
blob: 5662fecfee60644b1177c827d99243b6e661533e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#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 */
};

struct hpet_scope {
	struct intel_iommu *iommu;
	u8 id;
	unsigned int bus;
	unsigned int devfn;
};

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