11 #include <soc/iomap.h>
13 #include <soc/pci_devs.h>
14 #include <soc/systemagent.h>
37 {
PCIEXBAR, CONFIG_ECAM_MMCONF_BASE_ADDRESS, CONFIG_ECAM_MMCONF_LENGTH,
78 soc_config = &
config->power_limits_config;
95 switch (capid0_a_ddrsz) {
void soc_add_fixed_mmio_resources(struct device *dev, int *index)
void soc_systemagent_init(struct device *dev)
uint32_t soc_systemagent_max_chan_capacity_mib(u8 capid0_a_ddrsz)
int soc_get_uncore_prmmr_base_and_mask(uint64_t *prmrr_base, uint64_t *prmrr_mask)
void enable_bios_reset_cpl(void)
void enable_power_aware_intr(void)
void sa_add_fixed_mmio_resources(struct device *dev, int *resource_cnt, const struct sa_mmio_descriptor *sa_fixed_resources, size_t count)
#define MSR_UNCORE_PRMRR_PHYS_BASE
#define MSR_UNCORE_PRMRR_PHYS_MASK
void set_power_limits(u8 power_limit_1_time)
void mdelay(unsigned int msecs)
bool is_devfn_enabled(unsigned int devfn)
DEVTREE_CONST struct device * pcidev_path_on_root(pci_devfn_t devfn)
static __always_inline msr_t rdmsr(unsigned int index)
static __always_inline u32 pci_read_config32(const struct device *dev, u16 reg)
#define EDRAM_BASE_ADDRESS
#define GDXC_BASE_ADDRESS
unsigned int get_uint_option(const char *name, const unsigned int fallback)
#define MOBILE_SKU_PL1_TIME_SEC
static const struct sa_mmio_descriptor soc_gfxvt_mmio_descriptor
static const struct sa_mmio_descriptor soc_vtvc0_mmio_descriptor
bool soc_vtd_enabled(void)
unsigned long long uint64_t