ACPI CPU
include/acpi/cpu.h View source View on GitHubThis is the big struct we gotta declare in here:
Structs
Section titled “Structs”acpi_power_reg
Section titled “acpi_power_reg” struct acpi_power_reg (7 fields) source
acpi_cpu_context
Section titled “acpi_cpu_context” struct acpi_cpu_context (8 fields) source
acpi_lpi_state
Section titled “acpi_lpi_state” struct acpi_lpi_state (9 fields) source
acpi_cpu_power
Section titled “acpi_cpu_power” struct acpi_cpu_power (3 fields) source
§
size_t count §
union §
struct acpi_cpu_context states[ACPI_CPU_MAX_POWER] §
struct acpi_lpi_state lpi_states[ACPI_CPU_MAX_POWER] §
size_t timer_broadcast_on_state acpi_psd_pkg
Section titled “acpi_psd_pkg” struct acpi_psd_pkg (5 fields) source
acpi_pct_reg
Section titled “acpi_pct_reg” struct acpi_pct_reg (7 fields) source
acpi_cpu_px
Section titled “acpi_cpu_px” struct acpi_cpu_px (6 fields) source
acpi_cpu_perf
Section titled “acpi_cpu_perf” struct acpi_cpu_perf (8 fields) source
§
uint32_t state §
uint32_t platform_limit §
struct acpi_pct_reg control_reg §
struct acpi_pct_reg status_reg §
uint32_t state_count §
struct acpi_cpu_px *states §
struct acpi_psd_pkg domain_info §
uint32_t type acpi_tsd_pkg
Section titled “acpi_tsd_pkg” struct acpi_tsd_pkg (5 fields) source
acpi_ptc_reg
Section titled “acpi_ptc_reg” struct acpi_ptc_reg (7 fields) source
acpi_cpu_tx_tss
Section titled “acpi_cpu_tx_tss” struct acpi_cpu_tx_tss (5 fields) source
acpi_cpu_tx
Section titled “acpi_cpu_tx”acpi_cpu_throttling
Section titled “acpi_cpu_throttling” struct acpi_cpu_throttling (15 fields) source
§
uint32_t state §
uint32_t platform_limit §
struct acpi_pct_reg control_reg §
struct acpi_pct_reg status_reg §
uint32_t state_count §
struct acpi_cpu_tx_tss *states_tss §
struct acpi_tsd_pkg domain_info §
uint32_t addr §
uint8_t duty_offset §
uint8_t duty_width §
uint8_t tsd_valid_flag §
struct acpi_cpu_tx states[ACPI_CPU_MAX_THROTTLING] acpi_cpu_lx
Section titled “acpi_cpu_lx”acpi_cpu_limit
Section titled “acpi_cpu_limit” struct acpi_cpu_limit (3 fields) source
§
struct acpi_cpu_lx state what are we right now
§
struct acpi_cpu_lx thermal thermal limit
§
struct acpi_cpu_lx user limit the user wants
acpi_cpu_flags
Section titled “acpi_cpu_flags” struct acpi_cpu_flags (7 fields) source
acpi_cpu
Section titled “acpi_cpu” struct acpi_cpu (8 fields) source
§
int32_t perf_throttle_limit §
int32_t throttle_platform_limit §
struct acpi_cpu_flags flags §
struct acpi_cpu_power power §
struct acpi_cpu_perf *performance §
struct acpi_cpu_throttling throttling §
struct acpi_cpu_limit limit Macros
Section titled “Macros”ACPI_CPU_BUSY_METRIC
Section titled “ACPI_CPU_BUSY_METRIC”#define ACPI_CPU_BUSY_METRIC 10 source ACPI_CPU_MAX_POWER
Section titled “ACPI_CPU_MAX_POWER”#define ACPI_CPU_MAX_POWER 8 source ACPI_CPU_MAX_C2_LATENCY
Section titled “ACPI_CPU_MAX_C2_LATENCY”#define ACPI_CPU_MAX_C2_LATENCY 100 source ACPI_CPU_MAX_C3_LATENCY
Section titled “ACPI_CPU_MAX_C3_LATENCY”#define ACPI_CPU_MAX_C3_LATENCY 1000 source ACPI_CPU_MAX_THROTTLING
Section titled “ACPI_CPU_MAX_THROTTLING”#define ACPI_CPU_MAX_THROTTLING 16 source ACPI_CPU_MAX_THROTTLE
Section titled “ACPI_CPU_MAX_THROTTLE”#define ACPI_CPU_MAX_THROTTLE 100 source 10%
ACPI_CPU_MAX_DUTY_WIDTH
Section titled “ACPI_CPU_MAX_DUTY_WIDTH”#define ACPI_CPU_MAX_DUTY_WIDTH 4 source ACPI_PDC_REVISION_ID
Section titled “ACPI_PDC_REVISION_ID”#define ACPI_PDC_REVISION_ID 0x1 source ACPI_PSD_REV0_REVISION
Section titled “ACPI_PSD_REV0_REVISION”#define ACPI_PSD_REV0_REVISION 0 source ACPI_PSD_REV0_ENTRIES
Section titled “ACPI_PSD_REV0_ENTRIES”#define ACPI_PSD_REV0_ENTRIES 5 source ACPI_TSD_REV0_REVISION
Section titled “ACPI_TSD_REV0_REVISION”#define ACPI_TSD_REV0_REVISION 0 source ACPI_TSD_REV0_ENTRIES
Section titled “ACPI_TSD_REV0_ENTRIES”#define ACPI_TSD_REV0_ENTRIES 5 source ACPI_CONTEXT_DESCRIPTOR_LENGTH
Section titled “ACPI_CONTEXT_DESCRIPTOR_LENGTH”#define ACPI_CONTEXT_DESCRIPTOR_LENGTH 32 source