repo.or.cz
/
mmotm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
mm-only debug patch...
[mmotm.git]
/
drivers
/
pci
/
intr_remapping.h
blob
5662fecfee60644b1177c827d99243b6e661533e
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)