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>
This commit is contained in:
@@ -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__ */
|
||||
|
Reference in New Issue
Block a user