reg_struct.h 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709
  1. /*
  2. * Copyright (c) 2015-2016 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. #ifndef REG_STRUCT_H
  19. #define REG_STRUCT_H
  20. #define MISSING_REGISTER 0
  21. #define UNSUPPORTED_REGISTER_OFFSET 0xffffffff
  22. /**
  23. * is_register_supported() - return true if the register offset is valid
  24. * @reg: register address being checked
  25. *
  26. * Return: true if the register offset is valid
  27. */
  28. static inline bool is_register_supported(uint32_t reg)
  29. {
  30. return (reg != MISSING_REGISTER) &&
  31. (reg != UNSUPPORTED_REGISTER_OFFSET);
  32. }
  33. struct targetdef_s {
  34. uint32_t d_RTC_SOC_BASE_ADDRESS;
  35. uint32_t d_RTC_WMAC_BASE_ADDRESS;
  36. uint32_t d_SYSTEM_SLEEP_OFFSET;
  37. uint32_t d_WLAN_SYSTEM_SLEEP_OFFSET;
  38. uint32_t d_WLAN_SYSTEM_SLEEP_DISABLE_LSB;
  39. uint32_t d_WLAN_SYSTEM_SLEEP_DISABLE_MASK;
  40. uint32_t d_CLOCK_CONTROL_OFFSET;
  41. uint32_t d_CLOCK_CONTROL_SI0_CLK_MASK;
  42. uint32_t d_RESET_CONTROL_OFFSET;
  43. uint32_t d_RESET_CONTROL_MBOX_RST_MASK;
  44. uint32_t d_RESET_CONTROL_SI0_RST_MASK;
  45. uint32_t d_WLAN_RESET_CONTROL_OFFSET;
  46. uint32_t d_WLAN_RESET_CONTROL_COLD_RST_MASK;
  47. uint32_t d_WLAN_RESET_CONTROL_WARM_RST_MASK;
  48. uint32_t d_GPIO_BASE_ADDRESS;
  49. uint32_t d_GPIO_PIN0_OFFSET;
  50. uint32_t d_GPIO_PIN1_OFFSET;
  51. uint32_t d_GPIO_PIN0_CONFIG_MASK;
  52. uint32_t d_GPIO_PIN1_CONFIG_MASK;
  53. uint32_t d_SI_CONFIG_BIDIR_OD_DATA_LSB;
  54. uint32_t d_SI_CONFIG_BIDIR_OD_DATA_MASK;
  55. uint32_t d_SI_CONFIG_I2C_LSB;
  56. uint32_t d_SI_CONFIG_I2C_MASK;
  57. uint32_t d_SI_CONFIG_POS_SAMPLE_LSB;
  58. uint32_t d_SI_CONFIG_POS_SAMPLE_MASK;
  59. uint32_t d_SI_CONFIG_INACTIVE_CLK_LSB;
  60. uint32_t d_SI_CONFIG_INACTIVE_CLK_MASK;
  61. uint32_t d_SI_CONFIG_INACTIVE_DATA_LSB;
  62. uint32_t d_SI_CONFIG_INACTIVE_DATA_MASK;
  63. uint32_t d_SI_CONFIG_DIVIDER_LSB;
  64. uint32_t d_SI_CONFIG_DIVIDER_MASK;
  65. uint32_t d_SI_BASE_ADDRESS;
  66. uint32_t d_SI_CONFIG_OFFSET;
  67. uint32_t d_SI_TX_DATA0_OFFSET;
  68. uint32_t d_SI_TX_DATA1_OFFSET;
  69. uint32_t d_SI_RX_DATA0_OFFSET;
  70. uint32_t d_SI_RX_DATA1_OFFSET;
  71. uint32_t d_SI_CS_OFFSET;
  72. uint32_t d_SI_CS_DONE_ERR_MASK;
  73. uint32_t d_SI_CS_DONE_INT_MASK;
  74. uint32_t d_SI_CS_START_LSB;
  75. uint32_t d_SI_CS_START_MASK;
  76. uint32_t d_SI_CS_RX_CNT_LSB;
  77. uint32_t d_SI_CS_RX_CNT_MASK;
  78. uint32_t d_SI_CS_TX_CNT_LSB;
  79. uint32_t d_SI_CS_TX_CNT_MASK;
  80. uint32_t d_BOARD_DATA_SZ;
  81. uint32_t d_BOARD_EXT_DATA_SZ;
  82. uint32_t d_MBOX_BASE_ADDRESS;
  83. uint32_t d_LOCAL_SCRATCH_OFFSET;
  84. uint32_t d_CPU_CLOCK_OFFSET;
  85. uint32_t d_LPO_CAL_OFFSET;
  86. uint32_t d_GPIO_PIN10_OFFSET;
  87. uint32_t d_GPIO_PIN11_OFFSET;
  88. uint32_t d_GPIO_PIN12_OFFSET;
  89. uint32_t d_GPIO_PIN13_OFFSET;
  90. uint32_t d_CLOCK_GPIO_OFFSET;
  91. uint32_t d_CPU_CLOCK_STANDARD_LSB;
  92. uint32_t d_CPU_CLOCK_STANDARD_MASK;
  93. uint32_t d_LPO_CAL_ENABLE_LSB;
  94. uint32_t d_LPO_CAL_ENABLE_MASK;
  95. uint32_t d_CLOCK_GPIO_BT_CLK_OUT_EN_LSB;
  96. uint32_t d_CLOCK_GPIO_BT_CLK_OUT_EN_MASK;
  97. uint32_t d_ANALOG_INTF_BASE_ADDRESS;
  98. uint32_t d_WLAN_MAC_BASE_ADDRESS;
  99. uint32_t d_CE0_BASE_ADDRESS;
  100. uint32_t d_CE1_BASE_ADDRESS;
  101. uint32_t d_FW_INDICATOR_ADDRESS;
  102. uint32_t d_FW_CPU_PLL_CONFIG;
  103. uint32_t d_DRAM_BASE_ADDRESS;
  104. uint32_t d_SOC_CORE_BASE_ADDRESS;
  105. uint32_t d_CORE_CTRL_ADDRESS;
  106. uint32_t d_CE_COUNT;
  107. uint32_t d_MSI_NUM_REQUEST;
  108. uint32_t d_MSI_ASSIGN_FW;
  109. uint32_t d_MSI_ASSIGN_CE_INITIAL;
  110. uint32_t d_PCIE_INTR_ENABLE_ADDRESS;
  111. uint32_t d_PCIE_INTR_CLR_ADDRESS;
  112. uint32_t d_PCIE_INTR_FIRMWARE_MASK;
  113. uint32_t d_PCIE_INTR_CE_MASK_ALL;
  114. uint32_t d_CORE_CTRL_CPU_INTR_MASK;
  115. uint32_t d_WIFICMN_PCIE_BAR_REG_ADDRESS;
  116. /* htt_rx.c */
  117. /* htt tx */
  118. uint32_t d_MSDU_LINK_EXT_3_TCP_OVER_IPV4_CHECKSUM_EN_MASK;
  119. uint32_t d_MSDU_LINK_EXT_3_TCP_OVER_IPV6_CHECKSUM_EN_MASK;
  120. uint32_t d_MSDU_LINK_EXT_3_UDP_OVER_IPV4_CHECKSUM_EN_MASK;
  121. uint32_t d_MSDU_LINK_EXT_3_UDP_OVER_IPV6_CHECKSUM_EN_MASK;
  122. uint32_t d_MSDU_LINK_EXT_3_TCP_OVER_IPV4_CHECKSUM_EN_LSB;
  123. uint32_t d_MSDU_LINK_EXT_3_TCP_OVER_IPV6_CHECKSUM_EN_LSB;
  124. uint32_t d_MSDU_LINK_EXT_3_UDP_OVER_IPV4_CHECKSUM_EN_LSB;
  125. uint32_t d_MSDU_LINK_EXT_3_UDP_OVER_IPV6_CHECKSUM_EN_LSB;
  126. /* copy_engine.c */
  127. uint32_t d_DST_WR_INDEX_ADDRESS;
  128. uint32_t d_SRC_WATERMARK_ADDRESS;
  129. uint32_t d_SRC_WATERMARK_LOW_MASK;
  130. uint32_t d_SRC_WATERMARK_HIGH_MASK;
  131. uint32_t d_DST_WATERMARK_LOW_MASK;
  132. uint32_t d_DST_WATERMARK_HIGH_MASK;
  133. uint32_t d_CURRENT_SRRI_ADDRESS;
  134. uint32_t d_CURRENT_DRRI_ADDRESS;
  135. uint32_t d_HOST_IS_SRC_RING_HIGH_WATERMARK_MASK;
  136. uint32_t d_HOST_IS_SRC_RING_LOW_WATERMARK_MASK;
  137. uint32_t d_HOST_IS_DST_RING_HIGH_WATERMARK_MASK;
  138. uint32_t d_HOST_IS_DST_RING_LOW_WATERMARK_MASK;
  139. uint32_t d_HOST_IS_ADDRESS;
  140. uint32_t d_HOST_IS_COPY_COMPLETE_MASK;
  141. uint32_t d_CE_CMD_ADDRESS;
  142. uint32_t d_CE_CMD_HALT_MASK;
  143. uint32_t d_CE_WRAPPER_BASE_ADDRESS;
  144. uint32_t d_CE_WRAPPER_INTERRUPT_SUMMARY_ADDRESS;
  145. uint32_t d_HOST_IE_ADDRESS;
  146. uint32_t d_HOST_IE_COPY_COMPLETE_MASK;
  147. uint32_t d_SR_BA_ADDRESS;
  148. uint32_t d_SR_SIZE_ADDRESS;
  149. uint32_t d_CE_CTRL1_ADDRESS;
  150. uint32_t d_CE_CTRL1_DMAX_LENGTH_MASK;
  151. uint32_t d_DR_BA_ADDRESS;
  152. uint32_t d_DR_SIZE_ADDRESS;
  153. uint32_t d_MISC_IE_ADDRESS;
  154. uint32_t d_MISC_IS_AXI_ERR_MASK;
  155. uint32_t d_MISC_IS_DST_ADDR_ERR_MASK;
  156. uint32_t d_MISC_IS_SRC_LEN_ERR_MASK;
  157. uint32_t d_MISC_IS_DST_MAX_LEN_VIO_MASK;
  158. uint32_t d_MISC_IS_DST_RING_OVERFLOW_MASK;
  159. uint32_t d_MISC_IS_SRC_RING_OVERFLOW_MASK;
  160. uint32_t d_SRC_WATERMARK_LOW_LSB;
  161. uint32_t d_SRC_WATERMARK_HIGH_LSB;
  162. uint32_t d_DST_WATERMARK_LOW_LSB;
  163. uint32_t d_DST_WATERMARK_HIGH_LSB;
  164. uint32_t d_CE_WRAPPER_INTERRUPT_SUMMARY_HOST_MSI_MASK;
  165. uint32_t d_CE_WRAPPER_INTERRUPT_SUMMARY_HOST_MSI_LSB;
  166. uint32_t d_CE_CTRL1_DMAX_LENGTH_LSB;
  167. uint32_t d_CE_CTRL1_SRC_RING_BYTE_SWAP_EN_MASK;
  168. uint32_t d_CE_CTRL1_DST_RING_BYTE_SWAP_EN_MASK;
  169. uint32_t d_CE_CTRL1_SRC_RING_BYTE_SWAP_EN_LSB;
  170. uint32_t d_CE_CTRL1_DST_RING_BYTE_SWAP_EN_LSB;
  171. uint32_t d_CE_CMD_HALT_STATUS_MASK;
  172. uint32_t d_CE_CMD_HALT_STATUS_LSB;
  173. uint32_t d_SR_WR_INDEX_ADDRESS;
  174. uint32_t d_DST_WATERMARK_ADDRESS;
  175. /* htt_rx.c */
  176. uint32_t d_RX_MSDU_END_4_FIRST_MSDU_MASK;
  177. uint32_t d_RX_MSDU_END_4_FIRST_MSDU_LSB;
  178. uint32_t d_RX_MPDU_START_0_RETRY_LSB;
  179. uint32_t d_RX_MPDU_START_0_RETRY_MASK;
  180. uint32_t d_RX_MPDU_START_0_SEQ_NUM_MASK;
  181. uint32_t d_RX_MPDU_START_0_SEQ_NUM_LSB;
  182. uint32_t d_RX_MPDU_START_2_PN_47_32_LSB;
  183. uint32_t d_RX_MPDU_START_2_PN_47_32_MASK;
  184. uint32_t d_RX_MPDU_START_2_TID_LSB;
  185. uint32_t d_RX_MPDU_START_2_TID_MASK;
  186. uint32_t d_RX_MSDU_END_1_EXT_WAPI_PN_63_48_MASK;
  187. uint32_t d_RX_MSDU_END_1_EXT_WAPI_PN_63_48_LSB;
  188. uint32_t d_RX_MSDU_END_1_KEY_ID_OCT_MASK;
  189. uint32_t d_RX_MSDU_END_1_KEY_ID_OCT_LSB;
  190. uint32_t d_RX_MSDU_END_4_LAST_MSDU_MASK;
  191. uint32_t d_RX_MSDU_END_4_LAST_MSDU_LSB;
  192. uint32_t d_RX_ATTENTION_0_MCAST_BCAST_MASK;
  193. uint32_t d_RX_ATTENTION_0_MCAST_BCAST_LSB;
  194. uint32_t d_RX_ATTENTION_0_FRAGMENT_MASK;
  195. uint32_t d_RX_ATTENTION_0_FRAGMENT_LSB;
  196. uint32_t d_RX_ATTENTION_0_MPDU_LENGTH_ERR_MASK;
  197. uint32_t d_RX_FRAG_INFO_0_RING2_MORE_COUNT_MASK;
  198. uint32_t d_RX_FRAG_INFO_0_RING2_MORE_COUNT_LSB;
  199. uint32_t d_RX_MSDU_START_0_MSDU_LENGTH_MASK;
  200. uint32_t d_RX_MSDU_START_0_MSDU_LENGTH_LSB;
  201. uint32_t d_RX_MSDU_START_2_DECAP_FORMAT_OFFSET;
  202. uint32_t d_RX_MSDU_START_2_DECAP_FORMAT_MASK;
  203. uint32_t d_RX_MSDU_START_2_DECAP_FORMAT_LSB;
  204. uint32_t d_RX_MPDU_START_0_ENCRYPTED_MASK;
  205. uint32_t d_RX_MPDU_START_0_ENCRYPTED_LSB;
  206. uint32_t d_RX_ATTENTION_0_MORE_DATA_MASK;
  207. uint32_t d_RX_ATTENTION_0_MSDU_DONE_MASK;
  208. uint32_t d_RX_ATTENTION_0_TCP_UDP_CHKSUM_FAIL_MASK;
  209. /* end */
  210. /* PLL start */
  211. uint32_t d_EFUSE_OFFSET;
  212. uint32_t d_EFUSE_XTAL_SEL_MSB;
  213. uint32_t d_EFUSE_XTAL_SEL_LSB;
  214. uint32_t d_EFUSE_XTAL_SEL_MASK;
  215. uint32_t d_BB_PLL_CONFIG_OFFSET;
  216. uint32_t d_BB_PLL_CONFIG_OUTDIV_MSB;
  217. uint32_t d_BB_PLL_CONFIG_OUTDIV_LSB;
  218. uint32_t d_BB_PLL_CONFIG_OUTDIV_MASK;
  219. uint32_t d_BB_PLL_CONFIG_FRAC_MSB;
  220. uint32_t d_BB_PLL_CONFIG_FRAC_LSB;
  221. uint32_t d_BB_PLL_CONFIG_FRAC_MASK;
  222. uint32_t d_WLAN_PLL_SETTLE_TIME_MSB;
  223. uint32_t d_WLAN_PLL_SETTLE_TIME_LSB;
  224. uint32_t d_WLAN_PLL_SETTLE_TIME_MASK;
  225. uint32_t d_WLAN_PLL_SETTLE_OFFSET;
  226. uint32_t d_WLAN_PLL_SETTLE_SW_MASK;
  227. uint32_t d_WLAN_PLL_SETTLE_RSTMASK;
  228. uint32_t d_WLAN_PLL_SETTLE_RESET;
  229. uint32_t d_WLAN_PLL_CONTROL_NOPWD_MSB;
  230. uint32_t d_WLAN_PLL_CONTROL_NOPWD_LSB;
  231. uint32_t d_WLAN_PLL_CONTROL_NOPWD_MASK;
  232. uint32_t d_WLAN_PLL_CONTROL_BYPASS_MSB;
  233. uint32_t d_WLAN_PLL_CONTROL_BYPASS_LSB;
  234. uint32_t d_WLAN_PLL_CONTROL_BYPASS_MASK;
  235. uint32_t d_WLAN_PLL_CONTROL_BYPASS_RESET;
  236. uint32_t d_WLAN_PLL_CONTROL_CLK_SEL_MSB;
  237. uint32_t d_WLAN_PLL_CONTROL_CLK_SEL_LSB;
  238. uint32_t d_WLAN_PLL_CONTROL_CLK_SEL_MASK;
  239. uint32_t d_WLAN_PLL_CONTROL_CLK_SEL_RESET;
  240. uint32_t d_WLAN_PLL_CONTROL_REFDIV_MSB;
  241. uint32_t d_WLAN_PLL_CONTROL_REFDIV_LSB;
  242. uint32_t d_WLAN_PLL_CONTROL_REFDIV_MASK;
  243. uint32_t d_WLAN_PLL_CONTROL_REFDIV_RESET;
  244. uint32_t d_WLAN_PLL_CONTROL_DIV_MSB;
  245. uint32_t d_WLAN_PLL_CONTROL_DIV_LSB;
  246. uint32_t d_WLAN_PLL_CONTROL_DIV_MASK;
  247. uint32_t d_WLAN_PLL_CONTROL_DIV_RESET;
  248. uint32_t d_WLAN_PLL_CONTROL_OFFSET;
  249. uint32_t d_WLAN_PLL_CONTROL_SW_MASK;
  250. uint32_t d_WLAN_PLL_CONTROL_RSTMASK;
  251. uint32_t d_WLAN_PLL_CONTROL_RESET;
  252. uint32_t d_SOC_CORE_CLK_CTRL_OFFSET;
  253. uint32_t d_SOC_CORE_CLK_CTRL_DIV_MSB;
  254. uint32_t d_SOC_CORE_CLK_CTRL_DIV_LSB;
  255. uint32_t d_SOC_CORE_CLK_CTRL_DIV_MASK;
  256. uint32_t d_RTC_SYNC_STATUS_PLL_CHANGING_MSB;
  257. uint32_t d_RTC_SYNC_STATUS_PLL_CHANGING_LSB;
  258. uint32_t d_RTC_SYNC_STATUS_PLL_CHANGING_MASK;
  259. uint32_t d_RTC_SYNC_STATUS_PLL_CHANGING_RESET;
  260. uint32_t d_RTC_SYNC_STATUS_OFFSET;
  261. uint32_t d_SOC_CPU_CLOCK_OFFSET;
  262. uint32_t d_SOC_CPU_CLOCK_STANDARD_MSB;
  263. uint32_t d_SOC_CPU_CLOCK_STANDARD_LSB;
  264. uint32_t d_SOC_CPU_CLOCK_STANDARD_MASK;
  265. /* PLL end */
  266. uint32_t d_SOC_POWER_REG_OFFSET;
  267. uint32_t d_PCIE_INTR_CAUSE_ADDRESS;
  268. uint32_t d_SOC_RESET_CONTROL_ADDRESS;
  269. uint32_t d_SOC_RESET_CONTROL_PCIE_RST_SHORT_OVRD_MASK;
  270. uint32_t d_SOC_RESET_CONTROL_PCIE_RST_SHORT_OVRD_LSB;
  271. uint32_t d_SOC_RESET_CONTROL_CE_RST_MASK;
  272. uint32_t d_SOC_RESET_CONTROL_CPU_WARM_RST_MASK;
  273. uint32_t d_CPU_INTR_ADDRESS;
  274. uint32_t d_SOC_LF_TIMER_CONTROL0_ADDRESS;
  275. uint32_t d_SOC_LF_TIMER_CONTROL0_ENABLE_MASK;
  276. /* chip id start */
  277. uint32_t d_SI_CONFIG_ERR_INT_MASK;
  278. uint32_t d_SI_CONFIG_ERR_INT_LSB;
  279. uint32_t d_GPIO_ENABLE_W1TS_LOW_ADDRESS;
  280. uint32_t d_GPIO_PIN0_CONFIG_LSB;
  281. uint32_t d_GPIO_PIN0_PAD_PULL_LSB;
  282. uint32_t d_GPIO_PIN0_PAD_PULL_MASK;
  283. uint32_t d_SOC_CHIP_ID_ADDRESS;
  284. uint32_t d_SOC_CHIP_ID_VERSION_MASK;
  285. uint32_t d_SOC_CHIP_ID_VERSION_LSB;
  286. uint32_t d_SOC_CHIP_ID_REVISION_MASK;
  287. uint32_t d_SOC_CHIP_ID_REVISION_LSB;
  288. uint32_t d_SOC_CHIP_ID_REVISION_MSB;
  289. uint32_t d_FW_AXI_MSI_ADDR;
  290. uint32_t d_FW_AXI_MSI_DATA;
  291. uint32_t d_WLAN_SUBSYSTEM_CORE_ID_ADDRESS;
  292. uint32_t d_FPGA_VERSION_ADDRESS;
  293. /* chip id end */
  294. uint32_t d_A_SOC_CORE_SCRATCH_0_ADDRESS;
  295. uint32_t d_A_SOC_CORE_SCRATCH_1_ADDRESS;
  296. uint32_t d_A_SOC_CORE_SCRATCH_2_ADDRESS;
  297. uint32_t d_A_SOC_CORE_SCRATCH_3_ADDRESS;
  298. uint32_t d_A_SOC_CORE_SCRATCH_4_ADDRESS;
  299. uint32_t d_A_SOC_CORE_SCRATCH_5_ADDRESS;
  300. uint32_t d_A_SOC_CORE_SCRATCH_6_ADDRESS;
  301. uint32_t d_A_SOC_CORE_SCRATCH_7_ADDRESS;
  302. uint32_t d_A_SOC_CORE_SPARE_0_REGISTER;
  303. uint32_t d_PCIE_INTR_FIRMWARE_ROUTE_MASK;
  304. uint32_t d_A_SOC_CORE_PCIE_INTR_CAUSE_GRP1;
  305. uint32_t d_A_SOC_CORE_SPARE_1_REGISTER;
  306. uint32_t d_A_SOC_CORE_PCIE_INTR_CLR_GRP1;
  307. uint32_t d_A_SOC_CORE_PCIE_INTR_ENABLE_GRP1;
  308. uint32_t d_A_SOC_PCIE_PCIE_SCRATCH_0;
  309. uint32_t d_A_SOC_PCIE_PCIE_SCRATCH_1;
  310. uint32_t d_A_WIFI_APB_1_A_WFSS_CE_TARGET_HOST_DELTA;
  311. uint32_t d_A_SOC_PCIE_PCIE_SCRATCH_2;
  312. uint32_t d_A_SOC_CORE_PCIE_INTR_ENABLE_GRP0_Q6_MASK;
  313. uint32_t d_WLAN_DEBUG_INPUT_SEL_OFFSET;
  314. uint32_t d_WLAN_DEBUG_INPUT_SEL_SRC_MSB;
  315. uint32_t d_WLAN_DEBUG_INPUT_SEL_SRC_LSB;
  316. uint32_t d_WLAN_DEBUG_INPUT_SEL_SRC_MASK;
  317. uint32_t d_WLAN_DEBUG_CONTROL_OFFSET;
  318. uint32_t d_WLAN_DEBUG_CONTROL_ENABLE_MSB;
  319. uint32_t d_WLAN_DEBUG_CONTROL_ENABLE_LSB;
  320. uint32_t d_WLAN_DEBUG_CONTROL_ENABLE_MASK;
  321. uint32_t d_WLAN_DEBUG_OUT_OFFSET;
  322. uint32_t d_WLAN_DEBUG_OUT_DATA_MSB;
  323. uint32_t d_WLAN_DEBUG_OUT_DATA_LSB;
  324. uint32_t d_WLAN_DEBUG_OUT_DATA_MASK;
  325. uint32_t d_AMBA_DEBUG_BUS_OFFSET;
  326. uint32_t d_AMBA_DEBUG_BUS_PCIE_DEBUG_SEL_MSB;
  327. uint32_t d_AMBA_DEBUG_BUS_PCIE_DEBUG_SEL_LSB;
  328. uint32_t d_AMBA_DEBUG_BUS_PCIE_DEBUG_SEL_MASK;
  329. uint32_t d_AMBA_DEBUG_BUS_SEL_MSB;
  330. uint32_t d_AMBA_DEBUG_BUS_SEL_LSB;
  331. uint32_t d_AMBA_DEBUG_BUS_SEL_MASK;
  332. #ifdef QCA_WIFI_3_0_ADRASTEA
  333. uint32_t d_Q6_ENABLE_REGISTER_0;
  334. uint32_t d_Q6_ENABLE_REGISTER_1;
  335. uint32_t d_Q6_CAUSE_REGISTER_0;
  336. uint32_t d_Q6_CAUSE_REGISTER_1;
  337. uint32_t d_Q6_CLEAR_REGISTER_0;
  338. uint32_t d_Q6_CLEAR_REGISTER_1;
  339. #endif
  340. #ifdef CONFIG_BYPASS_QMI
  341. uint32_t d_BYPASS_QMI_TEMP_REGISTER;
  342. #endif
  343. uint32_t d_WIFICMN_INT_STATUS_ADDRESS;
  344. };
  345. struct hostdef_s {
  346. uint32_t d_INT_STATUS_ENABLE_ERROR_LSB;
  347. uint32_t d_INT_STATUS_ENABLE_ERROR_MASK;
  348. uint32_t d_INT_STATUS_ENABLE_CPU_LSB;
  349. uint32_t d_INT_STATUS_ENABLE_CPU_MASK;
  350. uint32_t d_INT_STATUS_ENABLE_COUNTER_LSB;
  351. uint32_t d_INT_STATUS_ENABLE_COUNTER_MASK;
  352. uint32_t d_INT_STATUS_ENABLE_MBOX_DATA_LSB;
  353. uint32_t d_INT_STATUS_ENABLE_MBOX_DATA_MASK;
  354. uint32_t d_ERROR_STATUS_ENABLE_RX_UNDERFLOW_LSB;
  355. uint32_t d_ERROR_STATUS_ENABLE_RX_UNDERFLOW_MASK;
  356. uint32_t d_ERROR_STATUS_ENABLE_TX_OVERFLOW_LSB;
  357. uint32_t d_ERROR_STATUS_ENABLE_TX_OVERFLOW_MASK;
  358. uint32_t d_COUNTER_INT_STATUS_ENABLE_BIT_LSB;
  359. uint32_t d_COUNTER_INT_STATUS_ENABLE_BIT_MASK;
  360. uint32_t d_INT_STATUS_ENABLE_ADDRESS;
  361. uint32_t d_CPU_INT_STATUS_ENABLE_BIT_LSB;
  362. uint32_t d_CPU_INT_STATUS_ENABLE_BIT_MASK;
  363. uint32_t d_HOST_INT_STATUS_ADDRESS;
  364. uint32_t d_CPU_INT_STATUS_ADDRESS;
  365. uint32_t d_ERROR_INT_STATUS_ADDRESS;
  366. uint32_t d_ERROR_INT_STATUS_WAKEUP_MASK;
  367. uint32_t d_ERROR_INT_STATUS_WAKEUP_LSB;
  368. uint32_t d_ERROR_INT_STATUS_RX_UNDERFLOW_MASK;
  369. uint32_t d_ERROR_INT_STATUS_RX_UNDERFLOW_LSB;
  370. uint32_t d_ERROR_INT_STATUS_TX_OVERFLOW_MASK;
  371. uint32_t d_ERROR_INT_STATUS_TX_OVERFLOW_LSB;
  372. uint32_t d_COUNT_DEC_ADDRESS;
  373. uint32_t d_HOST_INT_STATUS_CPU_MASK;
  374. uint32_t d_HOST_INT_STATUS_CPU_LSB;
  375. uint32_t d_HOST_INT_STATUS_ERROR_MASK;
  376. uint32_t d_HOST_INT_STATUS_ERROR_LSB;
  377. uint32_t d_HOST_INT_STATUS_COUNTER_MASK;
  378. uint32_t d_HOST_INT_STATUS_COUNTER_LSB;
  379. uint32_t d_RX_LOOKAHEAD_VALID_ADDRESS;
  380. uint32_t d_WINDOW_DATA_ADDRESS;
  381. uint32_t d_WINDOW_READ_ADDR_ADDRESS;
  382. uint32_t d_WINDOW_WRITE_ADDR_ADDRESS;
  383. uint32_t d_SOC_GLOBAL_RESET_ADDRESS;
  384. uint32_t d_RTC_STATE_ADDRESS;
  385. uint32_t d_RTC_STATE_COLD_RESET_MASK;
  386. uint32_t d_PCIE_LOCAL_BASE_ADDRESS;
  387. uint32_t d_PCIE_SOC_WAKE_RESET;
  388. uint32_t d_PCIE_SOC_WAKE_ADDRESS;
  389. uint32_t d_PCIE_SOC_WAKE_V_MASK;
  390. uint32_t d_RTC_STATE_V_MASK;
  391. uint32_t d_RTC_STATE_V_LSB;
  392. uint32_t d_FW_IND_EVENT_PENDING;
  393. uint32_t d_FW_IND_INITIALIZED;
  394. uint32_t d_FW_IND_HELPER;
  395. uint32_t d_RTC_STATE_V_ON;
  396. #if defined(SDIO_3_0)
  397. uint32_t d_HOST_INT_STATUS_MBOX_DATA_MASK;
  398. uint32_t d_HOST_INT_STATUS_MBOX_DATA_LSB;
  399. #endif
  400. uint32_t d_PCIE_SOC_RDY_STATUS_ADDRESS;
  401. uint32_t d_PCIE_SOC_RDY_STATUS_BAR_MASK;
  402. uint32_t d_SOC_PCIE_BASE_ADDRESS;
  403. uint32_t d_MSI_MAGIC_ADR_ADDRESS;
  404. uint32_t d_MSI_MAGIC_ADDRESS;
  405. uint32_t d_HOST_CE_COUNT;
  406. uint32_t d_ENABLE_MSI;
  407. uint32_t d_MUX_ID_MASK;
  408. uint32_t d_TRANSACTION_ID_MASK;
  409. uint32_t d_DESC_DATA_FLAG_MASK;
  410. uint32_t d_A_SOC_PCIE_PCIE_BAR0_START;
  411. uint32_t d_FW_IND_HOST_READY;
  412. };
  413. struct host_shadow_regs_s {
  414. uint32_t d_A_LOCAL_SHADOW_REG_VALUE_0;
  415. uint32_t d_A_LOCAL_SHADOW_REG_VALUE_1;
  416. uint32_t d_A_LOCAL_SHADOW_REG_VALUE_2;
  417. uint32_t d_A_LOCAL_SHADOW_REG_VALUE_3;
  418. uint32_t d_A_LOCAL_SHADOW_REG_VALUE_4;
  419. uint32_t d_A_LOCAL_SHADOW_REG_VALUE_5;
  420. uint32_t d_A_LOCAL_SHADOW_REG_VALUE_6;
  421. uint32_t d_A_LOCAL_SHADOW_REG_VALUE_7;
  422. uint32_t d_A_LOCAL_SHADOW_REG_VALUE_8;
  423. uint32_t d_A_LOCAL_SHADOW_REG_VALUE_9;
  424. uint32_t d_A_LOCAL_SHADOW_REG_VALUE_10;
  425. uint32_t d_A_LOCAL_SHADOW_REG_VALUE_11;
  426. uint32_t d_A_LOCAL_SHADOW_REG_VALUE_12;
  427. uint32_t d_A_LOCAL_SHADOW_REG_VALUE_13;
  428. uint32_t d_A_LOCAL_SHADOW_REG_VALUE_14;
  429. uint32_t d_A_LOCAL_SHADOW_REG_VALUE_15;
  430. uint32_t d_A_LOCAL_SHADOW_REG_VALUE_16;
  431. uint32_t d_A_LOCAL_SHADOW_REG_VALUE_17;
  432. uint32_t d_A_LOCAL_SHADOW_REG_VALUE_18;
  433. uint32_t d_A_LOCAL_SHADOW_REG_VALUE_19;
  434. uint32_t d_A_LOCAL_SHADOW_REG_VALUE_20;
  435. uint32_t d_A_LOCAL_SHADOW_REG_VALUE_21;
  436. uint32_t d_A_LOCAL_SHADOW_REG_VALUE_22;
  437. uint32_t d_A_LOCAL_SHADOW_REG_VALUE_23;
  438. uint32_t d_A_LOCAL_SHADOW_REG_ADDRESS_0;
  439. uint32_t d_A_LOCAL_SHADOW_REG_ADDRESS_1;
  440. uint32_t d_A_LOCAL_SHADOW_REG_ADDRESS_2;
  441. uint32_t d_A_LOCAL_SHADOW_REG_ADDRESS_3;
  442. uint32_t d_A_LOCAL_SHADOW_REG_ADDRESS_4;
  443. uint32_t d_A_LOCAL_SHADOW_REG_ADDRESS_5;
  444. uint32_t d_A_LOCAL_SHADOW_REG_ADDRESS_6;
  445. uint32_t d_A_LOCAL_SHADOW_REG_ADDRESS_7;
  446. uint32_t d_A_LOCAL_SHADOW_REG_ADDRESS_8;
  447. uint32_t d_A_LOCAL_SHADOW_REG_ADDRESS_9;
  448. uint32_t d_A_LOCAL_SHADOW_REG_ADDRESS_10;
  449. uint32_t d_A_LOCAL_SHADOW_REG_ADDRESS_11;
  450. uint32_t d_A_LOCAL_SHADOW_REG_ADDRESS_12;
  451. uint32_t d_A_LOCAL_SHADOW_REG_ADDRESS_13;
  452. uint32_t d_A_LOCAL_SHADOW_REG_ADDRESS_14;
  453. uint32_t d_A_LOCAL_SHADOW_REG_ADDRESS_15;
  454. uint32_t d_A_LOCAL_SHADOW_REG_ADDRESS_16;
  455. uint32_t d_A_LOCAL_SHADOW_REG_ADDRESS_17;
  456. uint32_t d_A_LOCAL_SHADOW_REG_ADDRESS_18;
  457. uint32_t d_A_LOCAL_SHADOW_REG_ADDRESS_19;
  458. uint32_t d_A_LOCAL_SHADOW_REG_ADDRESS_20;
  459. uint32_t d_A_LOCAL_SHADOW_REG_ADDRESS_21;
  460. uint32_t d_A_LOCAL_SHADOW_REG_ADDRESS_22;
  461. uint32_t d_A_LOCAL_SHADOW_REG_ADDRESS_23;
  462. };
  463. /*
  464. * @d_DST_WR_INDEX_ADDRESS: Destination ring write index
  465. *
  466. * @d_SRC_WATERMARK_ADDRESS: Source ring watermark
  467. *
  468. * @d_SRC_WATERMARK_LOW_MASK: Bits indicating low watermark from Source ring
  469. * watermark
  470. *
  471. * @d_SRC_WATERMARK_HIGH_MASK: Bits indicating high watermark from Source ring
  472. * watermark
  473. *
  474. * @d_DST_WATERMARK_LOW_MASK: Bits indicating low watermark from Destination
  475. * ring watermark
  476. *
  477. * @d_DST_WATERMARK_HIGH_MASK: Bits indicating high watermark from Destination
  478. * ring watermark
  479. *
  480. * @d_CURRENT_SRRI_ADDRESS: Current source ring read index.The Start Offset
  481. * will be reflected after a CE transfer is completed.
  482. *
  483. * @d_CURRENT_DRRI_ADDRESS: Current Destination ring read index. The Start
  484. * Offset will be reflected after a CE transfer
  485. * is completed.
  486. *
  487. * @d_HOST_IS_SRC_RING_HIGH_WATERMARK_MASK: Source ring high watermark
  488. * Interrupt Status
  489. *
  490. * @d_HOST_IS_SRC_RING_LOW_WATERMARK_MASK: Source ring low watermark
  491. * Interrupt Status
  492. *
  493. * @d_HOST_IS_DST_RING_HIGH_WATERMARK_MASK: Destination ring high watermark
  494. * Interrupt Status
  495. *
  496. * @d_HOST_IS_DST_RING_LOW_WATERMARK_MASK: Source ring low watermark
  497. * Interrupt Status
  498. *
  499. * @d_HOST_IS_ADDRESS: Host Interrupt Status Register
  500. *
  501. * @d_MISC_IS_ADDRESS: Miscellaneous Interrupt Status Register
  502. *
  503. * @d_HOST_IS_COPY_COMPLETE_MASK: Bits indicating Copy complete interrupt
  504. * status from the Host Interrupt Status
  505. * register
  506. *
  507. * @d_CE_WRAPPER_BASE_ADDRESS: Copy Engine Wrapper Base Address
  508. *
  509. * @d_CE_WRAPPER_INTERRUPT_SUMMARY_ADDRESS: CE Wrapper summary for interrupts
  510. * to host
  511. *
  512. * @d_CE_WRAPPER_INDEX_BASE_LOW: The LSB Base address to which source and
  513. * destination read indices are written
  514. *
  515. * @d_CE_WRAPPER_INDEX_BASE_HIGH: The MSB Base address to which source and
  516. * destination read indices are written
  517. *
  518. * @d_HOST_IE_ADDRESS: Host Line Interrupt Enable Register
  519. *
  520. * @d_HOST_IE_COPY_COMPLETE_MASK: Bits indicating Copy complete interrupt
  521. * enable from the IE register
  522. *
  523. * @d_SR_BA_ADDRESS: LSB of Source Ring Base Address
  524. *
  525. * @d_SR_BA_ADDRESS_HIGH: MSB of Source Ring Base Address
  526. *
  527. * @d_SR_SIZE_ADDRESS: Source Ring size - number of entries and Start Offset
  528. *
  529. * @d_CE_CTRL1_ADDRESS: CE Control register
  530. *
  531. * @d_CE_CTRL1_DMAX_LENGTH_MASK: Destination buffer Max Length used for error
  532. * check
  533. *
  534. * @d_DR_BA_ADDRESS: Destination Ring Base Address Low
  535. *
  536. * @d_DR_BA_ADDRESS_HIGH: Destination Ring Base Address High
  537. *
  538. * @d_DR_SIZE_ADDRESS: Destination Ring size - number of entries Start Offset
  539. *
  540. * @d_CE_CMD_REGISTER: Implements commands to all CE Halt Flush
  541. *
  542. * @d_CE_MSI_ADDRESS: CE MSI LOW Address register
  543. *
  544. * @d_CE_MSI_ADDRESS_HIGH: CE MSI High Address register
  545. *
  546. * @d_CE_MSI_DATA: CE MSI Data Register
  547. *
  548. * @d_CE_MSI_ENABLE_BIT: Bit in CTRL1 register indication the MSI enable
  549. *
  550. * @d_MISC_IE_ADDRESS: Miscellaneous Interrupt Enable Register
  551. *
  552. * @d_MISC_IS_AXI_ERR_MASK:
  553. * Bit in Misc IS indicating AXI Timeout Interrupt status
  554. *
  555. * @d_MISC_IS_DST_ADDR_ERR_MASK:
  556. * Bit in Misc IS indicating Destination Address Error
  557. *
  558. * @d_MISC_IS_SRC_LEN_ERR_MASK: Bit in Misc IS indicating Source Zero Length
  559. * Error Interrupt status
  560. *
  561. * @d_MISC_IS_DST_MAX_LEN_VIO_MASK: Bit in Misc IS indicating Destination Max
  562. * Length Violated Interrupt status
  563. *
  564. * @d_MISC_IS_DST_RING_OVERFLOW_MASK: Bit in Misc IS indicating Destination
  565. * Ring Overflow Interrupt status
  566. *
  567. * @d_MISC_IS_SRC_RING_OVERFLOW_MASK: Bit in Misc IS indicating Source Ring
  568. * Overflow Interrupt status
  569. *
  570. * @d_SRC_WATERMARK_LOW_LSB: Source Ring Low Watermark LSB
  571. *
  572. * @d_SRC_WATERMARK_HIGH_LSB: Source Ring Low Watermark MSB
  573. *
  574. * @d_DST_WATERMARK_LOW_LSB: Destination Ring Low Watermark LSB
  575. *
  576. * @d_DST_WATERMARK_HIGH_LSB: Destination Ring High Watermark LSB
  577. *
  578. * @d_CE_WRAPPER_INTERRUPT_SUMMARY_HOST_MSI_MASK:
  579. * Bits in d_CE_WRAPPER_INTERRUPT_SUMMARY_ADDR
  580. * indicating Copy engine miscellaneous interrupt summary
  581. *
  582. * @d_CE_WRAPPER_INTERRUPT_SUMMARY_HOST_MSI_LSB:
  583. * Bits in d_CE_WRAPPER_INTERRUPT_SUMMARY_ADDR
  584. * indicating Host interrupts summary
  585. *
  586. * @d_CE_CTRL1_DMAX_LENGTH_LSB:
  587. * LSB of Destination buffer Max Length used for error check
  588. *
  589. * @d_CE_CTRL1_SRC_RING_BYTE_SWAP_EN_MASK:
  590. * Bits indicating Source ring Byte Swap enable.
  591. * Treats source ring memory organisation as big-endian.
  592. *
  593. * @d_CE_CTRL1_DST_RING_BYTE_SWAP_EN_MASK:
  594. * Bits indicating Destination ring byte swap enable.
  595. * Treats destination ring memory organisation as big-endian
  596. *
  597. * @d_CE_CTRL1_SRC_RING_BYTE_SWAP_EN_LSB:
  598. * LSB of Source ring Byte Swap enable
  599. *
  600. * @d_CE_CTRL1_DST_RING_BYTE_SWAP_EN_LSB:
  601. * LSB of Destination ring Byte Swap enable
  602. *
  603. * @d_CE_WRAPPER_DEBUG_OFFSET: Offset of CE OBS BUS Select register
  604. *
  605. * @d_CE_WRAPPER_DEBUG_SEL_MSB:
  606. * MSB of Control register selecting inputs for trace/debug
  607. *
  608. * @d_CE_WRAPPER_DEBUG_SEL_LSB:
  609. * LSB of Control register selecting inputs for trace/debug
  610. *
  611. * @d_CE_WRAPPER_DEBUG_SEL_MASK:
  612. * Bit mask for trace/debug Control register
  613. *
  614. * @d_CE_DEBUG_OFFSET: Offset of Copy Engine FSM Debug Status
  615. *
  616. * @d_CE_DEBUG_SEL_MSB: MSB of Copy Engine FSM Debug Status
  617. *
  618. * @d_CE_DEBUG_SEL_LSB: LSB of Copy Engine FSM Debug Status
  619. *
  620. * @d_CE_DEBUG_SEL_MASK: Bits indicating Copy Engine FSM Debug Status
  621. *
  622. */
  623. struct ce_reg_def {
  624. /* copy_engine.c */
  625. uint32_t d_DST_WR_INDEX_ADDRESS;
  626. uint32_t d_SRC_WATERMARK_ADDRESS;
  627. uint32_t d_SRC_WATERMARK_LOW_MASK;
  628. uint32_t d_SRC_WATERMARK_HIGH_MASK;
  629. uint32_t d_DST_WATERMARK_LOW_MASK;
  630. uint32_t d_DST_WATERMARK_HIGH_MASK;
  631. uint32_t d_CURRENT_SRRI_ADDRESS;
  632. uint32_t d_CURRENT_DRRI_ADDRESS;
  633. uint32_t d_HOST_IS_SRC_RING_HIGH_WATERMARK_MASK;
  634. uint32_t d_HOST_IS_SRC_RING_LOW_WATERMARK_MASK;
  635. uint32_t d_HOST_IS_DST_RING_HIGH_WATERMARK_MASK;
  636. uint32_t d_HOST_IS_DST_RING_LOW_WATERMARK_MASK;
  637. uint32_t d_HOST_IS_ADDRESS;
  638. uint32_t d_MISC_IS_ADDRESS;
  639. uint32_t d_HOST_IS_COPY_COMPLETE_MASK;
  640. uint32_t d_CE_WRAPPER_BASE_ADDRESS;
  641. uint32_t d_CE_WRAPPER_INTERRUPT_SUMMARY_ADDRESS;
  642. uint32_t d_CE_DDR_ADDRESS_FOR_RRI_LOW;
  643. uint32_t d_CE_DDR_ADDRESS_FOR_RRI_HIGH;
  644. uint32_t d_HOST_IE_ADDRESS;
  645. uint32_t d_HOST_IE_COPY_COMPLETE_MASK;
  646. uint32_t d_SR_BA_ADDRESS;
  647. uint32_t d_SR_BA_ADDRESS_HIGH;
  648. uint32_t d_SR_SIZE_ADDRESS;
  649. uint32_t d_CE_CTRL1_ADDRESS;
  650. uint32_t d_CE_CTRL1_DMAX_LENGTH_MASK;
  651. uint32_t d_DR_BA_ADDRESS;
  652. uint32_t d_DR_BA_ADDRESS_HIGH;
  653. uint32_t d_DR_SIZE_ADDRESS;
  654. uint32_t d_CE_CMD_REGISTER;
  655. uint32_t d_CE_MSI_ADDRESS;
  656. uint32_t d_CE_MSI_ADDRESS_HIGH;
  657. uint32_t d_CE_MSI_DATA;
  658. uint32_t d_CE_MSI_ENABLE_BIT;
  659. uint32_t d_MISC_IE_ADDRESS;
  660. uint32_t d_MISC_IS_AXI_ERR_MASK;
  661. uint32_t d_MISC_IS_DST_ADDR_ERR_MASK;
  662. uint32_t d_MISC_IS_SRC_LEN_ERR_MASK;
  663. uint32_t d_MISC_IS_DST_MAX_LEN_VIO_MASK;
  664. uint32_t d_MISC_IS_DST_RING_OVERFLOW_MASK;
  665. uint32_t d_MISC_IS_SRC_RING_OVERFLOW_MASK;
  666. uint32_t d_SRC_WATERMARK_LOW_LSB;
  667. uint32_t d_SRC_WATERMARK_HIGH_LSB;
  668. uint32_t d_DST_WATERMARK_LOW_LSB;
  669. uint32_t d_DST_WATERMARK_HIGH_LSB;
  670. uint32_t d_CE_WRAPPER_INTERRUPT_SUMMARY_HOST_MSI_MASK;
  671. uint32_t d_CE_WRAPPER_INTERRUPT_SUMMARY_HOST_MSI_LSB;
  672. uint32_t d_CE_CTRL1_DMAX_LENGTH_LSB;
  673. uint32_t d_CE_CTRL1_SRC_RING_BYTE_SWAP_EN_MASK;
  674. uint32_t d_CE_CTRL1_DST_RING_BYTE_SWAP_EN_MASK;
  675. uint32_t d_CE_CTRL1_SRC_RING_BYTE_SWAP_EN_LSB;
  676. uint32_t d_CE_CTRL1_DST_RING_BYTE_SWAP_EN_LSB;
  677. uint32_t d_CE_CTRL1_IDX_UPD_EN_MASK;
  678. uint32_t d_CE_WRAPPER_DEBUG_OFFSET;
  679. uint32_t d_CE_WRAPPER_DEBUG_SEL_MSB;
  680. uint32_t d_CE_WRAPPER_DEBUG_SEL_LSB;
  681. uint32_t d_CE_WRAPPER_DEBUG_SEL_MASK;
  682. uint32_t d_CE_DEBUG_OFFSET;
  683. uint32_t d_CE_DEBUG_SEL_MSB;
  684. uint32_t d_CE_DEBUG_SEL_LSB;
  685. uint32_t d_CE_DEBUG_SEL_MASK;
  686. uint32_t d_CE0_BASE_ADDRESS;
  687. uint32_t d_CE1_BASE_ADDRESS;
  688. uint32_t d_A_WIFI_APB_3_A_WCMN_APPS_CE_INTR_ENABLES;
  689. uint32_t d_A_WIFI_APB_3_A_WCMN_APPS_CE_INTR_STATUS;
  690. };
  691. #endif