15#define PCIEA_ENTRIES 2
16#define PCIEA_ENTRIES_MASK 0x3f
25#define PCIEA_DESC_SIZE(desc) ( ( (desc) >> 0 ) & 0x7 )
28#define PCIEA_DESC_BEI(desc) ( ( (desc) >> 4 ) & 0xf )
48#define PCIEA_DESC_ENABLED 0x80000000UL
51#define PCIEA_LOW_BASE 4
54#define PCIEA_LOW_LIMIT 8
57#define PCIEA_LOW_ATTR_64BIT 0x00000002UL
60#define PCIEA_LOW_ATTR_MASK 0x00000003UL
63#define PCIEA_LOW_HIGH 8
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
unsigned long pciea_bar_start(struct pci_device *pci, unsigned int bei)
Find the start of a PCI Enhanced Allocation BAR equivalent.
pciea_bei
BAR equivalent indicators.
@ PCIEA_BEI_VF_BAR_5
Virtual function BAR 5.
@ PCIEA_BEI_BAR_4
Standard BAR 4.
@ PCIEA_BEI_VF_BAR_3
Virtual function BAR 3.
@ PCIEA_BEI_BAR_3
Standard BAR 3.
@ PCIEA_BEI_VF_BAR_2
Virtual function BAR 2.
@ PCIEA_BEI_BAR_0
Standard BAR 0.
@ PCIEA_BEI_VF_BAR_1
Virtual function BAR 1.
@ PCIEA_BEI_BAR_2
Standard BAR 2.
@ PCIEA_BEI_VF_BAR_0
Virtual function BAR 0.
@ PCIEA_BEI_BAR_1
Standard BAR 1.
@ PCIEA_BEI_ROM
Expansion ROM BAR.
@ PCIEA_BEI_VF_BAR_4
Virtual function BAR 4.
@ PCIEA_BEI_BAR_5
Standard BAR 5.
unsigned long pciea_bar_size(struct pci_device *pci, unsigned int bei)
Find the size of a PCI Enhanced Allocation BAR equivalent.