gh_debug_memd.h 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375
  1. /*!
  2. *******************************************************************************
  3. **
  4. ** \file gh_debug_memd.h
  5. **
  6. ** \brief MEMD Debug Registers.
  7. **
  8. ** Copyright: 2012 - 2016 (C) GoKe Microelectronics
  9. **
  10. ** \attention THIS SAMPLE CODE IS PROVIDED AS IS. GOKE MICROELECTRONICS
  11. ** ACCEPTS NO RESPONSIBILITY OR LIABILITY FOR ANY ERRORS OR
  12. ** OMMISSIONS.
  13. **
  14. ** \note Do not modify this file as it is generated automatically.
  15. **
  16. ******************************************************************************/
  17. #ifndef _GH_DEBUG_MEMD_H
  18. #define _GH_DEBUG_MEMD_H
  19. #ifdef __LINUX__
  20. #include "reg4linux.h"
  21. #else
  22. #define FIO_ADDRESS(block,address) (address)
  23. #define FIO_MOFFSET(block,moffset) (moffset)
  24. #endif
  25. #ifndef __LINUX__
  26. #include "gtypes.h" /* global type definitions */
  27. #include "gh_lib_cfg.h" /* configuration */
  28. #endif
  29. #define GH_DEBUG_MEMD_ENABLE_DEBUG_PRINT 0
  30. #ifdef __LINUX__
  31. #define GH_DEBUG_MEMD_DEBUG_PRINT_FUNCTION printk
  32. #else
  33. #define GH_DEBUG_MEMD_DEBUG_PRINT_FUNCTION printf
  34. #endif
  35. #ifndef __LINUX__
  36. #if GH_DEBUG_MEMD_ENABLE_DEBUG_PRINT
  37. #include <stdio.h>
  38. #endif
  39. #endif
  40. /*----------------------------------------------------------------------------*/
  41. /* registers */
  42. /*----------------------------------------------------------------------------*/
  43. #define REG_DEBUG_MEMD_MEMD_CR_TRESET_ADDR FIO_ADDRESS(DEBUG_MEMD,0xa0150000) /* read/write */
  44. #define REG_DEBUG_MEMD_MEMD_CR_IC_INVLD_ADDR FIO_ADDRESS(DEBUG_MEMD,0xa0150004) /* write */
  45. #define REG_DEBUG_MEMD_MEMD_CR_RESET_PC_ADDR FIO_ADDRESS(DEBUG_MEMD,0xa0150008) /* read/write */
  46. #define REG_DEBUG_MEMD_MEMD_CR_CLKCTRL_ADDR FIO_ADDRESS(DEBUG_MEMD,0xa015000C) /* read/write */
  47. #define REG_DEBUG_MEMD_MEMD_CR_TS_T0_ADDR FIO_ADDRESS(DEBUG_MEMD,0xa0150010) /* read */
  48. #define REG_DEBUG_MEMD_MEMD_CR_TS_T1_ADDR FIO_ADDRESS(DEBUG_MEMD,0xa0150014) /* read */
  49. #define REG_DEBUG_MEMD_MEMD_CR_TS_T2_ADDR FIO_ADDRESS(DEBUG_MEMD,0xa0150018) /* read */
  50. #define REG_DEBUG_MEMD_MEMD_CR_TS_T3_ADDR FIO_ADDRESS(DEBUG_MEMD,0xa015001C) /* read */
  51. #define REG_DEBUG_MEMD_MEMD_CR_IS_ADDR FIO_ADDRESS(DEBUG_MEMD,0xa0150020) /* read */
  52. #define REG_DEBUG_MEMD_MEMD_CR_LRU_ADDR FIO_ADDRESS(DEBUG_MEMD,0xa0150024) /* read */
  53. #define REG_DEBUG_MEMD_MEMD_CR_PC_T0_ADDR FIO_ADDRESS(DEBUG_MEMD,0xa0150028) /* read */
  54. #define REG_DEBUG_MEMD_MEMD_CR_PC_T1_ADDR FIO_ADDRESS(DEBUG_MEMD,0xa015002C) /* read */
  55. #define REG_DEBUG_MEMD_MEMD_CR_PC_T2_ADDR FIO_ADDRESS(DEBUG_MEMD,0xa0150030) /* read */
  56. #define REG_DEBUG_MEMD_MEMD_CR_PC_T3_ADDR FIO_ADDRESS(DEBUG_MEMD,0xa0150034) /* read */
  57. #define REG_DEBUG_MEMD_MEMD_CR_PC_D_ADDR FIO_ADDRESS(DEBUG_MEMD,0xa0150038) /* read */
  58. #define REG_DEBUG_MEMD_MEMD_CR_OP_D_ADDR FIO_ADDRESS(DEBUG_MEMD,0xa015003C) /* read */
  59. #define REG_DEBUG_MEMD_MEMD_CR_STALL_ADDR FIO_ADDRESS(DEBUG_MEMD,0xa0150040) /* read */
  60. #define REG_DEBUG_MEMD_MEMD_CR_DMAQ0_ADDR FIO_ADDRESS(DEBUG_MEMD,0xa0150044) /* read */
  61. #define REG_DEBUG_MEMD_MEMD_CR_DMAQ1_ADDR FIO_ADDRESS(DEBUG_MEMD,0xa0150048) /* read */
  62. #define REG_DEBUG_MEMD_MEMD_CR_DMAQ2_ADDR FIO_ADDRESS(DEBUG_MEMD,0xa015004C) /* read */
  63. #define REG_DEBUG_MEMD_MEMD_CR_CMDQ0_ADDR FIO_ADDRESS(DEBUG_MEMD,0xa0150050) /* read */
  64. #define REG_DEBUG_MEMD_MEMD_CR_ME_ADDR FIO_ADDRESS(DEBUG_MEMD,0xa0150060) /* read */
  65. #define REG_DEBUG_MEMD_MEMD_CR_MD_ADDR FIO_ADDRESS(DEBUG_MEMD,0xa0150064) /* read */
  66. #define REG_DEBUG_MEMD_MEMD_CR_RF_ADDR FIO_ADDRESS(DEBUG_MEMD,0xa0150800) /* read/write */
  67. /*----------------------------------------------------------------------------*/
  68. /* bit group structures */
  69. /*----------------------------------------------------------------------------*/
  70. typedef union { /* DEBUG_MEMD_MEMD_CR_TRESET_ADDR */
  71. U32 all;
  72. struct {
  73. U32 reset : 4;
  74. U32 suspend : 4;
  75. U32 : 23;
  76. U32 orc_reset : 1;
  77. } bitc;
  78. } GH_DEBUG_MEMD_MEMD_CR_TRESET_ADDR_S;
  79. typedef union { /* DEBUG_MEMD_MEMD_CR_IC_INVLD_ADDR */
  80. U32 all;
  81. struct {
  82. U32 icache : 1;
  83. U32 : 31;
  84. } bitc;
  85. } GH_DEBUG_MEMD_MEMD_CR_IC_INVLD_ADDR_S;
  86. typedef union { /* DEBUG_MEMD_MEMD_CR_RESET_PC_ADDR */
  87. U32 all;
  88. struct {
  89. U32 reset : 32;
  90. } bitc;
  91. } GH_DEBUG_MEMD_MEMD_CR_RESET_PC_ADDR_S;
  92. typedef union { /* DEBUG_MEMD_MEMD_CR_CLKCTRL_ADDR */
  93. U32 all;
  94. struct {
  95. U32 mctf : 1;
  96. U32 me : 1;
  97. U32 md : 1;
  98. U32 : 1;
  99. U32 mctf_hw : 1;
  100. U32 me_hw : 1;
  101. U32 md_hw : 1;
  102. U32 : 25;
  103. } bitc;
  104. } GH_DEBUG_MEMD_MEMD_CR_CLKCTRL_ADDR_S;
  105. typedef union { /* DEBUG_MEMD_MEMD_CR_LRU_ADDR */
  106. U32 all;
  107. struct {
  108. U32 entry0 : 4;
  109. U32 entry1 : 4;
  110. U32 entry2 : 4;
  111. U32 entry3 : 4;
  112. U32 : 16;
  113. } bitc;
  114. } GH_DEBUG_MEMD_MEMD_CR_LRU_ADDR_S;
  115. typedef union { /* DEBUG_MEMD_MEMD_CR_PC_D_ADDR */
  116. U32 all;
  117. struct {
  118. U32 pc_d : 20;
  119. U32 : 11;
  120. U32 vld_d : 1;
  121. } bitc;
  122. } GH_DEBUG_MEMD_MEMD_CR_PC_D_ADDR_S;
  123. /*----------------------------------------------------------------------------*/
  124. /* mirror variables */
  125. /*----------------------------------------------------------------------------*/
  126. extern GH_DEBUG_MEMD_MEMD_CR_IC_INVLD_ADDR_S m_debug_memd_memd_cr_ic_invld_addr;
  127. #ifdef __cplusplus
  128. extern "C" {
  129. #endif
  130. /*----------------------------------------------------------------------------*/
  131. /* register DEBUG_MEMD_MEMD_CR_TRESET_ADDR (read/write) */
  132. /*----------------------------------------------------------------------------*/
  133. /*! \brief Writes the register 'DEBUG_MEMD_MEMD_CR_TRESET_ADDR'. */
  134. void GH_DEBUG_MEMD_set_MEMD_CR_TRESET_ADDR(U32 data);
  135. /*! \brief Reads the register 'DEBUG_MEMD_MEMD_CR_TRESET_ADDR'. */
  136. U32 GH_DEBUG_MEMD_get_MEMD_CR_TRESET_ADDR(void);
  137. /*! \brief Writes the bit group 'reset' of register 'DEBUG_MEMD_MEMD_CR_TRESET_ADDR'. */
  138. void GH_DEBUG_MEMD_set_MEMD_CR_TRESET_ADDR_reset(U8 data);
  139. /*! \brief Reads the bit group 'reset' of register 'DEBUG_MEMD_MEMD_CR_TRESET_ADDR'. */
  140. U8 GH_DEBUG_MEMD_get_MEMD_CR_TRESET_ADDR_reset(void);
  141. /*! \brief Writes the bit group 'suspend' of register 'DEBUG_MEMD_MEMD_CR_TRESET_ADDR'. */
  142. void GH_DEBUG_MEMD_set_MEMD_CR_TRESET_ADDR_suspend(U8 data);
  143. /*! \brief Reads the bit group 'suspend' of register 'DEBUG_MEMD_MEMD_CR_TRESET_ADDR'. */
  144. U8 GH_DEBUG_MEMD_get_MEMD_CR_TRESET_ADDR_suspend(void);
  145. /*! \brief Writes the bit group 'ORC_reset' of register 'DEBUG_MEMD_MEMD_CR_TRESET_ADDR'. */
  146. void GH_DEBUG_MEMD_set_MEMD_CR_TRESET_ADDR_ORC_reset(U8 data);
  147. /*! \brief Reads the bit group 'ORC_reset' of register 'DEBUG_MEMD_MEMD_CR_TRESET_ADDR'. */
  148. U8 GH_DEBUG_MEMD_get_MEMD_CR_TRESET_ADDR_ORC_reset(void);
  149. /*----------------------------------------------------------------------------*/
  150. /* register DEBUG_MEMD_MEMD_CR_IC_INVLD_ADDR (write) */
  151. /*----------------------------------------------------------------------------*/
  152. /*! \brief Writes the register 'DEBUG_MEMD_MEMD_CR_IC_INVLD_ADDR'. */
  153. void GH_DEBUG_MEMD_set_MEMD_CR_IC_INVLD_ADDR(U32 data);
  154. /*! \brief Reads the mirror variable of the register 'DEBUG_MEMD_MEMD_CR_IC_INVLD_ADDR'. */
  155. U32 GH_DEBUG_MEMD_getm_MEMD_CR_IC_INVLD_ADDR(void);
  156. /*! \brief Writes the bit group 'icache' of register 'DEBUG_MEMD_MEMD_CR_IC_INVLD_ADDR'. */
  157. void GH_DEBUG_MEMD_set_MEMD_CR_IC_INVLD_ADDR_icache(U8 data);
  158. /*! \brief Reads the bit group 'icache' from the mirror variable of register 'DEBUG_MEMD_MEMD_CR_IC_INVLD_ADDR'. */
  159. U8 GH_DEBUG_MEMD_getm_MEMD_CR_IC_INVLD_ADDR_icache(void);
  160. /*----------------------------------------------------------------------------*/
  161. /* register DEBUG_MEMD_MEMD_CR_RESET_PC_ADDR (read/write) */
  162. /*----------------------------------------------------------------------------*/
  163. /*! \brief Writes the register 'DEBUG_MEMD_MEMD_CR_RESET_PC_ADDR'. */
  164. void GH_DEBUG_MEMD_set_MEMD_CR_RESET_PC_ADDR(U32 data);
  165. /*! \brief Reads the register 'DEBUG_MEMD_MEMD_CR_RESET_PC_ADDR'. */
  166. U32 GH_DEBUG_MEMD_get_MEMD_CR_RESET_PC_ADDR(void);
  167. /*! \brief Writes the bit group 'reset' of register 'DEBUG_MEMD_MEMD_CR_RESET_PC_ADDR'. */
  168. void GH_DEBUG_MEMD_set_MEMD_CR_RESET_PC_ADDR_reset(U32 data);
  169. /*! \brief Reads the bit group 'reset' of register 'DEBUG_MEMD_MEMD_CR_RESET_PC_ADDR'. */
  170. U32 GH_DEBUG_MEMD_get_MEMD_CR_RESET_PC_ADDR_reset(void);
  171. /*----------------------------------------------------------------------------*/
  172. /* register DEBUG_MEMD_MEMD_CR_CLKCTRL_ADDR (read/write) */
  173. /*----------------------------------------------------------------------------*/
  174. /*! \brief Writes the register 'DEBUG_MEMD_MEMD_CR_CLKCTRL_ADDR'. */
  175. void GH_DEBUG_MEMD_set_MEMD_CR_CLKCTRL_ADDR(U32 data);
  176. /*! \brief Reads the register 'DEBUG_MEMD_MEMD_CR_CLKCTRL_ADDR'. */
  177. U32 GH_DEBUG_MEMD_get_MEMD_CR_CLKCTRL_ADDR(void);
  178. /*! \brief Writes the bit group 'MCTF' of register 'DEBUG_MEMD_MEMD_CR_CLKCTRL_ADDR'. */
  179. void GH_DEBUG_MEMD_set_MEMD_CR_CLKCTRL_ADDR_MCTF(U8 data);
  180. /*! \brief Reads the bit group 'MCTF' of register 'DEBUG_MEMD_MEMD_CR_CLKCTRL_ADDR'. */
  181. U8 GH_DEBUG_MEMD_get_MEMD_CR_CLKCTRL_ADDR_MCTF(void);
  182. /*! \brief Writes the bit group 'ME' of register 'DEBUG_MEMD_MEMD_CR_CLKCTRL_ADDR'. */
  183. void GH_DEBUG_MEMD_set_MEMD_CR_CLKCTRL_ADDR_ME(U8 data);
  184. /*! \brief Reads the bit group 'ME' of register 'DEBUG_MEMD_MEMD_CR_CLKCTRL_ADDR'. */
  185. U8 GH_DEBUG_MEMD_get_MEMD_CR_CLKCTRL_ADDR_ME(void);
  186. /*! \brief Writes the bit group 'MD' of register 'DEBUG_MEMD_MEMD_CR_CLKCTRL_ADDR'. */
  187. void GH_DEBUG_MEMD_set_MEMD_CR_CLKCTRL_ADDR_MD(U8 data);
  188. /*! \brief Reads the bit group 'MD' of register 'DEBUG_MEMD_MEMD_CR_CLKCTRL_ADDR'. */
  189. U8 GH_DEBUG_MEMD_get_MEMD_CR_CLKCTRL_ADDR_MD(void);
  190. /*! \brief Writes the bit group 'MCTF_HW' of register 'DEBUG_MEMD_MEMD_CR_CLKCTRL_ADDR'. */
  191. void GH_DEBUG_MEMD_set_MEMD_CR_CLKCTRL_ADDR_MCTF_HW(U8 data);
  192. /*! \brief Reads the bit group 'MCTF_HW' of register 'DEBUG_MEMD_MEMD_CR_CLKCTRL_ADDR'. */
  193. U8 GH_DEBUG_MEMD_get_MEMD_CR_CLKCTRL_ADDR_MCTF_HW(void);
  194. /*! \brief Writes the bit group 'ME_HW' of register 'DEBUG_MEMD_MEMD_CR_CLKCTRL_ADDR'. */
  195. void GH_DEBUG_MEMD_set_MEMD_CR_CLKCTRL_ADDR_ME_HW(U8 data);
  196. /*! \brief Reads the bit group 'ME_HW' of register 'DEBUG_MEMD_MEMD_CR_CLKCTRL_ADDR'. */
  197. U8 GH_DEBUG_MEMD_get_MEMD_CR_CLKCTRL_ADDR_ME_HW(void);
  198. /*! \brief Writes the bit group 'MD_HW' of register 'DEBUG_MEMD_MEMD_CR_CLKCTRL_ADDR'. */
  199. void GH_DEBUG_MEMD_set_MEMD_CR_CLKCTRL_ADDR_MD_HW(U8 data);
  200. /*! \brief Reads the bit group 'MD_HW' of register 'DEBUG_MEMD_MEMD_CR_CLKCTRL_ADDR'. */
  201. U8 GH_DEBUG_MEMD_get_MEMD_CR_CLKCTRL_ADDR_MD_HW(void);
  202. /*----------------------------------------------------------------------------*/
  203. /* register DEBUG_MEMD_MEMD_CR_TS_T0_ADDR (read) */
  204. /*----------------------------------------------------------------------------*/
  205. /*! \brief Reads the register 'DEBUG_MEMD_MEMD_CR_TS_T0_ADDR'. */
  206. U32 GH_DEBUG_MEMD_get_MEMD_CR_TS_T0_ADDR(void);
  207. /*----------------------------------------------------------------------------*/
  208. /* register DEBUG_MEMD_MEMD_CR_TS_T1_ADDR (read) */
  209. /*----------------------------------------------------------------------------*/
  210. /*! \brief Reads the register 'DEBUG_MEMD_MEMD_CR_TS_T1_ADDR'. */
  211. U32 GH_DEBUG_MEMD_get_MEMD_CR_TS_T1_ADDR(void);
  212. /*----------------------------------------------------------------------------*/
  213. /* register DEBUG_MEMD_MEMD_CR_TS_T2_ADDR (read) */
  214. /*----------------------------------------------------------------------------*/
  215. /*! \brief Reads the register 'DEBUG_MEMD_MEMD_CR_TS_T2_ADDR'. */
  216. U32 GH_DEBUG_MEMD_get_MEMD_CR_TS_T2_ADDR(void);
  217. /*----------------------------------------------------------------------------*/
  218. /* register DEBUG_MEMD_MEMD_CR_TS_T3_ADDR (read) */
  219. /*----------------------------------------------------------------------------*/
  220. /*! \brief Reads the register 'DEBUG_MEMD_MEMD_CR_TS_T3_ADDR'. */
  221. U32 GH_DEBUG_MEMD_get_MEMD_CR_TS_T3_ADDR(void);
  222. /*----------------------------------------------------------------------------*/
  223. /* register DEBUG_MEMD_MEMD_CR_IS_ADDR (read) */
  224. /*----------------------------------------------------------------------------*/
  225. /*! \brief Reads the register 'DEBUG_MEMD_MEMD_CR_IS_ADDR'. */
  226. U32 GH_DEBUG_MEMD_get_MEMD_CR_IS_ADDR(void);
  227. /*----------------------------------------------------------------------------*/
  228. /* register DEBUG_MEMD_MEMD_CR_LRU_ADDR (read) */
  229. /*----------------------------------------------------------------------------*/
  230. /*! \brief Reads the register 'DEBUG_MEMD_MEMD_CR_LRU_ADDR'. */
  231. U32 GH_DEBUG_MEMD_get_MEMD_CR_LRU_ADDR(void);
  232. /*! \brief Reads the bit group 'entry0' of register 'DEBUG_MEMD_MEMD_CR_LRU_ADDR'. */
  233. U8 GH_DEBUG_MEMD_get_MEMD_CR_LRU_ADDR_entry0(void);
  234. /*! \brief Reads the bit group 'entry1' of register 'DEBUG_MEMD_MEMD_CR_LRU_ADDR'. */
  235. U8 GH_DEBUG_MEMD_get_MEMD_CR_LRU_ADDR_entry1(void);
  236. /*! \brief Reads the bit group 'entry2' of register 'DEBUG_MEMD_MEMD_CR_LRU_ADDR'. */
  237. U8 GH_DEBUG_MEMD_get_MEMD_CR_LRU_ADDR_entry2(void);
  238. /*! \brief Reads the bit group 'entry3' of register 'DEBUG_MEMD_MEMD_CR_LRU_ADDR'. */
  239. U8 GH_DEBUG_MEMD_get_MEMD_CR_LRU_ADDR_entry3(void);
  240. /*----------------------------------------------------------------------------*/
  241. /* register DEBUG_MEMD_MEMD_CR_PC_T0_ADDR (read) */
  242. /*----------------------------------------------------------------------------*/
  243. /*! \brief Reads the register 'DEBUG_MEMD_MEMD_CR_PC_T0_ADDR'. */
  244. U32 GH_DEBUG_MEMD_get_MEMD_CR_PC_T0_ADDR(void);
  245. /*----------------------------------------------------------------------------*/
  246. /* register DEBUG_MEMD_MEMD_CR_PC_T1_ADDR (read) */
  247. /*----------------------------------------------------------------------------*/
  248. /*! \brief Reads the register 'DEBUG_MEMD_MEMD_CR_PC_T1_ADDR'. */
  249. U32 GH_DEBUG_MEMD_get_MEMD_CR_PC_T1_ADDR(void);
  250. /*----------------------------------------------------------------------------*/
  251. /* register DEBUG_MEMD_MEMD_CR_PC_T2_ADDR (read) */
  252. /*----------------------------------------------------------------------------*/
  253. /*! \brief Reads the register 'DEBUG_MEMD_MEMD_CR_PC_T2_ADDR'. */
  254. U32 GH_DEBUG_MEMD_get_MEMD_CR_PC_T2_ADDR(void);
  255. /*----------------------------------------------------------------------------*/
  256. /* register DEBUG_MEMD_MEMD_CR_PC_T3_ADDR (read) */
  257. /*----------------------------------------------------------------------------*/
  258. /*! \brief Reads the register 'DEBUG_MEMD_MEMD_CR_PC_T3_ADDR'. */
  259. U32 GH_DEBUG_MEMD_get_MEMD_CR_PC_T3_ADDR(void);
  260. /*----------------------------------------------------------------------------*/
  261. /* register DEBUG_MEMD_MEMD_CR_PC_D_ADDR (read) */
  262. /*----------------------------------------------------------------------------*/
  263. /*! \brief Reads the register 'DEBUG_MEMD_MEMD_CR_PC_D_ADDR'. */
  264. U32 GH_DEBUG_MEMD_get_MEMD_CR_PC_D_ADDR(void);
  265. /*! \brief Reads the bit group 'pc_d' of register 'DEBUG_MEMD_MEMD_CR_PC_D_ADDR'. */
  266. U32 GH_DEBUG_MEMD_get_MEMD_CR_PC_D_ADDR_pc_d(void);
  267. /*! \brief Reads the bit group 'vld_d' of register 'DEBUG_MEMD_MEMD_CR_PC_D_ADDR'. */
  268. U8 GH_DEBUG_MEMD_get_MEMD_CR_PC_D_ADDR_vld_d(void);
  269. /*----------------------------------------------------------------------------*/
  270. /* register DEBUG_MEMD_MEMD_CR_OP_D_ADDR (read) */
  271. /*----------------------------------------------------------------------------*/
  272. /*! \brief Reads the register 'DEBUG_MEMD_MEMD_CR_OP_D_ADDR'. */
  273. U32 GH_DEBUG_MEMD_get_MEMD_CR_OP_D_ADDR(void);
  274. /*----------------------------------------------------------------------------*/
  275. /* register DEBUG_MEMD_MEMD_CR_STALL_ADDR (read) */
  276. /*----------------------------------------------------------------------------*/
  277. /*! \brief Reads the register 'DEBUG_MEMD_MEMD_CR_STALL_ADDR'. */
  278. U32 GH_DEBUG_MEMD_get_MEMD_CR_STALL_ADDR(void);
  279. /*----------------------------------------------------------------------------*/
  280. /* register DEBUG_MEMD_MEMD_CR_DMAQ0_ADDR (read) */
  281. /*----------------------------------------------------------------------------*/
  282. /*! \brief Reads the register 'DEBUG_MEMD_MEMD_CR_DMAQ0_ADDR'. */
  283. U32 GH_DEBUG_MEMD_get_MEMD_CR_DMAQ0_ADDR(void);
  284. /*----------------------------------------------------------------------------*/
  285. /* register DEBUG_MEMD_MEMD_CR_DMAQ1_ADDR (read) */
  286. /*----------------------------------------------------------------------------*/
  287. /*! \brief Reads the register 'DEBUG_MEMD_MEMD_CR_DMAQ1_ADDR'. */
  288. U32 GH_DEBUG_MEMD_get_MEMD_CR_DMAQ1_ADDR(void);
  289. /*----------------------------------------------------------------------------*/
  290. /* register DEBUG_MEMD_MEMD_CR_DMAQ2_ADDR (read) */
  291. /*----------------------------------------------------------------------------*/
  292. /*! \brief Reads the register 'DEBUG_MEMD_MEMD_CR_DMAQ2_ADDR'. */
  293. U32 GH_DEBUG_MEMD_get_MEMD_CR_DMAQ2_ADDR(void);
  294. /*----------------------------------------------------------------------------*/
  295. /* register DEBUG_MEMD_MEMD_CR_CMDQ0_ADDR (read) */
  296. /*----------------------------------------------------------------------------*/
  297. /*! \brief Reads the register 'DEBUG_MEMD_MEMD_CR_CMDQ0_ADDR'. */
  298. U32 GH_DEBUG_MEMD_get_MEMD_CR_CMDQ0_ADDR(void);
  299. /*----------------------------------------------------------------------------*/
  300. /* register DEBUG_MEMD_MEMD_CR_ME_ADDR (read) */
  301. /*----------------------------------------------------------------------------*/
  302. /*! \brief Reads the register 'DEBUG_MEMD_MEMD_CR_ME_ADDR'. */
  303. U32 GH_DEBUG_MEMD_get_MEMD_CR_ME_ADDR(void);
  304. /*----------------------------------------------------------------------------*/
  305. /* register DEBUG_MEMD_MEMD_CR_MD_ADDR (read) */
  306. /*----------------------------------------------------------------------------*/
  307. /*! \brief Reads the register 'DEBUG_MEMD_MEMD_CR_MD_ADDR'. */
  308. U32 GH_DEBUG_MEMD_get_MEMD_CR_MD_ADDR(void);
  309. /*----------------------------------------------------------------------------*/
  310. /* register DEBUG_MEMD_MEMD_CR_RF_ADDR (read/write) */
  311. /*----------------------------------------------------------------------------*/
  312. /*! \brief Writes the register 'DEBUG_MEMD_MEMD_CR_RF_ADDR'. */
  313. void GH_DEBUG_MEMD_set_MEMD_CR_RF_ADDR(U32 data);
  314. /*! \brief Reads the register 'DEBUG_MEMD_MEMD_CR_RF_ADDR'. */
  315. U32 GH_DEBUG_MEMD_get_MEMD_CR_RF_ADDR(void);
  316. /*----------------------------------------------------------------------------*/
  317. /* init function */
  318. /*----------------------------------------------------------------------------*/
  319. /*! \brief Initialises the registers and mirror variables. */
  320. void GH_DEBUG_MEMD_init(void);
  321. #ifdef SRC_INLINE
  322. #define SRC_INC 1
  323. #include "gh_debug_memd.c"
  324. #undef SRC_INC
  325. #endif
  326. #ifdef __cplusplus
  327. }
  328. #endif
  329. #endif /* _GH_DEBUG_MEMD_H */
  330. /*----------------------------------------------------------------------------*/
  331. /* end of file */
  332. /*----------------------------------------------------------------------------*/