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 pciea_bei
BAR equivalent indicators.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
struct pci_device * pci
PCI device.
unsigned long pciea_bar_size(struct pci_device *pci, unsigned int bei)
Find the size of a PCI Enhanced Allocation BAR equivalent.
unsigned long pciea_bar_start(struct pci_device *pci, unsigned int bei)
Find the start of a PCI Enhanced Allocation BAR equivalent.