reo_unblock_cache_status.h 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616
  1. /*
  2. * Copyright (c) 2019, The Linux Foundation. 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_UNBLOCK_CACHE_STATUS_H_
  17. #define _REO_UNBLOCK_CACHE_STATUS_H_
  18. #if !defined(__ASSEMBLER__)
  19. #endif
  20. #include "uniform_reo_status_header.h"
  21. // ################ START SUMMARY #################
  22. //
  23. // Dword Fields
  24. // 0-1 struct uniform_reo_status_header status_header;
  25. // 2 error_detected[0], unblock_type[1], reserved_2a[31:2]
  26. // 3 reserved_3a[31:0]
  27. // 4 reserved_4a[31:0]
  28. // 5 reserved_5a[31:0]
  29. // 6 reserved_6a[31:0]
  30. // 7 reserved_7a[31:0]
  31. // 8 reserved_8a[31:0]
  32. // 9 reserved_9a[31:0]
  33. // 10 reserved_10a[31:0]
  34. // 11 reserved_11a[31:0]
  35. // 12 reserved_12a[31:0]
  36. // 13 reserved_13a[31:0]
  37. // 14 reserved_14a[31:0]
  38. // 15 reserved_15a[31:0]
  39. // 16 reserved_16a[31:0]
  40. // 17 reserved_17a[31:0]
  41. // 18 reserved_18a[31:0]
  42. // 19 reserved_19a[31:0]
  43. // 20 reserved_20a[31:0]
  44. // 21 reserved_21a[31:0]
  45. // 22 reserved_22a[31:0]
  46. // 23 reserved_23a[31:0]
  47. // 24 reserved_24a[27:0], looping_count[31:28]
  48. //
  49. // ################ END SUMMARY #################
  50. #define NUM_OF_DWORDS_REO_UNBLOCK_CACHE_STATUS 25
  51. struct reo_unblock_cache_status {
  52. struct uniform_reo_status_header status_header;
  53. uint32_t error_detected : 1, //[0]
  54. unblock_type : 1, //[1]
  55. reserved_2a : 30; //[31:2]
  56. uint32_t reserved_3a : 32; //[31:0]
  57. uint32_t reserved_4a : 32; //[31:0]
  58. uint32_t reserved_5a : 32; //[31:0]
  59. uint32_t reserved_6a : 32; //[31:0]
  60. uint32_t reserved_7a : 32; //[31:0]
  61. uint32_t reserved_8a : 32; //[31:0]
  62. uint32_t reserved_9a : 32; //[31:0]
  63. uint32_t reserved_10a : 32; //[31:0]
  64. uint32_t reserved_11a : 32; //[31:0]
  65. uint32_t reserved_12a : 32; //[31:0]
  66. uint32_t reserved_13a : 32; //[31:0]
  67. uint32_t reserved_14a : 32; //[31:0]
  68. uint32_t reserved_15a : 32; //[31:0]
  69. uint32_t reserved_16a : 32; //[31:0]
  70. uint32_t reserved_17a : 32; //[31:0]
  71. uint32_t reserved_18a : 32; //[31:0]
  72. uint32_t reserved_19a : 32; //[31:0]
  73. uint32_t reserved_20a : 32; //[31:0]
  74. uint32_t reserved_21a : 32; //[31:0]
  75. uint32_t reserved_22a : 32; //[31:0]
  76. uint32_t reserved_23a : 32; //[31:0]
  77. uint32_t reserved_24a : 28, //[27:0]
  78. looping_count : 4; //[31:28]
  79. };
  80. /*
  81. struct uniform_reo_status_header status_header
  82. Consumer: SW
  83. Producer: REO
  84. Details that can link this status with the original
  85. command. It also contains info on how long REO took to
  86. execute this command.
  87. error_detected
  88. Status for blocking resource handling
  89. 0: No error has been detected while executing this
  90. command
  91. 1: The blocking resource was not in use, and therefor it
  92. could not be 'unblocked'
  93. unblock_type
  94. Reference to the type of Unblock command type...
  95. <enum 0 unblock_resource_index> Unblock a blocking
  96. resource
  97. <enum 1 unblock_cache> The entire cache usage is
  98. unblock.
  99. <legal all>
  100. reserved_2a
  101. <legal 0>
  102. reserved_3a
  103. <legal 0>
  104. reserved_4a
  105. <legal 0>
  106. reserved_5a
  107. <legal 0>
  108. reserved_6a
  109. <legal 0>
  110. reserved_7a
  111. <legal 0>
  112. reserved_8a
  113. <legal 0>
  114. reserved_9a
  115. <legal 0>
  116. reserved_10a
  117. <legal 0>
  118. reserved_11a
  119. <legal 0>
  120. reserved_12a
  121. <legal 0>
  122. reserved_13a
  123. <legal 0>
  124. reserved_14a
  125. <legal 0>
  126. reserved_15a
  127. <legal 0>
  128. reserved_16a
  129. <legal 0>
  130. reserved_17a
  131. <legal 0>
  132. reserved_18a
  133. <legal 0>
  134. reserved_19a
  135. <legal 0>
  136. reserved_20a
  137. <legal 0>
  138. reserved_21a
  139. <legal 0>
  140. reserved_22a
  141. <legal 0>
  142. reserved_23a
  143. <legal 0>
  144. reserved_24a
  145. <legal 0>
  146. looping_count
  147. A count value that indicates the number of times the
  148. producer of entries into this Ring has looped around the
  149. ring.
  150. At initialization time, this value is set to 0. On the
  151. first loop, this value is set to 1. After the max value is
  152. reached allowed by the number of bits for this field, the
  153. count value continues with 0 again.
  154. In case SW is the consumer of the ring entries, it can
  155. use this field to figure out up to where the producer of
  156. entries has created new entries. This eliminates the need to
  157. check where the head pointer' of the ring is located once
  158. the SW starts processing an interrupt indicating that new
  159. entries have been put into this ring...
  160. Also note that SW if it wants only needs to look at the
  161. LSB bit of this count value.
  162. <legal all>
  163. */
  164. /* EXTERNAL REFERENCE : struct uniform_reo_status_header status_header */
  165. /* Description REO_UNBLOCK_CACHE_STATUS_0_STATUS_HEADER_REO_STATUS_NUMBER
  166. Consumer: SW , DEBUG
  167. Producer: REO
  168. The value in this field is equal to value of the
  169. 'REO_CMD_Number' field the REO command
  170. This field helps to correlate the statuses with the REO
  171. commands.
  172. <legal all>
  173. */
  174. #define REO_UNBLOCK_CACHE_STATUS_0_STATUS_HEADER_REO_STATUS_NUMBER_OFFSET 0x00000000
  175. #define REO_UNBLOCK_CACHE_STATUS_0_STATUS_HEADER_REO_STATUS_NUMBER_LSB 0
  176. #define REO_UNBLOCK_CACHE_STATUS_0_STATUS_HEADER_REO_STATUS_NUMBER_MASK 0x0000ffff
  177. /* Description REO_UNBLOCK_CACHE_STATUS_0_STATUS_HEADER_CMD_EXECUTION_TIME
  178. Consumer: DEBUG
  179. Producer: REO
  180. The amount of time REO took to excecute the command.
  181. Note that this time does not include the duration of the
  182. command waiting in the command ring, before the execution
  183. started.
  184. In us.
  185. <legal all>
  186. */
  187. #define REO_UNBLOCK_CACHE_STATUS_0_STATUS_HEADER_CMD_EXECUTION_TIME_OFFSET 0x00000000
  188. #define REO_UNBLOCK_CACHE_STATUS_0_STATUS_HEADER_CMD_EXECUTION_TIME_LSB 16
  189. #define REO_UNBLOCK_CACHE_STATUS_0_STATUS_HEADER_CMD_EXECUTION_TIME_MASK 0x03ff0000
  190. /* Description REO_UNBLOCK_CACHE_STATUS_0_STATUS_HEADER_REO_CMD_EXECUTION_STATUS
  191. Consumer: DEBUG
  192. Producer: REO
  193. Execution status of the command.
  194. <enum 0 reo_successful_execution> Command has
  195. successfully be executed
  196. <enum 1 reo_blocked_execution> Command could not be
  197. executed as the queue or cache was blocked
  198. <enum 2 reo_failed_execution> Command has encountered
  199. problems when executing, like the queue descriptor not being
  200. valid. None of the status fields in the entire STATUS TLV
  201. are valid.
  202. <enum 3 reo_resource_blocked> Command is NOT executed
  203. because one or more descriptors were blocked. This is SW
  204. programming mistake.
  205. None of the status fields in the entire STATUS TLV are
  206. valid.
  207. <legal 0-3>
  208. */
  209. #define REO_UNBLOCK_CACHE_STATUS_0_STATUS_HEADER_REO_CMD_EXECUTION_STATUS_OFFSET 0x00000000
  210. #define REO_UNBLOCK_CACHE_STATUS_0_STATUS_HEADER_REO_CMD_EXECUTION_STATUS_LSB 26
  211. #define REO_UNBLOCK_CACHE_STATUS_0_STATUS_HEADER_REO_CMD_EXECUTION_STATUS_MASK 0x0c000000
  212. /* Description REO_UNBLOCK_CACHE_STATUS_0_STATUS_HEADER_RESERVED_0A
  213. <legal 0>
  214. */
  215. #define REO_UNBLOCK_CACHE_STATUS_0_STATUS_HEADER_RESERVED_0A_OFFSET 0x00000000
  216. #define REO_UNBLOCK_CACHE_STATUS_0_STATUS_HEADER_RESERVED_0A_LSB 28
  217. #define REO_UNBLOCK_CACHE_STATUS_0_STATUS_HEADER_RESERVED_0A_MASK 0xf0000000
  218. /* Description REO_UNBLOCK_CACHE_STATUS_1_STATUS_HEADER_TIMESTAMP
  219. Timestamp at the moment that this status report is
  220. written.
  221. <legal all>
  222. */
  223. #define REO_UNBLOCK_CACHE_STATUS_1_STATUS_HEADER_TIMESTAMP_OFFSET 0x00000004
  224. #define REO_UNBLOCK_CACHE_STATUS_1_STATUS_HEADER_TIMESTAMP_LSB 0
  225. #define REO_UNBLOCK_CACHE_STATUS_1_STATUS_HEADER_TIMESTAMP_MASK 0xffffffff
  226. /* Description REO_UNBLOCK_CACHE_STATUS_2_ERROR_DETECTED
  227. Status for blocking resource handling
  228. 0: No error has been detected while executing this
  229. command
  230. 1: The blocking resource was not in use, and therefor it
  231. could not be 'unblocked'
  232. */
  233. #define REO_UNBLOCK_CACHE_STATUS_2_ERROR_DETECTED_OFFSET 0x00000008
  234. #define REO_UNBLOCK_CACHE_STATUS_2_ERROR_DETECTED_LSB 0
  235. #define REO_UNBLOCK_CACHE_STATUS_2_ERROR_DETECTED_MASK 0x00000001
  236. /* Description REO_UNBLOCK_CACHE_STATUS_2_UNBLOCK_TYPE
  237. Reference to the type of Unblock command type...
  238. <enum 0 unblock_resource_index> Unblock a blocking
  239. resource
  240. <enum 1 unblock_cache> The entire cache usage is
  241. unblock.
  242. <legal all>
  243. */
  244. #define REO_UNBLOCK_CACHE_STATUS_2_UNBLOCK_TYPE_OFFSET 0x00000008
  245. #define REO_UNBLOCK_CACHE_STATUS_2_UNBLOCK_TYPE_LSB 1
  246. #define REO_UNBLOCK_CACHE_STATUS_2_UNBLOCK_TYPE_MASK 0x00000002
  247. /* Description REO_UNBLOCK_CACHE_STATUS_2_RESERVED_2A
  248. <legal 0>
  249. */
  250. #define REO_UNBLOCK_CACHE_STATUS_2_RESERVED_2A_OFFSET 0x00000008
  251. #define REO_UNBLOCK_CACHE_STATUS_2_RESERVED_2A_LSB 2
  252. #define REO_UNBLOCK_CACHE_STATUS_2_RESERVED_2A_MASK 0xfffffffc
  253. /* Description REO_UNBLOCK_CACHE_STATUS_3_RESERVED_3A
  254. <legal 0>
  255. */
  256. #define REO_UNBLOCK_CACHE_STATUS_3_RESERVED_3A_OFFSET 0x0000000c
  257. #define REO_UNBLOCK_CACHE_STATUS_3_RESERVED_3A_LSB 0
  258. #define REO_UNBLOCK_CACHE_STATUS_3_RESERVED_3A_MASK 0xffffffff
  259. /* Description REO_UNBLOCK_CACHE_STATUS_4_RESERVED_4A
  260. <legal 0>
  261. */
  262. #define REO_UNBLOCK_CACHE_STATUS_4_RESERVED_4A_OFFSET 0x00000010
  263. #define REO_UNBLOCK_CACHE_STATUS_4_RESERVED_4A_LSB 0
  264. #define REO_UNBLOCK_CACHE_STATUS_4_RESERVED_4A_MASK 0xffffffff
  265. /* Description REO_UNBLOCK_CACHE_STATUS_5_RESERVED_5A
  266. <legal 0>
  267. */
  268. #define REO_UNBLOCK_CACHE_STATUS_5_RESERVED_5A_OFFSET 0x00000014
  269. #define REO_UNBLOCK_CACHE_STATUS_5_RESERVED_5A_LSB 0
  270. #define REO_UNBLOCK_CACHE_STATUS_5_RESERVED_5A_MASK 0xffffffff
  271. /* Description REO_UNBLOCK_CACHE_STATUS_6_RESERVED_6A
  272. <legal 0>
  273. */
  274. #define REO_UNBLOCK_CACHE_STATUS_6_RESERVED_6A_OFFSET 0x00000018
  275. #define REO_UNBLOCK_CACHE_STATUS_6_RESERVED_6A_LSB 0
  276. #define REO_UNBLOCK_CACHE_STATUS_6_RESERVED_6A_MASK 0xffffffff
  277. /* Description REO_UNBLOCK_CACHE_STATUS_7_RESERVED_7A
  278. <legal 0>
  279. */
  280. #define REO_UNBLOCK_CACHE_STATUS_7_RESERVED_7A_OFFSET 0x0000001c
  281. #define REO_UNBLOCK_CACHE_STATUS_7_RESERVED_7A_LSB 0
  282. #define REO_UNBLOCK_CACHE_STATUS_7_RESERVED_7A_MASK 0xffffffff
  283. /* Description REO_UNBLOCK_CACHE_STATUS_8_RESERVED_8A
  284. <legal 0>
  285. */
  286. #define REO_UNBLOCK_CACHE_STATUS_8_RESERVED_8A_OFFSET 0x00000020
  287. #define REO_UNBLOCK_CACHE_STATUS_8_RESERVED_8A_LSB 0
  288. #define REO_UNBLOCK_CACHE_STATUS_8_RESERVED_8A_MASK 0xffffffff
  289. /* Description REO_UNBLOCK_CACHE_STATUS_9_RESERVED_9A
  290. <legal 0>
  291. */
  292. #define REO_UNBLOCK_CACHE_STATUS_9_RESERVED_9A_OFFSET 0x00000024
  293. #define REO_UNBLOCK_CACHE_STATUS_9_RESERVED_9A_LSB 0
  294. #define REO_UNBLOCK_CACHE_STATUS_9_RESERVED_9A_MASK 0xffffffff
  295. /* Description REO_UNBLOCK_CACHE_STATUS_10_RESERVED_10A
  296. <legal 0>
  297. */
  298. #define REO_UNBLOCK_CACHE_STATUS_10_RESERVED_10A_OFFSET 0x00000028
  299. #define REO_UNBLOCK_CACHE_STATUS_10_RESERVED_10A_LSB 0
  300. #define REO_UNBLOCK_CACHE_STATUS_10_RESERVED_10A_MASK 0xffffffff
  301. /* Description REO_UNBLOCK_CACHE_STATUS_11_RESERVED_11A
  302. <legal 0>
  303. */
  304. #define REO_UNBLOCK_CACHE_STATUS_11_RESERVED_11A_OFFSET 0x0000002c
  305. #define REO_UNBLOCK_CACHE_STATUS_11_RESERVED_11A_LSB 0
  306. #define REO_UNBLOCK_CACHE_STATUS_11_RESERVED_11A_MASK 0xffffffff
  307. /* Description REO_UNBLOCK_CACHE_STATUS_12_RESERVED_12A
  308. <legal 0>
  309. */
  310. #define REO_UNBLOCK_CACHE_STATUS_12_RESERVED_12A_OFFSET 0x00000030
  311. #define REO_UNBLOCK_CACHE_STATUS_12_RESERVED_12A_LSB 0
  312. #define REO_UNBLOCK_CACHE_STATUS_12_RESERVED_12A_MASK 0xffffffff
  313. /* Description REO_UNBLOCK_CACHE_STATUS_13_RESERVED_13A
  314. <legal 0>
  315. */
  316. #define REO_UNBLOCK_CACHE_STATUS_13_RESERVED_13A_OFFSET 0x00000034
  317. #define REO_UNBLOCK_CACHE_STATUS_13_RESERVED_13A_LSB 0
  318. #define REO_UNBLOCK_CACHE_STATUS_13_RESERVED_13A_MASK 0xffffffff
  319. /* Description REO_UNBLOCK_CACHE_STATUS_14_RESERVED_14A
  320. <legal 0>
  321. */
  322. #define REO_UNBLOCK_CACHE_STATUS_14_RESERVED_14A_OFFSET 0x00000038
  323. #define REO_UNBLOCK_CACHE_STATUS_14_RESERVED_14A_LSB 0
  324. #define REO_UNBLOCK_CACHE_STATUS_14_RESERVED_14A_MASK 0xffffffff
  325. /* Description REO_UNBLOCK_CACHE_STATUS_15_RESERVED_15A
  326. <legal 0>
  327. */
  328. #define REO_UNBLOCK_CACHE_STATUS_15_RESERVED_15A_OFFSET 0x0000003c
  329. #define REO_UNBLOCK_CACHE_STATUS_15_RESERVED_15A_LSB 0
  330. #define REO_UNBLOCK_CACHE_STATUS_15_RESERVED_15A_MASK 0xffffffff
  331. /* Description REO_UNBLOCK_CACHE_STATUS_16_RESERVED_16A
  332. <legal 0>
  333. */
  334. #define REO_UNBLOCK_CACHE_STATUS_16_RESERVED_16A_OFFSET 0x00000040
  335. #define REO_UNBLOCK_CACHE_STATUS_16_RESERVED_16A_LSB 0
  336. #define REO_UNBLOCK_CACHE_STATUS_16_RESERVED_16A_MASK 0xffffffff
  337. /* Description REO_UNBLOCK_CACHE_STATUS_17_RESERVED_17A
  338. <legal 0>
  339. */
  340. #define REO_UNBLOCK_CACHE_STATUS_17_RESERVED_17A_OFFSET 0x00000044
  341. #define REO_UNBLOCK_CACHE_STATUS_17_RESERVED_17A_LSB 0
  342. #define REO_UNBLOCK_CACHE_STATUS_17_RESERVED_17A_MASK 0xffffffff
  343. /* Description REO_UNBLOCK_CACHE_STATUS_18_RESERVED_18A
  344. <legal 0>
  345. */
  346. #define REO_UNBLOCK_CACHE_STATUS_18_RESERVED_18A_OFFSET 0x00000048
  347. #define REO_UNBLOCK_CACHE_STATUS_18_RESERVED_18A_LSB 0
  348. #define REO_UNBLOCK_CACHE_STATUS_18_RESERVED_18A_MASK 0xffffffff
  349. /* Description REO_UNBLOCK_CACHE_STATUS_19_RESERVED_19A
  350. <legal 0>
  351. */
  352. #define REO_UNBLOCK_CACHE_STATUS_19_RESERVED_19A_OFFSET 0x0000004c
  353. #define REO_UNBLOCK_CACHE_STATUS_19_RESERVED_19A_LSB 0
  354. #define REO_UNBLOCK_CACHE_STATUS_19_RESERVED_19A_MASK 0xffffffff
  355. /* Description REO_UNBLOCK_CACHE_STATUS_20_RESERVED_20A
  356. <legal 0>
  357. */
  358. #define REO_UNBLOCK_CACHE_STATUS_20_RESERVED_20A_OFFSET 0x00000050
  359. #define REO_UNBLOCK_CACHE_STATUS_20_RESERVED_20A_LSB 0
  360. #define REO_UNBLOCK_CACHE_STATUS_20_RESERVED_20A_MASK 0xffffffff
  361. /* Description REO_UNBLOCK_CACHE_STATUS_21_RESERVED_21A
  362. <legal 0>
  363. */
  364. #define REO_UNBLOCK_CACHE_STATUS_21_RESERVED_21A_OFFSET 0x00000054
  365. #define REO_UNBLOCK_CACHE_STATUS_21_RESERVED_21A_LSB 0
  366. #define REO_UNBLOCK_CACHE_STATUS_21_RESERVED_21A_MASK 0xffffffff
  367. /* Description REO_UNBLOCK_CACHE_STATUS_22_RESERVED_22A
  368. <legal 0>
  369. */
  370. #define REO_UNBLOCK_CACHE_STATUS_22_RESERVED_22A_OFFSET 0x00000058
  371. #define REO_UNBLOCK_CACHE_STATUS_22_RESERVED_22A_LSB 0
  372. #define REO_UNBLOCK_CACHE_STATUS_22_RESERVED_22A_MASK 0xffffffff
  373. /* Description REO_UNBLOCK_CACHE_STATUS_23_RESERVED_23A
  374. <legal 0>
  375. */
  376. #define REO_UNBLOCK_CACHE_STATUS_23_RESERVED_23A_OFFSET 0x0000005c
  377. #define REO_UNBLOCK_CACHE_STATUS_23_RESERVED_23A_LSB 0
  378. #define REO_UNBLOCK_CACHE_STATUS_23_RESERVED_23A_MASK 0xffffffff
  379. /* Description REO_UNBLOCK_CACHE_STATUS_24_RESERVED_24A
  380. <legal 0>
  381. */
  382. #define REO_UNBLOCK_CACHE_STATUS_24_RESERVED_24A_OFFSET 0x00000060
  383. #define REO_UNBLOCK_CACHE_STATUS_24_RESERVED_24A_LSB 0
  384. #define REO_UNBLOCK_CACHE_STATUS_24_RESERVED_24A_MASK 0x0fffffff
  385. /* Description REO_UNBLOCK_CACHE_STATUS_24_LOOPING_COUNT
  386. A count value that indicates the number of times the
  387. producer of entries into this Ring has looped around the
  388. ring.
  389. At initialization time, this value is set to 0. On the
  390. first loop, this value is set to 1. After the max value is
  391. reached allowed by the number of bits for this field, the
  392. count value continues with 0 again.
  393. In case SW is the consumer of the ring entries, it can
  394. use this field to figure out up to where the producer of
  395. entries has created new entries. This eliminates the need to
  396. check where the head pointer' of the ring is located once
  397. the SW starts processing an interrupt indicating that new
  398. entries have been put into this ring...
  399. Also note that SW if it wants only needs to look at the
  400. LSB bit of this count value.
  401. <legal all>
  402. */
  403. #define REO_UNBLOCK_CACHE_STATUS_24_LOOPING_COUNT_OFFSET 0x00000060
  404. #define REO_UNBLOCK_CACHE_STATUS_24_LOOPING_COUNT_LSB 28
  405. #define REO_UNBLOCK_CACHE_STATUS_24_LOOPING_COUNT_MASK 0xf0000000
  406. #endif // _REO_UNBLOCK_CACHE_STATUS_H_