diff options
| author | Len Brown <len.brown@intel.com> | 2004-12-21 14:45:13 -0500 |
|---|---|---|
| committer | Len Brown <lenb@dhcppc3.> | 2004-12-21 14:45:13 -0500 |
| commit | 9ec0be52d8a61ffd74307265d07548ba526c8414 (patch) | |
| tree | 5bd9f58db1cbff1daab46c99d047e63d7c210e14 /include | |
| parent | 2af6e243847bd8409c702c0a26133e48f52b030f (diff) | |
[ACPI] Add _CST parsing
http://bugzilla.kernel.org/show_bug.cgi?id=1958
Signed-off-by: Bruno Ducrot <ducrot@poupinou.org>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.de>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/acpi/processor.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/include/acpi/processor.h b/include/acpi/processor.h index 21a1c19c80ae..780e2ada96d8 100644 --- a/include/acpi/processor.h +++ b/include/acpi/processor.h @@ -6,7 +6,7 @@ #define ACPI_PROCESSOR_BUSY_METRIC 10 -#define ACPI_PROCESSOR_MAX_POWER ACPI_C_STATE_COUNT +#define ACPI_PROCESSOR_MAX_POWER 8 #define ACPI_PROCESSOR_MAX_C2_LATENCY 100 #define ACPI_PROCESSOR_MAX_C3_LATENCY 1000 @@ -18,6 +18,17 @@ struct acpi_processor_cx; +struct acpi_power_register { + u8 descriptor; + u16 length; + u8 space_id; + u8 bit_width; + u8 bit_offset; + u8 reserved; + u64 address; +} __attribute__ ((packed)); + + struct acpi_processor_cx_policy { u32 count; struct acpi_processor_cx *state; @@ -45,6 +56,7 @@ struct acpi_processor_power { struct acpi_processor_cx *state; u32 default_state; u32 bm_activity; + int count; struct acpi_processor_cx states[ACPI_PROCESSOR_MAX_POWER]; }; @@ -122,6 +134,7 @@ struct acpi_processor_flags { u8 limit:1; u8 bm_control:1; u8 bm_check:1; + u8 has_cst:1; u8 reserved:2; }; |
