diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/acpi/actypes.h | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/include/acpi/actypes.h b/include/acpi/actypes.h index 658c42e25568..f18b7a814730 100644 --- a/include/acpi/actypes.h +++ b/include/acpi/actypes.h | |||
| @@ -733,23 +733,26 @@ typedef u32 acpi_event_type; | |||
| 733 | * The encoding of acpi_event_status is illustrated below. | 733 | * The encoding of acpi_event_status is illustrated below. |
| 734 | * Note that a set bit (1) indicates the property is TRUE | 734 | * Note that a set bit (1) indicates the property is TRUE |
| 735 | * (e.g. if bit 0 is set then the event is enabled). | 735 | * (e.g. if bit 0 is set then the event is enabled). |
| 736 | * +-------------+-+-+-+-+ | 736 | * +-------------+-+-+-+-+-+ |
| 737 | * | Bits 31:4 |3|2|1|0| | 737 | * | Bits 31:5 |4|3|2|1|0| |
| 738 | * +-------------+-+-+-+-+ | 738 | * +-------------+-+-+-+-+-+ |
| 739 | * | | | | | | 739 | * | | | | | | |
| 740 | * | | | | +- Enabled? | 740 | * | | | | | +- Enabled? |
| 741 | * | | | +--- Enabled for wake? | 741 | * | | | | +--- Enabled for wake? |
| 742 | * | | +----- Set? | 742 | * | | | +----- Status bit set? |
| 743 | * | +------- Has a handler? | 743 | * | | +------- Enable bit set? |
| 744 | * +------------- <Reserved> | 744 | * | +--------- Has a handler? |
| 745 | * +--------------- <Reserved> | ||
| 745 | */ | 746 | */ |
| 746 | typedef u32 acpi_event_status; | 747 | typedef u32 acpi_event_status; |
| 747 | 748 | ||
| 748 | #define ACPI_EVENT_FLAG_DISABLED (acpi_event_status) 0x00 | 749 | #define ACPI_EVENT_FLAG_DISABLED (acpi_event_status) 0x00 |
| 749 | #define ACPI_EVENT_FLAG_ENABLED (acpi_event_status) 0x01 | 750 | #define ACPI_EVENT_FLAG_ENABLED (acpi_event_status) 0x01 |
| 750 | #define ACPI_EVENT_FLAG_WAKE_ENABLED (acpi_event_status) 0x02 | 751 | #define ACPI_EVENT_FLAG_WAKE_ENABLED (acpi_event_status) 0x02 |
| 751 | #define ACPI_EVENT_FLAG_SET (acpi_event_status) 0x04 | 752 | #define ACPI_EVENT_FLAG_STATUS_SET (acpi_event_status) 0x04 |
| 752 | #define ACPI_EVENT_FLAG_HAS_HANDLER (acpi_event_status) 0x08 | 753 | #define ACPI_EVENT_FLAG_ENABLE_SET (acpi_event_status) 0x08 |
| 754 | #define ACPI_EVENT_FLAG_HAS_HANDLER (acpi_event_status) 0x10 | ||
| 755 | #define ACPI_EVENT_FLAG_SET ACPI_EVENT_FLAG_STATUS_SET | ||
| 753 | 756 | ||
| 754 | /* Actions for acpi_set_gpe, acpi_gpe_wakeup, acpi_hw_low_set_gpe */ | 757 | /* Actions for acpi_set_gpe, acpi_gpe_wakeup, acpi_hw_low_set_gpe */ |
| 755 | 758 | ||
