linux/arch/x86/pci/early.c

// SPDX-License-Identifier: GPL-2.0
#include <linux/kernel.h>
#include <linux/pci.h>
#include <asm/pci-direct.h>
#include <asm/io.h>
#include <asm/pci_x86.h>

/* Direct PCI access. This is used for PCI accesses in early boot before
   the PCI subsystem works. */

u32 read_pci_config(u8 bus, u8 slot, u8 func, u8 offset)
{}

u8 read_pci_config_byte(u8 bus, u8 slot, u8 func, u8 offset)
{}

u16 read_pci_config_16(u8 bus, u8 slot, u8 func, u8 offset)
{}

void write_pci_config(u8 bus, u8 slot, u8 func, u8 offset,
				    u32 val)
{}

void write_pci_config_byte(u8 bus, u8 slot, u8 func, u8 offset, u8 val)
{}

void write_pci_config_16(u8 bus, u8 slot, u8 func, u8 offset, u16 val)
{}

int early_pci_allowed(void)
{}