11 #include <soc/device_nvs.h>
51 if (
config->adsp_d3_pg_enable) {
53 if (
config->adsp_sram_pg_enable)
61 if (
config->adsp_d3_pg_enable) {
63 if (
config->adsp_sram_pg_enable)
79 if (
config->sio_acpi_mode) {
133 static const struct pci_driver pch_adsp
__pci_driver = {
void * acpi_get_device_nvs(void)
static const struct pci_driver pch_adsp __pci_driver
static const unsigned short pci_device_ids[]
static struct device_operations adsp_ops
static void adsp_init(struct device *dev)
#define ADSP_SHIM_LTRC_VALUE
#define ADSP_PCI_VDRTCTL2
#define ADSP_VDRTCTL0_D3SRAMPGD_WPT
#define ADSP_VDRTCTL0_D3PGD_LPT
#define ADSP_PCICFGCTL_SPCBAD
#define ADSP_PCICFGCTL_ACPIIE
#define ADSP_PCICFGCTL_PCICD
#define ADSP_IOBP_VDLDAT2
#define ADSP_VDRTCTL0_D3PGD_WPT
#define ADSP_VDRTCTL0_D3SRAMPGD_LPT
#define ADSP_IOBP_VDLDAT1
#define ADSP_SHIM_BASE_LPT
#define ADSP_SHIM_BASE_WPT
#define ADSP_VDRTCTL2_VALUE
#define ADSP_VDLDAT1_VALUE
#define ADSP_PCI_VDRTCTL0
#define ADSP_IOBP_PCICFGCTL
#define ADSP_IOBP_ACPI_IRQ3
static void write32(void *addr, uint32_t val)
static uint32_t read32(const void *addr)
#define printk(level,...)
struct resource * probe_resource(const struct device *dev, unsigned int index)
See if a resource structure already exists for a given index.
static DEVTREE_CONST void * config_of(const struct device *dev)
static __always_inline void pci_write_config32(const struct device *dev, u16 reg, u32 val)
static __always_inline void pci_or_config16(const struct device *dev, u16 reg, u16 ormask)
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)
void pch_iobp_write(u32 address, u32 data)
#define BIOS_INFO
BIOS_INFO - Expected events.
#define PCI_INTERRUPT_LINE
#define PCI_COMMAND_MASTER
#define PCI_COMMAND_MEMORY
#define PCI_BASE_ADDRESS_0
#define PCI_BASE_ADDRESS_1
void pci_dev_enable_resources(struct device *dev)
void pci_dev_read_resources(struct device *dev)
struct pci_operations pci_dev_ops_pci
Default device operation for PCI devices.
void pci_dev_set_resources(struct device *dev)
static void * res2mmio(const struct resource *res, unsigned long offset, unsigned long mask)
void pch_iobp_update(u32 address, u32 andvalue, u32 orvalue)
void(* read_resources)(struct device *dev)