cslr_gpu.h 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632
  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_GPU_H_
  34. #define CSLR_GPU_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 ALL
  43. **************************************************************************/
  44. typedef struct {
  45. volatile Uint32 REVISION;
  46. volatile Uint32 HWINFO;
  47. volatile Uint8 RSVD0[8];
  48. volatile Uint32 SYSCONFIG;
  49. volatile Uint8 RSVD1[16];
  50. volatile Uint32 IRQSTATUS_RAW_0;
  51. volatile Uint32 IRQSTATUS_RAW_1;
  52. volatile Uint32 IRQSTATUS_RAW_2;
  53. volatile Uint32 IRQSTATUS_0;
  54. volatile Uint32 IRQSTATUS_1;
  55. volatile Uint32 IRQSTATUS_2;
  56. volatile Uint32 IRQENABLE_SET_0;
  57. volatile Uint32 IRQENABLE_SET_1;
  58. volatile Uint32 IRQENABLE_SET_2;
  59. volatile Uint32 IRQENABLE_CLR_0;
  60. volatile Uint32 IRQENABLE_CLR_1;
  61. volatile Uint32 IRQENABLE_CLR_2;
  62. volatile Uint8 RSVD2[172];
  63. volatile Uint32 PAGE_CONFIG;
  64. volatile Uint32 INTERRUPT_EVENT;
  65. volatile Uint32 DEBUG_CONFIG;
  66. volatile Uint32 DEBUG_STATUS_0;
  67. volatile Uint32 DEBUG_STATUS_1;
  68. volatile Uint8 RSVD3[236];
  69. } CSL_GpuRegs;
  70. /**************************************************************************
  71. * Register Macros
  72. **************************************************************************/
  73. /* See IPG spec for more details. */
  74. #define CSL_GPU_REVISION (0x0U)
  75. /* HWINFO */
  76. #define CSL_GPU_HWINFO (0x4U)
  77. /* SYSCONFIG */
  78. #define CSL_GPU_SYSCONFIG (0x10U)
  79. /* IRQSTATUS_RAW_0 */
  80. #define CSL_GPU_IRQSTATUS_RAW_0 (0x24U)
  81. /* IRQSTATUS_RAW_1 */
  82. #define CSL_GPU_IRQSTATUS_RAW_1 (0x28U)
  83. /* IRQSTATUS_RAW_2 */
  84. #define CSL_GPU_IRQSTATUS_RAW_2 (0x2CU)
  85. /* IRQSTATUS_0 */
  86. #define CSL_GPU_IRQSTATUS_0 (0x30U)
  87. /* IRQSTATUS_1 */
  88. #define CSL_GPU_IRQSTATUS_1 (0x34U)
  89. /* IRQSTATUS_2 */
  90. #define CSL_GPU_IRQSTATUS_2 (0x38U)
  91. /* IRQENABLE_SET_0 */
  92. #define CSL_GPU_IRQENABLE_SET_0 (0x3CU)
  93. /* IRQENABLE_SET_1 */
  94. #define CSL_GPU_IRQENABLE_SET_1 (0x40U)
  95. /* IRQENABLE_SET_2 */
  96. #define CSL_GPU_IRQENABLE_SET_2 (0x44U)
  97. /* IRQENABLE_CLR_0 */
  98. #define CSL_GPU_IRQENABLE_CLR_0 (0x48U)
  99. /* IRQENABLE_CLR_1 */
  100. #define CSL_GPU_IRQENABLE_CLR_1 (0x4CU)
  101. /* IRQENABLE_CLR_2 */
  102. #define CSL_GPU_IRQENABLE_CLR_2 (0x50U)
  103. /* PAGE_CONFIG */
  104. #define CSL_GPU_PAGE_CONFIG (0x100U)
  105. /* INTERRUPT_EVENT */
  106. #define CSL_GPU_INTERRUPT_EVENT (0x104U)
  107. /* DEBUG_CONFIG */
  108. #define CSL_GPU_DEBUG_CONFIG (0x108U)
  109. /* Port0 Debug Status Register */
  110. #define CSL_GPU_DEBUG_STATUS_0 (0x10CU)
  111. /* Port1 Debug Status Register */
  112. #define CSL_GPU_DEBUG_STATUS_1 (0x110U)
  113. /**************************************************************************
  114. * Field Definition Macros
  115. **************************************************************************/
  116. /* REVISION */
  117. #define CSL_GPU_REVISION_RESETVAL (0x40000000U)
  118. /* HWINFO */
  119. #define CSL_GPU_HWINFO_MEM_BUS_WIDTH_MASK (0x00000004U)
  120. #define CSL_GPU_HWINFO_MEM_BUS_WIDTH_SHIFT (2U)
  121. #define CSL_GPU_HWINFO_MEM_BUS_WIDTH_RESETVAL (0x00000001U)
  122. #define CSL_GPU_HWINFO_MEM_BUS_WIDTH_MAX (0x00000001U)
  123. #define CSL_GPU_HWINFO_SYS_BUS_WIDTH_MASK (0x00000003U)
  124. #define CSL_GPU_HWINFO_SYS_BUS_WIDTH_SHIFT (0U)
  125. #define CSL_GPU_HWINFO_SYS_BUS_WIDTH_RESETVAL (0x00000001U)
  126. #define CSL_GPU_HWINFO_SYS_BUS_WIDTH_MAX (0x00000003U)
  127. #define CSL_GPU_HWINFO_RESETVAL (0x00000005U)
  128. /* SYSCONFIG */
  129. #define CSL_GPU_SYSCONFIG_STANDBY_MODE_MASK (0x00000030U)
  130. #define CSL_GPU_SYSCONFIG_STANDBY_MODE_SHIFT (4U)
  131. #define CSL_GPU_SYSCONFIG_STANDBY_MODE_RESETVAL (0x00000002U)
  132. #define CSL_GPU_SYSCONFIG_STANDBY_MODE_MAX (0x00000003U)
  133. #define CSL_GPU_SYSCONFIG_IDLE_MODE_MASK (0x0000000CU)
  134. #define CSL_GPU_SYSCONFIG_IDLE_MODE_SHIFT (2U)
  135. #define CSL_GPU_SYSCONFIG_IDLE_MODE_RESETVAL (0x00000002U)
  136. #define CSL_GPU_SYSCONFIG_IDLE_MODE_MAX (0x00000003U)
  137. #define CSL_GPU_SYSCONFIG_RESETVAL (0x00000028U)
  138. /* IRQSTATUS_RAW_0 */
  139. #define CSL_GPU_IRQSTATUS_RAW_0_INIT_MINTERRUPT_RAW_MASK (0x00000001U)
  140. #define CSL_GPU_IRQSTATUS_RAW_0_INIT_MINTERRUPT_RAW_SHIFT (0U)
  141. #define CSL_GPU_IRQSTATUS_RAW_0_INIT_MINTERRUPT_RAW_RESETVAL (0x00000000U)
  142. #define CSL_GPU_IRQSTATUS_RAW_0_INIT_MINTERRUPT_RAW_MAX (0x00000001U)
  143. #define CSL_GPU_IRQSTATUS_RAW_0_RESETVAL (0x00000000U)
  144. /* IRQSTATUS_RAW_1 */
  145. #define CSL_GPU_IRQSTATUS_RAW_1_TARGET_SINTERRUPT_RAW_MASK (0x00000001U)
  146. #define CSL_GPU_IRQSTATUS_RAW_1_TARGET_SINTERRUPT_RAW_SHIFT (0U)
  147. #define CSL_GPU_IRQSTATUS_RAW_1_TARGET_SINTERRUPT_RAW_RESETVAL (0x00000000U)
  148. #define CSL_GPU_IRQSTATUS_RAW_1_TARGET_SINTERRUPT_RAW_MAX (0x00000001U)
  149. #define CSL_GPU_IRQSTATUS_RAW_1_RESETVAL (0x00000000U)
  150. /* IRQSTATUS_RAW_2 */
  151. #define CSL_GPU_IRQSTATUS_RAW_2_THALIA_IRQ_RAW_MASK (0x00000001U)
  152. #define CSL_GPU_IRQSTATUS_RAW_2_THALIA_IRQ_RAW_SHIFT (0U)
  153. #define CSL_GPU_IRQSTATUS_RAW_2_THALIA_IRQ_RAW_RESETVAL (0x00000000U)
  154. #define CSL_GPU_IRQSTATUS_RAW_2_THALIA_IRQ_RAW_MAX (0x00000001U)
  155. #define CSL_GPU_IRQSTATUS_RAW_2_RESETVAL (0x00000000U)
  156. /* IRQSTATUS_0 */
  157. #define CSL_GPU_IRQSTATUS_0_INIT_MINTERRUPT_STATUS_MASK (0x00000001U)
  158. #define CSL_GPU_IRQSTATUS_0_INIT_MINTERRUPT_STATUS_SHIFT (0U)
  159. #define CSL_GPU_IRQSTATUS_0_INIT_MINTERRUPT_STATUS_RESETVAL (0x00000000U)
  160. #define CSL_GPU_IRQSTATUS_0_INIT_MINTERRUPT_STATUS_MAX (0x00000001U)
  161. #define CSL_GPU_IRQSTATUS_0_RESETVAL (0x00000000U)
  162. /* IRQSTATUS_1 */
  163. #define CSL_GPU_IRQSTATUS_1_TARGET_SINTERRUPT_STATUS_MASK (0x00000001U)
  164. #define CSL_GPU_IRQSTATUS_1_TARGET_SINTERRUPT_STATUS_SHIFT (0U)
  165. #define CSL_GPU_IRQSTATUS_1_TARGET_SINTERRUPT_STATUS_RESETVAL (0x00000000U)
  166. #define CSL_GPU_IRQSTATUS_1_TARGET_SINTERRUPT_STATUS_MAX (0x00000001U)
  167. #define CSL_GPU_IRQSTATUS_1_RESETVAL (0x00000000U)
  168. /* IRQSTATUS_2 */
  169. #define CSL_GPU_IRQSTATUS_2_THALIA_IRQ_STATUS_MASK (0x00000001U)
  170. #define CSL_GPU_IRQSTATUS_2_THALIA_IRQ_STATUS_SHIFT (0U)
  171. #define CSL_GPU_IRQSTATUS_2_THALIA_IRQ_STATUS_RESETVAL (0x00000000U)
  172. #define CSL_GPU_IRQSTATUS_2_THALIA_IRQ_STATUS_MAX (0x00000001U)
  173. #define CSL_GPU_IRQSTATUS_2_RESETVAL (0x00000000U)
  174. /* IRQENABLE_SET_0 */
  175. #define CSL_GPU_IRQENABLE_SET_0_INIT_MINTERRUPT_ENABLE_MASK (0x00000001U)
  176. #define CSL_GPU_IRQENABLE_SET_0_INIT_MINTERRUPT_ENABLE_SHIFT (0U)
  177. #define CSL_GPU_IRQENABLE_SET_0_INIT_MINTERRUPT_ENABLE_RESETVAL (0x00000000U)
  178. #define CSL_GPU_IRQENABLE_SET_0_INIT_MINTERRUPT_ENABLE_MAX (0x00000001U)
  179. #define CSL_GPU_IRQENABLE_SET_0_RESETVAL (0x00000000U)
  180. /* IRQENABLE_SET_1 */
  181. #define CSL_GPU_IRQENABLE_SET_1_TARGET_SINTERRUPT_ENABLE_MASK (0x00000001U)
  182. #define CSL_GPU_IRQENABLE_SET_1_TARGET_SINTERRUPT_ENABLE_SHIFT (0U)
  183. #define CSL_GPU_IRQENABLE_SET_1_TARGET_SINTERRUPT_ENABLE_RESETVAL (0x00000000U)
  184. #define CSL_GPU_IRQENABLE_SET_1_TARGET_SINTERRUPT_ENABLE_MAX (0x00000001U)
  185. #define CSL_GPU_IRQENABLE_SET_1_RESETVAL (0x00000000U)
  186. /* IRQENABLE_SET_2 */
  187. #define CSL_GPU_IRQENABLE_SET_2_THALIA_IRQ_ENABLE_MASK (0x00000001U)
  188. #define CSL_GPU_IRQENABLE_SET_2_THALIA_IRQ_ENABLE_SHIFT (0U)
  189. #define CSL_GPU_IRQENABLE_SET_2_THALIA_IRQ_ENABLE_RESETVAL (0x00000000U)
  190. #define CSL_GPU_IRQENABLE_SET_2_THALIA_IRQ_ENABLE_MAX (0x00000001U)
  191. #define CSL_GPU_IRQENABLE_SET_2_RESETVAL (0x00000000U)
  192. /* IRQENABLE_CLR_0 */
  193. #define CSL_GPU_IRQENABLE_CLR_0_INIT_MINTERRUPT_DISABLE_MASK (0x00000001U)
  194. #define CSL_GPU_IRQENABLE_CLR_0_INIT_MINTERRUPT_DISABLE_SHIFT (0U)
  195. #define CSL_GPU_IRQENABLE_CLR_0_INIT_MINTERRUPT_DISABLE_RESETVAL (0x00000000U)
  196. #define CSL_GPU_IRQENABLE_CLR_0_INIT_MINTERRUPT_DISABLE_MAX (0x00000001U)
  197. #define CSL_GPU_IRQENABLE_CLR_0_RESETVAL (0x00000000U)
  198. /* IRQENABLE_CLR_1 */
  199. #define CSL_GPU_IRQENABLE_CLR_1_TARGET_SINTERRUPT_DISABLE_MASK (0x00000001U)
  200. #define CSL_GPU_IRQENABLE_CLR_1_TARGET_SINTERRUPT_DISABLE_SHIFT (0U)
  201. #define CSL_GPU_IRQENABLE_CLR_1_TARGET_SINTERRUPT_DISABLE_RESETVAL (0x00000000U)
  202. #define CSL_GPU_IRQENABLE_CLR_1_TARGET_SINTERRUPT_DISABLE_MAX (0x00000001U)
  203. #define CSL_GPU_IRQENABLE_CLR_1_RESETVAL (0x00000000U)
  204. /* IRQENABLE_CLR_2 */
  205. #define CSL_GPU_IRQENABLE_CLR_2_THALIA_IRQ_DISABLE_MASK (0x00000001U)
  206. #define CSL_GPU_IRQENABLE_CLR_2_THALIA_IRQ_DISABLE_SHIFT (0U)
  207. #define CSL_GPU_IRQENABLE_CLR_2_THALIA_IRQ_DISABLE_RESETVAL (0x00000000U)
  208. #define CSL_GPU_IRQENABLE_CLR_2_THALIA_IRQ_DISABLE_MAX (0x00000001U)
  209. #define CSL_GPU_IRQENABLE_CLR_2_RESETVAL (0x00000000U)
  210. /* PAGE_CONFIG */
  211. #define CSL_GPU_PAGE_CONFIG_THALIA_INT_BYPASS_MASK (0x80000000U)
  212. #define CSL_GPU_PAGE_CONFIG_THALIA_INT_BYPASS_SHIFT (31U)
  213. #define CSL_GPU_PAGE_CONFIG_THALIA_INT_BYPASS_RESETVAL (0x00000000U)
  214. #define CSL_GPU_PAGE_CONFIG_THALIA_INT_BYPASS_MAX (0x00000001U)
  215. #define CSL_GPU_PAGE_CONFIG_OCP_PAGE_SIZE_MASK (0x00000018U)
  216. #define CSL_GPU_PAGE_CONFIG_OCP_PAGE_SIZE_SHIFT (3U)
  217. #define CSL_GPU_PAGE_CONFIG_OCP_PAGE_SIZE_RESETVAL (0x00000002U)
  218. #define CSL_GPU_PAGE_CONFIG_OCP_PAGE_SIZE_MAX (0x00000003U)
  219. #define CSL_GPU_PAGE_CONFIG_MEM_PAGE_CHECK_EN_MASK (0x00000004U)
  220. #define CSL_GPU_PAGE_CONFIG_MEM_PAGE_CHECK_EN_SHIFT (2U)
  221. #define CSL_GPU_PAGE_CONFIG_MEM_PAGE_CHECK_EN_RESETVAL (0x00000001U)
  222. #define CSL_GPU_PAGE_CONFIG_MEM_PAGE_CHECK_EN_MAX (0x00000001U)
  223. #define CSL_GPU_PAGE_CONFIG_MEM_PAGE_SIZE_MASK (0x00000003U)
  224. #define CSL_GPU_PAGE_CONFIG_MEM_PAGE_SIZE_SHIFT (0U)
  225. #define CSL_GPU_PAGE_CONFIG_MEM_PAGE_SIZE_RESETVAL (0x00000000U)
  226. #define CSL_GPU_PAGE_CONFIG_MEM_PAGE_SIZE_MAX (0x00000003U)
  227. #define CSL_GPU_PAGE_CONFIG_RESETVAL (0x00000014U)
  228. /* INTERRUPT_EVENT */
  229. #define CSL_GPU_INTERRUPT_EVENT_TARGET_INVALID_OCP_CMD_MASK (0x00040000U)
  230. #define CSL_GPU_INTERRUPT_EVENT_TARGET_INVALID_OCP_CMD_SHIFT (18U)
  231. #define CSL_GPU_INTERRUPT_EVENT_TARGET_INVALID_OCP_CMD_RESETVAL (0x00000000U)
  232. #define CSL_GPU_INTERRUPT_EVENT_TARGET_INVALID_OCP_CMD_MAX (0x00000001U)
  233. #define CSL_GPU_INTERRUPT_EVENT_TARGET_CMD_FIFO_FULL_MASK (0x00020000U)
  234. #define CSL_GPU_INTERRUPT_EVENT_TARGET_CMD_FIFO_FULL_SHIFT (17U)
  235. #define CSL_GPU_INTERRUPT_EVENT_TARGET_CMD_FIFO_FULL_RESETVAL (0x00000000U)
  236. #define CSL_GPU_INTERRUPT_EVENT_TARGET_CMD_FIFO_FULL_MAX (0x00000001U)
  237. #define CSL_GPU_INTERRUPT_EVENT_TARGET_RESP_FIFO_FULL_MASK (0x00010000U)
  238. #define CSL_GPU_INTERRUPT_EVENT_TARGET_RESP_FIFO_FULL_SHIFT (16U)
  239. #define CSL_GPU_INTERRUPT_EVENT_TARGET_RESP_FIFO_FULL_RESETVAL (0x00000000U)
  240. #define CSL_GPU_INTERRUPT_EVENT_TARGET_RESP_FIFO_FULL_MAX (0x00000001U)
  241. #define CSL_GPU_INTERRUPT_EVENT_INT_MEM_REQ_FIFO_OVERRUN_1_MASK (0x00002000U)
  242. #define CSL_GPU_INTERRUPT_EVENT_INT_MEM_REQ_FIFO_OVERRUN_1_SHIFT (13U)
  243. #define CSL_GPU_INTERRUPT_EVENT_INT_MEM_REQ_FIFO_OVERRUN_1_RESETVAL (0x00000000U)
  244. #define CSL_GPU_INTERRUPT_EVENT_INT_MEM_REQ_FIFO_OVERRUN_1_MAX (0x00000001U)
  245. #define CSL_GPU_INTERRUPT_EVENT_INIT_READ_TAG_FIFO_OVERRUN_1_MASK (0x00001000U)
  246. #define CSL_GPU_INTERRUPT_EVENT_INIT_READ_TAG_FIFO_OVERRUN_1_SHIFT (12U)
  247. #define CSL_GPU_INTERRUPT_EVENT_INIT_READ_TAG_FIFO_OVERRUN_1_RESETVAL (0x00000000U)
  248. #define CSL_GPU_INTERRUPT_EVENT_INIT_READ_TAG_FIFO_OVERRUN_1_MAX (0x00000001U)
  249. #define CSL_GPU_INTERRUPT_EVENT_INIT_PAGE_CROSS_ERROR_1_MASK (0x00000800U)
  250. #define CSL_GPU_INTERRUPT_EVENT_INIT_PAGE_CROSS_ERROR_1_SHIFT (11U)
  251. #define CSL_GPU_INTERRUPT_EVENT_INIT_PAGE_CROSS_ERROR_1_RESETVAL (0x00000000U)
  252. #define CSL_GPU_INTERRUPT_EVENT_INIT_PAGE_CROSS_ERROR_1_MAX (0x00000001U)
  253. #define CSL_GPU_INTERRUPT_EVENT_INIT_RESP_ERROR_1_MASK (0x00000400U)
  254. #define CSL_GPU_INTERRUPT_EVENT_INIT_RESP_ERROR_1_SHIFT (10U)
  255. #define CSL_GPU_INTERRUPT_EVENT_INIT_RESP_ERROR_1_RESETVAL (0x00000000U)
  256. #define CSL_GPU_INTERRUPT_EVENT_INIT_RESP_ERROR_1_MAX (0x00000001U)
  257. #define CSL_GPU_INTERRUPT_EVENT_INIT_RESP_UNUSED_TAG_1_MASK (0x00000200U)
  258. #define CSL_GPU_INTERRUPT_EVENT_INIT_RESP_UNUSED_TAG_1_SHIFT (9U)
  259. #define CSL_GPU_INTERRUPT_EVENT_INIT_RESP_UNUSED_TAG_1_RESETVAL (0x00000000U)
  260. #define CSL_GPU_INTERRUPT_EVENT_INIT_RESP_UNUSED_TAG_1_MAX (0x00000001U)
  261. #define CSL_GPU_INTERRUPT_EVENT_INIT_RESP_UNEXPECTED_1_MASK (0x00000100U)
  262. #define CSL_GPU_INTERRUPT_EVENT_INIT_RESP_UNEXPECTED_1_SHIFT (8U)
  263. #define CSL_GPU_INTERRUPT_EVENT_INIT_RESP_UNEXPECTED_1_RESETVAL (0x00000000U)
  264. #define CSL_GPU_INTERRUPT_EVENT_INIT_RESP_UNEXPECTED_1_MAX (0x00000001U)
  265. #define CSL_GPU_INTERRUPT_EVENT_INIT_MEM_REQ_FIFO_OVERRUN_0_MASK (0x00000020U)
  266. #define CSL_GPU_INTERRUPT_EVENT_INIT_MEM_REQ_FIFO_OVERRUN_0_SHIFT (5U)
  267. #define CSL_GPU_INTERRUPT_EVENT_INIT_MEM_REQ_FIFO_OVERRUN_0_RESETVAL (0x00000000U)
  268. #define CSL_GPU_INTERRUPT_EVENT_INIT_MEM_REQ_FIFO_OVERRUN_0_MAX (0x00000001U)
  269. #define CSL_GPU_INTERRUPT_EVENT_INIT_READ_TAG_FIFO_OVERRUN_0_MASK (0x00000010U)
  270. #define CSL_GPU_INTERRUPT_EVENT_INIT_READ_TAG_FIFO_OVERRUN_0_SHIFT (4U)
  271. #define CSL_GPU_INTERRUPT_EVENT_INIT_READ_TAG_FIFO_OVERRUN_0_RESETVAL (0x00000000U)
  272. #define CSL_GPU_INTERRUPT_EVENT_INIT_READ_TAG_FIFO_OVERRUN_0_MAX (0x00000001U)
  273. #define CSL_GPU_INTERRUPT_EVENT_INIT_PAGE_CROSS_ERROR_0_MASK (0x00000008U)
  274. #define CSL_GPU_INTERRUPT_EVENT_INIT_PAGE_CROSS_ERROR_0_SHIFT (3U)
  275. #define CSL_GPU_INTERRUPT_EVENT_INIT_PAGE_CROSS_ERROR_0_RESETVAL (0x00000000U)
  276. #define CSL_GPU_INTERRUPT_EVENT_INIT_PAGE_CROSS_ERROR_0_MAX (0x00000001U)
  277. #define CSL_GPU_INTERRUPT_EVENT_INIT_RESP_ERROR_0_MASK (0x00000004U)
  278. #define CSL_GPU_INTERRUPT_EVENT_INIT_RESP_ERROR_0_SHIFT (2U)
  279. #define CSL_GPU_INTERRUPT_EVENT_INIT_RESP_ERROR_0_RESETVAL (0x00000000U)
  280. #define CSL_GPU_INTERRUPT_EVENT_INIT_RESP_ERROR_0_MAX (0x00000001U)
  281. #define CSL_GPU_INTERRUPT_EVENT_INIT_RESP_UNUSED_TAG_0_MASK (0x00000002U)
  282. #define CSL_GPU_INTERRUPT_EVENT_INIT_RESP_UNUSED_TAG_0_SHIFT (1U)
  283. #define CSL_GPU_INTERRUPT_EVENT_INIT_RESP_UNUSED_TAG_0_RESETVAL (0x00000000U)
  284. #define CSL_GPU_INTERRUPT_EVENT_INIT_RESP_UNUSED_TAG_0_MAX (0x00000001U)
  285. #define CSL_GPU_INTERRUPT_EVENT_INIT_RESP_UNEXPECTED_0_MASK (0x00000001U)
  286. #define CSL_GPU_INTERRUPT_EVENT_INIT_RESP_UNEXPECTED_0_SHIFT (0U)
  287. #define CSL_GPU_INTERRUPT_EVENT_INIT_RESP_UNEXPECTED_0_RESETVAL (0x00000000U)
  288. #define CSL_GPU_INTERRUPT_EVENT_INIT_RESP_UNEXPECTED_0_MAX (0x00000001U)
  289. #define CSL_GPU_INTERRUPT_EVENT_RESETVAL (0x00000000U)
  290. /* DEBUG_CONFIG */
  291. #define CSL_GPU_DEBUG_CONFIG_SELECT_INT_IDLE_MASK (0x00000020U)
  292. #define CSL_GPU_DEBUG_CONFIG_SELECT_INT_IDLE_SHIFT (5U)
  293. #define CSL_GPU_DEBUG_CONFIG_SELECT_INT_IDLE_RESETVAL (0x00000000U)
  294. #define CSL_GPU_DEBUG_CONFIG_SELECT_INT_IDLE_MAX (0x00000001U)
  295. #define CSL_GPU_DEBUG_CONFIG_FORCE_PASS_DATA_MASK (0x00000010U)
  296. #define CSL_GPU_DEBUG_CONFIG_FORCE_PASS_DATA_SHIFT (4U)
  297. #define CSL_GPU_DEBUG_CONFIG_FORCE_PASS_DATA_RESETVAL (0x00000000U)
  298. #define CSL_GPU_DEBUG_CONFIG_FORCE_PASS_DATA_MAX (0x00000001U)
  299. #define CSL_GPU_DEBUG_CONFIG_FORCE_INIT_IDLE_MASK (0x0000000CU)
  300. #define CSL_GPU_DEBUG_CONFIG_FORCE_INIT_IDLE_SHIFT (2U)
  301. #define CSL_GPU_DEBUG_CONFIG_FORCE_INIT_IDLE_RESETVAL (0x00000000U)
  302. #define CSL_GPU_DEBUG_CONFIG_FORCE_INIT_IDLE_MAX (0x00000003U)
  303. #define CSL_GPU_DEBUG_CONFIG_FORCE_TARGET_IDLE_MASK (0x00000003U)
  304. #define CSL_GPU_DEBUG_CONFIG_FORCE_TARGET_IDLE_SHIFT (0U)
  305. #define CSL_GPU_DEBUG_CONFIG_FORCE_TARGET_IDLE_RESETVAL (0x00000000U)
  306. #define CSL_GPU_DEBUG_CONFIG_FORCE_TARGET_IDLE_MAX (0x00000003U)
  307. #define CSL_GPU_DEBUG_CONFIG_RESETVAL (0x00000000U)
  308. /* DEBUG_STATUS_0 */
  309. #define CSL_GPU_DEBUG_STATUS_0_CMD_DEBUG_STATE_MASK (0x80000000U)
  310. #define CSL_GPU_DEBUG_STATUS_0_CMD_DEBUG_STATE_SHIFT (31U)
  311. #define CSL_GPU_DEBUG_STATUS_0_CMD_DEBUG_STATE_RESETVAL (0x00000000U)
  312. #define CSL_GPU_DEBUG_STATUS_0_CMD_DEBUG_STATE_MAX (0x00000001U)
  313. #define CSL_GPU_DEBUG_STATUS_0_CMD_RESP_DEBUG_STATE_MASK (0x40000000U)
  314. #define CSL_GPU_DEBUG_STATUS_0_CMD_RESP_DEBUG_STATE_SHIFT (30U)
  315. #define CSL_GPU_DEBUG_STATUS_0_CMD_RESP_DEBUG_STATE_RESETVAL (0x00000000U)
  316. #define CSL_GPU_DEBUG_STATUS_0_CMD_RESP_DEBUG_STATE_MAX (0x00000001U)
  317. #define CSL_GPU_DEBUG_STATUS_0_TARGET_IDLE_MASK (0x20000000U)
  318. #define CSL_GPU_DEBUG_STATUS_0_TARGET_IDLE_SHIFT (29U)
  319. #define CSL_GPU_DEBUG_STATUS_0_TARGET_IDLE_RESETVAL (0x00000000U)
  320. #define CSL_GPU_DEBUG_STATUS_0_TARGET_IDLE_MAX (0x00000001U)
  321. #define CSL_GPU_DEBUG_STATUS_0_RESP_FIFO_FULL_MASK (0x10000000U)
  322. #define CSL_GPU_DEBUG_STATUS_0_RESP_FIFO_FULL_SHIFT (28U)
  323. #define CSL_GPU_DEBUG_STATUS_0_RESP_FIFO_FULL_RESETVAL (0x00000000U)
  324. #define CSL_GPU_DEBUG_STATUS_0_RESP_FIFO_FULL_MAX (0x00000001U)
  325. #define CSL_GPU_DEBUG_STATUS_0_CMD_FIFO_FULL_MASK (0x08000000U)
  326. #define CSL_GPU_DEBUG_STATUS_0_CMD_FIFO_FULL_SHIFT (27U)
  327. #define CSL_GPU_DEBUG_STATUS_0_CMD_FIFO_FULL_RESETVAL (0x00000000U)
  328. #define CSL_GPU_DEBUG_STATUS_0_CMD_FIFO_FULL_MAX (0x00000001U)
  329. #define CSL_GPU_DEBUG_STATUS_0_RESP_ERROR_MASK (0x04000000U)
  330. #define CSL_GPU_DEBUG_STATUS_0_RESP_ERROR_SHIFT (26U)
  331. #define CSL_GPU_DEBUG_STATUS_0_RESP_ERROR_RESETVAL (0x00000000U)
  332. #define CSL_GPU_DEBUG_STATUS_0_RESP_ERROR_MAX (0x00000001U)
  333. #define CSL_GPU_DEBUG_STATUS_0_WHICH_TARGET_REGISTER_MASK (0x03E00000U)
  334. #define CSL_GPU_DEBUG_STATUS_0_WHICH_TARGET_REGISTER_SHIFT (21U)
  335. #define CSL_GPU_DEBUG_STATUS_0_WHICH_TARGET_REGISTER_RESETVAL (0x00000000U)
  336. #define CSL_GPU_DEBUG_STATUS_0_WHICH_TARGET_REGISTER_MAX (0x0000001fU)
  337. #define CSL_GPU_DEBUG_STATUS_0_TARGET_CMD_OUT_MASK (0x001C0000U)
  338. #define CSL_GPU_DEBUG_STATUS_0_TARGET_CMD_OUT_SHIFT (18U)
  339. #define CSL_GPU_DEBUG_STATUS_0_TARGET_CMD_OUT_RESETVAL (0x00000000U)
  340. #define CSL_GPU_DEBUG_STATUS_0_TARGET_CMD_OUT_MAX (0x00000007U)
  341. #define CSL_GPU_DEBUG_STATUS_0_INIT_MSTANDBY_MASK (0x00020000U)
  342. #define CSL_GPU_DEBUG_STATUS_0_INIT_MSTANDBY_SHIFT (17U)
  343. #define CSL_GPU_DEBUG_STATUS_0_INIT_MSTANDBY_RESETVAL (0x00000000U)
  344. #define CSL_GPU_DEBUG_STATUS_0_INIT_MSTANDBY_MAX (0x00000001U)
  345. #define CSL_GPU_DEBUG_STATUS_0_INIT_MWAIT_MASK (0x00010000U)
  346. #define CSL_GPU_DEBUG_STATUS_0_INIT_MWAIT_SHIFT (16U)
  347. #define CSL_GPU_DEBUG_STATUS_0_INIT_MWAIT_RESETVAL (0x00000000U)
  348. #define CSL_GPU_DEBUG_STATUS_0_INIT_MWAIT_MAX (0x00000001U)
  349. #define CSL_GPU_DEBUG_STATUS_0_INIT_MDISCREQ_MASK (0x00008000U)
  350. #define CSL_GPU_DEBUG_STATUS_0_INIT_MDISCREQ_SHIFT (15U)
  351. #define CSL_GPU_DEBUG_STATUS_0_INIT_MDISCREQ_RESETVAL (0x00000000U)
  352. #define CSL_GPU_DEBUG_STATUS_0_INIT_MDISCREQ_MAX (0x00000001U)
  353. #define CSL_GPU_DEBUG_STATUS_0_INIT_MDISCACK_MASK (0x00006000U)
  354. #define CSL_GPU_DEBUG_STATUS_0_INIT_MDISCACK_SHIFT (13U)
  355. #define CSL_GPU_DEBUG_STATUS_0_INIT_MDISCACK_RESETVAL (0x00000000U)
  356. #define CSL_GPU_DEBUG_STATUS_0_INIT_MDISCACK_MAX (0x00000003U)
  357. #define CSL_GPU_DEBUG_STATUS_0_INIT_SCONNECT_2_MASK (0x00001000U)
  358. #define CSL_GPU_DEBUG_STATUS_0_INIT_SCONNECT_2_SHIFT (12U)
  359. #define CSL_GPU_DEBUG_STATUS_0_INIT_SCONNECT_2_RESETVAL (0x00000000U)
  360. #define CSL_GPU_DEBUG_STATUS_0_INIT_SCONNECT_2_MAX (0x00000001U)
  361. #define CSL_GPU_DEBUG_STATUS_0_INIT_SCONNECT_1_MASK (0x00000800U)
  362. #define CSL_GPU_DEBUG_STATUS_0_INIT_SCONNECT_1_SHIFT (11U)
  363. #define CSL_GPU_DEBUG_STATUS_0_INIT_SCONNECT_1_RESETVAL (0x00000000U)
  364. #define CSL_GPU_DEBUG_STATUS_0_INIT_SCONNECT_1_MAX (0x00000001U)
  365. #define CSL_GPU_DEBUG_STATUS_0_INIT_SCONNECT_0_MASK (0x00000400U)
  366. #define CSL_GPU_DEBUG_STATUS_0_INIT_SCONNECT_0_SHIFT (10U)
  367. #define CSL_GPU_DEBUG_STATUS_0_INIT_SCONNECT_0_RESETVAL (0x00000000U)
  368. #define CSL_GPU_DEBUG_STATUS_0_INIT_SCONNECT_0_MAX (0x00000001U)
  369. #define CSL_GPU_DEBUG_STATUS_0_INIT_MCONNECT_MASK (0x00000300U)
  370. #define CSL_GPU_DEBUG_STATUS_0_INIT_MCONNECT_SHIFT (8U)
  371. #define CSL_GPU_DEBUG_STATUS_0_INIT_MCONNECT_RESETVAL (0x00000000U)
  372. #define CSL_GPU_DEBUG_STATUS_0_INIT_MCONNECT_MAX (0x00000003U)
  373. #define CSL_GPU_DEBUG_STATUS_0_TARGET_SIDLEACK_MASK (0x000000C0U)
  374. #define CSL_GPU_DEBUG_STATUS_0_TARGET_SIDLEACK_SHIFT (6U)
  375. #define CSL_GPU_DEBUG_STATUS_0_TARGET_SIDLEACK_RESETVAL (0x00000000U)
  376. #define CSL_GPU_DEBUG_STATUS_0_TARGET_SIDLEACK_MAX (0x00000003U)
  377. #define CSL_GPU_DEBUG_STATUS_0_TARGET_SDISCACK_MASK (0x00000030U)
  378. #define CSL_GPU_DEBUG_STATUS_0_TARGET_SDISCACK_SHIFT (4U)
  379. #define CSL_GPU_DEBUG_STATUS_0_TARGET_SDISCACK_RESETVAL (0x00000000U)
  380. #define CSL_GPU_DEBUG_STATUS_0_TARGET_SDISCACK_MAX (0x00000003U)
  381. #define CSL_GPU_DEBUG_STATUS_0_TARGET_SIDLEREQ_MASK (0x00000008U)
  382. #define CSL_GPU_DEBUG_STATUS_0_TARGET_SIDLEREQ_SHIFT (3U)
  383. #define CSL_GPU_DEBUG_STATUS_0_TARGET_SIDLEREQ_RESETVAL (0x00000000U)
  384. #define CSL_GPU_DEBUG_STATUS_0_TARGET_SIDLEREQ_MAX (0x00000001U)
  385. #define CSL_GPU_DEBUG_STATUS_0_TARGET_SCONNECT_MASK (0x00000004U)
  386. #define CSL_GPU_DEBUG_STATUS_0_TARGET_SCONNECT_SHIFT (2U)
  387. #define CSL_GPU_DEBUG_STATUS_0_TARGET_SCONNECT_RESETVAL (0x00000000U)
  388. #define CSL_GPU_DEBUG_STATUS_0_TARGET_SCONNECT_MAX (0x00000001U)
  389. #define CSL_GPU_DEBUG_STATUS_0_TARGET_MCONNECT_MASK (0x00000003U)
  390. #define CSL_GPU_DEBUG_STATUS_0_TARGET_MCONNECT_SHIFT (0U)
  391. #define CSL_GPU_DEBUG_STATUS_0_TARGET_MCONNECT_RESETVAL (0x00000000U)
  392. #define CSL_GPU_DEBUG_STATUS_0_TARGET_MCONNECT_MAX (0x00000003U)
  393. #define CSL_GPU_DEBUG_STATUS_0_RESETVAL (0x00000000U)
  394. /* DEBUG_STATUS_1 */
  395. #define CSL_GPU_DEBUG_STATUS_1_CMD_DEBUG_STATE_MASK (0x80000000U)
  396. #define CSL_GPU_DEBUG_STATUS_1_CMD_DEBUG_STATE_SHIFT (31U)
  397. #define CSL_GPU_DEBUG_STATUS_1_CMD_DEBUG_STATE_RESETVAL (0x00000000U)
  398. #define CSL_GPU_DEBUG_STATUS_1_CMD_DEBUG_STATE_MAX (0x00000001U)
  399. #define CSL_GPU_DEBUG_STATUS_1_CMD_RESP_DEBUG_STATE_MASK (0x40000000U)
  400. #define CSL_GPU_DEBUG_STATUS_1_CMD_RESP_DEBUG_STATE_SHIFT (30U)
  401. #define CSL_GPU_DEBUG_STATUS_1_CMD_RESP_DEBUG_STATE_RESETVAL (0x00000000U)
  402. #define CSL_GPU_DEBUG_STATUS_1_CMD_RESP_DEBUG_STATE_MAX (0x00000001U)
  403. #define CSL_GPU_DEBUG_STATUS_1_TARGET_IDLE_MASK (0x20000000U)
  404. #define CSL_GPU_DEBUG_STATUS_1_TARGET_IDLE_SHIFT (29U)
  405. #define CSL_GPU_DEBUG_STATUS_1_TARGET_IDLE_RESETVAL (0x00000000U)
  406. #define CSL_GPU_DEBUG_STATUS_1_TARGET_IDLE_MAX (0x00000001U)
  407. #define CSL_GPU_DEBUG_STATUS_1_RESP_FIFO_FULL_MASK (0x10000000U)
  408. #define CSL_GPU_DEBUG_STATUS_1_RESP_FIFO_FULL_SHIFT (28U)
  409. #define CSL_GPU_DEBUG_STATUS_1_RESP_FIFO_FULL_RESETVAL (0x00000000U)
  410. #define CSL_GPU_DEBUG_STATUS_1_RESP_FIFO_FULL_MAX (0x00000001U)
  411. #define CSL_GPU_DEBUG_STATUS_1_CMD_FIFO_FULL_MASK (0x08000000U)
  412. #define CSL_GPU_DEBUG_STATUS_1_CMD_FIFO_FULL_SHIFT (27U)
  413. #define CSL_GPU_DEBUG_STATUS_1_CMD_FIFO_FULL_RESETVAL (0x00000000U)
  414. #define CSL_GPU_DEBUG_STATUS_1_CMD_FIFO_FULL_MAX (0x00000001U)
  415. #define CSL_GPU_DEBUG_STATUS_1_RESP_ERROR_MASK (0x04000000U)
  416. #define CSL_GPU_DEBUG_STATUS_1_RESP_ERROR_SHIFT (26U)
  417. #define CSL_GPU_DEBUG_STATUS_1_RESP_ERROR_RESETVAL (0x00000000U)
  418. #define CSL_GPU_DEBUG_STATUS_1_RESP_ERROR_MAX (0x00000001U)
  419. #define CSL_GPU_DEBUG_STATUS_1_WHICH_TARGET_REGISTER_MASK (0x03E00000U)
  420. #define CSL_GPU_DEBUG_STATUS_1_WHICH_TARGET_REGISTER_SHIFT (21U)
  421. #define CSL_GPU_DEBUG_STATUS_1_WHICH_TARGET_REGISTER_RESETVAL (0x00000000U)
  422. #define CSL_GPU_DEBUG_STATUS_1_WHICH_TARGET_REGISTER_MAX (0x0000001fU)
  423. #define CSL_GPU_DEBUG_STATUS_1_TARGET_CMD_OUT_MASK (0x001C0000U)
  424. #define CSL_GPU_DEBUG_STATUS_1_TARGET_CMD_OUT_SHIFT (18U)
  425. #define CSL_GPU_DEBUG_STATUS_1_TARGET_CMD_OUT_RESETVAL (0x00000000U)
  426. #define CSL_GPU_DEBUG_STATUS_1_TARGET_CMD_OUT_MAX (0x00000007U)
  427. #define CSL_GPU_DEBUG_STATUS_1_INIT_MSTANDBY_MASK (0x00020000U)
  428. #define CSL_GPU_DEBUG_STATUS_1_INIT_MSTANDBY_SHIFT (17U)
  429. #define CSL_GPU_DEBUG_STATUS_1_INIT_MSTANDBY_RESETVAL (0x00000000U)
  430. #define CSL_GPU_DEBUG_STATUS_1_INIT_MSTANDBY_MAX (0x00000001U)
  431. #define CSL_GPU_DEBUG_STATUS_1_INIT_MWAIT_MASK (0x00010000U)
  432. #define CSL_GPU_DEBUG_STATUS_1_INIT_MWAIT_SHIFT (16U)
  433. #define CSL_GPU_DEBUG_STATUS_1_INIT_MWAIT_RESETVAL (0x00000000U)
  434. #define CSL_GPU_DEBUG_STATUS_1_INIT_MWAIT_MAX (0x00000001U)
  435. #define CSL_GPU_DEBUG_STATUS_1_INIT_MDISCREQ_MASK (0x00008000U)
  436. #define CSL_GPU_DEBUG_STATUS_1_INIT_MDISCREQ_SHIFT (15U)
  437. #define CSL_GPU_DEBUG_STATUS_1_INIT_MDISCREQ_RESETVAL (0x00000000U)
  438. #define CSL_GPU_DEBUG_STATUS_1_INIT_MDISCREQ_MAX (0x00000001U)
  439. #define CSL_GPU_DEBUG_STATUS_1_INIT_MDISCACK_MASK (0x00006000U)
  440. #define CSL_GPU_DEBUG_STATUS_1_INIT_MDISCACK_SHIFT (13U)
  441. #define CSL_GPU_DEBUG_STATUS_1_INIT_MDISCACK_RESETVAL (0x00000000U)
  442. #define CSL_GPU_DEBUG_STATUS_1_INIT_MDISCACK_MAX (0x00000003U)
  443. #define CSL_GPU_DEBUG_STATUS_1_INIT_SCONNECT_2_MASK (0x00001000U)
  444. #define CSL_GPU_DEBUG_STATUS_1_INIT_SCONNECT_2_SHIFT (12U)
  445. #define CSL_GPU_DEBUG_STATUS_1_INIT_SCONNECT_2_RESETVAL (0x00000000U)
  446. #define CSL_GPU_DEBUG_STATUS_1_INIT_SCONNECT_2_MAX (0x00000001U)
  447. #define CSL_GPU_DEBUG_STATUS_1_INIT_SCONNECT_1_MASK (0x00000800U)
  448. #define CSL_GPU_DEBUG_STATUS_1_INIT_SCONNECT_1_SHIFT (11U)
  449. #define CSL_GPU_DEBUG_STATUS_1_INIT_SCONNECT_1_RESETVAL (0x00000000U)
  450. #define CSL_GPU_DEBUG_STATUS_1_INIT_SCONNECT_1_MAX (0x00000001U)
  451. #define CSL_GPU_DEBUG_STATUS_1_INIT_SCONNECT_0_MASK (0x00000400U)
  452. #define CSL_GPU_DEBUG_STATUS_1_INIT_SCONNECT_0_SHIFT (10U)
  453. #define CSL_GPU_DEBUG_STATUS_1_INIT_SCONNECT_0_RESETVAL (0x00000000U)
  454. #define CSL_GPU_DEBUG_STATUS_1_INIT_SCONNECT_0_MAX (0x00000001U)
  455. #define CSL_GPU_DEBUG_STATUS_1_INIT_MCONNECT_MASK (0x00000300U)
  456. #define CSL_GPU_DEBUG_STATUS_1_INIT_MCONNECT_SHIFT (8U)
  457. #define CSL_GPU_DEBUG_STATUS_1_INIT_MCONNECT_RESETVAL (0x00000000U)
  458. #define CSL_GPU_DEBUG_STATUS_1_INIT_MCONNECT_MAX (0x00000003U)
  459. #define CSL_GPU_DEBUG_STATUS_1_TARGET_SIDLEACK_MASK (0x000000C0U)
  460. #define CSL_GPU_DEBUG_STATUS_1_TARGET_SIDLEACK_SHIFT (6U)
  461. #define CSL_GPU_DEBUG_STATUS_1_TARGET_SIDLEACK_RESETVAL (0x00000000U)
  462. #define CSL_GPU_DEBUG_STATUS_1_TARGET_SIDLEACK_MAX (0x00000003U)
  463. #define CSL_GPU_DEBUG_STATUS_1_TARGET_SDISCACK_MASK (0x00000030U)
  464. #define CSL_GPU_DEBUG_STATUS_1_TARGET_SDISCACK_SHIFT (4U)
  465. #define CSL_GPU_DEBUG_STATUS_1_TARGET_SDISCACK_RESETVAL (0x00000000U)
  466. #define CSL_GPU_DEBUG_STATUS_1_TARGET_SDISCACK_MAX (0x00000003U)
  467. #define CSL_GPU_DEBUG_STATUS_1_TARGET_SIDLEREQ_MASK (0x00000008U)
  468. #define CSL_GPU_DEBUG_STATUS_1_TARGET_SIDLEREQ_SHIFT (3U)
  469. #define CSL_GPU_DEBUG_STATUS_1_TARGET_SIDLEREQ_RESETVAL (0x00000000U)
  470. #define CSL_GPU_DEBUG_STATUS_1_TARGET_SIDLEREQ_MAX (0x00000001U)
  471. #define CSL_GPU_DEBUG_STATUS_1_TARGET_SCONNECT_MASK (0x00000004U)
  472. #define CSL_GPU_DEBUG_STATUS_1_TARGET_SCONNECT_SHIFT (2U)
  473. #define CSL_GPU_DEBUG_STATUS_1_TARGET_SCONNECT_RESETVAL (0x00000000U)
  474. #define CSL_GPU_DEBUG_STATUS_1_TARGET_SCONNECT_MAX (0x00000001U)
  475. #define CSL_GPU_DEBUG_STATUS_1_TARGET_MCONNECT_MASK (0x00000003U)
  476. #define CSL_GPU_DEBUG_STATUS_1_TARGET_MCONNECT_SHIFT (0U)
  477. #define CSL_GPU_DEBUG_STATUS_1_TARGET_MCONNECT_RESETVAL (0x00000000U)
  478. #define CSL_GPU_DEBUG_STATUS_1_TARGET_MCONNECT_MAX (0x00000003U)
  479. #define CSL_GPU_DEBUG_STATUS_1_RESETVAL (0x00000000U)
  480. #ifdef __cplusplus
  481. }
  482. #endif
  483. #endif