qos_init_g2h_mstat390.h 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  1. /*
  2. * Copyright (c) 2021, Renesas Electronics Corporation. All rights reserved.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. #ifndef QOS_INIT_G2H_MSTAT390_H
  7. #define QOS_INIT_G2H_MSTAT390_H
  8. static uint64_t mstat_fix[] = {
  9. /* 0x0000, */ 0x0000000000000000UL,
  10. /* 0x0008, */ 0x0000000000000000UL,
  11. /* 0x0010, */ 0x0000000000000000UL,
  12. /* 0x0018, */ 0x0000000000000000UL,
  13. /* 0x0020, */ 0x0000000000000000UL,
  14. /* 0x0028, */ 0x0000000000000000UL,
  15. /* 0x0030, */ 0x001008070000FFFFUL,
  16. /* 0x0038, */ 0x0010100D0000FFFFUL,
  17. /* 0x0040, */ 0x00141C0E0000FFFFUL,
  18. /* 0x0048, */ 0x0000000000000000UL,
  19. /* 0x0050, */ 0x001408010000FFFFUL,
  20. /* 0x0058, */ 0x00141C190000FFFFUL,
  21. /* 0x0060, */ 0x00141C190000FFFFUL,
  22. /* 0x0068, */ 0x0000000000000000UL,
  23. /* 0x0070, */ 0x001408010000FFFFUL,
  24. /* 0x0078, */ 0x0000000000000000UL,
  25. /* 0x0080, */ 0x0000000000000000UL,
  26. /* 0x0088, */ 0x00141C0E0000FFFFUL,
  27. /* 0x0090, */ 0x0000000000000000UL,
  28. /* 0x0098, */ 0x0000000000000000UL,
  29. /* 0x00a0, */ 0x000C08040000FFFFUL,
  30. /* 0x00a8, */ 0x000C04020000FFFFUL,
  31. /* 0x00b0, */ 0x000C04020000FFFFUL,
  32. /* 0x00b8, */ 0x0000000000000000UL,
  33. /* 0x00c0, */ 0x000C08040000FFFFUL,
  34. /* 0x00c8, */ 0x000C04020000FFFFUL,
  35. /* 0x00d0, */ 0x000C04020000FFFFUL,
  36. /* 0x00d8, */ 0x001044110000FFFFUL,
  37. /* 0x00e0, */ 0x001014110000FFFFUL,
  38. /* 0x00e8, */ 0x0000000000000000UL,
  39. /* 0x00f0, */ 0x001044110000FFFFUL,
  40. /* 0x00f8, */ 0x000C1C1A0000FFFFUL,
  41. /* 0x0100, */ 0x0000000000000000UL,
  42. /* 0x0108, */ 0x0000000000000000UL,
  43. /* 0x0110, */ 0x001014110000FFFFUL,
  44. /* 0x0118, */ 0x000C38360000FFFFUL,
  45. /* 0x0120, */ 0x000C38360000FFFFUL,
  46. /* 0x0128, */ 0x0000000000000000UL,
  47. /* 0x0130, */ 0x0000000000000000UL,
  48. /* 0x0138, */ 0x001018150000FFFFUL,
  49. /* 0x0140, */ 0x001018150000FFFFUL,
  50. /* 0x0148, */ 0x0000000000000000UL,
  51. /* 0x0150, */ 0x00101C190000FFFFUL,
  52. /* 0x0158, */ 0x00101C190000FFFFUL,
  53. /* 0x0160, */ 0x001018150000FFFFUL,
  54. /* 0x0168, */ 0x001018150000FFFFUL,
  55. /* 0x0170, */ 0x0000000000000000UL,
  56. /* 0x0178, */ 0x00100C0B0000FFFFUL,
  57. /* 0x0180, */ 0x00100C0B0000FFFFUL,
  58. /* 0x0188, */ 0x0000000000000000UL,
  59. /* 0x0190, */ 0x001058570000FFFFUL,
  60. /* 0x0198, */ 0x001058570000FFFFUL,
  61. /* 0x01a0, */ 0x001018150000FFFFUL,
  62. /* 0x01a8, */ 0x001018150000FFFFUL,
  63. /* 0x01b0, */ 0x0000000000000000UL,
  64. /* 0x01b8, */ 0x0000000000000000UL,
  65. /* 0x01c0, */ 0x000C04010000FFFFUL,
  66. /* 0x01c8, */ 0x000C04010000FFFFUL,
  67. /* 0x01d0, */ 0x000C04010000FFFFUL,
  68. /* 0x01d8, */ 0x000C04010000FFFFUL,
  69. /* 0x01e0, */ 0x0000000000000000UL,
  70. /* 0x01e8, */ 0x000C04010000FFFFUL,
  71. /* 0x01f0, */ 0x000C04010000FFFFUL,
  72. /* 0x01f8, */ 0x0000000000000000UL,
  73. /* 0x0200, */ 0x0000000000000000UL,
  74. /* 0x0208, */ 0x000C04010000FFFFUL,
  75. /* 0x0210, */ 0x000C04010000FFFFUL,
  76. /* 0x0218, */ 0x0000000000000000UL,
  77. /* 0x0220, */ 0x0000000000000000UL,
  78. /* 0x0228, */ 0x0000000000000000UL,
  79. /* 0x0230, */ 0x0000000000000000UL,
  80. /* 0x0238, */ 0x0000000000000000UL,
  81. /* 0x0240, */ 0x0000000000000000UL,
  82. /* 0x0248, */ 0x0000000000000000UL,
  83. /* 0x0250, */ 0x0000000000000000UL,
  84. /* 0x0258, */ 0x0000000000000000UL,
  85. /* 0x0260, */ 0x000C0C030000FFFFUL,
  86. /* 0x0268, */ 0x001410010000FFFFUL,
  87. /* 0x0270, */ 0x001404010000FFFFUL,
  88. /* 0x0278, */ 0x000C08020000FFFFUL,
  89. /* 0x0280, */ 0x0000000000000000UL,
  90. /* 0x0288, */ 0x0000000000000000UL,
  91. /* 0x0290, */ 0x001410010000FFFFUL,
  92. /* 0x0298, */ 0x001404010000FFFFUL,
  93. /* 0x02a0, */ 0x000C04010000FFFFUL,
  94. /* 0x02a8, */ 0x000C04010000FFFFUL,
  95. /* 0x02b0, */ 0x00140C010000FFFFUL,
  96. /* 0x02b8, */ 0x000C04010000FFFFUL,
  97. /* 0x02c0, */ 0x0000000000000000UL,
  98. /* 0x02c8, */ 0x0000000000000000UL,
  99. /* 0x02d0, */ 0x000C04010000FFFFUL,
  100. /* 0x02d8, */ 0x000C04010000FFFFUL,
  101. /* 0x02e0, */ 0x00140C010000FFFFUL,
  102. /* 0x02e8, */ 0x000C04010000FFFFUL,
  103. /* 0x02f0, */ 0x0000000000000000UL,
  104. /* 0x02f8, */ 0x0000000000000000UL,
  105. /* 0x0300, */ 0x0000000000000000UL,
  106. /* 0x0308, */ 0x0000000000000000UL,
  107. /* 0x0310, */ 0x0000000000000000UL,
  108. /* 0x0318, */ 0x0000000000000000UL,
  109. /* 0x0320, */ 0x0000000000000000UL,
  110. /* 0x0328, */ 0x0000000000000000UL,
  111. /* 0x0330, */ 0x0000000000000000UL,
  112. /* 0x0338, */ 0x0000000000000000UL,
  113. /* 0x0340, */ 0x0000000000000000UL,
  114. /* 0x0348, */ 0x0000000000000000UL,
  115. /* 0x0350, */ 0x0000000000000000UL,
  116. /* 0x0358, */ 0x0000000000000000UL,
  117. /* 0x0360, */ 0x0000000000000000UL,
  118. /* 0x0368, */ 0x0000000000000000UL,
  119. };
  120. static uint64_t mstat_be[] = {
  121. /* 0x0000, */ 0x0012006005EFFC01UL,
  122. /* 0x0008, */ 0x0012006005EFFC01UL,
  123. /* 0x0010, */ 0x0012006005EFFC01UL,
  124. /* 0x0018, */ 0x0012006005EFFC01UL,
  125. /* 0x0020, */ 0x0000000000000000UL,
  126. /* 0x0028, */ 0x0012001005E0FC01UL,
  127. /* 0x0030, */ 0x0000000000000000UL,
  128. /* 0x0038, */ 0x0000000000000000UL,
  129. /* 0x0040, */ 0x0000000000000000UL,
  130. /* 0x0048, */ 0x0000000000000000UL,
  131. /* 0x0050, */ 0x0000000000000000UL,
  132. /* 0x0058, */ 0x0000000000000000UL,
  133. /* 0x0060, */ 0x0000000000000000UL,
  134. /* 0x0068, */ 0x0000000000000000UL,
  135. /* 0x0070, */ 0x0000000000000000UL,
  136. /* 0x0078, */ 0x0000000000000000UL,
  137. /* 0x0080, */ 0x0000000000000000UL,
  138. /* 0x0088, */ 0x0000000000000000UL,
  139. /* 0x0090, */ 0x0000000000000000UL,
  140. /* 0x0098, */ 0x0000000000000000UL,
  141. /* 0x00a0, */ 0x0000000000000000UL,
  142. /* 0x00a8, */ 0x0000000000000000UL,
  143. /* 0x00b0, */ 0x0000000000000000UL,
  144. /* 0x00b8, */ 0x0000000000000000UL,
  145. /* 0x00c0, */ 0x0000000000000000UL,
  146. /* 0x00c8, */ 0x0000000000000000UL,
  147. /* 0x00d0, */ 0x0000000000000000UL,
  148. /* 0x00d8, */ 0x0000000000000000UL,
  149. /* 0x00e0, */ 0x0000000000000000UL,
  150. /* 0x00e8, */ 0x0000000000000000UL,
  151. /* 0x00f0, */ 0x0000000000000000UL,
  152. /* 0x00f8, */ 0x0000000000000000UL,
  153. /* 0x0100, */ 0x0000000000000000UL,
  154. /* 0x0108, */ 0x0000000000000000UL,
  155. /* 0x0110, */ 0x0000000000000000UL,
  156. /* 0x0118, */ 0x0000000000000000UL,
  157. /* 0x0120, */ 0x0000000000000000UL,
  158. /* 0x0128, */ 0x0000000000000000UL,
  159. /* 0x0130, */ 0x0000000000000000UL,
  160. /* 0x0138, */ 0x0000000000000000UL,
  161. /* 0x0140, */ 0x0000000000000000UL,
  162. /* 0x0148, */ 0x0000000000000000UL,
  163. /* 0x0150, */ 0x0000000000000000UL,
  164. /* 0x0158, */ 0x0000000000000000UL,
  165. /* 0x0160, */ 0x0000000000000000UL,
  166. /* 0x0168, */ 0x0000000000000000UL,
  167. /* 0x0170, */ 0x0000000000000000UL,
  168. /* 0x0178, */ 0x0000000000000000UL,
  169. /* 0x0180, */ 0x0000000000000000UL,
  170. /* 0x0188, */ 0x0000000000000000UL,
  171. /* 0x0190, */ 0x0000000000000000UL,
  172. /* 0x0198, */ 0x0000000000000000UL,
  173. /* 0x01a0, */ 0x0000000000000000UL,
  174. /* 0x01a8, */ 0x0000000000000000UL,
  175. /* 0x01b0, */ 0x0000000000000000UL,
  176. /* 0x01b8, */ 0x0000000000000000UL,
  177. /* 0x01c0, */ 0x0021006005EFFC01UL,
  178. /* 0x01c8, */ 0x0021006005EFFC01UL,
  179. /* 0x01d0, */ 0x0021006005EFFC01UL,
  180. /* 0x01d8, */ 0x0021006005EFFC01UL,
  181. /* 0x01e0, */ 0x0000000000000000UL,
  182. /* 0x01e8, */ 0x0000000000000000UL,
  183. /* 0x01f0, */ 0x0021001005E79401UL,
  184. /* 0x01f8, */ 0x0000000000000000UL,
  185. /* 0x0200, */ 0x0000000000000000UL,
  186. /* 0x0208, */ 0x0000000000000000UL,
  187. /* 0x0210, */ 0x0021001005E79401UL,
  188. /* 0x0218, */ 0x0011001005E79401UL,
  189. /* 0x0220, */ 0x0011001005E79401UL,
  190. /* 0x0228, */ 0x0000000000000000UL,
  191. /* 0x0230, */ 0x0011001005E79401UL,
  192. /* 0x0238, */ 0x0011001005E79401UL,
  193. /* 0x0240, */ 0x0012001005E79401UL,
  194. /* 0x0248, */ 0x0011001005E79401UL,
  195. /* 0x0250, */ 0x0012001005E79401UL,
  196. /* 0x0258, */ 0x0011001005E79401UL,
  197. /* 0x0260, */ 0x0000000000000000UL,
  198. /* 0x0268, */ 0x0000000000000000UL,
  199. /* 0x0270, */ 0x0000000000000000UL,
  200. /* 0x0278, */ 0x0000000000000000UL,
  201. /* 0x0280, */ 0x0000000000000000UL,
  202. /* 0x0288, */ 0x0000000000000000UL,
  203. /* 0x0290, */ 0x0000000000000000UL,
  204. /* 0x0298, */ 0x0000000000000000UL,
  205. /* 0x02a0, */ 0x0000000000000000UL,
  206. /* 0x02a8, */ 0x0000000000000000UL,
  207. /* 0x02b0, */ 0x0000000000000000UL,
  208. /* 0x02b8, */ 0x0000000000000000UL,
  209. /* 0x02c0, */ 0x0000000000000000UL,
  210. /* 0x02c8, */ 0x0000000000000000UL,
  211. /* 0x02d0, */ 0x0000000000000000UL,
  212. /* 0x02d8, */ 0x0000000000000000UL,
  213. /* 0x02e0, */ 0x0000000000000000UL,
  214. /* 0x02e8, */ 0x0000000000000000UL,
  215. /* 0x02f0, */ 0x0011006005EFFC01UL,
  216. /* 0x02f8, */ 0x0011006005EFFC01UL,
  217. /* 0x0300, */ 0x0000000000000000UL,
  218. /* 0x0308, */ 0x0011006005EFFC01UL,
  219. /* 0x0310, */ 0x0011006005EFFC01UL,
  220. /* 0x0318, */ 0x0012001005E03401UL,
  221. /* 0x0320, */ 0x0011006005EFFC01UL,
  222. /* 0x0328, */ 0x0011006005EFFC01UL,
  223. /* 0x0330, */ 0x0011006005EFFC01UL,
  224. /* 0x0338, */ 0x0011006005EFFC01UL,
  225. /* 0x0340, */ 0x0000000000000000UL,
  226. /* 0x0348, */ 0x0000000000000000UL,
  227. /* 0x0350, */ 0x0000000000000000UL,
  228. /* 0x0358, */ 0x0000000000000000UL,
  229. /* 0x0360, */ 0x0000000000000000UL,
  230. /* 0x0368, */ 0x0012001005E0FC01UL,
  231. };
  232. #endif /* QOS_INIT_G2H_MSTAT390_H */