Modules§
Structs§
- Component
Power Configuration - The configuration for a component’s power elements.
- 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
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.
- 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.
- 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 - Requirement
Type - 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.