reo_flush_cache_status.h 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655
  1. /* Copyright (c) 2022, Qualcomm Innovation Center, Inc. All rights reserved.
  2. *
  3. * Permission to use, copy, modify, and/or distribute this software for any
  4. * purpose with or without fee is hereby granted, provided that the above
  5. * copyright notice and this permission notice appear in all copies.
  6. *
  7. * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  8. * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  9. * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
  10. * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  11. * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  12. * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  13. * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  14. */
  15. #ifndef _REO_FLUSH_CACHE_STATUS_H_
  16. #define _REO_FLUSH_CACHE_STATUS_H_
  17. #if !defined(__ASSEMBLER__)
  18. #endif
  19. #include "uniform_reo_status_header.h"
  20. #define NUM_OF_DWORDS_REO_FLUSH_CACHE_STATUS 26
  21. #define NUM_OF_QWORDS_REO_FLUSH_CACHE_STATUS 13
  22. struct reo_flush_cache_status {
  23. #ifndef WIFI_BIT_ORDER_BIG_ENDIAN
  24. struct uniform_reo_status_header status_header;
  25. uint32_t error_detected : 1, // [0:0]
  26. block_error_details : 2, // [2:1]
  27. reserved_2a : 5, // [7:3]
  28. cache_controller_flush_status_hit : 1, // [8:8]
  29. cache_controller_flush_status_desc_type : 3, // [11:9]
  30. cache_controller_flush_status_client_id : 4, // [15:12]
  31. cache_controller_flush_status_error : 2, // [17:16]
  32. cache_controller_flush_count : 8, // [25:18]
  33. flush_queue_1k_desc : 1, // [26:26]
  34. reserved_2b : 5; // [31:27]
  35. uint32_t reserved_3a : 32; // [31:0]
  36. uint32_t reserved_4a : 32; // [31:0]
  37. uint32_t reserved_5a : 32; // [31:0]
  38. uint32_t reserved_6a : 32; // [31:0]
  39. uint32_t reserved_7a : 32; // [31:0]
  40. uint32_t reserved_8a : 32; // [31:0]
  41. uint32_t reserved_9a : 32; // [31:0]
  42. uint32_t reserved_10a : 32; // [31:0]
  43. uint32_t reserved_11a : 32; // [31:0]
  44. uint32_t reserved_12a : 32; // [31:0]
  45. uint32_t reserved_13a : 32; // [31:0]
  46. uint32_t reserved_14a : 32; // [31:0]
  47. uint32_t reserved_15a : 32; // [31:0]
  48. uint32_t reserved_16a : 32; // [31:0]
  49. uint32_t reserved_17a : 32; // [31:0]
  50. uint32_t reserved_18a : 32; // [31:0]
  51. uint32_t reserved_19a : 32; // [31:0]
  52. uint32_t reserved_20a : 32; // [31:0]
  53. uint32_t reserved_21a : 32; // [31:0]
  54. uint32_t reserved_22a : 32; // [31:0]
  55. uint32_t reserved_23a : 32; // [31:0]
  56. uint32_t reserved_24a : 32; // [31:0]
  57. uint32_t reserved_25a : 28, // [27:0]
  58. looping_count : 4; // [31:28]
  59. #else
  60. struct uniform_reo_status_header status_header;
  61. uint32_t reserved_2b : 5, // [31:27]
  62. flush_queue_1k_desc : 1, // [26:26]
  63. cache_controller_flush_count : 8, // [25:18]
  64. cache_controller_flush_status_error : 2, // [17:16]
  65. cache_controller_flush_status_client_id : 4, // [15:12]
  66. cache_controller_flush_status_desc_type : 3, // [11:9]
  67. cache_controller_flush_status_hit : 1, // [8:8]
  68. reserved_2a : 5, // [7:3]
  69. block_error_details : 2, // [2:1]
  70. error_detected : 1; // [0:0]
  71. uint32_t reserved_3a : 32; // [31:0]
  72. uint32_t reserved_4a : 32; // [31:0]
  73. uint32_t reserved_5a : 32; // [31:0]
  74. uint32_t reserved_6a : 32; // [31:0]
  75. uint32_t reserved_7a : 32; // [31:0]
  76. uint32_t reserved_8a : 32; // [31:0]
  77. uint32_t reserved_9a : 32; // [31:0]
  78. uint32_t reserved_10a : 32; // [31:0]
  79. uint32_t reserved_11a : 32; // [31:0]
  80. uint32_t reserved_12a : 32; // [31:0]
  81. uint32_t reserved_13a : 32; // [31:0]
  82. uint32_t reserved_14a : 32; // [31:0]
  83. uint32_t reserved_15a : 32; // [31:0]
  84. uint32_t reserved_16a : 32; // [31:0]
  85. uint32_t reserved_17a : 32; // [31:0]
  86. uint32_t reserved_18a : 32; // [31:0]
  87. uint32_t reserved_19a : 32; // [31:0]
  88. uint32_t reserved_20a : 32; // [31:0]
  89. uint32_t reserved_21a : 32; // [31:0]
  90. uint32_t reserved_22a : 32; // [31:0]
  91. uint32_t reserved_23a : 32; // [31:0]
  92. uint32_t reserved_24a : 32; // [31:0]
  93. uint32_t looping_count : 4, // [31:28]
  94. reserved_25a : 28; // [27:0]
  95. #endif
  96. };
  97. /* Description STATUS_HEADER
  98. Consumer: SW
  99. Producer: REO
  100. Details that can link this status with the original command.
  101. It also contains info on how long REO took to execute this
  102. command.
  103. */
  104. /* Description REO_STATUS_NUMBER
  105. Consumer: SW , DEBUG
  106. Producer: REO
  107. The value in this field is equal to value of the 'REO_CMD_Number'
  108. field the REO command
  109. This field helps to correlate the statuses with the REO
  110. commands.
  111. <legal all>
  112. */
  113. #define REO_FLUSH_CACHE_STATUS_STATUS_HEADER_REO_STATUS_NUMBER_OFFSET 0x0000000000000000
  114. #define REO_FLUSH_CACHE_STATUS_STATUS_HEADER_REO_STATUS_NUMBER_LSB 0
  115. #define REO_FLUSH_CACHE_STATUS_STATUS_HEADER_REO_STATUS_NUMBER_MSB 15
  116. #define REO_FLUSH_CACHE_STATUS_STATUS_HEADER_REO_STATUS_NUMBER_MASK 0x000000000000ffff
  117. /* Description CMD_EXECUTION_TIME
  118. Consumer: DEBUG
  119. Producer: REO
  120. The amount of time REO took to excecute the command. Note
  121. that this time does not include the duration of the command
  122. waiting in the command ring, before the execution started.
  123. In us.
  124. <legal all>
  125. */
  126. #define REO_FLUSH_CACHE_STATUS_STATUS_HEADER_CMD_EXECUTION_TIME_OFFSET 0x0000000000000000
  127. #define REO_FLUSH_CACHE_STATUS_STATUS_HEADER_CMD_EXECUTION_TIME_LSB 16
  128. #define REO_FLUSH_CACHE_STATUS_STATUS_HEADER_CMD_EXECUTION_TIME_MSB 25
  129. #define REO_FLUSH_CACHE_STATUS_STATUS_HEADER_CMD_EXECUTION_TIME_MASK 0x0000000003ff0000
  130. /* Description REO_CMD_EXECUTION_STATUS
  131. Consumer: DEBUG
  132. Producer: REO
  133. Execution status of the command.
  134. <enum 0 reo_successful_execution> Command has successfully
  135. be executed
  136. <enum 1 reo_blocked_execution> Command could not be executed
  137. as the queue or cache was blocked
  138. <enum 2 reo_failed_execution> Command has encountered problems
  139. when executing, like the queue descriptor not being valid.
  140. None of the status fields in the entire STATUS TLV are valid.
  141. <enum 3 reo_resource_blocked> Command is NOT executed because
  142. one or more descriptors were blocked. This is SW programming
  143. mistake.
  144. None of the status fields in the entire STATUS TLV are valid.
  145. <legal 0-3>
  146. */
  147. #define REO_FLUSH_CACHE_STATUS_STATUS_HEADER_REO_CMD_EXECUTION_STATUS_OFFSET 0x0000000000000000
  148. #define REO_FLUSH_CACHE_STATUS_STATUS_HEADER_REO_CMD_EXECUTION_STATUS_LSB 26
  149. #define REO_FLUSH_CACHE_STATUS_STATUS_HEADER_REO_CMD_EXECUTION_STATUS_MSB 27
  150. #define REO_FLUSH_CACHE_STATUS_STATUS_HEADER_REO_CMD_EXECUTION_STATUS_MASK 0x000000000c000000
  151. /* Description RESERVED_0A
  152. <legal 0>
  153. */
  154. #define REO_FLUSH_CACHE_STATUS_STATUS_HEADER_RESERVED_0A_OFFSET 0x0000000000000000
  155. #define REO_FLUSH_CACHE_STATUS_STATUS_HEADER_RESERVED_0A_LSB 28
  156. #define REO_FLUSH_CACHE_STATUS_STATUS_HEADER_RESERVED_0A_MSB 31
  157. #define REO_FLUSH_CACHE_STATUS_STATUS_HEADER_RESERVED_0A_MASK 0x00000000f0000000
  158. /* Description TIMESTAMP
  159. Timestamp at the moment that this status report is written.
  160. <legal all>
  161. */
  162. #define REO_FLUSH_CACHE_STATUS_STATUS_HEADER_TIMESTAMP_OFFSET 0x0000000000000000
  163. #define REO_FLUSH_CACHE_STATUS_STATUS_HEADER_TIMESTAMP_LSB 32
  164. #define REO_FLUSH_CACHE_STATUS_STATUS_HEADER_TIMESTAMP_MSB 63
  165. #define REO_FLUSH_CACHE_STATUS_STATUS_HEADER_TIMESTAMP_MASK 0xffffffff00000000
  166. /* Description ERROR_DETECTED
  167. Status for blocking resource handling
  168. 0: No error has been detected while executing this command
  169. 1: an error in the blocking resource management was detected
  170. See field 'Block_error_details'
  171. */
  172. #define REO_FLUSH_CACHE_STATUS_ERROR_DETECTED_OFFSET 0x0000000000000008
  173. #define REO_FLUSH_CACHE_STATUS_ERROR_DETECTED_LSB 0
  174. #define REO_FLUSH_CACHE_STATUS_ERROR_DETECTED_MSB 0
  175. #define REO_FLUSH_CACHE_STATUS_ERROR_DETECTED_MASK 0x0000000000000001
  176. /* Description BLOCK_ERROR_DETAILS
  177. Field only valid when 'Error_detected' is set.
  178. 0: no blocking related error found
  179. 1: blocking resource was already in use
  180. 2: resource that was asked to be unblocked, was not blocked
  181. <legal 0-2>
  182. */
  183. #define REO_FLUSH_CACHE_STATUS_BLOCK_ERROR_DETAILS_OFFSET 0x0000000000000008
  184. #define REO_FLUSH_CACHE_STATUS_BLOCK_ERROR_DETAILS_LSB 1
  185. #define REO_FLUSH_CACHE_STATUS_BLOCK_ERROR_DETAILS_MSB 2
  186. #define REO_FLUSH_CACHE_STATUS_BLOCK_ERROR_DETAILS_MASK 0x0000000000000006
  187. /* Description RESERVED_2A
  188. <legal 0>
  189. */
  190. #define REO_FLUSH_CACHE_STATUS_RESERVED_2A_OFFSET 0x0000000000000008
  191. #define REO_FLUSH_CACHE_STATUS_RESERVED_2A_LSB 3
  192. #define REO_FLUSH_CACHE_STATUS_RESERVED_2A_MSB 7
  193. #define REO_FLUSH_CACHE_STATUS_RESERVED_2A_MASK 0x00000000000000f8
  194. /* Description CACHE_CONTROLLER_FLUSH_STATUS_HIT
  195. The status that the cache controller returned for executing
  196. the flush command
  197. descriptor hit
  198. 1 = hit
  199. 0 = miss
  200. <legal all>
  201. */
  202. #define REO_FLUSH_CACHE_STATUS_CACHE_CONTROLLER_FLUSH_STATUS_HIT_OFFSET 0x0000000000000008
  203. #define REO_FLUSH_CACHE_STATUS_CACHE_CONTROLLER_FLUSH_STATUS_HIT_LSB 8
  204. #define REO_FLUSH_CACHE_STATUS_CACHE_CONTROLLER_FLUSH_STATUS_HIT_MSB 8
  205. #define REO_FLUSH_CACHE_STATUS_CACHE_CONTROLLER_FLUSH_STATUS_HIT_MASK 0x0000000000000100
  206. /* Description CACHE_CONTROLLER_FLUSH_STATUS_DESC_TYPE
  207. The status that the cache controller returned for executing
  208. the flush command
  209. Descriptor type
  210. FLOW_QUEUE_DESCRIPTOR 3'd0
  211. MPDU_LINK_DESCRIPTOR 3'd4
  212. <legal all>
  213. */
  214. #define REO_FLUSH_CACHE_STATUS_CACHE_CONTROLLER_FLUSH_STATUS_DESC_TYPE_OFFSET 0x0000000000000008
  215. #define REO_FLUSH_CACHE_STATUS_CACHE_CONTROLLER_FLUSH_STATUS_DESC_TYPE_LSB 9
  216. #define REO_FLUSH_CACHE_STATUS_CACHE_CONTROLLER_FLUSH_STATUS_DESC_TYPE_MSB 11
  217. #define REO_FLUSH_CACHE_STATUS_CACHE_CONTROLLER_FLUSH_STATUS_DESC_TYPE_MASK 0x0000000000000e00
  218. /* Description CACHE_CONTROLLER_FLUSH_STATUS_CLIENT_ID
  219. The status that the cache controller returned for executing
  220. the flush command
  221. client ID
  222. Module who made flush the request
  223. In REO, this is always set to 0
  224. <legal 0>
  225. */
  226. #define REO_FLUSH_CACHE_STATUS_CACHE_CONTROLLER_FLUSH_STATUS_CLIENT_ID_OFFSET 0x0000000000000008
  227. #define REO_FLUSH_CACHE_STATUS_CACHE_CONTROLLER_FLUSH_STATUS_CLIENT_ID_LSB 12
  228. #define REO_FLUSH_CACHE_STATUS_CACHE_CONTROLLER_FLUSH_STATUS_CLIENT_ID_MSB 15
  229. #define REO_FLUSH_CACHE_STATUS_CACHE_CONTROLLER_FLUSH_STATUS_CLIENT_ID_MASK 0x000000000000f000
  230. /* Description CACHE_CONTROLLER_FLUSH_STATUS_ERROR
  231. The status that the cache controller returned for executing
  232. the flush command
  233. Error condition
  234. 2'b00: No error found
  235. 2'b01: HW IF still busy
  236. 2'b10: Line is currently locked. Used for the one line flush
  237. command.
  238. 2'b11: At least one line is currently still locked. Used
  239. for the cache flush command.
  240. <legal all>
  241. */
  242. #define REO_FLUSH_CACHE_STATUS_CACHE_CONTROLLER_FLUSH_STATUS_ERROR_OFFSET 0x0000000000000008
  243. #define REO_FLUSH_CACHE_STATUS_CACHE_CONTROLLER_FLUSH_STATUS_ERROR_LSB 16
  244. #define REO_FLUSH_CACHE_STATUS_CACHE_CONTROLLER_FLUSH_STATUS_ERROR_MSB 17
  245. #define REO_FLUSH_CACHE_STATUS_CACHE_CONTROLLER_FLUSH_STATUS_ERROR_MASK 0x0000000000030000
  246. /* Description CACHE_CONTROLLER_FLUSH_COUNT
  247. The number of lines that were actually flushed out.
  248. <legal all>
  249. */
  250. #define REO_FLUSH_CACHE_STATUS_CACHE_CONTROLLER_FLUSH_COUNT_OFFSET 0x0000000000000008
  251. #define REO_FLUSH_CACHE_STATUS_CACHE_CONTROLLER_FLUSH_COUNT_LSB 18
  252. #define REO_FLUSH_CACHE_STATUS_CACHE_CONTROLLER_FLUSH_COUNT_MSB 25
  253. #define REO_FLUSH_CACHE_STATUS_CACHE_CONTROLLER_FLUSH_COUNT_MASK 0x0000000003fc0000
  254. /* Description FLUSH_QUEUE_1K_DESC
  255. When set, REO has flushed the 'RX_REO_QUEUE_1K' descriptor
  256. after flushing the 'RX_REO_QUEUE' descriptor.
  257. <legal all>
  258. */
  259. #define REO_FLUSH_CACHE_STATUS_FLUSH_QUEUE_1K_DESC_OFFSET 0x0000000000000008
  260. #define REO_FLUSH_CACHE_STATUS_FLUSH_QUEUE_1K_DESC_LSB 26
  261. #define REO_FLUSH_CACHE_STATUS_FLUSH_QUEUE_1K_DESC_MSB 26
  262. #define REO_FLUSH_CACHE_STATUS_FLUSH_QUEUE_1K_DESC_MASK 0x0000000004000000
  263. /* Description RESERVED_2B
  264. <legal 0>
  265. */
  266. #define REO_FLUSH_CACHE_STATUS_RESERVED_2B_OFFSET 0x0000000000000008
  267. #define REO_FLUSH_CACHE_STATUS_RESERVED_2B_LSB 27
  268. #define REO_FLUSH_CACHE_STATUS_RESERVED_2B_MSB 31
  269. #define REO_FLUSH_CACHE_STATUS_RESERVED_2B_MASK 0x00000000f8000000
  270. /* Description RESERVED_3A
  271. <legal 0>
  272. */
  273. #define REO_FLUSH_CACHE_STATUS_RESERVED_3A_OFFSET 0x0000000000000008
  274. #define REO_FLUSH_CACHE_STATUS_RESERVED_3A_LSB 32
  275. #define REO_FLUSH_CACHE_STATUS_RESERVED_3A_MSB 63
  276. #define REO_FLUSH_CACHE_STATUS_RESERVED_3A_MASK 0xffffffff00000000
  277. /* Description RESERVED_4A
  278. <legal 0>
  279. */
  280. #define REO_FLUSH_CACHE_STATUS_RESERVED_4A_OFFSET 0x0000000000000010
  281. #define REO_FLUSH_CACHE_STATUS_RESERVED_4A_LSB 0
  282. #define REO_FLUSH_CACHE_STATUS_RESERVED_4A_MSB 31
  283. #define REO_FLUSH_CACHE_STATUS_RESERVED_4A_MASK 0x00000000ffffffff
  284. /* Description RESERVED_5A
  285. <legal 0>
  286. */
  287. #define REO_FLUSH_CACHE_STATUS_RESERVED_5A_OFFSET 0x0000000000000010
  288. #define REO_FLUSH_CACHE_STATUS_RESERVED_5A_LSB 32
  289. #define REO_FLUSH_CACHE_STATUS_RESERVED_5A_MSB 63
  290. #define REO_FLUSH_CACHE_STATUS_RESERVED_5A_MASK 0xffffffff00000000
  291. /* Description RESERVED_6A
  292. <legal 0>
  293. */
  294. #define REO_FLUSH_CACHE_STATUS_RESERVED_6A_OFFSET 0x0000000000000018
  295. #define REO_FLUSH_CACHE_STATUS_RESERVED_6A_LSB 0
  296. #define REO_FLUSH_CACHE_STATUS_RESERVED_6A_MSB 31
  297. #define REO_FLUSH_CACHE_STATUS_RESERVED_6A_MASK 0x00000000ffffffff
  298. /* Description RESERVED_7A
  299. <legal 0>
  300. */
  301. #define REO_FLUSH_CACHE_STATUS_RESERVED_7A_OFFSET 0x0000000000000018
  302. #define REO_FLUSH_CACHE_STATUS_RESERVED_7A_LSB 32
  303. #define REO_FLUSH_CACHE_STATUS_RESERVED_7A_MSB 63
  304. #define REO_FLUSH_CACHE_STATUS_RESERVED_7A_MASK 0xffffffff00000000
  305. /* Description RESERVED_8A
  306. <legal 0>
  307. */
  308. #define REO_FLUSH_CACHE_STATUS_RESERVED_8A_OFFSET 0x0000000000000020
  309. #define REO_FLUSH_CACHE_STATUS_RESERVED_8A_LSB 0
  310. #define REO_FLUSH_CACHE_STATUS_RESERVED_8A_MSB 31
  311. #define REO_FLUSH_CACHE_STATUS_RESERVED_8A_MASK 0x00000000ffffffff
  312. /* Description RESERVED_9A
  313. <legal 0>
  314. */
  315. #define REO_FLUSH_CACHE_STATUS_RESERVED_9A_OFFSET 0x0000000000000020
  316. #define REO_FLUSH_CACHE_STATUS_RESERVED_9A_LSB 32
  317. #define REO_FLUSH_CACHE_STATUS_RESERVED_9A_MSB 63
  318. #define REO_FLUSH_CACHE_STATUS_RESERVED_9A_MASK 0xffffffff00000000
  319. /* Description RESERVED_10A
  320. <legal 0>
  321. */
  322. #define REO_FLUSH_CACHE_STATUS_RESERVED_10A_OFFSET 0x0000000000000028
  323. #define REO_FLUSH_CACHE_STATUS_RESERVED_10A_LSB 0
  324. #define REO_FLUSH_CACHE_STATUS_RESERVED_10A_MSB 31
  325. #define REO_FLUSH_CACHE_STATUS_RESERVED_10A_MASK 0x00000000ffffffff
  326. /* Description RESERVED_11A
  327. <legal 0>
  328. */
  329. #define REO_FLUSH_CACHE_STATUS_RESERVED_11A_OFFSET 0x0000000000000028
  330. #define REO_FLUSH_CACHE_STATUS_RESERVED_11A_LSB 32
  331. #define REO_FLUSH_CACHE_STATUS_RESERVED_11A_MSB 63
  332. #define REO_FLUSH_CACHE_STATUS_RESERVED_11A_MASK 0xffffffff00000000
  333. /* Description RESERVED_12A
  334. <legal 0>
  335. */
  336. #define REO_FLUSH_CACHE_STATUS_RESERVED_12A_OFFSET 0x0000000000000030
  337. #define REO_FLUSH_CACHE_STATUS_RESERVED_12A_LSB 0
  338. #define REO_FLUSH_CACHE_STATUS_RESERVED_12A_MSB 31
  339. #define REO_FLUSH_CACHE_STATUS_RESERVED_12A_MASK 0x00000000ffffffff
  340. /* Description RESERVED_13A
  341. <legal 0>
  342. */
  343. #define REO_FLUSH_CACHE_STATUS_RESERVED_13A_OFFSET 0x0000000000000030
  344. #define REO_FLUSH_CACHE_STATUS_RESERVED_13A_LSB 32
  345. #define REO_FLUSH_CACHE_STATUS_RESERVED_13A_MSB 63
  346. #define REO_FLUSH_CACHE_STATUS_RESERVED_13A_MASK 0xffffffff00000000
  347. /* Description RESERVED_14A
  348. <legal 0>
  349. */
  350. #define REO_FLUSH_CACHE_STATUS_RESERVED_14A_OFFSET 0x0000000000000038
  351. #define REO_FLUSH_CACHE_STATUS_RESERVED_14A_LSB 0
  352. #define REO_FLUSH_CACHE_STATUS_RESERVED_14A_MSB 31
  353. #define REO_FLUSH_CACHE_STATUS_RESERVED_14A_MASK 0x00000000ffffffff
  354. /* Description RESERVED_15A
  355. <legal 0>
  356. */
  357. #define REO_FLUSH_CACHE_STATUS_RESERVED_15A_OFFSET 0x0000000000000038
  358. #define REO_FLUSH_CACHE_STATUS_RESERVED_15A_LSB 32
  359. #define REO_FLUSH_CACHE_STATUS_RESERVED_15A_MSB 63
  360. #define REO_FLUSH_CACHE_STATUS_RESERVED_15A_MASK 0xffffffff00000000
  361. /* Description RESERVED_16A
  362. <legal 0>
  363. */
  364. #define REO_FLUSH_CACHE_STATUS_RESERVED_16A_OFFSET 0x0000000000000040
  365. #define REO_FLUSH_CACHE_STATUS_RESERVED_16A_LSB 0
  366. #define REO_FLUSH_CACHE_STATUS_RESERVED_16A_MSB 31
  367. #define REO_FLUSH_CACHE_STATUS_RESERVED_16A_MASK 0x00000000ffffffff
  368. /* Description RESERVED_17A
  369. <legal 0>
  370. */
  371. #define REO_FLUSH_CACHE_STATUS_RESERVED_17A_OFFSET 0x0000000000000040
  372. #define REO_FLUSH_CACHE_STATUS_RESERVED_17A_LSB 32
  373. #define REO_FLUSH_CACHE_STATUS_RESERVED_17A_MSB 63
  374. #define REO_FLUSH_CACHE_STATUS_RESERVED_17A_MASK 0xffffffff00000000
  375. /* Description RESERVED_18A
  376. <legal 0>
  377. */
  378. #define REO_FLUSH_CACHE_STATUS_RESERVED_18A_OFFSET 0x0000000000000048
  379. #define REO_FLUSH_CACHE_STATUS_RESERVED_18A_LSB 0
  380. #define REO_FLUSH_CACHE_STATUS_RESERVED_18A_MSB 31
  381. #define REO_FLUSH_CACHE_STATUS_RESERVED_18A_MASK 0x00000000ffffffff
  382. /* Description RESERVED_19A
  383. <legal 0>
  384. */
  385. #define REO_FLUSH_CACHE_STATUS_RESERVED_19A_OFFSET 0x0000000000000048
  386. #define REO_FLUSH_CACHE_STATUS_RESERVED_19A_LSB 32
  387. #define REO_FLUSH_CACHE_STATUS_RESERVED_19A_MSB 63
  388. #define REO_FLUSH_CACHE_STATUS_RESERVED_19A_MASK 0xffffffff00000000
  389. /* Description RESERVED_20A
  390. <legal 0>
  391. */
  392. #define REO_FLUSH_CACHE_STATUS_RESERVED_20A_OFFSET 0x0000000000000050
  393. #define REO_FLUSH_CACHE_STATUS_RESERVED_20A_LSB 0
  394. #define REO_FLUSH_CACHE_STATUS_RESERVED_20A_MSB 31
  395. #define REO_FLUSH_CACHE_STATUS_RESERVED_20A_MASK 0x00000000ffffffff
  396. /* Description RESERVED_21A
  397. <legal 0>
  398. */
  399. #define REO_FLUSH_CACHE_STATUS_RESERVED_21A_OFFSET 0x0000000000000050
  400. #define REO_FLUSH_CACHE_STATUS_RESERVED_21A_LSB 32
  401. #define REO_FLUSH_CACHE_STATUS_RESERVED_21A_MSB 63
  402. #define REO_FLUSH_CACHE_STATUS_RESERVED_21A_MASK 0xffffffff00000000
  403. /* Description RESERVED_22A
  404. <legal 0>
  405. */
  406. #define REO_FLUSH_CACHE_STATUS_RESERVED_22A_OFFSET 0x0000000000000058
  407. #define REO_FLUSH_CACHE_STATUS_RESERVED_22A_LSB 0
  408. #define REO_FLUSH_CACHE_STATUS_RESERVED_22A_MSB 31
  409. #define REO_FLUSH_CACHE_STATUS_RESERVED_22A_MASK 0x00000000ffffffff
  410. /* Description RESERVED_23A
  411. <legal 0>
  412. */
  413. #define REO_FLUSH_CACHE_STATUS_RESERVED_23A_OFFSET 0x0000000000000058
  414. #define REO_FLUSH_CACHE_STATUS_RESERVED_23A_LSB 32
  415. #define REO_FLUSH_CACHE_STATUS_RESERVED_23A_MSB 63
  416. #define REO_FLUSH_CACHE_STATUS_RESERVED_23A_MASK 0xffffffff00000000
  417. /* Description RESERVED_24A
  418. <legal 0>
  419. */
  420. #define REO_FLUSH_CACHE_STATUS_RESERVED_24A_OFFSET 0x0000000000000060
  421. #define REO_FLUSH_CACHE_STATUS_RESERVED_24A_LSB 0
  422. #define REO_FLUSH_CACHE_STATUS_RESERVED_24A_MSB 31
  423. #define REO_FLUSH_CACHE_STATUS_RESERVED_24A_MASK 0x00000000ffffffff
  424. /* Description RESERVED_25A
  425. <legal 0>
  426. */
  427. #define REO_FLUSH_CACHE_STATUS_RESERVED_25A_OFFSET 0x0000000000000060
  428. #define REO_FLUSH_CACHE_STATUS_RESERVED_25A_LSB 32
  429. #define REO_FLUSH_CACHE_STATUS_RESERVED_25A_MSB 59
  430. #define REO_FLUSH_CACHE_STATUS_RESERVED_25A_MASK 0x0fffffff00000000
  431. /* Description LOOPING_COUNT
  432. A count value that indicates the number of times the producer
  433. of entries into this Ring has looped around the ring.
  434. At initialization time, this value is set to 0. On the first
  435. loop, this value is set to 1. After the max value is reached
  436. allowed by the number of bits for this field, the count
  437. value continues with 0 again.
  438. In case SW is the consumer of the ring entries, it can use
  439. this field to figure out up to where the producer of entries
  440. has created new entries. This eliminates the need to check
  441. where the "head pointer' of the ring is located once the
  442. SW starts processing an interrupt indicating that new entries
  443. have been put into this ring...
  444. Also note that SW if it wants only needs to look at the
  445. LSB bit of this count value.
  446. <legal all>
  447. */
  448. #define REO_FLUSH_CACHE_STATUS_LOOPING_COUNT_OFFSET 0x0000000000000060
  449. #define REO_FLUSH_CACHE_STATUS_LOOPING_COUNT_LSB 60
  450. #define REO_FLUSH_CACHE_STATUS_LOOPING_COUNT_MSB 63
  451. #define REO_FLUSH_CACHE_STATUS_LOOPING_COUNT_MASK 0xf000000000000000
  452. #endif // REO_FLUSH_CACHE_STATUS