cslr_sdma.h 66 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236
  1. /********************************************************************
  2. * Copyright (C) 2013-2014 Texas Instruments Incorporated.
  3. *
  4. * Redistribution and use in source and binary forms, with or without
  5. * modification, are permitted provided that the following conditions
  6. * are met:
  7. *
  8. * Redistributions of source code must retain the above copyright
  9. * notice, this list of conditions and the following disclaimer.
  10. *
  11. * Redistributions in binary form must reproduce the above copyright
  12. * notice, this list of conditions and the following disclaimer in the
  13. * documentation and/or other materials provided with the
  14. * distribution.
  15. *
  16. * Neither the name of Texas Instruments Incorporated nor the names of
  17. * its contributors may be used to endorse or promote products derived
  18. * from this software without specific prior written permission.
  19. *
  20. * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  21. * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  22. * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  23. * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  24. * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  25. * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  26. * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  27. * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  28. * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  29. * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  30. * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  31. *
  32. */
  33. #ifndef CSLR_SDMA_H_
  34. #define CSLR_SDMA_H_
  35. #ifdef __cplusplus
  36. extern "C"
  37. {
  38. #endif
  39. #include <ti/csl/cslr.h>
  40. #include <ti/csl/tistdtypes.h>
  41. /**************************************************************************
  42. * Register Overlay Structure for DMA_CHANNEL_REGS
  43. **************************************************************************/
  44. typedef struct {
  45. volatile Uint32 CCR_0_31;
  46. volatile Uint32 CLNK_CTRL_0_31;
  47. volatile Uint32 CICR_0_31;
  48. volatile Uint32 CSR_0_31;
  49. volatile Uint32 CSDP_0_31;
  50. volatile Uint32 CEN_0_31;
  51. volatile Uint32 CFN_0_31;
  52. volatile Uint32 CSSA_0_31;
  53. volatile Uint32 CDSA_0_31;
  54. volatile Uint32 CSEI_0_31;
  55. volatile Uint32 CSFI_0_31;
  56. volatile Uint32 CDEI_0_31;
  57. volatile Uint32 CDFI_0_31;
  58. volatile Uint32 CSAC_0_31;
  59. volatile Uint32 CDAC_0_31;
  60. volatile Uint32 CCEN_0_31;
  61. volatile Uint32 CCFN_0_31;
  62. volatile Uint32 COLOR_0_31;
  63. volatile Uint8 RSVD0[8];
  64. volatile Uint32 CDP_0_31;
  65. volatile Uint32 CNDP_0_31;
  66. volatile Uint32 CCDN_0_31;
  67. volatile Uint8 RSVD1[4];
  68. } CSL_SdmaDma_channel_regsRegs;
  69. /**************************************************************************
  70. * Register Overlay Structure
  71. **************************************************************************/
  72. typedef struct {
  73. volatile Uint32 REVISION;
  74. volatile Uint8 RSVD2[4];
  75. volatile Uint32 IRQSTS_L0;
  76. volatile Uint32 IRQSTS_L1;
  77. volatile Uint32 IRQSTS_L2;
  78. volatile Uint32 IRQSTS_L3;
  79. volatile Uint32 IRQEN_L0;
  80. volatile Uint32 IRQEN_L1;
  81. volatile Uint32 IRQEN_L2;
  82. volatile Uint32 IRQEN_L3;
  83. volatile Uint32 SYSSTS;
  84. volatile Uint32 OCP_SYSCONFIG;
  85. volatile Uint8 RSVD3[52];
  86. volatile Uint32 CAPS_0;
  87. volatile Uint8 RSVD4[4];
  88. volatile Uint32 CAPS_2;
  89. volatile Uint32 CAPS_3;
  90. volatile Uint32 CAPS_4;
  91. volatile Uint32 GCR;
  92. volatile Uint8 RSVD5[4];
  93. CSL_SdmaDma_channel_regsRegs DMA_CHANNEL_REGS[32];
  94. } CSL_SdmaRegs;
  95. /**************************************************************************
  96. * Register Macros
  97. **************************************************************************/
  98. /* IP Revision Identifier This allows a PID showing X.Y.R in silicon to relate
  99. * the RTL release with a (close-to-correct) spec version X.Y.S. A peripheral
  100. * ID register must be included at address offset 0 of a peripherals control
  101. * register MAP. The purpose is to let software read the peripheral to
  102. * understand what type of peripheral is there and what features are enabled
  103. * as well as what bugs or issues may exist in a particular version. */
  104. #define CSL_SDMA_REVISION (0x0U)
  105. /* The interrupt status register regroups all the status of the DMA4 channels
  106. * that can generate an interrupt over line L0. */
  107. #define CSL_SDMA_IRQSTS_L0 (0x8U)
  108. /* The interrupt status register regroups all the status of the DMA4 channels
  109. * that can generate an interrupt over line L1. */
  110. #define CSL_SDMA_IRQSTS_L1 (0xCU)
  111. /* The interrupt status register regroups all the status of the DMA4 channels
  112. * that can generate an interrupt over line L2. */
  113. #define CSL_SDMA_IRQSTS_L2 (0x10U)
  114. /* The interrupt status register regroups all the status of the DMA4 channels
  115. * that can generate an interrupt over line L3. */
  116. #define CSL_SDMA_IRQSTS_L3 (0x14U)
  117. /* The interrupt enable register allows to mask/unmask the module internal
  118. * sources of interrupt, on line L0 */
  119. #define CSL_SDMA_IRQEN_L0 (0x18U)
  120. /* The interrupt enable register allows to mask/unmask the module internal
  121. * sources of interrupt, on line L1 */
  122. #define CSL_SDMA_IRQEN_L1 (0x1CU)
  123. /* The interrupt enable register allows to mask/unmask the module internal
  124. * sources of interrupt, on line L2 */
  125. #define CSL_SDMA_IRQEN_L2 (0x20U)
  126. /* The interrupt enable register allows to mask/unmask the module internal
  127. * sources of interrupt, on line L3 */
  128. #define CSL_SDMA_IRQEN_L3 (0x24U)
  129. /* The register provides status information about the module excluding the
  130. * interrupt status information (see interrupt status register) */
  131. #define CSL_SDMA_SYSSTS (0x28U)
  132. /* This register controls the various parameters of the OCP interface */
  133. #define CSL_SDMA_OCP_SYSCONFIG (0x2CU)
  134. /* DMA Capabilities Register 0 LSW */
  135. #define CSL_SDMA_CAPS_0 (0x64U)
  136. /* DMA Capabilities Register 2 */
  137. #define CSL_SDMA_CAPS_2 (0x6CU)
  138. /* DMA Capabilities Register 3 */
  139. #define CSL_SDMA_CAPS_3 (0x70U)
  140. /* DMA Capabilities Register 4 */
  141. #define CSL_SDMA_CAPS_4 (0x74U)
  142. /* FIFO sharing between high and low priority channel. The Maximum per channel
  143. * FIFO depth is bounded by the low and high channel FIFO budget. The high
  144. * respectively low priority channels maximum burst size must be less than the
  145. * min (high respectively low priority channel FIFO budget , per channel
  146. * maximum FIFO depth) */
  147. #define CSL_SDMA_GCR (0x78U)
  148. /* Channel Control Register */
  149. #define CSL_SDMA_CCR_0_31(n) (0x80U + ((n) * (0x60U)))
  150. /* Channel Link Control Register */
  151. #define CSL_SDMA_CLNK_CTRL_0_31(n) (0x84U + ((n) * (0x60U)))
  152. /* Channel Interrupt Control Register */
  153. #define CSL_SDMA_CICR_0_31(n) (0x88U + ((n) * (0x60U)))
  154. /* Channel Status Register */
  155. #define CSL_SDMA_CSR_0_31(n) (0x8CU + ((n) * (0x60U)))
  156. /* Channel Source Destination Parameters */
  157. #define CSL_SDMA_CSDP_0_31(n) (0x90U + ((n) * (0x60U)))
  158. /* Channel Element Number */
  159. #define CSL_SDMA_CEN_0_31(n) (0x94U + ((n) * (0x60U)))
  160. /* Channel Frame Number */
  161. #define CSL_SDMA_CFN_0_31(n) (0x98U + ((n) * (0x60U)))
  162. /* Channel Source Start Address */
  163. #define CSL_SDMA_CSSA_0_31(n) (0x9CU + ((n) * (0x60U)))
  164. /* Channel Destination Start Address */
  165. #define CSL_SDMA_CDSA_0_31(n) (0xA0U + ((n) * (0x60U)))
  166. /* Channel Source Element Index (Signed) */
  167. #define CSL_SDMA_CSEI_0_31(n) (0xA4U + ((n) * (0x60U)))
  168. /* Channel Source Frame Index (Signed) or 16-bit Packet size */
  169. #define CSL_SDMA_CSFI_0_31(n) (0xA8U + ((n) * (0x60U)))
  170. /* Channel Destination Element Index (Signed) */
  171. #define CSL_SDMA_CDEI_0_31(n) (0xACU + ((n) * (0x60U)))
  172. /* Channel Destination Frame Index (Signed) or 16-bit Packet size */
  173. #define CSL_SDMA_CDFI_0_31(n) (0xB0U + ((n) * (0x60U)))
  174. /* Channel Source Address Value. User has to access this register only in
  175. * 32-bit access. If accessed in 8-bit or 16bit data may be correupted. */
  176. #define CSL_SDMA_CSAC_0_31(n) (0xB4U + ((n) * (0x60U)))
  177. /* Channel Destination Address Value. User has to access this register only in
  178. * 32-bit access. If accessed in 8-bit or 16bit data may be correupted. */
  179. #define CSL_SDMA_CDAC_0_31(n) (0xB8U + ((n) * (0x60U)))
  180. /* Channel Current Transferred Element Number in the current frame. User has
  181. * to access this register only in 32-bit access. If accessed in 8-bit or
  182. * 16bit data may be correupted. */
  183. #define CSL_SDMA_CCEN_0_31(n) (0xBCU + ((n) * (0x60U)))
  184. /* Channel Current Transferred Frame Number in the current transfer. User has
  185. * to access this register only in 32-bit access. If accessed in 8-bit or
  186. * 16bit data may be correupted. */
  187. #define CSL_SDMA_CCFN_0_31(n) (0xC0U + ((n) * (0x60U)))
  188. /* Channel DMA COLOR KEY /SOLID COLOR */
  189. #define CSL_SDMA_COLOR_0_31(n) (0xC4U + ((n) * (0x60U)))
  190. /* This register controls the various parameters of the link list mechanism */
  191. #define CSL_SDMA_CDP_0_31(n) (0xD0U + ((n) * (0x60U)))
  192. /* This register contains the Next descriptor Address Pointer for the link
  193. * list Mechanism */
  194. #define CSL_SDMA_CNDP_0_31(n) (0xD4U + ((n) * (0x60U)))
  195. /* CCDN_0_31 */
  196. #define CSL_SDMA_CCDN_0_31(n) (0xD8U + ((n) * (0x60U)))
  197. /**************************************************************************
  198. * Field Definition Macros
  199. **************************************************************************/
  200. /* REVISION */
  201. #define CSL_SDMA_REVISION_MINOR_MASK (0x0000003FU)
  202. #define CSL_SDMA_REVISION_MINOR_SHIFT (0U)
  203. #define CSL_SDMA_REVISION_MINOR_RESETVAL (0x00000000U)
  204. #define CSL_SDMA_REVISION_MINOR_MAX (0x0000003fU)
  205. #define CSL_SDMA_REVISION_SCHEME_MASK (0xC0000000U)
  206. #define CSL_SDMA_REVISION_SCHEME_SHIFT (30U)
  207. #define CSL_SDMA_REVISION_SCHEME_RESETVAL (0x00000000U)
  208. #define CSL_SDMA_REVISION_SCHEME_MAX (0x00000003U)
  209. #define CSL_SDMA_REVISION_CUSTOM_MASK (0x000000C0U)
  210. #define CSL_SDMA_REVISION_CUSTOM_SHIFT (6U)
  211. #define CSL_SDMA_REVISION_CUSTOM_RESETVAL (0x00000000U)
  212. #define CSL_SDMA_REVISION_CUSTOM_MAX (0x00000003U)
  213. #define CSL_SDMA_REVISION_MAJOR_MASK (0x00000700U)
  214. #define CSL_SDMA_REVISION_MAJOR_SHIFT (8U)
  215. #define CSL_SDMA_REVISION_MAJOR_RESETVAL (0x00000001U)
  216. #define CSL_SDMA_REVISION_MAJOR_MAX (0x00000007U)
  217. #define CSL_SDMA_REVISION_RTL_MASK (0x0000F800U)
  218. #define CSL_SDMA_REVISION_RTL_SHIFT (11U)
  219. #define CSL_SDMA_REVISION_RTL_RESETVAL (0x00000001U)
  220. #define CSL_SDMA_REVISION_RTL_MAX (0x0000001fU)
  221. #define CSL_SDMA_REVISION_FUNC_MASK (0x0FFF0000U)
  222. #define CSL_SDMA_REVISION_FUNC_SHIFT (16U)
  223. #define CSL_SDMA_REVISION_FUNC_RESETVAL (0x00000001U)
  224. #define CSL_SDMA_REVISION_FUNC_MAX (0x00000fffU)
  225. #define CSL_SDMA_REVISION_RESETVAL (0x00010900U)
  226. /* IRQSTS_L0 */
  227. #define CSL_SDMA_IRQSTS_L0_CH_31_0_L0_MASK (0xFFFFFFFFU)
  228. #define CSL_SDMA_IRQSTS_L0_CH_31_0_L0_SHIFT (0U)
  229. #define CSL_SDMA_IRQSTS_L0_CH_31_0_L0_RESETVAL (0x00000000U)
  230. #define CSL_SDMA_IRQSTS_L0_CH_31_0_L0_MAX (0xffffffffU)
  231. #define CSL_SDMA_IRQSTS_L0_RESETVAL (0x00000000U)
  232. /* IRQSTS_L1 */
  233. #define CSL_SDMA_IRQSTS_L1_CH_31_0_L1_MASK (0xFFFFFFFFU)
  234. #define CSL_SDMA_IRQSTS_L1_CH_31_0_L1_SHIFT (0U)
  235. #define CSL_SDMA_IRQSTS_L1_CH_31_0_L1_RESETVAL (0x00000000U)
  236. #define CSL_SDMA_IRQSTS_L1_CH_31_0_L1_MAX (0xffffffffU)
  237. #define CSL_SDMA_IRQSTS_L1_RESETVAL (0x00000000U)
  238. /* IRQSTS_L2 */
  239. #define CSL_SDMA_IRQSTS_L2_CH_31_0_L2_MASK (0xFFFFFFFFU)
  240. #define CSL_SDMA_IRQSTS_L2_CH_31_0_L2_SHIFT (0U)
  241. #define CSL_SDMA_IRQSTS_L2_CH_31_0_L2_RESETVAL (0x00000000U)
  242. #define CSL_SDMA_IRQSTS_L2_CH_31_0_L2_MAX (0xffffffffU)
  243. #define CSL_SDMA_IRQSTS_L2_RESETVAL (0x00000000U)
  244. /* IRQSTS_L3 */
  245. #define CSL_SDMA_IRQSTS_L3_CH_31_0_L3_MASK (0xFFFFFFFFU)
  246. #define CSL_SDMA_IRQSTS_L3_CH_31_0_L3_SHIFT (0U)
  247. #define CSL_SDMA_IRQSTS_L3_CH_31_0_L3_RESETVAL (0x00000000U)
  248. #define CSL_SDMA_IRQSTS_L3_CH_31_0_L3_MAX (0xffffffffU)
  249. #define CSL_SDMA_IRQSTS_L3_RESETVAL (0x00000000U)
  250. /* IRQEN_L0 */
  251. #define CSL_SDMA_IRQEN_L0_CH_31_0_L0_EN_MASK (0xFFFFFFFFU)
  252. #define CSL_SDMA_IRQEN_L0_CH_31_0_L0_EN_SHIFT (0U)
  253. #define CSL_SDMA_IRQEN_L0_CH_31_0_L0_EN_RESETVAL (0x00000000U)
  254. #define CSL_SDMA_IRQEN_L0_CH_31_0_L0_EN_MAX (0xffffffffU)
  255. #define CSL_SDMA_IRQEN_L0_RESETVAL (0x00000000U)
  256. /* IRQEN_L1 */
  257. #define CSL_SDMA_IRQEN_L1_CH_0_L1_EN_MASK (0xFFFFFFFFU)
  258. #define CSL_SDMA_IRQEN_L1_CH_0_L1_EN_SHIFT (0U)
  259. #define CSL_SDMA_IRQEN_L1_CH_0_L1_EN_RESETVAL (0x00000000U)
  260. #define CSL_SDMA_IRQEN_L1_CH_0_L1_EN_MAX (0xffffffffU)
  261. #define CSL_SDMA_IRQEN_L1_RESETVAL (0x00000000U)
  262. /* IRQEN_L2 */
  263. #define CSL_SDMA_IRQEN_L2_CH_31_0_L2_EN_MASK (0xFFFFFFFFU)
  264. #define CSL_SDMA_IRQEN_L2_CH_31_0_L2_EN_SHIFT (0U)
  265. #define CSL_SDMA_IRQEN_L2_CH_31_0_L2_EN_RESETVAL (0x00000000U)
  266. #define CSL_SDMA_IRQEN_L2_CH_31_0_L2_EN_MAX (0xffffffffU)
  267. #define CSL_SDMA_IRQEN_L2_RESETVAL (0x00000000U)
  268. /* IRQEN_L3 */
  269. #define CSL_SDMA_IRQEN_L3_CH_31_0_L3_EN_MASK (0xFFFFFFFFU)
  270. #define CSL_SDMA_IRQEN_L3_CH_31_0_L3_EN_SHIFT (0U)
  271. #define CSL_SDMA_IRQEN_L3_CH_31_0_L3_EN_RESETVAL (0x00000000U)
  272. #define CSL_SDMA_IRQEN_L3_CH_31_0_L3_EN_MAX (0xffffffffU)
  273. #define CSL_SDMA_IRQEN_L3_RESETVAL (0x00000000U)
  274. /* SYSSTS */
  275. #define CSL_SDMA_SYSSTS_RESETDONE_MASK (0x00000001U)
  276. #define CSL_SDMA_SYSSTS_RESETDONE_SHIFT (0U)
  277. #define CSL_SDMA_SYSSTS_RESETDONE_RESETVAL (0x00000000U)
  278. #define CSL_SDMA_SYSSTS_RESETDONE_ONGOING (0x00000000U)
  279. #define CSL_SDMA_SYSSTS_RESETDONE_COMPLETED (0x00000001U)
  280. #define CSL_SDMA_SYSSTS_RESETVAL (0x00000000U)
  281. /* OCP_SYSCONFIG */
  282. #define CSL_SDMA_OCP_SYSCONFIG_CLOCKACTIVITY_MASK (0x00000300U)
  283. #define CSL_SDMA_OCP_SYSCONFIG_CLOCKACTIVITY_SHIFT (8U)
  284. #define CSL_SDMA_OCP_SYSCONFIG_CLOCKACTIVITY_RESETVAL (0x00000000U)
  285. #define CSL_SDMA_OCP_SYSCONFIG_CLOCKACTIVITY_MAX (0x00000003U)
  286. #define CSL_SDMA_OCP_SYSCONFIG_SOFTRESET_MASK (0x00000002U)
  287. #define CSL_SDMA_OCP_SYSCONFIG_SOFTRESET_SHIFT (1U)
  288. #define CSL_SDMA_OCP_SYSCONFIG_SOFTRESET_RESETVAL (0x00000000U)
  289. #define CSL_SDMA_OCP_SYSCONFIG_SOFTRESET_NOEFFECT (0x00000000U)
  290. #define CSL_SDMA_OCP_SYSCONFIG_SOFTRESET_RESET (0x00000001U)
  291. #define CSL_SDMA_OCP_SYSCONFIG_SIDLEMODE_MASK (0x00000018U)
  292. #define CSL_SDMA_OCP_SYSCONFIG_SIDLEMODE_SHIFT (3U)
  293. #define CSL_SDMA_OCP_SYSCONFIG_SIDLEMODE_RESETVAL (0x00000000U)
  294. #define CSL_SDMA_OCP_SYSCONFIG_SIDLEMODE_FORCE (0x00000000U)
  295. #define CSL_SDMA_OCP_SYSCONFIG_SIDLEMODE_NO (0x00000001U)
  296. #define CSL_SDMA_OCP_SYSCONFIG_SIDLEMODE_SMART (0x00000002U)
  297. #define CSL_SDMA_OCP_SYSCONFIG_SIDLEMODE_RESERVED (0x00000003U)
  298. #define CSL_SDMA_OCP_SYSCONFIG_AUTOIDLE_MASK (0x00000001U)
  299. #define CSL_SDMA_OCP_SYSCONFIG_AUTOIDLE_SHIFT (0U)
  300. #define CSL_SDMA_OCP_SYSCONFIG_AUTOIDLE_RESETVAL (0x00000000U)
  301. #define CSL_SDMA_OCP_SYSCONFIG_AUTOIDLE_FREERUNNING (0x00000000U)
  302. #define CSL_SDMA_OCP_SYSCONFIG_AUTOIDLE_CLOCKGATING (0x00000001U)
  303. #define CSL_SDMA_OCP_SYSCONFIG_MIDLEMODE_MASK (0x00003000U)
  304. #define CSL_SDMA_OCP_SYSCONFIG_MIDLEMODE_SHIFT (12U)
  305. #define CSL_SDMA_OCP_SYSCONFIG_MIDLEMODE_RESETVAL (0x00000000U)
  306. #define CSL_SDMA_OCP_SYSCONFIG_MIDLEMODE_FORCE (0x00000000U)
  307. #define CSL_SDMA_OCP_SYSCONFIG_MIDLEMODE_NO (0x00000001U)
  308. #define CSL_SDMA_OCP_SYSCONFIG_MIDLEMODE_SMART (0x00000002U)
  309. #define CSL_SDMA_OCP_SYSCONFIG_MIDLEMODE_RESERVED (0x00000003U)
  310. #define CSL_SDMA_OCP_SYSCONFIG_EMUFREE_MASK (0x00000020U)
  311. #define CSL_SDMA_OCP_SYSCONFIG_EMUFREE_SHIFT (5U)
  312. #define CSL_SDMA_OCP_SYSCONFIG_EMUFREE_RESETVAL (0x00000000U)
  313. #define CSL_SDMA_OCP_SYSCONFIG_EMUFREE_FROZEN (0x00000000U)
  314. #define CSL_SDMA_OCP_SYSCONFIG_EMUFREE_IGNORED (0x00000001U)
  315. #define CSL_SDMA_OCP_SYSCONFIG_RESETVAL (0x00000000U)
  316. /* CAPS_0 */
  317. #define CSL_SDMA_CAPS_0_CONST_FILL_CPBLTY_MASK (0x00080000U)
  318. #define CSL_SDMA_CAPS_0_CONST_FILL_CPBLTY_SHIFT (19U)
  319. #define CSL_SDMA_CAPS_0_CONST_FILL_CPBLTY_RESETVAL (0x00000001U)
  320. #define CSL_SDMA_CAPS_0_CONST_FILL_CPBLTY_NOLCH (0x00000000U)
  321. #define CSL_SDMA_CAPS_0_CONST_FILL_CPBLTY_ANYLCH (0x00000001U)
  322. #define CSL_SDMA_CAPS_0_TRANSPARENT_BLT_CPBLTY_MASK (0x00040000U)
  323. #define CSL_SDMA_CAPS_0_TRANSPARENT_BLT_CPBLTY_SHIFT (18U)
  324. #define CSL_SDMA_CAPS_0_TRANSPARENT_BLT_CPBLTY_RESETVAL (0x00000001U)
  325. #define CSL_SDMA_CAPS_0_TRANSPARENT_BLT_CPBLTY_NOLCH (0x00000000U)
  326. #define CSL_SDMA_CAPS_0_TRANSPARENT_BLT_CPBLTY_ANYLCH (0x00000001U)
  327. #define CSL_SDMA_CAPS_0_LINK_LIST_CPBLTY_TYPE123_MASK (0x00100000U)
  328. #define CSL_SDMA_CAPS_0_LINK_LIST_CPBLTY_TYPE123_SHIFT (20U)
  329. #define CSL_SDMA_CAPS_0_LINK_LIST_CPBLTY_TYPE123_RESETVAL (0x00000001U)
  330. #define CSL_SDMA_CAPS_0_LINK_LIST_CPBLTY_TYPE123_MAX (0x00000001U)
  331. #define CSL_SDMA_CAPS_0_LINK_LIST_CPBLTY_TYPE4_MASK (0x00200000U)
  332. #define CSL_SDMA_CAPS_0_LINK_LIST_CPBLTY_TYPE4_SHIFT (21U)
  333. #define CSL_SDMA_CAPS_0_LINK_LIST_CPBLTY_TYPE4_RESETVAL (0x00000000U)
  334. #define CSL_SDMA_CAPS_0_LINK_LIST_CPBLTY_TYPE4_MAX (0x00000001U)
  335. #define CSL_SDMA_CAPS_0_RESETVAL (0x001c0000U)
  336. /* CAPS_2 */
  337. #define CSL_SDMA_CAPS_2_SRC_CONST_ADRS_CPBLTY_MASK (0x00000001U)
  338. #define CSL_SDMA_CAPS_2_SRC_CONST_ADRS_CPBLTY_SHIFT (0U)
  339. #define CSL_SDMA_CAPS_2_SRC_CONST_ADRS_CPBLTY_RESETVAL (0x00000001U)
  340. #define CSL_SDMA_CAPS_2_SRC_CONST_ADRS_CPBLTY_SUPPORTED (0x00000001U)
  341. #define CSL_SDMA_CAPS_2_SRC_CONST_ADRS_CPBLTY_NOTSUPPORTED (0x00000000U)
  342. #define CSL_SDMA_CAPS_2_SRC_SINGLE_IDX_ADRS_CPBLTY_MASK (0x00000004U)
  343. #define CSL_SDMA_CAPS_2_SRC_SINGLE_IDX_ADRS_CPBLTY_SHIFT (2U)
  344. #define CSL_SDMA_CAPS_2_SRC_SINGLE_IDX_ADRS_CPBLTY_RESETVAL (0x00000001U)
  345. #define CSL_SDMA_CAPS_2_SRC_SINGLE_IDX_ADRS_CPBLTY_SUPPORTED (0x00000001U)
  346. #define CSL_SDMA_CAPS_2_SRC_SINGLE_IDX_ADRS_CPBLTY_NOTSUPPORTED (0x00000000U)
  347. #define CSL_SDMA_CAPS_2_DST_CONST_ADRS_CPBLTY_MASK (0x00000010U)
  348. #define CSL_SDMA_CAPS_2_DST_CONST_ADRS_CPBLTY_SHIFT (4U)
  349. #define CSL_SDMA_CAPS_2_DST_CONST_ADRS_CPBLTY_RESETVAL (0x00000001U)
  350. #define CSL_SDMA_CAPS_2_DST_CONST_ADRS_CPBLTY_SUPPORTED (0x00000001U)
  351. #define CSL_SDMA_CAPS_2_DST_CONST_ADRS_CPBLTY_NOTSUPPORTED (0x00000000U)
  352. #define CSL_SDMA_CAPS_2_DST_SINGLE_IDX_ADRS_CPBLTY_MASK (0x00000040U)
  353. #define CSL_SDMA_CAPS_2_DST_SINGLE_IDX_ADRS_CPBLTY_SHIFT (6U)
  354. #define CSL_SDMA_CAPS_2_DST_SINGLE_IDX_ADRS_CPBLTY_RESETVAL (0x00000001U)
  355. #define CSL_SDMA_CAPS_2_DST_SINGLE_IDX_ADRS_CPBLTY_SUPPORTED (0x00000001U)
  356. #define CSL_SDMA_CAPS_2_DST_SINGLE_IDX_ADRS_CPBLTY_NOTSUPPORTED (0x00000000U)
  357. #define CSL_SDMA_CAPS_2_SEPARATE_SRC_AND_DST_IDX_CPBLTY_MASK (0x00000100U)
  358. #define CSL_SDMA_CAPS_2_SEPARATE_SRC_AND_DST_IDX_CPBLTY_SHIFT (8U)
  359. #define CSL_SDMA_CAPS_2_SEPARATE_SRC_AND_DST_IDX_CPBLTY_RESETVAL (0x00000001U)
  360. #define CSL_SDMA_CAPS_2_SEPARATE_SRC_AND_DST_IDX_CPBLTY_SUPPORTED (0x00000001U)
  361. #define CSL_SDMA_CAPS_2_SEPARATE_SRC_AND_DST_IDX_CPBLTY_NOTSUPPORTED (0x00000000U)
  362. #define CSL_SDMA_CAPS_2_SRC_POST_INCREMENT_ADRS_CPBLTY_MASK (0x00000002U)
  363. #define CSL_SDMA_CAPS_2_SRC_POST_INCREMENT_ADRS_CPBLTY_SHIFT (1U)
  364. #define CSL_SDMA_CAPS_2_SRC_POST_INCREMENT_ADRS_CPBLTY_RESETVAL (0x00000001U)
  365. #define CSL_SDMA_CAPS_2_SRC_POST_INCREMENT_ADRS_CPBLTY_SUPPORTED (0x00000001U)
  366. #define CSL_SDMA_CAPS_2_SRC_POST_INCREMENT_ADRS_CPBLTY_NOTSUPPORTED (0x00000000U)
  367. #define CSL_SDMA_CAPS_2_SRC_DOUBLE_IDX_ADRS_CPBLTY_MASK (0x00000008U)
  368. #define CSL_SDMA_CAPS_2_SRC_DOUBLE_IDX_ADRS_CPBLTY_SHIFT (3U)
  369. #define CSL_SDMA_CAPS_2_SRC_DOUBLE_IDX_ADRS_CPBLTY_RESETVAL (0x00000001U)
  370. #define CSL_SDMA_CAPS_2_SRC_DOUBLE_IDX_ADRS_CPBLTY_SUPPORTED (0x00000001U)
  371. #define CSL_SDMA_CAPS_2_SRC_DOUBLE_IDX_ADRS_CPBLTY_NOTSUPPORTED (0x00000000U)
  372. #define CSL_SDMA_CAPS_2_DST_POST_INCRMNT_ADRS_CPBLTY_MASK (0x00000020U)
  373. #define CSL_SDMA_CAPS_2_DST_POST_INCRMNT_ADRS_CPBLTY_SHIFT (5U)
  374. #define CSL_SDMA_CAPS_2_DST_POST_INCRMNT_ADRS_CPBLTY_RESETVAL (0x00000001U)
  375. #define CSL_SDMA_CAPS_2_DST_POST_INCRMNT_ADRS_CPBLTY_SUPPORTED (0x00000001U)
  376. #define CSL_SDMA_CAPS_2_DST_POST_INCRMNT_ADRS_CPBLTY_NOTSUPPORTED (0x00000000U)
  377. #define CSL_SDMA_CAPS_2_DST_DOUBLE_IDX_ADRS_CPBLTY_MASK (0x00000080U)
  378. #define CSL_SDMA_CAPS_2_DST_DOUBLE_IDX_ADRS_CPBLTY_SHIFT (7U)
  379. #define CSL_SDMA_CAPS_2_DST_DOUBLE_IDX_ADRS_CPBLTY_RESETVAL (0x00000001U)
  380. #define CSL_SDMA_CAPS_2_DST_DOUBLE_IDX_ADRS_CPBLTY_SUPPORTED (0x00000001U)
  381. #define CSL_SDMA_CAPS_2_DST_DOUBLE_IDX_ADRS_CPBLTY_NOTSUPPORTED (0x00000000U)
  382. #define CSL_SDMA_CAPS_2_RESETVAL (0x000001ffU)
  383. /* CAPS_3 */
  384. #define CSL_SDMA_CAPS_3_BLOCK_SYNCHR_CPBLTY_MASK (0x00000080U)
  385. #define CSL_SDMA_CAPS_3_BLOCK_SYNCHR_CPBLTY_SHIFT (7U)
  386. #define CSL_SDMA_CAPS_3_BLOCK_SYNCHR_CPBLTY_RESETVAL (0x00000001U)
  387. #define CSL_SDMA_CAPS_3_BLOCK_SYNCHR_CPBLTY_SUPPORTED (0x00000001U)
  388. #define CSL_SDMA_CAPS_3_BLOCK_SYNCHR_CPBLTY_NOTSUPPORTED (0x00000000U)
  389. #define CSL_SDMA_CAPS_3_PKT_SYNCHR_CPBLTY_MASK (0x00000040U)
  390. #define CSL_SDMA_CAPS_3_PKT_SYNCHR_CPBLTY_SHIFT (6U)
  391. #define CSL_SDMA_CAPS_3_PKT_SYNCHR_CPBLTY_RESETVAL (0x00000001U)
  392. #define CSL_SDMA_CAPS_3_PKT_SYNCHR_CPBLTY_SUPPORTED (0x00000001U)
  393. #define CSL_SDMA_CAPS_3_PKT_SYNCHR_CPBLTY_NOTSUPPORTED (0x00000000U)
  394. #define CSL_SDMA_CAPS_3_ELMNT_SYNCHR_CPBLTY_MASK (0x00000001U)
  395. #define CSL_SDMA_CAPS_3_ELMNT_SYNCHR_CPBLTY_SHIFT (0U)
  396. #define CSL_SDMA_CAPS_3_ELMNT_SYNCHR_CPBLTY_RESETVAL (0x00000001U)
  397. #define CSL_SDMA_CAPS_3_ELMNT_SYNCHR_CPBLTY_MAX (0x00000001U)
  398. #define CSL_SDMA_CAPS_3_FRM_SYNCHR_CPBLTY_MASK (0x00000002U)
  399. #define CSL_SDMA_CAPS_3_FRM_SYNCHR_CPBLTY_SHIFT (1U)
  400. #define CSL_SDMA_CAPS_3_FRM_SYNCHR_CPBLTY_RESETVAL (0x00000001U)
  401. #define CSL_SDMA_CAPS_3_FRM_SYNCHR_CPBLTY_MAX (0x00000001U)
  402. #define CSL_SDMA_CAPS_3_CHANNEL_INTERLEAVE_CPBLTY_MASK (0x00000010U)
  403. #define CSL_SDMA_CAPS_3_CHANNEL_INTERLEAVE_CPBLTY_SHIFT (4U)
  404. #define CSL_SDMA_CAPS_3_CHANNEL_INTERLEAVE_CPBLTY_RESETVAL (0x00000001U)
  405. #define CSL_SDMA_CAPS_3_CHANNEL_INTERLEAVE_CPBLTY_MAX (0x00000001U)
  406. #define CSL_SDMA_CAPS_3_CHANNEL_CHANINIG_CPBLTY_MASK (0x00000020U)
  407. #define CSL_SDMA_CAPS_3_CHANNEL_CHANINIG_CPBLTY_SHIFT (5U)
  408. #define CSL_SDMA_CAPS_3_CHANNEL_CHANINIG_CPBLTY_RESETVAL (0x00000001U)
  409. #define CSL_SDMA_CAPS_3_CHANNEL_CHANINIG_CPBLTY_MAX (0x00000001U)
  410. #define CSL_SDMA_CAPS_3_RESETVAL (0x000000f3U)
  411. /* CAPS_4 */
  412. #define CSL_SDMA_CAPS_4_EVT_DROP_INTR_CPBLTY_MASK (0x00000002U)
  413. #define CSL_SDMA_CAPS_4_EVT_DROP_INTR_CPBLTY_SHIFT (1U)
  414. #define CSL_SDMA_CAPS_4_EVT_DROP_INTR_CPBLTY_RESETVAL (0x00000001U)
  415. #define CSL_SDMA_CAPS_4_EVT_DROP_INTR_CPBLTY_SUPPORTED (0x00000001U)
  416. #define CSL_SDMA_CAPS_4_EVT_DROP_INTR_CPBLTY_NOTSUPPORTED (0x00000000U)
  417. #define CSL_SDMA_CAPS_4_FRM_INTR_CPBLTY_MASK (0x00000008U)
  418. #define CSL_SDMA_CAPS_4_FRM_INTR_CPBLTY_SHIFT (3U)
  419. #define CSL_SDMA_CAPS_4_FRM_INTR_CPBLTY_RESETVAL (0x00000001U)
  420. #define CSL_SDMA_CAPS_4_FRM_INTR_CPBLTY_SUPPORTED (0x00000001U)
  421. #define CSL_SDMA_CAPS_4_FRM_INTR_CPBLTY_NOTSUPPORTED (0x00000000U)
  422. #define CSL_SDMA_CAPS_4_BLOCK_INTR_CPBLTY_MASK (0x00000020U)
  423. #define CSL_SDMA_CAPS_4_BLOCK_INTR_CPBLTY_SHIFT (5U)
  424. #define CSL_SDMA_CAPS_4_BLOCK_INTR_CPBLTY_RESETVAL (0x00000001U)
  425. #define CSL_SDMA_CAPS_4_BLOCK_INTR_CPBLTY_SUPPORTED (0x00000001U)
  426. #define CSL_SDMA_CAPS_4_BLOCK_INTR_CPBLTY_NOTSUPPORTED (0x00000000U)
  427. #define CSL_SDMA_CAPS_4_PKT_INTR_CPBLTY_MASK (0x00000080U)
  428. #define CSL_SDMA_CAPS_4_PKT_INTR_CPBLTY_SHIFT (7U)
  429. #define CSL_SDMA_CAPS_4_PKT_INTR_CPBLTY_RESETVAL (0x00000001U)
  430. #define CSL_SDMA_CAPS_4_PKT_INTR_CPBLTY_SUPPORTED (0x00000001U)
  431. #define CSL_SDMA_CAPS_4_PKT_INTR_CPBLTY_NOTSUPPORTED (0x00000000U)
  432. #define CSL_SDMA_CAPS_4_HALF_FRM_INTR_CPBLTY_MASK (0x00000004U)
  433. #define CSL_SDMA_CAPS_4_HALF_FRM_INTR_CPBLTY_SHIFT (2U)
  434. #define CSL_SDMA_CAPS_4_HALF_FRM_INTR_CPBLTY_RESETVAL (0x00000001U)
  435. #define CSL_SDMA_CAPS_4_HALF_FRM_INTR_CPBLTY_SUPPORTED (0x00000001U)
  436. #define CSL_SDMA_CAPS_4_HALF_FRM_INTR_CPBLTY_NOTSUPPORTED (0x00000000U)
  437. #define CSL_SDMA_CAPS_4_LAST_FRM_INTR_CPBLTY_MASK (0x00000010U)
  438. #define CSL_SDMA_CAPS_4_LAST_FRM_INTR_CPBLTY_SHIFT (4U)
  439. #define CSL_SDMA_CAPS_4_LAST_FRM_INTR_CPBLTY_RESETVAL (0x00000001U)
  440. #define CSL_SDMA_CAPS_4_LAST_FRM_INTR_CPBLTY_SUPPORTED (0x00000001U)
  441. #define CSL_SDMA_CAPS_4_LAST_FRM_INTR_CPBLTY_NOTSUPPORTED (0x00000000U)
  442. #define CSL_SDMA_CAPS_4_SYNC_STS_CPBLTY_MASK (0x00000040U)
  443. #define CSL_SDMA_CAPS_4_SYNC_STS_CPBLTY_SHIFT (6U)
  444. #define CSL_SDMA_CAPS_4_SYNC_STS_CPBLTY_RESETVAL (0x00000001U)
  445. #define CSL_SDMA_CAPS_4_SYNC_STS_CPBLTY_SUPPORTED (0x00000001U)
  446. #define CSL_SDMA_CAPS_4_SYNC_STS_CPBLTY_NOTSUPPORTED (0x00000000U)
  447. #define CSL_SDMA_CAPS_4_TRANS_ERR_INTR_CPBLTY_MASK (0x00000100U)
  448. #define CSL_SDMA_CAPS_4_TRANS_ERR_INTR_CPBLTY_SHIFT (8U)
  449. #define CSL_SDMA_CAPS_4_TRANS_ERR_INTR_CPBLTY_RESETVAL (0x00000001U)
  450. #define CSL_SDMA_CAPS_4_TRANS_ERR_INTR_CPBLTY_MAX (0x00000001U)
  451. #define CSL_SDMA_CAPS_4_SECURE_ERR_INTR_CPBLTY_MASK (0x00000200U)
  452. #define CSL_SDMA_CAPS_4_SECURE_ERR_INTR_CPBLTY_SHIFT (9U)
  453. #define CSL_SDMA_CAPS_4_SECURE_ERR_INTR_CPBLTY_RESETVAL (0x00000001U)
  454. #define CSL_SDMA_CAPS_4_SECURE_ERR_INTR_CPBLTY_MAX (0x00000001U)
  455. #define CSL_SDMA_CAPS_4_SUPERVISOR_ERR_INTR_CPBLTY_MASK (0x00000400U)
  456. #define CSL_SDMA_CAPS_4_SUPERVISOR_ERR_INTR_CPBLTY_SHIFT (10U)
  457. #define CSL_SDMA_CAPS_4_SUPERVISOR_ERR_INTR_CPBLTY_RESETVAL (0x00000001U)
  458. #define CSL_SDMA_CAPS_4_SUPERVISOR_ERR_INTR_CPBLTY_MAX (0x00000001U)
  459. #define CSL_SDMA_CAPS_4_MISALIGNED_ADRS_ERR_INTR_CPBLTY_MASK (0x00000800U)
  460. #define CSL_SDMA_CAPS_4_MISALIGNED_ADRS_ERR_INTR_CPBLTY_SHIFT (11U)
  461. #define CSL_SDMA_CAPS_4_MISALIGNED_ADRS_ERR_INTR_CPBLTY_RESETVAL (0x00000001U)
  462. #define CSL_SDMA_CAPS_4_MISALIGNED_ADRS_ERR_INTR_CPBLTY_MAX (0x00000001U)
  463. #define CSL_SDMA_CAPS_4_DRAIN_END_INTR_CPBLTY_MASK (0x00001000U)
  464. #define CSL_SDMA_CAPS_4_DRAIN_END_INTR_CPBLTY_SHIFT (12U)
  465. #define CSL_SDMA_CAPS_4_DRAIN_END_INTR_CPBLTY_RESETVAL (0x00000001U)
  466. #define CSL_SDMA_CAPS_4_DRAIN_END_INTR_CPBLTY_MAX (0x00000001U)
  467. #define CSL_SDMA_CAPS_4_DOMAIN_ERR_INTR_CPBLTY_MASK (0x00002000U)
  468. #define CSL_SDMA_CAPS_4_DOMAIN_ERR_INTR_CPBLTY_SHIFT (13U)
  469. #define CSL_SDMA_CAPS_4_DOMAIN_ERR_INTR_CPBLTY_RESETVAL (0x00000001U)
  470. #define CSL_SDMA_CAPS_4_DOMAIN_ERR_INTR_CPBLTY_MAX (0x00000001U)
  471. #define CSL_SDMA_CAPS_4_EOSB_INTR_CPBLTY_MASK (0x00004000U)
  472. #define CSL_SDMA_CAPS_4_EOSB_INTR_CPBLTY_SHIFT (14U)
  473. #define CSL_SDMA_CAPS_4_EOSB_INTR_CPBLTY_RESETVAL (0x00000001U)
  474. #define CSL_SDMA_CAPS_4_EOSB_INTR_CPBLTY_MAX (0x00000001U)
  475. #define CSL_SDMA_CAPS_4_RESETVAL (0x00007ffeU)
  476. /* GCR */
  477. #define CSL_SDMA_GCR_ARBITRATION_RATE_MASK (0x00FF0000U)
  478. #define CSL_SDMA_GCR_ARBITRATION_RATE_SHIFT (16U)
  479. #define CSL_SDMA_GCR_ARBITRATION_RATE_RESETVAL (0x00000001U)
  480. #define CSL_SDMA_GCR_ARBITRATION_RATE_MAX (0x000000ffU)
  481. #define CSL_SDMA_GCR_MAX_CHANNEL_FIFO_DEPTH_MASK (0x000000FFU)
  482. #define CSL_SDMA_GCR_MAX_CHANNEL_FIFO_DEPTH_SHIFT (0U)
  483. #define CSL_SDMA_GCR_MAX_CHANNEL_FIFO_DEPTH_RESETVAL (0x00000010U)
  484. #define CSL_SDMA_GCR_MAX_CHANNEL_FIFO_DEPTH_MAX (0x000000ffU)
  485. #define CSL_SDMA_GCR_HI_LO_FIFO_BUDGET_MASK (0x0000C000U)
  486. #define CSL_SDMA_GCR_HI_LO_FIFO_BUDGET_SHIFT (14U)
  487. #define CSL_SDMA_GCR_HI_LO_FIFO_BUDGET_RESETVAL (0x00000000U)
  488. #define CSL_SDMA_GCR_HI_LO_FIFO_BUDGET_MAX (0x00000003U)
  489. #define CSL_SDMA_GCR_CHANNEL_ID_GATE_MASK (0x01000000U)
  490. #define CSL_SDMA_GCR_CHANNEL_ID_GATE_SHIFT (24U)
  491. #define CSL_SDMA_GCR_CHANNEL_ID_GATE_RESETVAL (0x00000000U)
  492. #define CSL_SDMA_GCR_CHANNEL_ID_GATE_MAX (0x00000001U)
  493. #define CSL_SDMA_GCR_RESETVAL (0x00010010U)
  494. /* CCR_0_31 */
  495. #define CSL_SDMA_CCR_0_31_DST_AMODE_MASK (0x0000C000U)
  496. #define CSL_SDMA_CCR_0_31_DST_AMODE_SHIFT (14U)
  497. #define CSL_SDMA_CCR_0_31_DST_AMODE_RESETVAL (0x00000000U)
  498. #define CSL_SDMA_CCR_0_31_DST_AMODE_CONSTANT (0x00000000U)
  499. #define CSL_SDMA_CCR_0_31_DST_AMODE_POSTINCREMENTED (0x00000001U)
  500. #define CSL_SDMA_CCR_0_31_DST_AMODE_SINGLEINDEX (0x00000002U)
  501. #define CSL_SDMA_CCR_0_31_DST_AMODE_DOUBLEINDEX (0x00000003U)
  502. #define CSL_SDMA_CCR_0_31_TRANSPARENT_COPY_EN_MASK (0x00020000U)
  503. #define CSL_SDMA_CCR_0_31_TRANSPARENT_COPY_EN_SHIFT (17U)
  504. #define CSL_SDMA_CCR_0_31_TRANSPARENT_COPY_EN_RESETVAL (0x00000000U)
  505. #define CSL_SDMA_CCR_0_31_TRANSPARENT_COPY_EN_ENABLED (0x00000001U)
  506. #define CSL_SDMA_CCR_0_31_TRANSPARENT_COPY_EN_DISABLED (0x00000000U)
  507. #define CSL_SDMA_CCR_0_31_EN_MASK (0x00000080U)
  508. #define CSL_SDMA_CCR_0_31_EN_SHIFT (7U)
  509. #define CSL_SDMA_CCR_0_31_EN_RESETVAL (0x00000000U)
  510. #define CSL_SDMA_CCR_0_31_EN_ENABLED (0x00000001U)
  511. #define CSL_SDMA_CCR_0_31_EN_DISABLED (0x00000000U)
  512. #define CSL_SDMA_CCR_0_31_RD_ACTIVE_MASK (0x00000200U)
  513. #define CSL_SDMA_CCR_0_31_RD_ACTIVE_SHIFT (9U)
  514. #define CSL_SDMA_CCR_0_31_RD_ACTIVE_RESETVAL (0x00000000U)
  515. #define CSL_SDMA_CCR_0_31_RD_ACTIVE_ACTIVE (0x00000001U)
  516. #define CSL_SDMA_CCR_0_31_RD_ACTIVE_NOTACTIVE (0x00000000U)
  517. #define CSL_SDMA_CCR_0_31_READ_PRIORITY_MASK (0x00000040U)
  518. #define CSL_SDMA_CCR_0_31_READ_PRIORITY_SHIFT (6U)
  519. #define CSL_SDMA_CCR_0_31_READ_PRIORITY_RESETVAL (0x00000000U)
  520. #define CSL_SDMA_CCR_0_31_READ_PRIORITY_HIGH (0x00000001U)
  521. #define CSL_SDMA_CCR_0_31_READ_PRIORITY_LOW (0x00000000U)
  522. #define CSL_SDMA_CCR_0_31_SUSPEND_SENSITIVE_MASK (0x00000100U)
  523. #define CSL_SDMA_CCR_0_31_SUSPEND_SENSITIVE_SHIFT (8U)
  524. #define CSL_SDMA_CCR_0_31_SUSPEND_SENSITIVE_RESETVAL (0x00000000U)
  525. #define CSL_SDMA_CCR_0_31_SUSPEND_SENSITIVE_MUSTCOMPLETE (0x00000001U)
  526. #define CSL_SDMA_CCR_0_31_SUSPEND_SENSITIVE_IGNORED (0x00000000U)
  527. #define CSL_SDMA_CCR_0_31_WR_ACTIVE_MASK (0x00000400U)
  528. #define CSL_SDMA_CCR_0_31_WR_ACTIVE_SHIFT (10U)
  529. #define CSL_SDMA_CCR_0_31_WR_ACTIVE_RESETVAL (0x00000000U)
  530. #define CSL_SDMA_CCR_0_31_WR_ACTIVE_ACTIVE (0x00000001U)
  531. #define CSL_SDMA_CCR_0_31_WR_ACTIVE_NOTACTIVE (0x00000000U)
  532. #define CSL_SDMA_CCR_0_31_SYNCHRO_CTRL_MASK (0x0000001FU)
  533. #define CSL_SDMA_CCR_0_31_SYNCHRO_CTRL_SHIFT (0U)
  534. #define CSL_SDMA_CCR_0_31_SYNCHRO_CTRL_RESETVAL (0x00000000U)
  535. #define CSL_SDMA_CCR_0_31_SYNCHRO_CTRL_MAX (0x0000001fU)
  536. #define CSL_SDMA_CCR_0_31_FS_MASK (0x00000020U)
  537. #define CSL_SDMA_CCR_0_31_FS_SHIFT (5U)
  538. #define CSL_SDMA_CCR_0_31_FS_RESETVAL (0x00000000U)
  539. #define CSL_SDMA_CCR_0_31_FS_MAX (0x00000001U)
  540. #define CSL_SDMA_CCR_0_31_SYNCHRO_CTRL_UPPER_MASK (0x00180000U)
  541. #define CSL_SDMA_CCR_0_31_SYNCHRO_CTRL_UPPER_SHIFT (19U)
  542. #define CSL_SDMA_CCR_0_31_SYNCHRO_CTRL_UPPER_RESETVAL (0x00000000U)
  543. #define CSL_SDMA_CCR_0_31_SYNCHRO_CTRL_UPPER_MAX (0x00000003U)
  544. #define CSL_SDMA_CCR_0_31_SUPERVISOR_MASK (0x00400000U)
  545. #define CSL_SDMA_CCR_0_31_SUPERVISOR_SHIFT (22U)
  546. #define CSL_SDMA_CCR_0_31_SUPERVISOR_RESETVAL (0x00000000U)
  547. #define CSL_SDMA_CCR_0_31_SUPERVISOR_ENABLED (0x00000001U)
  548. #define CSL_SDMA_CCR_0_31_SUPERVISOR_DISABLED (0x00000000U)
  549. #define CSL_SDMA_CCR_0_31_SEL_SRC_DST_SYNC_MASK (0x01000000U)
  550. #define CSL_SDMA_CCR_0_31_SEL_SRC_DST_SYNC_SHIFT (24U)
  551. #define CSL_SDMA_CCR_0_31_SEL_SRC_DST_SYNC_RESETVAL (0x00000000U)
  552. #define CSL_SDMA_CCR_0_31_SEL_SRC_DST_SYNC_SOURCE (0x00000001U)
  553. #define CSL_SDMA_CCR_0_31_SEL_SRC_DST_SYNC_DESTINATION (0x00000000U)
  554. #define CSL_SDMA_CCR_0_31_CONST_FILL_EN_MASK (0x00010000U)
  555. #define CSL_SDMA_CCR_0_31_CONST_FILL_EN_SHIFT (16U)
  556. #define CSL_SDMA_CCR_0_31_CONST_FILL_EN_RESETVAL (0x00000000U)
  557. #define CSL_SDMA_CCR_0_31_CONST_FILL_EN_ENABLED (0x00000001U)
  558. #define CSL_SDMA_CCR_0_31_CONST_FILL_EN_DISABLED (0x00000000U)
  559. #define CSL_SDMA_CCR_0_31_BS_MASK (0x00040000U)
  560. #define CSL_SDMA_CCR_0_31_BS_SHIFT (18U)
  561. #define CSL_SDMA_CCR_0_31_BS_RESETVAL (0x00000000U)
  562. #define CSL_SDMA_CCR_0_31_BS_MAX (0x00000001U)
  563. #define CSL_SDMA_CCR_0_31_SECURE_MASK (0x00200000U)
  564. #define CSL_SDMA_CCR_0_31_SECURE_SHIFT (21U)
  565. #define CSL_SDMA_CCR_0_31_SECURE_RESETVAL (0x00000000U)
  566. #define CSL_SDMA_CCR_0_31_SECURE_ENABLED (0x00000001U)
  567. #define CSL_SDMA_CCR_0_31_SECURE_DISABLED (0x00000000U)
  568. #define CSL_SDMA_CCR_0_31_PREFETCH_MASK (0x00800000U)
  569. #define CSL_SDMA_CCR_0_31_PREFETCH_SHIFT (23U)
  570. #define CSL_SDMA_CCR_0_31_PREFETCH_RESETVAL (0x00000000U)
  571. #define CSL_SDMA_CCR_0_31_PREFETCH_ENABLED (0x00000001U)
  572. #define CSL_SDMA_CCR_0_31_PREFETCH_DISABLED (0x00000000U)
  573. #define CSL_SDMA_CCR_0_31_SRC_AMODE_MASK (0x00003000U)
  574. #define CSL_SDMA_CCR_0_31_SRC_AMODE_SHIFT (12U)
  575. #define CSL_SDMA_CCR_0_31_SRC_AMODE_RESETVAL (0x00000000U)
  576. #define CSL_SDMA_CCR_0_31_SRC_AMODE_CONSTANT (0x00000000U)
  577. #define CSL_SDMA_CCR_0_31_SRC_AMODE_POSTINCREMENTED (0x00000001U)
  578. #define CSL_SDMA_CCR_0_31_SRC_AMODE_SINGLEINDEX (0x00000002U)
  579. #define CSL_SDMA_CCR_0_31_SRC_AMODE_DOUBLEINDEX (0x00000003U)
  580. #define CSL_SDMA_CCR_0_31_WRITE_PRIORITY_MASK (0x04000000U)
  581. #define CSL_SDMA_CCR_0_31_WRITE_PRIORITY_SHIFT (26U)
  582. #define CSL_SDMA_CCR_0_31_WRITE_PRIORITY_RESETVAL (0x00000000U)
  583. #define CSL_SDMA_CCR_0_31_WRITE_PRIORITY_HIGH (0x00000001U)
  584. #define CSL_SDMA_CCR_0_31_WRITE_PRIORITY_LOW (0x00000000U)
  585. #define CSL_SDMA_CCR_0_31_BUFFERING_DISABLE_MASK (0x02000000U)
  586. #define CSL_SDMA_CCR_0_31_BUFFERING_DISABLE_SHIFT (25U)
  587. #define CSL_SDMA_CCR_0_31_BUFFERING_DISABLE_RESETVAL (0x00000000U)
  588. #define CSL_SDMA_CCR_0_31_BUFFERING_DISABLE_BUFFERING_ENABLED (0x00000000U)
  589. #define CSL_SDMA_CCR_0_31_BUFFERING_DISABLE_BUFFERING_DISABLED (0x00000001U)
  590. #define CSL_SDMA_CCR_0_31_DOMAIN_MASK (0x38000000U)
  591. #define CSL_SDMA_CCR_0_31_DOMAIN_SHIFT (27U)
  592. #define CSL_SDMA_CCR_0_31_DOMAIN_RESETVAL (0x00000000U)
  593. #define CSL_SDMA_CCR_0_31_DOMAIN_MAX (0x00000007U)
  594. #define CSL_SDMA_CCR_0_31_RESETVAL (0x00000000U)
  595. /* CLNK_CTRL_0_31 */
  596. #define CSL_SDMA_CLNK_CTRL_0_31_EN_LNK_MASK (0x00008000U)
  597. #define CSL_SDMA_CLNK_CTRL_0_31_EN_LNK_SHIFT (15U)
  598. #define CSL_SDMA_CLNK_CTRL_0_31_EN_LNK_RESETVAL (0x00000000U)
  599. #define CSL_SDMA_CLNK_CTRL_0_31_EN_LNK_ENABLED (0x00000001U)
  600. #define CSL_SDMA_CLNK_CTRL_0_31_EN_LNK_DISABLED (0x00000000U)
  601. #define CSL_SDMA_CLNK_CTRL_0_31_NEXTLCH_ID_MASK (0x0000001FU)
  602. #define CSL_SDMA_CLNK_CTRL_0_31_NEXTLCH_ID_SHIFT (0U)
  603. #define CSL_SDMA_CLNK_CTRL_0_31_NEXTLCH_ID_RESETVAL (0x00000000U)
  604. #define CSL_SDMA_CLNK_CTRL_0_31_NEXTLCH_ID_MAX (0x0000001fU)
  605. #define CSL_SDMA_CLNK_CTRL_0_31_RESETVAL (0x00000000U)
  606. /* CICR_0_31 */
  607. #define CSL_SDMA_CICR_0_31_HALF_IE_MASK (0x00000004U)
  608. #define CSL_SDMA_CICR_0_31_HALF_IE_SHIFT (2U)
  609. #define CSL_SDMA_CICR_0_31_HALF_IE_RESETVAL (0x00000000U)
  610. #define CSL_SDMA_CICR_0_31_HALF_IE_ENABLED (0x00000001U)
  611. #define CSL_SDMA_CICR_0_31_HALF_IE_DISABLED (0x00000000U)
  612. #define CSL_SDMA_CICR_0_31_DRAIN_IE_MASK (0x00001000U)
  613. #define CSL_SDMA_CICR_0_31_DRAIN_IE_SHIFT (12U)
  614. #define CSL_SDMA_CICR_0_31_DRAIN_IE_RESETVAL (0x00000000U)
  615. #define CSL_SDMA_CICR_0_31_DRAIN_IE_MAX (0x00000001U)
  616. #define CSL_SDMA_CICR_0_31_PKT_IE_MASK (0x00000080U)
  617. #define CSL_SDMA_CICR_0_31_PKT_IE_SHIFT (7U)
  618. #define CSL_SDMA_CICR_0_31_PKT_IE_RESETVAL (0x00000000U)
  619. #define CSL_SDMA_CICR_0_31_PKT_IE_ENABLED (0x00000001U)
  620. #define CSL_SDMA_CICR_0_31_PKT_IE_DISABLED (0x00000000U)
  621. #define CSL_SDMA_CICR_0_31_SECURE_ERR_IE_MASK (0x00000200U)
  622. #define CSL_SDMA_CICR_0_31_SECURE_ERR_IE_SHIFT (9U)
  623. #define CSL_SDMA_CICR_0_31_SECURE_ERR_IE_RESETVAL (0x00000001U)
  624. #define CSL_SDMA_CICR_0_31_SECURE_ERR_IE_ENABLED (0x00000001U)
  625. #define CSL_SDMA_CICR_0_31_SECURE_ERR_IE_DISABLED (0x00000000U)
  626. #define CSL_SDMA_CICR_0_31_MISALIGNED_ERR_IE_MASK (0x00000800U)
  627. #define CSL_SDMA_CICR_0_31_MISALIGNED_ERR_IE_SHIFT (11U)
  628. #define CSL_SDMA_CICR_0_31_MISALIGNED_ERR_IE_RESETVAL (0x00000000U)
  629. #define CSL_SDMA_CICR_0_31_MISALIGNED_ERR_IE_ENABLED (0x00000001U)
  630. #define CSL_SDMA_CICR_0_31_MISALIGNED_ERR_IE_DISABLED (0x00000000U)
  631. #define CSL_SDMA_CICR_0_31_LAST_IE_MASK (0x00000010U)
  632. #define CSL_SDMA_CICR_0_31_LAST_IE_SHIFT (4U)
  633. #define CSL_SDMA_CICR_0_31_LAST_IE_RESETVAL (0x00000000U)
  634. #define CSL_SDMA_CICR_0_31_LAST_IE_ENABLED (0x00000001U)
  635. #define CSL_SDMA_CICR_0_31_LAST_IE_DISABLED (0x00000000U)
  636. #define CSL_SDMA_CICR_0_31_TRANS_ERR_IE_MASK (0x00000100U)
  637. #define CSL_SDMA_CICR_0_31_TRANS_ERR_IE_SHIFT (8U)
  638. #define CSL_SDMA_CICR_0_31_TRANS_ERR_IE_RESETVAL (0x00000000U)
  639. #define CSL_SDMA_CICR_0_31_TRANS_ERR_IE_ENABLED (0x00000001U)
  640. #define CSL_SDMA_CICR_0_31_TRANS_ERR_IE_DISABLED (0x00000000U)
  641. #define CSL_SDMA_CICR_0_31_SUPERVISOR_ERR_IE_MASK (0x00000400U)
  642. #define CSL_SDMA_CICR_0_31_SUPERVISOR_ERR_IE_SHIFT (10U)
  643. #define CSL_SDMA_CICR_0_31_SUPERVISOR_ERR_IE_RESETVAL (0x00000001U)
  644. #define CSL_SDMA_CICR_0_31_SUPERVISOR_ERR_IE_ENABLED (0x00000001U)
  645. #define CSL_SDMA_CICR_0_31_SUPERVISOR_ERR_IE_DISABLED (0x00000000U)
  646. #define CSL_SDMA_CICR_0_31_DROP_IE_MASK (0x00000002U)
  647. #define CSL_SDMA_CICR_0_31_DROP_IE_SHIFT (1U)
  648. #define CSL_SDMA_CICR_0_31_DROP_IE_RESETVAL (0x00000000U)
  649. #define CSL_SDMA_CICR_0_31_DROP_IE_ENABLED (0x00000001U)
  650. #define CSL_SDMA_CICR_0_31_DROP_IE_DISABLED (0x00000000U)
  651. #define CSL_SDMA_CICR_0_31_FRM_IE_MASK (0x00000008U)
  652. #define CSL_SDMA_CICR_0_31_FRM_IE_SHIFT (3U)
  653. #define CSL_SDMA_CICR_0_31_FRM_IE_RESETVAL (0x00000000U)
  654. #define CSL_SDMA_CICR_0_31_FRM_IE_ENABLED (0x00000001U)
  655. #define CSL_SDMA_CICR_0_31_FRM_IE_DISABLED (0x00000000U)
  656. #define CSL_SDMA_CICR_0_31_BLOCK_IE_MASK (0x00000020U)
  657. #define CSL_SDMA_CICR_0_31_BLOCK_IE_SHIFT (5U)
  658. #define CSL_SDMA_CICR_0_31_BLOCK_IE_RESETVAL (0x00000000U)
  659. #define CSL_SDMA_CICR_0_31_BLOCK_IE_ENABLED (0x00000001U)
  660. #define CSL_SDMA_CICR_0_31_BLOCK_IE_DISABLED (0x00000000U)
  661. #define CSL_SDMA_CICR_0_31_DOMAIN_ERR_IE_MASK (0x00002000U)
  662. #define CSL_SDMA_CICR_0_31_DOMAIN_ERR_IE_SHIFT (13U)
  663. #define CSL_SDMA_CICR_0_31_DOMAIN_ERR_IE_RESETVAL (0x00000001U)
  664. #define CSL_SDMA_CICR_0_31_DOMAIN_ERR_IE_MAX (0x00000001U)
  665. #define CSL_SDMA_CICR_0_31_SUPER_BLOCK_IE_MASK (0x00004000U)
  666. #define CSL_SDMA_CICR_0_31_SUPER_BLOCK_IE_SHIFT (14U)
  667. #define CSL_SDMA_CICR_0_31_SUPER_BLOCK_IE_RESETVAL (0x00000000U)
  668. #define CSL_SDMA_CICR_0_31_SUPER_BLOCK_IE_MAX (0x00000001U)
  669. #define CSL_SDMA_CICR_0_31_RESETVAL (0x00002600U)
  670. /* CSR_0_31 */
  671. #define CSL_SDMA_CSR_0_31_DROP_MASK (0x00000002U)
  672. #define CSL_SDMA_CSR_0_31_DROP_SHIFT (1U)
  673. #define CSL_SDMA_CSR_0_31_DROP_RESETVAL (0x00000000U)
  674. #define CSL_SDMA_CSR_0_31_DROP_READ0X1 (0x00000001U)
  675. #define CSL_SDMA_CSR_0_31_DROP_READ0X0 (0x00000000U)
  676. #define CSL_SDMA_CSR_0_31_DROP_WRITE0X0 (0x00000000U)
  677. #define CSL_SDMA_CSR_0_31_DROP_WRITE0X1 (0x00000001U)
  678. #define CSL_SDMA_CSR_0_31_BLOCK_MASK (0x00000020U)
  679. #define CSL_SDMA_CSR_0_31_BLOCK_SHIFT (5U)
  680. #define CSL_SDMA_CSR_0_31_BLOCK_RESETVAL (0x00000000U)
  681. #define CSL_SDMA_CSR_0_31_BLOCK_READ0X1 (0x00000001U)
  682. #define CSL_SDMA_CSR_0_31_BLOCK_READ0X0 (0x00000000U)
  683. #define CSL_SDMA_CSR_0_31_BLOCK_WRITE0X0 (0x00000000U)
  684. #define CSL_SDMA_CSR_0_31_BLOCK_WRITE0X1 (0x00000001U)
  685. #define CSL_SDMA_CSR_0_31_HALF_MASK (0x00000004U)
  686. #define CSL_SDMA_CSR_0_31_HALF_SHIFT (2U)
  687. #define CSL_SDMA_CSR_0_31_HALF_RESETVAL (0x00000000U)
  688. #define CSL_SDMA_CSR_0_31_HALF_READ0X1 (0x00000001U)
  689. #define CSL_SDMA_CSR_0_31_HALF_READ0X0 (0x00000000U)
  690. #define CSL_SDMA_CSR_0_31_HALF_WRITE0X0 (0x00000000U)
  691. #define CSL_SDMA_CSR_0_31_HALF_WRITE0X1 (0x00000001U)
  692. #define CSL_SDMA_CSR_0_31_DRAIN_END_MASK (0x00001000U)
  693. #define CSL_SDMA_CSR_0_31_DRAIN_END_SHIFT (12U)
  694. #define CSL_SDMA_CSR_0_31_DRAIN_END_RESETVAL (0x00000000U)
  695. #define CSL_SDMA_CSR_0_31_DRAIN_END_MAX (0x00000001U)
  696. #define CSL_SDMA_CSR_0_31_MISALIGNED_ADRS_ERR_MASK (0x00000800U)
  697. #define CSL_SDMA_CSR_0_31_MISALIGNED_ADRS_ERR_SHIFT (11U)
  698. #define CSL_SDMA_CSR_0_31_MISALIGNED_ADRS_ERR_RESETVAL (0x00000000U)
  699. #define CSL_SDMA_CSR_0_31_MISALIGNED_ADRS_ERR_READ0X1 (0x00000001U)
  700. #define CSL_SDMA_CSR_0_31_MISALIGNED_ADRS_ERR_READ0X0 (0x00000000U)
  701. #define CSL_SDMA_CSR_0_31_MISALIGNED_ADRS_ERR_WRITE0X0 (0x00000000U)
  702. #define CSL_SDMA_CSR_0_31_MISALIGNED_ADRS_ERR_WRITE0X1 (0x00000001U)
  703. #define CSL_SDMA_CSR_0_31_SECURE_ERR_MASK (0x00000200U)
  704. #define CSL_SDMA_CSR_0_31_SECURE_ERR_SHIFT (9U)
  705. #define CSL_SDMA_CSR_0_31_SECURE_ERR_RESETVAL (0x00000000U)
  706. #define CSL_SDMA_CSR_0_31_SECURE_ERR_READ0X1 (0x00000001U)
  707. #define CSL_SDMA_CSR_0_31_SECURE_ERR_READ0X0 (0x00000000U)
  708. #define CSL_SDMA_CSR_0_31_SECURE_ERR_WRITE0X0 (0x00000000U)
  709. #define CSL_SDMA_CSR_0_31_SECURE_ERR_WRITE0X1 (0x00000001U)
  710. #define CSL_SDMA_CSR_0_31_SYNC_MASK (0x00000040U)
  711. #define CSL_SDMA_CSR_0_31_SYNC_SHIFT (6U)
  712. #define CSL_SDMA_CSR_0_31_SYNC_RESETVAL (0x00000000U)
  713. #define CSL_SDMA_CSR_0_31_SYNC_READ0X1 (0x00000001U)
  714. #define CSL_SDMA_CSR_0_31_SYNC_READ0X0 (0x00000000U)
  715. #define CSL_SDMA_CSR_0_31_SYNC_WRITE0X0 (0x00000000U)
  716. #define CSL_SDMA_CSR_0_31_SYNC_WRITE0X1 (0x00000001U)
  717. #define CSL_SDMA_CSR_0_31_SUPERVISOR_ERR_MASK (0x00000400U)
  718. #define CSL_SDMA_CSR_0_31_SUPERVISOR_ERR_SHIFT (10U)
  719. #define CSL_SDMA_CSR_0_31_SUPERVISOR_ERR_RESETVAL (0x00000000U)
  720. #define CSL_SDMA_CSR_0_31_SUPERVISOR_ERR_READ0X1 (0x00000001U)
  721. #define CSL_SDMA_CSR_0_31_SUPERVISOR_ERR_READ0X0 (0x00000000U)
  722. #define CSL_SDMA_CSR_0_31_SUPERVISOR_ERR_WRITE0X0 (0x00000000U)
  723. #define CSL_SDMA_CSR_0_31_SUPERVISOR_ERR_WRITE0X1 (0x00000001U)
  724. #define CSL_SDMA_CSR_0_31_PKT_MASK (0x00000080U)
  725. #define CSL_SDMA_CSR_0_31_PKT_SHIFT (7U)
  726. #define CSL_SDMA_CSR_0_31_PKT_RESETVAL (0x00000000U)
  727. #define CSL_SDMA_CSR_0_31_PKT_READ0X1 (0x00000001U)
  728. #define CSL_SDMA_CSR_0_31_PKT_READ0X0 (0x00000000U)
  729. #define CSL_SDMA_CSR_0_31_PKT_WRITE0X0 (0x00000000U)
  730. #define CSL_SDMA_CSR_0_31_PKT_WRITE0X1 (0x00000001U)
  731. #define CSL_SDMA_CSR_0_31_LAST_MASK (0x00000010U)
  732. #define CSL_SDMA_CSR_0_31_LAST_SHIFT (4U)
  733. #define CSL_SDMA_CSR_0_31_LAST_RESETVAL (0x00000000U)
  734. #define CSL_SDMA_CSR_0_31_LAST_READ0X1 (0x00000001U)
  735. #define CSL_SDMA_CSR_0_31_LAST_READ0X0 (0x00000000U)
  736. #define CSL_SDMA_CSR_0_31_LAST_WRITE0X0 (0x00000000U)
  737. #define CSL_SDMA_CSR_0_31_LAST_WRITE0X1 (0x00000001U)
  738. #define CSL_SDMA_CSR_0_31_TRANS_ERR_MASK (0x00000100U)
  739. #define CSL_SDMA_CSR_0_31_TRANS_ERR_SHIFT (8U)
  740. #define CSL_SDMA_CSR_0_31_TRANS_ERR_RESETVAL (0x00000000U)
  741. #define CSL_SDMA_CSR_0_31_TRANS_ERR_READ0X1 (0x00000001U)
  742. #define CSL_SDMA_CSR_0_31_TRANS_ERR_READ0X0 (0x00000000U)
  743. #define CSL_SDMA_CSR_0_31_TRANS_ERR_WRITE0X0 (0x00000000U)
  744. #define CSL_SDMA_CSR_0_31_TRANS_ERR_WRITE0X1 (0x00000001U)
  745. #define CSL_SDMA_CSR_0_31_FRM_MASK (0x00000008U)
  746. #define CSL_SDMA_CSR_0_31_FRM_SHIFT (3U)
  747. #define CSL_SDMA_CSR_0_31_FRM_RESETVAL (0x00000000U)
  748. #define CSL_SDMA_CSR_0_31_FRM_READ0X1 (0x00000001U)
  749. #define CSL_SDMA_CSR_0_31_FRM_READ0X0 (0x00000000U)
  750. #define CSL_SDMA_CSR_0_31_FRM_WRITE0X0 (0x00000000U)
  751. #define CSL_SDMA_CSR_0_31_FRM_WRITE0X1 (0x00000001U)
  752. #define CSL_SDMA_CSR_0_31_DOMAIN_ERR_MASK (0x00002000U)
  753. #define CSL_SDMA_CSR_0_31_DOMAIN_ERR_SHIFT (13U)
  754. #define CSL_SDMA_CSR_0_31_DOMAIN_ERR_RESETVAL (0x00000000U)
  755. #define CSL_SDMA_CSR_0_31_DOMAIN_ERR_MAX (0x00000001U)
  756. #define CSL_SDMA_CSR_0_31_SUPER_BLOCK_MASK (0x00004000U)
  757. #define CSL_SDMA_CSR_0_31_SUPER_BLOCK_SHIFT (14U)
  758. #define CSL_SDMA_CSR_0_31_SUPER_BLOCK_RESETVAL (0x00000000U)
  759. #define CSL_SDMA_CSR_0_31_SUPER_BLOCK_MAX (0x00000001U)
  760. #define CSL_SDMA_CSR_0_31_RESETVAL (0x00000000U)
  761. /* CSDP_0_31 */
  762. #define CSL_SDMA_CSDP_0_31_DST_ENDIAN_LOCK_MASK (0x00040000U)
  763. #define CSL_SDMA_CSDP_0_31_DST_ENDIAN_LOCK_SHIFT (18U)
  764. #define CSL_SDMA_CSDP_0_31_DST_ENDIAN_LOCK_RESETVAL (0x00000000U)
  765. #define CSL_SDMA_CSDP_0_31_DST_ENDIAN_LOCK_ADAPTED (0x00000000U)
  766. #define CSL_SDMA_CSDP_0_31_DST_ENDIAN_LOCK_LOCKED (0x00000001U)
  767. #define CSL_SDMA_CSDP_0_31_SRC_ENDIAN_LOCK_MASK (0x00100000U)
  768. #define CSL_SDMA_CSDP_0_31_SRC_ENDIAN_LOCK_SHIFT (20U)
  769. #define CSL_SDMA_CSDP_0_31_SRC_ENDIAN_LOCK_RESETVAL (0x00000000U)
  770. #define CSL_SDMA_CSDP_0_31_SRC_ENDIAN_LOCK_ADAPTED (0x00000000U)
  771. #define CSL_SDMA_CSDP_0_31_SRC_ENDIAN_LOCK_LOCKED (0x00000001U)
  772. #define CSL_SDMA_CSDP_0_31_DST_BURST_EN_MASK (0x0000C000U)
  773. #define CSL_SDMA_CSDP_0_31_DST_BURST_EN_SHIFT (14U)
  774. #define CSL_SDMA_CSDP_0_31_DST_BURST_EN_RESETVAL (0x00000000U)
  775. #define CSL_SDMA_CSDP_0_31_DST_BURST_EN_SINGLE (0x00000000U)
  776. #define CSL_SDMA_CSDP_0_31_DST_BURST_EN__16B (0x00000001U)
  777. #define CSL_SDMA_CSDP_0_31_DST_BURST_EN__32B (0x00000002U)
  778. #define CSL_SDMA_CSDP_0_31_DST_BURST_EN__64B (0x00000003U)
  779. #define CSL_SDMA_CSDP_0_31_WR_ADD_TRSLT_MASK (0x00001E00U)
  780. #define CSL_SDMA_CSDP_0_31_WR_ADD_TRSLT_SHIFT (9U)
  781. #define CSL_SDMA_CSDP_0_31_WR_ADD_TRSLT_RESETVAL (0x00000000U)
  782. #define CSL_SDMA_CSDP_0_31_WR_ADD_TRSLT_MAX (0x0000000fU)
  783. #define CSL_SDMA_CSDP_0_31_WRITE_MODE_MASK (0x00030000U)
  784. #define CSL_SDMA_CSDP_0_31_WRITE_MODE_SHIFT (16U)
  785. #define CSL_SDMA_CSDP_0_31_WRITE_MODE_RESETVAL (0x00000000U)
  786. #define CSL_SDMA_CSDP_0_31_WRITE_MODE_WRNP (0x00000000U)
  787. #define CSL_SDMA_CSDP_0_31_WRITE_MODE_POSTED (0x00000001U)
  788. #define CSL_SDMA_CSDP_0_31_WRITE_MODE_MAPPED (0x00000002U)
  789. #define CSL_SDMA_CSDP_0_31_WRITE_MODE_UNDEFINED (0x00000003U)
  790. #define CSL_SDMA_CSDP_0_31_DST_ENDIAN_MASK (0x00080000U)
  791. #define CSL_SDMA_CSDP_0_31_DST_ENDIAN_SHIFT (19U)
  792. #define CSL_SDMA_CSDP_0_31_DST_ENDIAN_RESETVAL (0x00000000U)
  793. #define CSL_SDMA_CSDP_0_31_DST_ENDIAN_LITTLE (0x00000000U)
  794. #define CSL_SDMA_CSDP_0_31_DST_ENDIAN_BIG (0x00000001U)
  795. #define CSL_SDMA_CSDP_0_31_SRC_BURST_EN_MASK (0x00000180U)
  796. #define CSL_SDMA_CSDP_0_31_SRC_BURST_EN_SHIFT (7U)
  797. #define CSL_SDMA_CSDP_0_31_SRC_BURST_EN_RESETVAL (0x00000000U)
  798. #define CSL_SDMA_CSDP_0_31_SRC_BURST_EN_SINGLE (0x00000000U)
  799. #define CSL_SDMA_CSDP_0_31_SRC_BURST_EN__16B (0x00000001U)
  800. #define CSL_SDMA_CSDP_0_31_SRC_BURST_EN__32B (0x00000002U)
  801. #define CSL_SDMA_CSDP_0_31_SRC_BURST_EN__64B (0x00000003U)
  802. #define CSL_SDMA_CSDP_0_31_RD_ADD_TRSLT_MASK (0x0000003CU)
  803. #define CSL_SDMA_CSDP_0_31_RD_ADD_TRSLT_SHIFT (2U)
  804. #define CSL_SDMA_CSDP_0_31_RD_ADD_TRSLT_RESETVAL (0x00000000U)
  805. #define CSL_SDMA_CSDP_0_31_RD_ADD_TRSLT_MAX (0x0000000fU)
  806. #define CSL_SDMA_CSDP_0_31_DST_PACKED_MASK (0x00002000U)
  807. #define CSL_SDMA_CSDP_0_31_DST_PACKED_SHIFT (13U)
  808. #define CSL_SDMA_CSDP_0_31_DST_PACKED_RESETVAL (0x00000000U)
  809. #define CSL_SDMA_CSDP_0_31_DST_PACKED_PACKED (0x00000001U)
  810. #define CSL_SDMA_CSDP_0_31_DST_PACKED_NONPACKED (0x00000000U)
  811. #define CSL_SDMA_CSDP_0_31_SRC_PACKED_MASK (0x00000040U)
  812. #define CSL_SDMA_CSDP_0_31_SRC_PACKED_SHIFT (6U)
  813. #define CSL_SDMA_CSDP_0_31_SRC_PACKED_RESETVAL (0x00000000U)
  814. #define CSL_SDMA_CSDP_0_31_SRC_PACKED_PACKED (0x00000001U)
  815. #define CSL_SDMA_CSDP_0_31_SRC_PACKED_NONPACKED (0x00000000U)
  816. #define CSL_SDMA_CSDP_0_31_DATA_TYPE_MASK (0x00000003U)
  817. #define CSL_SDMA_CSDP_0_31_DATA_TYPE_SHIFT (0U)
  818. #define CSL_SDMA_CSDP_0_31_DATA_TYPE_RESETVAL (0x00000000U)
  819. #define CSL_SDMA_CSDP_0_31_DATA_TYPE__8B (0x00000000U)
  820. #define CSL_SDMA_CSDP_0_31_DATA_TYPE__16B (0x00000001U)
  821. #define CSL_SDMA_CSDP_0_31_DATA_TYPE__32B (0x00000002U)
  822. #define CSL_SDMA_CSDP_0_31_DATA_TYPE_UNDEFINED (0x00000003U)
  823. #define CSL_SDMA_CSDP_0_31_SRC_ENDIAN_MASK (0x00200000U)
  824. #define CSL_SDMA_CSDP_0_31_SRC_ENDIAN_SHIFT (21U)
  825. #define CSL_SDMA_CSDP_0_31_SRC_ENDIAN_RESETVAL (0x00000000U)
  826. #define CSL_SDMA_CSDP_0_31_SRC_ENDIAN_LITTLE (0x00000000U)
  827. #define CSL_SDMA_CSDP_0_31_SRC_ENDIAN_BIG (0x00000001U)
  828. #define CSL_SDMA_CSDP_0_31_RESETVAL (0x00000000U)
  829. /* CEN_0_31 */
  830. #define CSL_SDMA_CEN_0_31_CHANNEL_ELMNT_NBR_MASK (0x00FFFFFFU)
  831. #define CSL_SDMA_CEN_0_31_CHANNEL_ELMNT_NBR_SHIFT (0U)
  832. #define CSL_SDMA_CEN_0_31_CHANNEL_ELMNT_NBR_RESETVAL (0x00000000U)
  833. #define CSL_SDMA_CEN_0_31_CHANNEL_ELMNT_NBR_MAX (0x00ffffffU)
  834. #define CSL_SDMA_CEN_0_31_RESETVAL (0x00000000U)
  835. /* CFN_0_31 */
  836. #define CSL_SDMA_CFN_0_31_CHANNEL_FRM_NBR_MASK (0x0000FFFFU)
  837. #define CSL_SDMA_CFN_0_31_CHANNEL_FRM_NBR_SHIFT (0U)
  838. #define CSL_SDMA_CFN_0_31_CHANNEL_FRM_NBR_RESETVAL (0x00000000U)
  839. #define CSL_SDMA_CFN_0_31_CHANNEL_FRM_NBR_MAX (0x0000ffffU)
  840. #define CSL_SDMA_CFN_0_31_RESETVAL (0x00000000U)
  841. /* CSSA_0_31 */
  842. #define CSL_SDMA_CSSA_0_31_SRC_START_ADRS_MASK (0xFFFFFFFFU)
  843. #define CSL_SDMA_CSSA_0_31_SRC_START_ADRS_SHIFT (0U)
  844. #define CSL_SDMA_CSSA_0_31_SRC_START_ADRS_RESETVAL (0x00000000U)
  845. #define CSL_SDMA_CSSA_0_31_SRC_START_ADRS_MAX (0xffffffffU)
  846. #define CSL_SDMA_CSSA_0_31_RESETVAL (0x00000000U)
  847. /* CDSA_0_31 */
  848. #define CSL_SDMA_CDSA_0_31_DST_START_ADRS_MASK (0xFFFFFFFFU)
  849. #define CSL_SDMA_CDSA_0_31_DST_START_ADRS_SHIFT (0U)
  850. #define CSL_SDMA_CDSA_0_31_DST_START_ADRS_RESETVAL (0x00000000U)
  851. #define CSL_SDMA_CDSA_0_31_DST_START_ADRS_MAX (0xffffffffU)
  852. #define CSL_SDMA_CDSA_0_31_RESETVAL (0x00000000U)
  853. /* CSEI_0_31 */
  854. #define CSL_SDMA_CSEI_0_31_CHANNEL_SRC_ELMNT_IDX_MASK (0x0000FFFFU)
  855. #define CSL_SDMA_CSEI_0_31_CHANNEL_SRC_ELMNT_IDX_SHIFT (0U)
  856. #define CSL_SDMA_CSEI_0_31_CHANNEL_SRC_ELMNT_IDX_RESETVAL (0x00000000U)
  857. #define CSL_SDMA_CSEI_0_31_CHANNEL_SRC_ELMNT_IDX_MAX (0x0000ffffU)
  858. #define CSL_SDMA_CSEI_0_31_RESETVAL (0x00000000U)
  859. /* CSFI_0_31 */
  860. #define CSL_SDMA_CSFI_0_31_CH_SRC_FRM_IDX_OR_16BIT_PKT_ELNT_NBR_MASK (0xFFFFFFFFU)
  861. #define CSL_SDMA_CSFI_0_31_CH_SRC_FRM_IDX_OR_16BIT_PKT_ELNT_NBR_SHIFT (0U)
  862. #define CSL_SDMA_CSFI_0_31_CH_SRC_FRM_IDX_OR_16BIT_PKT_ELNT_NBR_RESETVAL (0x00000000U)
  863. #define CSL_SDMA_CSFI_0_31_CH_SRC_FRM_IDX_OR_16BIT_PKT_ELNT_NBR_MAX (0xffffffffU)
  864. #define CSL_SDMA_CSFI_0_31_RESETVAL (0x00000000U)
  865. /* CDEI_0_31 */
  866. #define CSL_SDMA_CDEI_0_31_CHANNEL_DST_ELMNT_IDX_MASK (0x0000FFFFU)
  867. #define CSL_SDMA_CDEI_0_31_CHANNEL_DST_ELMNT_IDX_SHIFT (0U)
  868. #define CSL_SDMA_CDEI_0_31_CHANNEL_DST_ELMNT_IDX_RESETVAL (0x00000000U)
  869. #define CSL_SDMA_CDEI_0_31_CHANNEL_DST_ELMNT_IDX_MAX (0x0000ffffU)
  870. #define CSL_SDMA_CDEI_0_31_RESETVAL (0x00000000U)
  871. /* CDFI_0_31 */
  872. #define CSL_SDMA_CDFI_0_31_CH_DST_FRM_IDX_OR_16BIT_PKT_ELNT_NBR_MASK (0xFFFFFFFFU)
  873. #define CSL_SDMA_CDFI_0_31_CH_DST_FRM_IDX_OR_16BIT_PKT_ELNT_NBR_SHIFT (0U)
  874. #define CSL_SDMA_CDFI_0_31_CH_DST_FRM_IDX_OR_16BIT_PKT_ELNT_NBR_RESETVAL (0x00000000U)
  875. #define CSL_SDMA_CDFI_0_31_CH_DST_FRM_IDX_OR_16BIT_PKT_ELNT_NBR_MAX (0xffffffffU)
  876. #define CSL_SDMA_CDFI_0_31_RESETVAL (0x00000000U)
  877. /* CSAC_0_31 */
  878. #define CSL_SDMA_CSAC_0_31_SRC_ELMNT_ADRS_MASK (0xFFFFFFFFU)
  879. #define CSL_SDMA_CSAC_0_31_SRC_ELMNT_ADRS_SHIFT (0U)
  880. #define CSL_SDMA_CSAC_0_31_SRC_ELMNT_ADRS_RESETVAL (0x00000000U)
  881. #define CSL_SDMA_CSAC_0_31_SRC_ELMNT_ADRS_MAX (0xffffffffU)
  882. #define CSL_SDMA_CSAC_0_31_RESETVAL (0x00000000U)
  883. /* CDAC_0_31 */
  884. #define CSL_SDMA_CDAC_0_31_DST_ELMNT_ADRS_MASK (0xFFFFFFFFU)
  885. #define CSL_SDMA_CDAC_0_31_DST_ELMNT_ADRS_SHIFT (0U)
  886. #define CSL_SDMA_CDAC_0_31_DST_ELMNT_ADRS_RESETVAL (0x00000000U)
  887. #define CSL_SDMA_CDAC_0_31_DST_ELMNT_ADRS_MAX (0xffffffffU)
  888. #define CSL_SDMA_CDAC_0_31_RESETVAL (0x00000000U)
  889. /* CCEN_0_31 */
  890. #define CSL_SDMA_CCEN_0_31_CURRENT_ELMNT_NBR_MASK (0x00FFFFFFU)
  891. #define CSL_SDMA_CCEN_0_31_CURRENT_ELMNT_NBR_SHIFT (0U)
  892. #define CSL_SDMA_CCEN_0_31_CURRENT_ELMNT_NBR_RESETVAL (0x00000000U)
  893. #define CSL_SDMA_CCEN_0_31_CURRENT_ELMNT_NBR_MAX (0x00ffffffU)
  894. #define CSL_SDMA_CCEN_0_31_RESETVAL (0x00000000U)
  895. /* CCFN_0_31 */
  896. #define CSL_SDMA_CCFN_0_31_CURRENT_FRM_NBR_MASK (0x0000FFFFU)
  897. #define CSL_SDMA_CCFN_0_31_CURRENT_FRM_NBR_SHIFT (0U)
  898. #define CSL_SDMA_CCFN_0_31_CURRENT_FRM_NBR_RESETVAL (0x00000000U)
  899. #define CSL_SDMA_CCFN_0_31_CURRENT_FRM_NBR_MAX (0x0000ffffU)
  900. #define CSL_SDMA_CCFN_0_31_RESETVAL (0x00000000U)
  901. /* COLOR_0_31 */
  902. #define CSL_SDMA_COLOR_0_31_CH_BLT_FRGRND_COLOR_OR_SOLID_PTRN_MASK (0x00FFFFFFU)
  903. #define CSL_SDMA_COLOR_0_31_CH_BLT_FRGRND_COLOR_OR_SOLID_PTRN_SHIFT (0U)
  904. #define CSL_SDMA_COLOR_0_31_CH_BLT_FRGRND_COLOR_OR_SOLID_PTRN_RESETVAL (0x00000000U)
  905. #define CSL_SDMA_COLOR_0_31_CH_BLT_FRGRND_COLOR_OR_SOLID_PTRN_MAX (0x00ffffffU)
  906. #define CSL_SDMA_COLOR_0_31_RESETVAL (0x00000000U)
  907. /* CDP_0_31 */
  908. #define CSL_SDMA_CDP_0_31_DEST_VALID_MASK (0x00000003U)
  909. #define CSL_SDMA_CDP_0_31_DEST_VALID_SHIFT (0U)
  910. #define CSL_SDMA_CDP_0_31_DEST_VALID_RESETVAL (0x00000000U)
  911. #define CSL_SDMA_CDP_0_31_DEST_VALID_MAX (0x00000003U)
  912. #define CSL_SDMA_CDP_0_31_SOURCE_VALID_MASK (0x0000000CU)
  913. #define CSL_SDMA_CDP_0_31_SOURCE_VALID_SHIFT (2U)
  914. #define CSL_SDMA_CDP_0_31_SOURCE_VALID_RESETVAL (0x00000000U)
  915. #define CSL_SDMA_CDP_0_31_SOURCE_VALID_MAX (0x00000003U)
  916. #define CSL_SDMA_CDP_0_31_NEXT_DESCRIPTOR_TYPE_MASK (0x00000070U)
  917. #define CSL_SDMA_CDP_0_31_NEXT_DESCRIPTOR_TYPE_SHIFT (4U)
  918. #define CSL_SDMA_CDP_0_31_NEXT_DESCRIPTOR_TYPE_RESETVAL (0x00000000U)
  919. #define CSL_SDMA_CDP_0_31_NEXT_DESCRIPTOR_TYPE_MAX (0x00000007U)
  920. #define CSL_SDMA_CDP_0_31_PAUSE_LINK_LIST_MASK (0x00000080U)
  921. #define CSL_SDMA_CDP_0_31_PAUSE_LINK_LIST_SHIFT (7U)
  922. #define CSL_SDMA_CDP_0_31_PAUSE_LINK_LIST_RESETVAL (0x00000000U)
  923. #define CSL_SDMA_CDP_0_31_PAUSE_LINK_LIST_MAX (0x00000001U)
  924. #define CSL_SDMA_CDP_0_31_TRANSFER_MODE_MASK (0x00000300U)
  925. #define CSL_SDMA_CDP_0_31_TRANSFER_MODE_SHIFT (8U)
  926. #define CSL_SDMA_CDP_0_31_TRANSFER_MODE_RESETVAL (0x00000000U)
  927. #define CSL_SDMA_CDP_0_31_TRANSFER_MODE_MAX (0x00000003U)
  928. #define CSL_SDMA_CDP_0_31_FAST_MASK (0x00000400U)
  929. #define CSL_SDMA_CDP_0_31_FAST_SHIFT (10U)
  930. #define CSL_SDMA_CDP_0_31_FAST_RESETVAL (0x00000000U)
  931. #define CSL_SDMA_CDP_0_31_FAST_MAX (0x00000001U)
  932. #define CSL_SDMA_CDP_0_31_OV_MASK (0x00000800U)
  933. #define CSL_SDMA_CDP_0_31_OV_SHIFT (11U)
  934. #define CSL_SDMA_CDP_0_31_OV_RESETVAL (0x00000000U)
  935. #define CSL_SDMA_CDP_0_31_OV_MAX (0x00000001U)
  936. #define CSL_SDMA_CDP_0_31_WI_MASK (0x00001000U)
  937. #define CSL_SDMA_CDP_0_31_WI_SHIFT (12U)
  938. #define CSL_SDMA_CDP_0_31_WI_RESETVAL (0x00000000U)
  939. #define CSL_SDMA_CDP_0_31_WI_MAX (0x00000001U)
  940. #define CSL_SDMA_CDP_0_31_ALGO_MASK (0x00006000U)
  941. #define CSL_SDMA_CDP_0_31_ALGO_SHIFT (13U)
  942. #define CSL_SDMA_CDP_0_31_ALGO_RESETVAL (0x00000000U)
  943. #define CSL_SDMA_CDP_0_31_ALGO_MAX (0x00000003U)
  944. #define CSL_SDMA_CDP_0_31_DES_ENDIAN_MASK (0x00008000U)
  945. #define CSL_SDMA_CDP_0_31_DES_ENDIAN_SHIFT (15U)
  946. #define CSL_SDMA_CDP_0_31_DES_ENDIAN_RESETVAL (0x00000000U)
  947. #define CSL_SDMA_CDP_0_31_DES_ENDIAN_MAX (0x00000001U)
  948. #define CSL_SDMA_CDP_0_31_SLAVE2FREE_MASK (0x00010000U)
  949. #define CSL_SDMA_CDP_0_31_SLAVE2FREE_SHIFT (16U)
  950. #define CSL_SDMA_CDP_0_31_SLAVE2FREE_RESETVAL (0x00000000U)
  951. #define CSL_SDMA_CDP_0_31_SLAVE2FREE_MAX (0x00000001U)
  952. #define CSL_SDMA_CDP_0_31_RESETVAL (0x00000000U)
  953. /* CNDP_0_31 */
  954. #define CSL_SDMA_CNDP_0_31_NEXT_DESCRIPTOR_POINTER_MASK (0xFFFFFFFCU)
  955. #define CSL_SDMA_CNDP_0_31_NEXT_DESCRIPTOR_POINTER_SHIFT (2U)
  956. #define CSL_SDMA_CNDP_0_31_NEXT_DESCRIPTOR_POINTER_RESETVAL (0x00000000U)
  957. #define CSL_SDMA_CNDP_0_31_NEXT_DESCRIPTOR_POINTER_MAX (0x3fffffffU)
  958. #define CSL_SDMA_CNDP_0_31_RESETVAL (0x00000000U)
  959. /* CCDN_0_31 */
  960. #define CSL_SDMA_CCDN_0_31_NEXT_DESCRIPTOR_POINTER_MASK (0x0000FFFFU)
  961. #define CSL_SDMA_CCDN_0_31_NEXT_DESCRIPTOR_POINTER_SHIFT (0U)
  962. #define CSL_SDMA_CCDN_0_31_NEXT_DESCRIPTOR_POINTER_RESETVAL (0x00000000U)
  963. #define CSL_SDMA_CCDN_0_31_NEXT_DESCRIPTOR_POINTER_MAX (0x0000ffffU)
  964. #define CSL_SDMA_CCDN_0_31_RESETVAL (0x00000000U)
  965. #ifdef __cplusplus
  966. }
  967. #endif
  968. #endif