reo_flush_cache_status.h 20 KB

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