summaryrefslogblamecommitdiff
path: root/drivers/iommu/intr_remapping.h
blob: 5662fecfee60644b1177c827d99243b6e661533e (plain) (tree)
1
2
3
4
5
6
7
8
9
                              



                                  

                                                      
  
 






                                  
                                                   
#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)