20 #define PCIE_RTD3_STORAGE_UUID "5025030F-842F-4AB4-A561-99A5189762D0"
21 #define PCIE_RTD3_STORAGE_PROPERTY "StorageD3Enable"
91 .reset_delay_ms =
config->reset_delay_ms,
92 .reset_off_delay_ms =
config->reset_off_delay_ms,
94 .enable_delay_ms =
config->enable_delay_ms,
95 .enable_off_delay_ms =
config->enable_off_delay_ms,
96 .use_gpio_for_status =
true,
struct acpi_dp * acpi_dp_add_package(struct acpi_dp *dp, struct acpi_dp *package)
void acpi_device_add_power_res(const struct acpi_power_res_params *params)
struct acpi_dp * acpi_dp_add_integer(struct acpi_dp *dp, const char *name, uint64_t value)
void acpi_dp_write(struct acpi_dp *table)
int acpi_device_status(const struct device *dev)
const char * acpi_device_name(const struct device *dev)
struct acpi_dp * acpi_dp_new_table(const char *name)
const char * acpi_device_scope(const struct device *dev)
void acpigen_write_scope(const char *name)
void acpigen_write_STA(uint8_t status)
void acpigen_write_device(const char *name)
void acpigen_write_ADR_pci_device(const struct device *dev)
#define assert(statement)
#define printk(level,...)
const char * dev_path(const struct device *dev)
static const char * pcie_rtd3_device_acpi_name(const struct device *dev)
static void pcie_rtd3_device_acpi_fill_ssdt(const struct device *dev)
static struct device_operations pcie_rtd3_device_ops
static void pcie_rtd3_device_enable(struct device *dev)
struct chip_operations drivers_pcie_rtd3_device_ops
#define PCIE_RTD3_STORAGE_PROPERTY
#define PCIE_RTD3_STORAGE_UUID
void acpigen_write_device_end(void)
void acpigen_write_scope_end(void)
static DEVTREE_CONST void * config_of(const struct device *dev)
#define BIOS_INFO
BIOS_INFO - Expected events.
#define BIOS_ERR
BIOS_ERR - System in incomplete state.
void pci_dev_init(struct device *dev)
Default handler: only runs the relevant PCI BIOS.
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_BASE_CLASS_STORAGE
unsigned long pci_rom_write_acpi_tables(const struct device *device, unsigned long current, struct acpi_rsdp *rsdp)
void pci_rom_ssdt(const struct device *device)
struct acpi_gpio * enable_gpio
struct acpi_gpio * reset_gpio
void(* read_resources)(struct device *dev)
enum device_path_type type
struct chip_operations * chip_ops
struct device_operations * ops
DEVTREE_CONST void * chip_info