rx_reo_queue_ext.h 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359
  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 _RX_REO_QUEUE_EXT_H_
  22. #define _RX_REO_QUEUE_EXT_H_
  23. #if !defined(__ASSEMBLER__)
  24. #endif
  25. #include "uniform_descriptor_header.h"
  26. #include "rx_mpdu_link_ptr.h"
  27. // ################ START SUMMARY #################
  28. //
  29. // Dword Fields
  30. // 0 struct uniform_descriptor_header descriptor_header;
  31. // 1 reserved_1a[31:0]
  32. // 2-3 struct rx_mpdu_link_ptr mpdu_link_pointer_0;
  33. // 4-5 struct rx_mpdu_link_ptr mpdu_link_pointer_1;
  34. // 6-7 struct rx_mpdu_link_ptr mpdu_link_pointer_2;
  35. // 8-9 struct rx_mpdu_link_ptr mpdu_link_pointer_3;
  36. // 10-11 struct rx_mpdu_link_ptr mpdu_link_pointer_4;
  37. // 12-13 struct rx_mpdu_link_ptr mpdu_link_pointer_5;
  38. // 14-15 struct rx_mpdu_link_ptr mpdu_link_pointer_6;
  39. // 16-17 struct rx_mpdu_link_ptr mpdu_link_pointer_7;
  40. // 18-19 struct rx_mpdu_link_ptr mpdu_link_pointer_8;
  41. // 20-21 struct rx_mpdu_link_ptr mpdu_link_pointer_9;
  42. // 22-23 struct rx_mpdu_link_ptr mpdu_link_pointer_10;
  43. // 24-25 struct rx_mpdu_link_ptr mpdu_link_pointer_11;
  44. // 26-27 struct rx_mpdu_link_ptr mpdu_link_pointer_12;
  45. // 28-29 struct rx_mpdu_link_ptr mpdu_link_pointer_13;
  46. // 30-31 struct rx_mpdu_link_ptr mpdu_link_pointer_14;
  47. //
  48. // ################ END SUMMARY #################
  49. #define NUM_OF_DWORDS_RX_REO_QUEUE_EXT 32
  50. struct rx_reo_queue_ext {
  51. struct uniform_descriptor_header descriptor_header;
  52. uint32_t reserved_1a : 32; //[31:0]
  53. struct rx_mpdu_link_ptr mpdu_link_pointer_0;
  54. struct rx_mpdu_link_ptr mpdu_link_pointer_1;
  55. struct rx_mpdu_link_ptr mpdu_link_pointer_2;
  56. struct rx_mpdu_link_ptr mpdu_link_pointer_3;
  57. struct rx_mpdu_link_ptr mpdu_link_pointer_4;
  58. struct rx_mpdu_link_ptr mpdu_link_pointer_5;
  59. struct rx_mpdu_link_ptr mpdu_link_pointer_6;
  60. struct rx_mpdu_link_ptr mpdu_link_pointer_7;
  61. struct rx_mpdu_link_ptr mpdu_link_pointer_8;
  62. struct rx_mpdu_link_ptr mpdu_link_pointer_9;
  63. struct rx_mpdu_link_ptr mpdu_link_pointer_10;
  64. struct rx_mpdu_link_ptr mpdu_link_pointer_11;
  65. struct rx_mpdu_link_ptr mpdu_link_pointer_12;
  66. struct rx_mpdu_link_ptr mpdu_link_pointer_13;
  67. struct rx_mpdu_link_ptr mpdu_link_pointer_14;
  68. };
  69. /*
  70. struct uniform_descriptor_header descriptor_header
  71. Details about which module owns this struct.
  72. Note that sub field Buffer_type shall be set to
  73. Receive_REO_queue_ext_descriptor
  74. reserved_1a
  75. <legal 0>
  76. struct rx_mpdu_link_ptr mpdu_link_pointer_0
  77. Consumer: REO
  78. Producer: REO
  79. Pointer to the next MPDU_link descriptor in the MPDU
  80. queue
  81. struct rx_mpdu_link_ptr mpdu_link_pointer_1
  82. Consumer: REO
  83. Producer: REO
  84. Pointer to the next MPDU_link descriptor in the MPDU
  85. queue
  86. struct rx_mpdu_link_ptr mpdu_link_pointer_2
  87. Consumer: REO
  88. Producer: REO
  89. Pointer to the next MPDU_link descriptor in the MPDU
  90. queue
  91. struct rx_mpdu_link_ptr mpdu_link_pointer_3
  92. Consumer: REO
  93. Producer: REO
  94. Pointer to the next MPDU_link descriptor in the MPDU
  95. queue
  96. struct rx_mpdu_link_ptr mpdu_link_pointer_4
  97. Consumer: REO
  98. Producer: REO
  99. Pointer to the next MPDU_link descriptor in the MPDU
  100. queue
  101. struct rx_mpdu_link_ptr mpdu_link_pointer_5
  102. Consumer: REO
  103. Producer: REO
  104. Pointer to the next MPDU_link descriptor in the MPDU
  105. queue
  106. struct rx_mpdu_link_ptr mpdu_link_pointer_6
  107. Consumer: REO
  108. Producer: REO
  109. Pointer to the next MPDU_link descriptor in the MPDU
  110. queue
  111. struct rx_mpdu_link_ptr mpdu_link_pointer_7
  112. Consumer: REO
  113. Producer: REO
  114. Pointer to the next MPDU_link descriptor in the MPDU
  115. queue
  116. struct rx_mpdu_link_ptr mpdu_link_pointer_8
  117. Consumer: REO
  118. Producer: REO
  119. Pointer to the next MPDU_link descriptor in the MPDU
  120. queue
  121. struct rx_mpdu_link_ptr mpdu_link_pointer_9
  122. Consumer: REO
  123. Producer: REO
  124. Pointer to the next MPDU_link descriptor in the MPDU
  125. queue
  126. struct rx_mpdu_link_ptr mpdu_link_pointer_10
  127. Consumer: REO
  128. Producer: REO
  129. Pointer to the next MPDU_link descriptor in the MPDU
  130. queue
  131. struct rx_mpdu_link_ptr mpdu_link_pointer_11
  132. Consumer: REO
  133. Producer: REO
  134. Pointer to the next MPDU_link descriptor in the MPDU
  135. queue
  136. struct rx_mpdu_link_ptr mpdu_link_pointer_12
  137. Consumer: REO
  138. Producer: REO
  139. Pointer to the next MPDU_link descriptor in the MPDU
  140. queue
  141. struct rx_mpdu_link_ptr mpdu_link_pointer_13
  142. Consumer: REO
  143. Producer: REO
  144. Pointer to the next MPDU_link descriptor in the MPDU
  145. queue
  146. struct rx_mpdu_link_ptr mpdu_link_pointer_14
  147. Consumer: REO
  148. Producer: REO
  149. Pointer to the next MPDU_link descriptor in the MPDU
  150. queue
  151. */
  152. #define RX_REO_QUEUE_EXT_0_UNIFORM_DESCRIPTOR_HEADER_DESCRIPTOR_HEADER_OFFSET 0x00000000
  153. #define RX_REO_QUEUE_EXT_0_UNIFORM_DESCRIPTOR_HEADER_DESCRIPTOR_HEADER_LSB 0
  154. #define RX_REO_QUEUE_EXT_0_UNIFORM_DESCRIPTOR_HEADER_DESCRIPTOR_HEADER_MASK 0xffffffff
  155. /* Description RX_REO_QUEUE_EXT_1_RESERVED_1A
  156. <legal 0>
  157. */
  158. #define RX_REO_QUEUE_EXT_1_RESERVED_1A_OFFSET 0x00000004
  159. #define RX_REO_QUEUE_EXT_1_RESERVED_1A_LSB 0
  160. #define RX_REO_QUEUE_EXT_1_RESERVED_1A_MASK 0xffffffff
  161. #define RX_REO_QUEUE_EXT_2_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_0_OFFSET 0x00000008
  162. #define RX_REO_QUEUE_EXT_2_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_0_LSB 0
  163. #define RX_REO_QUEUE_EXT_2_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_0_MASK 0xffffffff
  164. #define RX_REO_QUEUE_EXT_3_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_0_OFFSET 0x0000000c
  165. #define RX_REO_QUEUE_EXT_3_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_0_LSB 0
  166. #define RX_REO_QUEUE_EXT_3_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_0_MASK 0xffffffff
  167. #define RX_REO_QUEUE_EXT_4_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_1_OFFSET 0x00000010
  168. #define RX_REO_QUEUE_EXT_4_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_1_LSB 0
  169. #define RX_REO_QUEUE_EXT_4_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_1_MASK 0xffffffff
  170. #define RX_REO_QUEUE_EXT_5_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_1_OFFSET 0x00000014
  171. #define RX_REO_QUEUE_EXT_5_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_1_LSB 0
  172. #define RX_REO_QUEUE_EXT_5_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_1_MASK 0xffffffff
  173. #define RX_REO_QUEUE_EXT_6_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_2_OFFSET 0x00000018
  174. #define RX_REO_QUEUE_EXT_6_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_2_LSB 0
  175. #define RX_REO_QUEUE_EXT_6_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_2_MASK 0xffffffff
  176. #define RX_REO_QUEUE_EXT_7_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_2_OFFSET 0x0000001c
  177. #define RX_REO_QUEUE_EXT_7_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_2_LSB 0
  178. #define RX_REO_QUEUE_EXT_7_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_2_MASK 0xffffffff
  179. #define RX_REO_QUEUE_EXT_8_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_3_OFFSET 0x00000020
  180. #define RX_REO_QUEUE_EXT_8_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_3_LSB 0
  181. #define RX_REO_QUEUE_EXT_8_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_3_MASK 0xffffffff
  182. #define RX_REO_QUEUE_EXT_9_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_3_OFFSET 0x00000024
  183. #define RX_REO_QUEUE_EXT_9_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_3_LSB 0
  184. #define RX_REO_QUEUE_EXT_9_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_3_MASK 0xffffffff
  185. #define RX_REO_QUEUE_EXT_10_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_4_OFFSET 0x00000028
  186. #define RX_REO_QUEUE_EXT_10_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_4_LSB 0
  187. #define RX_REO_QUEUE_EXT_10_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_4_MASK 0xffffffff
  188. #define RX_REO_QUEUE_EXT_11_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_4_OFFSET 0x0000002c
  189. #define RX_REO_QUEUE_EXT_11_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_4_LSB 0
  190. #define RX_REO_QUEUE_EXT_11_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_4_MASK 0xffffffff
  191. #define RX_REO_QUEUE_EXT_12_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_5_OFFSET 0x00000030
  192. #define RX_REO_QUEUE_EXT_12_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_5_LSB 0
  193. #define RX_REO_QUEUE_EXT_12_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_5_MASK 0xffffffff
  194. #define RX_REO_QUEUE_EXT_13_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_5_OFFSET 0x00000034
  195. #define RX_REO_QUEUE_EXT_13_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_5_LSB 0
  196. #define RX_REO_QUEUE_EXT_13_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_5_MASK 0xffffffff
  197. #define RX_REO_QUEUE_EXT_14_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_6_OFFSET 0x00000038
  198. #define RX_REO_QUEUE_EXT_14_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_6_LSB 0
  199. #define RX_REO_QUEUE_EXT_14_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_6_MASK 0xffffffff
  200. #define RX_REO_QUEUE_EXT_15_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_6_OFFSET 0x0000003c
  201. #define RX_REO_QUEUE_EXT_15_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_6_LSB 0
  202. #define RX_REO_QUEUE_EXT_15_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_6_MASK 0xffffffff
  203. #define RX_REO_QUEUE_EXT_16_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_7_OFFSET 0x00000040
  204. #define RX_REO_QUEUE_EXT_16_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_7_LSB 0
  205. #define RX_REO_QUEUE_EXT_16_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_7_MASK 0xffffffff
  206. #define RX_REO_QUEUE_EXT_17_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_7_OFFSET 0x00000044
  207. #define RX_REO_QUEUE_EXT_17_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_7_LSB 0
  208. #define RX_REO_QUEUE_EXT_17_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_7_MASK 0xffffffff
  209. #define RX_REO_QUEUE_EXT_18_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_8_OFFSET 0x00000048
  210. #define RX_REO_QUEUE_EXT_18_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_8_LSB 0
  211. #define RX_REO_QUEUE_EXT_18_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_8_MASK 0xffffffff
  212. #define RX_REO_QUEUE_EXT_19_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_8_OFFSET 0x0000004c
  213. #define RX_REO_QUEUE_EXT_19_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_8_LSB 0
  214. #define RX_REO_QUEUE_EXT_19_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_8_MASK 0xffffffff
  215. #define RX_REO_QUEUE_EXT_20_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_9_OFFSET 0x00000050
  216. #define RX_REO_QUEUE_EXT_20_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_9_LSB 0
  217. #define RX_REO_QUEUE_EXT_20_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_9_MASK 0xffffffff
  218. #define RX_REO_QUEUE_EXT_21_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_9_OFFSET 0x00000054
  219. #define RX_REO_QUEUE_EXT_21_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_9_LSB 0
  220. #define RX_REO_QUEUE_EXT_21_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_9_MASK 0xffffffff
  221. #define RX_REO_QUEUE_EXT_22_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_10_OFFSET 0x00000058
  222. #define RX_REO_QUEUE_EXT_22_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_10_LSB 0
  223. #define RX_REO_QUEUE_EXT_22_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_10_MASK 0xffffffff
  224. #define RX_REO_QUEUE_EXT_23_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_10_OFFSET 0x0000005c
  225. #define RX_REO_QUEUE_EXT_23_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_10_LSB 0
  226. #define RX_REO_QUEUE_EXT_23_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_10_MASK 0xffffffff
  227. #define RX_REO_QUEUE_EXT_24_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_11_OFFSET 0x00000060
  228. #define RX_REO_QUEUE_EXT_24_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_11_LSB 0
  229. #define RX_REO_QUEUE_EXT_24_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_11_MASK 0xffffffff
  230. #define RX_REO_QUEUE_EXT_25_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_11_OFFSET 0x00000064
  231. #define RX_REO_QUEUE_EXT_25_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_11_LSB 0
  232. #define RX_REO_QUEUE_EXT_25_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_11_MASK 0xffffffff
  233. #define RX_REO_QUEUE_EXT_26_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_12_OFFSET 0x00000068
  234. #define RX_REO_QUEUE_EXT_26_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_12_LSB 0
  235. #define RX_REO_QUEUE_EXT_26_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_12_MASK 0xffffffff
  236. #define RX_REO_QUEUE_EXT_27_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_12_OFFSET 0x0000006c
  237. #define RX_REO_QUEUE_EXT_27_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_12_LSB 0
  238. #define RX_REO_QUEUE_EXT_27_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_12_MASK 0xffffffff
  239. #define RX_REO_QUEUE_EXT_28_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_13_OFFSET 0x00000070
  240. #define RX_REO_QUEUE_EXT_28_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_13_LSB 0
  241. #define RX_REO_QUEUE_EXT_28_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_13_MASK 0xffffffff
  242. #define RX_REO_QUEUE_EXT_29_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_13_OFFSET 0x00000074
  243. #define RX_REO_QUEUE_EXT_29_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_13_LSB 0
  244. #define RX_REO_QUEUE_EXT_29_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_13_MASK 0xffffffff
  245. #define RX_REO_QUEUE_EXT_30_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_14_OFFSET 0x00000078
  246. #define RX_REO_QUEUE_EXT_30_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_14_LSB 0
  247. #define RX_REO_QUEUE_EXT_30_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_14_MASK 0xffffffff
  248. #define RX_REO_QUEUE_EXT_31_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_14_OFFSET 0x0000007c
  249. #define RX_REO_QUEUE_EXT_31_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_14_LSB 0
  250. #define RX_REO_QUEUE_EXT_31_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_14_MASK 0xffffffff
  251. #endif // _RX_REO_QUEUE_EXT_H_