Re-exports§
pub use self::natural::*;
Modules§
Structs§
- Component
Power Configuration - The configuration for a component’s power elements.
- Device
- The type corresponding to the Device protocol.
- Device
GetCurrent Voltage Request - Device
GetCurrent Voltage Response - Device
GetPower Domain Status Response - Device
GetSupported Voltage Range Response - Device
Read Pmic Ctrl RegRequest - Device
Read Pmic Ctrl RegResponse - Device
Register Power Domain Request - Device
Request Voltage Request - Device
Request Voltage Response - Device
Write Pmic Ctrl RegRequest - 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
PowerElements. - Power
Dependency - Describes the relationship between the
PowerLevels of twoPowerElements.childis the name of thePowerElementwhich hasPowerLevels that depend onparent. - Power
Element - Set of
PowerLevels and a human-readable identifier. APowerLevelitself contains information about valid transitions out of that level. - Power
Element Configuration - Contains the
PowerElementdescription and any dependencies it has on otherPowerElements. - Power
Level - A zero-indexed set of levels that a device can assume.
- Power
Token Provider - The type corresponding to the PowerTokenProvider protocol.
- Power
Token Service - The type corresponding to the PowerTokenService service.
- Power
Token Service Connector - A strongly-typed service connector for the
PowerTokenServiceservice. - Service
- The type corresponding to the Service service.
- Service
Connector - A strongly-typed service connector for the
Serviceservice. - 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.
- Framework
Element Levels - 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 - SagElement
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§
- Device
Client Handler - A client handler for the Device protocol.
- Device
Local Client Handler - A client handler for the Device protocol.
- Device
Local Server Handler - A server handler for the Device protocol.
- Device
Server Handler - A server handler for the Device protocol.
- Power
Token Provider Client Handler - A client handler for the PowerTokenProvider protocol.
- Power
Token Provider Local Client Handler - A client handler for the PowerTokenProvider protocol.
- Power
Token Provider Local Server Handler - A server handler for the PowerTokenProvider protocol.
- Power
Token Provider Server Handler - A server handler for the PowerTokenProvider protocol.
- Power
Token Service Handler - A service handler for the
PowerTokenServiceservice. - Service
Handler - A service handler for the
Serviceservice.