crypto: talitos - Implement done interrupt mitigation
[firefly-linux-kernel-4.4.55.git] / drivers / crypto / talitos.h
index c48a405abf70c90a1f3cd177d8cde363abd36bb4..e6b87770df03847685b014ddaab706e027466cb7 100644 (file)
@@ -37,7 +37,8 @@
 #define TALITOS_MCR_LO                 0x1038
 #define   TALITOS_MCR_SWR              0x1     /* s/w reset */
 #define TALITOS_IMR                    0x1008  /* interrupt mask register */
-#define   TALITOS_IMR_INIT             0x10fff /* enable channel IRQs */
+#define   TALITOS_IMR_INIT             0x100ff /* enable channel IRQs */
+#define   TALITOS_IMR_DONE             0x00055 /* done IRQs */
 #define TALITOS_IMR_LO                 0x100C
 #define   TALITOS_IMR_LO_INIT          0x20000 /* allow RNGU error IRQs */
 #define TALITOS_ISR                    0x1010  /* interrupt status register */