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.
#define PCI_BASE_ADDRESS_2
#define PCI_BASE_ADDRESS_0
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)
#define PCI_DID_INTEL_MTL_CRASHLOG_SRAM
#define PCI_DID_INTEL_JSP_SRAM
#define PCI_DID_INTEL_MTL_IOE_P_SRAM
#define PCI_DID_INTEL_ADP_N_PMC_CRASHLOG_SRAM
#define PCI_DID_INTEL_ADP_P_PMC_CRASHLOG_SRAM
#define PCI_DID_INTEL_MTL_IOE_M_SRAM
#define PCI_DID_INTEL_ICL_SRAM
#define PCI_DID_INTEL_MCC_SRAM
#define PCI_DID_INTEL_GLK_SRAM
#define PCI_DID_INTEL_APL_SRAM
#define PCI_DID_INTEL_CMP_H_SRAM
#define PCI_DID_INTEL_ADP_S_PMC_CRASHLOG_SRAM
#define PCI_DID_INTEL_MTL_SOC_SRAM
#define PCI_DID_INTEL_TGP_PMC_CRASHLOG_SRAM
#define PCI_DID_INTEL_TGL_H_SRAM
#define PCI_DID_INTEL_CMP_SRAM
#define IORESOURCE_ASSIGNED
const struct smm_save_state_ops *legacy_ops __weak
static const struct pci_driver sram __pci_driver
static const struct device_operations device_ops
__weak void soc_sram_init(struct device *dev)
static const unsigned short pci_device_ids[]
static void sram_read_resources(struct device *dev)
void(* read_resources)(struct device *dev)