linux/drivers/pci/host-bridge.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Host bridge related code
 */

#include <linux/kernel.h>
#include <linux/pci.h>
#include <linux/module.h>

#include "pci.h"

static struct pci_bus *find_pci_root_bus(struct pci_bus *bus)
{}

struct pci_host_bridge *pci_find_host_bridge(struct pci_bus *bus)
{}
EXPORT_SYMBOL_GPL();

struct device *pci_get_host_bridge_device(struct pci_dev *dev)
{}

void  pci_put_host_bridge_device(struct device *dev)
{}

void pci_set_host_bridge_release(struct pci_host_bridge *bridge,
				 void (*release_fn)(struct pci_host_bridge *),
				 void *release_data)
{}
EXPORT_SYMBOL_GPL();

void pcibios_resource_to_bus(struct pci_bus *bus, struct pci_bus_region *region,
			     struct resource *res)
{}
EXPORT_SYMBOL();

static bool region_contains(struct pci_bus_region *region1,
			    struct pci_bus_region *region2)
{}

void pcibios_bus_to_resource(struct pci_bus *bus, struct resource *res,
			     struct pci_bus_region *region)
{}
EXPORT_SYMBOL();