diff options
author | Kapil Porwal <kapilporwal@google.com> | 2022-11-28 17:25:48 +0530 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-12-05 14:30:57 +0000 |
commit | 7543627f1bffbfccb2d061ff9a095dd3c6445a8d (patch) | |
tree | 4b8a1eb22e3117e00711aa2a6d5240e24c53a87e /src/include | |
parent | 06cd7dbe4c15dfb35f3f638a4d9768ace9740d06 (diff) |
acpi: Helper functions to add certain _DSD properties
BUG=b:259716145
TEST=Verified SSDT on google/rex.
Signed-off-by: Kapil Porwal <kapilporwal@google.com>
Change-Id: I5bb432dd4e8f320d2c0d7f378dc2d7b3a770b541
Reviewed-on: https://review.coreboot.org/c/coreboot/+/70063
Reviewed-by: Tarun Tuli <taruntuli@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/acpi/acpi_device.h | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/src/include/acpi/acpi_device.h b/src/include/acpi/acpi_device.h index 1493cb4cc9..9ce5e0a3b1 100644 --- a/src/include/acpi/acpi_device.h +++ b/src/include/acpi/acpi_device.h @@ -588,13 +588,16 @@ void acpi_dp_write(struct acpi_dp *table); */ void acpi_device_write_pci_dev(const struct device *dev); -/* - * Helper function to add DmaProperty to _DSD in the current scope. - * - * dsd - Pointer to a _DSD object. - * Append to existing _DSD object if not NULL. - * Create new _DSD object and flush it if NULL. - */ +/* Helper function to add ExternalFacingPort to _DSD in the current scope */ +void acpi_device_add_external_facing_port(struct acpi_dp *dsd); + +/* Helper function to add HotPlugSupportInD3 to _DSD in the current scope */ +void acpi_device_add_hotplug_support_in_d3(struct acpi_dp *dsd); + +/* Helper function to add DmaProperty to _DSD in the current scope */ void acpi_device_add_dma_property(struct acpi_dp *dsd); +/* Helper function to add StorageD3Enable to _DSD in the current scope */ +void acpi_device_add_storage_d3_enable(struct acpi_dp *dsd); + #endif /* __ACPI_ACPI_DEVICE_H__ */ |