reo_flush_cache_status.h 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693
  1. /*
  2. * Copyright (c) 2018 The Linux Foundation. All rights reserved.
  3. *
  4. * Permission to use, copy, modify, and/or distribute this software for
  5. * any purpose with or without fee is hereby granted, provided that the
  6. * above copyright notice and this permission notice appear in all
  7. * copies.
  8. *
  9. * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
  10. * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
  11. * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
  12. * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
  13. * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
  14. * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
  15. * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  16. * PERFORMANCE OF THIS SOFTWARE.
  17. */
  18. #ifndef _REO_FLUSH_CACHE_STATUS_H_
  19. #define _REO_FLUSH_CACHE_STATUS_H_
  20. #if !defined(__ASSEMBLER__)
  21. #endif
  22. #include "uniform_reo_status_header.h"
  23. // ################ START SUMMARY #################
  24. //
  25. // Dword Fields
  26. // 0-1 struct uniform_reo_status_header status_header;
  27. // 2 error_detected[0], block_error_details[2:1], reserved_2a[7:3], cache_controller_flush_status_hit[8], cache_controller_flush_status_desc_type[11:9], cache_controller_flush_status_client_id[15:12], cache_controller_flush_status_error[17:16], cache_controller_flush_count[25:18], reserved_2b[31:26]
  28. // 3 reserved_3a[31:0]
  29. // 4 reserved_4a[31:0]
  30. // 5 reserved_5a[31:0]
  31. // 6 reserved_6a[31:0]
  32. // 7 reserved_7a[31:0]
  33. // 8 reserved_8a[31:0]
  34. // 9 reserved_9a[31:0]
  35. // 10 reserved_10a[31:0]
  36. // 11 reserved_11a[31:0]
  37. // 12 reserved_12a[31:0]
  38. // 13 reserved_13a[31:0]
  39. // 14 reserved_14a[31:0]
  40. // 15 reserved_15a[31:0]
  41. // 16 reserved_16a[31:0]
  42. // 17 reserved_17a[31:0]
  43. // 18 reserved_18a[31:0]
  44. // 19 reserved_19a[31:0]
  45. // 20 reserved_20a[31:0]
  46. // 21 reserved_21a[31:0]
  47. // 22 reserved_22a[31:0]
  48. // 23 reserved_23a[31:0]
  49. // 24 reserved_24a[27:0], looping_count[31:28]
  50. //
  51. // ################ END SUMMARY #################
  52. #define NUM_OF_DWORDS_REO_FLUSH_CACHE_STATUS 25
  53. struct reo_flush_cache_status {
  54. struct uniform_reo_status_header status_header;
  55. uint32_t error_detected : 1, //[0]
  56. block_error_details : 2, //[2:1]
  57. reserved_2a : 5, //[7:3]
  58. cache_controller_flush_status_hit: 1, //[8]
  59. cache_controller_flush_status_desc_type: 3, //[11:9]
  60. cache_controller_flush_status_client_id: 4, //[15:12]
  61. cache_controller_flush_status_error: 2, //[17:16]
  62. cache_controller_flush_count : 8, //[25:18]
  63. reserved_2b : 6; //[31:26]
  64. uint32_t reserved_3a : 32; //[31:0]
  65. uint32_t reserved_4a : 32; //[31:0]
  66. uint32_t reserved_5a : 32; //[31:0]
  67. uint32_t reserved_6a : 32; //[31:0]
  68. uint32_t reserved_7a : 32; //[31:0]
  69. uint32_t reserved_8a : 32; //[31:0]
  70. uint32_t reserved_9a : 32; //[31:0]
  71. uint32_t reserved_10a : 32; //[31:0]
  72. uint32_t reserved_11a : 32; //[31:0]
  73. uint32_t reserved_12a : 32; //[31:0]
  74. uint32_t reserved_13a : 32; //[31:0]
  75. uint32_t reserved_14a : 32; //[31:0]
  76. uint32_t reserved_15a : 32; //[31:0]
  77. uint32_t reserved_16a : 32; //[31:0]
  78. uint32_t reserved_17a : 32; //[31:0]
  79. uint32_t reserved_18a : 32; //[31:0]
  80. uint32_t reserved_19a : 32; //[31:0]
  81. uint32_t reserved_20a : 32; //[31:0]
  82. uint32_t reserved_21a : 32; //[31:0]
  83. uint32_t reserved_22a : 32; //[31:0]
  84. uint32_t reserved_23a : 32; //[31:0]
  85. uint32_t reserved_24a : 28, //[27:0]
  86. looping_count : 4; //[31:28]
  87. };
  88. /*
  89. struct uniform_reo_status_header status_header
  90. Consumer: SW
  91. Producer: REO
  92. Details that can link this status with the original
  93. command. It also contains info on how long REO took to
  94. execute this command.
  95. error_detected
  96. Status for blocking resource handling
  97. 0: No error has been detected while executing this
  98. command
  99. 1: an error in the blocking resource management was
  100. detected
  101. See field 'Block_error_details'
  102. block_error_details
  103. Field only valid when 'Error_detected' is set.
  104. 0: no blocking related error found
  105. 1: blocking resource was already in use
  106. 2: resource that was asked to be unblocked, was not
  107. blocked
  108. <legal 0-2>
  109. reserved_2a
  110. <legal 0>
  111. cache_controller_flush_status_hit
  112. The status that the cache controller returned for
  113. executing the flush command
  114. descriptor hit
  115. 1 = hit
  116. 0 = miss
  117. <legal all>
  118. cache_controller_flush_status_desc_type
  119. The status that the cache controller returned for
  120. executing the flush command
  121. Descriptor type
  122. FLOW_QUEUE_DESCRIPTOR                
  123. 3'd0
  124. <legal all>
  125. cache_controller_flush_status_client_id
  126. The status that the cache controller returned for
  127. executing the flush command
  128. client ID
  129. Module who made flush the request
  130. In REO, this is always set to 0
  131. <legal 0>
  132. cache_controller_flush_status_error
  133. The status that the cache controller returned for
  134. executing the flush command
  135. Error condition
  136. 2'b00: No error found
  137. 2'b01: HW IF still busy
  138. 2'b10: Line is currently locked. Used for the one line
  139. flush command.
  140. 2'b11: At least one line is currently still locked. Used
  141. for the cache flush command.
  142. <legal all>
  143. cache_controller_flush_count
  144. The number of lines that were actually flushed out.
  145. <legal all>
  146. reserved_2b
  147. <legal 0>
  148. reserved_3a
  149. <legal 0>
  150. reserved_4a
  151. <legal 0>
  152. reserved_5a
  153. <legal 0>
  154. reserved_6a
  155. <legal 0>
  156. reserved_7a
  157. <legal 0>
  158. reserved_8a
  159. <legal 0>
  160. reserved_9a
  161. <legal 0>
  162. reserved_10a
  163. <legal 0>
  164. reserved_11a
  165. <legal 0>
  166. reserved_12a
  167. <legal 0>
  168. reserved_13a
  169. <legal 0>
  170. reserved_14a
  171. <legal 0>
  172. reserved_15a
  173. <legal 0>
  174. reserved_16a
  175. <legal 0>
  176. reserved_17a
  177. <legal 0>
  178. reserved_18a
  179. <legal 0>
  180. reserved_19a
  181. <legal 0>
  182. reserved_20a
  183. <legal 0>
  184. reserved_21a
  185. <legal 0>
  186. reserved_22a
  187. <legal 0>
  188. reserved_23a
  189. <legal 0>
  190. reserved_24a
  191. <legal 0>
  192. looping_count
  193. A count value that indicates the number of times the
  194. producer of entries into this Ring has looped around the
  195. ring.
  196. At initialization time, this value is set to 0. On the
  197. first loop, this value is set to 1. After the max value is
  198. reached allowed by the number of bits for this field, the
  199. count value continues with 0 again.
  200. In case SW is the consumer of the ring entries, it can
  201. use this field to figure out up to where the producer of
  202. entries has created new entries. This eliminates the need to
  203. check where the head pointer' of the ring is located once
  204. the SW starts processing an interrupt indicating that new
  205. entries have been put into this ring...
  206. Also note that SW if it wants only needs to look at the
  207. LSB bit of this count value.
  208. <legal all>
  209. */
  210. #define REO_FLUSH_CACHE_STATUS_0_UNIFORM_REO_STATUS_HEADER_STATUS_HEADER_OFFSET 0x00000000
  211. #define REO_FLUSH_CACHE_STATUS_0_UNIFORM_REO_STATUS_HEADER_STATUS_HEADER_LSB 28
  212. #define REO_FLUSH_CACHE_STATUS_0_UNIFORM_REO_STATUS_HEADER_STATUS_HEADER_MASK 0xffffffff
  213. #define REO_FLUSH_CACHE_STATUS_1_UNIFORM_REO_STATUS_HEADER_STATUS_HEADER_OFFSET 0x00000004
  214. #define REO_FLUSH_CACHE_STATUS_1_UNIFORM_REO_STATUS_HEADER_STATUS_HEADER_LSB 28
  215. #define REO_FLUSH_CACHE_STATUS_1_UNIFORM_REO_STATUS_HEADER_STATUS_HEADER_MASK 0xffffffff
  216. /* Description REO_FLUSH_CACHE_STATUS_2_ERROR_DETECTED
  217. Status for blocking resource handling
  218. 0: No error has been detected while executing this
  219. command
  220. 1: an error in the blocking resource management was
  221. detected
  222. See field 'Block_error_details'
  223. */
  224. #define REO_FLUSH_CACHE_STATUS_2_ERROR_DETECTED_OFFSET 0x00000008
  225. #define REO_FLUSH_CACHE_STATUS_2_ERROR_DETECTED_LSB 0
  226. #define REO_FLUSH_CACHE_STATUS_2_ERROR_DETECTED_MASK 0x00000001
  227. /* Description REO_FLUSH_CACHE_STATUS_2_BLOCK_ERROR_DETAILS
  228. Field only valid when 'Error_detected' is set.
  229. 0: no blocking related error found
  230. 1: blocking resource was already in use
  231. 2: resource that was asked to be unblocked, was not
  232. blocked
  233. <legal 0-2>
  234. */
  235. #define REO_FLUSH_CACHE_STATUS_2_BLOCK_ERROR_DETAILS_OFFSET 0x00000008
  236. #define REO_FLUSH_CACHE_STATUS_2_BLOCK_ERROR_DETAILS_LSB 1
  237. #define REO_FLUSH_CACHE_STATUS_2_BLOCK_ERROR_DETAILS_MASK 0x00000006
  238. /* Description REO_FLUSH_CACHE_STATUS_2_RESERVED_2A
  239. <legal 0>
  240. */
  241. #define REO_FLUSH_CACHE_STATUS_2_RESERVED_2A_OFFSET 0x00000008
  242. #define REO_FLUSH_CACHE_STATUS_2_RESERVED_2A_LSB 3
  243. #define REO_FLUSH_CACHE_STATUS_2_RESERVED_2A_MASK 0x000000f8
  244. /* Description REO_FLUSH_CACHE_STATUS_2_CACHE_CONTROLLER_FLUSH_STATUS_HIT
  245. The status that the cache controller returned for
  246. executing the flush command
  247. descriptor hit
  248. 1 = hit
  249. 0 = miss
  250. <legal all>
  251. */
  252. #define REO_FLUSH_CACHE_STATUS_2_CACHE_CONTROLLER_FLUSH_STATUS_HIT_OFFSET 0x00000008
  253. #define REO_FLUSH_CACHE_STATUS_2_CACHE_CONTROLLER_FLUSH_STATUS_HIT_LSB 8
  254. #define REO_FLUSH_CACHE_STATUS_2_CACHE_CONTROLLER_FLUSH_STATUS_HIT_MASK 0x00000100
  255. /* Description REO_FLUSH_CACHE_STATUS_2_CACHE_CONTROLLER_FLUSH_STATUS_DESC_TYPE
  256. The status that the cache controller returned for
  257. executing the flush command
  258. Descriptor type
  259. FLOW_QUEUE_DESCRIPTOR                
  260. 3'd0
  261. <legal all>
  262. */
  263. #define REO_FLUSH_CACHE_STATUS_2_CACHE_CONTROLLER_FLUSH_STATUS_DESC_TYPE_OFFSET 0x00000008
  264. #define REO_FLUSH_CACHE_STATUS_2_CACHE_CONTROLLER_FLUSH_STATUS_DESC_TYPE_LSB 9
  265. #define REO_FLUSH_CACHE_STATUS_2_CACHE_CONTROLLER_FLUSH_STATUS_DESC_TYPE_MASK 0x00000e00
  266. /* Description REO_FLUSH_CACHE_STATUS_2_CACHE_CONTROLLER_FLUSH_STATUS_CLIENT_ID
  267. The status that the cache controller returned for
  268. executing the flush command
  269. client ID
  270. Module who made flush the request
  271. In REO, this is always set to 0
  272. <legal 0>
  273. */
  274. #define REO_FLUSH_CACHE_STATUS_2_CACHE_CONTROLLER_FLUSH_STATUS_CLIENT_ID_OFFSET 0x00000008
  275. #define REO_FLUSH_CACHE_STATUS_2_CACHE_CONTROLLER_FLUSH_STATUS_CLIENT_ID_LSB 12
  276. #define REO_FLUSH_CACHE_STATUS_2_CACHE_CONTROLLER_FLUSH_STATUS_CLIENT_ID_MASK 0x0000f000
  277. /* Description REO_FLUSH_CACHE_STATUS_2_CACHE_CONTROLLER_FLUSH_STATUS_ERROR
  278. The status that the cache controller returned for
  279. executing the flush command
  280. Error condition
  281. 2'b00: No error found
  282. 2'b01: HW IF still busy
  283. 2'b10: Line is currently locked. Used for the one line
  284. flush command.
  285. 2'b11: At least one line is currently still locked. Used
  286. for the cache flush command.
  287. <legal all>
  288. */
  289. #define REO_FLUSH_CACHE_STATUS_2_CACHE_CONTROLLER_FLUSH_STATUS_ERROR_OFFSET 0x00000008
  290. #define REO_FLUSH_CACHE_STATUS_2_CACHE_CONTROLLER_FLUSH_STATUS_ERROR_LSB 16
  291. #define REO_FLUSH_CACHE_STATUS_2_CACHE_CONTROLLER_FLUSH_STATUS_ERROR_MASK 0x00030000
  292. /* Description REO_FLUSH_CACHE_STATUS_2_CACHE_CONTROLLER_FLUSH_COUNT
  293. The number of lines that were actually flushed out.
  294. <legal all>
  295. */
  296. #define REO_FLUSH_CACHE_STATUS_2_CACHE_CONTROLLER_FLUSH_COUNT_OFFSET 0x00000008
  297. #define REO_FLUSH_CACHE_STATUS_2_CACHE_CONTROLLER_FLUSH_COUNT_LSB 18
  298. #define REO_FLUSH_CACHE_STATUS_2_CACHE_CONTROLLER_FLUSH_COUNT_MASK 0x03fc0000
  299. /* Description REO_FLUSH_CACHE_STATUS_2_RESERVED_2B
  300. <legal 0>
  301. */
  302. #define REO_FLUSH_CACHE_STATUS_2_RESERVED_2B_OFFSET 0x00000008
  303. #define REO_FLUSH_CACHE_STATUS_2_RESERVED_2B_LSB 26
  304. #define REO_FLUSH_CACHE_STATUS_2_RESERVED_2B_MASK 0xfc000000
  305. /* Description REO_FLUSH_CACHE_STATUS_3_RESERVED_3A
  306. <legal 0>
  307. */
  308. #define REO_FLUSH_CACHE_STATUS_3_RESERVED_3A_OFFSET 0x0000000c
  309. #define REO_FLUSH_CACHE_STATUS_3_RESERVED_3A_LSB 0
  310. #define REO_FLUSH_CACHE_STATUS_3_RESERVED_3A_MASK 0xffffffff
  311. /* Description REO_FLUSH_CACHE_STATUS_4_RESERVED_4A
  312. <legal 0>
  313. */
  314. #define REO_FLUSH_CACHE_STATUS_4_RESERVED_4A_OFFSET 0x00000010
  315. #define REO_FLUSH_CACHE_STATUS_4_RESERVED_4A_LSB 0
  316. #define REO_FLUSH_CACHE_STATUS_4_RESERVED_4A_MASK 0xffffffff
  317. /* Description REO_FLUSH_CACHE_STATUS_5_RESERVED_5A
  318. <legal 0>
  319. */
  320. #define REO_FLUSH_CACHE_STATUS_5_RESERVED_5A_OFFSET 0x00000014
  321. #define REO_FLUSH_CACHE_STATUS_5_RESERVED_5A_LSB 0
  322. #define REO_FLUSH_CACHE_STATUS_5_RESERVED_5A_MASK 0xffffffff
  323. /* Description REO_FLUSH_CACHE_STATUS_6_RESERVED_6A
  324. <legal 0>
  325. */
  326. #define REO_FLUSH_CACHE_STATUS_6_RESERVED_6A_OFFSET 0x00000018
  327. #define REO_FLUSH_CACHE_STATUS_6_RESERVED_6A_LSB 0
  328. #define REO_FLUSH_CACHE_STATUS_6_RESERVED_6A_MASK 0xffffffff
  329. /* Description REO_FLUSH_CACHE_STATUS_7_RESERVED_7A
  330. <legal 0>
  331. */
  332. #define REO_FLUSH_CACHE_STATUS_7_RESERVED_7A_OFFSET 0x0000001c
  333. #define REO_FLUSH_CACHE_STATUS_7_RESERVED_7A_LSB 0
  334. #define REO_FLUSH_CACHE_STATUS_7_RESERVED_7A_MASK 0xffffffff
  335. /* Description REO_FLUSH_CACHE_STATUS_8_RESERVED_8A
  336. <legal 0>
  337. */
  338. #define REO_FLUSH_CACHE_STATUS_8_RESERVED_8A_OFFSET 0x00000020
  339. #define REO_FLUSH_CACHE_STATUS_8_RESERVED_8A_LSB 0
  340. #define REO_FLUSH_CACHE_STATUS_8_RESERVED_8A_MASK 0xffffffff
  341. /* Description REO_FLUSH_CACHE_STATUS_9_RESERVED_9A
  342. <legal 0>
  343. */
  344. #define REO_FLUSH_CACHE_STATUS_9_RESERVED_9A_OFFSET 0x00000024
  345. #define REO_FLUSH_CACHE_STATUS_9_RESERVED_9A_LSB 0
  346. #define REO_FLUSH_CACHE_STATUS_9_RESERVED_9A_MASK 0xffffffff
  347. /* Description REO_FLUSH_CACHE_STATUS_10_RESERVED_10A
  348. <legal 0>
  349. */
  350. #define REO_FLUSH_CACHE_STATUS_10_RESERVED_10A_OFFSET 0x00000028
  351. #define REO_FLUSH_CACHE_STATUS_10_RESERVED_10A_LSB 0
  352. #define REO_FLUSH_CACHE_STATUS_10_RESERVED_10A_MASK 0xffffffff
  353. /* Description REO_FLUSH_CACHE_STATUS_11_RESERVED_11A
  354. <legal 0>
  355. */
  356. #define REO_FLUSH_CACHE_STATUS_11_RESERVED_11A_OFFSET 0x0000002c
  357. #define REO_FLUSH_CACHE_STATUS_11_RESERVED_11A_LSB 0
  358. #define REO_FLUSH_CACHE_STATUS_11_RESERVED_11A_MASK 0xffffffff
  359. /* Description REO_FLUSH_CACHE_STATUS_12_RESERVED_12A
  360. <legal 0>
  361. */
  362. #define REO_FLUSH_CACHE_STATUS_12_RESERVED_12A_OFFSET 0x00000030
  363. #define REO_FLUSH_CACHE_STATUS_12_RESERVED_12A_LSB 0
  364. #define REO_FLUSH_CACHE_STATUS_12_RESERVED_12A_MASK 0xffffffff
  365. /* Description REO_FLUSH_CACHE_STATUS_13_RESERVED_13A
  366. <legal 0>
  367. */
  368. #define REO_FLUSH_CACHE_STATUS_13_RESERVED_13A_OFFSET 0x00000034
  369. #define REO_FLUSH_CACHE_STATUS_13_RESERVED_13A_LSB 0
  370. #define REO_FLUSH_CACHE_STATUS_13_RESERVED_13A_MASK 0xffffffff
  371. /* Description REO_FLUSH_CACHE_STATUS_14_RESERVED_14A
  372. <legal 0>
  373. */
  374. #define REO_FLUSH_CACHE_STATUS_14_RESERVED_14A_OFFSET 0x00000038
  375. #define REO_FLUSH_CACHE_STATUS_14_RESERVED_14A_LSB 0
  376. #define REO_FLUSH_CACHE_STATUS_14_RESERVED_14A_MASK 0xffffffff
  377. /* Description REO_FLUSH_CACHE_STATUS_15_RESERVED_15A
  378. <legal 0>
  379. */
  380. #define REO_FLUSH_CACHE_STATUS_15_RESERVED_15A_OFFSET 0x0000003c
  381. #define REO_FLUSH_CACHE_STATUS_15_RESERVED_15A_LSB 0
  382. #define REO_FLUSH_CACHE_STATUS_15_RESERVED_15A_MASK 0xffffffff
  383. /* Description REO_FLUSH_CACHE_STATUS_16_RESERVED_16A
  384. <legal 0>
  385. */
  386. #define REO_FLUSH_CACHE_STATUS_16_RESERVED_16A_OFFSET 0x00000040
  387. #define REO_FLUSH_CACHE_STATUS_16_RESERVED_16A_LSB 0
  388. #define REO_FLUSH_CACHE_STATUS_16_RESERVED_16A_MASK 0xffffffff
  389. /* Description REO_FLUSH_CACHE_STATUS_17_RESERVED_17A
  390. <legal 0>
  391. */
  392. #define REO_FLUSH_CACHE_STATUS_17_RESERVED_17A_OFFSET 0x00000044
  393. #define REO_FLUSH_CACHE_STATUS_17_RESERVED_17A_LSB 0
  394. #define REO_FLUSH_CACHE_STATUS_17_RESERVED_17A_MASK 0xffffffff
  395. /* Description REO_FLUSH_CACHE_STATUS_18_RESERVED_18A
  396. <legal 0>
  397. */
  398. #define REO_FLUSH_CACHE_STATUS_18_RESERVED_18A_OFFSET 0x00000048
  399. #define REO_FLUSH_CACHE_STATUS_18_RESERVED_18A_LSB 0
  400. #define REO_FLUSH_CACHE_STATUS_18_RESERVED_18A_MASK 0xffffffff
  401. /* Description REO_FLUSH_CACHE_STATUS_19_RESERVED_19A
  402. <legal 0>
  403. */
  404. #define REO_FLUSH_CACHE_STATUS_19_RESERVED_19A_OFFSET 0x0000004c
  405. #define REO_FLUSH_CACHE_STATUS_19_RESERVED_19A_LSB 0
  406. #define REO_FLUSH_CACHE_STATUS_19_RESERVED_19A_MASK 0xffffffff
  407. /* Description REO_FLUSH_CACHE_STATUS_20_RESERVED_20A
  408. <legal 0>
  409. */
  410. #define REO_FLUSH_CACHE_STATUS_20_RESERVED_20A_OFFSET 0x00000050
  411. #define REO_FLUSH_CACHE_STATUS_20_RESERVED_20A_LSB 0
  412. #define REO_FLUSH_CACHE_STATUS_20_RESERVED_20A_MASK 0xffffffff
  413. /* Description REO_FLUSH_CACHE_STATUS_21_RESERVED_21A
  414. <legal 0>
  415. */
  416. #define REO_FLUSH_CACHE_STATUS_21_RESERVED_21A_OFFSET 0x00000054
  417. #define REO_FLUSH_CACHE_STATUS_21_RESERVED_21A_LSB 0
  418. #define REO_FLUSH_CACHE_STATUS_21_RESERVED_21A_MASK 0xffffffff
  419. /* Description REO_FLUSH_CACHE_STATUS_22_RESERVED_22A
  420. <legal 0>
  421. */
  422. #define REO_FLUSH_CACHE_STATUS_22_RESERVED_22A_OFFSET 0x00000058
  423. #define REO_FLUSH_CACHE_STATUS_22_RESERVED_22A_LSB 0
  424. #define REO_FLUSH_CACHE_STATUS_22_RESERVED_22A_MASK 0xffffffff
  425. /* Description REO_FLUSH_CACHE_STATUS_23_RESERVED_23A
  426. <legal 0>
  427. */
  428. #define REO_FLUSH_CACHE_STATUS_23_RESERVED_23A_OFFSET 0x0000005c
  429. #define REO_FLUSH_CACHE_STATUS_23_RESERVED_23A_LSB 0
  430. #define REO_FLUSH_CACHE_STATUS_23_RESERVED_23A_MASK 0xffffffff
  431. /* Description REO_FLUSH_CACHE_STATUS_24_RESERVED_24A
  432. <legal 0>
  433. */
  434. #define REO_FLUSH_CACHE_STATUS_24_RESERVED_24A_OFFSET 0x00000060
  435. #define REO_FLUSH_CACHE_STATUS_24_RESERVED_24A_LSB 0
  436. #define REO_FLUSH_CACHE_STATUS_24_RESERVED_24A_MASK 0x0fffffff
  437. /* Description REO_FLUSH_CACHE_STATUS_24_LOOPING_COUNT
  438. A count value that indicates the number of times the
  439. producer of entries into this Ring has looped around the
  440. ring.
  441. At initialization time, this value is set to 0. On the
  442. first loop, this value is set to 1. After the max value is
  443. reached allowed by the number of bits for this field, the
  444. count value continues with 0 again.
  445. In case SW is the consumer of the ring entries, it can
  446. use this field to figure out up to where the producer of
  447. entries has created new entries. This eliminates the need to
  448. check where the head pointer' of the ring is located once
  449. the SW starts processing an interrupt indicating that new
  450. entries have been put into this ring...
  451. Also note that SW if it wants only needs to look at the
  452. LSB bit of this count value.
  453. <legal all>
  454. */
  455. #define REO_FLUSH_CACHE_STATUS_24_LOOPING_COUNT_OFFSET 0x00000060
  456. #define REO_FLUSH_CACHE_STATUS_24_LOOPING_COUNT_LSB 28
  457. #define REO_FLUSH_CACHE_STATUS_24_LOOPING_COUNT_MASK 0xf0000000
  458. #endif // _REO_FLUSH_CACHE_STATUS_H_