123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433 |
- /* Copyright (C) 2018 RDA Technologies Limited and/or its affiliates("RDA").
- * All rights reserved.
- *
- * This software is supplied "AS IS" without any warranties.
- * RDA assumes no responsibility or liability for the use of the software,
- * conveys no license or title under any patent, copyright, or mask work
- * right to the product. RDA reserves the right to make changes in the
- * software without notification. RDA also make no representation or
- * warranty that such application will be suitable for the specified use
- * without further testing or modification.
- */
- #ifndef _CP_AXIDMA_H_
- #define _CP_AXIDMA_H_
- // Auto generated by dtools(see dtools.txt for its version).
- // Don't edit it manually!
- #define REG_CP_AXIDMA_BASE (0x12040000)
- typedef volatile struct
- {
- uint32_t axidma_conf; // 0x00000000
- uint32_t axidma_delay; // 0x00000004
- uint32_t axidma_status; // 0x00000008
- uint32_t axidma_irq_stat; // 0x0000000c
- uint32_t axidma_arm_req_stat; // 0x00000010
- uint32_t axidma_arm_ack_stat; // 0x00000014
- uint32_t axidma_zsp_req_stat0; // 0x00000018
- uint32_t axidma_zsp_req_stat1; // 0x0000001c
- uint32_t axidma_ch_irq_distr; // 0x00000020
- uint32_t __36[7]; // 0x00000024
- uint32_t axidma_c0_conf; // 0x00000040
- uint32_t axidma_c0_map; // 0x00000044
- uint32_t axidma_c0_saddr; // 0x00000048
- uint32_t axidma_c0_daddr; // 0x0000004c
- uint32_t axidma_c0_count; // 0x00000050
- uint32_t axidma_c0_countp; // 0x00000054
- uint32_t axidma_c0_status; // 0x00000058
- uint32_t axidma_c0_sgaddr; // 0x0000005c
- uint32_t axidma_c0_sgconf; // 0x00000060
- uint32_t axidma_c0_set; // 0x00000064
- uint32_t axidma_c0_clr; // 0x00000068
- uint32_t __108[5]; // 0x0000006c
- uint32_t axidma_c1_conf; // 0x00000080
- uint32_t axidma_c1_map; // 0x00000084
- uint32_t axidma_c1_saddr; // 0x00000088
- uint32_t axidma_c1_daddr; // 0x0000008c
- uint32_t axidma_c1_count; // 0x00000090
- uint32_t axidma_c1_countp; // 0x00000094
- uint32_t axidma_c1_status; // 0x00000098
- uint32_t axidma_c1_sgaddr; // 0x0000009c
- uint32_t axidma_c1_sgconf; // 0x000000a0
- uint32_t axidma_c1_set; // 0x000000a4
- uint32_t axidma_c1_clr; // 0x000000a8
- uint32_t __172[5]; // 0x000000ac
- uint32_t axidma_c2_conf; // 0x000000c0
- uint32_t axidma_c2_map; // 0x000000c4
- uint32_t axidma_c2_saddr; // 0x000000c8
- uint32_t axidma_c2_daddr; // 0x000000cc
- uint32_t axidma_c2_count; // 0x000000d0
- uint32_t axidma_c2_countp; // 0x000000d4
- uint32_t axidma_c2_status; // 0x000000d8
- uint32_t axidma_c2_sgaddr; // 0x000000dc
- uint32_t axidma_c2_sgconf; // 0x000000e0
- uint32_t axidma_c2_set; // 0x000000e4
- uint32_t axidma_c2_clr; // 0x000000e8
- uint32_t __236[5]; // 0x000000ec
- uint32_t axidma_c3_conf; // 0x00000100
- uint32_t axidma_c3_map; // 0x00000104
- uint32_t axidma_c3_saddr; // 0x00000108
- uint32_t axidma_c3_daddr; // 0x0000010c
- uint32_t axidma_c3_count; // 0x00000110
- uint32_t axidma_c3_countp; // 0x00000114
- uint32_t axidma_c3_status; // 0x00000118
- uint32_t axidma_c3_sgaddr; // 0x0000011c
- uint32_t axidma_c3_sgconf; // 0x00000120
- uint32_t axidma_c3_set; // 0x00000124
- uint32_t axidma_c3_clr; // 0x00000128
- uint32_t __300[5]; // 0x0000012c
- uint32_t axidma_c4_conf; // 0x00000140
- uint32_t axidma_c4_map; // 0x00000144
- uint32_t axidma_c4_saddr; // 0x00000148
- uint32_t axidma_c4_daddr; // 0x0000014c
- uint32_t axidma_c4_count; // 0x00000150
- uint32_t axidma_c4_countp; // 0x00000154
- uint32_t axidma_c4_status; // 0x00000158
- uint32_t axidma_c4_sgaddr; // 0x0000015c
- uint32_t axidma_c4_sgconf; // 0x00000160
- uint32_t axidma_c4_set; // 0x00000164
- uint32_t axidma_c4_clr; // 0x00000168
- uint32_t __364[5]; // 0x0000016c
- uint32_t axidma_c5_conf; // 0x00000180
- uint32_t axidma_c5_map; // 0x00000184
- uint32_t axidma_c5_saddr; // 0x00000188
- uint32_t axidma_c5_daddr; // 0x0000018c
- uint32_t axidma_c5_count; // 0x00000190
- uint32_t axidma_c5_countp; // 0x00000194
- uint32_t axidma_c5_status; // 0x00000198
- uint32_t axidma_c5_sgaddr; // 0x0000019c
- uint32_t axidma_c5_sgconf; // 0x000001a0
- uint32_t axidma_c5_set; // 0x000001a4
- uint32_t axidma_c5_clr; // 0x000001a8
- uint32_t __428[5]; // 0x000001ac
- uint32_t axidma_c6_conf; // 0x000001c0
- uint32_t axidma_c6_map; // 0x000001c4
- uint32_t axidma_c6_saddr; // 0x000001c8
- uint32_t axidma_c6_daddr; // 0x000001cc
- uint32_t axidma_c6_count; // 0x000001d0
- uint32_t axidma_c6_countp; // 0x000001d4
- uint32_t axidma_c6_status; // 0x000001d8
- uint32_t axidma_c6_sgaddr; // 0x000001dc
- uint32_t axidma_c6_sgconf; // 0x000001e0
- uint32_t axidma_c6_set; // 0x000001e4
- uint32_t axidma_c6_clr; // 0x000001e8
- uint32_t __492[5]; // 0x000001ec
- uint32_t axidma_c7_conf; // 0x00000200
- uint32_t axidma_c7_map; // 0x00000204
- uint32_t axidma_c7_saddr; // 0x00000208
- uint32_t axidma_c7_daddr; // 0x0000020c
- uint32_t axidma_c7_count; // 0x00000210
- uint32_t axidma_c7_countp; // 0x00000214
- uint32_t axidma_c7_status; // 0x00000218
- uint32_t axidma_c7_sgaddr; // 0x0000021c
- uint32_t axidma_c7_sgconf; // 0x00000220
- uint32_t axidma_c7_set; // 0x00000224
- uint32_t axidma_c7_clr; // 0x00000228
- uint32_t __556[5]; // 0x0000022c
- uint32_t axidma_c8_conf; // 0x00000240
- uint32_t axidma_c8_map; // 0x00000244
- uint32_t axidma_c8_saddr; // 0x00000248
- uint32_t axidma_c8_daddr; // 0x0000024c
- uint32_t axidma_c8_count; // 0x00000250
- uint32_t axidma_c8_countp; // 0x00000254
- uint32_t axidma_c8_status; // 0x00000258
- uint32_t axidma_c8_sgaddr; // 0x0000025c
- uint32_t axidma_c8_sgconf; // 0x00000260
- uint32_t axidma_c8_set; // 0x00000264
- uint32_t axidma_c8_clr; // 0x00000268
- uint32_t __620[5]; // 0x0000026c
- uint32_t axidma_c9_conf; // 0x00000280
- uint32_t axidma_c9_map; // 0x00000284
- uint32_t axidma_c9_saddr; // 0x00000288
- uint32_t axidma_c9_daddr; // 0x0000028c
- uint32_t axidma_c9_count; // 0x00000290
- uint32_t axidma_c9_countp; // 0x00000294
- uint32_t axidma_c9_status; // 0x00000298
- uint32_t axidma_c9_sgaddr; // 0x0000029c
- uint32_t axidma_c9_sgconf; // 0x000002a0
- uint32_t axidma_c9_set; // 0x000002a4
- uint32_t axidma_c9_clr; // 0x000002a8
- uint32_t __684[5]; // 0x000002ac
- uint32_t axidma_c10_conf; // 0x000002c0
- uint32_t axidma_c10_map; // 0x000002c4
- uint32_t axidma_c10_saddr; // 0x000002c8
- uint32_t axidma_c10_daddr; // 0x000002cc
- uint32_t axidma_c10_count; // 0x000002d0
- uint32_t axidma_c10_countp; // 0x000002d4
- uint32_t axidma_c10_status; // 0x000002d8
- uint32_t axidma_c10_sgaddr; // 0x000002dc
- uint32_t axidma_c10_sgconf; // 0x000002e0
- uint32_t axidma_c10_set; // 0x000002e4
- uint32_t axidma_c10_clr; // 0x000002e8
- uint32_t __748[5]; // 0x000002ec
- uint32_t axidma_c11_conf; // 0x00000300
- uint32_t axidma_c11_map; // 0x00000304
- uint32_t axidma_c11_saddr; // 0x00000308
- uint32_t axidma_c11_daddr; // 0x0000030c
- uint32_t axidma_c11_count; // 0x00000310
- uint32_t axidma_c11_countp; // 0x00000314
- uint32_t axidma_c11_status; // 0x00000318
- uint32_t axidma_c11_sgaddr; // 0x0000031c
- uint32_t axidma_c11_sgconf; // 0x00000320
- uint32_t axidma_c11_set; // 0x00000324
- uint32_t axidma_c11_clr; // 0x00000328
- } HWP_CP_AXIDMA_T;
- #define hwp_cpAxidma ((HWP_CP_AXIDMA_T *)REG_ACCESS_ADDRESS(REG_CP_AXIDMA_BASE))
- // axidma_conf
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t stop : 1; // [0]
- uint32_t stop_ie : 1; // [1]
- uint32_t priority : 1; // [2]
- uint32_t outstand : 2; // [4:3]
- uint32_t resp_err_stop_en : 1; // [5]
- uint32_t gen_reg_secuirty_en : 1; // [6]
- uint32_t __31_7 : 25; // [31:7]
- } b;
- } REG_CP_AXIDMA_AXIDMA_CONF_T;
- // axidma_delay
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t delay : 16; // [15:0]
- uint32_t __31_16 : 16; // [31:16]
- } b;
- } REG_CP_AXIDMA_AXIDMA_DELAY_T;
- // axidma_status
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t ch_num : 4; // [3:0], read only
- uint32_t stop_status : 1; // [4], read only
- uint32_t __31_5 : 27; // [31:5]
- } b;
- } REG_CP_AXIDMA_AXIDMA_STATUS_T;
- // axidma_irq_stat
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t ch0_irq : 1; // [0], read only
- uint32_t ch1_irq : 1; // [1], read only
- uint32_t ch2_irq : 1; // [2], read only
- uint32_t ch3_irq : 1; // [3], read only
- uint32_t ch4_irq : 1; // [4], read only
- uint32_t ch5_irq : 1; // [5], read only
- uint32_t ch6_irq : 1; // [6], read only
- uint32_t ch7_irq : 1; // [7], read only
- uint32_t ch8_irq : 1; // [8], read only
- uint32_t ch9_irq : 1; // [9], read only
- uint32_t ch10_irq : 1; // [10], read only
- uint32_t ch11_irq : 1; // [11], read only
- uint32_t rst_fin_irq : 1; // [12], read only
- uint32_t __31_13 : 19; // [31:13]
- } b;
- } REG_CP_AXIDMA_AXIDMA_IRQ_STAT_T;
- // axidma_arm_req_stat
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t irq0 : 1; // [0], read only
- uint32_t irq1 : 1; // [1], read only
- uint32_t irq2 : 1; // [2], read only
- uint32_t irq3 : 1; // [3], read only
- uint32_t irq4 : 1; // [4], read only
- uint32_t irq5 : 1; // [5], read only
- uint32_t irq6 : 1; // [6], read only
- uint32_t irq7 : 1; // [7], read only
- uint32_t irq8 : 1; // [8], read only
- uint32_t irq9 : 1; // [9], read only
- uint32_t irq10 : 1; // [10], read only
- uint32_t irq11 : 1; // [11], read only
- uint32_t irq12 : 1; // [12], read only
- uint32_t irq13 : 1; // [13], read only
- uint32_t irq14 : 1; // [14], read only
- uint32_t irq15 : 1; // [15], read only
- uint32_t irq16 : 1; // [16], read only
- uint32_t irq17 : 1; // [17], read only
- uint32_t irq18 : 1; // [18], read only
- uint32_t irq19 : 1; // [19], read only
- uint32_t irq20 : 1; // [20], read only
- uint32_t irq21 : 1; // [21], read only
- uint32_t irq22 : 1; // [22], read only
- uint32_t irq23 : 1; // [23], read only
- uint32_t __31_24 : 8; // [31:24]
- } b;
- } REG_CP_AXIDMA_AXIDMA_ARM_REQ_STAT_T;
- // axidma_arm_ack_stat
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t ack0 : 1; // [0], read only
- uint32_t ack1 : 1; // [1], read only
- uint32_t ack2 : 1; // [2], read only
- uint32_t ack3 : 1; // [3], read only
- uint32_t ack4 : 1; // [4], read only
- uint32_t ack5 : 1; // [5], read only
- uint32_t ack6 : 1; // [6], read only
- uint32_t ack7 : 1; // [7], read only
- uint32_t ack8 : 1; // [8], read only
- uint32_t ack9 : 1; // [9], read only
- uint32_t ack10 : 1; // [10], read only
- uint32_t ack11 : 1; // [11], read only
- uint32_t ack12 : 1; // [12], read only
- uint32_t ack13 : 1; // [13], read only
- uint32_t ack14 : 1; // [14], read only
- uint32_t ack15 : 1; // [15], read only
- uint32_t ack16 : 1; // [16], read only
- uint32_t ack17 : 1; // [17], read only
- uint32_t ack18 : 1; // [18], read only
- uint32_t ack19 : 1; // [19], read only
- uint32_t ack20 : 1; // [20], read only
- uint32_t ack21 : 1; // [21], read only
- uint32_t ack22 : 1; // [22], read only
- uint32_t ack23 : 1; // [23], read only
- uint32_t __31_24 : 8; // [31:24]
- } b;
- } REG_CP_AXIDMA_AXIDMA_ARM_ACK_STAT_T;
- // axidma_zsp_req_stat0
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t req0 : 3; // [2:0]
- uint32_t __3_3 : 1; // [3]
- uint32_t req1 : 3; // [6:4]
- uint32_t __7_7 : 1; // [7]
- uint32_t req2 : 3; // [10:8]
- uint32_t __11_11 : 1; // [11]
- uint32_t req3 : 3; // [14:12]
- uint32_t __15_15 : 1; // [15]
- uint32_t req4 : 3; // [18:16]
- uint32_t __19_19 : 1; // [19]
- uint32_t req5 : 3; // [22:20]
- uint32_t __23_23 : 1; // [23]
- uint32_t req6 : 3; // [26:24]
- uint32_t __27_27 : 1; // [27]
- uint32_t req7 : 3; // [30:28]
- uint32_t __31_31 : 1; // [31]
- } b;
- } REG_CP_AXIDMA_AXIDMA_ZSP_REQ_STAT0_T;
- // axidma_zsp_req_stat1
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t req8 : 3; // [2:0]
- uint32_t __3_3 : 1; // [3]
- uint32_t req9 : 3; // [6:4]
- uint32_t __7_7 : 1; // [7]
- uint32_t req10 : 3; // [10:8]
- uint32_t __11_11 : 1; // [11]
- uint32_t req11 : 3; // [14:12]
- uint32_t __31_15 : 17; // [31:15]
- } b;
- } REG_CP_AXIDMA_AXIDMA_ZSP_REQ_STAT1_T;
- // axidma_ch_irq_distr
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t ch0_irq_en0 : 1; // [0]
- uint32_t ch1_irq_en0 : 1; // [1]
- uint32_t ch2_irq_en0 : 1; // [2]
- uint32_t ch3_irq_en0 : 1; // [3]
- uint32_t ch4_irq_en0 : 1; // [4]
- uint32_t ch5_irq_en0 : 1; // [5]
- uint32_t ch6_irq_en0 : 1; // [6]
- uint32_t ch7_irq_en0 : 1; // [7]
- uint32_t ch8_irq_en0 : 1; // [8]
- uint32_t ch9_irq_en0 : 1; // [9]
- uint32_t ch10_irq_en0 : 1; // [10]
- uint32_t ch11_irq_en0 : 1; // [11]
- uint32_t __31_12 : 20; // [31:12]
- } b;
- } REG_CP_AXIDMA_AXIDMA_CH_IRQ_DISTR_T;
- // axidma_c0_conf
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t start : 1; // [0]
- uint32_t data_type : 2; // [2:1]
- uint32_t syn_irq : 1; // [3]
- uint32_t irq_f : 1; // [4]
- uint32_t irq_t : 1; // [5]
- uint32_t saddr_fix : 1; // [6]
- uint32_t daddr_fix : 1; // [7]
- uint32_t force_trans : 1; // [8]
- uint32_t __9_9 : 1; // [9]
- uint32_t count_sel : 1; // [10]
- uint32_t __11_11 : 1; // [11]
- uint32_t saddr_turnaround : 1; // [12]
- uint32_t daddr_turnaround : 1; // [13]
- uint32_t security_en : 1; // [14]
- uint32_t err_int_en : 1; // [15]
- uint32_t __31_16 : 16; // [31:16]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C0_CONF_T;
- // axidma_c0_map
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t req_source : 5; // [4:0]
- uint32_t __7_5 : 3; // [7:5]
- uint32_t ack_map : 5; // [12:8]
- uint32_t __31_13 : 19; // [31:13]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C0_MAP_T;
- // axidma_c0_count
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t count : 24; // [23:0]
- uint32_t __31_24 : 8; // [31:24]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C0_COUNT_T;
- // axidma_c0_countp
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t countp : 16; // [15:0]
- uint32_t __31_16 : 16; // [31:16]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C0_COUNTP_T;
- // axidma_c0_status
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t run : 1; // [0], write clear
- uint32_t count_finish_int : 1; // [1], write clear
- uint32_t countp_finish_int : 1; // [2], write clear
- uint32_t sg_finish_int : 1; // [3], write clear
- uint32_t sg_count : 16; // [19:4], write clear
- uint32_t sg_suspend_int : 1; // [20], write clear
- uint32_t count_finish_sta : 1; // [21], write clear
- uint32_t countp_finish_sta : 1; // [22], write clear
- uint32_t sg_finish_sta : 1; // [23], write clear
- uint32_t sg_suspend_sta : 1; // [24], write clear
- uint32_t resp_err : 1; // [25], write clear
- uint32_t resp_err_int : 1; // [26], write clear
- uint32_t __31_27 : 5; // [31:27]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C0_STATUS_T;
- // axidma_c0_sgconf
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t sg_en : 1; // [0], write clear
- uint32_t sg_finish_ie : 1; // [1]
- uint32_t sg_suspend_ie : 1; // [2]
- uint32_t desc_rd_ctrl : 1; // [3]
- uint32_t sg_num : 16; // [19:4]
- uint32_t __31_20 : 12; // [31:20]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C0_SGCONF_T;
- // axidma_c0_set
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t run_set : 1; // [0]
- uint32_t __31_1 : 31; // [31:1]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C0_SET_T;
- // axidma_c0_clr
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t run_clr : 1; // [0]
- uint32_t __31_1 : 31; // [31:1]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C0_CLR_T;
- // axidma_c1_conf
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t start : 1; // [0]
- uint32_t data_type : 2; // [2:1]
- uint32_t syn_irq : 1; // [3]
- uint32_t irq_f : 1; // [4]
- uint32_t irq_t : 1; // [5]
- uint32_t saddr_fix : 1; // [6]
- uint32_t daddr_fix : 1; // [7]
- uint32_t force_trans : 1; // [8]
- uint32_t __9_9 : 1; // [9]
- uint32_t count_sel : 1; // [10]
- uint32_t __11_11 : 1; // [11]
- uint32_t saddr_turnaround : 1; // [12]
- uint32_t daddr_turnaround : 1; // [13]
- uint32_t security_en : 1; // [14]
- uint32_t err_int_en : 1; // [15]
- uint32_t __31_16 : 16; // [31:16]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C1_CONF_T;
- // axidma_c1_map
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t req_source : 5; // [4:0]
- uint32_t __7_5 : 3; // [7:5]
- uint32_t ack_map : 5; // [12:8]
- uint32_t __31_13 : 19; // [31:13]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C1_MAP_T;
- // axidma_c1_count
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t count : 24; // [23:0]
- uint32_t __31_24 : 8; // [31:24]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C1_COUNT_T;
- // axidma_c1_countp
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t countp : 16; // [15:0]
- uint32_t __31_16 : 16; // [31:16]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C1_COUNTP_T;
- // axidma_c1_status
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t run : 1; // [0], write clear
- uint32_t count_finish_int : 1; // [1], write clear
- uint32_t countp_finish_int : 1; // [2], write clear
- uint32_t sg_finish_int : 1; // [3], write clear
- uint32_t sg_count : 16; // [19:4], write clear
- uint32_t sg_suspend_int : 1; // [20], write clear
- uint32_t count_finish_sta : 1; // [21], write clear
- uint32_t countp_finish_sta : 1; // [22], write clear
- uint32_t sg_finish_sta : 1; // [23], write clear
- uint32_t sg_suspend_sta : 1; // [24], write clear
- uint32_t resp_err : 1; // [25], write clear
- uint32_t resp_err_int : 1; // [26], write clear
- uint32_t __31_27 : 5; // [31:27]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C1_STATUS_T;
- // axidma_c1_sgconf
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t sg_en : 1; // [0], write clear
- uint32_t sg_finish_ie : 1; // [1]
- uint32_t sg_suspend_ie : 1; // [2]
- uint32_t desc_rd_ctrl : 1; // [3]
- uint32_t sg_num : 16; // [19:4]
- uint32_t __31_20 : 12; // [31:20]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C1_SGCONF_T;
- // axidma_c1_set
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t run_set : 1; // [0]
- uint32_t __31_1 : 31; // [31:1]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C1_SET_T;
- // axidma_c1_clr
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t run_clr : 1; // [0]
- uint32_t __31_1 : 31; // [31:1]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C1_CLR_T;
- // axidma_c2_conf
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t start : 1; // [0]
- uint32_t data_type : 2; // [2:1]
- uint32_t syn_irq : 1; // [3]
- uint32_t irq_f : 1; // [4]
- uint32_t irq_t : 1; // [5]
- uint32_t saddr_fix : 1; // [6]
- uint32_t daddr_fix : 1; // [7]
- uint32_t force_trans : 1; // [8]
- uint32_t __9_9 : 1; // [9]
- uint32_t count_sel : 1; // [10]
- uint32_t __11_11 : 1; // [11]
- uint32_t saddr_turnaround : 1; // [12]
- uint32_t daddr_turnaround : 1; // [13]
- uint32_t security_en : 1; // [14]
- uint32_t err_int_en : 1; // [15]
- uint32_t __31_16 : 16; // [31:16]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C2_CONF_T;
- // axidma_c2_map
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t req_source : 5; // [4:0]
- uint32_t __7_5 : 3; // [7:5]
- uint32_t ack_map : 5; // [12:8]
- uint32_t __31_13 : 19; // [31:13]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C2_MAP_T;
- // axidma_c2_count
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t count : 24; // [23:0]
- uint32_t __31_24 : 8; // [31:24]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C2_COUNT_T;
- // axidma_c2_countp
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t countp : 16; // [15:0]
- uint32_t __31_16 : 16; // [31:16]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C2_COUNTP_T;
- // axidma_c2_status
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t run : 1; // [0], write clear
- uint32_t count_finish_int : 1; // [1], write clear
- uint32_t countp_finish_int : 1; // [2], write clear
- uint32_t sg_finish_int : 1; // [3], write clear
- uint32_t sg_count : 16; // [19:4], write clear
- uint32_t sg_suspend_int : 1; // [20], write clear
- uint32_t count_finish_sta : 1; // [21], write clear
- uint32_t countp_finish_sta : 1; // [22], write clear
- uint32_t sg_finish_sta : 1; // [23], write clear
- uint32_t sg_suspend_sta : 1; // [24], write clear
- uint32_t resp_err : 1; // [25], write clear
- uint32_t resp_err_int : 1; // [26], write clear
- uint32_t __31_27 : 5; // [31:27]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C2_STATUS_T;
- // axidma_c2_sgconf
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t sg_en : 1; // [0], write clear
- uint32_t sg_finish_ie : 1; // [1]
- uint32_t sg_suspend_ie : 1; // [2]
- uint32_t desc_rd_ctrl : 1; // [3]
- uint32_t sg_num : 16; // [19:4]
- uint32_t __31_20 : 12; // [31:20]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C2_SGCONF_T;
- // axidma_c2_set
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t run_set : 1; // [0]
- uint32_t __31_1 : 31; // [31:1]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C2_SET_T;
- // axidma_c2_clr
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t run_clr : 1; // [0]
- uint32_t __31_1 : 31; // [31:1]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C2_CLR_T;
- // axidma_c3_conf
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t start : 1; // [0]
- uint32_t data_type : 2; // [2:1]
- uint32_t syn_irq : 1; // [3]
- uint32_t irq_f : 1; // [4]
- uint32_t irq_t : 1; // [5]
- uint32_t saddr_fix : 1; // [6]
- uint32_t daddr_fix : 1; // [7]
- uint32_t force_trans : 1; // [8]
- uint32_t __9_9 : 1; // [9]
- uint32_t count_sel : 1; // [10]
- uint32_t __11_11 : 1; // [11]
- uint32_t saddr_turnaround : 1; // [12]
- uint32_t daddr_turnaround : 1; // [13]
- uint32_t security_en : 1; // [14]
- uint32_t err_int_en : 1; // [15]
- uint32_t __31_16 : 16; // [31:16]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C3_CONF_T;
- // axidma_c3_map
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t req_source : 5; // [4:0]
- uint32_t __7_5 : 3; // [7:5]
- uint32_t ack_map : 5; // [12:8]
- uint32_t __31_13 : 19; // [31:13]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C3_MAP_T;
- // axidma_c3_count
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t count : 24; // [23:0]
- uint32_t __31_24 : 8; // [31:24]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C3_COUNT_T;
- // axidma_c3_countp
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t countp : 16; // [15:0]
- uint32_t __31_16 : 16; // [31:16]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C3_COUNTP_T;
- // axidma_c3_status
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t run : 1; // [0], write clear
- uint32_t count_finish_int : 1; // [1], write clear
- uint32_t countp_finish_int : 1; // [2], write clear
- uint32_t sg_finish_int : 1; // [3], write clear
- uint32_t sg_count : 16; // [19:4], write clear
- uint32_t sg_suspend_int : 1; // [20], write clear
- uint32_t count_finish_sta : 1; // [21], write clear
- uint32_t countp_finish_sta : 1; // [22], write clear
- uint32_t sg_finish_sta : 1; // [23], write clear
- uint32_t sg_suspend_sta : 1; // [24], write clear
- uint32_t resp_err : 1; // [25], write clear
- uint32_t resp_err_int : 1; // [26], write clear
- uint32_t __31_27 : 5; // [31:27]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C3_STATUS_T;
- // axidma_c3_sgconf
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t sg_en : 1; // [0], write clear
- uint32_t sg_finish_ie : 1; // [1]
- uint32_t sg_suspend_ie : 1; // [2]
- uint32_t desc_rd_ctrl : 1; // [3]
- uint32_t sg_num : 16; // [19:4]
- uint32_t __31_20 : 12; // [31:20]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C3_SGCONF_T;
- // axidma_c3_set
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t run_set : 1; // [0]
- uint32_t __31_1 : 31; // [31:1]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C3_SET_T;
- // axidma_c3_clr
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t run_clr : 1; // [0]
- uint32_t __31_1 : 31; // [31:1]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C3_CLR_T;
- // axidma_c4_conf
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t start : 1; // [0]
- uint32_t data_type : 2; // [2:1]
- uint32_t syn_irq : 1; // [3]
- uint32_t irq_f : 1; // [4]
- uint32_t irq_t : 1; // [5]
- uint32_t saddr_fix : 1; // [6]
- uint32_t daddr_fix : 1; // [7]
- uint32_t force_trans : 1; // [8]
- uint32_t __9_9 : 1; // [9]
- uint32_t count_sel : 1; // [10]
- uint32_t __11_11 : 1; // [11]
- uint32_t saddr_turnaround : 1; // [12]
- uint32_t daddr_turnaround : 1; // [13]
- uint32_t security_en : 1; // [14]
- uint32_t err_int_en : 1; // [15]
- uint32_t __31_16 : 16; // [31:16]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C4_CONF_T;
- // axidma_c4_map
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t req_source : 5; // [4:0]
- uint32_t __7_5 : 3; // [7:5]
- uint32_t ack_map : 5; // [12:8]
- uint32_t __31_13 : 19; // [31:13]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C4_MAP_T;
- // axidma_c4_count
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t count : 24; // [23:0]
- uint32_t __31_24 : 8; // [31:24]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C4_COUNT_T;
- // axidma_c4_countp
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t countp : 16; // [15:0]
- uint32_t __31_16 : 16; // [31:16]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C4_COUNTP_T;
- // axidma_c4_status
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t run : 1; // [0], write clear
- uint32_t count_finish_int : 1; // [1], write clear
- uint32_t countp_finish_int : 1; // [2], write clear
- uint32_t sg_finish_int : 1; // [3], write clear
- uint32_t sg_count : 16; // [19:4], write clear
- uint32_t sg_suspend_int : 1; // [20], write clear
- uint32_t count_finish_sta : 1; // [21], write clear
- uint32_t countp_finish_sta : 1; // [22], write clear
- uint32_t sg_finish_sta : 1; // [23], write clear
- uint32_t sg_suspend_sta : 1; // [24], write clear
- uint32_t resp_err : 1; // [25], write clear
- uint32_t resp_err_int : 1; // [26], write clear
- uint32_t __31_27 : 5; // [31:27]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C4_STATUS_T;
- // axidma_c4_sgconf
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t sg_en : 1; // [0], write clear
- uint32_t sg_finish_ie : 1; // [1]
- uint32_t sg_suspend_ie : 1; // [2]
- uint32_t desc_rd_ctrl : 1; // [3]
- uint32_t sg_num : 16; // [19:4]
- uint32_t __31_20 : 12; // [31:20]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C4_SGCONF_T;
- // axidma_c4_set
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t run_set : 1; // [0]
- uint32_t __31_1 : 31; // [31:1]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C4_SET_T;
- // axidma_c4_clr
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t run_clr : 1; // [0]
- uint32_t __31_1 : 31; // [31:1]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C4_CLR_T;
- // axidma_c5_conf
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t start : 1; // [0]
- uint32_t data_type : 2; // [2:1]
- uint32_t syn_irq : 1; // [3]
- uint32_t irq_f : 1; // [4]
- uint32_t irq_t : 1; // [5]
- uint32_t saddr_fix : 1; // [6]
- uint32_t daddr_fix : 1; // [7]
- uint32_t force_trans : 1; // [8]
- uint32_t __9_9 : 1; // [9]
- uint32_t count_sel : 1; // [10]
- uint32_t __11_11 : 1; // [11]
- uint32_t saddr_turnaround : 1; // [12]
- uint32_t daddr_turnaround : 1; // [13]
- uint32_t security_en : 1; // [14]
- uint32_t err_int_en : 1; // [15]
- uint32_t __31_16 : 16; // [31:16]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C5_CONF_T;
- // axidma_c5_map
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t req_source : 5; // [4:0]
- uint32_t __7_5 : 3; // [7:5]
- uint32_t ack_map : 5; // [12:8]
- uint32_t __31_13 : 19; // [31:13]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C5_MAP_T;
- // axidma_c5_count
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t count : 24; // [23:0]
- uint32_t __31_24 : 8; // [31:24]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C5_COUNT_T;
- // axidma_c5_countp
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t countp : 16; // [15:0]
- uint32_t __31_16 : 16; // [31:16]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C5_COUNTP_T;
- // axidma_c5_status
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t run : 1; // [0], write clear
- uint32_t count_finish_int : 1; // [1], write clear
- uint32_t countp_finish_int : 1; // [2], write clear
- uint32_t sg_finish_int : 1; // [3], write clear
- uint32_t sg_count : 16; // [19:4], write clear
- uint32_t sg_suspend_int : 1; // [20], write clear
- uint32_t count_finish_sta : 1; // [21], write clear
- uint32_t countp_finish_sta : 1; // [22], write clear
- uint32_t sg_finish_sta : 1; // [23], write clear
- uint32_t sg_suspend_sta : 1; // [24], write clear
- uint32_t resp_err : 1; // [25], write clear
- uint32_t resp_err_int : 1; // [26], write clear
- uint32_t __31_27 : 5; // [31:27]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C5_STATUS_T;
- // axidma_c5_sgconf
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t sg_en : 1; // [0], write clear
- uint32_t sg_finish_ie : 1; // [1]
- uint32_t sg_suspend_ie : 1; // [2]
- uint32_t desc_rd_ctrl : 1; // [3]
- uint32_t sg_num : 16; // [19:4]
- uint32_t __31_20 : 12; // [31:20]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C5_SGCONF_T;
- // axidma_c5_set
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t run_set : 1; // [0]
- uint32_t __31_1 : 31; // [31:1]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C5_SET_T;
- // axidma_c5_clr
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t run_clr : 1; // [0]
- uint32_t __31_1 : 31; // [31:1]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C5_CLR_T;
- // axidma_c6_conf
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t start : 1; // [0]
- uint32_t data_type : 2; // [2:1]
- uint32_t syn_irq : 1; // [3]
- uint32_t irq_f : 1; // [4]
- uint32_t irq_t : 1; // [5]
- uint32_t saddr_fix : 1; // [6]
- uint32_t daddr_fix : 1; // [7]
- uint32_t force_trans : 1; // [8]
- uint32_t __9_9 : 1; // [9]
- uint32_t count_sel : 1; // [10]
- uint32_t __11_11 : 1; // [11]
- uint32_t saddr_turnaround : 1; // [12]
- uint32_t daddr_turnaround : 1; // [13]
- uint32_t security_en : 1; // [14]
- uint32_t err_int_en : 1; // [15]
- uint32_t __31_16 : 16; // [31:16]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C6_CONF_T;
- // axidma_c6_map
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t req_source : 5; // [4:0]
- uint32_t __7_5 : 3; // [7:5]
- uint32_t ack_map : 5; // [12:8]
- uint32_t __31_13 : 19; // [31:13]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C6_MAP_T;
- // axidma_c6_count
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t count : 24; // [23:0]
- uint32_t __31_24 : 8; // [31:24]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C6_COUNT_T;
- // axidma_c6_countp
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t countp : 16; // [15:0]
- uint32_t __31_16 : 16; // [31:16]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C6_COUNTP_T;
- // axidma_c6_status
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t run : 1; // [0], write clear
- uint32_t count_finish_int : 1; // [1], write clear
- uint32_t countp_finish_int : 1; // [2], write clear
- uint32_t sg_finish_int : 1; // [3], write clear
- uint32_t sg_count : 16; // [19:4], write clear
- uint32_t sg_suspend_int : 1; // [20], write clear
- uint32_t count_finish_sta : 1; // [21], write clear
- uint32_t countp_finish_sta : 1; // [22], write clear
- uint32_t sg_finish_sta : 1; // [23], write clear
- uint32_t sg_suspend_sta : 1; // [24], write clear
- uint32_t resp_err : 1; // [25], write clear
- uint32_t resp_err_int : 1; // [26], write clear
- uint32_t __31_27 : 5; // [31:27]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C6_STATUS_T;
- // axidma_c6_sgconf
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t sg_en : 1; // [0], write clear
- uint32_t sg_finish_ie : 1; // [1]
- uint32_t sg_suspend_ie : 1; // [2]
- uint32_t desc_rd_ctrl : 1; // [3]
- uint32_t sg_num : 16; // [19:4]
- uint32_t __31_20 : 12; // [31:20]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C6_SGCONF_T;
- // axidma_c6_set
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t run_set : 1; // [0]
- uint32_t __31_1 : 31; // [31:1]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C6_SET_T;
- // axidma_c6_clr
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t run_clr : 1; // [0]
- uint32_t __31_1 : 31; // [31:1]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C6_CLR_T;
- // axidma_c7_conf
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t start : 1; // [0]
- uint32_t data_type : 2; // [2:1]
- uint32_t syn_irq : 1; // [3]
- uint32_t irq_f : 1; // [4]
- uint32_t irq_t : 1; // [5]
- uint32_t saddr_fix : 1; // [6]
- uint32_t daddr_fix : 1; // [7]
- uint32_t force_trans : 1; // [8]
- uint32_t __9_9 : 1; // [9]
- uint32_t count_sel : 1; // [10]
- uint32_t __11_11 : 1; // [11]
- uint32_t saddr_turnaround : 1; // [12]
- uint32_t daddr_turnaround : 1; // [13]
- uint32_t security_en : 1; // [14]
- uint32_t err_int_en : 1; // [15]
- uint32_t __31_16 : 16; // [31:16]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C7_CONF_T;
- // axidma_c7_map
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t req_source : 5; // [4:0]
- uint32_t __7_5 : 3; // [7:5]
- uint32_t ack_map : 5; // [12:8]
- uint32_t __31_13 : 19; // [31:13]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C7_MAP_T;
- // axidma_c7_count
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t count : 24; // [23:0]
- uint32_t __31_24 : 8; // [31:24]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C7_COUNT_T;
- // axidma_c7_countp
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t countp : 16; // [15:0]
- uint32_t __31_16 : 16; // [31:16]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C7_COUNTP_T;
- // axidma_c7_status
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t run : 1; // [0], write clear
- uint32_t count_finish_int : 1; // [1], write clear
- uint32_t countp_finish_int : 1; // [2], write clear
- uint32_t sg_finish_int : 1; // [3], write clear
- uint32_t sg_count : 16; // [19:4], write clear
- uint32_t sg_suspend_int : 1; // [20], write clear
- uint32_t count_finish_sta : 1; // [21], write clear
- uint32_t countp_finish_sta : 1; // [22], write clear
- uint32_t sg_finish_sta : 1; // [23], write clear
- uint32_t sg_suspend_sta : 1; // [24], write clear
- uint32_t resp_err : 1; // [25], write clear
- uint32_t resp_err_int : 1; // [26], write clear
- uint32_t __31_27 : 5; // [31:27]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C7_STATUS_T;
- // axidma_c7_sgconf
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t sg_en : 1; // [0], write clear
- uint32_t sg_finish_ie : 1; // [1]
- uint32_t sg_suspend_ie : 1; // [2]
- uint32_t desc_rd_ctrl : 1; // [3]
- uint32_t sg_num : 16; // [19:4]
- uint32_t __31_20 : 12; // [31:20]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C7_SGCONF_T;
- // axidma_c7_set
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t run_set : 1; // [0]
- uint32_t __31_1 : 31; // [31:1]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C7_SET_T;
- // axidma_c7_clr
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t run_clr : 1; // [0]
- uint32_t __31_1 : 31; // [31:1]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C7_CLR_T;
- // axidma_c8_conf
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t start : 1; // [0]
- uint32_t data_type : 2; // [2:1]
- uint32_t syn_irq : 1; // [3]
- uint32_t irq_f : 1; // [4]
- uint32_t irq_t : 1; // [5]
- uint32_t saddr_fix : 1; // [6]
- uint32_t daddr_fix : 1; // [7]
- uint32_t force_trans : 1; // [8]
- uint32_t __9_9 : 1; // [9]
- uint32_t count_sel : 1; // [10]
- uint32_t __11_11 : 1; // [11]
- uint32_t saddr_turnaround : 1; // [12]
- uint32_t daddr_turnaround : 1; // [13]
- uint32_t security_en : 1; // [14]
- uint32_t err_int_en : 1; // [15]
- uint32_t __31_16 : 16; // [31:16]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C8_CONF_T;
- // axidma_c8_map
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t req_source : 5; // [4:0]
- uint32_t __7_5 : 3; // [7:5]
- uint32_t ack_map : 5; // [12:8]
- uint32_t __31_13 : 19; // [31:13]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C8_MAP_T;
- // axidma_c8_count
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t count : 24; // [23:0]
- uint32_t __31_24 : 8; // [31:24]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C8_COUNT_T;
- // axidma_c8_countp
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t countp : 16; // [15:0]
- uint32_t __31_16 : 16; // [31:16]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C8_COUNTP_T;
- // axidma_c8_status
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t run : 1; // [0], write clear
- uint32_t count_finish_int : 1; // [1], write clear
- uint32_t countp_finish_int : 1; // [2], write clear
- uint32_t sg_finish_int : 1; // [3], write clear
- uint32_t sg_count : 16; // [19:4], write clear
- uint32_t sg_suspend_int : 1; // [20], write clear
- uint32_t count_finish_sta : 1; // [21], write clear
- uint32_t countp_finish_sta : 1; // [22], write clear
- uint32_t sg_finish_sta : 1; // [23], write clear
- uint32_t sg_suspend_sta : 1; // [24], write clear
- uint32_t resp_err : 1; // [25], write clear
- uint32_t resp_err_int : 1; // [26], write clear
- uint32_t __31_27 : 5; // [31:27]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C8_STATUS_T;
- // axidma_c8_sgconf
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t sg_en : 1; // [0], write clear
- uint32_t sg_finish_ie : 1; // [1]
- uint32_t sg_suspend_ie : 1; // [2]
- uint32_t desc_rd_ctrl : 1; // [3]
- uint32_t sg_num : 16; // [19:4]
- uint32_t __31_20 : 12; // [31:20]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C8_SGCONF_T;
- // axidma_c8_set
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t run_set : 1; // [0]
- uint32_t __31_1 : 31; // [31:1]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C8_SET_T;
- // axidma_c8_clr
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t run_clr : 1; // [0]
- uint32_t __31_1 : 31; // [31:1]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C8_CLR_T;
- // axidma_c9_conf
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t start : 1; // [0]
- uint32_t data_type : 2; // [2:1]
- uint32_t syn_irq : 1; // [3]
- uint32_t irq_f : 1; // [4]
- uint32_t irq_t : 1; // [5]
- uint32_t saddr_fix : 1; // [6]
- uint32_t daddr_fix : 1; // [7]
- uint32_t force_trans : 1; // [8]
- uint32_t __9_9 : 1; // [9]
- uint32_t count_sel : 1; // [10]
- uint32_t __11_11 : 1; // [11]
- uint32_t saddr_turnaround : 1; // [12]
- uint32_t daddr_turnaround : 1; // [13]
- uint32_t security_en : 1; // [14]
- uint32_t err_int_en : 1; // [15]
- uint32_t __31_16 : 16; // [31:16]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C9_CONF_T;
- // axidma_c9_map
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t req_source : 5; // [4:0]
- uint32_t __7_5 : 3; // [7:5]
- uint32_t ack_map : 5; // [12:8]
- uint32_t __31_13 : 19; // [31:13]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C9_MAP_T;
- // axidma_c9_count
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t count : 24; // [23:0]
- uint32_t __31_24 : 8; // [31:24]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C9_COUNT_T;
- // axidma_c9_countp
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t countp : 16; // [15:0]
- uint32_t __31_16 : 16; // [31:16]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C9_COUNTP_T;
- // axidma_c9_status
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t run : 1; // [0], write clear
- uint32_t count_finish_int : 1; // [1], write clear
- uint32_t countp_finish_int : 1; // [2], write clear
- uint32_t sg_finish_int : 1; // [3], write clear
- uint32_t sg_count : 16; // [19:4], write clear
- uint32_t sg_suspend_int : 1; // [20], write clear
- uint32_t count_finish_sta : 1; // [21], write clear
- uint32_t countp_finish_sta : 1; // [22], write clear
- uint32_t sg_finish_sta : 1; // [23], write clear
- uint32_t sg_suspend_sta : 1; // [24], write clear
- uint32_t resp_err : 1; // [25], write clear
- uint32_t resp_err_int : 1; // [26], write clear
- uint32_t __31_27 : 5; // [31:27]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C9_STATUS_T;
- // axidma_c9_sgconf
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t sg_en : 1; // [0], write clear
- uint32_t sg_finish_ie : 1; // [1]
- uint32_t sg_suspend_ie : 1; // [2]
- uint32_t desc_rd_ctrl : 1; // [3]
- uint32_t sg_num : 16; // [19:4]
- uint32_t __31_20 : 12; // [31:20]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C9_SGCONF_T;
- // axidma_c9_set
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t run_set : 1; // [0]
- uint32_t __31_1 : 31; // [31:1]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C9_SET_T;
- // axidma_c9_clr
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t run_clr : 1; // [0]
- uint32_t __31_1 : 31; // [31:1]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C9_CLR_T;
- // axidma_c10_conf
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t start : 1; // [0]
- uint32_t data_type : 2; // [2:1]
- uint32_t syn_irq : 1; // [3]
- uint32_t irq_f : 1; // [4]
- uint32_t irq_t : 1; // [5]
- uint32_t saddr_fix : 1; // [6]
- uint32_t daddr_fix : 1; // [7]
- uint32_t force_trans : 1; // [8]
- uint32_t __9_9 : 1; // [9]
- uint32_t count_sel : 1; // [10]
- uint32_t __11_11 : 1; // [11]
- uint32_t saddr_turnaround : 1; // [12]
- uint32_t daddr_turnaround : 1; // [13]
- uint32_t security_en : 1; // [14]
- uint32_t err_int_en : 1; // [15]
- uint32_t __31_16 : 16; // [31:16]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C10_CONF_T;
- // axidma_c10_map
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t req_source : 5; // [4:0]
- uint32_t __7_5 : 3; // [7:5]
- uint32_t ack_map : 5; // [12:8]
- uint32_t __31_13 : 19; // [31:13]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C10_MAP_T;
- // axidma_c10_count
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t count : 24; // [23:0]
- uint32_t __31_24 : 8; // [31:24]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C10_COUNT_T;
- // axidma_c10_countp
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t countp : 16; // [15:0]
- uint32_t __31_16 : 16; // [31:16]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C10_COUNTP_T;
- // axidma_c10_status
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t run : 1; // [0], write clear
- uint32_t count_finish_int : 1; // [1], write clear
- uint32_t countp_finish_int : 1; // [2], write clear
- uint32_t sg_finish_int : 1; // [3], write clear
- uint32_t sg_count : 16; // [19:4], write clear
- uint32_t sg_suspend_int : 1; // [20], write clear
- uint32_t count_finish_sta : 1; // [21], write clear
- uint32_t countp_finish_sta : 1; // [22], write clear
- uint32_t sg_finish_sta : 1; // [23], write clear
- uint32_t sg_suspend_sta : 1; // [24], write clear
- uint32_t resp_err : 1; // [25], write clear
- uint32_t resp_err_int : 1; // [26], write clear
- uint32_t __31_27 : 5; // [31:27]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C10_STATUS_T;
- // axidma_c10_sgconf
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t sg_en : 1; // [0], write clear
- uint32_t sg_finish_ie : 1; // [1]
- uint32_t sg_suspend_ie : 1; // [2]
- uint32_t desc_rd_ctrl : 1; // [3]
- uint32_t sg_num : 16; // [19:4]
- uint32_t __31_20 : 12; // [31:20]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C10_SGCONF_T;
- // axidma_c10_set
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t run_set : 1; // [0]
- uint32_t __31_1 : 31; // [31:1]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C10_SET_T;
- // axidma_c10_clr
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t run_clr : 1; // [0]
- uint32_t __31_1 : 31; // [31:1]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C10_CLR_T;
- // axidma_c11_conf
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t start : 1; // [0]
- uint32_t data_type : 2; // [2:1]
- uint32_t syn_irq : 1; // [3]
- uint32_t irq_f : 1; // [4]
- uint32_t irq_t : 1; // [5]
- uint32_t saddr_fix : 1; // [6]
- uint32_t daddr_fix : 1; // [7]
- uint32_t force_trans : 1; // [8]
- uint32_t __9_9 : 1; // [9]
- uint32_t count_sel : 1; // [10]
- uint32_t __11_11 : 1; // [11]
- uint32_t saddr_turnaround : 1; // [12]
- uint32_t daddr_turnaround : 1; // [13]
- uint32_t security_en : 1; // [14]
- uint32_t err_int_en : 1; // [15]
- uint32_t __31_16 : 16; // [31:16]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C11_CONF_T;
- // axidma_c11_map
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t req_source : 5; // [4:0]
- uint32_t __7_5 : 3; // [7:5]
- uint32_t ack_map : 5; // [12:8]
- uint32_t __31_13 : 19; // [31:13]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C11_MAP_T;
- // axidma_c11_count
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t count : 24; // [23:0]
- uint32_t __31_24 : 8; // [31:24]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C11_COUNT_T;
- // axidma_c11_countp
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t countp : 16; // [15:0]
- uint32_t __31_16 : 16; // [31:16]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C11_COUNTP_T;
- // axidma_c11_status
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t run : 1; // [0], write clear
- uint32_t count_finish_int : 1; // [1], write clear
- uint32_t countp_finish_int : 1; // [2], write clear
- uint32_t sg_finish_int : 1; // [3], write clear
- uint32_t sg_count : 16; // [19:4], write clear
- uint32_t sg_suspend_int : 1; // [20], write clear
- uint32_t count_finish_sta : 1; // [21], write clear
- uint32_t countp_finish_sta : 1; // [22], write clear
- uint32_t sg_finish_sta : 1; // [23], write clear
- uint32_t sg_suspend_sta : 1; // [24], write clear
- uint32_t resp_err : 1; // [25], write clear
- uint32_t resp_err_int : 1; // [26], write clear
- uint32_t __31_27 : 5; // [31:27]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C11_STATUS_T;
- // axidma_c11_sgconf
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t sg_en : 1; // [0], write clear
- uint32_t sg_finish_ie : 1; // [1]
- uint32_t sg_suspend_ie : 1; // [2]
- uint32_t desc_rd_ctrl : 1; // [3]
- uint32_t sg_num : 16; // [19:4]
- uint32_t __31_20 : 12; // [31:20]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C11_SGCONF_T;
- // axidma_c11_set
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t run_set : 1; // [0]
- uint32_t __31_1 : 31; // [31:1]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C11_SET_T;
- // axidma_c11_clr
- typedef union {
- uint32_t v;
- struct
- {
- uint32_t run_clr : 1; // [0]
- uint32_t __31_1 : 31; // [31:1]
- } b;
- } REG_CP_AXIDMA_AXIDMA_C11_CLR_T;
- // axidma_conf
- #define CP_AXIDMA_STOP (1 << 0)
- #define CP_AXIDMA_STOP_IE (1 << 1)
- #define CP_AXIDMA_PRIORITY (1 << 2)
- #define CP_AXIDMA_OUTSTAND(n) (((n)&0x3) << 3)
- #define CP_AXIDMA_RESP_ERR_STOP_EN (1 << 5)
- #define CP_AXIDMA_GEN_REG_SECUIRTY_EN (1 << 6)
- // axidma_delay
- #define CP_AXIDMA_DELAY(n) (((n)&0xffff) << 0)
- // axidma_status
- #define CP_AXIDMA_CH_NUM(n) (((n)&0xf) << 0)
- #define CP_AXIDMA_STOP_STATUS (1 << 4)
- // axidma_irq_stat
- #define CP_AXIDMA_CH0_IRQ (1 << 0)
- #define CP_AXIDMA_CH1_IRQ (1 << 1)
- #define CP_AXIDMA_CH2_IRQ (1 << 2)
- #define CP_AXIDMA_CH3_IRQ (1 << 3)
- #define CP_AXIDMA_CH4_IRQ (1 << 4)
- #define CP_AXIDMA_CH5_IRQ (1 << 5)
- #define CP_AXIDMA_CH6_IRQ (1 << 6)
- #define CP_AXIDMA_CH7_IRQ (1 << 7)
- #define CP_AXIDMA_CH8_IRQ (1 << 8)
- #define CP_AXIDMA_CH9_IRQ (1 << 9)
- #define CP_AXIDMA_CH10_IRQ (1 << 10)
- #define CP_AXIDMA_CH11_IRQ (1 << 11)
- #define CP_AXIDMA_RST_FIN_IRQ (1 << 12)
- // axidma_arm_req_stat
- #define CP_AXIDMA_IRQ0 (1 << 0)
- #define CP_AXIDMA_IRQ1 (1 << 1)
- #define CP_AXIDMA_IRQ2 (1 << 2)
- #define CP_AXIDMA_IRQ3 (1 << 3)
- #define CP_AXIDMA_IRQ4 (1 << 4)
- #define CP_AXIDMA_IRQ5 (1 << 5)
- #define CP_AXIDMA_IRQ6 (1 << 6)
- #define CP_AXIDMA_IRQ7 (1 << 7)
- #define CP_AXIDMA_IRQ8 (1 << 8)
- #define CP_AXIDMA_IRQ9 (1 << 9)
- #define CP_AXIDMA_IRQ10 (1 << 10)
- #define CP_AXIDMA_IRQ11 (1 << 11)
- #define CP_AXIDMA_IRQ12 (1 << 12)
- #define CP_AXIDMA_IRQ13 (1 << 13)
- #define CP_AXIDMA_IRQ14 (1 << 14)
- #define CP_AXIDMA_IRQ15 (1 << 15)
- #define CP_AXIDMA_IRQ16 (1 << 16)
- #define CP_AXIDMA_IRQ17 (1 << 17)
- #define CP_AXIDMA_IRQ18 (1 << 18)
- #define CP_AXIDMA_IRQ19 (1 << 19)
- #define CP_AXIDMA_IRQ20 (1 << 20)
- #define CP_AXIDMA_IRQ21 (1 << 21)
- #define CP_AXIDMA_IRQ22 (1 << 22)
- #define CP_AXIDMA_IRQ23 (1 << 23)
- // axidma_arm_ack_stat
- #define CP_AXIDMA_ACK0 (1 << 0)
- #define CP_AXIDMA_ACK1 (1 << 1)
- #define CP_AXIDMA_ACK2 (1 << 2)
- #define CP_AXIDMA_ACK3 (1 << 3)
- #define CP_AXIDMA_ACK4 (1 << 4)
- #define CP_AXIDMA_ACK5 (1 << 5)
- #define CP_AXIDMA_ACK6 (1 << 6)
- #define CP_AXIDMA_ACK7 (1 << 7)
- #define CP_AXIDMA_ACK8 (1 << 8)
- #define CP_AXIDMA_ACK9 (1 << 9)
- #define CP_AXIDMA_ACK10 (1 << 10)
- #define CP_AXIDMA_ACK11 (1 << 11)
- #define CP_AXIDMA_ACK12 (1 << 12)
- #define CP_AXIDMA_ACK13 (1 << 13)
- #define CP_AXIDMA_ACK14 (1 << 14)
- #define CP_AXIDMA_ACK15 (1 << 15)
- #define CP_AXIDMA_ACK16 (1 << 16)
- #define CP_AXIDMA_ACK17 (1 << 17)
- #define CP_AXIDMA_ACK18 (1 << 18)
- #define CP_AXIDMA_ACK19 (1 << 19)
- #define CP_AXIDMA_ACK20 (1 << 20)
- #define CP_AXIDMA_ACK21 (1 << 21)
- #define CP_AXIDMA_ACK22 (1 << 22)
- #define CP_AXIDMA_ACK23 (1 << 23)
- // axidma_zsp_req_stat0
- #define CP_AXIDMA_REQ0(n) (((n)&0x7) << 0)
- #define CP_AXIDMA_REQ1(n) (((n)&0x7) << 4)
- #define CP_AXIDMA_REQ2(n) (((n)&0x7) << 8)
- #define CP_AXIDMA_REQ3(n) (((n)&0x7) << 12)
- #define CP_AXIDMA_REQ4(n) (((n)&0x7) << 16)
- #define CP_AXIDMA_REQ5(n) (((n)&0x7) << 20)
- #define CP_AXIDMA_REQ6(n) (((n)&0x7) << 24)
- #define CP_AXIDMA_REQ7(n) (((n)&0x7) << 28)
- // axidma_zsp_req_stat1
- #define CP_AXIDMA_REQ8(n) (((n)&0x7) << 0)
- #define CP_AXIDMA_REQ9(n) (((n)&0x7) << 4)
- #define CP_AXIDMA_REQ10(n) (((n)&0x7) << 8)
- #define CP_AXIDMA_REQ11(n) (((n)&0x7) << 12)
- // axidma_ch_irq_distr
- #define CP_AXIDMA_CH0_IRQ_EN0 (1 << 0)
- #define CP_AXIDMA_CH1_IRQ_EN0 (1 << 1)
- #define CP_AXIDMA_CH2_IRQ_EN0 (1 << 2)
- #define CP_AXIDMA_CH3_IRQ_EN0 (1 << 3)
- #define CP_AXIDMA_CH4_IRQ_EN0 (1 << 4)
- #define CP_AXIDMA_CH5_IRQ_EN0 (1 << 5)
- #define CP_AXIDMA_CH6_IRQ_EN0 (1 << 6)
- #define CP_AXIDMA_CH7_IRQ_EN0 (1 << 7)
- #define CP_AXIDMA_CH8_IRQ_EN0 (1 << 8)
- #define CP_AXIDMA_CH9_IRQ_EN0 (1 << 9)
- #define CP_AXIDMA_CH10_IRQ_EN0 (1 << 10)
- #define CP_AXIDMA_CH11_IRQ_EN0 (1 << 11)
- // axidma_c0_conf
- #define CP_AXIDMA_START (1 << 0)
- #define CP_AXIDMA_DATA_TYPE(n) (((n)&0x3) << 1)
- #define CP_AXIDMA_SYN_IRQ (1 << 3)
- #define CP_AXIDMA_IRQ_F (1 << 4)
- #define CP_AXIDMA_IRQ_T (1 << 5)
- #define CP_AXIDMA_SADDR_FIX (1 << 6)
- #define CP_AXIDMA_DADDR_FIX (1 << 7)
- #define CP_AXIDMA_FORCE_TRANS (1 << 8)
- #define CP_AXIDMA_COUNT_SEL (1 << 10)
- #define CP_AXIDMA_SADDR_TURNAROUND (1 << 12)
- #define CP_AXIDMA_DADDR_TURNAROUND (1 << 13)
- #define CP_AXIDMA_SECURITY_EN (1 << 14)
- #define CP_AXIDMA_ERR_INT_EN (1 << 15)
- // axidma_c0_map
- #define CP_AXIDMA_REQ_SOURCE(n) (((n)&0x1f) << 0)
- #define CP_AXIDMA_ACK_MAP(n) (((n)&0x1f) << 8)
- // axidma_c0_count
- #define CP_AXIDMA_COUNT(n) (((n)&0xffffff) << 0)
- // axidma_c0_countp
- #define CP_AXIDMA_COUNTP(n) (((n)&0xffff) << 0)
- // axidma_c0_status
- #define CP_AXIDMA_RUN (1 << 0)
- #define CP_AXIDMA_COUNT_FINISH_INT (1 << 1)
- #define CP_AXIDMA_COUNTP_FINISH_INT (1 << 2)
- #define CP_AXIDMA_SG_FINISH_INT (1 << 3)
- #define CP_AXIDMA_SG_COUNT(n) (((n)&0xffff) << 4)
- #define CP_AXIDMA_SG_SUSPEND_INT (1 << 20)
- #define CP_AXIDMA_COUNT_FINISH_STA (1 << 21)
- #define CP_AXIDMA_COUNTP_FINISH_STA (1 << 22)
- #define CP_AXIDMA_SG_FINISH_STA (1 << 23)
- #define CP_AXIDMA_SG_SUSPEND_STA (1 << 24)
- #define CP_AXIDMA_RESP_ERR (1 << 25)
- #define CP_AXIDMA_RESP_ERR_INT (1 << 26)
- // axidma_c0_sgconf
- #define CP_AXIDMA_SG_EN (1 << 0)
- #define CP_AXIDMA_SG_FINISH_IE (1 << 1)
- #define CP_AXIDMA_SG_SUSPEND_IE (1 << 2)
- #define CP_AXIDMA_DESC_RD_CTRL (1 << 3)
- #define CP_AXIDMA_SG_NUM(n) (((n)&0xffff) << 4)
- // axidma_c0_set
- #define CP_AXIDMA_RUN_SET (1 << 0)
- // axidma_c0_clr
- #define CP_AXIDMA_RUN_CLR (1 << 0)
- // axidma_c1_conf
- #define CP_AXIDMA_START (1 << 0)
- #define CP_AXIDMA_DATA_TYPE(n) (((n)&0x3) << 1)
- #define CP_AXIDMA_SYN_IRQ (1 << 3)
- #define CP_AXIDMA_IRQ_F (1 << 4)
- #define CP_AXIDMA_IRQ_T (1 << 5)
- #define CP_AXIDMA_SADDR_FIX (1 << 6)
- #define CP_AXIDMA_DADDR_FIX (1 << 7)
- #define CP_AXIDMA_FORCE_TRANS (1 << 8)
- #define CP_AXIDMA_COUNT_SEL (1 << 10)
- #define CP_AXIDMA_SADDR_TURNAROUND (1 << 12)
- #define CP_AXIDMA_DADDR_TURNAROUND (1 << 13)
- #define CP_AXIDMA_SECURITY_EN (1 << 14)
- #define CP_AXIDMA_ERR_INT_EN (1 << 15)
- // axidma_c1_map
- #define CP_AXIDMA_REQ_SOURCE(n) (((n)&0x1f) << 0)
- #define CP_AXIDMA_ACK_MAP(n) (((n)&0x1f) << 8)
- // axidma_c1_count
- #define CP_AXIDMA_COUNT(n) (((n)&0xffffff) << 0)
- // axidma_c1_countp
- #define CP_AXIDMA_COUNTP(n) (((n)&0xffff) << 0)
- // axidma_c1_status
- #define CP_AXIDMA_RUN (1 << 0)
- #define CP_AXIDMA_COUNT_FINISH_INT (1 << 1)
- #define CP_AXIDMA_COUNTP_FINISH_INT (1 << 2)
- #define CP_AXIDMA_SG_FINISH_INT (1 << 3)
- #define CP_AXIDMA_SG_COUNT(n) (((n)&0xffff) << 4)
- #define CP_AXIDMA_SG_SUSPEND_INT (1 << 20)
- #define CP_AXIDMA_COUNT_FINISH_STA (1 << 21)
- #define CP_AXIDMA_COUNTP_FINISH_STA (1 << 22)
- #define CP_AXIDMA_SG_FINISH_STA (1 << 23)
- #define CP_AXIDMA_SG_SUSPEND_STA (1 << 24)
- #define CP_AXIDMA_RESP_ERR (1 << 25)
- #define CP_AXIDMA_RESP_ERR_INT (1 << 26)
- // axidma_c1_sgconf
- #define CP_AXIDMA_SG_EN (1 << 0)
- #define CP_AXIDMA_SG_FINISH_IE (1 << 1)
- #define CP_AXIDMA_SG_SUSPEND_IE (1 << 2)
- #define CP_AXIDMA_DESC_RD_CTRL (1 << 3)
- #define CP_AXIDMA_SG_NUM(n) (((n)&0xffff) << 4)
- // axidma_c1_set
- #define CP_AXIDMA_RUN_SET (1 << 0)
- // axidma_c1_clr
- #define CP_AXIDMA_RUN_CLR (1 << 0)
- // axidma_c2_conf
- #define CP_AXIDMA_START (1 << 0)
- #define CP_AXIDMA_DATA_TYPE(n) (((n)&0x3) << 1)
- #define CP_AXIDMA_SYN_IRQ (1 << 3)
- #define CP_AXIDMA_IRQ_F (1 << 4)
- #define CP_AXIDMA_IRQ_T (1 << 5)
- #define CP_AXIDMA_SADDR_FIX (1 << 6)
- #define CP_AXIDMA_DADDR_FIX (1 << 7)
- #define CP_AXIDMA_FORCE_TRANS (1 << 8)
- #define CP_AXIDMA_COUNT_SEL (1 << 10)
- #define CP_AXIDMA_SADDR_TURNAROUND (1 << 12)
- #define CP_AXIDMA_DADDR_TURNAROUND (1 << 13)
- #define CP_AXIDMA_SECURITY_EN (1 << 14)
- #define CP_AXIDMA_ERR_INT_EN (1 << 15)
- // axidma_c2_map
- #define CP_AXIDMA_REQ_SOURCE(n) (((n)&0x1f) << 0)
- #define CP_AXIDMA_ACK_MAP(n) (((n)&0x1f) << 8)
- // axidma_c2_count
- #define CP_AXIDMA_COUNT(n) (((n)&0xffffff) << 0)
- // axidma_c2_countp
- #define CP_AXIDMA_COUNTP(n) (((n)&0xffff) << 0)
- // axidma_c2_status
- #define CP_AXIDMA_RUN (1 << 0)
- #define CP_AXIDMA_COUNT_FINISH_INT (1 << 1)
- #define CP_AXIDMA_COUNTP_FINISH_INT (1 << 2)
- #define CP_AXIDMA_SG_FINISH_INT (1 << 3)
- #define CP_AXIDMA_SG_COUNT(n) (((n)&0xffff) << 4)
- #define CP_AXIDMA_SG_SUSPEND_INT (1 << 20)
- #define CP_AXIDMA_COUNT_FINISH_STA (1 << 21)
- #define CP_AXIDMA_COUNTP_FINISH_STA (1 << 22)
- #define CP_AXIDMA_SG_FINISH_STA (1 << 23)
- #define CP_AXIDMA_SG_SUSPEND_STA (1 << 24)
- #define CP_AXIDMA_RESP_ERR (1 << 25)
- #define CP_AXIDMA_RESP_ERR_INT (1 << 26)
- // axidma_c2_sgconf
- #define CP_AXIDMA_SG_EN (1 << 0)
- #define CP_AXIDMA_SG_FINISH_IE (1 << 1)
- #define CP_AXIDMA_SG_SUSPEND_IE (1 << 2)
- #define CP_AXIDMA_DESC_RD_CTRL (1 << 3)
- #define CP_AXIDMA_SG_NUM(n) (((n)&0xffff) << 4)
- // axidma_c2_set
- #define CP_AXIDMA_RUN_SET (1 << 0)
- // axidma_c2_clr
- #define CP_AXIDMA_RUN_CLR (1 << 0)
- // axidma_c3_conf
- #define CP_AXIDMA_START (1 << 0)
- #define CP_AXIDMA_DATA_TYPE(n) (((n)&0x3) << 1)
- #define CP_AXIDMA_SYN_IRQ (1 << 3)
- #define CP_AXIDMA_IRQ_F (1 << 4)
- #define CP_AXIDMA_IRQ_T (1 << 5)
- #define CP_AXIDMA_SADDR_FIX (1 << 6)
- #define CP_AXIDMA_DADDR_FIX (1 << 7)
- #define CP_AXIDMA_FORCE_TRANS (1 << 8)
- #define CP_AXIDMA_COUNT_SEL (1 << 10)
- #define CP_AXIDMA_SADDR_TURNAROUND (1 << 12)
- #define CP_AXIDMA_DADDR_TURNAROUND (1 << 13)
- #define CP_AXIDMA_SECURITY_EN (1 << 14)
- #define CP_AXIDMA_ERR_INT_EN (1 << 15)
- // axidma_c3_map
- #define CP_AXIDMA_REQ_SOURCE(n) (((n)&0x1f) << 0)
- #define CP_AXIDMA_ACK_MAP(n) (((n)&0x1f) << 8)
- // axidma_c3_count
- #define CP_AXIDMA_COUNT(n) (((n)&0xffffff) << 0)
- // axidma_c3_countp
- #define CP_AXIDMA_COUNTP(n) (((n)&0xffff) << 0)
- // axidma_c3_status
- #define CP_AXIDMA_RUN (1 << 0)
- #define CP_AXIDMA_COUNT_FINISH_INT (1 << 1)
- #define CP_AXIDMA_COUNTP_FINISH_INT (1 << 2)
- #define CP_AXIDMA_SG_FINISH_INT (1 << 3)
- #define CP_AXIDMA_SG_COUNT(n) (((n)&0xffff) << 4)
- #define CP_AXIDMA_SG_SUSPEND_INT (1 << 20)
- #define CP_AXIDMA_COUNT_FINISH_STA (1 << 21)
- #define CP_AXIDMA_COUNTP_FINISH_STA (1 << 22)
- #define CP_AXIDMA_SG_FINISH_STA (1 << 23)
- #define CP_AXIDMA_SG_SUSPEND_STA (1 << 24)
- #define CP_AXIDMA_RESP_ERR (1 << 25)
- #define CP_AXIDMA_RESP_ERR_INT (1 << 26)
- // axidma_c3_sgconf
- #define CP_AXIDMA_SG_EN (1 << 0)
- #define CP_AXIDMA_SG_FINISH_IE (1 << 1)
- #define CP_AXIDMA_SG_SUSPEND_IE (1 << 2)
- #define CP_AXIDMA_DESC_RD_CTRL (1 << 3)
- #define CP_AXIDMA_SG_NUM(n) (((n)&0xffff) << 4)
- // axidma_c3_set
- #define CP_AXIDMA_RUN_SET (1 << 0)
- // axidma_c3_clr
- #define CP_AXIDMA_RUN_CLR (1 << 0)
- // axidma_c4_conf
- #define CP_AXIDMA_START (1 << 0)
- #define CP_AXIDMA_DATA_TYPE(n) (((n)&0x3) << 1)
- #define CP_AXIDMA_SYN_IRQ (1 << 3)
- #define CP_AXIDMA_IRQ_F (1 << 4)
- #define CP_AXIDMA_IRQ_T (1 << 5)
- #define CP_AXIDMA_SADDR_FIX (1 << 6)
- #define CP_AXIDMA_DADDR_FIX (1 << 7)
- #define CP_AXIDMA_FORCE_TRANS (1 << 8)
- #define CP_AXIDMA_COUNT_SEL (1 << 10)
- #define CP_AXIDMA_SADDR_TURNAROUND (1 << 12)
- #define CP_AXIDMA_DADDR_TURNAROUND (1 << 13)
- #define CP_AXIDMA_SECURITY_EN (1 << 14)
- #define CP_AXIDMA_ERR_INT_EN (1 << 15)
- // axidma_c4_map
- #define CP_AXIDMA_REQ_SOURCE(n) (((n)&0x1f) << 0)
- #define CP_AXIDMA_ACK_MAP(n) (((n)&0x1f) << 8)
- // axidma_c4_count
- #define CP_AXIDMA_COUNT(n) (((n)&0xffffff) << 0)
- // axidma_c4_countp
- #define CP_AXIDMA_COUNTP(n) (((n)&0xffff) << 0)
- // axidma_c4_status
- #define CP_AXIDMA_RUN (1 << 0)
- #define CP_AXIDMA_COUNT_FINISH_INT (1 << 1)
- #define CP_AXIDMA_COUNTP_FINISH_INT (1 << 2)
- #define CP_AXIDMA_SG_FINISH_INT (1 << 3)
- #define CP_AXIDMA_SG_COUNT(n) (((n)&0xffff) << 4)
- #define CP_AXIDMA_SG_SUSPEND_INT (1 << 20)
- #define CP_AXIDMA_COUNT_FINISH_STA (1 << 21)
- #define CP_AXIDMA_COUNTP_FINISH_STA (1 << 22)
- #define CP_AXIDMA_SG_FINISH_STA (1 << 23)
- #define CP_AXIDMA_SG_SUSPEND_STA (1 << 24)
- #define CP_AXIDMA_RESP_ERR (1 << 25)
- #define CP_AXIDMA_RESP_ERR_INT (1 << 26)
- // axidma_c4_sgconf
- #define CP_AXIDMA_SG_EN (1 << 0)
- #define CP_AXIDMA_SG_FINISH_IE (1 << 1)
- #define CP_AXIDMA_SG_SUSPEND_IE (1 << 2)
- #define CP_AXIDMA_DESC_RD_CTRL (1 << 3)
- #define CP_AXIDMA_SG_NUM(n) (((n)&0xffff) << 4)
- // axidma_c4_set
- #define CP_AXIDMA_RUN_SET (1 << 0)
- // axidma_c4_clr
- #define CP_AXIDMA_RUN_CLR (1 << 0)
- // axidma_c5_conf
- #define CP_AXIDMA_START (1 << 0)
- #define CP_AXIDMA_DATA_TYPE(n) (((n)&0x3) << 1)
- #define CP_AXIDMA_SYN_IRQ (1 << 3)
- #define CP_AXIDMA_IRQ_F (1 << 4)
- #define CP_AXIDMA_IRQ_T (1 << 5)
- #define CP_AXIDMA_SADDR_FIX (1 << 6)
- #define CP_AXIDMA_DADDR_FIX (1 << 7)
- #define CP_AXIDMA_FORCE_TRANS (1 << 8)
- #define CP_AXIDMA_COUNT_SEL (1 << 10)
- #define CP_AXIDMA_SADDR_TURNAROUND (1 << 12)
- #define CP_AXIDMA_DADDR_TURNAROUND (1 << 13)
- #define CP_AXIDMA_SECURITY_EN (1 << 14)
- #define CP_AXIDMA_ERR_INT_EN (1 << 15)
- // axidma_c5_map
- #define CP_AXIDMA_REQ_SOURCE(n) (((n)&0x1f) << 0)
- #define CP_AXIDMA_ACK_MAP(n) (((n)&0x1f) << 8)
- // axidma_c5_count
- #define CP_AXIDMA_COUNT(n) (((n)&0xffffff) << 0)
- // axidma_c5_countp
- #define CP_AXIDMA_COUNTP(n) (((n)&0xffff) << 0)
- // axidma_c5_status
- #define CP_AXIDMA_RUN (1 << 0)
- #define CP_AXIDMA_COUNT_FINISH_INT (1 << 1)
- #define CP_AXIDMA_COUNTP_FINISH_INT (1 << 2)
- #define CP_AXIDMA_SG_FINISH_INT (1 << 3)
- #define CP_AXIDMA_SG_COUNT(n) (((n)&0xffff) << 4)
- #define CP_AXIDMA_SG_SUSPEND_INT (1 << 20)
- #define CP_AXIDMA_COUNT_FINISH_STA (1 << 21)
- #define CP_AXIDMA_COUNTP_FINISH_STA (1 << 22)
- #define CP_AXIDMA_SG_FINISH_STA (1 << 23)
- #define CP_AXIDMA_SG_SUSPEND_STA (1 << 24)
- #define CP_AXIDMA_RESP_ERR (1 << 25)
- #define CP_AXIDMA_RESP_ERR_INT (1 << 26)
- // axidma_c5_sgconf
- #define CP_AXIDMA_SG_EN (1 << 0)
- #define CP_AXIDMA_SG_FINISH_IE (1 << 1)
- #define CP_AXIDMA_SG_SUSPEND_IE (1 << 2)
- #define CP_AXIDMA_DESC_RD_CTRL (1 << 3)
- #define CP_AXIDMA_SG_NUM(n) (((n)&0xffff) << 4)
- // axidma_c5_set
- #define CP_AXIDMA_RUN_SET (1 << 0)
- // axidma_c5_clr
- #define CP_AXIDMA_RUN_CLR (1 << 0)
- // axidma_c6_conf
- #define CP_AXIDMA_START (1 << 0)
- #define CP_AXIDMA_DATA_TYPE(n) (((n)&0x3) << 1)
- #define CP_AXIDMA_SYN_IRQ (1 << 3)
- #define CP_AXIDMA_IRQ_F (1 << 4)
- #define CP_AXIDMA_IRQ_T (1 << 5)
- #define CP_AXIDMA_SADDR_FIX (1 << 6)
- #define CP_AXIDMA_DADDR_FIX (1 << 7)
- #define CP_AXIDMA_FORCE_TRANS (1 << 8)
- #define CP_AXIDMA_COUNT_SEL (1 << 10)
- #define CP_AXIDMA_SADDR_TURNAROUND (1 << 12)
- #define CP_AXIDMA_DADDR_TURNAROUND (1 << 13)
- #define CP_AXIDMA_SECURITY_EN (1 << 14)
- #define CP_AXIDMA_ERR_INT_EN (1 << 15)
- // axidma_c6_map
- #define CP_AXIDMA_REQ_SOURCE(n) (((n)&0x1f) << 0)
- #define CP_AXIDMA_ACK_MAP(n) (((n)&0x1f) << 8)
- // axidma_c6_count
- #define CP_AXIDMA_COUNT(n) (((n)&0xffffff) << 0)
- // axidma_c6_countp
- #define CP_AXIDMA_COUNTP(n) (((n)&0xffff) << 0)
- // axidma_c6_status
- #define CP_AXIDMA_RUN (1 << 0)
- #define CP_AXIDMA_COUNT_FINISH_INT (1 << 1)
- #define CP_AXIDMA_COUNTP_FINISH_INT (1 << 2)
- #define CP_AXIDMA_SG_FINISH_INT (1 << 3)
- #define CP_AXIDMA_SG_COUNT(n) (((n)&0xffff) << 4)
- #define CP_AXIDMA_SG_SUSPEND_INT (1 << 20)
- #define CP_AXIDMA_COUNT_FINISH_STA (1 << 21)
- #define CP_AXIDMA_COUNTP_FINISH_STA (1 << 22)
- #define CP_AXIDMA_SG_FINISH_STA (1 << 23)
- #define CP_AXIDMA_SG_SUSPEND_STA (1 << 24)
- #define CP_AXIDMA_RESP_ERR (1 << 25)
- #define CP_AXIDMA_RESP_ERR_INT (1 << 26)
- // axidma_c6_sgconf
- #define CP_AXIDMA_SG_EN (1 << 0)
- #define CP_AXIDMA_SG_FINISH_IE (1 << 1)
- #define CP_AXIDMA_SG_SUSPEND_IE (1 << 2)
- #define CP_AXIDMA_DESC_RD_CTRL (1 << 3)
- #define CP_AXIDMA_SG_NUM(n) (((n)&0xffff) << 4)
- // axidma_c6_set
- #define CP_AXIDMA_RUN_SET (1 << 0)
- // axidma_c6_clr
- #define CP_AXIDMA_RUN_CLR (1 << 0)
- // axidma_c7_conf
- #define CP_AXIDMA_START (1 << 0)
- #define CP_AXIDMA_DATA_TYPE(n) (((n)&0x3) << 1)
- #define CP_AXIDMA_SYN_IRQ (1 << 3)
- #define CP_AXIDMA_IRQ_F (1 << 4)
- #define CP_AXIDMA_IRQ_T (1 << 5)
- #define CP_AXIDMA_SADDR_FIX (1 << 6)
- #define CP_AXIDMA_DADDR_FIX (1 << 7)
- #define CP_AXIDMA_FORCE_TRANS (1 << 8)
- #define CP_AXIDMA_COUNT_SEL (1 << 10)
- #define CP_AXIDMA_SADDR_TURNAROUND (1 << 12)
- #define CP_AXIDMA_DADDR_TURNAROUND (1 << 13)
- #define CP_AXIDMA_SECURITY_EN (1 << 14)
- #define CP_AXIDMA_ERR_INT_EN (1 << 15)
- // axidma_c7_map
- #define CP_AXIDMA_REQ_SOURCE(n) (((n)&0x1f) << 0)
- #define CP_AXIDMA_ACK_MAP(n) (((n)&0x1f) << 8)
- // axidma_c7_count
- #define CP_AXIDMA_COUNT(n) (((n)&0xffffff) << 0)
- // axidma_c7_countp
- #define CP_AXIDMA_COUNTP(n) (((n)&0xffff) << 0)
- // axidma_c7_status
- #define CP_AXIDMA_RUN (1 << 0)
- #define CP_AXIDMA_COUNT_FINISH_INT (1 << 1)
- #define CP_AXIDMA_COUNTP_FINISH_INT (1 << 2)
- #define CP_AXIDMA_SG_FINISH_INT (1 << 3)
- #define CP_AXIDMA_SG_COUNT(n) (((n)&0xffff) << 4)
- #define CP_AXIDMA_SG_SUSPEND_INT (1 << 20)
- #define CP_AXIDMA_COUNT_FINISH_STA (1 << 21)
- #define CP_AXIDMA_COUNTP_FINISH_STA (1 << 22)
- #define CP_AXIDMA_SG_FINISH_STA (1 << 23)
- #define CP_AXIDMA_SG_SUSPEND_STA (1 << 24)
- #define CP_AXIDMA_RESP_ERR (1 << 25)
- #define CP_AXIDMA_RESP_ERR_INT (1 << 26)
- // axidma_c7_sgconf
- #define CP_AXIDMA_SG_EN (1 << 0)
- #define CP_AXIDMA_SG_FINISH_IE (1 << 1)
- #define CP_AXIDMA_SG_SUSPEND_IE (1 << 2)
- #define CP_AXIDMA_DESC_RD_CTRL (1 << 3)
- #define CP_AXIDMA_SG_NUM(n) (((n)&0xffff) << 4)
- // axidma_c7_set
- #define CP_AXIDMA_RUN_SET (1 << 0)
- // axidma_c7_clr
- #define CP_AXIDMA_RUN_CLR (1 << 0)
- // axidma_c8_conf
- #define CP_AXIDMA_START (1 << 0)
- #define CP_AXIDMA_DATA_TYPE(n) (((n)&0x3) << 1)
- #define CP_AXIDMA_SYN_IRQ (1 << 3)
- #define CP_AXIDMA_IRQ_F (1 << 4)
- #define CP_AXIDMA_IRQ_T (1 << 5)
- #define CP_AXIDMA_SADDR_FIX (1 << 6)
- #define CP_AXIDMA_DADDR_FIX (1 << 7)
- #define CP_AXIDMA_FORCE_TRANS (1 << 8)
- #define CP_AXIDMA_COUNT_SEL (1 << 10)
- #define CP_AXIDMA_SADDR_TURNAROUND (1 << 12)
- #define CP_AXIDMA_DADDR_TURNAROUND (1 << 13)
- #define CP_AXIDMA_SECURITY_EN (1 << 14)
- #define CP_AXIDMA_ERR_INT_EN (1 << 15)
- // axidma_c8_map
- #define CP_AXIDMA_REQ_SOURCE(n) (((n)&0x1f) << 0)
- #define CP_AXIDMA_ACK_MAP(n) (((n)&0x1f) << 8)
- // axidma_c8_count
- #define CP_AXIDMA_COUNT(n) (((n)&0xffffff) << 0)
- // axidma_c8_countp
- #define CP_AXIDMA_COUNTP(n) (((n)&0xffff) << 0)
- // axidma_c8_status
- #define CP_AXIDMA_RUN (1 << 0)
- #define CP_AXIDMA_COUNT_FINISH_INT (1 << 1)
- #define CP_AXIDMA_COUNTP_FINISH_INT (1 << 2)
- #define CP_AXIDMA_SG_FINISH_INT (1 << 3)
- #define CP_AXIDMA_SG_COUNT(n) (((n)&0xffff) << 4)
- #define CP_AXIDMA_SG_SUSPEND_INT (1 << 20)
- #define CP_AXIDMA_COUNT_FINISH_STA (1 << 21)
- #define CP_AXIDMA_COUNTP_FINISH_STA (1 << 22)
- #define CP_AXIDMA_SG_FINISH_STA (1 << 23)
- #define CP_AXIDMA_SG_SUSPEND_STA (1 << 24)
- #define CP_AXIDMA_RESP_ERR (1 << 25)
- #define CP_AXIDMA_RESP_ERR_INT (1 << 26)
- // axidma_c8_sgconf
- #define CP_AXIDMA_SG_EN (1 << 0)
- #define CP_AXIDMA_SG_FINISH_IE (1 << 1)
- #define CP_AXIDMA_SG_SUSPEND_IE (1 << 2)
- #define CP_AXIDMA_DESC_RD_CTRL (1 << 3)
- #define CP_AXIDMA_SG_NUM(n) (((n)&0xffff) << 4)
- // axidma_c8_set
- #define CP_AXIDMA_RUN_SET (1 << 0)
- // axidma_c8_clr
- #define CP_AXIDMA_RUN_CLR (1 << 0)
- // axidma_c9_conf
- #define CP_AXIDMA_START (1 << 0)
- #define CP_AXIDMA_DATA_TYPE(n) (((n)&0x3) << 1)
- #define CP_AXIDMA_SYN_IRQ (1 << 3)
- #define CP_AXIDMA_IRQ_F (1 << 4)
- #define CP_AXIDMA_IRQ_T (1 << 5)
- #define CP_AXIDMA_SADDR_FIX (1 << 6)
- #define CP_AXIDMA_DADDR_FIX (1 << 7)
- #define CP_AXIDMA_FORCE_TRANS (1 << 8)
- #define CP_AXIDMA_COUNT_SEL (1 << 10)
- #define CP_AXIDMA_SADDR_TURNAROUND (1 << 12)
- #define CP_AXIDMA_DADDR_TURNAROUND (1 << 13)
- #define CP_AXIDMA_SECURITY_EN (1 << 14)
- #define CP_AXIDMA_ERR_INT_EN (1 << 15)
- // axidma_c9_map
- #define CP_AXIDMA_REQ_SOURCE(n) (((n)&0x1f) << 0)
- #define CP_AXIDMA_ACK_MAP(n) (((n)&0x1f) << 8)
- // axidma_c9_count
- #define CP_AXIDMA_COUNT(n) (((n)&0xffffff) << 0)
- // axidma_c9_countp
- #define CP_AXIDMA_COUNTP(n) (((n)&0xffff) << 0)
- // axidma_c9_status
- #define CP_AXIDMA_RUN (1 << 0)
- #define CP_AXIDMA_COUNT_FINISH_INT (1 << 1)
- #define CP_AXIDMA_COUNTP_FINISH_INT (1 << 2)
- #define CP_AXIDMA_SG_FINISH_INT (1 << 3)
- #define CP_AXIDMA_SG_COUNT(n) (((n)&0xffff) << 4)
- #define CP_AXIDMA_SG_SUSPEND_INT (1 << 20)
- #define CP_AXIDMA_COUNT_FINISH_STA (1 << 21)
- #define CP_AXIDMA_COUNTP_FINISH_STA (1 << 22)
- #define CP_AXIDMA_SG_FINISH_STA (1 << 23)
- #define CP_AXIDMA_SG_SUSPEND_STA (1 << 24)
- #define CP_AXIDMA_RESP_ERR (1 << 25)
- #define CP_AXIDMA_RESP_ERR_INT (1 << 26)
- // axidma_c9_sgconf
- #define CP_AXIDMA_SG_EN (1 << 0)
- #define CP_AXIDMA_SG_FINISH_IE (1 << 1)
- #define CP_AXIDMA_SG_SUSPEND_IE (1 << 2)
- #define CP_AXIDMA_DESC_RD_CTRL (1 << 3)
- #define CP_AXIDMA_SG_NUM(n) (((n)&0xffff) << 4)
- // axidma_c9_set
- #define CP_AXIDMA_RUN_SET (1 << 0)
- // axidma_c9_clr
- #define CP_AXIDMA_RUN_CLR (1 << 0)
- // axidma_c10_conf
- #define CP_AXIDMA_START (1 << 0)
- #define CP_AXIDMA_DATA_TYPE(n) (((n)&0x3) << 1)
- #define CP_AXIDMA_SYN_IRQ (1 << 3)
- #define CP_AXIDMA_IRQ_F (1 << 4)
- #define CP_AXIDMA_IRQ_T (1 << 5)
- #define CP_AXIDMA_SADDR_FIX (1 << 6)
- #define CP_AXIDMA_DADDR_FIX (1 << 7)
- #define CP_AXIDMA_FORCE_TRANS (1 << 8)
- #define CP_AXIDMA_COUNT_SEL (1 << 10)
- #define CP_AXIDMA_SADDR_TURNAROUND (1 << 12)
- #define CP_AXIDMA_DADDR_TURNAROUND (1 << 13)
- #define CP_AXIDMA_SECURITY_EN (1 << 14)
- #define CP_AXIDMA_ERR_INT_EN (1 << 15)
- // axidma_c10_map
- #define CP_AXIDMA_REQ_SOURCE(n) (((n)&0x1f) << 0)
- #define CP_AXIDMA_ACK_MAP(n) (((n)&0x1f) << 8)
- // axidma_c10_count
- #define CP_AXIDMA_COUNT(n) (((n)&0xffffff) << 0)
- // axidma_c10_countp
- #define CP_AXIDMA_COUNTP(n) (((n)&0xffff) << 0)
- // axidma_c10_status
- #define CP_AXIDMA_RUN (1 << 0)
- #define CP_AXIDMA_COUNT_FINISH_INT (1 << 1)
- #define CP_AXIDMA_COUNTP_FINISH_INT (1 << 2)
- #define CP_AXIDMA_SG_FINISH_INT (1 << 3)
- #define CP_AXIDMA_SG_COUNT(n) (((n)&0xffff) << 4)
- #define CP_AXIDMA_SG_SUSPEND_INT (1 << 20)
- #define CP_AXIDMA_COUNT_FINISH_STA (1 << 21)
- #define CP_AXIDMA_COUNTP_FINISH_STA (1 << 22)
- #define CP_AXIDMA_SG_FINISH_STA (1 << 23)
- #define CP_AXIDMA_SG_SUSPEND_STA (1 << 24)
- #define CP_AXIDMA_RESP_ERR (1 << 25)
- #define CP_AXIDMA_RESP_ERR_INT (1 << 26)
- // axidma_c10_sgconf
- #define CP_AXIDMA_SG_EN (1 << 0)
- #define CP_AXIDMA_SG_FINISH_IE (1 << 1)
- #define CP_AXIDMA_SG_SUSPEND_IE (1 << 2)
- #define CP_AXIDMA_DESC_RD_CTRL (1 << 3)
- #define CP_AXIDMA_SG_NUM(n) (((n)&0xffff) << 4)
- // axidma_c10_set
- #define CP_AXIDMA_RUN_SET (1 << 0)
- // axidma_c10_clr
- #define CP_AXIDMA_RUN_CLR (1 << 0)
- // axidma_c11_conf
- #define CP_AXIDMA_START (1 << 0)
- #define CP_AXIDMA_DATA_TYPE(n) (((n)&0x3) << 1)
- #define CP_AXIDMA_SYN_IRQ (1 << 3)
- #define CP_AXIDMA_IRQ_F (1 << 4)
- #define CP_AXIDMA_IRQ_T (1 << 5)
- #define CP_AXIDMA_SADDR_FIX (1 << 6)
- #define CP_AXIDMA_DADDR_FIX (1 << 7)
- #define CP_AXIDMA_FORCE_TRANS (1 << 8)
- #define CP_AXIDMA_COUNT_SEL (1 << 10)
- #define CP_AXIDMA_SADDR_TURNAROUND (1 << 12)
- #define CP_AXIDMA_DADDR_TURNAROUND (1 << 13)
- #define CP_AXIDMA_SECURITY_EN (1 << 14)
- #define CP_AXIDMA_ERR_INT_EN (1 << 15)
- // axidma_c11_map
- #define CP_AXIDMA_REQ_SOURCE(n) (((n)&0x1f) << 0)
- #define CP_AXIDMA_ACK_MAP(n) (((n)&0x1f) << 8)
- // axidma_c11_count
- #define CP_AXIDMA_COUNT(n) (((n)&0xffffff) << 0)
- // axidma_c11_countp
- #define CP_AXIDMA_COUNTP(n) (((n)&0xffff) << 0)
- // axidma_c11_status
- #define CP_AXIDMA_RUN (1 << 0)
- #define CP_AXIDMA_COUNT_FINISH_INT (1 << 1)
- #define CP_AXIDMA_COUNTP_FINISH_INT (1 << 2)
- #define CP_AXIDMA_SG_FINISH_INT (1 << 3)
- #define CP_AXIDMA_SG_COUNT(n) (((n)&0xffff) << 4)
- #define CP_AXIDMA_SG_SUSPEND_INT (1 << 20)
- #define CP_AXIDMA_COUNT_FINISH_STA (1 << 21)
- #define CP_AXIDMA_COUNTP_FINISH_STA (1 << 22)
- #define CP_AXIDMA_SG_FINISH_STA (1 << 23)
- #define CP_AXIDMA_SG_SUSPEND_STA (1 << 24)
- #define CP_AXIDMA_RESP_ERR (1 << 25)
- #define CP_AXIDMA_RESP_ERR_INT (1 << 26)
- // axidma_c11_sgconf
- #define CP_AXIDMA_SG_EN (1 << 0)
- #define CP_AXIDMA_SG_FINISH_IE (1 << 1)
- #define CP_AXIDMA_SG_SUSPEND_IE (1 << 2)
- #define CP_AXIDMA_DESC_RD_CTRL (1 << 3)
- #define CP_AXIDMA_SG_NUM(n) (((n)&0xffff) << 4)
- // axidma_c11_set
- #define CP_AXIDMA_RUN_SET (1 << 0)
- // axidma_c11_clr
- #define CP_AXIDMA_RUN_CLR (1 << 0)
- #endif // _CP_AXIDMA_H_
|