adreno_common.xml.h 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451
  1. #ifndef ADRENO_COMMON_XML
  2. #define ADRENO_COMMON_XML
  3. /* Autogenerated file, DO NOT EDIT manually!
  4. This file was generated by the rules-ng-ng headergen tool in this git repository:
  5. http://github.com/freedreno/envytools/
  6. git clone https://github.com/freedreno/envytools.git
  7. The rules-ng-ng source files this header was generated from are:
  8. - /home/robclark/src/freedreno/envytools/rnndb/adreno.xml ( 398 bytes, from 2015-09-24 17:25:31)
  9. - /home/robclark/src/freedreno/envytools/rnndb/freedreno_copyright.xml ( 1453 bytes, from 2015-05-20 20:03:07)
  10. - /home/robclark/src/freedreno/envytools/rnndb/adreno/a2xx.xml ( 32901 bytes, from 2015-05-20 20:03:14)
  11. - /home/robclark/src/freedreno/envytools/rnndb/adreno/adreno_common.xml ( 10755 bytes, from 2015-09-14 20:46:55)
  12. - /home/robclark/src/freedreno/envytools/rnndb/adreno/adreno_pm4.xml ( 14968 bytes, from 2015-05-20 20:12:27)
  13. - /home/robclark/src/freedreno/envytools/rnndb/adreno/a3xx.xml ( 67771 bytes, from 2015-09-14 20:46:55)
  14. - /home/robclark/src/freedreno/envytools/rnndb/adreno/a4xx.xml ( 63970 bytes, from 2015-09-14 20:50:12)
  15. - /home/robclark/src/freedreno/envytools/rnndb/adreno/ocmem.xml ( 1773 bytes, from 2015-09-24 17:30:00)
  16. Copyright (C) 2013-2015 by the following authors:
  17. - Rob Clark <robdclark@gmail.com> (robclark)
  18. Permission is hereby granted, free of charge, to any person obtaining
  19. a copy of this software and associated documentation files (the
  20. "Software"), to deal in the Software without restriction, including
  21. without limitation the rights to use, copy, modify, merge, publish,
  22. distribute, sublicense, and/or sell copies of the Software, and to
  23. permit persons to whom the Software is furnished to do so, subject to
  24. the following conditions:
  25. The above copyright notice and this permission notice (including the
  26. next paragraph) shall be included in all copies or substantial
  27. portions of the Software.
  28. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  29. EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  30. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  31. IN NO EVENT SHALL THE COPYRIGHT OWNER(S) AND/OR ITS SUPPLIERS BE
  32. LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  33. OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  34. WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  35. */
  36. enum adreno_pa_su_sc_draw {
  37. PC_DRAW_POINTS = 0,
  38. PC_DRAW_LINES = 1,
  39. PC_DRAW_TRIANGLES = 2,
  40. };
  41. enum adreno_compare_func {
  42. FUNC_NEVER = 0,
  43. FUNC_LESS = 1,
  44. FUNC_EQUAL = 2,
  45. FUNC_LEQUAL = 3,
  46. FUNC_GREATER = 4,
  47. FUNC_NOTEQUAL = 5,
  48. FUNC_GEQUAL = 6,
  49. FUNC_ALWAYS = 7,
  50. };
  51. enum adreno_stencil_op {
  52. STENCIL_KEEP = 0,
  53. STENCIL_ZERO = 1,
  54. STENCIL_REPLACE = 2,
  55. STENCIL_INCR_CLAMP = 3,
  56. STENCIL_DECR_CLAMP = 4,
  57. STENCIL_INVERT = 5,
  58. STENCIL_INCR_WRAP = 6,
  59. STENCIL_DECR_WRAP = 7,
  60. };
  61. enum adreno_rb_blend_factor {
  62. FACTOR_ZERO = 0,
  63. FACTOR_ONE = 1,
  64. FACTOR_SRC_COLOR = 4,
  65. FACTOR_ONE_MINUS_SRC_COLOR = 5,
  66. FACTOR_SRC_ALPHA = 6,
  67. FACTOR_ONE_MINUS_SRC_ALPHA = 7,
  68. FACTOR_DST_COLOR = 8,
  69. FACTOR_ONE_MINUS_DST_COLOR = 9,
  70. FACTOR_DST_ALPHA = 10,
  71. FACTOR_ONE_MINUS_DST_ALPHA = 11,
  72. FACTOR_CONSTANT_COLOR = 12,
  73. FACTOR_ONE_MINUS_CONSTANT_COLOR = 13,
  74. FACTOR_CONSTANT_ALPHA = 14,
  75. FACTOR_ONE_MINUS_CONSTANT_ALPHA = 15,
  76. FACTOR_SRC_ALPHA_SATURATE = 16,
  77. FACTOR_SRC1_COLOR = 20,
  78. FACTOR_ONE_MINUS_SRC1_COLOR = 21,
  79. FACTOR_SRC1_ALPHA = 22,
  80. FACTOR_ONE_MINUS_SRC1_ALPHA = 23,
  81. };
  82. enum adreno_rb_surface_endian {
  83. ENDIAN_NONE = 0,
  84. ENDIAN_8IN16 = 1,
  85. ENDIAN_8IN32 = 2,
  86. ENDIAN_16IN32 = 3,
  87. ENDIAN_8IN64 = 4,
  88. ENDIAN_8IN128 = 5,
  89. };
  90. enum adreno_rb_dither_mode {
  91. DITHER_DISABLE = 0,
  92. DITHER_ALWAYS = 1,
  93. DITHER_IF_ALPHA_OFF = 2,
  94. };
  95. enum adreno_rb_depth_format {
  96. DEPTHX_16 = 0,
  97. DEPTHX_24_8 = 1,
  98. DEPTHX_32 = 2,
  99. };
  100. enum adreno_rb_copy_control_mode {
  101. RB_COPY_RESOLVE = 1,
  102. RB_COPY_CLEAR = 2,
  103. RB_COPY_DEPTH_STENCIL = 5,
  104. };
  105. enum a3xx_render_mode {
  106. RB_RENDERING_PASS = 0,
  107. RB_TILING_PASS = 1,
  108. RB_RESOLVE_PASS = 2,
  109. RB_COMPUTE_PASS = 3,
  110. };
  111. enum a3xx_msaa_samples {
  112. MSAA_ONE = 0,
  113. MSAA_TWO = 1,
  114. MSAA_FOUR = 2,
  115. };
  116. enum a3xx_threadmode {
  117. MULTI = 0,
  118. SINGLE = 1,
  119. };
  120. enum a3xx_instrbuffermode {
  121. CACHE = 0,
  122. BUFFER = 1,
  123. };
  124. enum a3xx_threadsize {
  125. TWO_QUADS = 0,
  126. FOUR_QUADS = 1,
  127. };
  128. enum a3xx_color_swap {
  129. WZYX = 0,
  130. WXYZ = 1,
  131. ZYXW = 2,
  132. XYZW = 3,
  133. };
  134. #define REG_AXXX_CP_RB_BASE 0x000001c0
  135. #define REG_AXXX_CP_RB_CNTL 0x000001c1
  136. #define AXXX_CP_RB_CNTL_BUFSZ__MASK 0x0000003f
  137. #define AXXX_CP_RB_CNTL_BUFSZ__SHIFT 0
  138. static inline uint32_t AXXX_CP_RB_CNTL_BUFSZ(uint32_t val)
  139. {
  140. return ((val) << AXXX_CP_RB_CNTL_BUFSZ__SHIFT) & AXXX_CP_RB_CNTL_BUFSZ__MASK;
  141. }
  142. #define AXXX_CP_RB_CNTL_BLKSZ__MASK 0x00003f00
  143. #define AXXX_CP_RB_CNTL_BLKSZ__SHIFT 8
  144. static inline uint32_t AXXX_CP_RB_CNTL_BLKSZ(uint32_t val)
  145. {
  146. return ((val) << AXXX_CP_RB_CNTL_BLKSZ__SHIFT) & AXXX_CP_RB_CNTL_BLKSZ__MASK;
  147. }
  148. #define AXXX_CP_RB_CNTL_BUF_SWAP__MASK 0x00030000
  149. #define AXXX_CP_RB_CNTL_BUF_SWAP__SHIFT 16
  150. static inline uint32_t AXXX_CP_RB_CNTL_BUF_SWAP(uint32_t val)
  151. {
  152. return ((val) << AXXX_CP_RB_CNTL_BUF_SWAP__SHIFT) & AXXX_CP_RB_CNTL_BUF_SWAP__MASK;
  153. }
  154. #define AXXX_CP_RB_CNTL_POLL_EN 0x00100000
  155. #define AXXX_CP_RB_CNTL_NO_UPDATE 0x08000000
  156. #define AXXX_CP_RB_CNTL_RPTR_WR_EN 0x80000000
  157. #define REG_AXXX_CP_RB_RPTR_ADDR 0x000001c3
  158. #define AXXX_CP_RB_RPTR_ADDR_SWAP__MASK 0x00000003
  159. #define AXXX_CP_RB_RPTR_ADDR_SWAP__SHIFT 0
  160. static inline uint32_t AXXX_CP_RB_RPTR_ADDR_SWAP(uint32_t val)
  161. {
  162. return ((val) << AXXX_CP_RB_RPTR_ADDR_SWAP__SHIFT) & AXXX_CP_RB_RPTR_ADDR_SWAP__MASK;
  163. }
  164. #define AXXX_CP_RB_RPTR_ADDR_ADDR__MASK 0xfffffffc
  165. #define AXXX_CP_RB_RPTR_ADDR_ADDR__SHIFT 2
  166. static inline uint32_t AXXX_CP_RB_RPTR_ADDR_ADDR(uint32_t val)
  167. {
  168. return ((val >> 2) << AXXX_CP_RB_RPTR_ADDR_ADDR__SHIFT) & AXXX_CP_RB_RPTR_ADDR_ADDR__MASK;
  169. }
  170. #define REG_AXXX_CP_RB_RPTR 0x000001c4
  171. #define REG_AXXX_CP_RB_WPTR 0x000001c5
  172. #define REG_AXXX_CP_RB_WPTR_DELAY 0x000001c6
  173. #define REG_AXXX_CP_RB_RPTR_WR 0x000001c7
  174. #define REG_AXXX_CP_RB_WPTR_BASE 0x000001c8
  175. #define REG_AXXX_CP_QUEUE_THRESHOLDS 0x000001d5
  176. #define AXXX_CP_QUEUE_THRESHOLDS_CSQ_IB1_START__MASK 0x0000000f
  177. #define AXXX_CP_QUEUE_THRESHOLDS_CSQ_IB1_START__SHIFT 0
  178. static inline uint32_t AXXX_CP_QUEUE_THRESHOLDS_CSQ_IB1_START(uint32_t val)
  179. {
  180. return ((val) << AXXX_CP_QUEUE_THRESHOLDS_CSQ_IB1_START__SHIFT) & AXXX_CP_QUEUE_THRESHOLDS_CSQ_IB1_START__MASK;
  181. }
  182. #define AXXX_CP_QUEUE_THRESHOLDS_CSQ_IB2_START__MASK 0x00000f00
  183. #define AXXX_CP_QUEUE_THRESHOLDS_CSQ_IB2_START__SHIFT 8
  184. static inline uint32_t AXXX_CP_QUEUE_THRESHOLDS_CSQ_IB2_START(uint32_t val)
  185. {
  186. return ((val) << AXXX_CP_QUEUE_THRESHOLDS_CSQ_IB2_START__SHIFT) & AXXX_CP_QUEUE_THRESHOLDS_CSQ_IB2_START__MASK;
  187. }
  188. #define AXXX_CP_QUEUE_THRESHOLDS_CSQ_ST_START__MASK 0x000f0000
  189. #define AXXX_CP_QUEUE_THRESHOLDS_CSQ_ST_START__SHIFT 16
  190. static inline uint32_t AXXX_CP_QUEUE_THRESHOLDS_CSQ_ST_START(uint32_t val)
  191. {
  192. return ((val) << AXXX_CP_QUEUE_THRESHOLDS_CSQ_ST_START__SHIFT) & AXXX_CP_QUEUE_THRESHOLDS_CSQ_ST_START__MASK;
  193. }
  194. #define REG_AXXX_CP_MEQ_THRESHOLDS 0x000001d6
  195. #define AXXX_CP_MEQ_THRESHOLDS_MEQ_END__MASK 0x001f0000
  196. #define AXXX_CP_MEQ_THRESHOLDS_MEQ_END__SHIFT 16
  197. static inline uint32_t AXXX_CP_MEQ_THRESHOLDS_MEQ_END(uint32_t val)
  198. {
  199. return ((val) << AXXX_CP_MEQ_THRESHOLDS_MEQ_END__SHIFT) & AXXX_CP_MEQ_THRESHOLDS_MEQ_END__MASK;
  200. }
  201. #define AXXX_CP_MEQ_THRESHOLDS_ROQ_END__MASK 0x1f000000
  202. #define AXXX_CP_MEQ_THRESHOLDS_ROQ_END__SHIFT 24
  203. static inline uint32_t AXXX_CP_MEQ_THRESHOLDS_ROQ_END(uint32_t val)
  204. {
  205. return ((val) << AXXX_CP_MEQ_THRESHOLDS_ROQ_END__SHIFT) & AXXX_CP_MEQ_THRESHOLDS_ROQ_END__MASK;
  206. }
  207. #define REG_AXXX_CP_CSQ_AVAIL 0x000001d7
  208. #define AXXX_CP_CSQ_AVAIL_RING__MASK 0x0000007f
  209. #define AXXX_CP_CSQ_AVAIL_RING__SHIFT 0
  210. static inline uint32_t AXXX_CP_CSQ_AVAIL_RING(uint32_t val)
  211. {
  212. return ((val) << AXXX_CP_CSQ_AVAIL_RING__SHIFT) & AXXX_CP_CSQ_AVAIL_RING__MASK;
  213. }
  214. #define AXXX_CP_CSQ_AVAIL_IB1__MASK 0x00007f00
  215. #define AXXX_CP_CSQ_AVAIL_IB1__SHIFT 8
  216. static inline uint32_t AXXX_CP_CSQ_AVAIL_IB1(uint32_t val)
  217. {
  218. return ((val) << AXXX_CP_CSQ_AVAIL_IB1__SHIFT) & AXXX_CP_CSQ_AVAIL_IB1__MASK;
  219. }
  220. #define AXXX_CP_CSQ_AVAIL_IB2__MASK 0x007f0000
  221. #define AXXX_CP_CSQ_AVAIL_IB2__SHIFT 16
  222. static inline uint32_t AXXX_CP_CSQ_AVAIL_IB2(uint32_t val)
  223. {
  224. return ((val) << AXXX_CP_CSQ_AVAIL_IB2__SHIFT) & AXXX_CP_CSQ_AVAIL_IB2__MASK;
  225. }
  226. #define REG_AXXX_CP_STQ_AVAIL 0x000001d8
  227. #define AXXX_CP_STQ_AVAIL_ST__MASK 0x0000007f
  228. #define AXXX_CP_STQ_AVAIL_ST__SHIFT 0
  229. static inline uint32_t AXXX_CP_STQ_AVAIL_ST(uint32_t val)
  230. {
  231. return ((val) << AXXX_CP_STQ_AVAIL_ST__SHIFT) & AXXX_CP_STQ_AVAIL_ST__MASK;
  232. }
  233. #define REG_AXXX_CP_MEQ_AVAIL 0x000001d9
  234. #define AXXX_CP_MEQ_AVAIL_MEQ__MASK 0x0000001f
  235. #define AXXX_CP_MEQ_AVAIL_MEQ__SHIFT 0
  236. static inline uint32_t AXXX_CP_MEQ_AVAIL_MEQ(uint32_t val)
  237. {
  238. return ((val) << AXXX_CP_MEQ_AVAIL_MEQ__SHIFT) & AXXX_CP_MEQ_AVAIL_MEQ__MASK;
  239. }
  240. #define REG_AXXX_SCRATCH_UMSK 0x000001dc
  241. #define AXXX_SCRATCH_UMSK_UMSK__MASK 0x000000ff
  242. #define AXXX_SCRATCH_UMSK_UMSK__SHIFT 0
  243. static inline uint32_t AXXX_SCRATCH_UMSK_UMSK(uint32_t val)
  244. {
  245. return ((val) << AXXX_SCRATCH_UMSK_UMSK__SHIFT) & AXXX_SCRATCH_UMSK_UMSK__MASK;
  246. }
  247. #define AXXX_SCRATCH_UMSK_SWAP__MASK 0x00030000
  248. #define AXXX_SCRATCH_UMSK_SWAP__SHIFT 16
  249. static inline uint32_t AXXX_SCRATCH_UMSK_SWAP(uint32_t val)
  250. {
  251. return ((val) << AXXX_SCRATCH_UMSK_SWAP__SHIFT) & AXXX_SCRATCH_UMSK_SWAP__MASK;
  252. }
  253. #define REG_AXXX_SCRATCH_ADDR 0x000001dd
  254. #define REG_AXXX_CP_ME_RDADDR 0x000001ea
  255. #define REG_AXXX_CP_STATE_DEBUG_INDEX 0x000001ec
  256. #define REG_AXXX_CP_STATE_DEBUG_DATA 0x000001ed
  257. #define REG_AXXX_CP_INT_CNTL 0x000001f2
  258. #define REG_AXXX_CP_INT_STATUS 0x000001f3
  259. #define REG_AXXX_CP_INT_ACK 0x000001f4
  260. #define REG_AXXX_CP_ME_CNTL 0x000001f6
  261. #define AXXX_CP_ME_CNTL_BUSY 0x20000000
  262. #define AXXX_CP_ME_CNTL_HALT 0x10000000
  263. #define REG_AXXX_CP_ME_STATUS 0x000001f7
  264. #define REG_AXXX_CP_ME_RAM_WADDR 0x000001f8
  265. #define REG_AXXX_CP_ME_RAM_RADDR 0x000001f9
  266. #define REG_AXXX_CP_ME_RAM_DATA 0x000001fa
  267. #define REG_AXXX_CP_DEBUG 0x000001fc
  268. #define AXXX_CP_DEBUG_PREDICATE_DISABLE 0x00800000
  269. #define AXXX_CP_DEBUG_PROG_END_PTR_ENABLE 0x01000000
  270. #define AXXX_CP_DEBUG_MIU_128BIT_WRITE_ENABLE 0x02000000
  271. #define AXXX_CP_DEBUG_PREFETCH_PASS_NOPS 0x04000000
  272. #define AXXX_CP_DEBUG_DYNAMIC_CLK_DISABLE 0x08000000
  273. #define AXXX_CP_DEBUG_PREFETCH_MATCH_DISABLE 0x10000000
  274. #define AXXX_CP_DEBUG_SIMPLE_ME_FLOW_CONTROL 0x40000000
  275. #define AXXX_CP_DEBUG_MIU_WRITE_PACK_DISABLE 0x80000000
  276. #define REG_AXXX_CP_CSQ_RB_STAT 0x000001fd
  277. #define AXXX_CP_CSQ_RB_STAT_RPTR__MASK 0x0000007f
  278. #define AXXX_CP_CSQ_RB_STAT_RPTR__SHIFT 0
  279. static inline uint32_t AXXX_CP_CSQ_RB_STAT_RPTR(uint32_t val)
  280. {
  281. return ((val) << AXXX_CP_CSQ_RB_STAT_RPTR__SHIFT) & AXXX_CP_CSQ_RB_STAT_RPTR__MASK;
  282. }
  283. #define AXXX_CP_CSQ_RB_STAT_WPTR__MASK 0x007f0000
  284. #define AXXX_CP_CSQ_RB_STAT_WPTR__SHIFT 16
  285. static inline uint32_t AXXX_CP_CSQ_RB_STAT_WPTR(uint32_t val)
  286. {
  287. return ((val) << AXXX_CP_CSQ_RB_STAT_WPTR__SHIFT) & AXXX_CP_CSQ_RB_STAT_WPTR__MASK;
  288. }
  289. #define REG_AXXX_CP_CSQ_IB1_STAT 0x000001fe
  290. #define AXXX_CP_CSQ_IB1_STAT_RPTR__MASK 0x0000007f
  291. #define AXXX_CP_CSQ_IB1_STAT_RPTR__SHIFT 0
  292. static inline uint32_t AXXX_CP_CSQ_IB1_STAT_RPTR(uint32_t val)
  293. {
  294. return ((val) << AXXX_CP_CSQ_IB1_STAT_RPTR__SHIFT) & AXXX_CP_CSQ_IB1_STAT_RPTR__MASK;
  295. }
  296. #define AXXX_CP_CSQ_IB1_STAT_WPTR__MASK 0x007f0000
  297. #define AXXX_CP_CSQ_IB1_STAT_WPTR__SHIFT 16
  298. static inline uint32_t AXXX_CP_CSQ_IB1_STAT_WPTR(uint32_t val)
  299. {
  300. return ((val) << AXXX_CP_CSQ_IB1_STAT_WPTR__SHIFT) & AXXX_CP_CSQ_IB1_STAT_WPTR__MASK;
  301. }
  302. #define REG_AXXX_CP_CSQ_IB2_STAT 0x000001ff
  303. #define AXXX_CP_CSQ_IB2_STAT_RPTR__MASK 0x0000007f
  304. #define AXXX_CP_CSQ_IB2_STAT_RPTR__SHIFT 0
  305. static inline uint32_t AXXX_CP_CSQ_IB2_STAT_RPTR(uint32_t val)
  306. {
  307. return ((val) << AXXX_CP_CSQ_IB2_STAT_RPTR__SHIFT) & AXXX_CP_CSQ_IB2_STAT_RPTR__MASK;
  308. }
  309. #define AXXX_CP_CSQ_IB2_STAT_WPTR__MASK 0x007f0000
  310. #define AXXX_CP_CSQ_IB2_STAT_WPTR__SHIFT 16
  311. static inline uint32_t AXXX_CP_CSQ_IB2_STAT_WPTR(uint32_t val)
  312. {
  313. return ((val) << AXXX_CP_CSQ_IB2_STAT_WPTR__SHIFT) & AXXX_CP_CSQ_IB2_STAT_WPTR__MASK;
  314. }
  315. #define REG_AXXX_CP_NON_PREFETCH_CNTRS 0x00000440
  316. #define REG_AXXX_CP_STQ_ST_STAT 0x00000443
  317. #define REG_AXXX_CP_ST_BASE 0x0000044d
  318. #define REG_AXXX_CP_ST_BUFSZ 0x0000044e
  319. #define REG_AXXX_CP_MEQ_STAT 0x0000044f
  320. #define REG_AXXX_CP_MIU_TAG_STAT 0x00000452
  321. #define REG_AXXX_CP_BIN_MASK_LO 0x00000454
  322. #define REG_AXXX_CP_BIN_MASK_HI 0x00000455
  323. #define REG_AXXX_CP_BIN_SELECT_LO 0x00000456
  324. #define REG_AXXX_CP_BIN_SELECT_HI 0x00000457
  325. #define REG_AXXX_CP_IB1_BASE 0x00000458
  326. #define REG_AXXX_CP_IB1_BUFSZ 0x00000459
  327. #define REG_AXXX_CP_IB2_BASE 0x0000045a
  328. #define REG_AXXX_CP_IB2_BUFSZ 0x0000045b
  329. #define REG_AXXX_CP_STAT 0x0000047f
  330. #define REG_AXXX_CP_SCRATCH_REG0 0x00000578
  331. #define REG_AXXX_CP_SCRATCH_REG1 0x00000579
  332. #define REG_AXXX_CP_SCRATCH_REG2 0x0000057a
  333. #define REG_AXXX_CP_SCRATCH_REG3 0x0000057b
  334. #define REG_AXXX_CP_SCRATCH_REG4 0x0000057c
  335. #define REG_AXXX_CP_SCRATCH_REG5 0x0000057d
  336. #define REG_AXXX_CP_SCRATCH_REG6 0x0000057e
  337. #define REG_AXXX_CP_SCRATCH_REG7 0x0000057f
  338. #define REG_AXXX_CP_ME_VS_EVENT_SRC 0x00000600
  339. #define REG_AXXX_CP_ME_VS_EVENT_ADDR 0x00000601
  340. #define REG_AXXX_CP_ME_VS_EVENT_DATA 0x00000602
  341. #define REG_AXXX_CP_ME_VS_EVENT_ADDR_SWM 0x00000603
  342. #define REG_AXXX_CP_ME_VS_EVENT_DATA_SWM 0x00000604
  343. #define REG_AXXX_CP_ME_PS_EVENT_SRC 0x00000605
  344. #define REG_AXXX_CP_ME_PS_EVENT_ADDR 0x00000606
  345. #define REG_AXXX_CP_ME_PS_EVENT_DATA 0x00000607
  346. #define REG_AXXX_CP_ME_PS_EVENT_ADDR_SWM 0x00000608
  347. #define REG_AXXX_CP_ME_PS_EVENT_DATA_SWM 0x00000609
  348. #define REG_AXXX_CP_ME_CF_EVENT_SRC 0x0000060a
  349. #define REG_AXXX_CP_ME_CF_EVENT_ADDR 0x0000060b
  350. #define REG_AXXX_CP_ME_CF_EVENT_DATA 0x0000060c
  351. #define REG_AXXX_CP_ME_NRT_ADDR 0x0000060d
  352. #define REG_AXXX_CP_ME_NRT_DATA 0x0000060e
  353. #define REG_AXXX_CP_ME_VS_FETCH_DONE_SRC 0x00000612
  354. #define REG_AXXX_CP_ME_VS_FETCH_DONE_ADDR 0x00000613
  355. #define REG_AXXX_CP_ME_VS_FETCH_DONE_DATA 0x00000614
  356. #endif /* ADRENO_COMMON_XML */