summaryrefslogtreecommitdiffstats
path: root/include/acpi
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2009-03-06 09:49:25 +0800
committerLen Brown <len.brown@intel.com>2009-03-27 12:11:01 -0400
commit768aaaf196e8a40f5cfc792d9d365795cc52ed13 (patch)
treeb223711c833a4848711b3c322dea9a9809e22836 /include/acpi
parent2affa28605fa5387192c72d9889a00c9c51aa712 (diff)
downloadop-kernel-dev-768aaaf196e8a40f5cfc792d9d365795cc52ed13.zip
op-kernel-dev-768aaaf196e8a40f5cfc792d9d365795cc52ed13.tar.gz
ACPICA: Add manifest constants for bit register values
Add and deploy constants for the PM status/enable/control registers. Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Lin Ming <ming.m.lin@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi')
-rw-r--r--include/acpi/actypes.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/acpi/actypes.h b/include/acpi/actypes.h
index 1b9601c..f555d927 100644
--- a/include/acpi/actypes.h
+++ b/include/acpi/actypes.h
@@ -787,6 +787,15 @@ typedef u8 acpi_adr_space_type;
#define ACPI_BITREG_MAX 0x13
#define ACPI_NUM_BITREG ACPI_BITREG_MAX + 1
+/* Status register values. A 1 clears a status bit. 0 = no effect */
+
+#define ACPI_CLEAR_STATUS 1
+
+/* Enable and Control register values */
+
+#define ACPI_ENABLE_EVENT 1
+#define ACPI_DISABLE_EVENT 0
+
/*
* External ACPI object definition
*/
OpenPOWER on IntegriCloud