Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations
actbl.h File Reference
#include <acpi/actbl1.h>
#include <acpi/actbl2.h>
#include <acpi/actbl3.h>

Go to the source code of this file.

Data Structures

struct  acpi_table_header
 
struct  acpi_generic_address
 
struct  acpi_table_rsdp
 
struct  acpi_table_rsdt
 
struct  acpi_table_xsdt
 
struct  acpi_table_facs
 
struct  acpi_table_fadt
 
union  acpi_name_union
 
struct  acpi_table_desc
 

Macros

#define ACPI_SIG_DSDT   "DSDT" /* Differentiated System Description Table */
 
#define ACPI_SIG_FADT   "FACP" /* Fixed ACPI Description Table */
 
#define ACPI_SIG_FACS   "FACS" /* Firmware ACPI Control Structure */
 
#define ACPI_SIG_PSDT   "PSDT" /* Persistent System Description Table */
 
#define ACPI_SIG_RSDP   "RSD PTR " /* Root System Description Pointer */
 
#define ACPI_SIG_RSDT   "RSDT" /* Root System Description Table */
 
#define ACPI_SIG_XSDT   "XSDT" /* Extended System Description Table */
 
#define ACPI_SIG_SSDT   "SSDT" /* Secondary System Description Table */
 
#define ACPI_RSDP_NAME   "RSDP" /* Short name for RSDP, not signature */
 
#define ACPI_RSDP_REV0_SIZE   20 /* Size of original ACPI 1.0 RSDP */
 
#define ACPI_GLOCK_PENDING   (1) /* 00: Pending global lock ownership */
 
#define ACPI_GLOCK_OWNED   (1<<1) /* 01: Global lock is owned */
 
#define ACPI_FACS_S4_BIOS_PRESENT   (1) /* 00: S4BIOS support is present */
 
#define ACPI_FACS_64BIT_WAKE   (1<<1) /* 01: 64-bit wake vector supported (ACPI 4.0) */
 
#define ACPI_FACS_64BIT_ENVIRONMENT   (1) /* 00: 64-bit wake environment is required (ACPI 4.0) */
 
#define ACPI_FADT_LEGACY_DEVICES   (1) /* 00: [V2] System has LPC or ISA bus devices */
 
#define ACPI_FADT_8042   (1<<1) /* 01: [V3] System has an 8042 controller on port 60/64 */
 
#define ACPI_FADT_NO_VGA   (1<<2) /* 02: [V4] It is not safe to probe for VGA hardware */
 
#define ACPI_FADT_NO_MSI   (1<<3) /* 03: [V4] Message Signaled Interrupts (MSI) must not be enabled */
 
#define ACPI_FADT_NO_ASPM   (1<<4) /* 04: [V4] PCIe ASPM control must not be enabled */
 
#define ACPI_FADT_NO_CMOS_RTC   (1<<5) /* 05: [V5] No CMOS real-time clock present */
 
#define FADT2_REVISION_ID   3
 
#define ACPI_FADT_WBINVD   (1) /* 00: [V1] The WBINVD instruction works properly */
 
#define ACPI_FADT_WBINVD_FLUSH   (1<<1) /* 01: [V1] WBINVD flushes but does not invalidate caches */
 
#define ACPI_FADT_C1_SUPPORTED   (1<<2) /* 02: [V1] All processors support C1 state */
 
#define ACPI_FADT_C2_MP_SUPPORTED   (1<<3) /* 03: [V1] C2 state works on MP system */
 
#define ACPI_FADT_POWER_BUTTON   (1<<4) /* 04: [V1] Power button is handled as a control method device */
 
#define ACPI_FADT_SLEEP_BUTTON   (1<<5) /* 05: [V1] Sleep button is handled as a control method device */
 
#define ACPI_FADT_FIXED_RTC   (1<<6) /* 06: [V1] RTC wakeup status is not in fixed register space */
 
#define ACPI_FADT_S4_RTC_WAKE   (1<<7) /* 07: [V1] RTC alarm can wake system from S4 */
 
#define ACPI_FADT_32BIT_TIMER   (1<<8) /* 08: [V1] ACPI timer width is 32-bit (0=24-bit) */
 
#define ACPI_FADT_DOCKING_SUPPORTED   (1<<9) /* 09: [V1] Docking supported */
 
#define ACPI_FADT_RESET_REGISTER   (1<<10) /* 10: [V2] System reset via the FADT RESET_REG supported */
 
#define ACPI_FADT_SEALED_CASE   (1<<11) /* 11: [V3] No internal expansion capabilities and case is sealed */
 
#define ACPI_FADT_HEADLESS   (1<<12) /* 12: [V3] No local video capabilities or local input devices */
 
#define ACPI_FADT_SLEEP_TYPE   (1<<13) /* 13: [V3] Must execute native instruction after writing SLP_TYPx register */
 
#define ACPI_FADT_PCI_EXPRESS_WAKE   (1<<14) /* 14: [V4] System supports PCIEXP_WAKE (STS/EN) bits (ACPI 3.0) */
 
#define ACPI_FADT_PLATFORM_CLOCK   (1<<15) /* 15: [V4] OSPM should use platform-provided timer (ACPI 3.0) */
 
#define ACPI_FADT_S4_RTC_VALID   (1<<16) /* 16: [V4] Contents of RTC_STS valid after S4 wake (ACPI 3.0) */
 
#define ACPI_FADT_REMOTE_POWER_ON   (1<<17) /* 17: [V4] System is compatible with remote power on (ACPI 3.0) */
 
#define ACPI_FADT_APIC_CLUSTER   (1<<18) /* 18: [V4] All local APICs must use cluster model (ACPI 3.0) */
 
#define ACPI_FADT_APIC_PHYSICAL   (1<<19) /* 19: [V4] All local xAPICs must use physical dest mode (ACPI 3.0) */
 
#define ACPI_FADT_HW_REDUCED   (1<<20) /* 20: [V5] ACPI hardware is not implemented (ACPI 5.0) */
 
#define ACPI_FADT_LOW_POWER_S0   (1<<21) /* 21: [V5] S0 power savings are equal or better than S3 (ACPI 5.0) */
 
#define ACPI_X_WAKE_STATUS   0x80
 
#define ACPI_X_SLEEP_TYPE_MASK   0x1C
 
#define ACPI_X_SLEEP_TYPE_POSITION   0x02
 
#define ACPI_X_SLEEP_ENABLE   0x20
 
#define ACPI_FADT_OFFSET(f)   (u16) ACPI_OFFSET (struct acpi_table_fadt, f)
 
#define ACPI_TABLE_ORIGIN_UNKNOWN   (0)
 
#define ACPI_TABLE_ORIGIN_MAPPED   (1)
 
#define ACPI_TABLE_ORIGIN_ALLOCATED   (2)
 
#define ACPI_TABLE_ORIGIN_OVERRIDE   (4)
 
#define ACPI_TABLE_ORIGIN_MASK   (7)
 
#define ACPI_TABLE_IS_LOADED   (8)
 
#define ACPI_FADT_V1_SIZE   (u32) (ACPI_FADT_OFFSET (flags) + 4)
 
#define ACPI_FADT_V2_SIZE   (u32) (ACPI_FADT_OFFSET (reserved4[0]) + 3)
 
#define ACPI_FADT_V3_SIZE   (u32) (ACPI_FADT_OFFSET (sleep_control))
 
#define ACPI_FADT_V5_SIZE   (u32) (sizeof (struct acpi_table_fadt))
 

Enumerations

enum  acpi_preferred_pm_profiles {
  PM_UNSPECIFIED = 0, PM_DESKTOP = 1, PM_MOBILE = 2, PM_WORKSTATION = 3,
  PM_ENTERPRISE_SERVER = 4, PM_SOHO_SERVER = 5, PM_APPLIANCE_PC = 6, PM_PERFORMANCE_SERVER = 7,
  PM_TABLET = 8
}
 

Macro Definition Documentation

#define ACPI_FACS_64BIT_ENVIRONMENT   (1) /* 00: 64-bit wake environment is required (ACPI 4.0) */

Definition at line 200 of file actbl.h.

#define ACPI_FACS_64BIT_WAKE   (1<<1) /* 01: 64-bit wake vector supported (ACPI 4.0) */

Definition at line 196 of file actbl.h.

#define ACPI_FACS_S4_BIOS_PRESENT   (1) /* 00: S4BIOS support is present */

Definition at line 195 of file actbl.h.

#define ACPI_FADT_32BIT_TIMER   (1<<8) /* 08: [V1] ACPI timer width is 32-bit (0=24-bit) */

Definition at line 289 of file actbl.h.

#define ACPI_FADT_8042   (1<<1) /* 01: [V3] System has an 8042 controller on port 60/64 */

Definition at line 271 of file actbl.h.

#define ACPI_FADT_APIC_CLUSTER   (1<<18) /* 18: [V4] All local APICs must use cluster model (ACPI 3.0) */

Definition at line 299 of file actbl.h.

#define ACPI_FADT_APIC_PHYSICAL   (1<<19) /* 19: [V4] All local xAPICs must use physical dest mode (ACPI 3.0) */

Definition at line 300 of file actbl.h.

#define ACPI_FADT_C1_SUPPORTED   (1<<2) /* 02: [V1] All processors support C1 state */

Definition at line 283 of file actbl.h.

#define ACPI_FADT_C2_MP_SUPPORTED   (1<<3) /* 03: [V1] C2 state works on MP system */

Definition at line 284 of file actbl.h.

#define ACPI_FADT_DOCKING_SUPPORTED   (1<<9) /* 09: [V1] Docking supported */

Definition at line 290 of file actbl.h.

#define ACPI_FADT_FIXED_RTC   (1<<6) /* 06: [V1] RTC wakeup status is not in fixed register space */

Definition at line 287 of file actbl.h.

#define ACPI_FADT_HEADLESS   (1<<12) /* 12: [V3] No local video capabilities or local input devices */

Definition at line 293 of file actbl.h.

#define ACPI_FADT_HW_REDUCED   (1<<20) /* 20: [V5] ACPI hardware is not implemented (ACPI 5.0) */

Definition at line 301 of file actbl.h.

#define ACPI_FADT_LEGACY_DEVICES   (1) /* 00: [V2] System has LPC or ISA bus devices */

Definition at line 270 of file actbl.h.

#define ACPI_FADT_LOW_POWER_S0   (1<<21) /* 21: [V5] S0 power savings are equal or better than S3 (ACPI 5.0) */

Definition at line 302 of file actbl.h.

#define ACPI_FADT_NO_ASPM   (1<<4) /* 04: [V4] PCIe ASPM control must not be enabled */

Definition at line 274 of file actbl.h.

#define ACPI_FADT_NO_CMOS_RTC   (1<<5) /* 05: [V5] No CMOS real-time clock present */

Definition at line 275 of file actbl.h.

#define ACPI_FADT_NO_MSI   (1<<3) /* 03: [V4] Message Signaled Interrupts (MSI) must not be enabled */

Definition at line 273 of file actbl.h.

#define ACPI_FADT_NO_VGA   (1<<2) /* 02: [V4] It is not safe to probe for VGA hardware */

Definition at line 272 of file actbl.h.

#define ACPI_FADT_OFFSET (   f)    (u16) ACPI_OFFSET (struct acpi_table_fadt, f)

Definition at line 329 of file actbl.h.

#define ACPI_FADT_PCI_EXPRESS_WAKE   (1<<14) /* 14: [V4] System supports PCIEXP_WAKE (STS/EN) bits (ACPI 3.0) */

Definition at line 295 of file actbl.h.

#define ACPI_FADT_PLATFORM_CLOCK   (1<<15) /* 15: [V4] OSPM should use platform-provided timer (ACPI 3.0) */

Definition at line 296 of file actbl.h.

#define ACPI_FADT_POWER_BUTTON   (1<<4) /* 04: [V1] Power button is handled as a control method device */

Definition at line 285 of file actbl.h.

#define ACPI_FADT_REMOTE_POWER_ON   (1<<17) /* 17: [V4] System is compatible with remote power on (ACPI 3.0) */

Definition at line 298 of file actbl.h.

#define ACPI_FADT_RESET_REGISTER   (1<<10) /* 10: [V2] System reset via the FADT RESET_REG supported */

Definition at line 291 of file actbl.h.

#define ACPI_FADT_S4_RTC_VALID   (1<<16) /* 16: [V4] Contents of RTC_STS valid after S4 wake (ACPI 3.0) */

Definition at line 297 of file actbl.h.

#define ACPI_FADT_S4_RTC_WAKE   (1<<7) /* 07: [V1] RTC alarm can wake system from S4 */

Definition at line 288 of file actbl.h.

#define ACPI_FADT_SEALED_CASE   (1<<11) /* 11: [V3] No internal expansion capabilities and case is sealed */

Definition at line 292 of file actbl.h.

#define ACPI_FADT_SLEEP_BUTTON   (1<<5) /* 05: [V1] Sleep button is handled as a control method device */

Definition at line 286 of file actbl.h.

#define ACPI_FADT_SLEEP_TYPE   (1<<13) /* 13: [V3] Must execute native instruction after writing SLP_TYPx register */

Definition at line 294 of file actbl.h.

#define ACPI_FADT_V1_SIZE   (u32) (ACPI_FADT_OFFSET (flags) + 4)

Definition at line 381 of file actbl.h.

#define ACPI_FADT_V2_SIZE   (u32) (ACPI_FADT_OFFSET (reserved4[0]) + 3)

Definition at line 382 of file actbl.h.

#define ACPI_FADT_V3_SIZE   (u32) (ACPI_FADT_OFFSET (sleep_control))

Definition at line 383 of file actbl.h.

#define ACPI_FADT_V5_SIZE   (u32) (sizeof (struct acpi_table_fadt))

Definition at line 384 of file actbl.h.

#define ACPI_FADT_WBINVD   (1) /* 00: [V1] The WBINVD instruction works properly */

Definition at line 281 of file actbl.h.

#define ACPI_FADT_WBINVD_FLUSH   (1<<1) /* 01: [V1] WBINVD flushes but does not invalidate caches */

Definition at line 282 of file actbl.h.

#define ACPI_GLOCK_OWNED   (1<<1) /* 01: Global lock is owned */

Definition at line 191 of file actbl.h.

#define ACPI_GLOCK_PENDING   (1) /* 00: Pending global lock ownership */

Definition at line 190 of file actbl.h.

#define ACPI_RSDP_NAME   "RSDP" /* Short name for RSDP, not signature */

Definition at line 73 of file actbl.h.

#define ACPI_RSDP_REV0_SIZE   20 /* Size of original ACPI 1.0 RSDP */

Definition at line 149 of file actbl.h.

#define ACPI_SIG_DSDT   "DSDT" /* Differentiated System Description Table */

Definition at line 65 of file actbl.h.

#define ACPI_SIG_FACS   "FACS" /* Firmware ACPI Control Structure */

Definition at line 67 of file actbl.h.

#define ACPI_SIG_FADT   "FACP" /* Fixed ACPI Description Table */

Definition at line 66 of file actbl.h.

#define ACPI_SIG_PSDT   "PSDT" /* Persistent System Description Table */

Definition at line 68 of file actbl.h.

#define ACPI_SIG_RSDP   "RSD PTR " /* Root System Description Pointer */

Definition at line 69 of file actbl.h.

#define ACPI_SIG_RSDT   "RSDT" /* Root System Description Table */

Definition at line 70 of file actbl.h.

#define ACPI_SIG_SSDT   "SSDT" /* Secondary System Description Table */

Definition at line 72 of file actbl.h.

#define ACPI_SIG_XSDT   "XSDT" /* Extended System Description Table */

Definition at line 71 of file actbl.h.

#define ACPI_TABLE_IS_LOADED   (8)

Definition at line 357 of file actbl.h.

#define ACPI_TABLE_ORIGIN_ALLOCATED   (2)

Definition at line 354 of file actbl.h.

#define ACPI_TABLE_ORIGIN_MAPPED   (1)

Definition at line 353 of file actbl.h.

#define ACPI_TABLE_ORIGIN_MASK   (7)

Definition at line 356 of file actbl.h.

#define ACPI_TABLE_ORIGIN_OVERRIDE   (4)

Definition at line 355 of file actbl.h.

#define ACPI_TABLE_ORIGIN_UNKNOWN   (0)

Definition at line 352 of file actbl.h.

#define ACPI_X_SLEEP_ENABLE   0x20

Definition at line 323 of file actbl.h.

#define ACPI_X_SLEEP_TYPE_MASK   0x1C

Definition at line 321 of file actbl.h.

#define ACPI_X_SLEEP_TYPE_POSITION   0x02

Definition at line 322 of file actbl.h.

#define ACPI_X_WAKE_STATUS   0x80

Definition at line 320 of file actbl.h.

#define FADT2_REVISION_ID   3

Definition at line 277 of file actbl.h.

Enumeration Type Documentation

Enumerator:
PM_UNSPECIFIED 
PM_DESKTOP 
PM_MOBILE 
PM_WORKSTATION 
PM_ENTERPRISE_SERVER 
PM_SOHO_SERVER 
PM_APPLIANCE_PC 
PM_PERFORMANCE_SERVER 
PM_TABLET 

Definition at line 306 of file actbl.h.