Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations
acobject.h File Reference

Go to the source code of this file.

Data Structures

struct  acpi_object_common
 
struct  acpi_object_integer
 
struct  acpi_object_string
 
struct  acpi_object_buffer
 
struct  acpi_object_package
 
struct  acpi_object_event
 
struct  acpi_object_mutex
 
struct  acpi_object_region
 
struct  acpi_object_method
 
struct  acpi_object_notify_common
 
struct  acpi_object_device
 
struct  acpi_object_power_resource
 
struct  acpi_object_processor
 
struct  acpi_object_thermal_zone
 
struct  acpi_object_field_common
 
struct  acpi_object_region_field
 
struct  acpi_object_bank_field
 
struct  acpi_object_index_field
 
struct  acpi_object_buffer_field
 
struct  acpi_object_notify_handler
 
struct  acpi_object_addr_handler
 
struct  acpi_object_reference
 
struct  acpi_object_extra
 
struct  acpi_object_data
 
struct  acpi_object_cache_list
 
union  acpi_operand_object
 
struct  acpi_common_descriptor
 
union  acpi_descriptor
 

Macros

#define ACPI_OBJECT_COMMON_HEADER
 
#define AOPOBJ_AML_CONSTANT   0x01 /* Integer is an AML constant */
 
#define AOPOBJ_STATIC_POINTER   0x02 /* Data is part of an ACPI table, don't delete */
 
#define AOPOBJ_DATA_VALID   0x04 /* Object is initialized and data is valid */
 
#define AOPOBJ_OBJECT_INITIALIZED   0x08 /* Region is initialized, _REG was run */
 
#define AOPOBJ_SETUP_COMPLETE   0x10 /* Region setup is complete */
 
#define AOPOBJ_INVALID   0x20 /* Host OS won't allow a Region address */
 
#define ACPI_COMMON_BUFFER_INFO(_type)
 
#define ACPI_METHOD_MODULE_LEVEL   0x01 /* Method is actually module-level code */
 
#define ACPI_METHOD_INTERNAL_ONLY   0x02 /* Method is implemented internally (_OSI) */
 
#define ACPI_METHOD_SERIALIZED   0x04 /* Method is serialized */
 
#define ACPI_METHOD_SERIALIZED_PENDING   0x08 /* Method is to be marked serialized */
 
#define ACPI_METHOD_MODIFIED_NAMESPACE   0x10 /* Method modified the namespace */
 
#define ACPI_COMMON_NOTIFY_INFO
 
#define ACPI_COMMON_FIELD_INFO
 
#define ACPI_ADDR_HANDLER_DEFAULT_INSTALLED   0x01
 
#define ACPI_DESC_TYPE_CACHED   0x01 /* Used only when object is cached */
 
#define ACPI_DESC_TYPE_STATE   0x02
 
#define ACPI_DESC_TYPE_STATE_UPDATE   0x03
 
#define ACPI_DESC_TYPE_STATE_PACKAGE   0x04
 
#define ACPI_DESC_TYPE_STATE_CONTROL   0x05
 
#define ACPI_DESC_TYPE_STATE_RPSCOPE   0x06
 
#define ACPI_DESC_TYPE_STATE_PSCOPE   0x07
 
#define ACPI_DESC_TYPE_STATE_WSCOPE   0x08
 
#define ACPI_DESC_TYPE_STATE_RESULT   0x09
 
#define ACPI_DESC_TYPE_STATE_NOTIFY   0x0A
 
#define ACPI_DESC_TYPE_STATE_THREAD   0x0B
 
#define ACPI_DESC_TYPE_WALK   0x0C
 
#define ACPI_DESC_TYPE_PARSER   0x0D
 
#define ACPI_DESC_TYPE_OPERAND   0x0E
 
#define ACPI_DESC_TYPE_NAMED   0x0F
 
#define ACPI_DESC_TYPE_MAX   0x0F
 

Enumerations

enum  ACPI_REFERENCE_CLASSES {
  ACPI_REFCLASS_LOCAL = 0, ACPI_REFCLASS_ARG = 1, ACPI_REFCLASS_REFOF = 2, ACPI_REFCLASS_INDEX = 3,
  ACPI_REFCLASS_TABLE = 4, ACPI_REFCLASS_NAME = 5, ACPI_REFCLASS_DEBUG = 6, ACPI_REFCLASS_MAX = 6
}
 

Macro Definition Documentation

#define ACPI_ADDR_HANDLER_DEFAULT_INSTALLED   0x01

Definition at line 317 of file acobject.h.

#define ACPI_COMMON_BUFFER_INFO (   _type)
Value:
_type *pointer; \

Definition at line 121 of file acobject.h.

#define ACPI_COMMON_FIELD_INFO
Value:
u8 field_flags; /* Access, update, and lock bits */\
u8 attribute; /* From access_as keyword */\
u8 access_byte_width; /* Read/Write size in bytes */\
struct acpi_namespace_node *node; /* Link back to parent node */\
u32 bit_length; /* Length of field in bits */\
u32 base_byte_offset; /* Byte offset within containing object */\
u32 value; /* Value to store into the Bank or Index register */\
u8 start_field_bit_offset;/* Bit offset within first field datum (0-63) */\
u8 access_length; /* For serial regions/fields */

Definition at line 247 of file acobject.h.

#define ACPI_COMMON_NOTIFY_INFO
Value:
union acpi_operand_object *notify_list[2]; /* Handlers for system/device notifies */\
union acpi_operand_object *handler; /* Handler for Address space */

Definition at line 208 of file acobject.h.

#define ACPI_DESC_TYPE_CACHED   0x01 /* Used only when object is cached */

Definition at line 431 of file acobject.h.

#define ACPI_DESC_TYPE_MAX   0x0F

Definition at line 446 of file acobject.h.

#define ACPI_DESC_TYPE_NAMED   0x0F

Definition at line 445 of file acobject.h.

#define ACPI_DESC_TYPE_OPERAND   0x0E

Definition at line 444 of file acobject.h.

#define ACPI_DESC_TYPE_PARSER   0x0D

Definition at line 443 of file acobject.h.

#define ACPI_DESC_TYPE_STATE   0x02

Definition at line 432 of file acobject.h.

#define ACPI_DESC_TYPE_STATE_CONTROL   0x05

Definition at line 435 of file acobject.h.

#define ACPI_DESC_TYPE_STATE_NOTIFY   0x0A

Definition at line 440 of file acobject.h.

#define ACPI_DESC_TYPE_STATE_PACKAGE   0x04

Definition at line 434 of file acobject.h.

#define ACPI_DESC_TYPE_STATE_PSCOPE   0x07

Definition at line 437 of file acobject.h.

#define ACPI_DESC_TYPE_STATE_RESULT   0x09

Definition at line 439 of file acobject.h.

#define ACPI_DESC_TYPE_STATE_RPSCOPE   0x06

Definition at line 436 of file acobject.h.

#define ACPI_DESC_TYPE_STATE_THREAD   0x0B

Definition at line 441 of file acobject.h.

#define ACPI_DESC_TYPE_STATE_UPDATE   0x03

Definition at line 433 of file acobject.h.

#define ACPI_DESC_TYPE_STATE_WSCOPE   0x08

Definition at line 438 of file acobject.h.

#define ACPI_DESC_TYPE_WALK   0x0C

Definition at line 442 of file acobject.h.

#define ACPI_METHOD_INTERNAL_ONLY   0x02 /* Method is implemented internally (_OSI) */

Definition at line 194 of file acobject.h.

#define ACPI_METHOD_MODIFIED_NAMESPACE   0x10 /* Method modified the namespace */

Definition at line 197 of file acobject.h.

#define ACPI_METHOD_MODULE_LEVEL   0x01 /* Method is actually module-level code */

Definition at line 193 of file acobject.h.

#define ACPI_METHOD_SERIALIZED   0x04 /* Method is serialized */

Definition at line 195 of file acobject.h.

#define ACPI_METHOD_SERIALIZED_PENDING   0x08 /* Method is to be marked serialized */

Definition at line 196 of file acobject.h.

#define ACPI_OBJECT_COMMON_HEADER
Value:
union acpi_operand_object *next_object; /* Objects linked to parent NS node */\
u8 descriptor_type; /* To differentiate various internal objs */\
u8 type; /* acpi_object_type */\
u16 reference_count; /* For object deletion management */\

Definition at line 81 of file acobject.h.

#define AOPOBJ_AML_CONSTANT   0x01 /* Integer is an AML constant */

Definition at line 94 of file acobject.h.

#define AOPOBJ_DATA_VALID   0x04 /* Object is initialized and data is valid */

Definition at line 96 of file acobject.h.

#define AOPOBJ_INVALID   0x20 /* Host OS won't allow a Region address */

Definition at line 99 of file acobject.h.

#define AOPOBJ_OBJECT_INITIALIZED   0x08 /* Region is initialized, _REG was run */

Definition at line 97 of file acobject.h.

#define AOPOBJ_SETUP_COMPLETE   0x10 /* Region setup is complete */

Definition at line 98 of file acobject.h.

#define AOPOBJ_STATIC_POINTER   0x02 /* Data is part of an ACPI table, don't delete */

Definition at line 95 of file acobject.h.

Enumeration Type Documentation

Enumerator:
ACPI_REFCLASS_LOCAL 
ACPI_REFCLASS_ARG 
ACPI_REFCLASS_REFOF 
ACPI_REFCLASS_INDEX 
ACPI_REFCLASS_TABLE 
ACPI_REFCLASS_NAME 
ACPI_REFCLASS_DEBUG 
ACPI_REFCLASS_MAX 

Definition at line 342 of file acobject.h.