]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/hid/intel-ish-hid/ipc/hw-ish-regs.h
Merge branches 'pm-core', 'pm-qos', 'pm-domains' and 'pm-opp'
[linux.git] / drivers / hid / intel-ish-hid / ipc / hw-ish-regs.h
index ab68afcba2a2613a2a5fe916fd0f727ab96bf16d..a5897b9c0956a1fe0a09e01f6d5aec3563350145 100644 (file)
 #define IPC_ILUP_OFFS                  (0)
 #define IPC_ILUP_BIT                   (1<<IPC_ILUP_OFFS)
 
+/*
+ * ISH FW status bits in ISH FW Status Register
+ */
+#define IPC_ISH_FWSTS_SHIFT            12
+#define IPC_ISH_FWSTS_MASK             GENMASK(15, 12)
+#define IPC_GET_ISH_FWSTS(status)      \
+       (((status) & IPC_ISH_FWSTS_MASK) >> IPC_ISH_FWSTS_SHIFT)
+
 /*
  * FW status bits (relevant)
  */