11 #include <soc/pci_devs.h>
37 enable ?
"En" :
"Dis", sx +
'0');
128 if (!
CONFIG(USE_PM_ACPI_TIMER))
134 if (
CONFIG(SOC_INTEL_COMMON_BLOCK_ACPI_PEP))
159 #if CONFIG(HAVE_ACPI_TABLES)
uint8_t * pmc_mmio_regs(void)
BOOT_STATE_INIT_ENTRY(BS_DEV_INIT_CHIPS, BS_ON_EXIT, pm1_enable_pwrbtn_smi, NULL)
struct device_operations pmc_ops
static void write32(void *addr, uint32_t val)
static uint32_t read32(const void *addr)
static void config_deep_s5(int on_ac, int on_dc)
static void config_deep_sx(uint32_t deepsx_config)
static void pmc_final(struct device *dev)
static void soc_pmc_enable(struct device *dev)
static void soc_pmc_read_resources(struct device *dev)
static void pm1_enable_pwrbtn_smi(void *unused)
static void soc_pmc_init(struct device *dev)
static void pmc_fill_ssdt(const struct device *dev)
static void config_deep_s3(int on_ac, int on_dc)
static void config_deep_sX(uint32_t offset, uint32_t mask, int sx, int enable)
#define printk(level,...)
struct resource * new_resource(struct device *dev, unsigned int index)
See if a resource structure already exists for a given index and if not allocate one.
static void noop_set_resources(struct device *dev)
#define mmio_resource(dev, idx, basek, sizek)
#define setbits8(addr, set)
#define PCH_PWRM_BASE_ADDRESS
#define PCH_PWRM_BASE_SIZE
#define ACPI_BASE_ADDRESS
#define PCH_PWRM_ACPI_TMR_CTL
#define BIOS_DEBUG
BIOS_DEBUG - Verbose output.
void generate_acpi_power_engine(void)
#define IORESOURCE_ASSIGNED
void scan_static_bus(struct device *bus)
void pmc_set_power_failure_state(bool target_on)
void pmc_set_acpi_mode(void)
void pmc_update_pm1_enable(uint16_t events)
void pmc_clear_pmcon_sts(void)
void(* read_resources)(struct device *dev)