class SetWakeDevice
Defined at line 307 of file fidling/gen/sdk/fidl/fuchsia.hardware.acpi/fuchsia.hardware.acpi/cpp/fidl/fuchsia.hardware.acpi/cpp/markers.h
Set a device to be able to wake the system from suspend. The device must have a _PRW
(Power Resource for Wake) method. This method should be called from the driver suspend
hook, using the |requested_state| provided by the driver framework. If the device is unable
to wake the system from the requested sleep state, then the device will not be set as a
wake source.
Errors:
NOT_SUPPORTED - requested sleep state is deeper than the deepest sleep that the device can
wake the system from.
BAD_DATA - unable to get wake GPE information.
BAD_PARAMETER - could not get GPE information.
TYPE - GPE is not marked as a wake GPE.
NOT_EXIST - GPE register could not be found.
Public Members
static const bool kHasClientToServer
static const bool kHasClientToServerBody
static const bool kHasServerToClient
static const bool kHasServerToClientBody
static const bool kHasNonEmptyUserFacingResponse
static const bool kHasDomainError
static const bool kHasFrameworkError
static const uint64_t kOrdinal