Modules§
Structs§
- Component
Power Configuration - The configuration for a component’s power elements.
- Device
Control Handle - Device
Event Stream - Device
GetCurrent Voltage Request - Device
GetCurrent Voltage Responder - Device
GetCurrent Voltage Response - Device
GetPower Domain Status Responder - Device
GetPower Domain Status Response - Device
GetSupported Voltage Range Responder - Device
GetSupported Voltage Range Response - Device
Marker - Device
Proxy - Device
Read Pmic Ctrl RegRequest - Device
Read Pmic Ctrl RegResponder - Device
Read Pmic Ctrl RegResponse - Device
Register Power Domain Request - Device
Register Power Domain Responder - Device
Request Stream - A Stream of incoming requests for fuchsia.hardware.power/Device.
- Device
Request Voltage Request - Device
Request Voltage Responder - Device
Request Voltage Response - Device
Synchronous Proxy - Device
Unregister Power Domain Responder - Device
Write Pmic Ctrl RegRequest - Device
Write Pmic Ctrl RegResponder - Domain
- Information related to a power domain.
- Domain
Metadata - Passed to the power core driver in metadata.
- Level
Tuple - Represents a dependency between two power levels of two different
PowerElement
s. - Power
Dependency - Describes the relationship between the
PowerLevel
s of twoPowerElement
s.child
is the name of thePowerElement
which hasPowerLevel
s that depend onparent
. - Power
Element - Set of
PowerLevel
s and a human-readable identifier. APowerLevel
itself contains information about valid transitions out of that level. - Power
Element Configuration - Contains the
PowerElement
description and any dependencies it has on otherPowerElement
s. - Power
Level - A zero-indexed set of levels that a device can assume.
- Power
Token Provider Control Handle - Power
Token Provider Event Stream - Power
Token Provider GetToken Responder - Power
Token Provider GetToken Response - Power
Token Provider Marker - Power
Token Provider Proxy - Power
Token Provider Request Stream - A Stream of incoming requests for fuchsia.hardware.power/PowerTokenProvider.
- Power
Token Provider Synchronous Proxy - Power
Token Service Marker - Power
Token Service Proxy - Service
Marker - Service
Proxy - Transition
- The length of time it takes to move to a power level.
Enums§
- CpuPower
Element - 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.
- Device
Event - Device
Request - Parent
Element - Identifier for an element that is another element’s parent, in other words an element that the other element depends upon.
- Power
Domain Status - Power
Token Provider Event - Power
Token Provider Request - Power
Token Service Request - A request for one of the member protocols of PowerTokenService.
- Requirement
Type - SagElement
- Service
Request - 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.