15 #include <soc/iomap.h>
17 #include <soc/pci_devs.h>
19 #include <soc/systemagent.h>
122 int is_s0ix_enable =
config->s0ix_enable;
124 if (is_s0ix_enable) {
132 for (i = 0; i < *entries; i++) {
134 map[i].
ctype = i + 1;
197 const bool emit_igd = igfx_dev && igfx_dev->
enabled && gfxvtbar && gfxvten;
199 unsigned long tmp = current;
211 if (ipu_dev && ipu_dev->
enabled && ipuvtbar && ipuvten) {
212 unsigned long tmp = current;
223 if (vtvc0bar && vtvc0en) {
224 const unsigned long tmp = current;
240 const unsigned long tmp = current;
unsigned long acpi_create_dmar_ds_ioapic(unsigned long current, u8 enumeration_id, u8 bus, u8 dev, u8 fn)
unsigned long acpi_create_dmar_rmrr(unsigned long current, u16 segment, u64 bar, u64 limit)
__weak void soc_fill_fadt(acpi_fadt_t *fadt)
void acpi_dmar_drhd_fixup(unsigned long base, unsigned long current)
void acpi_add_table(acpi_rsdp_t *rsdp, void *table)
Add an ACPI table to the RSDT (and XSDT) structure, recalculate length and checksum.
unsigned long acpi_create_dmar_ds_msi_hpet(unsigned long current, u8 enumeration_id, u8 bus, u8 dev, u8 fn)
unsigned long acpi_create_dmar_ds_pci(unsigned long current, u8 bus, u8 dev, u8 fn)
void acpi_create_dmar(acpi_dmar_t *dmar, enum dmar_flags flags, unsigned long(*acpi_fill_dmar)(unsigned long))
void acpi_dmar_rmrr_fixup(unsigned long base, unsigned long current)
unsigned long acpi_create_dmar_drhd(unsigned long current, u8 flags, u16 segment, u64 bar)
#define V_P2SB_CFG_IBDF_BUS
#define V_P2SB_CFG_IBDF_FUNC
#define V_P2SB_CFG_HBDF_FUNC
#define V_P2SB_CFG_IBDF_DEV
#define V_P2SB_CFG_HBDF_DEV
#define V_P2SB_CFG_HBDF_BUS
void sa_fill_gnvs(struct global_nvs *gnvs)
uintptr_t sa_get_tolud_base(void)
uintptr_t sa_get_gsm_base(void)
#define printk(level,...)
#define MWAIT_RES(state, sub_state)
#define C_STATE_LATENCY_FROM_LAT_REG(reg)
DEVTREE_CONST struct device * pcidev_path_on_root(pci_devfn_t devfn)
static uintptr_t acpi_align_current(uintptr_t current)
#define ACPI_ACCESS_SIZE_DWORD_ACCESS
#define ACPI_FADT_LOW_PWR_IDLE_S0
#define ACPI_ADDRESS_SPACE_IO
static __always_inline uint32_t read32p(const uintptr_t addr)
static __always_inline u32 pci_read_config32(const struct device *dev, u16 reg)
#define ACPI_BASE_ADDRESS
#define BIOS_DEBUG
BIOS_DEBUG - Verbose output.
#define MP_IRQ_POLARITY_HIGH
const acpi_cstate_t * soc_get_cstate_map(size_t *entries)
unsigned long sa_write_acpi_tables(const struct device *dev, unsigned long current, struct acpi_rsdp *rsdp)
int soc_madt_sci_irq_polarity(int sci)
void soc_power_states_generation(int core_id, int cores_per_package)
void soc_fill_gnvs(struct global_nvs *gnvs)
uint32_t soc_read_sci_irq_select(void)
uintptr_t soc_read_pmc_base(void)
static unsigned long soc_fill_dmar(unsigned long current)
static int cstate_set_non_s0ix[]
static int cstate_set_s0ix[]
static const acpi_cstate_t cstate_map[NUM_C_STATES]
void generate_p_state_entries(int core, int cores_per_package)
unsigned long long uint64_t