linux/drivers/pci/pci-bridge-emul.h

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __PCI_BRIDGE_EMUL_H__
#define __PCI_BRIDGE_EMUL_H__

#include <linux/kernel.h>

/* PCI configuration space of a PCI-to-PCI bridge. */
struct pci_bridge_emul_conf {};

/* PCI configuration space of the PCIe capabilities */
struct pci_bridge_emul_pcie_conf {};

struct pci_bridge_emul;

pci_bridge_emul_read_status_t;

struct pci_bridge_emul_ops {};

struct pci_bridge_reg_behavior;

struct pci_bridge_emul {};

enum {};

int pci_bridge_emul_init(struct pci_bridge_emul *bridge,
			 unsigned int flags);
void pci_bridge_emul_cleanup(struct pci_bridge_emul *bridge);

int pci_bridge_emul_conf_read(struct pci_bridge_emul *bridge, int where,
			      int size, u32 *value);
int pci_bridge_emul_conf_write(struct pci_bridge_emul *bridge, int where,
			       int size, u32 value);

#endif /* __PCI_BRIDGE_EMUL_H__ */