3 #define __SIMPLE_DEVICE__
13 #include <soc/iomap.h>
14 #include <soc/pci_devs.h>
15 #include <soc/systemagent.h>
32 switch (CONFIG_ECAM_MMCONF_BUS_NUMBER) {
45 reg = CONFIG_ECAM_MMCONF_BASE_ADDRESS | (pciexbar_length << 1)
63 for (i = 0; i <
count; i++) {
67 index = fixed_set_resources[i].
index;
93 for (i = 0; i <
count; i++) {
98 index = fixed_set_resources[i].
index;
static void write32(void *addr, uint32_t val)
static __always_inline void pci_write_config32(const struct device *dev, u16 reg, u32 val)
static __always_inline u32 pci_read_config32(const struct device *dev, u16 reg)
static __always_inline void pci_write_config8(const struct device *dev, u16 reg, u8 val)
static __always_inline void pci_io_write_config32(pci_devfn_t dev, uint16_t reg, uint32_t value)
unsigned long long uint64_t
#define PCIEXBAR_LENGTH_128MB
#define PCIEXBAR_LENGTH_64MB
#define PCIEXBAR_LENGTH_256MB
#define PCIEXBAR_PCIEXBAREN
void enable_bios_reset_cpl(void)
void sa_set_mch_bar(const struct sa_mmio_descriptor *fixed_set_resources, size_t count)
void enable_pam_region(void)
uintptr_t sa_get_tseg_base(void)
size_t sa_get_tseg_size(void)
union dpr_register txt_get_chipset_dpr(void)
uintptr_t sa_get_tolud_base(void)
uintptr_t sa_get_gsm_base(void)
void sa_set_pci_bar(const struct sa_mmio_descriptor *fixed_set_resources, size_t count)
void bootblock_systemagent_early_init(void)
typedef void(X86APIP X86EMU_intrFuncs)(int num)