#[repr(C)]pub struct DcfgArmPsciCpuSuspendState {
pub id: u32,
pub power_state: u32,
pub flags: ArmPsciCpuSuspendStateFlags,
pub entry_latency_us: u32,
pub exit_latency_us: u32,
pub min_residency_us: u32,
}
Expand description
The ZBI_KERNEL_DRIVER_ARM_PSCI_CPU_SUSPEND’s payload consists on any number of
DcfgArmPsciCpuSuspendState
entries.
The length of the item is sizeof(zbi_dcfg_arm_psci_cou_suspend_state_t)
times the number of
entries. Each entry describes an ‘idle state’ that can be entered through PSCI CPU Suspend call.
Entries in the table may be in any order, and only a single item of type ZBI_KERNEL_DRIVER_ARM_PSCI_CPU_SUSPEND should be present in the ZBI.
Fields§
§id: u32
Unique identifier representing this suspend state.
power_state: u32
PSCI power_state as described in “Section 5.4.2. of Arm Power State Coordination Interface” v1.3.
flags: ArmPsciCpuSuspendStateFlags
§entry_latency_us: u32
Latency in microseconds to enter the low power state.
exit_latency_us: u32
Latency in microseconds to exit the low power state.
min_residency_us: u32
Minimum time in microseconds, including entry_latency
, to stay in this low power state.
Spending less time would be inefficient energy-wise.
Trait Implementations§
Source§impl Clone for DcfgArmPsciCpuSuspendState
impl Clone for DcfgArmPsciCpuSuspendState
Source§fn clone(&self) -> DcfgArmPsciCpuSuspendState
fn clone(&self) -> DcfgArmPsciCpuSuspendState
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more