summaryrefslogtreecommitdiff
path: root/lib/intel_reg.h
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2013-04-16 13:14:58 -0700
committerJesse Barnes <jbarnes@virtuousgeek.org>2013-04-16 13:41:23 -0700
commit25339595a764c0b50516b7db60fd117128a6c8bc (patch)
tree14cfeedc9013d8e7d5b5cf711d11fa377b0db986 /lib/intel_reg.h
parent2fe3f76c255b08f4b462fc64be12d5e4ac7b37cd (diff)
add VLV punit & north cluster read tools
Diffstat (limited to 'lib/intel_reg.h')
-rw-r--r--lib/intel_reg.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/intel_reg.h b/lib/intel_reg.h
index e0752617..e36aa7b4 100644
--- a/lib/intel_reg.h
+++ b/lib/intel_reg.h
@@ -3798,4 +3798,20 @@ typedef enum {
#define DPIO_DATA 0x2104
#define DPIO_REG 0x2108
+/* VLV IOSF access */
+#define VLV_IOSF_DOORBELL_REQ 0x182100
+#define IOSF_DEVFN_SHIFT 24
+#define IOSF_OPCODE_SHIFT 16
+#define IOSF_PORT_SHIFT 8
+#define IOSF_BYTE_ENABLES_SHIFT 4
+#define IOSF_BAR_SHIFT 1
+#define IOSF_SB_BUSY (1<<0)
+#define IOSF_PORT_PUNIT 0x4
+#define IOSF_PORT_NC 0x11
+#define VLV_IOSF_DATA 0x182104
+#define VLV_IOSF_ADDR 0x182108
+
+#define PUNIT_OPCODE_REG_READ 6
+#define PUNIT_OPCODE_REG_WRITE 7
+
#endif /* _I810_REG_H */