Crate fidl_fuchsia_hardware_power

Source

Modules§

device_ordinals
power_token_provider_ordinals

Structs§

ComponentPowerConfiguration
The configuration for a component’s power elements.
DeviceControlHandle
DeviceEventStream
DeviceGetCurrentVoltageRequest
DeviceGetCurrentVoltageResponder
DeviceGetCurrentVoltageResponse
DeviceGetPowerDomainStatusResponder
DeviceGetPowerDomainStatusResponse
DeviceGetSupportedVoltageRangeResponder
DeviceGetSupportedVoltageRangeResponse
DeviceMarker
DeviceProxy
DeviceReadPmicCtrlRegRequest
DeviceReadPmicCtrlRegResponder
DeviceReadPmicCtrlRegResponse
DeviceRegisterPowerDomainRequest
DeviceRegisterPowerDomainResponder
DeviceRequestStream
A Stream of incoming requests for fuchsia.hardware.power/Device.
DeviceRequestVoltageRequest
DeviceRequestVoltageResponder
DeviceRequestVoltageResponse
DeviceSynchronousProxy
DeviceUnregisterPowerDomainResponder
DeviceWritePmicCtrlRegRequest
DeviceWritePmicCtrlRegResponder
Domain
Information related to a power domain.
DomainMetadata
Passed to the power core driver in metadata.
LevelTuple
Represents a dependency between two power levels of two different PowerElements.
PowerDependency
Describes the relationship between the PowerLevels of two PowerElements. child is the name of the PowerElement which has PowerLevels that depend on parent.
PowerElement
Set of PowerLevels and a human-readable identifier. A PowerLevel itself contains information about valid transitions out of that level.
PowerElementConfiguration
Contains the PowerElement description and any dependencies it has on other PowerElements.
PowerLevel
A zero-indexed set of levels that a device can assume.
PowerTokenProviderControlHandle
PowerTokenProviderEventStream
PowerTokenProviderGetTokenResponder
PowerTokenProviderGetTokenResponse
PowerTokenProviderMarker
PowerTokenProviderProxy
PowerTokenProviderRequestStream
A Stream of incoming requests for fuchsia.hardware.power/PowerTokenProvider.
PowerTokenProviderSynchronousProxy
PowerTokenServiceMarker
PowerTokenServiceProxy
ServiceMarker
ServiceProxy
Transition
The length of time it takes to move to a power level.

Enums§

CpuPowerElement
Represents the power elements related to controlling the CPU. This is an enum with a single variant to add flexibility for future addition of more elements related to CPU power state.
DeviceEvent
DeviceRequest
ParentElement
Identifier for an element that is another element’s parent, in other words an element that the other element depends upon.
PowerDomainStatus
PowerTokenProviderEvent
PowerTokenProviderRequest
PowerTokenServiceRequest
A request for one of the member protocols of PowerTokenService.
RequirementType
SagElement
ServiceRequest
A request for one of the member protocols of Service.

Constants§

MAX_DEPENDENCIES
MAX_LEVELS
Should be MAX_TRANSITIONS + 1
MAX_NAME_LENGTH
MAX_POWER_ELEMENTS
MAX_TRANSITIONS
This means we could have up to 128 power levels, which seems like more than enough.

Traits§

DeviceProxyInterface
PowerTokenProviderProxyInterface

Type Aliases§

DeviceGetCurrentVoltageResult
DeviceGetPowerDomainStatusResult
DeviceGetSupportedVoltageRangeResult
DeviceReadPmicCtrlRegResult
DeviceRegisterPowerDomainResult
DeviceRequestVoltageResult
DeviceUnregisterPowerDomainResult
DeviceWritePmicCtrlRegResult
PowerTokenProviderGetTokenResult