#include <linux/device.h>
#include <linux/io.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/pci-ecam.h>
#include <linux/slab.h>
static const bool per_bus_mapping = !IS_ENABLED(…);
struct pci_config_window *pci_ecam_create(struct device *dev,
struct resource *cfgres, struct resource *busr,
const struct pci_ecam_ops *ops)
{ … }
EXPORT_SYMBOL_GPL(…);
void pci_ecam_free(struct pci_config_window *cfg)
{ … }
EXPORT_SYMBOL_GPL(…);
static int pci_ecam_add_bus(struct pci_bus *bus)
{ … }
static void pci_ecam_remove_bus(struct pci_bus *bus)
{ … }
void __iomem *pci_ecam_map_bus(struct pci_bus *bus, unsigned int devfn,
int where)
{ … }
EXPORT_SYMBOL_GPL(…);
const struct pci_ecam_ops pci_generic_ecam_ops = …;
EXPORT_SYMBOL_GPL(…);
#if defined(CONFIG_ACPI) && defined(CONFIG_PCI_QUIRKS)
const struct pci_ecam_ops pci_32b_ops = …;
const struct pci_ecam_ops pci_32b_read_ops = …;
#endif