arm_axidma.h 73 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378
  1. /* Copyright (C) 2018 RDA Technologies Limited and/or its affiliates("RDA").
  2. * All rights reserved.
  3. *
  4. * This software is supplied "AS IS" without any warranties.
  5. * RDA assumes no responsibility or liability for the use of the software,
  6. * conveys no license or title under any patent, copyright, or mask work
  7. * right to the product. RDA reserves the right to make changes in the
  8. * software without notification. RDA also make no representation or
  9. * warranty that such application will be suitable for the specified use
  10. * without further testing or modification.
  11. */
  12. #ifndef _ARM_AXIDMA_H_
  13. #define _ARM_AXIDMA_H_
  14. // Auto generated by dtools(see dtools.txt for its version).
  15. // Don't edit it manually!
  16. #define REG_AP_AXIDMA_BASE (0x020c0000)
  17. #define REG_CP_AXIDMA_BASE (0x12040000)
  18. typedef volatile struct
  19. {
  20. uint32_t axidma_conf; // 0x00000000
  21. uint32_t axidma_delay; // 0x00000004
  22. uint32_t axidma_status; // 0x00000008
  23. uint32_t axidma_irq_stat; // 0x0000000c
  24. uint32_t axidma_arm_req_stat; // 0x00000010
  25. uint32_t axidma_arm_ack_stat; // 0x00000014
  26. uint32_t __24[2]; // 0x00000018
  27. uint32_t axidma_ch_irq_distr; // 0x00000020
  28. uint32_t __36[7]; // 0x00000024
  29. uint32_t axidma_c0_conf; // 0x00000040
  30. uint32_t axidma_c0_map; // 0x00000044
  31. uint32_t axidma_c0_saddr; // 0x00000048
  32. uint32_t axidma_c0_daddr; // 0x0000004c
  33. uint32_t axidma_c0_count; // 0x00000050
  34. uint32_t axidma_c0_countp; // 0x00000054
  35. uint32_t axidma_c0_status; // 0x00000058
  36. uint32_t axidma_c0_sgaddr; // 0x0000005c
  37. uint32_t axidma_c0_sgconf; // 0x00000060
  38. uint32_t axidma_c0_set; // 0x00000064
  39. uint32_t axidma_c0_clr; // 0x00000068
  40. uint32_t __108[5]; // 0x0000006c
  41. uint32_t axidma_c1_conf; // 0x00000080
  42. uint32_t axidma_c1_map; // 0x00000084
  43. uint32_t axidma_c1_saddr; // 0x00000088
  44. uint32_t axidma_c1_daddr; // 0x0000008c
  45. uint32_t axidma_c1_count; // 0x00000090
  46. uint32_t axidma_c1_countp; // 0x00000094
  47. uint32_t axidma_c1_status; // 0x00000098
  48. uint32_t axidma_c1_sgaddr; // 0x0000009c
  49. uint32_t axidma_c1_sgconf; // 0x000000a0
  50. uint32_t axidma_c1_set; // 0x000000a4
  51. uint32_t axidma_c1_clr; // 0x000000a8
  52. uint32_t __172[5]; // 0x000000ac
  53. uint32_t axidma_c2_conf; // 0x000000c0
  54. uint32_t axidma_c2_map; // 0x000000c4
  55. uint32_t axidma_c2_saddr; // 0x000000c8
  56. uint32_t axidma_c2_daddr; // 0x000000cc
  57. uint32_t axidma_c2_count; // 0x000000d0
  58. uint32_t axidma_c2_countp; // 0x000000d4
  59. uint32_t axidma_c2_status; // 0x000000d8
  60. uint32_t axidma_c2_sgaddr; // 0x000000dc
  61. uint32_t axidma_c2_sgconf; // 0x000000e0
  62. uint32_t axidma_c2_set; // 0x000000e4
  63. uint32_t axidma_c2_clr; // 0x000000e8
  64. uint32_t __236[5]; // 0x000000ec
  65. uint32_t axidma_c3_conf; // 0x00000100
  66. uint32_t axidma_c3_map; // 0x00000104
  67. uint32_t axidma_c3_saddr; // 0x00000108
  68. uint32_t axidma_c3_daddr; // 0x0000010c
  69. uint32_t axidma_c3_count; // 0x00000110
  70. uint32_t axidma_c3_countp; // 0x00000114
  71. uint32_t axidma_c3_status; // 0x00000118
  72. uint32_t axidma_c3_sgaddr; // 0x0000011c
  73. uint32_t axidma_c3_sgconf; // 0x00000120
  74. uint32_t axidma_c3_set; // 0x00000124
  75. uint32_t axidma_c3_clr; // 0x00000128
  76. uint32_t __300[5]; // 0x0000012c
  77. uint32_t axidma_c4_conf; // 0x00000140
  78. uint32_t axidma_c4_map; // 0x00000144
  79. uint32_t axidma_c4_saddr; // 0x00000148
  80. uint32_t axidma_c4_daddr; // 0x0000014c
  81. uint32_t axidma_c4_count; // 0x00000150
  82. uint32_t axidma_c4_countp; // 0x00000154
  83. uint32_t axidma_c4_status; // 0x00000158
  84. uint32_t axidma_c4_sgaddr; // 0x0000015c
  85. uint32_t axidma_c4_sgconf; // 0x00000160
  86. uint32_t axidma_c4_set; // 0x00000164
  87. uint32_t axidma_c4_clr; // 0x00000168
  88. uint32_t __364[5]; // 0x0000016c
  89. uint32_t axidma_c5_conf; // 0x00000180
  90. uint32_t axidma_c5_map; // 0x00000184
  91. uint32_t axidma_c5_saddr; // 0x00000188
  92. uint32_t axidma_c5_daddr; // 0x0000018c
  93. uint32_t axidma_c5_count; // 0x00000190
  94. uint32_t axidma_c5_countp; // 0x00000194
  95. uint32_t axidma_c5_status; // 0x00000198
  96. uint32_t axidma_c5_sgaddr; // 0x0000019c
  97. uint32_t axidma_c5_sgconf; // 0x000001a0
  98. uint32_t axidma_c5_set; // 0x000001a4
  99. uint32_t axidma_c5_clr; // 0x000001a8
  100. uint32_t __428[5]; // 0x000001ac
  101. uint32_t axidma_c6_conf; // 0x000001c0
  102. uint32_t axidma_c6_map; // 0x000001c4
  103. uint32_t axidma_c6_saddr; // 0x000001c8
  104. uint32_t axidma_c6_daddr; // 0x000001cc
  105. uint32_t axidma_c6_count; // 0x000001d0
  106. uint32_t axidma_c6_countp; // 0x000001d4
  107. uint32_t axidma_c6_status; // 0x000001d8
  108. uint32_t axidma_c6_sgaddr; // 0x000001dc
  109. uint32_t axidma_c6_sgconf; // 0x000001e0
  110. uint32_t axidma_c6_set; // 0x000001e4
  111. uint32_t axidma_c6_clr; // 0x000001e8
  112. uint32_t __492[5]; // 0x000001ec
  113. uint32_t axidma_c7_conf; // 0x00000200
  114. uint32_t axidma_c7_map; // 0x00000204
  115. uint32_t axidma_c7_saddr; // 0x00000208
  116. uint32_t axidma_c7_daddr; // 0x0000020c
  117. uint32_t axidma_c7_count; // 0x00000210
  118. uint32_t axidma_c7_countp; // 0x00000214
  119. uint32_t axidma_c7_status; // 0x00000218
  120. uint32_t axidma_c7_sgaddr; // 0x0000021c
  121. uint32_t axidma_c7_sgconf; // 0x00000220
  122. uint32_t axidma_c7_set; // 0x00000224
  123. uint32_t axidma_c7_clr; // 0x00000228
  124. uint32_t __556[5]; // 0x0000022c
  125. uint32_t axidma_c8_conf; // 0x00000240
  126. uint32_t axidma_c8_map; // 0x00000244
  127. uint32_t axidma_c8_saddr; // 0x00000248
  128. uint32_t axidma_c8_daddr; // 0x0000024c
  129. uint32_t axidma_c8_count; // 0x00000250
  130. uint32_t axidma_c8_countp; // 0x00000254
  131. uint32_t axidma_c8_status; // 0x00000258
  132. uint32_t axidma_c8_sgaddr; // 0x0000025c
  133. uint32_t axidma_c8_sgconf; // 0x00000260
  134. uint32_t axidma_c8_set; // 0x00000264
  135. uint32_t axidma_c8_clr; // 0x00000268
  136. uint32_t __620[5]; // 0x0000026c
  137. uint32_t axidma_c9_conf; // 0x00000280
  138. uint32_t axidma_c9_map; // 0x00000284
  139. uint32_t axidma_c9_saddr; // 0x00000288
  140. uint32_t axidma_c9_daddr; // 0x0000028c
  141. uint32_t axidma_c9_count; // 0x00000290
  142. uint32_t axidma_c9_countp; // 0x00000294
  143. uint32_t axidma_c9_status; // 0x00000298
  144. uint32_t axidma_c9_sgaddr; // 0x0000029c
  145. uint32_t axidma_c9_sgconf; // 0x000002a0
  146. uint32_t axidma_c9_set; // 0x000002a4
  147. uint32_t axidma_c9_clr; // 0x000002a8
  148. uint32_t __684[5]; // 0x000002ac
  149. uint32_t axidma_c10_conf; // 0x000002c0
  150. uint32_t axidma_c10_map; // 0x000002c4
  151. uint32_t axidma_c10_saddr; // 0x000002c8
  152. uint32_t axidma_c10_daddr; // 0x000002cc
  153. uint32_t axidma_c10_count; // 0x000002d0
  154. uint32_t axidma_c10_countp; // 0x000002d4
  155. uint32_t axidma_c10_status; // 0x000002d8
  156. uint32_t axidma_c10_sgaddr; // 0x000002dc
  157. uint32_t axidma_c10_sgconf; // 0x000002e0
  158. uint32_t axidma_c10_set; // 0x000002e4
  159. uint32_t axidma_c10_clr; // 0x000002e8
  160. uint32_t __748[5]; // 0x000002ec
  161. uint32_t axidma_c11_conf; // 0x00000300
  162. uint32_t axidma_c11_map; // 0x00000304
  163. uint32_t axidma_c11_saddr; // 0x00000308
  164. uint32_t axidma_c11_daddr; // 0x0000030c
  165. uint32_t axidma_c11_count; // 0x00000310
  166. uint32_t axidma_c11_countp; // 0x00000314
  167. uint32_t axidma_c11_status; // 0x00000318
  168. uint32_t axidma_c11_sgaddr; // 0x0000031c
  169. uint32_t axidma_c11_sgconf; // 0x00000320
  170. uint32_t axidma_c11_set; // 0x00000324
  171. uint32_t axidma_c11_clr; // 0x00000328
  172. } HWP_ARM_AXIDMA_T;
  173. #define hwp_apAxidma ((HWP_ARM_AXIDMA_T *)REG_ACCESS_ADDRESS(REG_AP_AXIDMA_BASE))
  174. #define hwp_cpAxidma ((HWP_ARM_AXIDMA_T *)REG_ACCESS_ADDRESS(REG_CP_AXIDMA_BASE))
  175. // axidma_conf
  176. typedef union {
  177. uint32_t v;
  178. struct
  179. {
  180. uint32_t stop : 1; // [0]
  181. uint32_t stop_ie : 1; // [1]
  182. uint32_t priority : 1; // [2]
  183. uint32_t outstand : 2; // [4:3]
  184. uint32_t resp_err_stop_en : 1; // [5]
  185. uint32_t gen_reg_secuirty_en : 1; // [6]
  186. uint32_t __31_7 : 25; // [31:7]
  187. } b;
  188. } REG_ARM_AXIDMA_AXIDMA_CONF_T;
  189. // axidma_delay
  190. typedef union {
  191. uint32_t v;
  192. struct
  193. {
  194. uint32_t delay : 16; // [15:0]
  195. uint32_t __31_16 : 16; // [31:16]
  196. } b;
  197. } REG_ARM_AXIDMA_AXIDMA_DELAY_T;
  198. // axidma_status
  199. typedef union {
  200. uint32_t v;
  201. struct
  202. {
  203. uint32_t ch_num : 4; // [3:0], read only
  204. uint32_t stop_status : 1; // [4], read only
  205. uint32_t __31_5 : 27; // [31:5]
  206. } b;
  207. } REG_ARM_AXIDMA_AXIDMA_STATUS_T;
  208. // axidma_irq_stat
  209. typedef union {
  210. uint32_t v;
  211. struct
  212. {
  213. uint32_t ch0_irq : 1; // [0], read only
  214. uint32_t ch1_irq : 1; // [1], read only
  215. uint32_t ch2_irq : 1; // [2], read only
  216. uint32_t ch3_irq : 1; // [3], read only
  217. uint32_t ch4_irq : 1; // [4], read only
  218. uint32_t ch5_irq : 1; // [5], read only
  219. uint32_t ch6_irq : 1; // [6], read only
  220. uint32_t ch7_irq : 1; // [7], read only
  221. uint32_t ch8_irq : 1; // [8], read only
  222. uint32_t ch9_irq : 1; // [9], read only
  223. uint32_t ch10_irq : 1; // [10], read only
  224. uint32_t ch11_irq : 1; // [11], read only
  225. uint32_t rst_fin_irq : 1; // [12], read only
  226. uint32_t __31_13 : 19; // [31:13]
  227. } b;
  228. } REG_ARM_AXIDMA_AXIDMA_IRQ_STAT_T;
  229. // axidma_arm_req_stat
  230. typedef union {
  231. uint32_t v;
  232. struct
  233. {
  234. uint32_t irq0 : 1; // [0], read only
  235. uint32_t irq1 : 1; // [1], read only
  236. uint32_t irq2 : 1; // [2], read only
  237. uint32_t irq3 : 1; // [3], read only
  238. uint32_t irq4 : 1; // [4], read only
  239. uint32_t irq5 : 1; // [5], read only
  240. uint32_t irq6 : 1; // [6], read only
  241. uint32_t irq7 : 1; // [7], read only
  242. uint32_t irq8 : 1; // [8], read only
  243. uint32_t irq9 : 1; // [9], read only
  244. uint32_t irq10 : 1; // [10], read only
  245. uint32_t irq11 : 1; // [11], read only
  246. uint32_t irq12 : 1; // [12], read only
  247. uint32_t irq13 : 1; // [13], read only
  248. uint32_t irq14 : 1; // [14], read only
  249. uint32_t irq15 : 1; // [15], read only
  250. uint32_t irq16 : 1; // [16], read only
  251. uint32_t irq17 : 1; // [17], read only
  252. uint32_t irq18 : 1; // [18], read only
  253. uint32_t irq19 : 1; // [19], read only
  254. uint32_t irq20 : 1; // [20], read only
  255. uint32_t irq21 : 1; // [21], read only
  256. uint32_t irq22 : 1; // [22], read only
  257. uint32_t irq23 : 1; // [23], read only
  258. uint32_t __31_24 : 8; // [31:24]
  259. } b;
  260. } REG_ARM_AXIDMA_AXIDMA_ARM_REQ_STAT_T;
  261. // axidma_arm_ack_stat
  262. typedef union {
  263. uint32_t v;
  264. struct
  265. {
  266. uint32_t ack0 : 1; // [0], read only
  267. uint32_t ack1 : 1; // [1], read only
  268. uint32_t ack2 : 1; // [2], read only
  269. uint32_t ack3 : 1; // [3], read only
  270. uint32_t ack4 : 1; // [4], read only
  271. uint32_t ack5 : 1; // [5], read only
  272. uint32_t ack6 : 1; // [6], read only
  273. uint32_t ack7 : 1; // [7], read only
  274. uint32_t ack8 : 1; // [8], read only
  275. uint32_t ack9 : 1; // [9], read only
  276. uint32_t ack10 : 1; // [10], read only
  277. uint32_t ack11 : 1; // [11], read only
  278. uint32_t ack12 : 1; // [12], read only
  279. uint32_t ack13 : 1; // [13], read only
  280. uint32_t ack14 : 1; // [14], read only
  281. uint32_t ack15 : 1; // [15], read only
  282. uint32_t ack16 : 1; // [16], read only
  283. uint32_t ack17 : 1; // [17], read only
  284. uint32_t ack18 : 1; // [18], read only
  285. uint32_t ack19 : 1; // [19], read only
  286. uint32_t ack20 : 1; // [20], read only
  287. uint32_t ack21 : 1; // [21], read only
  288. uint32_t ack22 : 1; // [22], read only
  289. uint32_t ack23 : 1; // [23], read only
  290. uint32_t __31_24 : 8; // [31:24]
  291. } b;
  292. } REG_ARM_AXIDMA_AXIDMA_ARM_ACK_STAT_T;
  293. // axidma_ch_irq_distr
  294. typedef union {
  295. uint32_t v;
  296. struct
  297. {
  298. uint32_t ch0_irq_en0 : 1; // [0]
  299. uint32_t ch1_irq_en0 : 1; // [1]
  300. uint32_t ch2_irq_en0 : 1; // [2]
  301. uint32_t ch3_irq_en0 : 1; // [3]
  302. uint32_t ch4_irq_en0 : 1; // [4]
  303. uint32_t ch5_irq_en0 : 1; // [5]
  304. uint32_t ch6_irq_en0 : 1; // [6]
  305. uint32_t ch7_irq_en0 : 1; // [7]
  306. uint32_t ch8_irq_en0 : 1; // [8]
  307. uint32_t ch9_irq_en0 : 1; // [9]
  308. uint32_t ch10_irq_en0 : 1; // [10]
  309. uint32_t ch11_irq_en0 : 1; // [11]
  310. uint32_t __31_12 : 20; // [31:12]
  311. } b;
  312. } REG_ARM_AXIDMA_AXIDMA_CH_IRQ_DISTR_T;
  313. // axidma_c0_conf
  314. typedef union {
  315. uint32_t v;
  316. struct
  317. {
  318. uint32_t start : 1; // [0]
  319. uint32_t data_type : 2; // [2:1]
  320. uint32_t syn_irq : 1; // [3]
  321. uint32_t irq_f : 1; // [4]
  322. uint32_t irq_t : 1; // [5]
  323. uint32_t saddr_fix : 1; // [6]
  324. uint32_t daddr_fix : 1; // [7]
  325. uint32_t force_trans : 1; // [8]
  326. uint32_t __9_9 : 1; // [9]
  327. uint32_t count_sel : 1; // [10]
  328. uint32_t __11_11 : 1; // [11]
  329. uint32_t saddr_turnaround : 1; // [12]
  330. uint32_t daddr_turnaround : 1; // [13]
  331. uint32_t security_en : 1; // [14]
  332. uint32_t err_int_en : 1; // [15]
  333. uint32_t __31_16 : 16; // [31:16]
  334. } b;
  335. } REG_ARM_AXIDMA_AXIDMA_C0_CONF_T;
  336. // axidma_c0_map
  337. typedef union {
  338. uint32_t v;
  339. struct
  340. {
  341. uint32_t req_source : 5; // [4:0]
  342. uint32_t __7_5 : 3; // [7:5]
  343. uint32_t ack_map : 5; // [12:8]
  344. uint32_t __31_13 : 19; // [31:13]
  345. } b;
  346. } REG_ARM_AXIDMA_AXIDMA_C0_MAP_T;
  347. // axidma_c0_count
  348. typedef union {
  349. uint32_t v;
  350. struct
  351. {
  352. uint32_t count : 24; // [23:0]
  353. uint32_t __31_24 : 8; // [31:24]
  354. } b;
  355. } REG_ARM_AXIDMA_AXIDMA_C0_COUNT_T;
  356. // axidma_c0_countp
  357. typedef union {
  358. uint32_t v;
  359. struct
  360. {
  361. uint32_t countp : 16; // [15:0]
  362. uint32_t __31_16 : 16; // [31:16]
  363. } b;
  364. } REG_ARM_AXIDMA_AXIDMA_C0_COUNTP_T;
  365. // axidma_c0_status
  366. typedef union {
  367. uint32_t v;
  368. struct
  369. {
  370. uint32_t run : 1; // [0], write clear
  371. uint32_t count_finish_int : 1; // [1], write clear
  372. uint32_t countp_finish_int : 1; // [2], write clear
  373. uint32_t sg_finish_int : 1; // [3], write clear
  374. uint32_t sg_count : 16; // [19:4], write clear
  375. uint32_t sg_suspend_int : 1; // [20], write clear
  376. uint32_t count_finish_sta : 1; // [21], write clear
  377. uint32_t countp_finish_sta : 1; // [22], write clear
  378. uint32_t sg_finish_sta : 1; // [23], write clear
  379. uint32_t sg_suspend_sta : 1; // [24], write clear
  380. uint32_t resp_err : 1; // [25], write clear
  381. uint32_t resp_err_int : 1; // [26], write clear
  382. uint32_t __31_27 : 5; // [31:27]
  383. } b;
  384. } REG_ARM_AXIDMA_AXIDMA_C0_STATUS_T;
  385. // axidma_c0_sgconf
  386. typedef union {
  387. uint32_t v;
  388. struct
  389. {
  390. uint32_t sg_en : 1; // [0], write clear
  391. uint32_t sg_finish_ie : 1; // [1]
  392. uint32_t sg_suspend_ie : 1; // [2]
  393. uint32_t desc_rd_ctrl : 1; // [3]
  394. uint32_t sg_num : 16; // [19:4]
  395. uint32_t __31_20 : 12; // [31:20]
  396. } b;
  397. } REG_ARM_AXIDMA_AXIDMA_C0_SGCONF_T;
  398. // axidma_c0_set
  399. typedef union {
  400. uint32_t v;
  401. struct
  402. {
  403. uint32_t run_set : 1; // [0]
  404. uint32_t __31_1 : 31; // [31:1]
  405. } b;
  406. } REG_ARM_AXIDMA_AXIDMA_C0_SET_T;
  407. // axidma_c0_clr
  408. typedef union {
  409. uint32_t v;
  410. struct
  411. {
  412. uint32_t run_clr : 1; // [0]
  413. uint32_t __31_1 : 31; // [31:1]
  414. } b;
  415. } REG_ARM_AXIDMA_AXIDMA_C0_CLR_T;
  416. // axidma_c1_conf
  417. typedef union {
  418. uint32_t v;
  419. struct
  420. {
  421. uint32_t start : 1; // [0]
  422. uint32_t data_type : 2; // [2:1]
  423. uint32_t syn_irq : 1; // [3]
  424. uint32_t irq_f : 1; // [4]
  425. uint32_t irq_t : 1; // [5]
  426. uint32_t saddr_fix : 1; // [6]
  427. uint32_t daddr_fix : 1; // [7]
  428. uint32_t force_trans : 1; // [8]
  429. uint32_t __9_9 : 1; // [9]
  430. uint32_t count_sel : 1; // [10]
  431. uint32_t __11_11 : 1; // [11]
  432. uint32_t saddr_turnaround : 1; // [12]
  433. uint32_t daddr_turnaround : 1; // [13]
  434. uint32_t security_en : 1; // [14]
  435. uint32_t err_int_en : 1; // [15]
  436. uint32_t __31_16 : 16; // [31:16]
  437. } b;
  438. } REG_ARM_AXIDMA_AXIDMA_C1_CONF_T;
  439. // axidma_c1_map
  440. typedef union {
  441. uint32_t v;
  442. struct
  443. {
  444. uint32_t req_source : 5; // [4:0]
  445. uint32_t __7_5 : 3; // [7:5]
  446. uint32_t ack_map : 5; // [12:8]
  447. uint32_t __31_13 : 19; // [31:13]
  448. } b;
  449. } REG_ARM_AXIDMA_AXIDMA_C1_MAP_T;
  450. // axidma_c1_count
  451. typedef union {
  452. uint32_t v;
  453. struct
  454. {
  455. uint32_t count : 24; // [23:0]
  456. uint32_t __31_24 : 8; // [31:24]
  457. } b;
  458. } REG_ARM_AXIDMA_AXIDMA_C1_COUNT_T;
  459. // axidma_c1_countp
  460. typedef union {
  461. uint32_t v;
  462. struct
  463. {
  464. uint32_t countp : 16; // [15:0]
  465. uint32_t __31_16 : 16; // [31:16]
  466. } b;
  467. } REG_ARM_AXIDMA_AXIDMA_C1_COUNTP_T;
  468. // axidma_c1_status
  469. typedef union {
  470. uint32_t v;
  471. struct
  472. {
  473. uint32_t run : 1; // [0], write clear
  474. uint32_t count_finish_int : 1; // [1], write clear
  475. uint32_t countp_finish_int : 1; // [2], write clear
  476. uint32_t sg_finish_int : 1; // [3], write clear
  477. uint32_t sg_count : 16; // [19:4], write clear
  478. uint32_t sg_suspend_int : 1; // [20], write clear
  479. uint32_t count_finish_sta : 1; // [21], write clear
  480. uint32_t countp_finish_sta : 1; // [22], write clear
  481. uint32_t sg_finish_sta : 1; // [23], write clear
  482. uint32_t sg_suspend_sta : 1; // [24], write clear
  483. uint32_t resp_err : 1; // [25], write clear
  484. uint32_t resp_err_int : 1; // [26], write clear
  485. uint32_t __31_27 : 5; // [31:27]
  486. } b;
  487. } REG_ARM_AXIDMA_AXIDMA_C1_STATUS_T;
  488. // axidma_c1_sgconf
  489. typedef union {
  490. uint32_t v;
  491. struct
  492. {
  493. uint32_t sg_en : 1; // [0], write clear
  494. uint32_t sg_finish_ie : 1; // [1]
  495. uint32_t sg_suspend_ie : 1; // [2]
  496. uint32_t desc_rd_ctrl : 1; // [3]
  497. uint32_t sg_num : 16; // [19:4]
  498. uint32_t __31_20 : 12; // [31:20]
  499. } b;
  500. } REG_ARM_AXIDMA_AXIDMA_C1_SGCONF_T;
  501. // axidma_c1_set
  502. typedef union {
  503. uint32_t v;
  504. struct
  505. {
  506. uint32_t run_set : 1; // [0]
  507. uint32_t __31_1 : 31; // [31:1]
  508. } b;
  509. } REG_ARM_AXIDMA_AXIDMA_C1_SET_T;
  510. // axidma_c1_clr
  511. typedef union {
  512. uint32_t v;
  513. struct
  514. {
  515. uint32_t run_clr : 1; // [0]
  516. uint32_t __31_1 : 31; // [31:1]
  517. } b;
  518. } REG_ARM_AXIDMA_AXIDMA_C1_CLR_T;
  519. // axidma_c2_conf
  520. typedef union {
  521. uint32_t v;
  522. struct
  523. {
  524. uint32_t start : 1; // [0]
  525. uint32_t data_type : 2; // [2:1]
  526. uint32_t syn_irq : 1; // [3]
  527. uint32_t irq_f : 1; // [4]
  528. uint32_t irq_t : 1; // [5]
  529. uint32_t saddr_fix : 1; // [6]
  530. uint32_t daddr_fix : 1; // [7]
  531. uint32_t force_trans : 1; // [8]
  532. uint32_t __9_9 : 1; // [9]
  533. uint32_t count_sel : 1; // [10]
  534. uint32_t __11_11 : 1; // [11]
  535. uint32_t saddr_turnaround : 1; // [12]
  536. uint32_t daddr_turnaround : 1; // [13]
  537. uint32_t security_en : 1; // [14]
  538. uint32_t err_int_en : 1; // [15]
  539. uint32_t __31_16 : 16; // [31:16]
  540. } b;
  541. } REG_ARM_AXIDMA_AXIDMA_C2_CONF_T;
  542. // axidma_c2_map
  543. typedef union {
  544. uint32_t v;
  545. struct
  546. {
  547. uint32_t req_source : 5; // [4:0]
  548. uint32_t __7_5 : 3; // [7:5]
  549. uint32_t ack_map : 5; // [12:8]
  550. uint32_t __31_13 : 19; // [31:13]
  551. } b;
  552. } REG_ARM_AXIDMA_AXIDMA_C2_MAP_T;
  553. // axidma_c2_count
  554. typedef union {
  555. uint32_t v;
  556. struct
  557. {
  558. uint32_t count : 24; // [23:0]
  559. uint32_t __31_24 : 8; // [31:24]
  560. } b;
  561. } REG_ARM_AXIDMA_AXIDMA_C2_COUNT_T;
  562. // axidma_c2_countp
  563. typedef union {
  564. uint32_t v;
  565. struct
  566. {
  567. uint32_t countp : 16; // [15:0]
  568. uint32_t __31_16 : 16; // [31:16]
  569. } b;
  570. } REG_ARM_AXIDMA_AXIDMA_C2_COUNTP_T;
  571. // axidma_c2_status
  572. typedef union {
  573. uint32_t v;
  574. struct
  575. {
  576. uint32_t run : 1; // [0], write clear
  577. uint32_t count_finish_int : 1; // [1], write clear
  578. uint32_t countp_finish_int : 1; // [2], write clear
  579. uint32_t sg_finish_int : 1; // [3], write clear
  580. uint32_t sg_count : 16; // [19:4], write clear
  581. uint32_t sg_suspend_int : 1; // [20], write clear
  582. uint32_t count_finish_sta : 1; // [21], write clear
  583. uint32_t countp_finish_sta : 1; // [22], write clear
  584. uint32_t sg_finish_sta : 1; // [23], write clear
  585. uint32_t sg_suspend_sta : 1; // [24], write clear
  586. uint32_t resp_err : 1; // [25], write clear
  587. uint32_t resp_err_int : 1; // [26], write clear
  588. uint32_t __31_27 : 5; // [31:27]
  589. } b;
  590. } REG_ARM_AXIDMA_AXIDMA_C2_STATUS_T;
  591. // axidma_c2_sgconf
  592. typedef union {
  593. uint32_t v;
  594. struct
  595. {
  596. uint32_t sg_en : 1; // [0], write clear
  597. uint32_t sg_finish_ie : 1; // [1]
  598. uint32_t sg_suspend_ie : 1; // [2]
  599. uint32_t desc_rd_ctrl : 1; // [3]
  600. uint32_t sg_num : 16; // [19:4]
  601. uint32_t __31_20 : 12; // [31:20]
  602. } b;
  603. } REG_ARM_AXIDMA_AXIDMA_C2_SGCONF_T;
  604. // axidma_c2_set
  605. typedef union {
  606. uint32_t v;
  607. struct
  608. {
  609. uint32_t run_set : 1; // [0]
  610. uint32_t __31_1 : 31; // [31:1]
  611. } b;
  612. } REG_ARM_AXIDMA_AXIDMA_C2_SET_T;
  613. // axidma_c2_clr
  614. typedef union {
  615. uint32_t v;
  616. struct
  617. {
  618. uint32_t run_clr : 1; // [0]
  619. uint32_t __31_1 : 31; // [31:1]
  620. } b;
  621. } REG_ARM_AXIDMA_AXIDMA_C2_CLR_T;
  622. // axidma_c3_conf
  623. typedef union {
  624. uint32_t v;
  625. struct
  626. {
  627. uint32_t start : 1; // [0]
  628. uint32_t data_type : 2; // [2:1]
  629. uint32_t syn_irq : 1; // [3]
  630. uint32_t irq_f : 1; // [4]
  631. uint32_t irq_t : 1; // [5]
  632. uint32_t saddr_fix : 1; // [6]
  633. uint32_t daddr_fix : 1; // [7]
  634. uint32_t force_trans : 1; // [8]
  635. uint32_t __9_9 : 1; // [9]
  636. uint32_t count_sel : 1; // [10]
  637. uint32_t __11_11 : 1; // [11]
  638. uint32_t saddr_turnaround : 1; // [12]
  639. uint32_t daddr_turnaround : 1; // [13]
  640. uint32_t security_en : 1; // [14]
  641. uint32_t err_int_en : 1; // [15]
  642. uint32_t __31_16 : 16; // [31:16]
  643. } b;
  644. } REG_ARM_AXIDMA_AXIDMA_C3_CONF_T;
  645. // axidma_c3_map
  646. typedef union {
  647. uint32_t v;
  648. struct
  649. {
  650. uint32_t req_source : 5; // [4:0]
  651. uint32_t __7_5 : 3; // [7:5]
  652. uint32_t ack_map : 5; // [12:8]
  653. uint32_t __31_13 : 19; // [31:13]
  654. } b;
  655. } REG_ARM_AXIDMA_AXIDMA_C3_MAP_T;
  656. // axidma_c3_count
  657. typedef union {
  658. uint32_t v;
  659. struct
  660. {
  661. uint32_t count : 24; // [23:0]
  662. uint32_t __31_24 : 8; // [31:24]
  663. } b;
  664. } REG_ARM_AXIDMA_AXIDMA_C3_COUNT_T;
  665. // axidma_c3_countp
  666. typedef union {
  667. uint32_t v;
  668. struct
  669. {
  670. uint32_t countp : 16; // [15:0]
  671. uint32_t __31_16 : 16; // [31:16]
  672. } b;
  673. } REG_ARM_AXIDMA_AXIDMA_C3_COUNTP_T;
  674. // axidma_c3_status
  675. typedef union {
  676. uint32_t v;
  677. struct
  678. {
  679. uint32_t run : 1; // [0], write clear
  680. uint32_t count_finish_int : 1; // [1], write clear
  681. uint32_t countp_finish_int : 1; // [2], write clear
  682. uint32_t sg_finish_int : 1; // [3], write clear
  683. uint32_t sg_count : 16; // [19:4], write clear
  684. uint32_t sg_suspend_int : 1; // [20], write clear
  685. uint32_t count_finish_sta : 1; // [21], write clear
  686. uint32_t countp_finish_sta : 1; // [22], write clear
  687. uint32_t sg_finish_sta : 1; // [23], write clear
  688. uint32_t sg_suspend_sta : 1; // [24], write clear
  689. uint32_t resp_err : 1; // [25], write clear
  690. uint32_t resp_err_int : 1; // [26], write clear
  691. uint32_t __31_27 : 5; // [31:27]
  692. } b;
  693. } REG_ARM_AXIDMA_AXIDMA_C3_STATUS_T;
  694. // axidma_c3_sgconf
  695. typedef union {
  696. uint32_t v;
  697. struct
  698. {
  699. uint32_t sg_en : 1; // [0], write clear
  700. uint32_t sg_finish_ie : 1; // [1]
  701. uint32_t sg_suspend_ie : 1; // [2]
  702. uint32_t desc_rd_ctrl : 1; // [3]
  703. uint32_t sg_num : 16; // [19:4]
  704. uint32_t __31_20 : 12; // [31:20]
  705. } b;
  706. } REG_ARM_AXIDMA_AXIDMA_C3_SGCONF_T;
  707. // axidma_c3_set
  708. typedef union {
  709. uint32_t v;
  710. struct
  711. {
  712. uint32_t run_set : 1; // [0]
  713. uint32_t __31_1 : 31; // [31:1]
  714. } b;
  715. } REG_ARM_AXIDMA_AXIDMA_C3_SET_T;
  716. // axidma_c3_clr
  717. typedef union {
  718. uint32_t v;
  719. struct
  720. {
  721. uint32_t run_clr : 1; // [0]
  722. uint32_t __31_1 : 31; // [31:1]
  723. } b;
  724. } REG_ARM_AXIDMA_AXIDMA_C3_CLR_T;
  725. // axidma_c4_conf
  726. typedef union {
  727. uint32_t v;
  728. struct
  729. {
  730. uint32_t start : 1; // [0]
  731. uint32_t data_type : 2; // [2:1]
  732. uint32_t syn_irq : 1; // [3]
  733. uint32_t irq_f : 1; // [4]
  734. uint32_t irq_t : 1; // [5]
  735. uint32_t saddr_fix : 1; // [6]
  736. uint32_t daddr_fix : 1; // [7]
  737. uint32_t force_trans : 1; // [8]
  738. uint32_t __9_9 : 1; // [9]
  739. uint32_t count_sel : 1; // [10]
  740. uint32_t __11_11 : 1; // [11]
  741. uint32_t saddr_turnaround : 1; // [12]
  742. uint32_t daddr_turnaround : 1; // [13]
  743. uint32_t security_en : 1; // [14]
  744. uint32_t err_int_en : 1; // [15]
  745. uint32_t __31_16 : 16; // [31:16]
  746. } b;
  747. } REG_ARM_AXIDMA_AXIDMA_C4_CONF_T;
  748. // axidma_c4_map
  749. typedef union {
  750. uint32_t v;
  751. struct
  752. {
  753. uint32_t req_source : 5; // [4:0]
  754. uint32_t __7_5 : 3; // [7:5]
  755. uint32_t ack_map : 5; // [12:8]
  756. uint32_t __31_13 : 19; // [31:13]
  757. } b;
  758. } REG_ARM_AXIDMA_AXIDMA_C4_MAP_T;
  759. // axidma_c4_count
  760. typedef union {
  761. uint32_t v;
  762. struct
  763. {
  764. uint32_t count : 24; // [23:0]
  765. uint32_t __31_24 : 8; // [31:24]
  766. } b;
  767. } REG_ARM_AXIDMA_AXIDMA_C4_COUNT_T;
  768. // axidma_c4_countp
  769. typedef union {
  770. uint32_t v;
  771. struct
  772. {
  773. uint32_t countp : 16; // [15:0]
  774. uint32_t __31_16 : 16; // [31:16]
  775. } b;
  776. } REG_ARM_AXIDMA_AXIDMA_C4_COUNTP_T;
  777. // axidma_c4_status
  778. typedef union {
  779. uint32_t v;
  780. struct
  781. {
  782. uint32_t run : 1; // [0], write clear
  783. uint32_t count_finish_int : 1; // [1], write clear
  784. uint32_t countp_finish_int : 1; // [2], write clear
  785. uint32_t sg_finish_int : 1; // [3], write clear
  786. uint32_t sg_count : 16; // [19:4], write clear
  787. uint32_t sg_suspend_int : 1; // [20], write clear
  788. uint32_t count_finish_sta : 1; // [21], write clear
  789. uint32_t countp_finish_sta : 1; // [22], write clear
  790. uint32_t sg_finish_sta : 1; // [23], write clear
  791. uint32_t sg_suspend_sta : 1; // [24], write clear
  792. uint32_t resp_err : 1; // [25], write clear
  793. uint32_t resp_err_int : 1; // [26], write clear
  794. uint32_t __31_27 : 5; // [31:27]
  795. } b;
  796. } REG_ARM_AXIDMA_AXIDMA_C4_STATUS_T;
  797. // axidma_c4_sgconf
  798. typedef union {
  799. uint32_t v;
  800. struct
  801. {
  802. uint32_t sg_en : 1; // [0], write clear
  803. uint32_t sg_finish_ie : 1; // [1]
  804. uint32_t sg_suspend_ie : 1; // [2]
  805. uint32_t desc_rd_ctrl : 1; // [3]
  806. uint32_t sg_num : 16; // [19:4]
  807. uint32_t __31_20 : 12; // [31:20]
  808. } b;
  809. } REG_ARM_AXIDMA_AXIDMA_C4_SGCONF_T;
  810. // axidma_c4_set
  811. typedef union {
  812. uint32_t v;
  813. struct
  814. {
  815. uint32_t run_set : 1; // [0]
  816. uint32_t __31_1 : 31; // [31:1]
  817. } b;
  818. } REG_ARM_AXIDMA_AXIDMA_C4_SET_T;
  819. // axidma_c4_clr
  820. typedef union {
  821. uint32_t v;
  822. struct
  823. {
  824. uint32_t run_clr : 1; // [0]
  825. uint32_t __31_1 : 31; // [31:1]
  826. } b;
  827. } REG_ARM_AXIDMA_AXIDMA_C4_CLR_T;
  828. // axidma_c5_conf
  829. typedef union {
  830. uint32_t v;
  831. struct
  832. {
  833. uint32_t start : 1; // [0]
  834. uint32_t data_type : 2; // [2:1]
  835. uint32_t syn_irq : 1; // [3]
  836. uint32_t irq_f : 1; // [4]
  837. uint32_t irq_t : 1; // [5]
  838. uint32_t saddr_fix : 1; // [6]
  839. uint32_t daddr_fix : 1; // [7]
  840. uint32_t force_trans : 1; // [8]
  841. uint32_t __9_9 : 1; // [9]
  842. uint32_t count_sel : 1; // [10]
  843. uint32_t __11_11 : 1; // [11]
  844. uint32_t saddr_turnaround : 1; // [12]
  845. uint32_t daddr_turnaround : 1; // [13]
  846. uint32_t security_en : 1; // [14]
  847. uint32_t err_int_en : 1; // [15]
  848. uint32_t __31_16 : 16; // [31:16]
  849. } b;
  850. } REG_ARM_AXIDMA_AXIDMA_C5_CONF_T;
  851. // axidma_c5_map
  852. typedef union {
  853. uint32_t v;
  854. struct
  855. {
  856. uint32_t req_source : 5; // [4:0]
  857. uint32_t __7_5 : 3; // [7:5]
  858. uint32_t ack_map : 5; // [12:8]
  859. uint32_t __31_13 : 19; // [31:13]
  860. } b;
  861. } REG_ARM_AXIDMA_AXIDMA_C5_MAP_T;
  862. // axidma_c5_count
  863. typedef union {
  864. uint32_t v;
  865. struct
  866. {
  867. uint32_t count : 24; // [23:0]
  868. uint32_t __31_24 : 8; // [31:24]
  869. } b;
  870. } REG_ARM_AXIDMA_AXIDMA_C5_COUNT_T;
  871. // axidma_c5_countp
  872. typedef union {
  873. uint32_t v;
  874. struct
  875. {
  876. uint32_t countp : 16; // [15:0]
  877. uint32_t __31_16 : 16; // [31:16]
  878. } b;
  879. } REG_ARM_AXIDMA_AXIDMA_C5_COUNTP_T;
  880. // axidma_c5_status
  881. typedef union {
  882. uint32_t v;
  883. struct
  884. {
  885. uint32_t run : 1; // [0], write clear
  886. uint32_t count_finish_int : 1; // [1], write clear
  887. uint32_t countp_finish_int : 1; // [2], write clear
  888. uint32_t sg_finish_int : 1; // [3], write clear
  889. uint32_t sg_count : 16; // [19:4], write clear
  890. uint32_t sg_suspend_int : 1; // [20], write clear
  891. uint32_t count_finish_sta : 1; // [21], write clear
  892. uint32_t countp_finish_sta : 1; // [22], write clear
  893. uint32_t sg_finish_sta : 1; // [23], write clear
  894. uint32_t sg_suspend_sta : 1; // [24], write clear
  895. uint32_t resp_err : 1; // [25], write clear
  896. uint32_t resp_err_int : 1; // [26], write clear
  897. uint32_t __31_27 : 5; // [31:27]
  898. } b;
  899. } REG_ARM_AXIDMA_AXIDMA_C5_STATUS_T;
  900. // axidma_c5_sgconf
  901. typedef union {
  902. uint32_t v;
  903. struct
  904. {
  905. uint32_t sg_en : 1; // [0], write clear
  906. uint32_t sg_finish_ie : 1; // [1]
  907. uint32_t sg_suspend_ie : 1; // [2]
  908. uint32_t desc_rd_ctrl : 1; // [3]
  909. uint32_t sg_num : 16; // [19:4]
  910. uint32_t __31_20 : 12; // [31:20]
  911. } b;
  912. } REG_ARM_AXIDMA_AXIDMA_C5_SGCONF_T;
  913. // axidma_c5_set
  914. typedef union {
  915. uint32_t v;
  916. struct
  917. {
  918. uint32_t run_set : 1; // [0]
  919. uint32_t __31_1 : 31; // [31:1]
  920. } b;
  921. } REG_ARM_AXIDMA_AXIDMA_C5_SET_T;
  922. // axidma_c5_clr
  923. typedef union {
  924. uint32_t v;
  925. struct
  926. {
  927. uint32_t run_clr : 1; // [0]
  928. uint32_t __31_1 : 31; // [31:1]
  929. } b;
  930. } REG_ARM_AXIDMA_AXIDMA_C5_CLR_T;
  931. // axidma_c6_conf
  932. typedef union {
  933. uint32_t v;
  934. struct
  935. {
  936. uint32_t start : 1; // [0]
  937. uint32_t data_type : 2; // [2:1]
  938. uint32_t syn_irq : 1; // [3]
  939. uint32_t irq_f : 1; // [4]
  940. uint32_t irq_t : 1; // [5]
  941. uint32_t saddr_fix : 1; // [6]
  942. uint32_t daddr_fix : 1; // [7]
  943. uint32_t force_trans : 1; // [8]
  944. uint32_t __9_9 : 1; // [9]
  945. uint32_t count_sel : 1; // [10]
  946. uint32_t __11_11 : 1; // [11]
  947. uint32_t saddr_turnaround : 1; // [12]
  948. uint32_t daddr_turnaround : 1; // [13]
  949. uint32_t security_en : 1; // [14]
  950. uint32_t err_int_en : 1; // [15]
  951. uint32_t __31_16 : 16; // [31:16]
  952. } b;
  953. } REG_ARM_AXIDMA_AXIDMA_C6_CONF_T;
  954. // axidma_c6_map
  955. typedef union {
  956. uint32_t v;
  957. struct
  958. {
  959. uint32_t req_source : 5; // [4:0]
  960. uint32_t __7_5 : 3; // [7:5]
  961. uint32_t ack_map : 5; // [12:8]
  962. uint32_t __31_13 : 19; // [31:13]
  963. } b;
  964. } REG_ARM_AXIDMA_AXIDMA_C6_MAP_T;
  965. // axidma_c6_count
  966. typedef union {
  967. uint32_t v;
  968. struct
  969. {
  970. uint32_t count : 24; // [23:0]
  971. uint32_t __31_24 : 8; // [31:24]
  972. } b;
  973. } REG_ARM_AXIDMA_AXIDMA_C6_COUNT_T;
  974. // axidma_c6_countp
  975. typedef union {
  976. uint32_t v;
  977. struct
  978. {
  979. uint32_t countp : 16; // [15:0]
  980. uint32_t __31_16 : 16; // [31:16]
  981. } b;
  982. } REG_ARM_AXIDMA_AXIDMA_C6_COUNTP_T;
  983. // axidma_c6_status
  984. typedef union {
  985. uint32_t v;
  986. struct
  987. {
  988. uint32_t run : 1; // [0], write clear
  989. uint32_t count_finish_int : 1; // [1], write clear
  990. uint32_t countp_finish_int : 1; // [2], write clear
  991. uint32_t sg_finish_int : 1; // [3], write clear
  992. uint32_t sg_count : 16; // [19:4], write clear
  993. uint32_t sg_suspend_int : 1; // [20], write clear
  994. uint32_t count_finish_sta : 1; // [21], write clear
  995. uint32_t countp_finish_sta : 1; // [22], write clear
  996. uint32_t sg_finish_sta : 1; // [23], write clear
  997. uint32_t sg_suspend_sta : 1; // [24], write clear
  998. uint32_t resp_err : 1; // [25], write clear
  999. uint32_t resp_err_int : 1; // [26], write clear
  1000. uint32_t __31_27 : 5; // [31:27]
  1001. } b;
  1002. } REG_ARM_AXIDMA_AXIDMA_C6_STATUS_T;
  1003. // axidma_c6_sgconf
  1004. typedef union {
  1005. uint32_t v;
  1006. struct
  1007. {
  1008. uint32_t sg_en : 1; // [0], write clear
  1009. uint32_t sg_finish_ie : 1; // [1]
  1010. uint32_t sg_suspend_ie : 1; // [2]
  1011. uint32_t desc_rd_ctrl : 1; // [3]
  1012. uint32_t sg_num : 16; // [19:4]
  1013. uint32_t __31_20 : 12; // [31:20]
  1014. } b;
  1015. } REG_ARM_AXIDMA_AXIDMA_C6_SGCONF_T;
  1016. // axidma_c6_set
  1017. typedef union {
  1018. uint32_t v;
  1019. struct
  1020. {
  1021. uint32_t run_set : 1; // [0]
  1022. uint32_t __31_1 : 31; // [31:1]
  1023. } b;
  1024. } REG_ARM_AXIDMA_AXIDMA_C6_SET_T;
  1025. // axidma_c6_clr
  1026. typedef union {
  1027. uint32_t v;
  1028. struct
  1029. {
  1030. uint32_t run_clr : 1; // [0]
  1031. uint32_t __31_1 : 31; // [31:1]
  1032. } b;
  1033. } REG_ARM_AXIDMA_AXIDMA_C6_CLR_T;
  1034. // axidma_c7_conf
  1035. typedef union {
  1036. uint32_t v;
  1037. struct
  1038. {
  1039. uint32_t start : 1; // [0]
  1040. uint32_t data_type : 2; // [2:1]
  1041. uint32_t syn_irq : 1; // [3]
  1042. uint32_t irq_f : 1; // [4]
  1043. uint32_t irq_t : 1; // [5]
  1044. uint32_t saddr_fix : 1; // [6]
  1045. uint32_t daddr_fix : 1; // [7]
  1046. uint32_t force_trans : 1; // [8]
  1047. uint32_t __9_9 : 1; // [9]
  1048. uint32_t count_sel : 1; // [10]
  1049. uint32_t __11_11 : 1; // [11]
  1050. uint32_t saddr_turnaround : 1; // [12]
  1051. uint32_t daddr_turnaround : 1; // [13]
  1052. uint32_t security_en : 1; // [14]
  1053. uint32_t err_int_en : 1; // [15]
  1054. uint32_t __31_16 : 16; // [31:16]
  1055. } b;
  1056. } REG_ARM_AXIDMA_AXIDMA_C7_CONF_T;
  1057. // axidma_c7_map
  1058. typedef union {
  1059. uint32_t v;
  1060. struct
  1061. {
  1062. uint32_t req_source : 5; // [4:0]
  1063. uint32_t __7_5 : 3; // [7:5]
  1064. uint32_t ack_map : 5; // [12:8]
  1065. uint32_t __31_13 : 19; // [31:13]
  1066. } b;
  1067. } REG_ARM_AXIDMA_AXIDMA_C7_MAP_T;
  1068. // axidma_c7_count
  1069. typedef union {
  1070. uint32_t v;
  1071. struct
  1072. {
  1073. uint32_t count : 24; // [23:0]
  1074. uint32_t __31_24 : 8; // [31:24]
  1075. } b;
  1076. } REG_ARM_AXIDMA_AXIDMA_C7_COUNT_T;
  1077. // axidma_c7_countp
  1078. typedef union {
  1079. uint32_t v;
  1080. struct
  1081. {
  1082. uint32_t countp : 16; // [15:0]
  1083. uint32_t __31_16 : 16; // [31:16]
  1084. } b;
  1085. } REG_ARM_AXIDMA_AXIDMA_C7_COUNTP_T;
  1086. // axidma_c7_status
  1087. typedef union {
  1088. uint32_t v;
  1089. struct
  1090. {
  1091. uint32_t run : 1; // [0], write clear
  1092. uint32_t count_finish_int : 1; // [1], write clear
  1093. uint32_t countp_finish_int : 1; // [2], write clear
  1094. uint32_t sg_finish_int : 1; // [3], write clear
  1095. uint32_t sg_count : 16; // [19:4], write clear
  1096. uint32_t sg_suspend_int : 1; // [20], write clear
  1097. uint32_t count_finish_sta : 1; // [21], write clear
  1098. uint32_t countp_finish_sta : 1; // [22], write clear
  1099. uint32_t sg_finish_sta : 1; // [23], write clear
  1100. uint32_t sg_suspend_sta : 1; // [24], write clear
  1101. uint32_t resp_err : 1; // [25], write clear
  1102. uint32_t resp_err_int : 1; // [26], write clear
  1103. uint32_t __31_27 : 5; // [31:27]
  1104. } b;
  1105. } REG_ARM_AXIDMA_AXIDMA_C7_STATUS_T;
  1106. // axidma_c7_sgconf
  1107. typedef union {
  1108. uint32_t v;
  1109. struct
  1110. {
  1111. uint32_t sg_en : 1; // [0], write clear
  1112. uint32_t sg_finish_ie : 1; // [1]
  1113. uint32_t sg_suspend_ie : 1; // [2]
  1114. uint32_t desc_rd_ctrl : 1; // [3]
  1115. uint32_t sg_num : 16; // [19:4]
  1116. uint32_t __31_20 : 12; // [31:20]
  1117. } b;
  1118. } REG_ARM_AXIDMA_AXIDMA_C7_SGCONF_T;
  1119. // axidma_c7_set
  1120. typedef union {
  1121. uint32_t v;
  1122. struct
  1123. {
  1124. uint32_t run_set : 1; // [0]
  1125. uint32_t __31_1 : 31; // [31:1]
  1126. } b;
  1127. } REG_ARM_AXIDMA_AXIDMA_C7_SET_T;
  1128. // axidma_c7_clr
  1129. typedef union {
  1130. uint32_t v;
  1131. struct
  1132. {
  1133. uint32_t run_clr : 1; // [0]
  1134. uint32_t __31_1 : 31; // [31:1]
  1135. } b;
  1136. } REG_ARM_AXIDMA_AXIDMA_C7_CLR_T;
  1137. // axidma_c8_conf
  1138. typedef union {
  1139. uint32_t v;
  1140. struct
  1141. {
  1142. uint32_t start : 1; // [0]
  1143. uint32_t data_type : 2; // [2:1]
  1144. uint32_t syn_irq : 1; // [3]
  1145. uint32_t irq_f : 1; // [4]
  1146. uint32_t irq_t : 1; // [5]
  1147. uint32_t saddr_fix : 1; // [6]
  1148. uint32_t daddr_fix : 1; // [7]
  1149. uint32_t force_trans : 1; // [8]
  1150. uint32_t __9_9 : 1; // [9]
  1151. uint32_t count_sel : 1; // [10]
  1152. uint32_t __11_11 : 1; // [11]
  1153. uint32_t saddr_turnaround : 1; // [12]
  1154. uint32_t daddr_turnaround : 1; // [13]
  1155. uint32_t security_en : 1; // [14]
  1156. uint32_t err_int_en : 1; // [15]
  1157. uint32_t __31_16 : 16; // [31:16]
  1158. } b;
  1159. } REG_ARM_AXIDMA_AXIDMA_C8_CONF_T;
  1160. // axidma_c8_map
  1161. typedef union {
  1162. uint32_t v;
  1163. struct
  1164. {
  1165. uint32_t req_source : 5; // [4:0]
  1166. uint32_t __7_5 : 3; // [7:5]
  1167. uint32_t ack_map : 5; // [12:8]
  1168. uint32_t __31_13 : 19; // [31:13]
  1169. } b;
  1170. } REG_ARM_AXIDMA_AXIDMA_C8_MAP_T;
  1171. // axidma_c8_count
  1172. typedef union {
  1173. uint32_t v;
  1174. struct
  1175. {
  1176. uint32_t count : 24; // [23:0]
  1177. uint32_t __31_24 : 8; // [31:24]
  1178. } b;
  1179. } REG_ARM_AXIDMA_AXIDMA_C8_COUNT_T;
  1180. // axidma_c8_countp
  1181. typedef union {
  1182. uint32_t v;
  1183. struct
  1184. {
  1185. uint32_t countp : 16; // [15:0]
  1186. uint32_t __31_16 : 16; // [31:16]
  1187. } b;
  1188. } REG_ARM_AXIDMA_AXIDMA_C8_COUNTP_T;
  1189. // axidma_c8_status
  1190. typedef union {
  1191. uint32_t v;
  1192. struct
  1193. {
  1194. uint32_t run : 1; // [0], write clear
  1195. uint32_t count_finish_int : 1; // [1], write clear
  1196. uint32_t countp_finish_int : 1; // [2], write clear
  1197. uint32_t sg_finish_int : 1; // [3], write clear
  1198. uint32_t sg_count : 16; // [19:4], write clear
  1199. uint32_t sg_suspend_int : 1; // [20], write clear
  1200. uint32_t count_finish_sta : 1; // [21], write clear
  1201. uint32_t countp_finish_sta : 1; // [22], write clear
  1202. uint32_t sg_finish_sta : 1; // [23], write clear
  1203. uint32_t sg_suspend_sta : 1; // [24], write clear
  1204. uint32_t resp_err : 1; // [25], write clear
  1205. uint32_t resp_err_int : 1; // [26], write clear
  1206. uint32_t __31_27 : 5; // [31:27]
  1207. } b;
  1208. } REG_ARM_AXIDMA_AXIDMA_C8_STATUS_T;
  1209. // axidma_c8_sgconf
  1210. typedef union {
  1211. uint32_t v;
  1212. struct
  1213. {
  1214. uint32_t sg_en : 1; // [0], write clear
  1215. uint32_t sg_finish_ie : 1; // [1]
  1216. uint32_t sg_suspend_ie : 1; // [2]
  1217. uint32_t desc_rd_ctrl : 1; // [3]
  1218. uint32_t sg_num : 16; // [19:4]
  1219. uint32_t __31_20 : 12; // [31:20]
  1220. } b;
  1221. } REG_ARM_AXIDMA_AXIDMA_C8_SGCONF_T;
  1222. // axidma_c8_set
  1223. typedef union {
  1224. uint32_t v;
  1225. struct
  1226. {
  1227. uint32_t run_set : 1; // [0]
  1228. uint32_t __31_1 : 31; // [31:1]
  1229. } b;
  1230. } REG_ARM_AXIDMA_AXIDMA_C8_SET_T;
  1231. // axidma_c8_clr
  1232. typedef union {
  1233. uint32_t v;
  1234. struct
  1235. {
  1236. uint32_t run_clr : 1; // [0]
  1237. uint32_t __31_1 : 31; // [31:1]
  1238. } b;
  1239. } REG_ARM_AXIDMA_AXIDMA_C8_CLR_T;
  1240. // axidma_c9_conf
  1241. typedef union {
  1242. uint32_t v;
  1243. struct
  1244. {
  1245. uint32_t start : 1; // [0]
  1246. uint32_t data_type : 2; // [2:1]
  1247. uint32_t syn_irq : 1; // [3]
  1248. uint32_t irq_f : 1; // [4]
  1249. uint32_t irq_t : 1; // [5]
  1250. uint32_t saddr_fix : 1; // [6]
  1251. uint32_t daddr_fix : 1; // [7]
  1252. uint32_t force_trans : 1; // [8]
  1253. uint32_t __9_9 : 1; // [9]
  1254. uint32_t count_sel : 1; // [10]
  1255. uint32_t __11_11 : 1; // [11]
  1256. uint32_t saddr_turnaround : 1; // [12]
  1257. uint32_t daddr_turnaround : 1; // [13]
  1258. uint32_t security_en : 1; // [14]
  1259. uint32_t err_int_en : 1; // [15]
  1260. uint32_t __31_16 : 16; // [31:16]
  1261. } b;
  1262. } REG_ARM_AXIDMA_AXIDMA_C9_CONF_T;
  1263. // axidma_c9_map
  1264. typedef union {
  1265. uint32_t v;
  1266. struct
  1267. {
  1268. uint32_t req_source : 5; // [4:0]
  1269. uint32_t __7_5 : 3; // [7:5]
  1270. uint32_t ack_map : 5; // [12:8]
  1271. uint32_t __31_13 : 19; // [31:13]
  1272. } b;
  1273. } REG_ARM_AXIDMA_AXIDMA_C9_MAP_T;
  1274. // axidma_c9_count
  1275. typedef union {
  1276. uint32_t v;
  1277. struct
  1278. {
  1279. uint32_t count : 24; // [23:0]
  1280. uint32_t __31_24 : 8; // [31:24]
  1281. } b;
  1282. } REG_ARM_AXIDMA_AXIDMA_C9_COUNT_T;
  1283. // axidma_c9_countp
  1284. typedef union {
  1285. uint32_t v;
  1286. struct
  1287. {
  1288. uint32_t countp : 16; // [15:0]
  1289. uint32_t __31_16 : 16; // [31:16]
  1290. } b;
  1291. } REG_ARM_AXIDMA_AXIDMA_C9_COUNTP_T;
  1292. // axidma_c9_status
  1293. typedef union {
  1294. uint32_t v;
  1295. struct
  1296. {
  1297. uint32_t run : 1; // [0], write clear
  1298. uint32_t count_finish_int : 1; // [1], write clear
  1299. uint32_t countp_finish_int : 1; // [2], write clear
  1300. uint32_t sg_finish_int : 1; // [3], write clear
  1301. uint32_t sg_count : 16; // [19:4], write clear
  1302. uint32_t sg_suspend_int : 1; // [20], write clear
  1303. uint32_t count_finish_sta : 1; // [21], write clear
  1304. uint32_t countp_finish_sta : 1; // [22], write clear
  1305. uint32_t sg_finish_sta : 1; // [23], write clear
  1306. uint32_t sg_suspend_sta : 1; // [24], write clear
  1307. uint32_t resp_err : 1; // [25], write clear
  1308. uint32_t resp_err_int : 1; // [26], write clear
  1309. uint32_t __31_27 : 5; // [31:27]
  1310. } b;
  1311. } REG_ARM_AXIDMA_AXIDMA_C9_STATUS_T;
  1312. // axidma_c9_sgconf
  1313. typedef union {
  1314. uint32_t v;
  1315. struct
  1316. {
  1317. uint32_t sg_en : 1; // [0], write clear
  1318. uint32_t sg_finish_ie : 1; // [1]
  1319. uint32_t sg_suspend_ie : 1; // [2]
  1320. uint32_t desc_rd_ctrl : 1; // [3]
  1321. uint32_t sg_num : 16; // [19:4]
  1322. uint32_t __31_20 : 12; // [31:20]
  1323. } b;
  1324. } REG_ARM_AXIDMA_AXIDMA_C9_SGCONF_T;
  1325. // axidma_c9_set
  1326. typedef union {
  1327. uint32_t v;
  1328. struct
  1329. {
  1330. uint32_t run_set : 1; // [0]
  1331. uint32_t __31_1 : 31; // [31:1]
  1332. } b;
  1333. } REG_ARM_AXIDMA_AXIDMA_C9_SET_T;
  1334. // axidma_c9_clr
  1335. typedef union {
  1336. uint32_t v;
  1337. struct
  1338. {
  1339. uint32_t run_clr : 1; // [0]
  1340. uint32_t __31_1 : 31; // [31:1]
  1341. } b;
  1342. } REG_ARM_AXIDMA_AXIDMA_C9_CLR_T;
  1343. // axidma_c10_conf
  1344. typedef union {
  1345. uint32_t v;
  1346. struct
  1347. {
  1348. uint32_t start : 1; // [0]
  1349. uint32_t data_type : 2; // [2:1]
  1350. uint32_t syn_irq : 1; // [3]
  1351. uint32_t irq_f : 1; // [4]
  1352. uint32_t irq_t : 1; // [5]
  1353. uint32_t saddr_fix : 1; // [6]
  1354. uint32_t daddr_fix : 1; // [7]
  1355. uint32_t force_trans : 1; // [8]
  1356. uint32_t __9_9 : 1; // [9]
  1357. uint32_t count_sel : 1; // [10]
  1358. uint32_t __11_11 : 1; // [11]
  1359. uint32_t saddr_turnaround : 1; // [12]
  1360. uint32_t daddr_turnaround : 1; // [13]
  1361. uint32_t security_en : 1; // [14]
  1362. uint32_t err_int_en : 1; // [15]
  1363. uint32_t __31_16 : 16; // [31:16]
  1364. } b;
  1365. } REG_ARM_AXIDMA_AXIDMA_C10_CONF_T;
  1366. // axidma_c10_map
  1367. typedef union {
  1368. uint32_t v;
  1369. struct
  1370. {
  1371. uint32_t req_source : 5; // [4:0]
  1372. uint32_t __7_5 : 3; // [7:5]
  1373. uint32_t ack_map : 5; // [12:8]
  1374. uint32_t __31_13 : 19; // [31:13]
  1375. } b;
  1376. } REG_ARM_AXIDMA_AXIDMA_C10_MAP_T;
  1377. // axidma_c10_count
  1378. typedef union {
  1379. uint32_t v;
  1380. struct
  1381. {
  1382. uint32_t count : 24; // [23:0]
  1383. uint32_t __31_24 : 8; // [31:24]
  1384. } b;
  1385. } REG_ARM_AXIDMA_AXIDMA_C10_COUNT_T;
  1386. // axidma_c10_countp
  1387. typedef union {
  1388. uint32_t v;
  1389. struct
  1390. {
  1391. uint32_t countp : 16; // [15:0]
  1392. uint32_t __31_16 : 16; // [31:16]
  1393. } b;
  1394. } REG_ARM_AXIDMA_AXIDMA_C10_COUNTP_T;
  1395. // axidma_c10_status
  1396. typedef union {
  1397. uint32_t v;
  1398. struct
  1399. {
  1400. uint32_t run : 1; // [0], write clear
  1401. uint32_t count_finish_int : 1; // [1], write clear
  1402. uint32_t countp_finish_int : 1; // [2], write clear
  1403. uint32_t sg_finish_int : 1; // [3], write clear
  1404. uint32_t sg_count : 16; // [19:4], write clear
  1405. uint32_t sg_suspend_int : 1; // [20], write clear
  1406. uint32_t count_finish_sta : 1; // [21], write clear
  1407. uint32_t countp_finish_sta : 1; // [22], write clear
  1408. uint32_t sg_finish_sta : 1; // [23], write clear
  1409. uint32_t sg_suspend_sta : 1; // [24], write clear
  1410. uint32_t resp_err : 1; // [25], write clear
  1411. uint32_t resp_err_int : 1; // [26], write clear
  1412. uint32_t __31_27 : 5; // [31:27]
  1413. } b;
  1414. } REG_ARM_AXIDMA_AXIDMA_C10_STATUS_T;
  1415. // axidma_c10_sgconf
  1416. typedef union {
  1417. uint32_t v;
  1418. struct
  1419. {
  1420. uint32_t sg_en : 1; // [0], write clear
  1421. uint32_t sg_finish_ie : 1; // [1]
  1422. uint32_t sg_suspend_ie : 1; // [2]
  1423. uint32_t desc_rd_ctrl : 1; // [3]
  1424. uint32_t sg_num : 16; // [19:4]
  1425. uint32_t __31_20 : 12; // [31:20]
  1426. } b;
  1427. } REG_ARM_AXIDMA_AXIDMA_C10_SGCONF_T;
  1428. // axidma_c10_set
  1429. typedef union {
  1430. uint32_t v;
  1431. struct
  1432. {
  1433. uint32_t run_set : 1; // [0]
  1434. uint32_t __31_1 : 31; // [31:1]
  1435. } b;
  1436. } REG_ARM_AXIDMA_AXIDMA_C10_SET_T;
  1437. // axidma_c10_clr
  1438. typedef union {
  1439. uint32_t v;
  1440. struct
  1441. {
  1442. uint32_t run_clr : 1; // [0]
  1443. uint32_t __31_1 : 31; // [31:1]
  1444. } b;
  1445. } REG_ARM_AXIDMA_AXIDMA_C10_CLR_T;
  1446. // axidma_c11_conf
  1447. typedef union {
  1448. uint32_t v;
  1449. struct
  1450. {
  1451. uint32_t start : 1; // [0]
  1452. uint32_t data_type : 2; // [2:1]
  1453. uint32_t syn_irq : 1; // [3]
  1454. uint32_t irq_f : 1; // [4]
  1455. uint32_t irq_t : 1; // [5]
  1456. uint32_t saddr_fix : 1; // [6]
  1457. uint32_t daddr_fix : 1; // [7]
  1458. uint32_t force_trans : 1; // [8]
  1459. uint32_t __9_9 : 1; // [9]
  1460. uint32_t count_sel : 1; // [10]
  1461. uint32_t __11_11 : 1; // [11]
  1462. uint32_t saddr_turnaround : 1; // [12]
  1463. uint32_t daddr_turnaround : 1; // [13]
  1464. uint32_t security_en : 1; // [14]
  1465. uint32_t err_int_en : 1; // [15]
  1466. uint32_t __31_16 : 16; // [31:16]
  1467. } b;
  1468. } REG_ARM_AXIDMA_AXIDMA_C11_CONF_T;
  1469. // axidma_c11_map
  1470. typedef union {
  1471. uint32_t v;
  1472. struct
  1473. {
  1474. uint32_t req_source : 5; // [4:0]
  1475. uint32_t __7_5 : 3; // [7:5]
  1476. uint32_t ack_map : 5; // [12:8]
  1477. uint32_t __31_13 : 19; // [31:13]
  1478. } b;
  1479. } REG_ARM_AXIDMA_AXIDMA_C11_MAP_T;
  1480. // axidma_c11_count
  1481. typedef union {
  1482. uint32_t v;
  1483. struct
  1484. {
  1485. uint32_t count : 24; // [23:0]
  1486. uint32_t __31_24 : 8; // [31:24]
  1487. } b;
  1488. } REG_ARM_AXIDMA_AXIDMA_C11_COUNT_T;
  1489. // axidma_c11_countp
  1490. typedef union {
  1491. uint32_t v;
  1492. struct
  1493. {
  1494. uint32_t countp : 16; // [15:0]
  1495. uint32_t __31_16 : 16; // [31:16]
  1496. } b;
  1497. } REG_ARM_AXIDMA_AXIDMA_C11_COUNTP_T;
  1498. // axidma_c11_status
  1499. typedef union {
  1500. uint32_t v;
  1501. struct
  1502. {
  1503. uint32_t run : 1; // [0], write clear
  1504. uint32_t count_finish_int : 1; // [1], write clear
  1505. uint32_t countp_finish_int : 1; // [2], write clear
  1506. uint32_t sg_finish_int : 1; // [3], write clear
  1507. uint32_t sg_count : 16; // [19:4], write clear
  1508. uint32_t sg_suspend_int : 1; // [20], write clear
  1509. uint32_t count_finish_sta : 1; // [21], write clear
  1510. uint32_t countp_finish_sta : 1; // [22], write clear
  1511. uint32_t sg_finish_sta : 1; // [23], write clear
  1512. uint32_t sg_suspend_sta : 1; // [24], write clear
  1513. uint32_t resp_err : 1; // [25], write clear
  1514. uint32_t resp_err_int : 1; // [26], write clear
  1515. uint32_t __31_27 : 5; // [31:27]
  1516. } b;
  1517. } REG_ARM_AXIDMA_AXIDMA_C11_STATUS_T;
  1518. // axidma_c11_sgconf
  1519. typedef union {
  1520. uint32_t v;
  1521. struct
  1522. {
  1523. uint32_t sg_en : 1; // [0], write clear
  1524. uint32_t sg_finish_ie : 1; // [1]
  1525. uint32_t sg_suspend_ie : 1; // [2]
  1526. uint32_t desc_rd_ctrl : 1; // [3]
  1527. uint32_t sg_num : 16; // [19:4]
  1528. uint32_t __31_20 : 12; // [31:20]
  1529. } b;
  1530. } REG_ARM_AXIDMA_AXIDMA_C11_SGCONF_T;
  1531. // axidma_c11_set
  1532. typedef union {
  1533. uint32_t v;
  1534. struct
  1535. {
  1536. uint32_t run_set : 1; // [0]
  1537. uint32_t __31_1 : 31; // [31:1]
  1538. } b;
  1539. } REG_ARM_AXIDMA_AXIDMA_C11_SET_T;
  1540. // axidma_c11_clr
  1541. typedef union {
  1542. uint32_t v;
  1543. struct
  1544. {
  1545. uint32_t run_clr : 1; // [0]
  1546. uint32_t __31_1 : 31; // [31:1]
  1547. } b;
  1548. } REG_ARM_AXIDMA_AXIDMA_C11_CLR_T;
  1549. // axidma_conf
  1550. #define ARM_AXIDMA_STOP (1 << 0)
  1551. #define ARM_AXIDMA_STOP_IE (1 << 1)
  1552. #define ARM_AXIDMA_PRIORITY (1 << 2)
  1553. #define ARM_AXIDMA_OUTSTAND(n) (((n)&0x3) << 3)
  1554. #define ARM_AXIDMA_RESP_ERR_STOP_EN (1 << 5)
  1555. #define ARM_AXIDMA_GEN_REG_SECUIRTY_EN (1 << 6)
  1556. // axidma_delay
  1557. #define ARM_AXIDMA_DELAY(n) (((n)&0xffff) << 0)
  1558. // axidma_status
  1559. #define ARM_AXIDMA_CH_NUM(n) (((n)&0xf) << 0)
  1560. #define ARM_AXIDMA_STOP_STATUS (1 << 4)
  1561. // axidma_irq_stat
  1562. #define ARM_AXIDMA_CH0_IRQ (1 << 0)
  1563. #define ARM_AXIDMA_CH1_IRQ (1 << 1)
  1564. #define ARM_AXIDMA_CH2_IRQ (1 << 2)
  1565. #define ARM_AXIDMA_CH3_IRQ (1 << 3)
  1566. #define ARM_AXIDMA_CH4_IRQ (1 << 4)
  1567. #define ARM_AXIDMA_CH5_IRQ (1 << 5)
  1568. #define ARM_AXIDMA_CH6_IRQ (1 << 6)
  1569. #define ARM_AXIDMA_CH7_IRQ (1 << 7)
  1570. #define ARM_AXIDMA_CH8_IRQ (1 << 8)
  1571. #define ARM_AXIDMA_CH9_IRQ (1 << 9)
  1572. #define ARM_AXIDMA_CH10_IRQ (1 << 10)
  1573. #define ARM_AXIDMA_CH11_IRQ (1 << 11)
  1574. #define ARM_AXIDMA_RST_FIN_IRQ (1 << 12)
  1575. // axidma_arm_req_stat
  1576. #define ARM_AXIDMA_IRQ0 (1 << 0)
  1577. #define ARM_AXIDMA_IRQ1 (1 << 1)
  1578. #define ARM_AXIDMA_IRQ2 (1 << 2)
  1579. #define ARM_AXIDMA_IRQ3 (1 << 3)
  1580. #define ARM_AXIDMA_IRQ4 (1 << 4)
  1581. #define ARM_AXIDMA_IRQ5 (1 << 5)
  1582. #define ARM_AXIDMA_IRQ6 (1 << 6)
  1583. #define ARM_AXIDMA_IRQ7 (1 << 7)
  1584. #define ARM_AXIDMA_IRQ8 (1 << 8)
  1585. #define ARM_AXIDMA_IRQ9 (1 << 9)
  1586. #define ARM_AXIDMA_IRQ10 (1 << 10)
  1587. #define ARM_AXIDMA_IRQ11 (1 << 11)
  1588. #define ARM_AXIDMA_IRQ12 (1 << 12)
  1589. #define ARM_AXIDMA_IRQ13 (1 << 13)
  1590. #define ARM_AXIDMA_IRQ14 (1 << 14)
  1591. #define ARM_AXIDMA_IRQ15 (1 << 15)
  1592. #define ARM_AXIDMA_IRQ16 (1 << 16)
  1593. #define ARM_AXIDMA_IRQ17 (1 << 17)
  1594. #define ARM_AXIDMA_IRQ18 (1 << 18)
  1595. #define ARM_AXIDMA_IRQ19 (1 << 19)
  1596. #define ARM_AXIDMA_IRQ20 (1 << 20)
  1597. #define ARM_AXIDMA_IRQ21 (1 << 21)
  1598. #define ARM_AXIDMA_IRQ22 (1 << 22)
  1599. #define ARM_AXIDMA_IRQ23 (1 << 23)
  1600. // axidma_arm_ack_stat
  1601. #define ARM_AXIDMA_ACK0 (1 << 0)
  1602. #define ARM_AXIDMA_ACK1 (1 << 1)
  1603. #define ARM_AXIDMA_ACK2 (1 << 2)
  1604. #define ARM_AXIDMA_ACK3 (1 << 3)
  1605. #define ARM_AXIDMA_ACK4 (1 << 4)
  1606. #define ARM_AXIDMA_ACK5 (1 << 5)
  1607. #define ARM_AXIDMA_ACK6 (1 << 6)
  1608. #define ARM_AXIDMA_ACK7 (1 << 7)
  1609. #define ARM_AXIDMA_ACK8 (1 << 8)
  1610. #define ARM_AXIDMA_ACK9 (1 << 9)
  1611. #define ARM_AXIDMA_ACK10 (1 << 10)
  1612. #define ARM_AXIDMA_ACK11 (1 << 11)
  1613. #define ARM_AXIDMA_ACK12 (1 << 12)
  1614. #define ARM_AXIDMA_ACK13 (1 << 13)
  1615. #define ARM_AXIDMA_ACK14 (1 << 14)
  1616. #define ARM_AXIDMA_ACK15 (1 << 15)
  1617. #define ARM_AXIDMA_ACK16 (1 << 16)
  1618. #define ARM_AXIDMA_ACK17 (1 << 17)
  1619. #define ARM_AXIDMA_ACK18 (1 << 18)
  1620. #define ARM_AXIDMA_ACK19 (1 << 19)
  1621. #define ARM_AXIDMA_ACK20 (1 << 20)
  1622. #define ARM_AXIDMA_ACK21 (1 << 21)
  1623. #define ARM_AXIDMA_ACK22 (1 << 22)
  1624. #define ARM_AXIDMA_ACK23 (1 << 23)
  1625. // axidma_ch_irq_distr
  1626. #define ARM_AXIDMA_CH0_IRQ_EN0 (1 << 0)
  1627. #define ARM_AXIDMA_CH1_IRQ_EN0 (1 << 1)
  1628. #define ARM_AXIDMA_CH2_IRQ_EN0 (1 << 2)
  1629. #define ARM_AXIDMA_CH3_IRQ_EN0 (1 << 3)
  1630. #define ARM_AXIDMA_CH4_IRQ_EN0 (1 << 4)
  1631. #define ARM_AXIDMA_CH5_IRQ_EN0 (1 << 5)
  1632. #define ARM_AXIDMA_CH6_IRQ_EN0 (1 << 6)
  1633. #define ARM_AXIDMA_CH7_IRQ_EN0 (1 << 7)
  1634. #define ARM_AXIDMA_CH8_IRQ_EN0 (1 << 8)
  1635. #define ARM_AXIDMA_CH9_IRQ_EN0 (1 << 9)
  1636. #define ARM_AXIDMA_CH10_IRQ_EN0 (1 << 10)
  1637. #define ARM_AXIDMA_CH11_IRQ_EN0 (1 << 11)
  1638. // axidma_c0_conf
  1639. #define ARM_AXIDMA_START (1 << 0)
  1640. #define ARM_AXIDMA_DATA_TYPE(n) (((n)&0x3) << 1)
  1641. #define ARM_AXIDMA_SYN_IRQ (1 << 3)
  1642. #define ARM_AXIDMA_IRQ_F (1 << 4)
  1643. #define ARM_AXIDMA_IRQ_T (1 << 5)
  1644. #define ARM_AXIDMA_SADDR_FIX (1 << 6)
  1645. #define ARM_AXIDMA_DADDR_FIX (1 << 7)
  1646. #define ARM_AXIDMA_FORCE_TRANS (1 << 8)
  1647. #define ARM_AXIDMA_COUNT_SEL (1 << 10)
  1648. #define ARM_AXIDMA_SADDR_TURNAROUND (1 << 12)
  1649. #define ARM_AXIDMA_DADDR_TURNAROUND (1 << 13)
  1650. #define ARM_AXIDMA_SECURITY_EN (1 << 14)
  1651. #define ARM_AXIDMA_ERR_INT_EN (1 << 15)
  1652. // axidma_c0_map
  1653. #define ARM_AXIDMA_REQ_SOURCE(n) (((n)&0x1f) << 0)
  1654. #define ARM_AXIDMA_ACK_MAP(n) (((n)&0x1f) << 8)
  1655. // axidma_c0_count
  1656. #define ARM_AXIDMA_COUNT(n) (((n)&0xffffff) << 0)
  1657. // axidma_c0_countp
  1658. #define ARM_AXIDMA_COUNTP(n) (((n)&0xffff) << 0)
  1659. // axidma_c0_status
  1660. #define ARM_AXIDMA_RUN (1 << 0)
  1661. #define ARM_AXIDMA_COUNT_FINISH_INT (1 << 1)
  1662. #define ARM_AXIDMA_COUNTP_FINISH_INT (1 << 2)
  1663. #define ARM_AXIDMA_SG_FINISH_INT (1 << 3)
  1664. #define ARM_AXIDMA_SG_COUNT(n) (((n)&0xffff) << 4)
  1665. #define ARM_AXIDMA_SG_SUSPEND_INT (1 << 20)
  1666. #define ARM_AXIDMA_COUNT_FINISH_STA (1 << 21)
  1667. #define ARM_AXIDMA_COUNTP_FINISH_STA (1 << 22)
  1668. #define ARM_AXIDMA_SG_FINISH_STA (1 << 23)
  1669. #define ARM_AXIDMA_SG_SUSPEND_STA (1 << 24)
  1670. #define ARM_AXIDMA_RESP_ERR (1 << 25)
  1671. #define ARM_AXIDMA_RESP_ERR_INT (1 << 26)
  1672. // axidma_c0_sgconf
  1673. #define ARM_AXIDMA_SG_EN (1 << 0)
  1674. #define ARM_AXIDMA_SG_FINISH_IE (1 << 1)
  1675. #define ARM_AXIDMA_SG_SUSPEND_IE (1 << 2)
  1676. #define ARM_AXIDMA_DESC_RD_CTRL (1 << 3)
  1677. #define ARM_AXIDMA_SG_NUM(n) (((n)&0xffff) << 4)
  1678. // axidma_c0_set
  1679. #define ARM_AXIDMA_RUN_SET (1 << 0)
  1680. // axidma_c0_clr
  1681. #define ARM_AXIDMA_RUN_CLR (1 << 0)
  1682. // axidma_c1_conf
  1683. #define ARM_AXIDMA_START (1 << 0)
  1684. #define ARM_AXIDMA_DATA_TYPE(n) (((n)&0x3) << 1)
  1685. #define ARM_AXIDMA_SYN_IRQ (1 << 3)
  1686. #define ARM_AXIDMA_IRQ_F (1 << 4)
  1687. #define ARM_AXIDMA_IRQ_T (1 << 5)
  1688. #define ARM_AXIDMA_SADDR_FIX (1 << 6)
  1689. #define ARM_AXIDMA_DADDR_FIX (1 << 7)
  1690. #define ARM_AXIDMA_FORCE_TRANS (1 << 8)
  1691. #define ARM_AXIDMA_COUNT_SEL (1 << 10)
  1692. #define ARM_AXIDMA_SADDR_TURNAROUND (1 << 12)
  1693. #define ARM_AXIDMA_DADDR_TURNAROUND (1 << 13)
  1694. #define ARM_AXIDMA_SECURITY_EN (1 << 14)
  1695. #define ARM_AXIDMA_ERR_INT_EN (1 << 15)
  1696. // axidma_c1_map
  1697. #define ARM_AXIDMA_REQ_SOURCE(n) (((n)&0x1f) << 0)
  1698. #define ARM_AXIDMA_ACK_MAP(n) (((n)&0x1f) << 8)
  1699. // axidma_c1_count
  1700. #define ARM_AXIDMA_COUNT(n) (((n)&0xffffff) << 0)
  1701. // axidma_c1_countp
  1702. #define ARM_AXIDMA_COUNTP(n) (((n)&0xffff) << 0)
  1703. // axidma_c1_status
  1704. #define ARM_AXIDMA_RUN (1 << 0)
  1705. #define ARM_AXIDMA_COUNT_FINISH_INT (1 << 1)
  1706. #define ARM_AXIDMA_COUNTP_FINISH_INT (1 << 2)
  1707. #define ARM_AXIDMA_SG_FINISH_INT (1 << 3)
  1708. #define ARM_AXIDMA_SG_COUNT(n) (((n)&0xffff) << 4)
  1709. #define ARM_AXIDMA_SG_SUSPEND_INT (1 << 20)
  1710. #define ARM_AXIDMA_COUNT_FINISH_STA (1 << 21)
  1711. #define ARM_AXIDMA_COUNTP_FINISH_STA (1 << 22)
  1712. #define ARM_AXIDMA_SG_FINISH_STA (1 << 23)
  1713. #define ARM_AXIDMA_SG_SUSPEND_STA (1 << 24)
  1714. #define ARM_AXIDMA_RESP_ERR (1 << 25)
  1715. #define ARM_AXIDMA_RESP_ERR_INT (1 << 26)
  1716. // axidma_c1_sgconf
  1717. #define ARM_AXIDMA_SG_EN (1 << 0)
  1718. #define ARM_AXIDMA_SG_FINISH_IE (1 << 1)
  1719. #define ARM_AXIDMA_SG_SUSPEND_IE (1 << 2)
  1720. #define ARM_AXIDMA_DESC_RD_CTRL (1 << 3)
  1721. #define ARM_AXIDMA_SG_NUM(n) (((n)&0xffff) << 4)
  1722. // axidma_c1_set
  1723. #define ARM_AXIDMA_RUN_SET (1 << 0)
  1724. // axidma_c1_clr
  1725. #define ARM_AXIDMA_RUN_CLR (1 << 0)
  1726. // axidma_c2_conf
  1727. #define ARM_AXIDMA_START (1 << 0)
  1728. #define ARM_AXIDMA_DATA_TYPE(n) (((n)&0x3) << 1)
  1729. #define ARM_AXIDMA_SYN_IRQ (1 << 3)
  1730. #define ARM_AXIDMA_IRQ_F (1 << 4)
  1731. #define ARM_AXIDMA_IRQ_T (1 << 5)
  1732. #define ARM_AXIDMA_SADDR_FIX (1 << 6)
  1733. #define ARM_AXIDMA_DADDR_FIX (1 << 7)
  1734. #define ARM_AXIDMA_FORCE_TRANS (1 << 8)
  1735. #define ARM_AXIDMA_COUNT_SEL (1 << 10)
  1736. #define ARM_AXIDMA_SADDR_TURNAROUND (1 << 12)
  1737. #define ARM_AXIDMA_DADDR_TURNAROUND (1 << 13)
  1738. #define ARM_AXIDMA_SECURITY_EN (1 << 14)
  1739. #define ARM_AXIDMA_ERR_INT_EN (1 << 15)
  1740. // axidma_c2_map
  1741. #define ARM_AXIDMA_REQ_SOURCE(n) (((n)&0x1f) << 0)
  1742. #define ARM_AXIDMA_ACK_MAP(n) (((n)&0x1f) << 8)
  1743. // axidma_c2_count
  1744. #define ARM_AXIDMA_COUNT(n) (((n)&0xffffff) << 0)
  1745. // axidma_c2_countp
  1746. #define ARM_AXIDMA_COUNTP(n) (((n)&0xffff) << 0)
  1747. // axidma_c2_status
  1748. #define ARM_AXIDMA_RUN (1 << 0)
  1749. #define ARM_AXIDMA_COUNT_FINISH_INT (1 << 1)
  1750. #define ARM_AXIDMA_COUNTP_FINISH_INT (1 << 2)
  1751. #define ARM_AXIDMA_SG_FINISH_INT (1 << 3)
  1752. #define ARM_AXIDMA_SG_COUNT(n) (((n)&0xffff) << 4)
  1753. #define ARM_AXIDMA_SG_SUSPEND_INT (1 << 20)
  1754. #define ARM_AXIDMA_COUNT_FINISH_STA (1 << 21)
  1755. #define ARM_AXIDMA_COUNTP_FINISH_STA (1 << 22)
  1756. #define ARM_AXIDMA_SG_FINISH_STA (1 << 23)
  1757. #define ARM_AXIDMA_SG_SUSPEND_STA (1 << 24)
  1758. #define ARM_AXIDMA_RESP_ERR (1 << 25)
  1759. #define ARM_AXIDMA_RESP_ERR_INT (1 << 26)
  1760. // axidma_c2_sgconf
  1761. #define ARM_AXIDMA_SG_EN (1 << 0)
  1762. #define ARM_AXIDMA_SG_FINISH_IE (1 << 1)
  1763. #define ARM_AXIDMA_SG_SUSPEND_IE (1 << 2)
  1764. #define ARM_AXIDMA_DESC_RD_CTRL (1 << 3)
  1765. #define ARM_AXIDMA_SG_NUM(n) (((n)&0xffff) << 4)
  1766. // axidma_c2_set
  1767. #define ARM_AXIDMA_RUN_SET (1 << 0)
  1768. // axidma_c2_clr
  1769. #define ARM_AXIDMA_RUN_CLR (1 << 0)
  1770. // axidma_c3_conf
  1771. #define ARM_AXIDMA_START (1 << 0)
  1772. #define ARM_AXIDMA_DATA_TYPE(n) (((n)&0x3) << 1)
  1773. #define ARM_AXIDMA_SYN_IRQ (1 << 3)
  1774. #define ARM_AXIDMA_IRQ_F (1 << 4)
  1775. #define ARM_AXIDMA_IRQ_T (1 << 5)
  1776. #define ARM_AXIDMA_SADDR_FIX (1 << 6)
  1777. #define ARM_AXIDMA_DADDR_FIX (1 << 7)
  1778. #define ARM_AXIDMA_FORCE_TRANS (1 << 8)
  1779. #define ARM_AXIDMA_COUNT_SEL (1 << 10)
  1780. #define ARM_AXIDMA_SADDR_TURNAROUND (1 << 12)
  1781. #define ARM_AXIDMA_DADDR_TURNAROUND (1 << 13)
  1782. #define ARM_AXIDMA_SECURITY_EN (1 << 14)
  1783. #define ARM_AXIDMA_ERR_INT_EN (1 << 15)
  1784. // axidma_c3_map
  1785. #define ARM_AXIDMA_REQ_SOURCE(n) (((n)&0x1f) << 0)
  1786. #define ARM_AXIDMA_ACK_MAP(n) (((n)&0x1f) << 8)
  1787. // axidma_c3_count
  1788. #define ARM_AXIDMA_COUNT(n) (((n)&0xffffff) << 0)
  1789. // axidma_c3_countp
  1790. #define ARM_AXIDMA_COUNTP(n) (((n)&0xffff) << 0)
  1791. // axidma_c3_status
  1792. #define ARM_AXIDMA_RUN (1 << 0)
  1793. #define ARM_AXIDMA_COUNT_FINISH_INT (1 << 1)
  1794. #define ARM_AXIDMA_COUNTP_FINISH_INT (1 << 2)
  1795. #define ARM_AXIDMA_SG_FINISH_INT (1 << 3)
  1796. #define ARM_AXIDMA_SG_COUNT(n) (((n)&0xffff) << 4)
  1797. #define ARM_AXIDMA_SG_SUSPEND_INT (1 << 20)
  1798. #define ARM_AXIDMA_COUNT_FINISH_STA (1 << 21)
  1799. #define ARM_AXIDMA_COUNTP_FINISH_STA (1 << 22)
  1800. #define ARM_AXIDMA_SG_FINISH_STA (1 << 23)
  1801. #define ARM_AXIDMA_SG_SUSPEND_STA (1 << 24)
  1802. #define ARM_AXIDMA_RESP_ERR (1 << 25)
  1803. #define ARM_AXIDMA_RESP_ERR_INT (1 << 26)
  1804. // axidma_c3_sgconf
  1805. #define ARM_AXIDMA_SG_EN (1 << 0)
  1806. #define ARM_AXIDMA_SG_FINISH_IE (1 << 1)
  1807. #define ARM_AXIDMA_SG_SUSPEND_IE (1 << 2)
  1808. #define ARM_AXIDMA_DESC_RD_CTRL (1 << 3)
  1809. #define ARM_AXIDMA_SG_NUM(n) (((n)&0xffff) << 4)
  1810. // axidma_c3_set
  1811. #define ARM_AXIDMA_RUN_SET (1 << 0)
  1812. // axidma_c3_clr
  1813. #define ARM_AXIDMA_RUN_CLR (1 << 0)
  1814. // axidma_c4_conf
  1815. #define ARM_AXIDMA_START (1 << 0)
  1816. #define ARM_AXIDMA_DATA_TYPE(n) (((n)&0x3) << 1)
  1817. #define ARM_AXIDMA_SYN_IRQ (1 << 3)
  1818. #define ARM_AXIDMA_IRQ_F (1 << 4)
  1819. #define ARM_AXIDMA_IRQ_T (1 << 5)
  1820. #define ARM_AXIDMA_SADDR_FIX (1 << 6)
  1821. #define ARM_AXIDMA_DADDR_FIX (1 << 7)
  1822. #define ARM_AXIDMA_FORCE_TRANS (1 << 8)
  1823. #define ARM_AXIDMA_COUNT_SEL (1 << 10)
  1824. #define ARM_AXIDMA_SADDR_TURNAROUND (1 << 12)
  1825. #define ARM_AXIDMA_DADDR_TURNAROUND (1 << 13)
  1826. #define ARM_AXIDMA_SECURITY_EN (1 << 14)
  1827. #define ARM_AXIDMA_ERR_INT_EN (1 << 15)
  1828. // axidma_c4_map
  1829. #define ARM_AXIDMA_REQ_SOURCE(n) (((n)&0x1f) << 0)
  1830. #define ARM_AXIDMA_ACK_MAP(n) (((n)&0x1f) << 8)
  1831. // axidma_c4_count
  1832. #define ARM_AXIDMA_COUNT(n) (((n)&0xffffff) << 0)
  1833. // axidma_c4_countp
  1834. #define ARM_AXIDMA_COUNTP(n) (((n)&0xffff) << 0)
  1835. // axidma_c4_status
  1836. #define ARM_AXIDMA_RUN (1 << 0)
  1837. #define ARM_AXIDMA_COUNT_FINISH_INT (1 << 1)
  1838. #define ARM_AXIDMA_COUNTP_FINISH_INT (1 << 2)
  1839. #define ARM_AXIDMA_SG_FINISH_INT (1 << 3)
  1840. #define ARM_AXIDMA_SG_COUNT(n) (((n)&0xffff) << 4)
  1841. #define ARM_AXIDMA_SG_SUSPEND_INT (1 << 20)
  1842. #define ARM_AXIDMA_COUNT_FINISH_STA (1 << 21)
  1843. #define ARM_AXIDMA_COUNTP_FINISH_STA (1 << 22)
  1844. #define ARM_AXIDMA_SG_FINISH_STA (1 << 23)
  1845. #define ARM_AXIDMA_SG_SUSPEND_STA (1 << 24)
  1846. #define ARM_AXIDMA_RESP_ERR (1 << 25)
  1847. #define ARM_AXIDMA_RESP_ERR_INT (1 << 26)
  1848. // axidma_c4_sgconf
  1849. #define ARM_AXIDMA_SG_EN (1 << 0)
  1850. #define ARM_AXIDMA_SG_FINISH_IE (1 << 1)
  1851. #define ARM_AXIDMA_SG_SUSPEND_IE (1 << 2)
  1852. #define ARM_AXIDMA_DESC_RD_CTRL (1 << 3)
  1853. #define ARM_AXIDMA_SG_NUM(n) (((n)&0xffff) << 4)
  1854. // axidma_c4_set
  1855. #define ARM_AXIDMA_RUN_SET (1 << 0)
  1856. // axidma_c4_clr
  1857. #define ARM_AXIDMA_RUN_CLR (1 << 0)
  1858. // axidma_c5_conf
  1859. #define ARM_AXIDMA_START (1 << 0)
  1860. #define ARM_AXIDMA_DATA_TYPE(n) (((n)&0x3) << 1)
  1861. #define ARM_AXIDMA_SYN_IRQ (1 << 3)
  1862. #define ARM_AXIDMA_IRQ_F (1 << 4)
  1863. #define ARM_AXIDMA_IRQ_T (1 << 5)
  1864. #define ARM_AXIDMA_SADDR_FIX (1 << 6)
  1865. #define ARM_AXIDMA_DADDR_FIX (1 << 7)
  1866. #define ARM_AXIDMA_FORCE_TRANS (1 << 8)
  1867. #define ARM_AXIDMA_COUNT_SEL (1 << 10)
  1868. #define ARM_AXIDMA_SADDR_TURNAROUND (1 << 12)
  1869. #define ARM_AXIDMA_DADDR_TURNAROUND (1 << 13)
  1870. #define ARM_AXIDMA_SECURITY_EN (1 << 14)
  1871. #define ARM_AXIDMA_ERR_INT_EN (1 << 15)
  1872. // axidma_c5_map
  1873. #define ARM_AXIDMA_REQ_SOURCE(n) (((n)&0x1f) << 0)
  1874. #define ARM_AXIDMA_ACK_MAP(n) (((n)&0x1f) << 8)
  1875. // axidma_c5_count
  1876. #define ARM_AXIDMA_COUNT(n) (((n)&0xffffff) << 0)
  1877. // axidma_c5_countp
  1878. #define ARM_AXIDMA_COUNTP(n) (((n)&0xffff) << 0)
  1879. // axidma_c5_status
  1880. #define ARM_AXIDMA_RUN (1 << 0)
  1881. #define ARM_AXIDMA_COUNT_FINISH_INT (1 << 1)
  1882. #define ARM_AXIDMA_COUNTP_FINISH_INT (1 << 2)
  1883. #define ARM_AXIDMA_SG_FINISH_INT (1 << 3)
  1884. #define ARM_AXIDMA_SG_COUNT(n) (((n)&0xffff) << 4)
  1885. #define ARM_AXIDMA_SG_SUSPEND_INT (1 << 20)
  1886. #define ARM_AXIDMA_COUNT_FINISH_STA (1 << 21)
  1887. #define ARM_AXIDMA_COUNTP_FINISH_STA (1 << 22)
  1888. #define ARM_AXIDMA_SG_FINISH_STA (1 << 23)
  1889. #define ARM_AXIDMA_SG_SUSPEND_STA (1 << 24)
  1890. #define ARM_AXIDMA_RESP_ERR (1 << 25)
  1891. #define ARM_AXIDMA_RESP_ERR_INT (1 << 26)
  1892. // axidma_c5_sgconf
  1893. #define ARM_AXIDMA_SG_EN (1 << 0)
  1894. #define ARM_AXIDMA_SG_FINISH_IE (1 << 1)
  1895. #define ARM_AXIDMA_SG_SUSPEND_IE (1 << 2)
  1896. #define ARM_AXIDMA_DESC_RD_CTRL (1 << 3)
  1897. #define ARM_AXIDMA_SG_NUM(n) (((n)&0xffff) << 4)
  1898. // axidma_c5_set
  1899. #define ARM_AXIDMA_RUN_SET (1 << 0)
  1900. // axidma_c5_clr
  1901. #define ARM_AXIDMA_RUN_CLR (1 << 0)
  1902. // axidma_c6_conf
  1903. #define ARM_AXIDMA_START (1 << 0)
  1904. #define ARM_AXIDMA_DATA_TYPE(n) (((n)&0x3) << 1)
  1905. #define ARM_AXIDMA_SYN_IRQ (1 << 3)
  1906. #define ARM_AXIDMA_IRQ_F (1 << 4)
  1907. #define ARM_AXIDMA_IRQ_T (1 << 5)
  1908. #define ARM_AXIDMA_SADDR_FIX (1 << 6)
  1909. #define ARM_AXIDMA_DADDR_FIX (1 << 7)
  1910. #define ARM_AXIDMA_FORCE_TRANS (1 << 8)
  1911. #define ARM_AXIDMA_COUNT_SEL (1 << 10)
  1912. #define ARM_AXIDMA_SADDR_TURNAROUND (1 << 12)
  1913. #define ARM_AXIDMA_DADDR_TURNAROUND (1 << 13)
  1914. #define ARM_AXIDMA_SECURITY_EN (1 << 14)
  1915. #define ARM_AXIDMA_ERR_INT_EN (1 << 15)
  1916. // axidma_c6_map
  1917. #define ARM_AXIDMA_REQ_SOURCE(n) (((n)&0x1f) << 0)
  1918. #define ARM_AXIDMA_ACK_MAP(n) (((n)&0x1f) << 8)
  1919. // axidma_c6_count
  1920. #define ARM_AXIDMA_COUNT(n) (((n)&0xffffff) << 0)
  1921. // axidma_c6_countp
  1922. #define ARM_AXIDMA_COUNTP(n) (((n)&0xffff) << 0)
  1923. // axidma_c6_status
  1924. #define ARM_AXIDMA_RUN (1 << 0)
  1925. #define ARM_AXIDMA_COUNT_FINISH_INT (1 << 1)
  1926. #define ARM_AXIDMA_COUNTP_FINISH_INT (1 << 2)
  1927. #define ARM_AXIDMA_SG_FINISH_INT (1 << 3)
  1928. #define ARM_AXIDMA_SG_COUNT(n) (((n)&0xffff) << 4)
  1929. #define ARM_AXIDMA_SG_SUSPEND_INT (1 << 20)
  1930. #define ARM_AXIDMA_COUNT_FINISH_STA (1 << 21)
  1931. #define ARM_AXIDMA_COUNTP_FINISH_STA (1 << 22)
  1932. #define ARM_AXIDMA_SG_FINISH_STA (1 << 23)
  1933. #define ARM_AXIDMA_SG_SUSPEND_STA (1 << 24)
  1934. #define ARM_AXIDMA_RESP_ERR (1 << 25)
  1935. #define ARM_AXIDMA_RESP_ERR_INT (1 << 26)
  1936. // axidma_c6_sgconf
  1937. #define ARM_AXIDMA_SG_EN (1 << 0)
  1938. #define ARM_AXIDMA_SG_FINISH_IE (1 << 1)
  1939. #define ARM_AXIDMA_SG_SUSPEND_IE (1 << 2)
  1940. #define ARM_AXIDMA_DESC_RD_CTRL (1 << 3)
  1941. #define ARM_AXIDMA_SG_NUM(n) (((n)&0xffff) << 4)
  1942. // axidma_c6_set
  1943. #define ARM_AXIDMA_RUN_SET (1 << 0)
  1944. // axidma_c6_clr
  1945. #define ARM_AXIDMA_RUN_CLR (1 << 0)
  1946. // axidma_c7_conf
  1947. #define ARM_AXIDMA_START (1 << 0)
  1948. #define ARM_AXIDMA_DATA_TYPE(n) (((n)&0x3) << 1)
  1949. #define ARM_AXIDMA_SYN_IRQ (1 << 3)
  1950. #define ARM_AXIDMA_IRQ_F (1 << 4)
  1951. #define ARM_AXIDMA_IRQ_T (1 << 5)
  1952. #define ARM_AXIDMA_SADDR_FIX (1 << 6)
  1953. #define ARM_AXIDMA_DADDR_FIX (1 << 7)
  1954. #define ARM_AXIDMA_FORCE_TRANS (1 << 8)
  1955. #define ARM_AXIDMA_COUNT_SEL (1 << 10)
  1956. #define ARM_AXIDMA_SADDR_TURNAROUND (1 << 12)
  1957. #define ARM_AXIDMA_DADDR_TURNAROUND (1 << 13)
  1958. #define ARM_AXIDMA_SECURITY_EN (1 << 14)
  1959. #define ARM_AXIDMA_ERR_INT_EN (1 << 15)
  1960. // axidma_c7_map
  1961. #define ARM_AXIDMA_REQ_SOURCE(n) (((n)&0x1f) << 0)
  1962. #define ARM_AXIDMA_ACK_MAP(n) (((n)&0x1f) << 8)
  1963. // axidma_c7_count
  1964. #define ARM_AXIDMA_COUNT(n) (((n)&0xffffff) << 0)
  1965. // axidma_c7_countp
  1966. #define ARM_AXIDMA_COUNTP(n) (((n)&0xffff) << 0)
  1967. // axidma_c7_status
  1968. #define ARM_AXIDMA_RUN (1 << 0)
  1969. #define ARM_AXIDMA_COUNT_FINISH_INT (1 << 1)
  1970. #define ARM_AXIDMA_COUNTP_FINISH_INT (1 << 2)
  1971. #define ARM_AXIDMA_SG_FINISH_INT (1 << 3)
  1972. #define ARM_AXIDMA_SG_COUNT(n) (((n)&0xffff) << 4)
  1973. #define ARM_AXIDMA_SG_SUSPEND_INT (1 << 20)
  1974. #define ARM_AXIDMA_COUNT_FINISH_STA (1 << 21)
  1975. #define ARM_AXIDMA_COUNTP_FINISH_STA (1 << 22)
  1976. #define ARM_AXIDMA_SG_FINISH_STA (1 << 23)
  1977. #define ARM_AXIDMA_SG_SUSPEND_STA (1 << 24)
  1978. #define ARM_AXIDMA_RESP_ERR (1 << 25)
  1979. #define ARM_AXIDMA_RESP_ERR_INT (1 << 26)
  1980. // axidma_c7_sgconf
  1981. #define ARM_AXIDMA_SG_EN (1 << 0)
  1982. #define ARM_AXIDMA_SG_FINISH_IE (1 << 1)
  1983. #define ARM_AXIDMA_SG_SUSPEND_IE (1 << 2)
  1984. #define ARM_AXIDMA_DESC_RD_CTRL (1 << 3)
  1985. #define ARM_AXIDMA_SG_NUM(n) (((n)&0xffff) << 4)
  1986. // axidma_c7_set
  1987. #define ARM_AXIDMA_RUN_SET (1 << 0)
  1988. // axidma_c7_clr
  1989. #define ARM_AXIDMA_RUN_CLR (1 << 0)
  1990. // axidma_c8_conf
  1991. #define ARM_AXIDMA_START (1 << 0)
  1992. #define ARM_AXIDMA_DATA_TYPE(n) (((n)&0x3) << 1)
  1993. #define ARM_AXIDMA_SYN_IRQ (1 << 3)
  1994. #define ARM_AXIDMA_IRQ_F (1 << 4)
  1995. #define ARM_AXIDMA_IRQ_T (1 << 5)
  1996. #define ARM_AXIDMA_SADDR_FIX (1 << 6)
  1997. #define ARM_AXIDMA_DADDR_FIX (1 << 7)
  1998. #define ARM_AXIDMA_FORCE_TRANS (1 << 8)
  1999. #define ARM_AXIDMA_COUNT_SEL (1 << 10)
  2000. #define ARM_AXIDMA_SADDR_TURNAROUND (1 << 12)
  2001. #define ARM_AXIDMA_DADDR_TURNAROUND (1 << 13)
  2002. #define ARM_AXIDMA_SECURITY_EN (1 << 14)
  2003. #define ARM_AXIDMA_ERR_INT_EN (1 << 15)
  2004. // axidma_c8_map
  2005. #define ARM_AXIDMA_REQ_SOURCE(n) (((n)&0x1f) << 0)
  2006. #define ARM_AXIDMA_ACK_MAP(n) (((n)&0x1f) << 8)
  2007. // axidma_c8_count
  2008. #define ARM_AXIDMA_COUNT(n) (((n)&0xffffff) << 0)
  2009. // axidma_c8_countp
  2010. #define ARM_AXIDMA_COUNTP(n) (((n)&0xffff) << 0)
  2011. // axidma_c8_status
  2012. #define ARM_AXIDMA_RUN (1 << 0)
  2013. #define ARM_AXIDMA_COUNT_FINISH_INT (1 << 1)
  2014. #define ARM_AXIDMA_COUNTP_FINISH_INT (1 << 2)
  2015. #define ARM_AXIDMA_SG_FINISH_INT (1 << 3)
  2016. #define ARM_AXIDMA_SG_COUNT(n) (((n)&0xffff) << 4)
  2017. #define ARM_AXIDMA_SG_SUSPEND_INT (1 << 20)
  2018. #define ARM_AXIDMA_COUNT_FINISH_STA (1 << 21)
  2019. #define ARM_AXIDMA_COUNTP_FINISH_STA (1 << 22)
  2020. #define ARM_AXIDMA_SG_FINISH_STA (1 << 23)
  2021. #define ARM_AXIDMA_SG_SUSPEND_STA (1 << 24)
  2022. #define ARM_AXIDMA_RESP_ERR (1 << 25)
  2023. #define ARM_AXIDMA_RESP_ERR_INT (1 << 26)
  2024. // axidma_c8_sgconf
  2025. #define ARM_AXIDMA_SG_EN (1 << 0)
  2026. #define ARM_AXIDMA_SG_FINISH_IE (1 << 1)
  2027. #define ARM_AXIDMA_SG_SUSPEND_IE (1 << 2)
  2028. #define ARM_AXIDMA_DESC_RD_CTRL (1 << 3)
  2029. #define ARM_AXIDMA_SG_NUM(n) (((n)&0xffff) << 4)
  2030. // axidma_c8_set
  2031. #define ARM_AXIDMA_RUN_SET (1 << 0)
  2032. // axidma_c8_clr
  2033. #define ARM_AXIDMA_RUN_CLR (1 << 0)
  2034. // axidma_c9_conf
  2035. #define ARM_AXIDMA_START (1 << 0)
  2036. #define ARM_AXIDMA_DATA_TYPE(n) (((n)&0x3) << 1)
  2037. #define ARM_AXIDMA_SYN_IRQ (1 << 3)
  2038. #define ARM_AXIDMA_IRQ_F (1 << 4)
  2039. #define ARM_AXIDMA_IRQ_T (1 << 5)
  2040. #define ARM_AXIDMA_SADDR_FIX (1 << 6)
  2041. #define ARM_AXIDMA_DADDR_FIX (1 << 7)
  2042. #define ARM_AXIDMA_FORCE_TRANS (1 << 8)
  2043. #define ARM_AXIDMA_COUNT_SEL (1 << 10)
  2044. #define ARM_AXIDMA_SADDR_TURNAROUND (1 << 12)
  2045. #define ARM_AXIDMA_DADDR_TURNAROUND (1 << 13)
  2046. #define ARM_AXIDMA_SECURITY_EN (1 << 14)
  2047. #define ARM_AXIDMA_ERR_INT_EN (1 << 15)
  2048. // axidma_c9_map
  2049. #define ARM_AXIDMA_REQ_SOURCE(n) (((n)&0x1f) << 0)
  2050. #define ARM_AXIDMA_ACK_MAP(n) (((n)&0x1f) << 8)
  2051. // axidma_c9_count
  2052. #define ARM_AXIDMA_COUNT(n) (((n)&0xffffff) << 0)
  2053. // axidma_c9_countp
  2054. #define ARM_AXIDMA_COUNTP(n) (((n)&0xffff) << 0)
  2055. // axidma_c9_status
  2056. #define ARM_AXIDMA_RUN (1 << 0)
  2057. #define ARM_AXIDMA_COUNT_FINISH_INT (1 << 1)
  2058. #define ARM_AXIDMA_COUNTP_FINISH_INT (1 << 2)
  2059. #define ARM_AXIDMA_SG_FINISH_INT (1 << 3)
  2060. #define ARM_AXIDMA_SG_COUNT(n) (((n)&0xffff) << 4)
  2061. #define ARM_AXIDMA_SG_SUSPEND_INT (1 << 20)
  2062. #define ARM_AXIDMA_COUNT_FINISH_STA (1 << 21)
  2063. #define ARM_AXIDMA_COUNTP_FINISH_STA (1 << 22)
  2064. #define ARM_AXIDMA_SG_FINISH_STA (1 << 23)
  2065. #define ARM_AXIDMA_SG_SUSPEND_STA (1 << 24)
  2066. #define ARM_AXIDMA_RESP_ERR (1 << 25)
  2067. #define ARM_AXIDMA_RESP_ERR_INT (1 << 26)
  2068. // axidma_c9_sgconf
  2069. #define ARM_AXIDMA_SG_EN (1 << 0)
  2070. #define ARM_AXIDMA_SG_FINISH_IE (1 << 1)
  2071. #define ARM_AXIDMA_SG_SUSPEND_IE (1 << 2)
  2072. #define ARM_AXIDMA_DESC_RD_CTRL (1 << 3)
  2073. #define ARM_AXIDMA_SG_NUM(n) (((n)&0xffff) << 4)
  2074. // axidma_c9_set
  2075. #define ARM_AXIDMA_RUN_SET (1 << 0)
  2076. // axidma_c9_clr
  2077. #define ARM_AXIDMA_RUN_CLR (1 << 0)
  2078. // axidma_c10_conf
  2079. #define ARM_AXIDMA_START (1 << 0)
  2080. #define ARM_AXIDMA_DATA_TYPE(n) (((n)&0x3) << 1)
  2081. #define ARM_AXIDMA_SYN_IRQ (1 << 3)
  2082. #define ARM_AXIDMA_IRQ_F (1 << 4)
  2083. #define ARM_AXIDMA_IRQ_T (1 << 5)
  2084. #define ARM_AXIDMA_SADDR_FIX (1 << 6)
  2085. #define ARM_AXIDMA_DADDR_FIX (1 << 7)
  2086. #define ARM_AXIDMA_FORCE_TRANS (1 << 8)
  2087. #define ARM_AXIDMA_COUNT_SEL (1 << 10)
  2088. #define ARM_AXIDMA_SADDR_TURNAROUND (1 << 12)
  2089. #define ARM_AXIDMA_DADDR_TURNAROUND (1 << 13)
  2090. #define ARM_AXIDMA_SECURITY_EN (1 << 14)
  2091. #define ARM_AXIDMA_ERR_INT_EN (1 << 15)
  2092. // axidma_c10_map
  2093. #define ARM_AXIDMA_REQ_SOURCE(n) (((n)&0x1f) << 0)
  2094. #define ARM_AXIDMA_ACK_MAP(n) (((n)&0x1f) << 8)
  2095. // axidma_c10_count
  2096. #define ARM_AXIDMA_COUNT(n) (((n)&0xffffff) << 0)
  2097. // axidma_c10_countp
  2098. #define ARM_AXIDMA_COUNTP(n) (((n)&0xffff) << 0)
  2099. // axidma_c10_status
  2100. #define ARM_AXIDMA_RUN (1 << 0)
  2101. #define ARM_AXIDMA_COUNT_FINISH_INT (1 << 1)
  2102. #define ARM_AXIDMA_COUNTP_FINISH_INT (1 << 2)
  2103. #define ARM_AXIDMA_SG_FINISH_INT (1 << 3)
  2104. #define ARM_AXIDMA_SG_COUNT(n) (((n)&0xffff) << 4)
  2105. #define ARM_AXIDMA_SG_SUSPEND_INT (1 << 20)
  2106. #define ARM_AXIDMA_COUNT_FINISH_STA (1 << 21)
  2107. #define ARM_AXIDMA_COUNTP_FINISH_STA (1 << 22)
  2108. #define ARM_AXIDMA_SG_FINISH_STA (1 << 23)
  2109. #define ARM_AXIDMA_SG_SUSPEND_STA (1 << 24)
  2110. #define ARM_AXIDMA_RESP_ERR (1 << 25)
  2111. #define ARM_AXIDMA_RESP_ERR_INT (1 << 26)
  2112. // axidma_c10_sgconf
  2113. #define ARM_AXIDMA_SG_EN (1 << 0)
  2114. #define ARM_AXIDMA_SG_FINISH_IE (1 << 1)
  2115. #define ARM_AXIDMA_SG_SUSPEND_IE (1 << 2)
  2116. #define ARM_AXIDMA_DESC_RD_CTRL (1 << 3)
  2117. #define ARM_AXIDMA_SG_NUM(n) (((n)&0xffff) << 4)
  2118. // axidma_c10_set
  2119. #define ARM_AXIDMA_RUN_SET (1 << 0)
  2120. // axidma_c10_clr
  2121. #define ARM_AXIDMA_RUN_CLR (1 << 0)
  2122. // axidma_c11_conf
  2123. #define ARM_AXIDMA_START (1 << 0)
  2124. #define ARM_AXIDMA_DATA_TYPE(n) (((n)&0x3) << 1)
  2125. #define ARM_AXIDMA_SYN_IRQ (1 << 3)
  2126. #define ARM_AXIDMA_IRQ_F (1 << 4)
  2127. #define ARM_AXIDMA_IRQ_T (1 << 5)
  2128. #define ARM_AXIDMA_SADDR_FIX (1 << 6)
  2129. #define ARM_AXIDMA_DADDR_FIX (1 << 7)
  2130. #define ARM_AXIDMA_FORCE_TRANS (1 << 8)
  2131. #define ARM_AXIDMA_COUNT_SEL (1 << 10)
  2132. #define ARM_AXIDMA_SADDR_TURNAROUND (1 << 12)
  2133. #define ARM_AXIDMA_DADDR_TURNAROUND (1 << 13)
  2134. #define ARM_AXIDMA_SECURITY_EN (1 << 14)
  2135. #define ARM_AXIDMA_ERR_INT_EN (1 << 15)
  2136. // axidma_c11_map
  2137. #define ARM_AXIDMA_REQ_SOURCE(n) (((n)&0x1f) << 0)
  2138. #define ARM_AXIDMA_ACK_MAP(n) (((n)&0x1f) << 8)
  2139. // axidma_c11_count
  2140. #define ARM_AXIDMA_COUNT(n) (((n)&0xffffff) << 0)
  2141. // axidma_c11_countp
  2142. #define ARM_AXIDMA_COUNTP(n) (((n)&0xffff) << 0)
  2143. // axidma_c11_status
  2144. #define ARM_AXIDMA_RUN (1 << 0)
  2145. #define ARM_AXIDMA_COUNT_FINISH_INT (1 << 1)
  2146. #define ARM_AXIDMA_COUNTP_FINISH_INT (1 << 2)
  2147. #define ARM_AXIDMA_SG_FINISH_INT (1 << 3)
  2148. #define ARM_AXIDMA_SG_COUNT(n) (((n)&0xffff) << 4)
  2149. #define ARM_AXIDMA_SG_SUSPEND_INT (1 << 20)
  2150. #define ARM_AXIDMA_COUNT_FINISH_STA (1 << 21)
  2151. #define ARM_AXIDMA_COUNTP_FINISH_STA (1 << 22)
  2152. #define ARM_AXIDMA_SG_FINISH_STA (1 << 23)
  2153. #define ARM_AXIDMA_SG_SUSPEND_STA (1 << 24)
  2154. #define ARM_AXIDMA_RESP_ERR (1 << 25)
  2155. #define ARM_AXIDMA_RESP_ERR_INT (1 << 26)
  2156. // axidma_c11_sgconf
  2157. #define ARM_AXIDMA_SG_EN (1 << 0)
  2158. #define ARM_AXIDMA_SG_FINISH_IE (1 << 1)
  2159. #define ARM_AXIDMA_SG_SUSPEND_IE (1 << 2)
  2160. #define ARM_AXIDMA_DESC_RD_CTRL (1 << 3)
  2161. #define ARM_AXIDMA_SG_NUM(n) (((n)&0xffff) << 4)
  2162. // axidma_c11_set
  2163. #define ARM_AXIDMA_RUN_SET (1 << 0)
  2164. // axidma_c11_clr
  2165. #define ARM_AXIDMA_RUN_CLR (1 << 0)
  2166. #endif // _ARM_AXIDMA_H_