cslr_cxstm_tetris.h 55 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156
  1. /********************************************************************
  2. * Copyright (C) 2013-2014 Texas Instruments Incorporated.
  3. *
  4. * Redistribution and use in source and binary forms, with or without
  5. * modification, are permitted provided that the following conditions
  6. * are met:
  7. *
  8. * Redistributions of source code must retain the above copyright
  9. * notice, this list of conditions and the following disclaimer.
  10. *
  11. * Redistributions in binary form must reproduce the above copyright
  12. * notice, this list of conditions and the following disclaimer in the
  13. * documentation and/or other materials provided with the
  14. * distribution.
  15. *
  16. * Neither the name of Texas Instruments Incorporated nor the names of
  17. * its contributors may be used to endorse or promote products derived
  18. * from this software without specific prior written permission.
  19. *
  20. * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  21. * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  22. * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  23. * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  24. * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  25. * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  26. * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  27. * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  28. * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  29. * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  30. * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  31. *
  32. */
  33. #ifndef CSLR_CXSTM_TETRIS_H_
  34. #define CSLR_CXSTM_TETRIS_H_
  35. #ifdef __cplusplus
  36. extern "C"
  37. {
  38. #endif
  39. #include <ti/csl/cslr.h>
  40. #include <ti/csl/tistdtypes.h>
  41. /**************************************************************************
  42. * Register Overlay Structure for cxstm_registers
  43. **************************************************************************/
  44. typedef struct {
  45. volatile Uint32 STMDMASTARTR;
  46. volatile Uint32 STMDMASTOPR;
  47. volatile Uint32 STMDMASTATR;
  48. volatile Uint32 STMDMACTLR;
  49. volatile Uint8 RSVD0[232];
  50. volatile Uint32 STMDMAIDR;
  51. volatile Uint32 STMHEER;
  52. volatile Uint8 RSVD1[28];
  53. volatile Uint32 STMHETER;
  54. volatile Uint8 RSVD2[64];
  55. volatile Uint32 STMHEMCR;
  56. volatile Uint8 RSVD3[140];
  57. volatile Uint32 STMHEMASTR;
  58. volatile Uint32 STMHEFEAT1R;
  59. volatile Uint32 STMHEIDR;
  60. volatile Uint32 STMSPER;
  61. volatile Uint8 RSVD4[28];
  62. volatile Uint32 STMSPTER;
  63. volatile Uint8 RSVD5[60];
  64. volatile Uint32 STMSPSCR;
  65. volatile Uint32 STMSPMSCR;
  66. volatile Uint32 STMSPOVERRIDER;
  67. volatile Uint32 STMSPMOVERRIDER;
  68. volatile Uint32 STMSPTRIGCSR;
  69. volatile Uint8 RSVD6[12];
  70. volatile Uint32 STMTCSR;
  71. volatile Uint32 STMTSSTIMR;
  72. volatile Uint8 RSVD7[4];
  73. volatile Uint32 STMTSFREQR;
  74. volatile Uint32 STMSYNCR;
  75. volatile Uint32 STMAUXCR;
  76. volatile Uint8 RSVD8[8];
  77. volatile Uint32 STMSPFEAT1R;
  78. volatile Uint32 STMSPFEAT2R;
  79. volatile Uint32 STMSPFEAT3R;
  80. volatile Uint8 RSVD9[60];
  81. volatile Uint32 STMITTRIGGER;
  82. volatile Uint32 STMITATBDATA0;
  83. volatile Uint32 STMITATBCTR2;
  84. volatile Uint32 STMITATBID;
  85. volatile Uint32 STMITATBCTR0;
  86. volatile Uint8 RSVD10[4];
  87. volatile Uint32 STMITCTRL;
  88. volatile Uint8 RSVD11[156];
  89. volatile Uint32 STMCLAIMSET;
  90. volatile Uint32 STMCLAIMCLR;
  91. volatile Uint8 RSVD12[8];
  92. volatile Uint32 STMLAR;
  93. volatile Uint32 STMLSR;
  94. volatile Uint32 STMAUTHSTATUS;
  95. volatile Uint8 RSVD13[12];
  96. volatile Uint32 STMDEVID;
  97. volatile Uint32 STMDEVTYPE;
  98. volatile Uint32 STMPIDR4;
  99. volatile Uint32 STMPIDR5;
  100. volatile Uint32 STMPIDR6;
  101. volatile Uint32 STMPIDR7;
  102. volatile Uint32 STMPIDR0;
  103. volatile Uint32 STMPIDR1;
  104. volatile Uint32 STMPIDR2;
  105. volatile Uint32 STMPIDR3;
  106. volatile Uint32 STMCIDR0;
  107. volatile Uint32 STMCIDR1;
  108. volatile Uint32 STMCIDR2;
  109. volatile Uint32 STMCIDR3;
  110. volatile Uint8 RSVD14[4];
  111. } CSL_Cxstm_tetrisRegs;
  112. /**************************************************************************
  113. * Register Macros
  114. **************************************************************************/
  115. /* STMDMASTARTR */
  116. #define CSL_CXSTM_TETRIS_STMDMASTARTR (0x0U)
  117. /* STMDMASTOPR */
  118. #define CSL_CXSTM_TETRIS_STMDMASTOPR (0x4U)
  119. /* STMDMASTATR */
  120. #define CSL_CXSTM_TETRIS_STMDMASTATR (0x8U)
  121. /* STMDMACTLR */
  122. #define CSL_CXSTM_TETRIS_STMDMACTLR (0xCU)
  123. /* STMDMAIDR */
  124. #define CSL_CXSTM_TETRIS_STMDMAIDR (0xF8U)
  125. /* STMHEER */
  126. #define CSL_CXSTM_TETRIS_STMHEER (0xFCU)
  127. /* STMHETER */
  128. #define CSL_CXSTM_TETRIS_STMHETER (0x11CU)
  129. /* STMHEMCR */
  130. #define CSL_CXSTM_TETRIS_STMHEMCR (0x160U)
  131. /* STMHEMASTR */
  132. #define CSL_CXSTM_TETRIS_STMHEMASTR (0x1F0U)
  133. /* STMHEFEAT1R */
  134. #define CSL_CXSTM_TETRIS_STMHEFEAT1R (0x1F4U)
  135. /* STMHEIDR */
  136. #define CSL_CXSTM_TETRIS_STMHEIDR (0x1F8U)
  137. /* STMSPER */
  138. #define CSL_CXSTM_TETRIS_STMSPER (0x1FCU)
  139. /* STMSPTER */
  140. #define CSL_CXSTM_TETRIS_STMSPTER (0x21CU)
  141. /* STMSPSCR */
  142. #define CSL_CXSTM_TETRIS_STMSPSCR (0x25CU)
  143. /* This register allows a debugger to program which masters the STMSPSCR
  144. * applies to. */
  145. #define CSL_CXSTM_TETRIS_STMSPMSCR (0x260U)
  146. /* STMSPOVERRIDER */
  147. #define CSL_CXSTM_TETRIS_STMSPOVERRIDER (0x264U)
  148. /* STMSPMOVERRIDER */
  149. #define CSL_CXSTM_TETRIS_STMSPMOVERRIDER (0x268U)
  150. /* STMSPTRIGCSR */
  151. #define CSL_CXSTM_TETRIS_STMSPTRIGCSR (0x26CU)
  152. /* STMTCSR */
  153. #define CSL_CXSTM_TETRIS_STMTCSR (0x27CU)
  154. /* STMTSSTIMR */
  155. #define CSL_CXSTM_TETRIS_STMTSSTIMR (0x280U)
  156. /* STMTSFREQR */
  157. #define CSL_CXSTM_TETRIS_STMTSFREQR (0x288U)
  158. /* STMSYNCR */
  159. #define CSL_CXSTM_TETRIS_STMSYNCR (0x28CU)
  160. /* STMAUXCR */
  161. #define CSL_CXSTM_TETRIS_STMAUXCR (0x290U)
  162. /* STMSPFEAT1R */
  163. #define CSL_CXSTM_TETRIS_STMSPFEAT1R (0x29CU)
  164. /* STMSPFEAT2R */
  165. #define CSL_CXSTM_TETRIS_STMSPFEAT2R (0x2A0U)
  166. /* Indicates the features of the STM. */
  167. #define CSL_CXSTM_TETRIS_STMSPFEAT3R (0x2A4U)
  168. /* Integration Test for Cross-Trigger Outputs Register */
  169. #define CSL_CXSTM_TETRIS_STMITTRIGGER (0x2E4U)
  170. /* Controls the value of the ATDATAM output in integration mode: */
  171. #define CSL_CXSTM_TETRIS_STMITATBDATA0 (0x2E8U)
  172. /* Returns the value of the ATREADYM and AFVALIDM inputs in integration mode. */
  173. #define CSL_CXSTM_TETRIS_STMITATBCTR2 (0x2ECU)
  174. /* Controls the value of the ATIDM output in integration mode. */
  175. #define CSL_CXSTM_TETRIS_STMITATBID (0x2F0U)
  176. /* Controls the value of the ATVALIDM, AFREADYM, and ATBYTESM outputs in
  177. * integration mode. */
  178. #define CSL_CXSTM_TETRIS_STMITATBCTR0 (0x2F4U)
  179. /* STMITCTRL */
  180. #define CSL_CXSTM_TETRIS_STMITCTRL (0x2FCU)
  181. /* STMCLAIMSET */
  182. #define CSL_CXSTM_TETRIS_STMCLAIMSET (0x39CU)
  183. /* STMCLAIMCLR */
  184. #define CSL_CXSTM_TETRIS_STMCLAIMCLR (0x3A0U)
  185. /* STMLAR */
  186. #define CSL_CXSTM_TETRIS_STMLAR (0x3ACU)
  187. /* STMLSR */
  188. #define CSL_CXSTM_TETRIS_STMLSR (0x3B0U)
  189. /* STMAUTHSTATUS */
  190. #define CSL_CXSTM_TETRIS_STMAUTHSTATUS (0x3B4U)
  191. /* STMDEVID */
  192. #define CSL_CXSTM_TETRIS_STMDEVID (0x3C4U)
  193. /* STMDEVTYPE */
  194. #define CSL_CXSTM_TETRIS_STMDEVTYPE (0x3C8U)
  195. /* STMPIDR0 */
  196. #define CSL_CXSTM_TETRIS_STMPIDR0 (0x3DCU)
  197. /* STMPIDR1 */
  198. #define CSL_CXSTM_TETRIS_STMPIDR1 (0x3E0U)
  199. /* STMPIDR2 */
  200. #define CSL_CXSTM_TETRIS_STMPIDR2 (0x3E4U)
  201. /* STMPIDR3 */
  202. #define CSL_CXSTM_TETRIS_STMPIDR3 (0x3E8U)
  203. /* STMPIDR4 */
  204. #define CSL_CXSTM_TETRIS_STMPIDR4 (0x3CCU)
  205. /* STMPIDR5 */
  206. #define CSL_CXSTM_TETRIS_STMPIDR5 (0x3D0U)
  207. /* STMPIDR6 */
  208. #define CSL_CXSTM_TETRIS_STMPIDR6 (0x3D4U)
  209. /* STMPIDR7 */
  210. #define CSL_CXSTM_TETRIS_STMPIDR7 (0x3D8U)
  211. /* STMCIDR0 */
  212. #define CSL_CXSTM_TETRIS_STMCIDR0 (0x3ECU)
  213. /* STMCIDR1 */
  214. #define CSL_CXSTM_TETRIS_STMCIDR1 (0x3F0U)
  215. /* STMCIDR2 */
  216. #define CSL_CXSTM_TETRIS_STMCIDR2 (0x3F4U)
  217. /* STMCIDR3 */
  218. #define CSL_CXSTM_TETRIS_STMCIDR3 (0x3F8U)
  219. /**************************************************************************
  220. * Field Definition Macros
  221. **************************************************************************/
  222. /* STMDMASTARTR */
  223. #define CSL_CXSTM_TETRIS_STMDMASTARTR_START_MASK (0x00000001U)
  224. #define CSL_CXSTM_TETRIS_STMDMASTARTR_START_SHIFT (0U)
  225. #define CSL_CXSTM_TETRIS_STMDMASTARTR_START_RESETVAL (0x00000000U)
  226. #define CSL_CXSTM_TETRIS_STMDMASTARTR_START_START (0x00000001U)
  227. #define CSL_CXSTM_TETRIS_STMDMASTARTR_RESETVAL (0x00000000U)
  228. /* STMDMASTOPR */
  229. #define CSL_CXSTM_TETRIS_STMDMASTOPR_STOP_MASK (0x00000001U)
  230. #define CSL_CXSTM_TETRIS_STMDMASTOPR_STOP_SHIFT (0U)
  231. #define CSL_CXSTM_TETRIS_STMDMASTOPR_STOP_RESETVAL (0x00000000U)
  232. #define CSL_CXSTM_TETRIS_STMDMASTOPR_STOP_STOP (0x00000001U)
  233. #define CSL_CXSTM_TETRIS_STMDMASTOPR_RESETVAL (0x00000000U)
  234. /* STMDMASTATR */
  235. #define CSL_CXSTM_TETRIS_STMDMASTATR_STATUS_MASK (0x00000001U)
  236. #define CSL_CXSTM_TETRIS_STMDMASTATR_STATUS_SHIFT (0U)
  237. #define CSL_CXSTM_TETRIS_STMDMASTATR_STATUS_RESETVAL (0x00000000U)
  238. #define CSL_CXSTM_TETRIS_STMDMASTATR_STATUS_IDLE (0x00000000U)
  239. #define CSL_CXSTM_TETRIS_STMDMASTATR_STATUS_ACTIVE (0x00000001U)
  240. #define CSL_CXSTM_TETRIS_STMDMASTATR_RESETVAL (0x00000000U)
  241. /* STMDMACTLR */
  242. #define CSL_CXSTM_TETRIS_STMDMACTLR_SENS_MASK (0x0000000CU)
  243. #define CSL_CXSTM_TETRIS_STMDMACTLR_SENS_SHIFT (2U)
  244. #define CSL_CXSTM_TETRIS_STMDMACTLR_SENS_RESETVAL (0x00000000U)
  245. #define CSL_CXSTM_TETRIS_STMDMACTLR_SENS_EMPTY (0x00000000U)
  246. #define CSL_CXSTM_TETRIS_STMDMACTLR_SENS_PCT25 (0x00000001U)
  247. #define CSL_CXSTM_TETRIS_STMDMACTLR_SENS_PCT50 (0x00000002U)
  248. #define CSL_CXSTM_TETRIS_STMDMACTLR_SENS_PCT75 (0x00000003U)
  249. #define CSL_CXSTM_TETRIS_STMDMACTLR_RESETVAL (0x00000000U)
  250. /* STMDMAIDR */
  251. #define CSL_CXSTM_TETRIS_STMDMAIDR_CLASS_MASK (0x0000000FU)
  252. #define CSL_CXSTM_TETRIS_STMDMAIDR_CLASS_SHIFT (0U)
  253. #define CSL_CXSTM_TETRIS_STMDMAIDR_CLASS_RESETVAL (0x00000002U)
  254. #define CSL_CXSTM_TETRIS_STMDMAIDR_CLASS_MAX (0x0000000fU)
  255. #define CSL_CXSTM_TETRIS_STMDMAIDR_CLASSREV_MASK (0x000000F0U)
  256. #define CSL_CXSTM_TETRIS_STMDMAIDR_CLASSREV_SHIFT (4U)
  257. #define CSL_CXSTM_TETRIS_STMDMAIDR_CLASSREV_RESETVAL (0x00000000U)
  258. #define CSL_CXSTM_TETRIS_STMDMAIDR_CLASSREV_MAX (0x0000000fU)
  259. #define CSL_CXSTM_TETRIS_STMDMAIDR_VENDSPEC_MASK (0x00000F00U)
  260. #define CSL_CXSTM_TETRIS_STMDMAIDR_VENDSPEC_SHIFT (8U)
  261. #define CSL_CXSTM_TETRIS_STMDMAIDR_VENDSPEC_RESETVAL (0x00000000U)
  262. #define CSL_CXSTM_TETRIS_STMDMAIDR_VENDSPEC_MAX (0x0000000fU)
  263. #define CSL_CXSTM_TETRIS_STMDMAIDR_RESETVAL (0x00000002U)
  264. /* STMHEER */
  265. #define CSL_CXSTM_TETRIS_STMHEER_HEE_MASK (0xFFFFFFFFU)
  266. #define CSL_CXSTM_TETRIS_STMHEER_HEE_SHIFT (0U)
  267. #define CSL_CXSTM_TETRIS_STMHEER_HEE_RESETVAL (0x00000000U)
  268. #define CSL_CXSTM_TETRIS_STMHEER_HEE_MAX (0xffffffffU)
  269. #define CSL_CXSTM_TETRIS_STMHEER_RESETVAL (0x00000000U)
  270. /* STMHETER */
  271. #define CSL_CXSTM_TETRIS_STMHETER_HETE_MASK (0xFFFFFFFFU)
  272. #define CSL_CXSTM_TETRIS_STMHETER_HETE_SHIFT (0U)
  273. #define CSL_CXSTM_TETRIS_STMHETER_HETE_RESETVAL (0x00000000U)
  274. #define CSL_CXSTM_TETRIS_STMHETER_HETE_MAX (0xffffffffU)
  275. #define CSL_CXSTM_TETRIS_STMHETER_RESETVAL (0x00000000U)
  276. /* STMHEMCR */
  277. #define CSL_CXSTM_TETRIS_STMHEMCR_EN_MASK (0x00000001U)
  278. #define CSL_CXSTM_TETRIS_STMHEMCR_EN_SHIFT (0U)
  279. #define CSL_CXSTM_TETRIS_STMHEMCR_EN_RESETVAL (0x00000000U)
  280. #define CSL_CXSTM_TETRIS_STMHEMCR_EN_DISABLE (0x00000000U)
  281. #define CSL_CXSTM_TETRIS_STMHEMCR_EN_ENABLE (0x00000001U)
  282. #define CSL_CXSTM_TETRIS_STMHEMCR_COMPEN_MASK (0x00000002U)
  283. #define CSL_CXSTM_TETRIS_STMHEMCR_COMPEN_SHIFT (1U)
  284. #define CSL_CXSTM_TETRIS_STMHEMCR_COMPEN_RESETVAL (0x00000000U)
  285. #define CSL_CXSTM_TETRIS_STMHEMCR_COMPEN_DISABLE (0x00000000U)
  286. #define CSL_CXSTM_TETRIS_STMHEMCR_COMPEN_ENABLE (0x00000001U)
  287. #define CSL_CXSTM_TETRIS_STMHEMCR_ERRDETECT_MASK (0x00000004U)
  288. #define CSL_CXSTM_TETRIS_STMHEMCR_ERRDETECT_SHIFT (2U)
  289. #define CSL_CXSTM_TETRIS_STMHEMCR_ERRDETECT_RESETVAL (0x00000000U)
  290. #define CSL_CXSTM_TETRIS_STMHEMCR_ERRDETECT_DISABLE (0x00000000U)
  291. #define CSL_CXSTM_TETRIS_STMHEMCR_ERRDETECT_ENABLE (0x00000001U)
  292. #define CSL_CXSTM_TETRIS_STMHEMCR_TRIGCTL_MASK (0x00000010U)
  293. #define CSL_CXSTM_TETRIS_STMHEMCR_TRIGCTL_SHIFT (4U)
  294. #define CSL_CXSTM_TETRIS_STMHEMCR_TRIGCTL_RESETVAL (0x00000000U)
  295. #define CSL_CXSTM_TETRIS_STMHEMCR_TRIGCTL_MULTI_SHOT (0x00000000U)
  296. #define CSL_CXSTM_TETRIS_STMHEMCR_TRIGCTL_SINGLE_SHOT (0x00000001U)
  297. #define CSL_CXSTM_TETRIS_STMHEMCR_TRIGSTATUS_MASK (0x00000020U)
  298. #define CSL_CXSTM_TETRIS_STMHEMCR_TRIGSTATUS_SHIFT (5U)
  299. #define CSL_CXSTM_TETRIS_STMHEMCR_TRIGSTATUS_RESETVAL (0x00000000U)
  300. #define CSL_CXSTM_TETRIS_STMHEMCR_TRIGSTATUS_NOT_OCCURRED (0x00000000U)
  301. #define CSL_CXSTM_TETRIS_STMHEMCR_TRIGSTATUS_OCCURRED (0x00000001U)
  302. #define CSL_CXSTM_TETRIS_STMHEMCR_TRIGCLEAR_MASK (0x00000040U)
  303. #define CSL_CXSTM_TETRIS_STMHEMCR_TRIGCLEAR_SHIFT (6U)
  304. #define CSL_CXSTM_TETRIS_STMHEMCR_TRIGCLEAR_RESETVAL (0x00000000U)
  305. #define CSL_CXSTM_TETRIS_STMHEMCR_TRIGCLEAR_NOEFFECT (0x00000000U)
  306. #define CSL_CXSTM_TETRIS_STMHEMCR_TRIGCLEAR_CLEAR (0x00000001U)
  307. #define CSL_CXSTM_TETRIS_STMHEMCR_ATBTRIGEN_MASK (0x00000080U)
  308. #define CSL_CXSTM_TETRIS_STMHEMCR_ATBTRIGEN_SHIFT (7U)
  309. #define CSL_CXSTM_TETRIS_STMHEMCR_ATBTRIGEN_RESETVAL (0x00000000U)
  310. #define CSL_CXSTM_TETRIS_STMHEMCR_ATBTRIGEN_DISABLE (0x00000000U)
  311. #define CSL_CXSTM_TETRIS_STMHEMCR_ATBTRIGEN_ENABLE (0x00000001U)
  312. #define CSL_CXSTM_TETRIS_STMHEMCR_RESETVAL (0x00000000U)
  313. /* STMHEMASTR */
  314. #define CSL_CXSTM_TETRIS_STMHEMASTR_MASTER_MASK (0x0000FFFFU)
  315. #define CSL_CXSTM_TETRIS_STMHEMASTR_MASTER_SHIFT (0U)
  316. #define CSL_CXSTM_TETRIS_STMHEMASTR_MASTER_RESETVAL (0x00000080U)
  317. #define CSL_CXSTM_TETRIS_STMHEMASTR_MASTER_MAX (0x0000ffffU)
  318. #define CSL_CXSTM_TETRIS_STMHEMASTR_RESETVAL (0x00000080U)
  319. /* STMHEFEAT1R */
  320. #define CSL_CXSTM_TETRIS_STMHEFEAT1R_HETER_MASK (0x00000001U)
  321. #define CSL_CXSTM_TETRIS_STMHEFEAT1R_HETER_SHIFT (0U)
  322. #define CSL_CXSTM_TETRIS_STMHEFEAT1R_HETER_RESETVAL (0x00000001U)
  323. #define CSL_CXSTM_TETRIS_STMHEFEAT1R_HETER_IMPLEMENTED (0x00000001U)
  324. #define CSL_CXSTM_TETRIS_STMHEFEAT1R_HEERR_MASK (0x00000004U)
  325. #define CSL_CXSTM_TETRIS_STMHEFEAT1R_HEERR_SHIFT (2U)
  326. #define CSL_CXSTM_TETRIS_STMHEFEAT1R_HEERR_RESETVAL (0x00000001U)
  327. #define CSL_CXSTM_TETRIS_STMHEFEAT1R_HEERR_IMPLEMENTED (0x00000001U)
  328. #define CSL_CXSTM_TETRIS_STMHEFEAT1R_HEMASTR_MASK (0x00000008U)
  329. #define CSL_CXSTM_TETRIS_STMHEFEAT1R_HEMASTR_SHIFT (3U)
  330. #define CSL_CXSTM_TETRIS_STMHEFEAT1R_HEMASTR_RESETVAL (0x00000000U)
  331. #define CSL_CXSTM_TETRIS_STMHEFEAT1R_HEMASTR_RO (0x00000000U)
  332. #define CSL_CXSTM_TETRIS_STMHEFEAT1R_HECOMP_MASK (0x00000030U)
  333. #define CSL_CXSTM_TETRIS_STMHEFEAT1R_HECOMP_SHIFT (4U)
  334. #define CSL_CXSTM_TETRIS_STMHEFEAT1R_HECOMP_RESETVAL (0x00000003U)
  335. #define CSL_CXSTM_TETRIS_STMHEFEAT1R_HECOMP_RO (0x00000003U)
  336. #define CSL_CXSTM_TETRIS_STMHEFEAT1R_NUMHE_MASK (0x00FF8000U)
  337. #define CSL_CXSTM_TETRIS_STMHEFEAT1R_NUMHE_SHIFT (15U)
  338. #define CSL_CXSTM_TETRIS_STMHEFEAT1R_NUMHE_RESETVAL (0x00000020U)
  339. #define CSL_CXSTM_TETRIS_STMHEFEAT1R_NUMHE_MAX (0x000001ffU)
  340. #define CSL_CXSTM_TETRIS_STMHEFEAT1R_RESETVAL (0x00100035U)
  341. /* STMHEIDR */
  342. #define CSL_CXSTM_TETRIS_STMHEIDR_CLASS_MASK (0x0000000FU)
  343. #define CSL_CXSTM_TETRIS_STMHEIDR_CLASS_SHIFT (0U)
  344. #define CSL_CXSTM_TETRIS_STMHEIDR_CLASS_RESETVAL (0x00000001U)
  345. #define CSL_CXSTM_TETRIS_STMHEIDR_CLASS_MAX (0x0000000fU)
  346. #define CSL_CXSTM_TETRIS_STMHEIDR_CLASSREV_MASK (0x000000F0U)
  347. #define CSL_CXSTM_TETRIS_STMHEIDR_CLASSREV_SHIFT (4U)
  348. #define CSL_CXSTM_TETRIS_STMHEIDR_CLASSREV_RESETVAL (0x00000000U)
  349. #define CSL_CXSTM_TETRIS_STMHEIDR_CLASSREV_MAX (0x0000000fU)
  350. #define CSL_CXSTM_TETRIS_STMHEIDR_VENDSPEC_MASK (0x00000F00U)
  351. #define CSL_CXSTM_TETRIS_STMHEIDR_VENDSPEC_SHIFT (8U)
  352. #define CSL_CXSTM_TETRIS_STMHEIDR_VENDSPEC_RESETVAL (0x00000000U)
  353. #define CSL_CXSTM_TETRIS_STMHEIDR_VENDSPEC_MAX (0x0000000fU)
  354. #define CSL_CXSTM_TETRIS_STMHEIDR_RESETVAL (0x00000001U)
  355. /* STMSPER */
  356. #define CSL_CXSTM_TETRIS_STMSPER_SPE_MASK (0xFFFFFFFFU)
  357. #define CSL_CXSTM_TETRIS_STMSPER_SPE_SHIFT (0U)
  358. #define CSL_CXSTM_TETRIS_STMSPER_SPE_RESETVAL (0x00000000U)
  359. #define CSL_CXSTM_TETRIS_STMSPER_SPE_MAX (0xffffffffU)
  360. #define CSL_CXSTM_TETRIS_STMSPER_RESETVAL (0x00000000U)
  361. /* STMSPTER */
  362. #define CSL_CXSTM_TETRIS_STMSPTER_SPTE_MASK (0xFFFFFFFFU)
  363. #define CSL_CXSTM_TETRIS_STMSPTER_SPTE_SHIFT (0U)
  364. #define CSL_CXSTM_TETRIS_STMSPTER_SPTE_RESETVAL (0x00000000U)
  365. #define CSL_CXSTM_TETRIS_STMSPTER_SPTE_MAX (0xffffffffU)
  366. #define CSL_CXSTM_TETRIS_STMSPTER_RESETVAL (0x00000000U)
  367. /* STMSPSCR */
  368. #define CSL_CXSTM_TETRIS_STMSPSCR_PORTCTL_MASK (0x00000003U)
  369. #define CSL_CXSTM_TETRIS_STMSPSCR_PORTCTL_SHIFT (0U)
  370. #define CSL_CXSTM_TETRIS_STMSPSCR_PORTCTL_RESETVAL (0x00000000U)
  371. #define CSL_CXSTM_TETRIS_STMSPSCR_PORTCTL_NOTUSED (0x00000000U)
  372. #define CSL_CXSTM_TETRIS_STMSPSCR_PORTCTL_STMSPTER_ONLY (0x00000001U)
  373. #define CSL_CXSTM_TETRIS_STMSPSCR_PORTCTL_RESERVED (0x00000002U)
  374. #define CSL_CXSTM_TETRIS_STMSPSCR_PORTCTL_STMSPERANDSTMSPTER (0x00000003U)
  375. #define CSL_CXSTM_TETRIS_STMSPSCR_PORTSEL_MASK (0xFFF00000U)
  376. #define CSL_CXSTM_TETRIS_STMSPSCR_PORTSEL_SHIFT (20U)
  377. #define CSL_CXSTM_TETRIS_STMSPSCR_PORTSEL_RESETVAL (0x00000000U)
  378. #define CSL_CXSTM_TETRIS_STMSPSCR_PORTSEL_MAX (0x00000fffU)
  379. #define CSL_CXSTM_TETRIS_STMSPSCR_RESETVAL (0x00000000U)
  380. /* STMSPMSCR */
  381. #define CSL_CXSTM_TETRIS_STMSPMSCR_MASTCTL_MASK (0x00000001U)
  382. #define CSL_CXSTM_TETRIS_STMSPMSCR_MASTCTL_SHIFT (0U)
  383. #define CSL_CXSTM_TETRIS_STMSPMSCR_MASTCTL_RESETVAL (0x00000000U)
  384. #define CSL_CXSTM_TETRIS_STMSPMSCR_MASTCTL_NOTUSED (0x00000000U)
  385. #define CSL_CXSTM_TETRIS_STMSPMSCR_MASTCTL_STMSPSCR (0x00000001U)
  386. #define CSL_CXSTM_TETRIS_STMSPMSCR_MASTSEL_MASK (0x007F8000U)
  387. #define CSL_CXSTM_TETRIS_STMSPMSCR_MASTSEL_SHIFT (15U)
  388. #define CSL_CXSTM_TETRIS_STMSPMSCR_MASTSEL_RESETVAL (0x00000000U)
  389. #define CSL_CXSTM_TETRIS_STMSPMSCR_MASTSEL_MAX (0x000000ffU)
  390. #define CSL_CXSTM_TETRIS_STMSPMSCR_RESETVAL (0x00000000U)
  391. /* STMSPOVERRIDER */
  392. #define CSL_CXSTM_TETRIS_STMSPOVERRIDER_OVERCTL_MASK (0x00000003U)
  393. #define CSL_CXSTM_TETRIS_STMSPOVERRIDER_OVERCTL_SHIFT (0U)
  394. #define CSL_CXSTM_TETRIS_STMSPOVERRIDER_OVERCTL_RESETVAL (0x00000000U)
  395. #define CSL_CXSTM_TETRIS_STMSPOVERRIDER_OVERCTL_DISABLED (0x00000000U)
  396. #define CSL_CXSTM_TETRIS_STMSPOVERRIDER_OVERCTL_GUARANTEED (0x00000001U)
  397. #define CSL_CXSTM_TETRIS_STMSPOVERRIDER_OVERCTL_INVARIANTTIMING (0x00000002U)
  398. #define CSL_CXSTM_TETRIS_STMSPOVERRIDER_OVERCTL_RESERVED (0x00000003U)
  399. #define CSL_CXSTM_TETRIS_STMSPOVERRIDER_OVERTS_MASK (0x00000004U)
  400. #define CSL_CXSTM_TETRIS_STMSPOVERRIDER_OVERTS_SHIFT (2U)
  401. #define CSL_CXSTM_TETRIS_STMSPOVERRIDER_OVERTS_RESETVAL (0x00000000U)
  402. #define CSL_CXSTM_TETRIS_STMSPOVERRIDER_OVERTS_DISABLED (0x00000000U)
  403. #define CSL_CXSTM_TETRIS_STMSPOVERRIDER_OVERTS_ENABLED (0x00000001U)
  404. #define CSL_CXSTM_TETRIS_STMSPOVERRIDER_PORTSEL_MASK (0xFFFF8000U)
  405. #define CSL_CXSTM_TETRIS_STMSPOVERRIDER_PORTSEL_SHIFT (15U)
  406. #define CSL_CXSTM_TETRIS_STMSPOVERRIDER_PORTSEL_RESETVAL (0x00000000U)
  407. #define CSL_CXSTM_TETRIS_STMSPOVERRIDER_PORTSEL_MAX (0x0001ffffU)
  408. #define CSL_CXSTM_TETRIS_STMSPOVERRIDER_RESETVAL (0x00000000U)
  409. /* STMSPMOVERRIDER */
  410. #define CSL_CXSTM_TETRIS_STMSPMOVERRIDER_MASTCTL_MASK (0x00000001U)
  411. #define CSL_CXSTM_TETRIS_STMSPMOVERRIDER_MASTCTL_SHIFT (0U)
  412. #define CSL_CXSTM_TETRIS_STMSPMOVERRIDER_MASTCTL_RESETVAL (0x00000000U)
  413. #define CSL_CXSTM_TETRIS_STMSPMOVERRIDER_MASTCTL_DISABLED (0x00000000U)
  414. #define CSL_CXSTM_TETRIS_STMSPMOVERRIDER_MASTCTL_ENABLED (0x00000001U)
  415. #define CSL_CXSTM_TETRIS_STMSPMOVERRIDER_MASTSEL_MASK (0x007F8000U)
  416. #define CSL_CXSTM_TETRIS_STMSPMOVERRIDER_MASTSEL_SHIFT (15U)
  417. #define CSL_CXSTM_TETRIS_STMSPMOVERRIDER_MASTSEL_RESETVAL (0x00000000U)
  418. #define CSL_CXSTM_TETRIS_STMSPMOVERRIDER_MASTSEL_MAX (0x000000ffU)
  419. #define CSL_CXSTM_TETRIS_STMSPMOVERRIDER_RESETVAL (0x00000000U)
  420. /* STMSPTRIGCSR */
  421. #define CSL_CXSTM_TETRIS_STMSPTRIGCSR_TRIGCTL_MASK (0x00000001U)
  422. #define CSL_CXSTM_TETRIS_STMSPTRIGCSR_TRIGCTL_SHIFT (0U)
  423. #define CSL_CXSTM_TETRIS_STMSPTRIGCSR_TRIGCTL_RESETVAL (0x00000000U)
  424. #define CSL_CXSTM_TETRIS_STMSPTRIGCSR_TRIGCTL_MULTI_SHOT (0x00000000U)
  425. #define CSL_CXSTM_TETRIS_STMSPTRIGCSR_TRIGCTL_SINGLE_SHOT (0x00000001U)
  426. #define CSL_CXSTM_TETRIS_STMSPTRIGCSR_TRIGSTATUS_MASK (0x00000002U)
  427. #define CSL_CXSTM_TETRIS_STMSPTRIGCSR_TRIGSTATUS_SHIFT (1U)
  428. #define CSL_CXSTM_TETRIS_STMSPTRIGCSR_TRIGSTATUS_RESETVAL (0x00000000U)
  429. #define CSL_CXSTM_TETRIS_STMSPTRIGCSR_TRIGSTATUS_NOT_OCCURRED (0x00000000U)
  430. #define CSL_CXSTM_TETRIS_STMSPTRIGCSR_TRIGSTATUS_OCCURRED (0x00000001U)
  431. #define CSL_CXSTM_TETRIS_STMSPTRIGCSR_TRIGCLEAR_MASK (0x00000004U)
  432. #define CSL_CXSTM_TETRIS_STMSPTRIGCSR_TRIGCLEAR_SHIFT (2U)
  433. #define CSL_CXSTM_TETRIS_STMSPTRIGCSR_TRIGCLEAR_RESETVAL (0x00000000U)
  434. #define CSL_CXSTM_TETRIS_STMSPTRIGCSR_TRIGCLEAR_NOEFFECT (0x00000000U)
  435. #define CSL_CXSTM_TETRIS_STMSPTRIGCSR_TRIGCLEAR_CLEAR (0x00000001U)
  436. #define CSL_CXSTM_TETRIS_STMSPTRIGCSR_ATBTRIGEN_TE_MASK (0x00000008U)
  437. #define CSL_CXSTM_TETRIS_STMSPTRIGCSR_ATBTRIGEN_TE_SHIFT (3U)
  438. #define CSL_CXSTM_TETRIS_STMSPTRIGCSR_ATBTRIGEN_TE_RESETVAL (0x00000000U)
  439. #define CSL_CXSTM_TETRIS_STMSPTRIGCSR_ATBTRIGEN_TE_DISABLE (0x00000000U)
  440. #define CSL_CXSTM_TETRIS_STMSPTRIGCSR_ATBTRIGEN_TE_ENABLE (0x00000001U)
  441. #define CSL_CXSTM_TETRIS_STMSPTRIGCSR_ATBTRIGEN_DIR_MASK (0x00000010U)
  442. #define CSL_CXSTM_TETRIS_STMSPTRIGCSR_ATBTRIGEN_DIR_SHIFT (4U)
  443. #define CSL_CXSTM_TETRIS_STMSPTRIGCSR_ATBTRIGEN_DIR_RESETVAL (0x00000000U)
  444. #define CSL_CXSTM_TETRIS_STMSPTRIGCSR_ATBTRIGEN_DIR_DISABLE (0x00000000U)
  445. #define CSL_CXSTM_TETRIS_STMSPTRIGCSR_ATBTRIGEN_DIR_ENABLE (0x00000001U)
  446. #define CSL_CXSTM_TETRIS_STMSPTRIGCSR_RESETVAL (0x00000000U)
  447. /* STMTCSR */
  448. #define CSL_CXSTM_TETRIS_STMTCSR_EN_MASK (0x00000001U)
  449. #define CSL_CXSTM_TETRIS_STMTCSR_EN_SHIFT (0U)
  450. #define CSL_CXSTM_TETRIS_STMTCSR_EN_RESETVAL (0x00000000U)
  451. #define CSL_CXSTM_TETRIS_STMTCSR_EN_DISABLE (0x00000000U)
  452. #define CSL_CXSTM_TETRIS_STMTCSR_EN_ENABLE (0x00000001U)
  453. #define CSL_CXSTM_TETRIS_STMTCSR_TSEN_MASK (0x00000002U)
  454. #define CSL_CXSTM_TETRIS_STMTCSR_TSEN_SHIFT (1U)
  455. #define CSL_CXSTM_TETRIS_STMTCSR_TSEN_RESETVAL (0x00000000U)
  456. #define CSL_CXSTM_TETRIS_STMTCSR_TSEN_DISABLE (0x00000000U)
  457. #define CSL_CXSTM_TETRIS_STMTCSR_TSEN_ENABLE (0x00000001U)
  458. #define CSL_CXSTM_TETRIS_STMTCSR_SYNCEN_MASK (0x00000004U)
  459. #define CSL_CXSTM_TETRIS_STMTCSR_SYNCEN_SHIFT (2U)
  460. #define CSL_CXSTM_TETRIS_STMTCSR_SYNCEN_RESETVAL (0x00000001U)
  461. #define CSL_CXSTM_TETRIS_STMTCSR_SYNCEN_RAO (0x00000001U)
  462. #define CSL_CXSTM_TETRIS_STMTCSR_COMPEN_MASK (0x00000020U)
  463. #define CSL_CXSTM_TETRIS_STMTCSR_COMPEN_SHIFT (5U)
  464. #define CSL_CXSTM_TETRIS_STMTCSR_COMPEN_RESETVAL (0x00000000U)
  465. #define CSL_CXSTM_TETRIS_STMTCSR_COMPEN_DISABLED (0x00000000U)
  466. #define CSL_CXSTM_TETRIS_STMTCSR_COMPEN_ENABLED (0x00000001U)
  467. #define CSL_CXSTM_TETRIS_STMTCSR_TRACEID_MASK (0x007F0000U)
  468. #define CSL_CXSTM_TETRIS_STMTCSR_TRACEID_SHIFT (16U)
  469. #define CSL_CXSTM_TETRIS_STMTCSR_TRACEID_RESETVAL (0x00000000U)
  470. #define CSL_CXSTM_TETRIS_STMTCSR_TRACEID_MAX (0x0000007fU)
  471. #define CSL_CXSTM_TETRIS_STMTCSR_BUSY_MASK (0x00800000U)
  472. #define CSL_CXSTM_TETRIS_STMTCSR_BUSY_SHIFT (23U)
  473. #define CSL_CXSTM_TETRIS_STMTCSR_BUSY_RESETVAL (0x00000000U)
  474. #define CSL_CXSTM_TETRIS_STMTCSR_BUSY_IDLE (0x00000000U)
  475. #define CSL_CXSTM_TETRIS_STMTCSR_BUSY_BUSY (0x00000001U)
  476. #define CSL_CXSTM_TETRIS_STMTCSR_RESETVAL (0x00000004U)
  477. /* STMTSSTIMR */
  478. #define CSL_CXSTM_TETRIS_STMTSSTIMR_FORCETS_MASK (0x00000001U)
  479. #define CSL_CXSTM_TETRIS_STMTSSTIMR_FORCETS_SHIFT (0U)
  480. #define CSL_CXSTM_TETRIS_STMTSSTIMR_FORCETS_RESETVAL (0x00000000U)
  481. #define CSL_CXSTM_TETRIS_STMTSSTIMR_FORCETS_FORCETS (0x00000001U)
  482. #define CSL_CXSTM_TETRIS_STMTSSTIMR_RESETVAL (0x00000000U)
  483. /* STMTSFREQR */
  484. #define CSL_CXSTM_TETRIS_STMTSFREQR_FREQ_MASK (0xFFFFFFFFU)
  485. #define CSL_CXSTM_TETRIS_STMTSFREQR_FREQ_SHIFT (0U)
  486. #define CSL_CXSTM_TETRIS_STMTSFREQR_FREQ_RESETVAL (0x00000000U)
  487. #define CSL_CXSTM_TETRIS_STMTSFREQR_FREQ_MAX (0xffffffffU)
  488. #define CSL_CXSTM_TETRIS_STMTSFREQR_RESETVAL (0x00000000U)
  489. /* STMSYNCR */
  490. #define CSL_CXSTM_TETRIS_STMSYNCR_COUNT_MASK (0x00000FFCU)
  491. #define CSL_CXSTM_TETRIS_STMSYNCR_COUNT_SHIFT (2U)
  492. #define CSL_CXSTM_TETRIS_STMSYNCR_COUNT_RESETVAL (0x00000000U)
  493. #define CSL_CXSTM_TETRIS_STMSYNCR_COUNT_MAX (0x000003ffU)
  494. #define CSL_CXSTM_TETRIS_STMSYNCR_MODE_MASK (0x00001000U)
  495. #define CSL_CXSTM_TETRIS_STMSYNCR_MODE_SHIFT (12U)
  496. #define CSL_CXSTM_TETRIS_STMSYNCR_MODE_RESETVAL (0x00000000U)
  497. #define CSL_CXSTM_TETRIS_STMSYNCR_MODE_NBYTES (0x00000000U)
  498. #define CSL_CXSTM_TETRIS_STMSYNCR_MODE_TWOTOTHENBYTES (0x00000001U)
  499. #define CSL_CXSTM_TETRIS_STMSYNCR_RESETVAL (0x00000000U)
  500. /* STMAUXCR */
  501. #define CSL_CXSTM_TETRIS_STMAUXCR_FIFOAF_MASK (0x00000001U)
  502. #define CSL_CXSTM_TETRIS_STMAUXCR_FIFOAF_SHIFT (0U)
  503. #define CSL_CXSTM_TETRIS_STMAUXCR_FIFOAF_RESETVAL (0x00000000U)
  504. #define CSL_CXSTM_TETRIS_STMAUXCR_FIFOAF_DISABLED (0x00000000U)
  505. #define CSL_CXSTM_TETRIS_STMAUXCR_FIFOAF_ENABLED (0x00000001U)
  506. #define CSL_CXSTM_TETRIS_STMAUXCR_ASYNCPE_MASK (0x00000002U)
  507. #define CSL_CXSTM_TETRIS_STMAUXCR_ASYNCPE_SHIFT (1U)
  508. #define CSL_CXSTM_TETRIS_STMAUXCR_ASYNCPE_RESETVAL (0x00000000U)
  509. #define CSL_CXSTM_TETRIS_STMAUXCR_ASYNCPE_DISABLE (0x00000000U)
  510. #define CSL_CXSTM_TETRIS_STMAUXCR_ASYNCPE_ENABLE (0x00000001U)
  511. #define CSL_CXSTM_TETRIS_STMAUXCR_PRIORINVDIS_MASK (0x00000004U)
  512. #define CSL_CXSTM_TETRIS_STMAUXCR_PRIORINVDIS_SHIFT (2U)
  513. #define CSL_CXSTM_TETRIS_STMAUXCR_PRIORINVDIS_RESETVAL (0x00000000U)
  514. #define CSL_CXSTM_TETRIS_STMAUXCR_PRIORINVDIS_INVERSIONENABLED (0x00000000U)
  515. #define CSL_CXSTM_TETRIS_STMAUXCR_PRIORINVDIS_INVERSIONDISABLED (0x00000001U)
  516. #define CSL_CXSTM_TETRIS_STMAUXCR_CLKON_MASK (0x00000008U)
  517. #define CSL_CXSTM_TETRIS_STMAUXCR_CLKON_SHIFT (3U)
  518. #define CSL_CXSTM_TETRIS_STMAUXCR_CLKON_RESETVAL (0x00000000U)
  519. #define CSL_CXSTM_TETRIS_STMAUXCR_CLKON_NOOVERRIDE (0x00000000U)
  520. #define CSL_CXSTM_TETRIS_STMAUXCR_CLKON_OVERRIDE (0x00000001U)
  521. #define CSL_CXSTM_TETRIS_STMAUXCR_AFREADYHIGH_MASK (0x00000010U)
  522. #define CSL_CXSTM_TETRIS_STMAUXCR_AFREADYHIGH_SHIFT (4U)
  523. #define CSL_CXSTM_TETRIS_STMAUXCR_AFREADYHIGH_RESETVAL (0x00000000U)
  524. #define CSL_CXSTM_TETRIS_STMAUXCR_AFREADYHIGH_NOOVERRIDE (0x00000000U)
  525. #define CSL_CXSTM_TETRIS_STMAUXCR_AFREADYHIGH_OVERRIDE (0x00000001U)
  526. #define CSL_CXSTM_TETRIS_STMAUXCR_RESETVAL (0x00000000U)
  527. /* STMSPFEAT1R */
  528. #define CSL_CXSTM_TETRIS_STMSPFEAT1R_PROT_MASK (0x0000000FU)
  529. #define CSL_CXSTM_TETRIS_STMSPFEAT1R_PROT_SHIFT (0U)
  530. #define CSL_CXSTM_TETRIS_STMSPFEAT1R_PROT_RESETVAL (0x00000001U)
  531. #define CSL_CXSTM_TETRIS_STMSPFEAT1R_PROT_MAX (0x0000000fU)
  532. #define CSL_CXSTM_TETRIS_STMSPFEAT1R_TS_MASK (0x00000030U)
  533. #define CSL_CXSTM_TETRIS_STMSPFEAT1R_TS_SHIFT (4U)
  534. #define CSL_CXSTM_TETRIS_STMSPFEAT1R_TS_RESETVAL (0x00000001U)
  535. #define CSL_CXSTM_TETRIS_STMSPFEAT1R_TS_ABSOLUT (0x00000001U)
  536. #define CSL_CXSTM_TETRIS_STMSPFEAT1R_TSFREQ_MASK (0x00000040U)
  537. #define CSL_CXSTM_TETRIS_STMSPFEAT1R_TSFREQ_SHIFT (6U)
  538. #define CSL_CXSTM_TETRIS_STMSPFEAT1R_TSFREQ_RESETVAL (0x00000001U)
  539. #define CSL_CXSTM_TETRIS_STMSPFEAT1R_TSFREQ_RW (0x00000001U)
  540. #define CSL_CXSTM_TETRIS_STMSPFEAT1R_FORCETS_MASK (0x00000080U)
  541. #define CSL_CXSTM_TETRIS_STMSPFEAT1R_FORCETS_SHIFT (7U)
  542. #define CSL_CXSTM_TETRIS_STMSPFEAT1R_FORCETS_RESETVAL (0x00000001U)
  543. #define CSL_CXSTM_TETRIS_STMSPFEAT1R_FORCETS_IMPLEMENTED (0x00000001U)
  544. #define CSL_CXSTM_TETRIS_STMSPFEAT1R_SYNC_MASK (0x00000300U)
  545. #define CSL_CXSTM_TETRIS_STMSPFEAT1R_SYNC_SHIFT (8U)
  546. #define CSL_CXSTM_TETRIS_STMSPFEAT1R_SYNC_RESETVAL (0x00000003U)
  547. #define CSL_CXSTM_TETRIS_STMSPFEAT1R_SYNC_MODE (0x00000003U)
  548. #define CSL_CXSTM_TETRIS_STMSPFEAT1R_TRACEBUS_MASK (0x00003C00U)
  549. #define CSL_CXSTM_TETRIS_STMSPFEAT1R_TRACEBUS_SHIFT (10U)
  550. #define CSL_CXSTM_TETRIS_STMSPFEAT1R_TRACEBUS_RESETVAL (0x00000001U)
  551. #define CSL_CXSTM_TETRIS_STMSPFEAT1R_TRACEBUS_MAX (0x0000000fU)
  552. #define CSL_CXSTM_TETRIS_STMSPFEAT1R_TRIGCTL_MASK (0x0000C000U)
  553. #define CSL_CXSTM_TETRIS_STMSPFEAT1R_TRIGCTL_SHIFT (14U)
  554. #define CSL_CXSTM_TETRIS_STMSPFEAT1R_TRIGCTL_RESETVAL (0x00000002U)
  555. #define CSL_CXSTM_TETRIS_STMSPFEAT1R_TRIGCTL_MULTI_SHOTANDSINGLE_SHOT (0x00000002U)
  556. #define CSL_CXSTM_TETRIS_STMSPFEAT1R_TSPRESCALE_MASK (0x00030000U)
  557. #define CSL_CXSTM_TETRIS_STMSPFEAT1R_TSPRESCALE_SHIFT (16U)
  558. #define CSL_CXSTM_TETRIS_STMSPFEAT1R_TSPRESCALE_RESETVAL (0x00000001U)
  559. #define CSL_CXSTM_TETRIS_STMSPFEAT1R_TSPRESCALE_NOTIMPLEMENTED (0x00000001U)
  560. #define CSL_CXSTM_TETRIS_STMSPFEAT1R_HWTEN_MASK (0x000C0000U)
  561. #define CSL_CXSTM_TETRIS_STMSPFEAT1R_HWTEN_SHIFT (18U)
  562. #define CSL_CXSTM_TETRIS_STMSPFEAT1R_HWTEN_RESETVAL (0x00000001U)
  563. #define CSL_CXSTM_TETRIS_STMSPFEAT1R_HWTEN_NOTIMPLEMENTED (0x00000001U)
  564. #define CSL_CXSTM_TETRIS_STMSPFEAT1R_SYNCEN_MASK (0x00300000U)
  565. #define CSL_CXSTM_TETRIS_STMSPFEAT1R_SYNCEN_SHIFT (20U)
  566. #define CSL_CXSTM_TETRIS_STMSPFEAT1R_SYNCEN_RESETVAL (0x00000002U)
  567. #define CSL_CXSTM_TETRIS_STMSPFEAT1R_SYNCEN_RAO (0x00000002U)
  568. #define CSL_CXSTM_TETRIS_STMSPFEAT1R_SWOEN_MASK (0x00C00000U)
  569. #define CSL_CXSTM_TETRIS_STMSPFEAT1R_SWOEN_SHIFT (22U)
  570. #define CSL_CXSTM_TETRIS_STMSPFEAT1R_SWOEN_RESETVAL (0x00000001U)
  571. #define CSL_CXSTM_TETRIS_STMSPFEAT1R_SWOEN_NOTIMPLEMENTED (0x00000001U)
  572. #define CSL_CXSTM_TETRIS_STMSPFEAT1R_RESETVAL (0x006587d1U)
  573. /* STMSPFEAT2R */
  574. #define CSL_CXSTM_TETRIS_STMSPFEAT2R_SPTER_MASK (0x00000003U)
  575. #define CSL_CXSTM_TETRIS_STMSPFEAT2R_SPTER_SHIFT (0U)
  576. #define CSL_CXSTM_TETRIS_STMSPFEAT2R_SPTER_RESETVAL (0x00000002U)
  577. #define CSL_CXSTM_TETRIS_STMSPFEAT2R_SPTER_IMPLEMENTED (0x00000002U)
  578. #define CSL_CXSTM_TETRIS_STMSPFEAT2R_SPER_MASK (0x00000004U)
  579. #define CSL_CXSTM_TETRIS_STMSPFEAT2R_SPER_SHIFT (2U)
  580. #define CSL_CXSTM_TETRIS_STMSPFEAT2R_SPER_RESETVAL (0x00000000U)
  581. #define CSL_CXSTM_TETRIS_STMSPFEAT2R_SPER_IMPLEMENTED (0x00000000U)
  582. #define CSL_CXSTM_TETRIS_STMSPFEAT2R_SPCOMP_MASK (0x00000030U)
  583. #define CSL_CXSTM_TETRIS_STMSPFEAT2R_SPCOMP_SHIFT (4U)
  584. #define CSL_CXSTM_TETRIS_STMSPFEAT2R_SPCOMP_RESETVAL (0x00000003U)
  585. #define CSL_CXSTM_TETRIS_STMSPFEAT2R_SPCOMP_PROGRAMMABLE (0x00000003U)
  586. #define CSL_CXSTM_TETRIS_STMSPFEAT2R_SPOVERRIDE_MASK (0x00000040U)
  587. #define CSL_CXSTM_TETRIS_STMSPFEAT2R_SPOVERRIDE_SHIFT (6U)
  588. #define CSL_CXSTM_TETRIS_STMSPFEAT2R_SPOVERRIDE_RESETVAL (0x00000001U)
  589. #define CSL_CXSTM_TETRIS_STMSPFEAT2R_SPOVERRIDE_IMPLEMENTED (0x00000001U)
  590. #define CSL_CXSTM_TETRIS_STMSPFEAT2R_PRIVMASK_MASK (0x00000180U)
  591. #define CSL_CXSTM_TETRIS_STMSPFEAT2R_PRIVMASK_SHIFT (7U)
  592. #define CSL_CXSTM_TETRIS_STMSPFEAT2R_PRIVMASK_RESETVAL (0x00000001U)
  593. #define CSL_CXSTM_TETRIS_STMSPFEAT2R_PRIVMASK_NOTIMPLEMENTED (0x00000001U)
  594. #define CSL_CXSTM_TETRIS_STMSPFEAT2R_SPTRTYPE_MASK (0x00000600U)
  595. #define CSL_CXSTM_TETRIS_STMSPFEAT2R_SPTRTYPE_SHIFT (9U)
  596. #define CSL_CXSTM_TETRIS_STMSPFEAT2R_SPTRTYPE_RESETVAL (0x00000002U)
  597. #define CSL_CXSTM_TETRIS_STMSPFEAT2R_SPTRTYPE_INVARIANTTIMINGANDGUARANTEED (0x00000002U)
  598. #define CSL_CXSTM_TETRIS_STMSPFEAT2R_DSIZE_MASK (0x0000F000U)
  599. #define CSL_CXSTM_TETRIS_STMSPFEAT2R_DSIZE_SHIFT (12U)
  600. #define CSL_CXSTM_TETRIS_STMSPFEAT2R_DSIZE_RESETVAL (0x00000000U)
  601. #define CSL_CXSTM_TETRIS_STMSPFEAT2R_DSIZE_MAX (0x0000000fU)
  602. #define CSL_CXSTM_TETRIS_STMSPFEAT2R_SPTYPE_MASK (0x00030000U)
  603. #define CSL_CXSTM_TETRIS_STMSPFEAT2R_SPTYPE_SHIFT (16U)
  604. #define CSL_CXSTM_TETRIS_STMSPFEAT2R_SPTYPE_RESETVAL (0x00000001U)
  605. #define CSL_CXSTM_TETRIS_STMSPFEAT2R_SPTYPE_EXTENDEDONLY (0x00000001U)
  606. #define CSL_CXSTM_TETRIS_STMSPFEAT2R_RESETVAL (0x000104f2U)
  607. /* STMSPFEAT3R */
  608. #define CSL_CXSTM_TETRIS_STMSPFEAT3R_NUMMAST_MASK (0x0000007FU)
  609. #define CSL_CXSTM_TETRIS_STMSPFEAT3R_NUMMAST_SHIFT (0U)
  610. #define CSL_CXSTM_TETRIS_STMSPFEAT3R_NUMMAST_RESETVAL (0x0000007fU)
  611. #define CSL_CXSTM_TETRIS_STMSPFEAT3R_NUMMAST_MAX (0x0000007fU)
  612. #define CSL_CXSTM_TETRIS_STMSPFEAT3R_RESETVAL (0x0000007fU)
  613. /* STMITTRIGGER */
  614. #define CSL_CXSTM_TETRIS_STMITTRIGGER_TRIGOUTSPTE_W_MASK (0x00000001U)
  615. #define CSL_CXSTM_TETRIS_STMITTRIGGER_TRIGOUTSPTE_W_SHIFT (0U)
  616. #define CSL_CXSTM_TETRIS_STMITTRIGGER_TRIGOUTSPTE_W_RESETVAL (0x00000000U)
  617. #define CSL_CXSTM_TETRIS_STMITTRIGGER_TRIGOUTSPTE_W_HIGH (0x00000001U)
  618. #define CSL_CXSTM_TETRIS_STMITTRIGGER_TRIGOUTSPTE_W_LOW (0x00000000U)
  619. #define CSL_CXSTM_TETRIS_STMITTRIGGER_TRIGOUTSW_W_MASK (0x00000002U)
  620. #define CSL_CXSTM_TETRIS_STMITTRIGGER_TRIGOUTSW_W_SHIFT (1U)
  621. #define CSL_CXSTM_TETRIS_STMITTRIGGER_TRIGOUTSW_W_RESETVAL (0x00000000U)
  622. #define CSL_CXSTM_TETRIS_STMITTRIGGER_TRIGOUTSW_W_HIGH (0x00000001U)
  623. #define CSL_CXSTM_TETRIS_STMITTRIGGER_TRIGOUTSW_W_LOW (0x00000000U)
  624. #define CSL_CXSTM_TETRIS_STMITTRIGGER_TRIGOUTHETE_W_MASK (0x00000004U)
  625. #define CSL_CXSTM_TETRIS_STMITTRIGGER_TRIGOUTHETE_W_SHIFT (2U)
  626. #define CSL_CXSTM_TETRIS_STMITTRIGGER_TRIGOUTHETE_W_RESETVAL (0x00000000U)
  627. #define CSL_CXSTM_TETRIS_STMITTRIGGER_TRIGOUTHETE_W_HIGH (0x00000001U)
  628. #define CSL_CXSTM_TETRIS_STMITTRIGGER_TRIGOUTHETE_W_LOW (0x00000000U)
  629. #define CSL_CXSTM_TETRIS_STMITTRIGGER_ASYNCOUT_W_MASK (0x00000008U)
  630. #define CSL_CXSTM_TETRIS_STMITTRIGGER_ASYNCOUT_W_SHIFT (3U)
  631. #define CSL_CXSTM_TETRIS_STMITTRIGGER_ASYNCOUT_W_RESETVAL (0x00000000U)
  632. #define CSL_CXSTM_TETRIS_STMITTRIGGER_ASYNCOUT_W_HIGH (0x00000001U)
  633. #define CSL_CXSTM_TETRIS_STMITTRIGGER_ASYNCOUT_W_LOW (0x00000000U)
  634. #define CSL_CXSTM_TETRIS_STMITTRIGGER_RESETVAL (0x00000000U)
  635. /* STMITATBDATA0 */
  636. #define CSL_CXSTM_TETRIS_STMITATBDATA0_ATDATAM0_W_MASK (0x00000001U)
  637. #define CSL_CXSTM_TETRIS_STMITATBDATA0_ATDATAM0_W_SHIFT (0U)
  638. #define CSL_CXSTM_TETRIS_STMITATBDATA0_ATDATAM0_W_RESETVAL (0x00000000U)
  639. #define CSL_CXSTM_TETRIS_STMITATBDATA0_ATDATAM0_W_HIGH (0x00000001U)
  640. #define CSL_CXSTM_TETRIS_STMITATBDATA0_ATDATAM0_W_LOW (0x00000000U)
  641. #define CSL_CXSTM_TETRIS_STMITATBDATA0_ATDATAM7_W_MASK (0x00000002U)
  642. #define CSL_CXSTM_TETRIS_STMITATBDATA0_ATDATAM7_W_SHIFT (1U)
  643. #define CSL_CXSTM_TETRIS_STMITATBDATA0_ATDATAM7_W_RESETVAL (0x00000000U)
  644. #define CSL_CXSTM_TETRIS_STMITATBDATA0_ATDATAM7_W_HIGH (0x00000001U)
  645. #define CSL_CXSTM_TETRIS_STMITATBDATA0_ATDATAM7_W_LOW (0x00000000U)
  646. #define CSL_CXSTM_TETRIS_STMITATBDATA0_ATDATAM15_W_MASK (0x00000004U)
  647. #define CSL_CXSTM_TETRIS_STMITATBDATA0_ATDATAM15_W_SHIFT (2U)
  648. #define CSL_CXSTM_TETRIS_STMITATBDATA0_ATDATAM15_W_RESETVAL (0x00000000U)
  649. #define CSL_CXSTM_TETRIS_STMITATBDATA0_ATDATAM15_W_HIGH (0x00000001U)
  650. #define CSL_CXSTM_TETRIS_STMITATBDATA0_ATDATAM15_W_LOW (0x00000000U)
  651. #define CSL_CXSTM_TETRIS_STMITATBDATA0_ATDATAM23_W_MASK (0x00000008U)
  652. #define CSL_CXSTM_TETRIS_STMITATBDATA0_ATDATAM23_W_SHIFT (3U)
  653. #define CSL_CXSTM_TETRIS_STMITATBDATA0_ATDATAM23_W_RESETVAL (0x00000000U)
  654. #define CSL_CXSTM_TETRIS_STMITATBDATA0_ATDATAM23_W_HIGH (0x00000001U)
  655. #define CSL_CXSTM_TETRIS_STMITATBDATA0_ATDATAM23_W_LOW (0x00000000U)
  656. #define CSL_CXSTM_TETRIS_STMITATBDATA0_ATDATAM31_W_MASK (0x00000010U)
  657. #define CSL_CXSTM_TETRIS_STMITATBDATA0_ATDATAM31_W_SHIFT (4U)
  658. #define CSL_CXSTM_TETRIS_STMITATBDATA0_ATDATAM31_W_RESETVAL (0x00000000U)
  659. #define CSL_CXSTM_TETRIS_STMITATBDATA0_ATDATAM31_W_HIGH (0x00000001U)
  660. #define CSL_CXSTM_TETRIS_STMITATBDATA0_ATDATAM31_W_LOW (0x00000000U)
  661. #define CSL_CXSTM_TETRIS_STMITATBDATA0_RESETVAL (0x00000000U)
  662. /* STMITATBCTR2 */
  663. #define CSL_CXSTM_TETRIS_STMITATBCTR2_ATREADYM_R_MASK (0x00000001U)
  664. #define CSL_CXSTM_TETRIS_STMITATBCTR2_ATREADYM_R_SHIFT (0U)
  665. #define CSL_CXSTM_TETRIS_STMITATBCTR2_ATREADYM_R_RESETVAL (0x00000000U)
  666. #define CSL_CXSTM_TETRIS_STMITATBCTR2_ATREADYM_R_HIGH (0x00000001U)
  667. #define CSL_CXSTM_TETRIS_STMITATBCTR2_ATREADYM_R_LOW (0x00000000U)
  668. #define CSL_CXSTM_TETRIS_STMITATBCTR2_AFVALIDM_R_MASK (0x00000002U)
  669. #define CSL_CXSTM_TETRIS_STMITATBCTR2_AFVALIDM_R_SHIFT (1U)
  670. #define CSL_CXSTM_TETRIS_STMITATBCTR2_AFVALIDM_R_RESETVAL (0x00000000U)
  671. #define CSL_CXSTM_TETRIS_STMITATBCTR2_AFVALIDM_R_HIGH (0x00000001U)
  672. #define CSL_CXSTM_TETRIS_STMITATBCTR2_AFVALIDM_R_LOW (0x00000000U)
  673. #define CSL_CXSTM_TETRIS_STMITATBCTR2_RESETVAL (0x00000000U)
  674. /* STMITATBID */
  675. #define CSL_CXSTM_TETRIS_STMITATBID_ATIDM_W_MASK (0x0000007FU)
  676. #define CSL_CXSTM_TETRIS_STMITATBID_ATIDM_W_SHIFT (0U)
  677. #define CSL_CXSTM_TETRIS_STMITATBID_ATIDM_W_RESETVAL (0x00000000U)
  678. #define CSL_CXSTM_TETRIS_STMITATBID_ATIDM_W_MAX (0x0000007fU)
  679. #define CSL_CXSTM_TETRIS_STMITATBID_RESETVAL (0x00000000U)
  680. /* STMITATBCTR0 */
  681. #define CSL_CXSTM_TETRIS_STMITATBCTR0_ATVALIDM_W_MASK (0x00000001U)
  682. #define CSL_CXSTM_TETRIS_STMITATBCTR0_ATVALIDM_W_SHIFT (0U)
  683. #define CSL_CXSTM_TETRIS_STMITATBCTR0_ATVALIDM_W_RESETVAL (0x00000000U)
  684. #define CSL_CXSTM_TETRIS_STMITATBCTR0_ATVALIDM_W_HIGH (0x00000001U)
  685. #define CSL_CXSTM_TETRIS_STMITATBCTR0_ATVALIDM_W_LOW (0x00000000U)
  686. #define CSL_CXSTM_TETRIS_STMITATBCTR0_AFREADYM_W_MASK (0x00000002U)
  687. #define CSL_CXSTM_TETRIS_STMITATBCTR0_AFREADYM_W_SHIFT (1U)
  688. #define CSL_CXSTM_TETRIS_STMITATBCTR0_AFREADYM_W_RESETVAL (0x00000000U)
  689. #define CSL_CXSTM_TETRIS_STMITATBCTR0_AFREADYM_W_HIGH (0x00000001U)
  690. #define CSL_CXSTM_TETRIS_STMITATBCTR0_AFREADYM_W_LOW (0x00000000U)
  691. #define CSL_CXSTM_TETRIS_STMITATBCTR0_ATBYTESM_W_MASK (0x00000300U)
  692. #define CSL_CXSTM_TETRIS_STMITATBCTR0_ATBYTESM_W_SHIFT (8U)
  693. #define CSL_CXSTM_TETRIS_STMITATBCTR0_ATBYTESM_W_RESETVAL (0x00000000U)
  694. #define CSL_CXSTM_TETRIS_STMITATBCTR0_ATBYTESM_W_L11 (0x00000003U)
  695. #define CSL_CXSTM_TETRIS_STMITATBCTR0_ATBYTESM_W_L10 (0x00000002U)
  696. #define CSL_CXSTM_TETRIS_STMITATBCTR0_ATBYTESM_W_L01 (0x00000001U)
  697. #define CSL_CXSTM_TETRIS_STMITATBCTR0_ATBYTESM_W_L00 (0x00000000U)
  698. #define CSL_CXSTM_TETRIS_STMITATBCTR0_RESETVAL (0x00000000U)
  699. /* STMITCTRL */
  700. #define CSL_CXSTM_TETRIS_STMITCTRL_INTEGRATION_MODE_MASK (0x00000001U)
  701. #define CSL_CXSTM_TETRIS_STMITCTRL_INTEGRATION_MODE_SHIFT (0U)
  702. #define CSL_CXSTM_TETRIS_STMITCTRL_INTEGRATION_MODE_RESETVAL (0x00000000U)
  703. #define CSL_CXSTM_TETRIS_STMITCTRL_INTEGRATION_MODE_INTEGRATIONMODE (0x00000001U)
  704. #define CSL_CXSTM_TETRIS_STMITCTRL_INTEGRATION_MODE_FUNCTIONALMODE (0x00000000U)
  705. #define CSL_CXSTM_TETRIS_STMITCTRL_RESETVAL (0x00000000U)
  706. /* STMCLAIMSET */
  707. #define CSL_CXSTM_TETRIS_STMCLAIMSET_CLAIMSET_R_MASK (0x0000000FU)
  708. #define CSL_CXSTM_TETRIS_STMCLAIMSET_CLAIMSET_R_SHIFT (0U)
  709. #define CSL_CXSTM_TETRIS_STMCLAIMSET_CLAIMSET_R_RESETVAL (0x0000000fU)
  710. #define CSL_CXSTM_TETRIS_STMCLAIMSET_CLAIMSET_R_MAX (0x0000000fU)
  711. #define CSL_CXSTM_TETRIS_STMCLAIMSET_CLAIMSET_W_MASK (0x0000000FU)
  712. #define CSL_CXSTM_TETRIS_STMCLAIMSET_CLAIMSET_W_SHIFT (0U)
  713. #define CSL_CXSTM_TETRIS_STMCLAIMSET_CLAIMSET_W_RESETVAL (0x0000000fU)
  714. #define CSL_CXSTM_TETRIS_STMCLAIMSET_CLAIMSET_W_MAX (0x0000000fU)
  715. #define CSL_CXSTM_TETRIS_STMCLAIMSET_RESETVAL (0x0000000fU)
  716. /* STMCLAIMCLR */
  717. #define CSL_CXSTM_TETRIS_STMCLAIMCLR_CLAIMCLR_R_MASK (0x0000000FU)
  718. #define CSL_CXSTM_TETRIS_STMCLAIMCLR_CLAIMCLR_R_SHIFT (0U)
  719. #define CSL_CXSTM_TETRIS_STMCLAIMCLR_CLAIMCLR_R_RESETVAL (0x00000000U)
  720. #define CSL_CXSTM_TETRIS_STMCLAIMCLR_CLAIMCLR_R_MAX (0x0000000fU)
  721. #define CSL_CXSTM_TETRIS_STMCLAIMCLR_CLAIMCLR_W_MASK (0x0000000FU)
  722. #define CSL_CXSTM_TETRIS_STMCLAIMCLR_CLAIMCLR_W_SHIFT (0U)
  723. #define CSL_CXSTM_TETRIS_STMCLAIMCLR_CLAIMCLR_W_RESETVAL (0x00000000U)
  724. #define CSL_CXSTM_TETRIS_STMCLAIMCLR_CLAIMCLR_W_MAX (0x0000000fU)
  725. #define CSL_CXSTM_TETRIS_STMCLAIMCLR_RESETVAL (0x00000000U)
  726. /* STMLAR */
  727. #define CSL_CXSTM_TETRIS_STMLAR_ACCESS_W_MASK (0xFFFFFFFFU)
  728. #define CSL_CXSTM_TETRIS_STMLAR_ACCESS_W_SHIFT (0U)
  729. #define CSL_CXSTM_TETRIS_STMLAR_ACCESS_W_RESETVAL (0x00000000U)
  730. #define CSL_CXSTM_TETRIS_STMLAR_ACCESS_W_MAX (0xffffffffU)
  731. #define CSL_CXSTM_TETRIS_STMLAR_RESETVAL (0x00000000U)
  732. /* STMLSR */
  733. #define CSL_CXSTM_TETRIS_STMLSR_LOCKEXIST_MASK (0x00000001U)
  734. #define CSL_CXSTM_TETRIS_STMLSR_LOCKEXIST_SHIFT (0U)
  735. #define CSL_CXSTM_TETRIS_STMLSR_LOCKEXIST_RESETVAL (0x00000001U)
  736. #define CSL_CXSTM_TETRIS_STMLSR_LOCKEXIST_LOCKNOTPRESENT (0x00000000U)
  737. #define CSL_CXSTM_TETRIS_STMLSR_LOCKEXIST_LOCKPRESENT (0x00000001U)
  738. #define CSL_CXSTM_TETRIS_STMLSR_LOCKGRANT_MASK (0x00000002U)
  739. #define CSL_CXSTM_TETRIS_STMLSR_LOCKGRANT_SHIFT (1U)
  740. #define CSL_CXSTM_TETRIS_STMLSR_LOCKGRANT_RESETVAL (0x00000001U)
  741. #define CSL_CXSTM_TETRIS_STMLSR_LOCKGRANT_ACCESSPERMITTED (0x00000000U)
  742. #define CSL_CXSTM_TETRIS_STMLSR_LOCKGRANT_DEVICELOCKED (0x00000001U)
  743. #define CSL_CXSTM_TETRIS_STMLSR_LOCKTYPE_MASK (0x00000004U)
  744. #define CSL_CXSTM_TETRIS_STMLSR_LOCKTYPE_SHIFT (2U)
  745. #define CSL_CXSTM_TETRIS_STMLSR_LOCKTYPE_RESETVAL (0x00000000U)
  746. #define CSL_CXSTM_TETRIS_STMLSR_LOCKTYPE_LAR32BIT (0x00000000U)
  747. #define CSL_CXSTM_TETRIS_STMLSR_RESETVAL (0x00000003U)
  748. /* STMAUTHSTATUS */
  749. #define CSL_CXSTM_TETRIS_STMAUTHSTATUS_NSID_MASK (0x00000003U)
  750. #define CSL_CXSTM_TETRIS_STMAUTHSTATUS_NSID_SHIFT (0U)
  751. #define CSL_CXSTM_TETRIS_STMAUTHSTATUS_NSID_RESETVAL (0x00000002U)
  752. #define CSL_CXSTM_TETRIS_STMAUTHSTATUS_NSID_DISABLED (0x00000002U)
  753. #define CSL_CXSTM_TETRIS_STMAUTHSTATUS_NSID_ENABLED (0x00000003U)
  754. #define CSL_CXSTM_TETRIS_STMAUTHSTATUS_NSNID_MASK (0x0000000CU)
  755. #define CSL_CXSTM_TETRIS_STMAUTHSTATUS_NSNID_SHIFT (2U)
  756. #define CSL_CXSTM_TETRIS_STMAUTHSTATUS_NSNID_RESETVAL (0x00000002U)
  757. #define CSL_CXSTM_TETRIS_STMAUTHSTATUS_NSNID_DISABLED (0x00000002U)
  758. #define CSL_CXSTM_TETRIS_STMAUTHSTATUS_NSNID_ENABLED (0x00000003U)
  759. #define CSL_CXSTM_TETRIS_STMAUTHSTATUS_SID_MASK (0x00000030U)
  760. #define CSL_CXSTM_TETRIS_STMAUTHSTATUS_SID_SHIFT (4U)
  761. #define CSL_CXSTM_TETRIS_STMAUTHSTATUS_SID_RESETVAL (0x00000002U)
  762. #define CSL_CXSTM_TETRIS_STMAUTHSTATUS_SID_DISABLED (0x00000002U)
  763. #define CSL_CXSTM_TETRIS_STMAUTHSTATUS_SID_ENABLED (0x00000003U)
  764. #define CSL_CXSTM_TETRIS_STMAUTHSTATUS_SNID_MASK (0x000000C0U)
  765. #define CSL_CXSTM_TETRIS_STMAUTHSTATUS_SNID_SHIFT (6U)
  766. #define CSL_CXSTM_TETRIS_STMAUTHSTATUS_SNID_RESETVAL (0x00000002U)
  767. #define CSL_CXSTM_TETRIS_STMAUTHSTATUS_SNID_DISABLED (0x00000002U)
  768. #define CSL_CXSTM_TETRIS_STMAUTHSTATUS_SNID_ENABLED (0x00000003U)
  769. #define CSL_CXSTM_TETRIS_STMAUTHSTATUS_RESETVAL (0x000000aaU)
  770. /* STMDEVID */
  771. #define CSL_CXSTM_TETRIS_STMDEVID_NUMSP_MASK (0x0001FFFFU)
  772. #define CSL_CXSTM_TETRIS_STMDEVID_NUMSP_SHIFT (0U)
  773. #define CSL_CXSTM_TETRIS_STMDEVID_NUMSP_RESETVAL (0x00010000U)
  774. #define CSL_CXSTM_TETRIS_STMDEVID_NUMSP_MAX (0x0001ffffU)
  775. #define CSL_CXSTM_TETRIS_STMDEVID_RESETVAL (0x00010000U)
  776. /* STMDEVTYPE */
  777. #define CSL_CXSTM_TETRIS_STMDEVTYPE_MAJOR_TYPE_MASK (0x0000000FU)
  778. #define CSL_CXSTM_TETRIS_STMDEVTYPE_MAJOR_TYPE_SHIFT (0U)
  779. #define CSL_CXSTM_TETRIS_STMDEVTYPE_MAJOR_TYPE_RESETVAL (0x00000003U)
  780. #define CSL_CXSTM_TETRIS_STMDEVTYPE_MAJOR_TYPE_MAX (0x0000000fU)
  781. #define CSL_CXSTM_TETRIS_STMDEVTYPE_SUB_TYPE_MASK (0x000000F0U)
  782. #define CSL_CXSTM_TETRIS_STMDEVTYPE_SUB_TYPE_SHIFT (4U)
  783. #define CSL_CXSTM_TETRIS_STMDEVTYPE_SUB_TYPE_RESETVAL (0x00000006U)
  784. #define CSL_CXSTM_TETRIS_STMDEVTYPE_SUB_TYPE_MAX (0x0000000fU)
  785. #define CSL_CXSTM_TETRIS_STMDEVTYPE_RESETVAL (0x00000063U)
  786. /* STMPIDR0 */
  787. #define CSL_CXSTM_TETRIS_STMPIDR0_PART_NUMBER_BITS7TO0_MASK (0x000000FFU)
  788. #define CSL_CXSTM_TETRIS_STMPIDR0_PART_NUMBER_BITS7TO0_SHIFT (0U)
  789. #define CSL_CXSTM_TETRIS_STMPIDR0_PART_NUMBER_BITS7TO0_RESETVAL (0x00000062U)
  790. #define CSL_CXSTM_TETRIS_STMPIDR0_PART_NUMBER_BITS7TO0_MAX (0x000000ffU)
  791. #define CSL_CXSTM_TETRIS_STMPIDR0_RESETVAL (0x00000062U)
  792. /* STMPIDR1 */
  793. #define CSL_CXSTM_TETRIS_STMPIDR1_PART_NUMBER_BITS11TO8_MASK (0x0000000FU)
  794. #define CSL_CXSTM_TETRIS_STMPIDR1_PART_NUMBER_BITS11TO8_SHIFT (0U)
  795. #define CSL_CXSTM_TETRIS_STMPIDR1_PART_NUMBER_BITS11TO8_RESETVAL (0x00000009U)
  796. #define CSL_CXSTM_TETRIS_STMPIDR1_PART_NUMBER_BITS11TO8_MAX (0x0000000fU)
  797. #define CSL_CXSTM_TETRIS_STMPIDR1_JEP106_BITS3TO0_MASK (0x000000F0U)
  798. #define CSL_CXSTM_TETRIS_STMPIDR1_JEP106_BITS3TO0_SHIFT (4U)
  799. #define CSL_CXSTM_TETRIS_STMPIDR1_JEP106_BITS3TO0_RESETVAL (0x0000000bU)
  800. #define CSL_CXSTM_TETRIS_STMPIDR1_JEP106_BITS3TO0_MAX (0x0000000fU)
  801. #define CSL_CXSTM_TETRIS_STMPIDR1_RESETVAL (0x000000b9U)
  802. /* STMPIDR2 */
  803. #define CSL_CXSTM_TETRIS_STMPIDR2_JEP106_BITS6TO4_MASK (0x00000007U)
  804. #define CSL_CXSTM_TETRIS_STMPIDR2_JEP106_BITS6TO4_SHIFT (0U)
  805. #define CSL_CXSTM_TETRIS_STMPIDR2_JEP106_BITS6TO4_RESETVAL (0x00000003U)
  806. #define CSL_CXSTM_TETRIS_STMPIDR2_JEP106_BITS6TO4_ARMJEP106IDENTITYCODE64 (0x00000003U)
  807. #define CSL_CXSTM_TETRIS_STMPIDR2_JEDEC_MASK (0x00000008U)
  808. #define CSL_CXSTM_TETRIS_STMPIDR2_JEDEC_SHIFT (3U)
  809. #define CSL_CXSTM_TETRIS_STMPIDR2_JEDEC_RESETVAL (0x00000001U)
  810. #define CSL_CXSTM_TETRIS_STMPIDR2_JEDEC_JEDECIDENTITY (0x00000001U)
  811. #define CSL_CXSTM_TETRIS_STMPIDR2_REVISION_MASK (0x000000F0U)
  812. #define CSL_CXSTM_TETRIS_STMPIDR2_REVISION_SHIFT (4U)
  813. #define CSL_CXSTM_TETRIS_STMPIDR2_REVISION_RESETVAL (0x00000001U)
  814. #define CSL_CXSTM_TETRIS_STMPIDR2_REVISION_MAX (0x0000000fU)
  815. #define CSL_CXSTM_TETRIS_STMPIDR2_RESETVAL (0x0000001bU)
  816. /* STMPIDR3 */
  817. #define CSL_CXSTM_TETRIS_STMPIDR3_CUSTOMER_MODIFIED_MASK (0x0000000FU)
  818. #define CSL_CXSTM_TETRIS_STMPIDR3_CUSTOMER_MODIFIED_SHIFT (0U)
  819. #define CSL_CXSTM_TETRIS_STMPIDR3_CUSTOMER_MODIFIED_RESETVAL (0x00000000U)
  820. #define CSL_CXSTM_TETRIS_STMPIDR3_CUSTOMER_MODIFIED_MAX (0x0000000fU)
  821. #define CSL_CXSTM_TETRIS_STMPIDR3_REVAND_MASK (0x000000F0U)
  822. #define CSL_CXSTM_TETRIS_STMPIDR3_REVAND_SHIFT (4U)
  823. #define CSL_CXSTM_TETRIS_STMPIDR3_REVAND_RESETVAL (0x00000000U)
  824. #define CSL_CXSTM_TETRIS_STMPIDR3_REVAND_MAX (0x0000000fU)
  825. #define CSL_CXSTM_TETRIS_STMPIDR3_RESETVAL (0x00000000U)
  826. /* STMPIDR4 */
  827. #define CSL_CXSTM_TETRIS_STMPIDR4_JEP106_CONT_MASK (0x0000000FU)
  828. #define CSL_CXSTM_TETRIS_STMPIDR4_JEP106_CONT_SHIFT (0U)
  829. #define CSL_CXSTM_TETRIS_STMPIDR4_JEP106_CONT_RESETVAL (0x00000004U)
  830. #define CSL_CXSTM_TETRIS_STMPIDR4_JEP106_CONT_MAX (0x0000000fU)
  831. #define CSL_CXSTM_TETRIS_STMPIDR4_FOURKB_COUNT_MASK (0x000000F0U)
  832. #define CSL_CXSTM_TETRIS_STMPIDR4_FOURKB_COUNT_SHIFT (4U)
  833. #define CSL_CXSTM_TETRIS_STMPIDR4_FOURKB_COUNT_RESETVAL (0x00000000U)
  834. #define CSL_CXSTM_TETRIS_STMPIDR4_FOURKB_COUNT_MAX (0x0000000fU)
  835. #define CSL_CXSTM_TETRIS_STMPIDR4_RESETVAL (0x00000004U)
  836. /* STMPIDR5 */
  837. #define CSL_CXSTM_TETRIS_STMPIDR5_RESETVAL (0x00000000U)
  838. /* STMPIDR6 */
  839. #define CSL_CXSTM_TETRIS_STMPIDR6_RESETVAL (0x00000000U)
  840. /* STMPIDR7 */
  841. #define CSL_CXSTM_TETRIS_STMPIDR7_RESETVAL (0x00000000U)
  842. /* STMCIDR0 */
  843. #define CSL_CXSTM_TETRIS_STMCIDR0_PREAMBLE_MASK (0x000000FFU)
  844. #define CSL_CXSTM_TETRIS_STMCIDR0_PREAMBLE_SHIFT (0U)
  845. #define CSL_CXSTM_TETRIS_STMCIDR0_PREAMBLE_RESETVAL (0x0000000dU)
  846. #define CSL_CXSTM_TETRIS_STMCIDR0_PREAMBLE_MAX (0x000000ffU)
  847. #define CSL_CXSTM_TETRIS_STMCIDR0_RESETVAL (0x0000000dU)
  848. /* STMCIDR1 */
  849. #define CSL_CXSTM_TETRIS_STMCIDR1_PREAMBLE_MASK (0x0000000FU)
  850. #define CSL_CXSTM_TETRIS_STMCIDR1_PREAMBLE_SHIFT (0U)
  851. #define CSL_CXSTM_TETRIS_STMCIDR1_PREAMBLE_RESETVAL (0x00000000U)
  852. #define CSL_CXSTM_TETRIS_STMCIDR1_PREAMBLE_MAX (0x0000000fU)
  853. #define CSL_CXSTM_TETRIS_STMCIDR1_CLASS_MASK (0x000000F0U)
  854. #define CSL_CXSTM_TETRIS_STMCIDR1_CLASS_SHIFT (4U)
  855. #define CSL_CXSTM_TETRIS_STMCIDR1_CLASS_RESETVAL (0x00000009U)
  856. #define CSL_CXSTM_TETRIS_STMCIDR1_CLASS_MAX (0x0000000fU)
  857. #define CSL_CXSTM_TETRIS_STMCIDR1_RESETVAL (0x00000090U)
  858. /* STMCIDR2 */
  859. #define CSL_CXSTM_TETRIS_STMCIDR2_PREAMBLE_MASK (0x000000FFU)
  860. #define CSL_CXSTM_TETRIS_STMCIDR2_PREAMBLE_SHIFT (0U)
  861. #define CSL_CXSTM_TETRIS_STMCIDR2_PREAMBLE_RESETVAL (0x00000005U)
  862. #define CSL_CXSTM_TETRIS_STMCIDR2_PREAMBLE_MAX (0x000000ffU)
  863. #define CSL_CXSTM_TETRIS_STMCIDR2_RESETVAL (0x00000005U)
  864. /* STMCIDR3 */
  865. #define CSL_CXSTM_TETRIS_STMCIDR3_PREAMBLE_MASK (0x000000FFU)
  866. #define CSL_CXSTM_TETRIS_STMCIDR3_PREAMBLE_SHIFT (0U)
  867. #define CSL_CXSTM_TETRIS_STMCIDR3_PREAMBLE_RESETVAL (0x000000b1U)
  868. #define CSL_CXSTM_TETRIS_STMCIDR3_PREAMBLE_MAX (0x000000ffU)
  869. #define CSL_CXSTM_TETRIS_STMCIDR3_RESETVAL (0x000000b1U)
  870. #ifdef __cplusplus
  871. }
  872. #endif
  873. #endif