linux/arch/x86/pci/mmconfig_64.c

// SPDX-License-Identifier: GPL-2.0
/*
 * mmconfig.c - Low-level direct PCI config space access via MMCONFIG
 *
 * This is an 64bit optimized version that always keeps the full mmconfig
 * space mapped. This allows lockless config space operation.
 */

#define pr_fmt(fmt)

#include <linux/pci.h>
#include <linux/init.h>
#include <linux/acpi.h>
#include <linux/bitmap.h>
#include <linux/rcupdate.h>
#include <asm/e820/api.h>
#include <asm/pci_x86.h>

static char __iomem *pci_dev_base(unsigned int seg, unsigned int bus, unsigned int devfn)
{}

static int pci_mmcfg_read(unsigned int seg, unsigned int bus,
			  unsigned int devfn, int reg, int len, u32 *value)
{}

static int pci_mmcfg_write(unsigned int seg, unsigned int bus,
			   unsigned int devfn, int reg, int len, u32 value)
{}

const struct pci_raw_ops pci_mmcfg =;

static void __iomem *mcfg_ioremap(struct pci_mmcfg_region *cfg)
{}

int pci_mmcfg_arch_map(struct pci_mmcfg_region *cfg)
{}

void pci_mmcfg_arch_unmap(struct pci_mmcfg_region *cfg)
{}

int __init pci_mmcfg_arch_init(void)
{}

void __init pci_mmcfg_arch_free(void)
{}