class Suspend

Defined at line 133 of file fidling/gen/sdk/fidl/fuchsia.hardware.ufs.phy/fuchsia.hardware.ufs.phy/cpp/fidl/fuchsia.hardware.ufs.phy/cpp/markers.h

Powers down the UFS device rails, PHY reset, regulators, clocks, and power domains.

The caller must have stopped the host controller (HCE = 0) before calling this; after it

returns the UFSHCI register space must not be accessed until `Resume` has succeeded.

Calling `Suspend` while already suspended is a no-op. On failure the PHY is still

considered suspended (every step is attempted and the first error reported), so the caller

must go through `Resume` to bring it back. Only resources that are actually held are

released, so `Suspend` is also safe to call after a failed `Resume` (which has already

released what it acquired). The host controller is stopped for the whole duration of

`Suspend` and `Resume`, so `Ufshci` calls made from within them fail with ZX_ERR_BAD_STATE.

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