reo_flush_cache_status.h 28 KB

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