reo_flush_cache_status.h 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803
  1. /*
  2. * Copyright (c) 2019 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. /* EXTERNAL REFERENCE : struct uniform_reo_status_header status_header */
  214. /* Description REO_FLUSH_CACHE_STATUS_0_STATUS_HEADER_REO_STATUS_NUMBER
  215. Consumer: SW , DEBUG
  216. Producer: REO
  217. The value in this field is equal to value of the
  218. 'REO_CMD_Number' field the REO command
  219. This field helps to correlate the statuses with the REO
  220. commands.
  221. <legal all>
  222. */
  223. #define REO_FLUSH_CACHE_STATUS_0_STATUS_HEADER_REO_STATUS_NUMBER_OFFSET 0x00000000
  224. #define REO_FLUSH_CACHE_STATUS_0_STATUS_HEADER_REO_STATUS_NUMBER_LSB 0
  225. #define REO_FLUSH_CACHE_STATUS_0_STATUS_HEADER_REO_STATUS_NUMBER_MASK 0x0000ffff
  226. /* Description REO_FLUSH_CACHE_STATUS_0_STATUS_HEADER_CMD_EXECUTION_TIME
  227. Consumer: DEBUG
  228. Producer: REO
  229. The amount of time REO took to excecute the command.
  230. Note that this time does not include the duration of the
  231. command waiting in the command ring, before the execution
  232. started.
  233. In us.
  234. <legal all>
  235. */
  236. #define REO_FLUSH_CACHE_STATUS_0_STATUS_HEADER_CMD_EXECUTION_TIME_OFFSET 0x00000000
  237. #define REO_FLUSH_CACHE_STATUS_0_STATUS_HEADER_CMD_EXECUTION_TIME_LSB 16
  238. #define REO_FLUSH_CACHE_STATUS_0_STATUS_HEADER_CMD_EXECUTION_TIME_MASK 0x03ff0000
  239. /* Description REO_FLUSH_CACHE_STATUS_0_STATUS_HEADER_REO_CMD_EXECUTION_STATUS
  240. Consumer: DEBUG
  241. Producer: REO
  242. Execution status of the command.
  243. <enum 0 reo_successful_execution> Command has
  244. successfully be executed
  245. <enum 1 reo_blocked_execution> Command could not be
  246. executed as the queue or cache was blocked
  247. <enum 2 reo_failed_execution> Command has encountered
  248. problems when executing, like the queue descriptor not being
  249. valid. None of the status fields in the entire STATUS TLV
  250. are valid.
  251. <enum 3 reo_resource_blocked> Command is NOT executed
  252. because one or more descriptors were blocked. This is SW
  253. programming mistake.
  254. None of the status fields in the entire STATUS TLV are
  255. valid.
  256. <legal 0-3>
  257. */
  258. #define REO_FLUSH_CACHE_STATUS_0_STATUS_HEADER_REO_CMD_EXECUTION_STATUS_OFFSET 0x00000000
  259. #define REO_FLUSH_CACHE_STATUS_0_STATUS_HEADER_REO_CMD_EXECUTION_STATUS_LSB 26
  260. #define REO_FLUSH_CACHE_STATUS_0_STATUS_HEADER_REO_CMD_EXECUTION_STATUS_MASK 0x0c000000
  261. /* Description REO_FLUSH_CACHE_STATUS_0_STATUS_HEADER_RESERVED_0A
  262. <legal 0>
  263. */
  264. #define REO_FLUSH_CACHE_STATUS_0_STATUS_HEADER_RESERVED_0A_OFFSET 0x00000000
  265. #define REO_FLUSH_CACHE_STATUS_0_STATUS_HEADER_RESERVED_0A_LSB 28
  266. #define REO_FLUSH_CACHE_STATUS_0_STATUS_HEADER_RESERVED_0A_MASK 0xf0000000
  267. /* Description REO_FLUSH_CACHE_STATUS_1_STATUS_HEADER_TIMESTAMP
  268. Timestamp at the moment that this status report is
  269. written.
  270. <legal all>
  271. */
  272. #define REO_FLUSH_CACHE_STATUS_1_STATUS_HEADER_TIMESTAMP_OFFSET 0x00000004
  273. #define REO_FLUSH_CACHE_STATUS_1_STATUS_HEADER_TIMESTAMP_LSB 0
  274. #define REO_FLUSH_CACHE_STATUS_1_STATUS_HEADER_TIMESTAMP_MASK 0xffffffff
  275. /* Description REO_FLUSH_CACHE_STATUS_2_ERROR_DETECTED
  276. Status for blocking resource handling
  277. 0: No error has been detected while executing this
  278. command
  279. 1: an error in the blocking resource management was
  280. detected
  281. See field 'Block_error_details'
  282. */
  283. #define REO_FLUSH_CACHE_STATUS_2_ERROR_DETECTED_OFFSET 0x00000008
  284. #define REO_FLUSH_CACHE_STATUS_2_ERROR_DETECTED_LSB 0
  285. #define REO_FLUSH_CACHE_STATUS_2_ERROR_DETECTED_MASK 0x00000001
  286. /* Description REO_FLUSH_CACHE_STATUS_2_BLOCK_ERROR_DETAILS
  287. Field only valid when 'Error_detected' is set.
  288. 0: no blocking related error found
  289. 1: blocking resource was already in use
  290. 2: resource that was asked to be unblocked, was not
  291. blocked
  292. <legal 0-2>
  293. */
  294. #define REO_FLUSH_CACHE_STATUS_2_BLOCK_ERROR_DETAILS_OFFSET 0x00000008
  295. #define REO_FLUSH_CACHE_STATUS_2_BLOCK_ERROR_DETAILS_LSB 1
  296. #define REO_FLUSH_CACHE_STATUS_2_BLOCK_ERROR_DETAILS_MASK 0x00000006
  297. /* Description REO_FLUSH_CACHE_STATUS_2_RESERVED_2A
  298. <legal 0>
  299. */
  300. #define REO_FLUSH_CACHE_STATUS_2_RESERVED_2A_OFFSET 0x00000008
  301. #define REO_FLUSH_CACHE_STATUS_2_RESERVED_2A_LSB 3
  302. #define REO_FLUSH_CACHE_STATUS_2_RESERVED_2A_MASK 0x000000f8
  303. /* Description REO_FLUSH_CACHE_STATUS_2_CACHE_CONTROLLER_FLUSH_STATUS_HIT
  304. The status that the cache controller returned for
  305. executing the flush command
  306. descriptor hit
  307. 1 = hit
  308. 0 = miss
  309. <legal all>
  310. */
  311. #define REO_FLUSH_CACHE_STATUS_2_CACHE_CONTROLLER_FLUSH_STATUS_HIT_OFFSET 0x00000008
  312. #define REO_FLUSH_CACHE_STATUS_2_CACHE_CONTROLLER_FLUSH_STATUS_HIT_LSB 8
  313. #define REO_FLUSH_CACHE_STATUS_2_CACHE_CONTROLLER_FLUSH_STATUS_HIT_MASK 0x00000100
  314. /* Description REO_FLUSH_CACHE_STATUS_2_CACHE_CONTROLLER_FLUSH_STATUS_DESC_TYPE
  315. The status that the cache controller returned for
  316. executing the flush command
  317. Descriptor type
  318. FLOW_QUEUE_DESCRIPTOR                
  319. 3'd0
  320. <legal all>
  321. */
  322. #define REO_FLUSH_CACHE_STATUS_2_CACHE_CONTROLLER_FLUSH_STATUS_DESC_TYPE_OFFSET 0x00000008
  323. #define REO_FLUSH_CACHE_STATUS_2_CACHE_CONTROLLER_FLUSH_STATUS_DESC_TYPE_LSB 9
  324. #define REO_FLUSH_CACHE_STATUS_2_CACHE_CONTROLLER_FLUSH_STATUS_DESC_TYPE_MASK 0x00000e00
  325. /* Description REO_FLUSH_CACHE_STATUS_2_CACHE_CONTROLLER_FLUSH_STATUS_CLIENT_ID
  326. The status that the cache controller returned for
  327. executing the flush command
  328. client ID
  329. Module who made flush the request
  330. In REO, this is always set to 0
  331. <legal 0>
  332. */
  333. #define REO_FLUSH_CACHE_STATUS_2_CACHE_CONTROLLER_FLUSH_STATUS_CLIENT_ID_OFFSET 0x00000008
  334. #define REO_FLUSH_CACHE_STATUS_2_CACHE_CONTROLLER_FLUSH_STATUS_CLIENT_ID_LSB 12
  335. #define REO_FLUSH_CACHE_STATUS_2_CACHE_CONTROLLER_FLUSH_STATUS_CLIENT_ID_MASK 0x0000f000
  336. /* Description REO_FLUSH_CACHE_STATUS_2_CACHE_CONTROLLER_FLUSH_STATUS_ERROR
  337. The status that the cache controller returned for
  338. executing the flush command
  339. Error condition
  340. 2'b00: No error found
  341. 2'b01: HW IF still busy
  342. 2'b10: Line is currently locked. Used for the one line
  343. flush command.
  344. 2'b11: At least one line is currently still locked. Used
  345. for the cache flush command.
  346. <legal all>
  347. */
  348. #define REO_FLUSH_CACHE_STATUS_2_CACHE_CONTROLLER_FLUSH_STATUS_ERROR_OFFSET 0x00000008
  349. #define REO_FLUSH_CACHE_STATUS_2_CACHE_CONTROLLER_FLUSH_STATUS_ERROR_LSB 16
  350. #define REO_FLUSH_CACHE_STATUS_2_CACHE_CONTROLLER_FLUSH_STATUS_ERROR_MASK 0x00030000
  351. /* Description REO_FLUSH_CACHE_STATUS_2_CACHE_CONTROLLER_FLUSH_COUNT
  352. The number of lines that were actually flushed out.
  353. <legal all>
  354. */
  355. #define REO_FLUSH_CACHE_STATUS_2_CACHE_CONTROLLER_FLUSH_COUNT_OFFSET 0x00000008
  356. #define REO_FLUSH_CACHE_STATUS_2_CACHE_CONTROLLER_FLUSH_COUNT_LSB 18
  357. #define REO_FLUSH_CACHE_STATUS_2_CACHE_CONTROLLER_FLUSH_COUNT_MASK 0x03fc0000
  358. /* Description REO_FLUSH_CACHE_STATUS_2_RESERVED_2B
  359. <legal 0>
  360. */
  361. #define REO_FLUSH_CACHE_STATUS_2_RESERVED_2B_OFFSET 0x00000008
  362. #define REO_FLUSH_CACHE_STATUS_2_RESERVED_2B_LSB 26
  363. #define REO_FLUSH_CACHE_STATUS_2_RESERVED_2B_MASK 0xfc000000
  364. /* Description REO_FLUSH_CACHE_STATUS_3_RESERVED_3A
  365. <legal 0>
  366. */
  367. #define REO_FLUSH_CACHE_STATUS_3_RESERVED_3A_OFFSET 0x0000000c
  368. #define REO_FLUSH_CACHE_STATUS_3_RESERVED_3A_LSB 0
  369. #define REO_FLUSH_CACHE_STATUS_3_RESERVED_3A_MASK 0xffffffff
  370. /* Description REO_FLUSH_CACHE_STATUS_4_RESERVED_4A
  371. <legal 0>
  372. */
  373. #define REO_FLUSH_CACHE_STATUS_4_RESERVED_4A_OFFSET 0x00000010
  374. #define REO_FLUSH_CACHE_STATUS_4_RESERVED_4A_LSB 0
  375. #define REO_FLUSH_CACHE_STATUS_4_RESERVED_4A_MASK 0xffffffff
  376. /* Description REO_FLUSH_CACHE_STATUS_5_RESERVED_5A
  377. <legal 0>
  378. */
  379. #define REO_FLUSH_CACHE_STATUS_5_RESERVED_5A_OFFSET 0x00000014
  380. #define REO_FLUSH_CACHE_STATUS_5_RESERVED_5A_LSB 0
  381. #define REO_FLUSH_CACHE_STATUS_5_RESERVED_5A_MASK 0xffffffff
  382. /* Description REO_FLUSH_CACHE_STATUS_6_RESERVED_6A
  383. <legal 0>
  384. */
  385. #define REO_FLUSH_CACHE_STATUS_6_RESERVED_6A_OFFSET 0x00000018
  386. #define REO_FLUSH_CACHE_STATUS_6_RESERVED_6A_LSB 0
  387. #define REO_FLUSH_CACHE_STATUS_6_RESERVED_6A_MASK 0xffffffff
  388. /* Description REO_FLUSH_CACHE_STATUS_7_RESERVED_7A
  389. <legal 0>
  390. */
  391. #define REO_FLUSH_CACHE_STATUS_7_RESERVED_7A_OFFSET 0x0000001c
  392. #define REO_FLUSH_CACHE_STATUS_7_RESERVED_7A_LSB 0
  393. #define REO_FLUSH_CACHE_STATUS_7_RESERVED_7A_MASK 0xffffffff
  394. /* Description REO_FLUSH_CACHE_STATUS_8_RESERVED_8A
  395. <legal 0>
  396. */
  397. #define REO_FLUSH_CACHE_STATUS_8_RESERVED_8A_OFFSET 0x00000020
  398. #define REO_FLUSH_CACHE_STATUS_8_RESERVED_8A_LSB 0
  399. #define REO_FLUSH_CACHE_STATUS_8_RESERVED_8A_MASK 0xffffffff
  400. /* Description REO_FLUSH_CACHE_STATUS_9_RESERVED_9A
  401. <legal 0>
  402. */
  403. #define REO_FLUSH_CACHE_STATUS_9_RESERVED_9A_OFFSET 0x00000024
  404. #define REO_FLUSH_CACHE_STATUS_9_RESERVED_9A_LSB 0
  405. #define REO_FLUSH_CACHE_STATUS_9_RESERVED_9A_MASK 0xffffffff
  406. /* Description REO_FLUSH_CACHE_STATUS_10_RESERVED_10A
  407. <legal 0>
  408. */
  409. #define REO_FLUSH_CACHE_STATUS_10_RESERVED_10A_OFFSET 0x00000028
  410. #define REO_FLUSH_CACHE_STATUS_10_RESERVED_10A_LSB 0
  411. #define REO_FLUSH_CACHE_STATUS_10_RESERVED_10A_MASK 0xffffffff
  412. /* Description REO_FLUSH_CACHE_STATUS_11_RESERVED_11A
  413. <legal 0>
  414. */
  415. #define REO_FLUSH_CACHE_STATUS_11_RESERVED_11A_OFFSET 0x0000002c
  416. #define REO_FLUSH_CACHE_STATUS_11_RESERVED_11A_LSB 0
  417. #define REO_FLUSH_CACHE_STATUS_11_RESERVED_11A_MASK 0xffffffff
  418. /* Description REO_FLUSH_CACHE_STATUS_12_RESERVED_12A
  419. <legal 0>
  420. */
  421. #define REO_FLUSH_CACHE_STATUS_12_RESERVED_12A_OFFSET 0x00000030
  422. #define REO_FLUSH_CACHE_STATUS_12_RESERVED_12A_LSB 0
  423. #define REO_FLUSH_CACHE_STATUS_12_RESERVED_12A_MASK 0xffffffff
  424. /* Description REO_FLUSH_CACHE_STATUS_13_RESERVED_13A
  425. <legal 0>
  426. */
  427. #define REO_FLUSH_CACHE_STATUS_13_RESERVED_13A_OFFSET 0x00000034
  428. #define REO_FLUSH_CACHE_STATUS_13_RESERVED_13A_LSB 0
  429. #define REO_FLUSH_CACHE_STATUS_13_RESERVED_13A_MASK 0xffffffff
  430. /* Description REO_FLUSH_CACHE_STATUS_14_RESERVED_14A
  431. <legal 0>
  432. */
  433. #define REO_FLUSH_CACHE_STATUS_14_RESERVED_14A_OFFSET 0x00000038
  434. #define REO_FLUSH_CACHE_STATUS_14_RESERVED_14A_LSB 0
  435. #define REO_FLUSH_CACHE_STATUS_14_RESERVED_14A_MASK 0xffffffff
  436. /* Description REO_FLUSH_CACHE_STATUS_15_RESERVED_15A
  437. <legal 0>
  438. */
  439. #define REO_FLUSH_CACHE_STATUS_15_RESERVED_15A_OFFSET 0x0000003c
  440. #define REO_FLUSH_CACHE_STATUS_15_RESERVED_15A_LSB 0
  441. #define REO_FLUSH_CACHE_STATUS_15_RESERVED_15A_MASK 0xffffffff
  442. /* Description REO_FLUSH_CACHE_STATUS_16_RESERVED_16A
  443. <legal 0>
  444. */
  445. #define REO_FLUSH_CACHE_STATUS_16_RESERVED_16A_OFFSET 0x00000040
  446. #define REO_FLUSH_CACHE_STATUS_16_RESERVED_16A_LSB 0
  447. #define REO_FLUSH_CACHE_STATUS_16_RESERVED_16A_MASK 0xffffffff
  448. /* Description REO_FLUSH_CACHE_STATUS_17_RESERVED_17A
  449. <legal 0>
  450. */
  451. #define REO_FLUSH_CACHE_STATUS_17_RESERVED_17A_OFFSET 0x00000044
  452. #define REO_FLUSH_CACHE_STATUS_17_RESERVED_17A_LSB 0
  453. #define REO_FLUSH_CACHE_STATUS_17_RESERVED_17A_MASK 0xffffffff
  454. /* Description REO_FLUSH_CACHE_STATUS_18_RESERVED_18A
  455. <legal 0>
  456. */
  457. #define REO_FLUSH_CACHE_STATUS_18_RESERVED_18A_OFFSET 0x00000048
  458. #define REO_FLUSH_CACHE_STATUS_18_RESERVED_18A_LSB 0
  459. #define REO_FLUSH_CACHE_STATUS_18_RESERVED_18A_MASK 0xffffffff
  460. /* Description REO_FLUSH_CACHE_STATUS_19_RESERVED_19A
  461. <legal 0>
  462. */
  463. #define REO_FLUSH_CACHE_STATUS_19_RESERVED_19A_OFFSET 0x0000004c
  464. #define REO_FLUSH_CACHE_STATUS_19_RESERVED_19A_LSB 0
  465. #define REO_FLUSH_CACHE_STATUS_19_RESERVED_19A_MASK 0xffffffff
  466. /* Description REO_FLUSH_CACHE_STATUS_20_RESERVED_20A
  467. <legal 0>
  468. */
  469. #define REO_FLUSH_CACHE_STATUS_20_RESERVED_20A_OFFSET 0x00000050
  470. #define REO_FLUSH_CACHE_STATUS_20_RESERVED_20A_LSB 0
  471. #define REO_FLUSH_CACHE_STATUS_20_RESERVED_20A_MASK 0xffffffff
  472. /* Description REO_FLUSH_CACHE_STATUS_21_RESERVED_21A
  473. <legal 0>
  474. */
  475. #define REO_FLUSH_CACHE_STATUS_21_RESERVED_21A_OFFSET 0x00000054
  476. #define REO_FLUSH_CACHE_STATUS_21_RESERVED_21A_LSB 0
  477. #define REO_FLUSH_CACHE_STATUS_21_RESERVED_21A_MASK 0xffffffff
  478. /* Description REO_FLUSH_CACHE_STATUS_22_RESERVED_22A
  479. <legal 0>
  480. */
  481. #define REO_FLUSH_CACHE_STATUS_22_RESERVED_22A_OFFSET 0x00000058
  482. #define REO_FLUSH_CACHE_STATUS_22_RESERVED_22A_LSB 0
  483. #define REO_FLUSH_CACHE_STATUS_22_RESERVED_22A_MASK 0xffffffff
  484. /* Description REO_FLUSH_CACHE_STATUS_23_RESERVED_23A
  485. <legal 0>
  486. */
  487. #define REO_FLUSH_CACHE_STATUS_23_RESERVED_23A_OFFSET 0x0000005c
  488. #define REO_FLUSH_CACHE_STATUS_23_RESERVED_23A_LSB 0
  489. #define REO_FLUSH_CACHE_STATUS_23_RESERVED_23A_MASK 0xffffffff
  490. /* Description REO_FLUSH_CACHE_STATUS_24_RESERVED_24A
  491. <legal 0>
  492. */
  493. #define REO_FLUSH_CACHE_STATUS_24_RESERVED_24A_OFFSET 0x00000060
  494. #define REO_FLUSH_CACHE_STATUS_24_RESERVED_24A_LSB 0
  495. #define REO_FLUSH_CACHE_STATUS_24_RESERVED_24A_MASK 0x0fffffff
  496. /* Description REO_FLUSH_CACHE_STATUS_24_LOOPING_COUNT
  497. A count value that indicates the number of times the
  498. producer of entries into this Ring has looped around the
  499. ring.
  500. At initialization time, this value is set to 0. On the
  501. first loop, this value is set to 1. After the max value is
  502. reached allowed by the number of bits for this field, the
  503. count value continues with 0 again.
  504. In case SW is the consumer of the ring entries, it can
  505. use this field to figure out up to where the producer of
  506. entries has created new entries. This eliminates the need to
  507. check where the head pointer' of the ring is located once
  508. the SW starts processing an interrupt indicating that new
  509. entries have been put into this ring...
  510. Also note that SW if it wants only needs to look at the
  511. LSB bit of this count value.
  512. <legal all>
  513. */
  514. #define REO_FLUSH_CACHE_STATUS_24_LOOPING_COUNT_OFFSET 0x00000060
  515. #define REO_FLUSH_CACHE_STATUS_24_LOOPING_COUNT_LSB 28
  516. #define REO_FLUSH_CACHE_STATUS_24_LOOPING_COUNT_MASK 0xf0000000
  517. #endif // _REO_FLUSH_CACHE_STATUS_H_