reo_flush_cache_status.h 20 KB

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