summaryrefslogtreecommitdiff
path: root/power/intel_x86.h
diff options
context:
space:
mode:
Diffstat (limited to 'power/intel_x86.h')
-rw-r--r--power/intel_x86.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/power/intel_x86.h b/power/intel_x86.h
new file mode 100644
index 0000000000..08d9b89a6f
--- /dev/null
+++ b/power/intel_x86.h
@@ -0,0 +1,33 @@
+/* Copyright 2016 The Chromium OS Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+/* Intel X86 chipset power control module for Chrome EC */
+
+
+#ifndef __CROS_EC_INTEL_X86_H
+#define __CROS_EC_INTEL_X86_H
+
+#include "power.h"
+
+/**
+ * Handle RSMRST signal.
+ *
+ * @param state Current chipset state.
+ */
+void handle_rsmrst(enum power_state state);
+
+/**
+ * Force chipset to G3 state.
+ */
+void chipset_force_g3(void);
+
+/**
+ * Wait for S5 exit and then attempt RTC reset.
+ *
+ * @return power_state New chipset state.
+ */
+enum power_state power_wait_s5_rtc_reset(void);
+
+#endif /* __CROS_EC_INTEL_X86_H */