sysmail.h 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. /* Copyright (C) 2018 RDA Technologies Limited and/or its affiliates("RDA").
  2. * All rights reserved.
  3. *
  4. * This software is supplied "AS IS" without any warranties.
  5. * RDA assumes no responsibility or liability for the use of the software,
  6. * conveys no license or title under any patent, copyright, or mask work
  7. * right to the product. RDA reserves the right to make changes in the
  8. * software without notification. RDA also make no representation or
  9. * warranty that such application will be suitable for the specified use
  10. * without further testing or modification.
  11. */
  12. #ifndef _SYSMAIL_H_
  13. #define _SYSMAIL_H_
  14. // Auto generated by dtools(see dtools.txt for its version).
  15. // Don't edit it manually!
  16. #define REG_MAILBOX_BASE (0x51506000)
  17. typedef volatile struct
  18. {
  19. uint32_t intgr0; // 0x00000000
  20. uint32_t intstr0; // 0x00000004
  21. uint32_t intcr0; // 0x00000008
  22. uint32_t intmr0; // 0x0000000c
  23. uint32_t intsr0; // 0x00000010
  24. uint32_t intmsr0; // 0x00000014
  25. uint32_t __24[2]; // 0x00000018
  26. uint32_t intgr1; // 0x00000020
  27. uint32_t intstr1; // 0x00000024
  28. uint32_t intcr1; // 0x00000028
  29. uint32_t intmr1; // 0x0000002c
  30. uint32_t intsr1; // 0x00000030
  31. uint32_t intmsr1; // 0x00000034
  32. uint32_t __56[2]; // 0x00000038
  33. uint32_t intgr2; // 0x00000040
  34. uint32_t intstr2; // 0x00000044
  35. uint32_t intcr2; // 0x00000048
  36. uint32_t intmr2; // 0x0000004c
  37. uint32_t intsr2; // 0x00000050
  38. uint32_t intmsr2; // 0x00000054
  39. uint32_t __88[2]; // 0x00000058
  40. uint32_t intgr3; // 0x00000060
  41. uint32_t intstr3; // 0x00000064
  42. uint32_t intcr3; // 0x00000068
  43. uint32_t intmr3; // 0x0000006c
  44. uint32_t intsr3; // 0x00000070
  45. uint32_t intmsr3; // 0x00000074
  46. uint32_t __120[2]; // 0x00000078
  47. uint32_t intgr4; // 0x00000080
  48. uint32_t intstr4; // 0x00000084
  49. uint32_t intcr4; // 0x00000088
  50. uint32_t intmr4; // 0x0000008c
  51. uint32_t intsr4; // 0x00000090
  52. uint32_t intmsr4; // 0x00000094
  53. uint32_t __152[2]; // 0x00000098
  54. uint32_t intgr5; // 0x000000a0
  55. uint32_t intstr5; // 0x000000a4
  56. uint32_t intcr5; // 0x000000a8
  57. uint32_t intmr5; // 0x000000ac
  58. uint32_t intsr5; // 0x000000b0
  59. uint32_t intmsr5; // 0x000000b4
  60. uint32_t __184[18]; // 0x000000b8
  61. uint32_t sysmail0; // 0x00000100
  62. uint32_t sysmail1; // 0x00000104
  63. uint32_t sysmail2; // 0x00000108
  64. uint32_t sysmail3; // 0x0000010c
  65. uint32_t sysmail4; // 0x00000110
  66. uint32_t sysmail5; // 0x00000114
  67. uint32_t sysmail6; // 0x00000118
  68. uint32_t sysmail7; // 0x0000011c
  69. uint32_t sysmail8; // 0x00000120
  70. uint32_t sysmail9; // 0x00000124
  71. uint32_t sysmail10; // 0x00000128
  72. uint32_t sysmail11; // 0x0000012c
  73. uint32_t sysmail12; // 0x00000130
  74. uint32_t sysmail13; // 0x00000134
  75. uint32_t sysmail14; // 0x00000138
  76. uint32_t sysmail15; // 0x0000013c
  77. uint32_t sysmail16; // 0x00000140
  78. uint32_t sysmail17; // 0x00000144
  79. uint32_t sysmail18; // 0x00000148
  80. uint32_t sysmail19; // 0x0000014c
  81. uint32_t sysmail20; // 0x00000150
  82. uint32_t sysmail21; // 0x00000154
  83. uint32_t sysmail22; // 0x00000158
  84. uint32_t sysmail23; // 0x0000015c
  85. uint32_t sysmail24; // 0x00000160
  86. uint32_t sysmail25; // 0x00000164
  87. uint32_t sysmail26; // 0x00000168
  88. uint32_t sysmail27; // 0x0000016c
  89. uint32_t sysmail28; // 0x00000170
  90. uint32_t sysmail29; // 0x00000174
  91. uint32_t sysmail30; // 0x00000178
  92. uint32_t sysmail31; // 0x0000017c
  93. uint32_t __384[32]; // 0x00000180
  94. uint32_t sysmail32; // 0x00000200
  95. uint32_t sysmail33; // 0x00000204
  96. uint32_t sysmail34; // 0x00000208
  97. uint32_t sysmail35; // 0x0000020c
  98. uint32_t sysmail36; // 0x00000210
  99. uint32_t sysmail37; // 0x00000214
  100. uint32_t sysmail38; // 0x00000218
  101. uint32_t sysmail39; // 0x0000021c
  102. uint32_t sysmail40; // 0x00000220
  103. uint32_t sysmail41; // 0x00000224
  104. uint32_t sysmail42; // 0x00000228
  105. uint32_t sysmail43; // 0x0000022c
  106. uint32_t sysmail44; // 0x00000230
  107. uint32_t sysmail45; // 0x00000234
  108. uint32_t sysmail46; // 0x00000238
  109. uint32_t sysmail47; // 0x0000023c
  110. uint32_t sysmail48; // 0x00000240
  111. uint32_t sysmail49; // 0x00000244
  112. uint32_t sysmail50; // 0x00000248
  113. uint32_t sysmail51; // 0x0000024c
  114. uint32_t sysmail52; // 0x00000250
  115. uint32_t sysmail53; // 0x00000254
  116. uint32_t sysmail54; // 0x00000258
  117. uint32_t sysmail55; // 0x0000025c
  118. uint32_t sysmail56; // 0x00000260
  119. uint32_t sysmail57; // 0x00000264
  120. uint32_t sysmail58; // 0x00000268
  121. uint32_t sysmail59; // 0x0000026c
  122. uint32_t sysmail60; // 0x00000270
  123. uint32_t sysmail61; // 0x00000274
  124. uint32_t sysmail62; // 0x00000278
  125. uint32_t sysmail63; // 0x0000027c
  126. uint32_t __640[32]; // 0x00000280
  127. uint32_t sysmail64; // 0x00000300
  128. uint32_t sysmail65; // 0x00000304
  129. uint32_t sysmail66; // 0x00000308
  130. uint32_t sysmail67; // 0x0000030c
  131. uint32_t sysmail68; // 0x00000310
  132. uint32_t sysmail69; // 0x00000314
  133. uint32_t sysmail70; // 0x00000318
  134. uint32_t sysmail71; // 0x0000031c
  135. uint32_t sysmail72; // 0x00000320
  136. uint32_t sysmail73; // 0x00000324
  137. uint32_t sysmail74; // 0x00000328
  138. uint32_t sysmail75; // 0x0000032c
  139. uint32_t sysmail76; // 0x00000330
  140. uint32_t sysmail77; // 0x00000334
  141. uint32_t sysmail78; // 0x00000338
  142. uint32_t sysmail79; // 0x0000033c
  143. uint32_t sysmail80; // 0x00000340
  144. uint32_t sysmail81; // 0x00000344
  145. uint32_t sysmail82; // 0x00000348
  146. uint32_t sysmail83; // 0x0000034c
  147. uint32_t sysmail84; // 0x00000350
  148. uint32_t sysmail85; // 0x00000354
  149. uint32_t sysmail86; // 0x00000358
  150. uint32_t sysmail87; // 0x0000035c
  151. uint32_t sysmail88; // 0x00000360
  152. uint32_t sysmail89; // 0x00000364
  153. uint32_t sysmail90; // 0x00000368
  154. uint32_t sysmail91; // 0x0000036c
  155. uint32_t sysmail92; // 0x00000370
  156. uint32_t sysmail93; // 0x00000374
  157. uint32_t sysmail94; // 0x00000378
  158. uint32_t sysmail95; // 0x0000037c
  159. } HWP_CP_MAILBOX_T;
  160. #define hwp_mailbox ((HWP_CP_MAILBOX_T *)REG_ACCESS_ADDRESS(REG_MAILBOX_BASE))
  161. #endif // _SYSMAIL_H_