Searched refs:bei (Results 1 – 1 of 1) sorted by relevance
2793 static struct resource *pci_ea_get_resource(struct pci_dev *dev, u8 bei, in pci_ea_get_resource() argument2796 if (bei <= PCI_EA_BEI_BAR5 && prop <= PCI_EA_P_IO) in pci_ea_get_resource()2797 return &dev->resource[bei]; in pci_ea_get_resource()2799 else if (bei >= PCI_EA_BEI_VF_BAR0 && bei <= PCI_EA_BEI_VF_BAR5 && in pci_ea_get_resource()2802 bei - PCI_EA_BEI_VF_BAR0]; in pci_ea_get_resource()2804 else if (bei == PCI_EA_BEI_ROM) in pci_ea_get_resource()2817 u32 dw0, bei, base, max_offset; in pci_ea_read() local2830 bei = (dw0 & PCI_EA_BEI) >> 4; in pci_ea_read()2842 res = pci_ea_get_resource(dev, bei, prop); in pci_ea_read()2844 pci_err(dev, "Unsupported EA entry BEI: %u\n", bei); in pci_ea_read()[all …]