summaryrefslogtreecommitdiffstats
path: root/drivers/misc/mei/hw.h
diff options
context:
space:
mode:
authorTomas Winkler2014-03-18 21:51:55 +0100
committerGreg Kroah-Hartman2014-05-04 01:20:23 +0200
commit4fcbc99b7565f915bea58e14b5e6f089bf9abf16 (patch)
treed65a1bc5fe48a022f43a9f22b7eb71af5201c315 /drivers/misc/mei/hw.h
parentLinux 3.15-rc3 (diff)
downloadkernel-qcow2-linux-4fcbc99b7565f915bea58e14b5e6f089bf9abf16.tar.gz
kernel-qcow2-linux-4fcbc99b7565f915bea58e14b5e6f089bf9abf16.tar.xz
kernel-qcow2-linux-4fcbc99b7565f915bea58e14b5e6f089bf9abf16.zip
mei: implement power gating isolation hbm layer
Add send message functions and receive dispatch stubs for power gating isolation hbm protocol. The protocol consist of requests for entering and exiting the power gating isolation state and their responses. Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/mei/hw.h')
-rw-r--r--drivers/misc/mei/hw.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/misc/mei/hw.h b/drivers/misc/mei/hw.h
index 6b476ab49b2e..1d70968d90b6 100644
--- a/drivers/misc/mei/hw.h
+++ b/drivers/misc/mei/hw.h
@@ -69,6 +69,11 @@
#define MEI_FLOW_CONTROL_CMD 0x08
+#define MEI_PG_ISOLATION_ENTRY_REQ_CMD 0x0a
+#define MEI_PG_ISOLATION_ENTRY_RES_CMD 0x8a
+#define MEI_PG_ISOLATION_EXIT_REQ_CMD 0x0b
+#define MEI_PG_ISOLATION_EXIT_RES_CMD 0x8b
+
/*
* MEI Stop Reason
* used by hbm_host_stop_request.reason
@@ -208,6 +213,17 @@ struct hbm_props_response {
} __packed;
/**
+ * struct hbm_power_gate - power gate request/response
+ *
+ * @hbm_cmd - bus message command header
+ * @reserved[3]
+ */
+struct hbm_power_gate {
+ u8 hbm_cmd;
+ u8 reserved[3];
+} __packed;
+
+/**
* struct hbm_client_connect_request - connect/disconnect request
*
* @hbm_cmd - bus message command header