wm2200.h 181 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675
  1. /*
  2. * wm2200.h - WM2200 audio codec interface
  3. *
  4. * Copyright 2012 Wolfson Microelectronics PLC.
  5. * Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
  6. *
  7. * This program is free software; you can redistribute it and/or modify it
  8. * under the terms of the GNU General Public License as published by the
  9. * Free Software Foundation; either version 2 of the License, or (at your
  10. * option) any later version.
  11. */
  12. #ifndef _WM2200_H
  13. #define _WM2200_H
  14. #define WM2200_CLK_SYSCLK 1
  15. #define WM2200_CLKSRC_MCLK1 0
  16. #define WM2200_CLKSRC_MCLK2 1
  17. #define WM2200_CLKSRC_FLL 4
  18. #define WM2200_CLKSRC_BCLK1 8
  19. #define WM2200_FLL_SRC_MCLK1 0
  20. #define WM2200_FLL_SRC_MCLK2 1
  21. #define WM2200_FLL_SRC_BCLK 2
  22. /*
  23. * Register values.
  24. */
  25. #define WM2200_SOFTWARE_RESET 0x00
  26. #define WM2200_DEVICE_REVISION 0x01
  27. #define WM2200_TONE_GENERATOR_1 0x0B
  28. #define WM2200_CLOCKING_3 0x102
  29. #define WM2200_CLOCKING_4 0x103
  30. #define WM2200_FLL_CONTROL_1 0x111
  31. #define WM2200_FLL_CONTROL_2 0x112
  32. #define WM2200_FLL_CONTROL_3 0x113
  33. #define WM2200_FLL_CONTROL_4 0x114
  34. #define WM2200_FLL_CONTROL_6 0x116
  35. #define WM2200_FLL_CONTROL_7 0x117
  36. #define WM2200_FLL_EFS_1 0x119
  37. #define WM2200_FLL_EFS_2 0x11A
  38. #define WM2200_MIC_CHARGE_PUMP_1 0x200
  39. #define WM2200_MIC_CHARGE_PUMP_2 0x201
  40. #define WM2200_DM_CHARGE_PUMP_1 0x202
  41. #define WM2200_MIC_BIAS_CTRL_1 0x20C
  42. #define WM2200_MIC_BIAS_CTRL_2 0x20D
  43. #define WM2200_EAR_PIECE_CTRL_1 0x20F
  44. #define WM2200_EAR_PIECE_CTRL_2 0x210
  45. #define WM2200_INPUT_ENABLES 0x301
  46. #define WM2200_IN1L_CONTROL 0x302
  47. #define WM2200_IN1R_CONTROL 0x303
  48. #define WM2200_IN2L_CONTROL 0x304
  49. #define WM2200_IN2R_CONTROL 0x305
  50. #define WM2200_IN3L_CONTROL 0x306
  51. #define WM2200_IN3R_CONTROL 0x307
  52. #define WM2200_RXANC_SRC 0x30A
  53. #define WM2200_INPUT_VOLUME_RAMP 0x30B
  54. #define WM2200_ADC_DIGITAL_VOLUME_1L 0x30C
  55. #define WM2200_ADC_DIGITAL_VOLUME_1R 0x30D
  56. #define WM2200_ADC_DIGITAL_VOLUME_2L 0x30E
  57. #define WM2200_ADC_DIGITAL_VOLUME_2R 0x30F
  58. #define WM2200_ADC_DIGITAL_VOLUME_3L 0x310
  59. #define WM2200_ADC_DIGITAL_VOLUME_3R 0x311
  60. #define WM2200_OUTPUT_ENABLES 0x400
  61. #define WM2200_DAC_VOLUME_LIMIT_1L 0x401
  62. #define WM2200_DAC_VOLUME_LIMIT_1R 0x402
  63. #define WM2200_DAC_VOLUME_LIMIT_2L 0x403
  64. #define WM2200_DAC_VOLUME_LIMIT_2R 0x404
  65. #define WM2200_DAC_AEC_CONTROL_1 0x409
  66. #define WM2200_OUTPUT_VOLUME_RAMP 0x40A
  67. #define WM2200_DAC_DIGITAL_VOLUME_1L 0x40B
  68. #define WM2200_DAC_DIGITAL_VOLUME_1R 0x40C
  69. #define WM2200_DAC_DIGITAL_VOLUME_2L 0x40D
  70. #define WM2200_DAC_DIGITAL_VOLUME_2R 0x40E
  71. #define WM2200_PDM_1 0x417
  72. #define WM2200_PDM_2 0x418
  73. #define WM2200_AUDIO_IF_1_1 0x500
  74. #define WM2200_AUDIO_IF_1_2 0x501
  75. #define WM2200_AUDIO_IF_1_3 0x502
  76. #define WM2200_AUDIO_IF_1_4 0x503
  77. #define WM2200_AUDIO_IF_1_5 0x504
  78. #define WM2200_AUDIO_IF_1_6 0x505
  79. #define WM2200_AUDIO_IF_1_7 0x506
  80. #define WM2200_AUDIO_IF_1_8 0x507
  81. #define WM2200_AUDIO_IF_1_9 0x508
  82. #define WM2200_AUDIO_IF_1_10 0x509
  83. #define WM2200_AUDIO_IF_1_11 0x50A
  84. #define WM2200_AUDIO_IF_1_12 0x50B
  85. #define WM2200_AUDIO_IF_1_13 0x50C
  86. #define WM2200_AUDIO_IF_1_14 0x50D
  87. #define WM2200_AUDIO_IF_1_15 0x50E
  88. #define WM2200_AUDIO_IF_1_16 0x50F
  89. #define WM2200_AUDIO_IF_1_17 0x510
  90. #define WM2200_AUDIO_IF_1_18 0x511
  91. #define WM2200_AUDIO_IF_1_19 0x512
  92. #define WM2200_AUDIO_IF_1_20 0x513
  93. #define WM2200_AUDIO_IF_1_21 0x514
  94. #define WM2200_AUDIO_IF_1_22 0x515
  95. #define WM2200_OUT1LMIX_INPUT_1_SOURCE 0x600
  96. #define WM2200_OUT1LMIX_INPUT_1_VOLUME 0x601
  97. #define WM2200_OUT1LMIX_INPUT_2_SOURCE 0x602
  98. #define WM2200_OUT1LMIX_INPUT_2_VOLUME 0x603
  99. #define WM2200_OUT1LMIX_INPUT_3_SOURCE 0x604
  100. #define WM2200_OUT1LMIX_INPUT_3_VOLUME 0x605
  101. #define WM2200_OUT1LMIX_INPUT_4_SOURCE 0x606
  102. #define WM2200_OUT1LMIX_INPUT_4_VOLUME 0x607
  103. #define WM2200_OUT1RMIX_INPUT_1_SOURCE 0x608
  104. #define WM2200_OUT1RMIX_INPUT_1_VOLUME 0x609
  105. #define WM2200_OUT1RMIX_INPUT_2_SOURCE 0x60A
  106. #define WM2200_OUT1RMIX_INPUT_2_VOLUME 0x60B
  107. #define WM2200_OUT1RMIX_INPUT_3_SOURCE 0x60C
  108. #define WM2200_OUT1RMIX_INPUT_3_VOLUME 0x60D
  109. #define WM2200_OUT1RMIX_INPUT_4_SOURCE 0x60E
  110. #define WM2200_OUT1RMIX_INPUT_4_VOLUME 0x60F
  111. #define WM2200_OUT2LMIX_INPUT_1_SOURCE 0x610
  112. #define WM2200_OUT2LMIX_INPUT_1_VOLUME 0x611
  113. #define WM2200_OUT2LMIX_INPUT_2_SOURCE 0x612
  114. #define WM2200_OUT2LMIX_INPUT_2_VOLUME 0x613
  115. #define WM2200_OUT2LMIX_INPUT_3_SOURCE 0x614
  116. #define WM2200_OUT2LMIX_INPUT_3_VOLUME 0x615
  117. #define WM2200_OUT2LMIX_INPUT_4_SOURCE 0x616
  118. #define WM2200_OUT2LMIX_INPUT_4_VOLUME 0x617
  119. #define WM2200_OUT2RMIX_INPUT_1_SOURCE 0x618
  120. #define WM2200_OUT2RMIX_INPUT_1_VOLUME 0x619
  121. #define WM2200_OUT2RMIX_INPUT_2_SOURCE 0x61A
  122. #define WM2200_OUT2RMIX_INPUT_2_VOLUME 0x61B
  123. #define WM2200_OUT2RMIX_INPUT_3_SOURCE 0x61C
  124. #define WM2200_OUT2RMIX_INPUT_3_VOLUME 0x61D
  125. #define WM2200_OUT2RMIX_INPUT_4_SOURCE 0x61E
  126. #define WM2200_OUT2RMIX_INPUT_4_VOLUME 0x61F
  127. #define WM2200_AIF1TX1MIX_INPUT_1_SOURCE 0x620
  128. #define WM2200_AIF1TX1MIX_INPUT_1_VOLUME 0x621
  129. #define WM2200_AIF1TX1MIX_INPUT_2_SOURCE 0x622
  130. #define WM2200_AIF1TX1MIX_INPUT_2_VOLUME 0x623
  131. #define WM2200_AIF1TX1MIX_INPUT_3_SOURCE 0x624
  132. #define WM2200_AIF1TX1MIX_INPUT_3_VOLUME 0x625
  133. #define WM2200_AIF1TX1MIX_INPUT_4_SOURCE 0x626
  134. #define WM2200_AIF1TX1MIX_INPUT_4_VOLUME 0x627
  135. #define WM2200_AIF1TX2MIX_INPUT_1_SOURCE 0x628
  136. #define WM2200_AIF1TX2MIX_INPUT_1_VOLUME 0x629
  137. #define WM2200_AIF1TX2MIX_INPUT_2_SOURCE 0x62A
  138. #define WM2200_AIF1TX2MIX_INPUT_2_VOLUME 0x62B
  139. #define WM2200_AIF1TX2MIX_INPUT_3_SOURCE 0x62C
  140. #define WM2200_AIF1TX2MIX_INPUT_3_VOLUME 0x62D
  141. #define WM2200_AIF1TX2MIX_INPUT_4_SOURCE 0x62E
  142. #define WM2200_AIF1TX2MIX_INPUT_4_VOLUME 0x62F
  143. #define WM2200_AIF1TX3MIX_INPUT_1_SOURCE 0x630
  144. #define WM2200_AIF1TX3MIX_INPUT_1_VOLUME 0x631
  145. #define WM2200_AIF1TX3MIX_INPUT_2_SOURCE 0x632
  146. #define WM2200_AIF1TX3MIX_INPUT_2_VOLUME 0x633
  147. #define WM2200_AIF1TX3MIX_INPUT_3_SOURCE 0x634
  148. #define WM2200_AIF1TX3MIX_INPUT_3_VOLUME 0x635
  149. #define WM2200_AIF1TX3MIX_INPUT_4_SOURCE 0x636
  150. #define WM2200_AIF1TX3MIX_INPUT_4_VOLUME 0x637
  151. #define WM2200_AIF1TX4MIX_INPUT_1_SOURCE 0x638
  152. #define WM2200_AIF1TX4MIX_INPUT_1_VOLUME 0x639
  153. #define WM2200_AIF1TX4MIX_INPUT_2_SOURCE 0x63A
  154. #define WM2200_AIF1TX4MIX_INPUT_2_VOLUME 0x63B
  155. #define WM2200_AIF1TX4MIX_INPUT_3_SOURCE 0x63C
  156. #define WM2200_AIF1TX4MIX_INPUT_3_VOLUME 0x63D
  157. #define WM2200_AIF1TX4MIX_INPUT_4_SOURCE 0x63E
  158. #define WM2200_AIF1TX4MIX_INPUT_4_VOLUME 0x63F
  159. #define WM2200_AIF1TX5MIX_INPUT_1_SOURCE 0x640
  160. #define WM2200_AIF1TX5MIX_INPUT_1_VOLUME 0x641
  161. #define WM2200_AIF1TX5MIX_INPUT_2_SOURCE 0x642
  162. #define WM2200_AIF1TX5MIX_INPUT_2_VOLUME 0x643
  163. #define WM2200_AIF1TX5MIX_INPUT_3_SOURCE 0x644
  164. #define WM2200_AIF1TX5MIX_INPUT_3_VOLUME 0x645
  165. #define WM2200_AIF1TX5MIX_INPUT_4_SOURCE 0x646
  166. #define WM2200_AIF1TX5MIX_INPUT_4_VOLUME 0x647
  167. #define WM2200_AIF1TX6MIX_INPUT_1_SOURCE 0x648
  168. #define WM2200_AIF1TX6MIX_INPUT_1_VOLUME 0x649
  169. #define WM2200_AIF1TX6MIX_INPUT_2_SOURCE 0x64A
  170. #define WM2200_AIF1TX6MIX_INPUT_2_VOLUME 0x64B
  171. #define WM2200_AIF1TX6MIX_INPUT_3_SOURCE 0x64C
  172. #define WM2200_AIF1TX6MIX_INPUT_3_VOLUME 0x64D
  173. #define WM2200_AIF1TX6MIX_INPUT_4_SOURCE 0x64E
  174. #define WM2200_AIF1TX6MIX_INPUT_4_VOLUME 0x64F
  175. #define WM2200_EQLMIX_INPUT_1_SOURCE 0x650
  176. #define WM2200_EQLMIX_INPUT_1_VOLUME 0x651
  177. #define WM2200_EQLMIX_INPUT_2_SOURCE 0x652
  178. #define WM2200_EQLMIX_INPUT_2_VOLUME 0x653
  179. #define WM2200_EQLMIX_INPUT_3_SOURCE 0x654
  180. #define WM2200_EQLMIX_INPUT_3_VOLUME 0x655
  181. #define WM2200_EQLMIX_INPUT_4_SOURCE 0x656
  182. #define WM2200_EQLMIX_INPUT_4_VOLUME 0x657
  183. #define WM2200_EQRMIX_INPUT_1_SOURCE 0x658
  184. #define WM2200_EQRMIX_INPUT_1_VOLUME 0x659
  185. #define WM2200_EQRMIX_INPUT_2_SOURCE 0x65A
  186. #define WM2200_EQRMIX_INPUT_2_VOLUME 0x65B
  187. #define WM2200_EQRMIX_INPUT_3_SOURCE 0x65C
  188. #define WM2200_EQRMIX_INPUT_3_VOLUME 0x65D
  189. #define WM2200_EQRMIX_INPUT_4_SOURCE 0x65E
  190. #define WM2200_EQRMIX_INPUT_4_VOLUME 0x65F
  191. #define WM2200_LHPF1MIX_INPUT_1_SOURCE 0x660
  192. #define WM2200_LHPF1MIX_INPUT_1_VOLUME 0x661
  193. #define WM2200_LHPF1MIX_INPUT_2_SOURCE 0x662
  194. #define WM2200_LHPF1MIX_INPUT_2_VOLUME 0x663
  195. #define WM2200_LHPF1MIX_INPUT_3_SOURCE 0x664
  196. #define WM2200_LHPF1MIX_INPUT_3_VOLUME 0x665
  197. #define WM2200_LHPF1MIX_INPUT_4_SOURCE 0x666
  198. #define WM2200_LHPF1MIX_INPUT_4_VOLUME 0x667
  199. #define WM2200_LHPF2MIX_INPUT_1_SOURCE 0x668
  200. #define WM2200_LHPF2MIX_INPUT_1_VOLUME 0x669
  201. #define WM2200_LHPF2MIX_INPUT_2_SOURCE 0x66A
  202. #define WM2200_LHPF2MIX_INPUT_2_VOLUME 0x66B
  203. #define WM2200_LHPF2MIX_INPUT_3_SOURCE 0x66C
  204. #define WM2200_LHPF2MIX_INPUT_3_VOLUME 0x66D
  205. #define WM2200_LHPF2MIX_INPUT_4_SOURCE 0x66E
  206. #define WM2200_LHPF2MIX_INPUT_4_VOLUME 0x66F
  207. #define WM2200_DSP1LMIX_INPUT_1_SOURCE 0x670
  208. #define WM2200_DSP1LMIX_INPUT_1_VOLUME 0x671
  209. #define WM2200_DSP1LMIX_INPUT_2_SOURCE 0x672
  210. #define WM2200_DSP1LMIX_INPUT_2_VOLUME 0x673
  211. #define WM2200_DSP1LMIX_INPUT_3_SOURCE 0x674
  212. #define WM2200_DSP1LMIX_INPUT_3_VOLUME 0x675
  213. #define WM2200_DSP1LMIX_INPUT_4_SOURCE 0x676
  214. #define WM2200_DSP1LMIX_INPUT_4_VOLUME 0x677
  215. #define WM2200_DSP1RMIX_INPUT_1_SOURCE 0x678
  216. #define WM2200_DSP1RMIX_INPUT_1_VOLUME 0x679
  217. #define WM2200_DSP1RMIX_INPUT_2_SOURCE 0x67A
  218. #define WM2200_DSP1RMIX_INPUT_2_VOLUME 0x67B
  219. #define WM2200_DSP1RMIX_INPUT_3_SOURCE 0x67C
  220. #define WM2200_DSP1RMIX_INPUT_3_VOLUME 0x67D
  221. #define WM2200_DSP1RMIX_INPUT_4_SOURCE 0x67E
  222. #define WM2200_DSP1RMIX_INPUT_4_VOLUME 0x67F
  223. #define WM2200_DSP1AUX1MIX_INPUT_1_SOURCE 0x680
  224. #define WM2200_DSP1AUX2MIX_INPUT_1_SOURCE 0x681
  225. #define WM2200_DSP1AUX3MIX_INPUT_1_SOURCE 0x682
  226. #define WM2200_DSP1AUX4MIX_INPUT_1_SOURCE 0x683
  227. #define WM2200_DSP1AUX5MIX_INPUT_1_SOURCE 0x684
  228. #define WM2200_DSP1AUX6MIX_INPUT_1_SOURCE 0x685
  229. #define WM2200_DSP2LMIX_INPUT_1_SOURCE 0x686
  230. #define WM2200_DSP2LMIX_INPUT_1_VOLUME 0x687
  231. #define WM2200_DSP2LMIX_INPUT_2_SOURCE 0x688
  232. #define WM2200_DSP2LMIX_INPUT_2_VOLUME 0x689
  233. #define WM2200_DSP2LMIX_INPUT_3_SOURCE 0x68A
  234. #define WM2200_DSP2LMIX_INPUT_3_VOLUME 0x68B
  235. #define WM2200_DSP2LMIX_INPUT_4_SOURCE 0x68C
  236. #define WM2200_DSP2LMIX_INPUT_4_VOLUME 0x68D
  237. #define WM2200_DSP2RMIX_INPUT_1_SOURCE 0x68E
  238. #define WM2200_DSP2RMIX_INPUT_1_VOLUME 0x68F
  239. #define WM2200_DSP2RMIX_INPUT_2_SOURCE 0x690
  240. #define WM2200_DSP2RMIX_INPUT_2_VOLUME 0x691
  241. #define WM2200_DSP2RMIX_INPUT_3_SOURCE 0x692
  242. #define WM2200_DSP2RMIX_INPUT_3_VOLUME 0x693
  243. #define WM2200_DSP2RMIX_INPUT_4_SOURCE 0x694
  244. #define WM2200_DSP2RMIX_INPUT_4_VOLUME 0x695
  245. #define WM2200_DSP2AUX1MIX_INPUT_1_SOURCE 0x696
  246. #define WM2200_DSP2AUX2MIX_INPUT_1_SOURCE 0x697
  247. #define WM2200_DSP2AUX3MIX_INPUT_1_SOURCE 0x698
  248. #define WM2200_DSP2AUX4MIX_INPUT_1_SOURCE 0x699
  249. #define WM2200_DSP2AUX5MIX_INPUT_1_SOURCE 0x69A
  250. #define WM2200_DSP2AUX6MIX_INPUT_1_SOURCE 0x69B
  251. #define WM2200_GPIO_CTRL_1 0x700
  252. #define WM2200_GPIO_CTRL_2 0x701
  253. #define WM2200_GPIO_CTRL_3 0x702
  254. #define WM2200_GPIO_CTRL_4 0x703
  255. #define WM2200_ADPS1_IRQ0 0x707
  256. #define WM2200_ADPS1_IRQ1 0x708
  257. #define WM2200_MISC_PAD_CTRL_1 0x709
  258. #define WM2200_INTERRUPT_STATUS_1 0x800
  259. #define WM2200_INTERRUPT_STATUS_1_MASK 0x801
  260. #define WM2200_INTERRUPT_STATUS_2 0x802
  261. #define WM2200_INTERRUPT_RAW_STATUS_2 0x803
  262. #define WM2200_INTERRUPT_STATUS_2_MASK 0x804
  263. #define WM2200_INTERRUPT_CONTROL 0x808
  264. #define WM2200_EQL_1 0x900
  265. #define WM2200_EQL_2 0x901
  266. #define WM2200_EQL_3 0x902
  267. #define WM2200_EQL_4 0x903
  268. #define WM2200_EQL_5 0x904
  269. #define WM2200_EQL_6 0x905
  270. #define WM2200_EQL_7 0x906
  271. #define WM2200_EQL_8 0x907
  272. #define WM2200_EQL_9 0x908
  273. #define WM2200_EQL_10 0x909
  274. #define WM2200_EQL_11 0x90A
  275. #define WM2200_EQL_12 0x90B
  276. #define WM2200_EQL_13 0x90C
  277. #define WM2200_EQL_14 0x90D
  278. #define WM2200_EQL_15 0x90E
  279. #define WM2200_EQL_16 0x90F
  280. #define WM2200_EQL_17 0x910
  281. #define WM2200_EQL_18 0x911
  282. #define WM2200_EQL_19 0x912
  283. #define WM2200_EQL_20 0x913
  284. #define WM2200_EQR_1 0x916
  285. #define WM2200_EQR_2 0x917
  286. #define WM2200_EQR_3 0x918
  287. #define WM2200_EQR_4 0x919
  288. #define WM2200_EQR_5 0x91A
  289. #define WM2200_EQR_6 0x91B
  290. #define WM2200_EQR_7 0x91C
  291. #define WM2200_EQR_8 0x91D
  292. #define WM2200_EQR_9 0x91E
  293. #define WM2200_EQR_10 0x91F
  294. #define WM2200_EQR_11 0x920
  295. #define WM2200_EQR_12 0x921
  296. #define WM2200_EQR_13 0x922
  297. #define WM2200_EQR_14 0x923
  298. #define WM2200_EQR_15 0x924
  299. #define WM2200_EQR_16 0x925
  300. #define WM2200_EQR_17 0x926
  301. #define WM2200_EQR_18 0x927
  302. #define WM2200_EQR_19 0x928
  303. #define WM2200_EQR_20 0x929
  304. #define WM2200_HPLPF1_1 0x93E
  305. #define WM2200_HPLPF1_2 0x93F
  306. #define WM2200_HPLPF2_1 0x942
  307. #define WM2200_HPLPF2_2 0x943
  308. #define WM2200_DSP1_CONTROL_1 0xA00
  309. #define WM2200_DSP1_CONTROL_2 0xA02
  310. #define WM2200_DSP1_CONTROL_3 0xA03
  311. #define WM2200_DSP1_CONTROL_4 0xA04
  312. #define WM2200_DSP1_CONTROL_5 0xA06
  313. #define WM2200_DSP1_CONTROL_6 0xA07
  314. #define WM2200_DSP1_CONTROL_7 0xA08
  315. #define WM2200_DSP1_CONTROL_8 0xA09
  316. #define WM2200_DSP1_CONTROL_9 0xA0A
  317. #define WM2200_DSP1_CONTROL_10 0xA0B
  318. #define WM2200_DSP1_CONTROL_11 0xA0C
  319. #define WM2200_DSP1_CONTROL_12 0xA0D
  320. #define WM2200_DSP1_CONTROL_13 0xA0F
  321. #define WM2200_DSP1_CONTROL_14 0xA10
  322. #define WM2200_DSP1_CONTROL_15 0xA11
  323. #define WM2200_DSP1_CONTROL_16 0xA12
  324. #define WM2200_DSP1_CONTROL_17 0xA13
  325. #define WM2200_DSP1_CONTROL_18 0xA14
  326. #define WM2200_DSP1_CONTROL_19 0xA16
  327. #define WM2200_DSP1_CONTROL_20 0xA17
  328. #define WM2200_DSP1_CONTROL_21 0xA18
  329. #define WM2200_DSP1_CONTROL_22 0xA1A
  330. #define WM2200_DSP1_CONTROL_23 0xA1B
  331. #define WM2200_DSP1_CONTROL_24 0xA1C
  332. #define WM2200_DSP1_CONTROL_25 0xA1E
  333. #define WM2200_DSP1_CONTROL_26 0xA20
  334. #define WM2200_DSP1_CONTROL_27 0xA21
  335. #define WM2200_DSP1_CONTROL_28 0xA22
  336. #define WM2200_DSP1_CONTROL_29 0xA23
  337. #define WM2200_DSP1_CONTROL_30 0xA24
  338. #define WM2200_DSP1_CONTROL_31 0xA26
  339. #define WM2200_DSP2_CONTROL_1 0xB00
  340. #define WM2200_DSP2_CONTROL_2 0xB02
  341. #define WM2200_DSP2_CONTROL_3 0xB03
  342. #define WM2200_DSP2_CONTROL_4 0xB04
  343. #define WM2200_DSP2_CONTROL_5 0xB06
  344. #define WM2200_DSP2_CONTROL_6 0xB07
  345. #define WM2200_DSP2_CONTROL_7 0xB08
  346. #define WM2200_DSP2_CONTROL_8 0xB09
  347. #define WM2200_DSP2_CONTROL_9 0xB0A
  348. #define WM2200_DSP2_CONTROL_10 0xB0B
  349. #define WM2200_DSP2_CONTROL_11 0xB0C
  350. #define WM2200_DSP2_CONTROL_12 0xB0D
  351. #define WM2200_DSP2_CONTROL_13 0xB0F
  352. #define WM2200_DSP2_CONTROL_14 0xB10
  353. #define WM2200_DSP2_CONTROL_15 0xB11
  354. #define WM2200_DSP2_CONTROL_16 0xB12
  355. #define WM2200_DSP2_CONTROL_17 0xB13
  356. #define WM2200_DSP2_CONTROL_18 0xB14
  357. #define WM2200_DSP2_CONTROL_19 0xB16
  358. #define WM2200_DSP2_CONTROL_20 0xB17
  359. #define WM2200_DSP2_CONTROL_21 0xB18
  360. #define WM2200_DSP2_CONTROL_22 0xB1A
  361. #define WM2200_DSP2_CONTROL_23 0xB1B
  362. #define WM2200_DSP2_CONTROL_24 0xB1C
  363. #define WM2200_DSP2_CONTROL_25 0xB1E
  364. #define WM2200_DSP2_CONTROL_26 0xB20
  365. #define WM2200_DSP2_CONTROL_27 0xB21
  366. #define WM2200_DSP2_CONTROL_28 0xB22
  367. #define WM2200_DSP2_CONTROL_29 0xB23
  368. #define WM2200_DSP2_CONTROL_30 0xB24
  369. #define WM2200_DSP2_CONTROL_31 0xB26
  370. #define WM2200_ANC_CTRL1 0xD00
  371. #define WM2200_ANC_CTRL2 0xD01
  372. #define WM2200_ANC_CTRL3 0xD02
  373. #define WM2200_ANC_CTRL7 0xD08
  374. #define WM2200_ANC_CTRL8 0xD09
  375. #define WM2200_ANC_CTRL9 0xD0A
  376. #define WM2200_ANC_CTRL10 0xD0B
  377. #define WM2200_ANC_CTRL11 0xD0C
  378. #define WM2200_ANC_CTRL12 0xD0D
  379. #define WM2200_ANC_CTRL13 0xD0E
  380. #define WM2200_ANC_CTRL14 0xD0F
  381. #define WM2200_ANC_CTRL15 0xD10
  382. #define WM2200_ANC_CTRL16 0xD11
  383. #define WM2200_ANC_CTRL17 0xD12
  384. #define WM2200_ANC_CTRL18 0xD15
  385. #define WM2200_ANC_CTRL19 0xD16
  386. #define WM2200_ANC_CTRL20 0xD17
  387. #define WM2200_ANC_CTRL21 0xD18
  388. #define WM2200_ANC_CTRL22 0xD19
  389. #define WM2200_ANC_CTRL23 0xD1A
  390. #define WM2200_ANC_CTRL24 0xD1B
  391. #define WM2200_ANC_CTRL25 0xD1C
  392. #define WM2200_ANC_CTRL26 0xD1D
  393. #define WM2200_ANC_CTRL27 0xD1E
  394. #define WM2200_ANC_CTRL28 0xD1F
  395. #define WM2200_ANC_CTRL29 0xD20
  396. #define WM2200_ANC_CTRL30 0xD21
  397. #define WM2200_ANC_CTRL31 0xD23
  398. #define WM2200_ANC_CTRL32 0xD24
  399. #define WM2200_ANC_CTRL33 0xD25
  400. #define WM2200_ANC_CTRL34 0xD27
  401. #define WM2200_ANC_CTRL35 0xD28
  402. #define WM2200_ANC_CTRL36 0xD29
  403. #define WM2200_ANC_CTRL37 0xD2A
  404. #define WM2200_ANC_CTRL38 0xD2B
  405. #define WM2200_ANC_CTRL39 0xD2C
  406. #define WM2200_ANC_CTRL40 0xD2D
  407. #define WM2200_ANC_CTRL41 0xD2E
  408. #define WM2200_ANC_CTRL42 0xD2F
  409. #define WM2200_ANC_CTRL43 0xD30
  410. #define WM2200_ANC_CTRL44 0xD31
  411. #define WM2200_ANC_CTRL45 0xD32
  412. #define WM2200_ANC_CTRL46 0xD33
  413. #define WM2200_ANC_CTRL47 0xD34
  414. #define WM2200_ANC_CTRL48 0xD35
  415. #define WM2200_ANC_CTRL49 0xD36
  416. #define WM2200_ANC_CTRL50 0xD37
  417. #define WM2200_ANC_CTRL51 0xD38
  418. #define WM2200_ANC_CTRL52 0xD39
  419. #define WM2200_ANC_CTRL53 0xD3A
  420. #define WM2200_ANC_CTRL54 0xD3B
  421. #define WM2200_ANC_CTRL55 0xD3C
  422. #define WM2200_ANC_CTRL56 0xD3D
  423. #define WM2200_ANC_CTRL57 0xD3E
  424. #define WM2200_ANC_CTRL58 0xD3F
  425. #define WM2200_ANC_CTRL59 0xD40
  426. #define WM2200_ANC_CTRL60 0xD41
  427. #define WM2200_ANC_CTRL61 0xD42
  428. #define WM2200_ANC_CTRL62 0xD43
  429. #define WM2200_ANC_CTRL63 0xD44
  430. #define WM2200_ANC_CTRL64 0xD45
  431. #define WM2200_ANC_CTRL65 0xD46
  432. #define WM2200_ANC_CTRL66 0xD47
  433. #define WM2200_ANC_CTRL67 0xD48
  434. #define WM2200_ANC_CTRL68 0xD49
  435. #define WM2200_ANC_CTRL69 0xD4A
  436. #define WM2200_ANC_CTRL70 0xD4B
  437. #define WM2200_ANC_CTRL71 0xD4C
  438. #define WM2200_ANC_CTRL72 0xD4D
  439. #define WM2200_ANC_CTRL73 0xD4E
  440. #define WM2200_ANC_CTRL74 0xD4F
  441. #define WM2200_ANC_CTRL75 0xD50
  442. #define WM2200_ANC_CTRL76 0xD51
  443. #define WM2200_ANC_CTRL77 0xD52
  444. #define WM2200_ANC_CTRL78 0xD53
  445. #define WM2200_ANC_CTRL79 0xD54
  446. #define WM2200_ANC_CTRL80 0xD55
  447. #define WM2200_ANC_CTRL81 0xD56
  448. #define WM2200_ANC_CTRL82 0xD57
  449. #define WM2200_ANC_CTRL83 0xD58
  450. #define WM2200_ANC_CTRL84 0xD5B
  451. #define WM2200_ANC_CTRL85 0xD5C
  452. #define WM2200_ANC_CTRL86 0xD5F
  453. #define WM2200_ANC_CTRL87 0xD60
  454. #define WM2200_ANC_CTRL88 0xD61
  455. #define WM2200_ANC_CTRL89 0xD62
  456. #define WM2200_ANC_CTRL90 0xD63
  457. #define WM2200_ANC_CTRL91 0xD64
  458. #define WM2200_ANC_CTRL92 0xD65
  459. #define WM2200_ANC_CTRL93 0xD66
  460. #define WM2200_ANC_CTRL94 0xD67
  461. #define WM2200_ANC_CTRL95 0xD68
  462. #define WM2200_ANC_CTRL96 0xD69
  463. #define WM2200_DSP1_DM_0 0x3000
  464. #define WM2200_DSP1_DM_1 0x3001
  465. #define WM2200_DSP1_DM_2 0x3002
  466. #define WM2200_DSP1_DM_3 0x3003
  467. #define WM2200_DSP1_DM_2044 0x37FC
  468. #define WM2200_DSP1_DM_2045 0x37FD
  469. #define WM2200_DSP1_DM_2046 0x37FE
  470. #define WM2200_DSP1_DM_2047 0x37FF
  471. #define WM2200_DSP1_PM_0 0x3800
  472. #define WM2200_DSP1_PM_1 0x3801
  473. #define WM2200_DSP1_PM_2 0x3802
  474. #define WM2200_DSP1_PM_3 0x3803
  475. #define WM2200_DSP1_PM_4 0x3804
  476. #define WM2200_DSP1_PM_5 0x3805
  477. #define WM2200_DSP1_PM_762 0x3AFA
  478. #define WM2200_DSP1_PM_763 0x3AFB
  479. #define WM2200_DSP1_PM_764 0x3AFC
  480. #define WM2200_DSP1_PM_765 0x3AFD
  481. #define WM2200_DSP1_PM_766 0x3AFE
  482. #define WM2200_DSP1_PM_767 0x3AFF
  483. #define WM2200_DSP1_ZM_0 0x3C00
  484. #define WM2200_DSP1_ZM_1 0x3C01
  485. #define WM2200_DSP1_ZM_2 0x3C02
  486. #define WM2200_DSP1_ZM_3 0x3C03
  487. #define WM2200_DSP1_ZM_1020 0x3FFC
  488. #define WM2200_DSP1_ZM_1021 0x3FFD
  489. #define WM2200_DSP1_ZM_1022 0x3FFE
  490. #define WM2200_DSP1_ZM_1023 0x3FFF
  491. #define WM2200_DSP2_DM_0 0x4000
  492. #define WM2200_DSP2_DM_1 0x4001
  493. #define WM2200_DSP2_DM_2 0x4002
  494. #define WM2200_DSP2_DM_3 0x4003
  495. #define WM2200_DSP2_DM_2044 0x47FC
  496. #define WM2200_DSP2_DM_2045 0x47FD
  497. #define WM2200_DSP2_DM_2046 0x47FE
  498. #define WM2200_DSP2_DM_2047 0x47FF
  499. #define WM2200_DSP2_PM_0 0x4800
  500. #define WM2200_DSP2_PM_1 0x4801
  501. #define WM2200_DSP2_PM_2 0x4802
  502. #define WM2200_DSP2_PM_3 0x4803
  503. #define WM2200_DSP2_PM_4 0x4804
  504. #define WM2200_DSP2_PM_5 0x4805
  505. #define WM2200_DSP2_PM_762 0x4AFA
  506. #define WM2200_DSP2_PM_763 0x4AFB
  507. #define WM2200_DSP2_PM_764 0x4AFC
  508. #define WM2200_DSP2_PM_765 0x4AFD
  509. #define WM2200_DSP2_PM_766 0x4AFE
  510. #define WM2200_DSP2_PM_767 0x4AFF
  511. #define WM2200_DSP2_ZM_0 0x4C00
  512. #define WM2200_DSP2_ZM_1 0x4C01
  513. #define WM2200_DSP2_ZM_2 0x4C02
  514. #define WM2200_DSP2_ZM_3 0x4C03
  515. #define WM2200_DSP2_ZM_1020 0x4FFC
  516. #define WM2200_DSP2_ZM_1021 0x4FFD
  517. #define WM2200_DSP2_ZM_1022 0x4FFE
  518. #define WM2200_DSP2_ZM_1023 0x4FFF
  519. #define WM2200_REGISTER_COUNT 494
  520. #define WM2200_MAX_REGISTER 0x4FFF
  521. /*
  522. * Field Definitions.
  523. */
  524. /*
  525. * R0 (0x00) - software reset
  526. */
  527. #define WM2200_SW_RESET_CHIP_ID1_MASK 0xFFFF /* SW_RESET_CHIP_ID1 - [15:0] */
  528. #define WM2200_SW_RESET_CHIP_ID1_SHIFT 0 /* SW_RESET_CHIP_ID1 - [15:0] */
  529. #define WM2200_SW_RESET_CHIP_ID1_WIDTH 16 /* SW_RESET_CHIP_ID1 - [15:0] */
  530. /*
  531. * R1 (0x01) - Device Revision
  532. */
  533. #define WM2200_DEVICE_REVISION_MASK 0x000F /* DEVICE_REVISION - [3:0] */
  534. #define WM2200_DEVICE_REVISION_SHIFT 0 /* DEVICE_REVISION - [3:0] */
  535. #define WM2200_DEVICE_REVISION_WIDTH 4 /* DEVICE_REVISION - [3:0] */
  536. /*
  537. * R11 (0x0B) - Tone Generator 1
  538. */
  539. #define WM2200_TONE_ENA 0x0001 /* TONE_ENA */
  540. #define WM2200_TONE_ENA_MASK 0x0001 /* TONE_ENA */
  541. #define WM2200_TONE_ENA_SHIFT 0 /* TONE_ENA */
  542. #define WM2200_TONE_ENA_WIDTH 1 /* TONE_ENA */
  543. /*
  544. * R258 (0x102) - Clocking 3
  545. */
  546. #define WM2200_SYSCLK_FREQ_MASK 0x0700 /* SYSCLK_FREQ - [10:8] */
  547. #define WM2200_SYSCLK_FREQ_SHIFT 8 /* SYSCLK_FREQ - [10:8] */
  548. #define WM2200_SYSCLK_FREQ_WIDTH 3 /* SYSCLK_FREQ - [10:8] */
  549. #define WM2200_SYSCLK_ENA 0x0040 /* SYSCLK_ENA */
  550. #define WM2200_SYSCLK_ENA_MASK 0x0040 /* SYSCLK_ENA */
  551. #define WM2200_SYSCLK_ENA_SHIFT 6 /* SYSCLK_ENA */
  552. #define WM2200_SYSCLK_ENA_WIDTH 1 /* SYSCLK_ENA */
  553. #define WM2200_SYSCLK_SRC_MASK 0x000F /* SYSCLK_SRC - [3:0] */
  554. #define WM2200_SYSCLK_SRC_SHIFT 0 /* SYSCLK_SRC - [3:0] */
  555. #define WM2200_SYSCLK_SRC_WIDTH 4 /* SYSCLK_SRC - [3:0] */
  556. /*
  557. * R259 (0x103) - Clocking 4
  558. */
  559. #define WM2200_SAMPLE_RATE_1_MASK 0x001F /* SAMPLE_RATE_1 - [4:0] */
  560. #define WM2200_SAMPLE_RATE_1_SHIFT 0 /* SAMPLE_RATE_1 - [4:0] */
  561. #define WM2200_SAMPLE_RATE_1_WIDTH 5 /* SAMPLE_RATE_1 - [4:0] */
  562. /*
  563. * R273 (0x111) - FLL Control 1
  564. */
  565. #define WM2200_FLL_ENA 0x0001 /* FLL_ENA */
  566. #define WM2200_FLL_ENA_MASK 0x0001 /* FLL_ENA */
  567. #define WM2200_FLL_ENA_SHIFT 0 /* FLL_ENA */
  568. #define WM2200_FLL_ENA_WIDTH 1 /* FLL_ENA */
  569. /*
  570. * R274 (0x112) - FLL Control 2
  571. */
  572. #define WM2200_FLL_OUTDIV_MASK 0x3F00 /* FLL_OUTDIV - [13:8] */
  573. #define WM2200_FLL_OUTDIV_SHIFT 8 /* FLL_OUTDIV - [13:8] */
  574. #define WM2200_FLL_OUTDIV_WIDTH 6 /* FLL_OUTDIV - [13:8] */
  575. #define WM2200_FLL_FRATIO_MASK 0x0007 /* FLL_FRATIO - [2:0] */
  576. #define WM2200_FLL_FRATIO_SHIFT 0 /* FLL_FRATIO - [2:0] */
  577. #define WM2200_FLL_FRATIO_WIDTH 3 /* FLL_FRATIO - [2:0] */
  578. /*
  579. * R275 (0x113) - FLL Control 3
  580. */
  581. #define WM2200_FLL_FRACN_ENA 0x0001 /* FLL_FRACN_ENA */
  582. #define WM2200_FLL_FRACN_ENA_MASK 0x0001 /* FLL_FRACN_ENA */
  583. #define WM2200_FLL_FRACN_ENA_SHIFT 0 /* FLL_FRACN_ENA */
  584. #define WM2200_FLL_FRACN_ENA_WIDTH 1 /* FLL_FRACN_ENA */
  585. /*
  586. * R276 (0x114) - FLL Control 4
  587. */
  588. #define WM2200_FLL_THETA_MASK 0xFFFF /* FLL_THETA - [15:0] */
  589. #define WM2200_FLL_THETA_SHIFT 0 /* FLL_THETA - [15:0] */
  590. #define WM2200_FLL_THETA_WIDTH 16 /* FLL_THETA - [15:0] */
  591. /*
  592. * R278 (0x116) - FLL Control 6
  593. */
  594. #define WM2200_FLL_N_MASK 0x03FF /* FLL_N - [9:0] */
  595. #define WM2200_FLL_N_SHIFT 0 /* FLL_N - [9:0] */
  596. #define WM2200_FLL_N_WIDTH 10 /* FLL_N - [9:0] */
  597. /*
  598. * R279 (0x117) - FLL Control 7
  599. */
  600. #define WM2200_FLL_CLK_REF_DIV_MASK 0x0030 /* FLL_CLK_REF_DIV - [5:4] */
  601. #define WM2200_FLL_CLK_REF_DIV_SHIFT 4 /* FLL_CLK_REF_DIV - [5:4] */
  602. #define WM2200_FLL_CLK_REF_DIV_WIDTH 2 /* FLL_CLK_REF_DIV - [5:4] */
  603. #define WM2200_FLL_CLK_REF_SRC_MASK 0x0003 /* FLL_CLK_REF_SRC - [1:0] */
  604. #define WM2200_FLL_CLK_REF_SRC_SHIFT 0 /* FLL_CLK_REF_SRC - [1:0] */
  605. #define WM2200_FLL_CLK_REF_SRC_WIDTH 2 /* FLL_CLK_REF_SRC - [1:0] */
  606. /*
  607. * R281 (0x119) - FLL EFS 1
  608. */
  609. #define WM2200_FLL_LAMBDA_MASK 0xFFFF /* FLL_LAMBDA - [15:0] */
  610. #define WM2200_FLL_LAMBDA_SHIFT 0 /* FLL_LAMBDA - [15:0] */
  611. #define WM2200_FLL_LAMBDA_WIDTH 16 /* FLL_LAMBDA - [15:0] */
  612. /*
  613. * R282 (0x11A) - FLL EFS 2
  614. */
  615. #define WM2200_FLL_EFS_ENA 0x0001 /* FLL_EFS_ENA */
  616. #define WM2200_FLL_EFS_ENA_MASK 0x0001 /* FLL_EFS_ENA */
  617. #define WM2200_FLL_EFS_ENA_SHIFT 0 /* FLL_EFS_ENA */
  618. #define WM2200_FLL_EFS_ENA_WIDTH 1 /* FLL_EFS_ENA */
  619. /*
  620. * R512 (0x200) - Mic Charge Pump 1
  621. */
  622. #define WM2200_CPMIC_BYPASS_MODE 0x0020 /* CPMIC_BYPASS_MODE */
  623. #define WM2200_CPMIC_BYPASS_MODE_MASK 0x0020 /* CPMIC_BYPASS_MODE */
  624. #define WM2200_CPMIC_BYPASS_MODE_SHIFT 5 /* CPMIC_BYPASS_MODE */
  625. #define WM2200_CPMIC_BYPASS_MODE_WIDTH 1 /* CPMIC_BYPASS_MODE */
  626. #define WM2200_CPMIC_ENA 0x0001 /* CPMIC_ENA */
  627. #define WM2200_CPMIC_ENA_MASK 0x0001 /* CPMIC_ENA */
  628. #define WM2200_CPMIC_ENA_SHIFT 0 /* CPMIC_ENA */
  629. #define WM2200_CPMIC_ENA_WIDTH 1 /* CPMIC_ENA */
  630. /*
  631. * R513 (0x201) - Mic Charge Pump 2
  632. */
  633. #define WM2200_CPMIC_LDO_VSEL_OVERRIDE_MASK 0xF800 /* CPMIC_LDO_VSEL_OVERRIDE - [15:11] */
  634. #define WM2200_CPMIC_LDO_VSEL_OVERRIDE_SHIFT 11 /* CPMIC_LDO_VSEL_OVERRIDE - [15:11] */
  635. #define WM2200_CPMIC_LDO_VSEL_OVERRIDE_WIDTH 5 /* CPMIC_LDO_VSEL_OVERRIDE - [15:11] */
  636. /*
  637. * R514 (0x202) - DM Charge Pump 1
  638. */
  639. #define WM2200_CPDM_ENA 0x0001 /* CPDM_ENA */
  640. #define WM2200_CPDM_ENA_MASK 0x0001 /* CPDM_ENA */
  641. #define WM2200_CPDM_ENA_SHIFT 0 /* CPDM_ENA */
  642. #define WM2200_CPDM_ENA_WIDTH 1 /* CPDM_ENA */
  643. /*
  644. * R524 (0x20C) - Mic Bias Ctrl 1
  645. */
  646. #define WM2200_MICB1_DISCH 0x0040 /* MICB1_DISCH */
  647. #define WM2200_MICB1_DISCH_MASK 0x0040 /* MICB1_DISCH */
  648. #define WM2200_MICB1_DISCH_SHIFT 6 /* MICB1_DISCH */
  649. #define WM2200_MICB1_DISCH_WIDTH 1 /* MICB1_DISCH */
  650. #define WM2200_MICB1_RATE 0x0020 /* MICB1_RATE */
  651. #define WM2200_MICB1_RATE_MASK 0x0020 /* MICB1_RATE */
  652. #define WM2200_MICB1_RATE_SHIFT 5 /* MICB1_RATE */
  653. #define WM2200_MICB1_RATE_WIDTH 1 /* MICB1_RATE */
  654. #define WM2200_MICB1_LVL_MASK 0x001C /* MICB1_LVL - [4:2] */
  655. #define WM2200_MICB1_LVL_SHIFT 2 /* MICB1_LVL - [4:2] */
  656. #define WM2200_MICB1_LVL_WIDTH 3 /* MICB1_LVL - [4:2] */
  657. #define WM2200_MICB1_MODE 0x0002 /* MICB1_MODE */
  658. #define WM2200_MICB1_MODE_MASK 0x0002 /* MICB1_MODE */
  659. #define WM2200_MICB1_MODE_SHIFT 1 /* MICB1_MODE */
  660. #define WM2200_MICB1_MODE_WIDTH 1 /* MICB1_MODE */
  661. #define WM2200_MICB1_ENA 0x0001 /* MICB1_ENA */
  662. #define WM2200_MICB1_ENA_MASK 0x0001 /* MICB1_ENA */
  663. #define WM2200_MICB1_ENA_SHIFT 0 /* MICB1_ENA */
  664. #define WM2200_MICB1_ENA_WIDTH 1 /* MICB1_ENA */
  665. /*
  666. * R525 (0x20D) - Mic Bias Ctrl 2
  667. */
  668. #define WM2200_MICB2_DISCH 0x0040 /* MICB2_DISCH */
  669. #define WM2200_MICB2_DISCH_MASK 0x0040 /* MICB2_DISCH */
  670. #define WM2200_MICB2_DISCH_SHIFT 6 /* MICB2_DISCH */
  671. #define WM2200_MICB2_DISCH_WIDTH 1 /* MICB2_DISCH */
  672. #define WM2200_MICB2_RATE 0x0020 /* MICB2_RATE */
  673. #define WM2200_MICB2_RATE_MASK 0x0020 /* MICB2_RATE */
  674. #define WM2200_MICB2_RATE_SHIFT 5 /* MICB2_RATE */
  675. #define WM2200_MICB2_RATE_WIDTH 1 /* MICB2_RATE */
  676. #define WM2200_MICB2_LVL_MASK 0x001C /* MICB2_LVL - [4:2] */
  677. #define WM2200_MICB2_LVL_SHIFT 2 /* MICB2_LVL - [4:2] */
  678. #define WM2200_MICB2_LVL_WIDTH 3 /* MICB2_LVL - [4:2] */
  679. #define WM2200_MICB2_MODE 0x0002 /* MICB2_MODE */
  680. #define WM2200_MICB2_MODE_MASK 0x0002 /* MICB2_MODE */
  681. #define WM2200_MICB2_MODE_SHIFT 1 /* MICB2_MODE */
  682. #define WM2200_MICB2_MODE_WIDTH 1 /* MICB2_MODE */
  683. #define WM2200_MICB2_ENA 0x0001 /* MICB2_ENA */
  684. #define WM2200_MICB2_ENA_MASK 0x0001 /* MICB2_ENA */
  685. #define WM2200_MICB2_ENA_SHIFT 0 /* MICB2_ENA */
  686. #define WM2200_MICB2_ENA_WIDTH 1 /* MICB2_ENA */
  687. /*
  688. * R527 (0x20F) - Ear Piece Ctrl 1
  689. */
  690. #define WM2200_EPD_LP_ENA 0x4000 /* EPD_LP_ENA */
  691. #define WM2200_EPD_LP_ENA_MASK 0x4000 /* EPD_LP_ENA */
  692. #define WM2200_EPD_LP_ENA_SHIFT 14 /* EPD_LP_ENA */
  693. #define WM2200_EPD_LP_ENA_WIDTH 1 /* EPD_LP_ENA */
  694. #define WM2200_EPD_OUTP_LP_ENA 0x2000 /* EPD_OUTP_LP_ENA */
  695. #define WM2200_EPD_OUTP_LP_ENA_MASK 0x2000 /* EPD_OUTP_LP_ENA */
  696. #define WM2200_EPD_OUTP_LP_ENA_SHIFT 13 /* EPD_OUTP_LP_ENA */
  697. #define WM2200_EPD_OUTP_LP_ENA_WIDTH 1 /* EPD_OUTP_LP_ENA */
  698. #define WM2200_EPD_RMV_SHRT_LP 0x1000 /* EPD_RMV_SHRT_LP */
  699. #define WM2200_EPD_RMV_SHRT_LP_MASK 0x1000 /* EPD_RMV_SHRT_LP */
  700. #define WM2200_EPD_RMV_SHRT_LP_SHIFT 12 /* EPD_RMV_SHRT_LP */
  701. #define WM2200_EPD_RMV_SHRT_LP_WIDTH 1 /* EPD_RMV_SHRT_LP */
  702. #define WM2200_EPD_LN_ENA 0x0800 /* EPD_LN_ENA */
  703. #define WM2200_EPD_LN_ENA_MASK 0x0800 /* EPD_LN_ENA */
  704. #define WM2200_EPD_LN_ENA_SHIFT 11 /* EPD_LN_ENA */
  705. #define WM2200_EPD_LN_ENA_WIDTH 1 /* EPD_LN_ENA */
  706. #define WM2200_EPD_OUTP_LN_ENA 0x0400 /* EPD_OUTP_LN_ENA */
  707. #define WM2200_EPD_OUTP_LN_ENA_MASK 0x0400 /* EPD_OUTP_LN_ENA */
  708. #define WM2200_EPD_OUTP_LN_ENA_SHIFT 10 /* EPD_OUTP_LN_ENA */
  709. #define WM2200_EPD_OUTP_LN_ENA_WIDTH 1 /* EPD_OUTP_LN_ENA */
  710. #define WM2200_EPD_RMV_SHRT_LN 0x0200 /* EPD_RMV_SHRT_LN */
  711. #define WM2200_EPD_RMV_SHRT_LN_MASK 0x0200 /* EPD_RMV_SHRT_LN */
  712. #define WM2200_EPD_RMV_SHRT_LN_SHIFT 9 /* EPD_RMV_SHRT_LN */
  713. #define WM2200_EPD_RMV_SHRT_LN_WIDTH 1 /* EPD_RMV_SHRT_LN */
  714. /*
  715. * R528 (0x210) - Ear Piece Ctrl 2
  716. */
  717. #define WM2200_EPD_RP_ENA 0x4000 /* EPD_RP_ENA */
  718. #define WM2200_EPD_RP_ENA_MASK 0x4000 /* EPD_RP_ENA */
  719. #define WM2200_EPD_RP_ENA_SHIFT 14 /* EPD_RP_ENA */
  720. #define WM2200_EPD_RP_ENA_WIDTH 1 /* EPD_RP_ENA */
  721. #define WM2200_EPD_OUTP_RP_ENA 0x2000 /* EPD_OUTP_RP_ENA */
  722. #define WM2200_EPD_OUTP_RP_ENA_MASK 0x2000 /* EPD_OUTP_RP_ENA */
  723. #define WM2200_EPD_OUTP_RP_ENA_SHIFT 13 /* EPD_OUTP_RP_ENA */
  724. #define WM2200_EPD_OUTP_RP_ENA_WIDTH 1 /* EPD_OUTP_RP_ENA */
  725. #define WM2200_EPD_RMV_SHRT_RP 0x1000 /* EPD_RMV_SHRT_RP */
  726. #define WM2200_EPD_RMV_SHRT_RP_MASK 0x1000 /* EPD_RMV_SHRT_RP */
  727. #define WM2200_EPD_RMV_SHRT_RP_SHIFT 12 /* EPD_RMV_SHRT_RP */
  728. #define WM2200_EPD_RMV_SHRT_RP_WIDTH 1 /* EPD_RMV_SHRT_RP */
  729. #define WM2200_EPD_RN_ENA 0x0800 /* EPD_RN_ENA */
  730. #define WM2200_EPD_RN_ENA_MASK 0x0800 /* EPD_RN_ENA */
  731. #define WM2200_EPD_RN_ENA_SHIFT 11 /* EPD_RN_ENA */
  732. #define WM2200_EPD_RN_ENA_WIDTH 1 /* EPD_RN_ENA */
  733. #define WM2200_EPD_OUTP_RN_ENA 0x0400 /* EPD_OUTP_RN_ENA */
  734. #define WM2200_EPD_OUTP_RN_ENA_MASK 0x0400 /* EPD_OUTP_RN_ENA */
  735. #define WM2200_EPD_OUTP_RN_ENA_SHIFT 10 /* EPD_OUTP_RN_ENA */
  736. #define WM2200_EPD_OUTP_RN_ENA_WIDTH 1 /* EPD_OUTP_RN_ENA */
  737. #define WM2200_EPD_RMV_SHRT_RN 0x0200 /* EPD_RMV_SHRT_RN */
  738. #define WM2200_EPD_RMV_SHRT_RN_MASK 0x0200 /* EPD_RMV_SHRT_RN */
  739. #define WM2200_EPD_RMV_SHRT_RN_SHIFT 9 /* EPD_RMV_SHRT_RN */
  740. #define WM2200_EPD_RMV_SHRT_RN_WIDTH 1 /* EPD_RMV_SHRT_RN */
  741. /*
  742. * R769 (0x301) - Input Enables
  743. */
  744. #define WM2200_IN3L_ENA 0x0020 /* IN3L_ENA */
  745. #define WM2200_IN3L_ENA_MASK 0x0020 /* IN3L_ENA */
  746. #define WM2200_IN3L_ENA_SHIFT 5 /* IN3L_ENA */
  747. #define WM2200_IN3L_ENA_WIDTH 1 /* IN3L_ENA */
  748. #define WM2200_IN3R_ENA 0x0010 /* IN3R_ENA */
  749. #define WM2200_IN3R_ENA_MASK 0x0010 /* IN3R_ENA */
  750. #define WM2200_IN3R_ENA_SHIFT 4 /* IN3R_ENA */
  751. #define WM2200_IN3R_ENA_WIDTH 1 /* IN3R_ENA */
  752. #define WM2200_IN2L_ENA 0x0008 /* IN2L_ENA */
  753. #define WM2200_IN2L_ENA_MASK 0x0008 /* IN2L_ENA */
  754. #define WM2200_IN2L_ENA_SHIFT 3 /* IN2L_ENA */
  755. #define WM2200_IN2L_ENA_WIDTH 1 /* IN2L_ENA */
  756. #define WM2200_IN2R_ENA 0x0004 /* IN2R_ENA */
  757. #define WM2200_IN2R_ENA_MASK 0x0004 /* IN2R_ENA */
  758. #define WM2200_IN2R_ENA_SHIFT 2 /* IN2R_ENA */
  759. #define WM2200_IN2R_ENA_WIDTH 1 /* IN2R_ENA */
  760. #define WM2200_IN1L_ENA 0x0002 /* IN1L_ENA */
  761. #define WM2200_IN1L_ENA_MASK 0x0002 /* IN1L_ENA */
  762. #define WM2200_IN1L_ENA_SHIFT 1 /* IN1L_ENA */
  763. #define WM2200_IN1L_ENA_WIDTH 1 /* IN1L_ENA */
  764. #define WM2200_IN1R_ENA 0x0001 /* IN1R_ENA */
  765. #define WM2200_IN1R_ENA_MASK 0x0001 /* IN1R_ENA */
  766. #define WM2200_IN1R_ENA_SHIFT 0 /* IN1R_ENA */
  767. #define WM2200_IN1R_ENA_WIDTH 1 /* IN1R_ENA */
  768. /*
  769. * R770 (0x302) - IN1L Control
  770. */
  771. #define WM2200_IN1_OSR 0x2000 /* IN1_OSR */
  772. #define WM2200_IN1_OSR_MASK 0x2000 /* IN1_OSR */
  773. #define WM2200_IN1_OSR_SHIFT 13 /* IN1_OSR */
  774. #define WM2200_IN1_OSR_WIDTH 1 /* IN1_OSR */
  775. #define WM2200_IN1_DMIC_SUP_MASK 0x1800 /* IN1_DMIC_SUP - [12:11] */
  776. #define WM2200_IN1_DMIC_SUP_SHIFT 11 /* IN1_DMIC_SUP - [12:11] */
  777. #define WM2200_IN1_DMIC_SUP_WIDTH 2 /* IN1_DMIC_SUP - [12:11] */
  778. #define WM2200_IN1_MODE_MASK 0x0600 /* IN1_MODE - [10:9] */
  779. #define WM2200_IN1_MODE_SHIFT 9 /* IN1_MODE - [10:9] */
  780. #define WM2200_IN1_MODE_WIDTH 2 /* IN1_MODE - [10:9] */
  781. #define WM2200_IN1L_PGA_VOL_MASK 0x00FE /* IN1L_PGA_VOL - [7:1] */
  782. #define WM2200_IN1L_PGA_VOL_SHIFT 1 /* IN1L_PGA_VOL - [7:1] */
  783. #define WM2200_IN1L_PGA_VOL_WIDTH 7 /* IN1L_PGA_VOL - [7:1] */
  784. /*
  785. * R771 (0x303) - IN1R Control
  786. */
  787. #define WM2200_IN1R_PGA_VOL_MASK 0x00FE /* IN1R_PGA_VOL - [7:1] */
  788. #define WM2200_IN1R_PGA_VOL_SHIFT 1 /* IN1R_PGA_VOL - [7:1] */
  789. #define WM2200_IN1R_PGA_VOL_WIDTH 7 /* IN1R_PGA_VOL - [7:1] */
  790. /*
  791. * R772 (0x304) - IN2L Control
  792. */
  793. #define WM2200_IN2_OSR 0x2000 /* IN2_OSR */
  794. #define WM2200_IN2_OSR_MASK 0x2000 /* IN2_OSR */
  795. #define WM2200_IN2_OSR_SHIFT 13 /* IN2_OSR */
  796. #define WM2200_IN2_OSR_WIDTH 1 /* IN2_OSR */
  797. #define WM2200_IN2_DMIC_SUP_MASK 0x1800 /* IN2_DMIC_SUP - [12:11] */
  798. #define WM2200_IN2_DMIC_SUP_SHIFT 11 /* IN2_DMIC_SUP - [12:11] */
  799. #define WM2200_IN2_DMIC_SUP_WIDTH 2 /* IN2_DMIC_SUP - [12:11] */
  800. #define WM2200_IN2_MODE_MASK 0x0600 /* IN2_MODE - [10:9] */
  801. #define WM2200_IN2_MODE_SHIFT 9 /* IN2_MODE - [10:9] */
  802. #define WM2200_IN2_MODE_WIDTH 2 /* IN2_MODE - [10:9] */
  803. #define WM2200_IN2L_PGA_VOL_MASK 0x00FE /* IN2L_PGA_VOL - [7:1] */
  804. #define WM2200_IN2L_PGA_VOL_SHIFT 1 /* IN2L_PGA_VOL - [7:1] */
  805. #define WM2200_IN2L_PGA_VOL_WIDTH 7 /* IN2L_PGA_VOL - [7:1] */
  806. /*
  807. * R773 (0x305) - IN2R Control
  808. */
  809. #define WM2200_IN2R_PGA_VOL_MASK 0x00FE /* IN2R_PGA_VOL - [7:1] */
  810. #define WM2200_IN2R_PGA_VOL_SHIFT 1 /* IN2R_PGA_VOL - [7:1] */
  811. #define WM2200_IN2R_PGA_VOL_WIDTH 7 /* IN2R_PGA_VOL - [7:1] */
  812. /*
  813. * R774 (0x306) - IN3L Control
  814. */
  815. #define WM2200_IN3_OSR 0x2000 /* IN3_OSR */
  816. #define WM2200_IN3_OSR_MASK 0x2000 /* IN3_OSR */
  817. #define WM2200_IN3_OSR_SHIFT 13 /* IN3_OSR */
  818. #define WM2200_IN3_OSR_WIDTH 1 /* IN3_OSR */
  819. #define WM2200_IN3_DMIC_SUP_MASK 0x1800 /* IN3_DMIC_SUP - [12:11] */
  820. #define WM2200_IN3_DMIC_SUP_SHIFT 11 /* IN3_DMIC_SUP - [12:11] */
  821. #define WM2200_IN3_DMIC_SUP_WIDTH 2 /* IN3_DMIC_SUP - [12:11] */
  822. #define WM2200_IN3_MODE_MASK 0x0600 /* IN3_MODE - [10:9] */
  823. #define WM2200_IN3_MODE_SHIFT 9 /* IN3_MODE - [10:9] */
  824. #define WM2200_IN3_MODE_WIDTH 2 /* IN3_MODE - [10:9] */
  825. #define WM2200_IN3L_PGA_VOL_MASK 0x00FE /* IN3L_PGA_VOL - [7:1] */
  826. #define WM2200_IN3L_PGA_VOL_SHIFT 1 /* IN3L_PGA_VOL - [7:1] */
  827. #define WM2200_IN3L_PGA_VOL_WIDTH 7 /* IN3L_PGA_VOL - [7:1] */
  828. /*
  829. * R775 (0x307) - IN3R Control
  830. */
  831. #define WM2200_IN3R_PGA_VOL_MASK 0x00FE /* IN3R_PGA_VOL - [7:1] */
  832. #define WM2200_IN3R_PGA_VOL_SHIFT 1 /* IN3R_PGA_VOL - [7:1] */
  833. #define WM2200_IN3R_PGA_VOL_WIDTH 7 /* IN3R_PGA_VOL - [7:1] */
  834. /*
  835. * R778 (0x30A) - RXANC_SRC
  836. */
  837. #define WM2200_IN_RXANC_SEL_MASK 0x0007 /* IN_RXANC_SEL - [2:0] */
  838. #define WM2200_IN_RXANC_SEL_SHIFT 0 /* IN_RXANC_SEL - [2:0] */
  839. #define WM2200_IN_RXANC_SEL_WIDTH 3 /* IN_RXANC_SEL - [2:0] */
  840. /*
  841. * R779 (0x30B) - Input Volume Ramp
  842. */
  843. #define WM2200_IN_VD_RAMP_MASK 0x0070 /* IN_VD_RAMP - [6:4] */
  844. #define WM2200_IN_VD_RAMP_SHIFT 4 /* IN_VD_RAMP - [6:4] */
  845. #define WM2200_IN_VD_RAMP_WIDTH 3 /* IN_VD_RAMP - [6:4] */
  846. #define WM2200_IN_VI_RAMP_MASK 0x0007 /* IN_VI_RAMP - [2:0] */
  847. #define WM2200_IN_VI_RAMP_SHIFT 0 /* IN_VI_RAMP - [2:0] */
  848. #define WM2200_IN_VI_RAMP_WIDTH 3 /* IN_VI_RAMP - [2:0] */
  849. /*
  850. * R780 (0x30C) - ADC Digital Volume 1L
  851. */
  852. #define WM2200_IN_VU 0x0200 /* IN_VU */
  853. #define WM2200_IN_VU_MASK 0x0200 /* IN_VU */
  854. #define WM2200_IN_VU_SHIFT 9 /* IN_VU */
  855. #define WM2200_IN_VU_WIDTH 1 /* IN_VU */
  856. #define WM2200_IN1L_MUTE 0x0100 /* IN1L_MUTE */
  857. #define WM2200_IN1L_MUTE_MASK 0x0100 /* IN1L_MUTE */
  858. #define WM2200_IN1L_MUTE_SHIFT 8 /* IN1L_MUTE */
  859. #define WM2200_IN1L_MUTE_WIDTH 1 /* IN1L_MUTE */
  860. #define WM2200_IN1L_DIG_VOL_MASK 0x00FF /* IN1L_DIG_VOL - [7:0] */
  861. #define WM2200_IN1L_DIG_VOL_SHIFT 0 /* IN1L_DIG_VOL - [7:0] */
  862. #define WM2200_IN1L_DIG_VOL_WIDTH 8 /* IN1L_DIG_VOL - [7:0] */
  863. /*
  864. * R781 (0x30D) - ADC Digital Volume 1R
  865. */
  866. #define WM2200_IN_VU 0x0200 /* IN_VU */
  867. #define WM2200_IN_VU_MASK 0x0200 /* IN_VU */
  868. #define WM2200_IN_VU_SHIFT 9 /* IN_VU */
  869. #define WM2200_IN_VU_WIDTH 1 /* IN_VU */
  870. #define WM2200_IN1R_MUTE 0x0100 /* IN1R_MUTE */
  871. #define WM2200_IN1R_MUTE_MASK 0x0100 /* IN1R_MUTE */
  872. #define WM2200_IN1R_MUTE_SHIFT 8 /* IN1R_MUTE */
  873. #define WM2200_IN1R_MUTE_WIDTH 1 /* IN1R_MUTE */
  874. #define WM2200_IN1R_DIG_VOL_MASK 0x00FF /* IN1R_DIG_VOL - [7:0] */
  875. #define WM2200_IN1R_DIG_VOL_SHIFT 0 /* IN1R_DIG_VOL - [7:0] */
  876. #define WM2200_IN1R_DIG_VOL_WIDTH 8 /* IN1R_DIG_VOL - [7:0] */
  877. /*
  878. * R782 (0x30E) - ADC Digital Volume 2L
  879. */
  880. #define WM2200_IN_VU 0x0200 /* IN_VU */
  881. #define WM2200_IN_VU_MASK 0x0200 /* IN_VU */
  882. #define WM2200_IN_VU_SHIFT 9 /* IN_VU */
  883. #define WM2200_IN_VU_WIDTH 1 /* IN_VU */
  884. #define WM2200_IN2L_MUTE 0x0100 /* IN2L_MUTE */
  885. #define WM2200_IN2L_MUTE_MASK 0x0100 /* IN2L_MUTE */
  886. #define WM2200_IN2L_MUTE_SHIFT 8 /* IN2L_MUTE */
  887. #define WM2200_IN2L_MUTE_WIDTH 1 /* IN2L_MUTE */
  888. #define WM2200_IN2L_DIG_VOL_MASK 0x00FF /* IN2L_DIG_VOL - [7:0] */
  889. #define WM2200_IN2L_DIG_VOL_SHIFT 0 /* IN2L_DIG_VOL - [7:0] */
  890. #define WM2200_IN2L_DIG_VOL_WIDTH 8 /* IN2L_DIG_VOL - [7:0] */
  891. /*
  892. * R783 (0x30F) - ADC Digital Volume 2R
  893. */
  894. #define WM2200_IN_VU 0x0200 /* IN_VU */
  895. #define WM2200_IN_VU_MASK 0x0200 /* IN_VU */
  896. #define WM2200_IN_VU_SHIFT 9 /* IN_VU */
  897. #define WM2200_IN_VU_WIDTH 1 /* IN_VU */
  898. #define WM2200_IN2R_MUTE 0x0100 /* IN2R_MUTE */
  899. #define WM2200_IN2R_MUTE_MASK 0x0100 /* IN2R_MUTE */
  900. #define WM2200_IN2R_MUTE_SHIFT 8 /* IN2R_MUTE */
  901. #define WM2200_IN2R_MUTE_WIDTH 1 /* IN2R_MUTE */
  902. #define WM2200_IN2R_DIG_VOL_MASK 0x00FF /* IN2R_DIG_VOL - [7:0] */
  903. #define WM2200_IN2R_DIG_VOL_SHIFT 0 /* IN2R_DIG_VOL - [7:0] */
  904. #define WM2200_IN2R_DIG_VOL_WIDTH 8 /* IN2R_DIG_VOL - [7:0] */
  905. /*
  906. * R784 (0x310) - ADC Digital Volume 3L
  907. */
  908. #define WM2200_IN_VU 0x0200 /* IN_VU */
  909. #define WM2200_IN_VU_MASK 0x0200 /* IN_VU */
  910. #define WM2200_IN_VU_SHIFT 9 /* IN_VU */
  911. #define WM2200_IN_VU_WIDTH 1 /* IN_VU */
  912. #define WM2200_IN3L_MUTE 0x0100 /* IN3L_MUTE */
  913. #define WM2200_IN3L_MUTE_MASK 0x0100 /* IN3L_MUTE */
  914. #define WM2200_IN3L_MUTE_SHIFT 8 /* IN3L_MUTE */
  915. #define WM2200_IN3L_MUTE_WIDTH 1 /* IN3L_MUTE */
  916. #define WM2200_IN3L_DIG_VOL_MASK 0x00FF /* IN3L_DIG_VOL - [7:0] */
  917. #define WM2200_IN3L_DIG_VOL_SHIFT 0 /* IN3L_DIG_VOL - [7:0] */
  918. #define WM2200_IN3L_DIG_VOL_WIDTH 8 /* IN3L_DIG_VOL - [7:0] */
  919. /*
  920. * R785 (0x311) - ADC Digital Volume 3R
  921. */
  922. #define WM2200_IN_VU 0x0200 /* IN_VU */
  923. #define WM2200_IN_VU_MASK 0x0200 /* IN_VU */
  924. #define WM2200_IN_VU_SHIFT 9 /* IN_VU */
  925. #define WM2200_IN_VU_WIDTH 1 /* IN_VU */
  926. #define WM2200_IN3R_MUTE 0x0100 /* IN3R_MUTE */
  927. #define WM2200_IN3R_MUTE_MASK 0x0100 /* IN3R_MUTE */
  928. #define WM2200_IN3R_MUTE_SHIFT 8 /* IN3R_MUTE */
  929. #define WM2200_IN3R_MUTE_WIDTH 1 /* IN3R_MUTE */
  930. #define WM2200_IN3R_DIG_VOL_MASK 0x00FF /* IN3R_DIG_VOL - [7:0] */
  931. #define WM2200_IN3R_DIG_VOL_SHIFT 0 /* IN3R_DIG_VOL - [7:0] */
  932. #define WM2200_IN3R_DIG_VOL_WIDTH 8 /* IN3R_DIG_VOL - [7:0] */
  933. /*
  934. * R1024 (0x400) - Output Enables
  935. */
  936. #define WM2200_OUT2L_ENA 0x0008 /* OUT2L_ENA */
  937. #define WM2200_OUT2L_ENA_MASK 0x0008 /* OUT2L_ENA */
  938. #define WM2200_OUT2L_ENA_SHIFT 3 /* OUT2L_ENA */
  939. #define WM2200_OUT2L_ENA_WIDTH 1 /* OUT2L_ENA */
  940. #define WM2200_OUT2R_ENA 0x0004 /* OUT2R_ENA */
  941. #define WM2200_OUT2R_ENA_MASK 0x0004 /* OUT2R_ENA */
  942. #define WM2200_OUT2R_ENA_SHIFT 2 /* OUT2R_ENA */
  943. #define WM2200_OUT2R_ENA_WIDTH 1 /* OUT2R_ENA */
  944. #define WM2200_OUT1L_ENA 0x0002 /* OUT1L_ENA */
  945. #define WM2200_OUT1L_ENA_MASK 0x0002 /* OUT1L_ENA */
  946. #define WM2200_OUT1L_ENA_SHIFT 1 /* OUT1L_ENA */
  947. #define WM2200_OUT1L_ENA_WIDTH 1 /* OUT1L_ENA */
  948. #define WM2200_OUT1R_ENA 0x0001 /* OUT1R_ENA */
  949. #define WM2200_OUT1R_ENA_MASK 0x0001 /* OUT1R_ENA */
  950. #define WM2200_OUT1R_ENA_SHIFT 0 /* OUT1R_ENA */
  951. #define WM2200_OUT1R_ENA_WIDTH 1 /* OUT1R_ENA */
  952. /*
  953. * R1025 (0x401) - DAC Volume Limit 1L
  954. */
  955. #define WM2200_OUT1_OSR 0x2000 /* OUT1_OSR */
  956. #define WM2200_OUT1_OSR_MASK 0x2000 /* OUT1_OSR */
  957. #define WM2200_OUT1_OSR_SHIFT 13 /* OUT1_OSR */
  958. #define WM2200_OUT1_OSR_WIDTH 1 /* OUT1_OSR */
  959. #define WM2200_OUT1L_ANC_SRC 0x0800 /* OUT1L_ANC_SRC */
  960. #define WM2200_OUT1L_ANC_SRC_MASK 0x0800 /* OUT1L_ANC_SRC */
  961. #define WM2200_OUT1L_ANC_SRC_SHIFT 11 /* OUT1L_ANC_SRC */
  962. #define WM2200_OUT1L_ANC_SRC_WIDTH 1 /* OUT1L_ANC_SRC */
  963. #define WM2200_OUT1L_PGA_VOL_MASK 0x00FE /* OUT1L_PGA_VOL - [7:1] */
  964. #define WM2200_OUT1L_PGA_VOL_SHIFT 1 /* OUT1L_PGA_VOL - [7:1] */
  965. #define WM2200_OUT1L_PGA_VOL_WIDTH 7 /* OUT1L_PGA_VOL - [7:1] */
  966. /*
  967. * R1026 (0x402) - DAC Volume Limit 1R
  968. */
  969. #define WM2200_OUT1R_ANC_SRC 0x0800 /* OUT1R_ANC_SRC */
  970. #define WM2200_OUT1R_ANC_SRC_MASK 0x0800 /* OUT1R_ANC_SRC */
  971. #define WM2200_OUT1R_ANC_SRC_SHIFT 11 /* OUT1R_ANC_SRC */
  972. #define WM2200_OUT1R_ANC_SRC_WIDTH 1 /* OUT1R_ANC_SRC */
  973. #define WM2200_OUT1R_PGA_VOL_MASK 0x00FE /* OUT1R_PGA_VOL - [7:1] */
  974. #define WM2200_OUT1R_PGA_VOL_SHIFT 1 /* OUT1R_PGA_VOL - [7:1] */
  975. #define WM2200_OUT1R_PGA_VOL_WIDTH 7 /* OUT1R_PGA_VOL - [7:1] */
  976. /*
  977. * R1027 (0x403) - DAC Volume Limit 2L
  978. */
  979. #define WM2200_OUT2_OSR 0x2000 /* OUT2_OSR */
  980. #define WM2200_OUT2_OSR_MASK 0x2000 /* OUT2_OSR */
  981. #define WM2200_OUT2_OSR_SHIFT 13 /* OUT2_OSR */
  982. #define WM2200_OUT2_OSR_WIDTH 1 /* OUT2_OSR */
  983. #define WM2200_OUT2L_ANC_SRC 0x0800 /* OUT2L_ANC_SRC */
  984. #define WM2200_OUT2L_ANC_SRC_MASK 0x0800 /* OUT2L_ANC_SRC */
  985. #define WM2200_OUT2L_ANC_SRC_SHIFT 11 /* OUT2L_ANC_SRC */
  986. #define WM2200_OUT2L_ANC_SRC_WIDTH 1 /* OUT2L_ANC_SRC */
  987. /*
  988. * R1028 (0x404) - DAC Volume Limit 2R
  989. */
  990. #define WM2200_OUT2R_ANC_SRC 0x0800 /* OUT2R_ANC_SRC */
  991. #define WM2200_OUT2R_ANC_SRC_MASK 0x0800 /* OUT2R_ANC_SRC */
  992. #define WM2200_OUT2R_ANC_SRC_SHIFT 11 /* OUT2R_ANC_SRC */
  993. #define WM2200_OUT2R_ANC_SRC_WIDTH 1 /* OUT2R_ANC_SRC */
  994. /*
  995. * R1033 (0x409) - DAC AEC Control 1
  996. */
  997. #define WM2200_AEC_LOOPBACK_ENA 0x0004 /* AEC_LOOPBACK_ENA */
  998. #define WM2200_AEC_LOOPBACK_ENA_MASK 0x0004 /* AEC_LOOPBACK_ENA */
  999. #define WM2200_AEC_LOOPBACK_ENA_SHIFT 2 /* AEC_LOOPBACK_ENA */
  1000. #define WM2200_AEC_LOOPBACK_ENA_WIDTH 1 /* AEC_LOOPBACK_ENA */
  1001. #define WM2200_AEC_LOOPBACK_SRC_MASK 0x0003 /* AEC_LOOPBACK_SRC - [1:0] */
  1002. #define WM2200_AEC_LOOPBACK_SRC_SHIFT 0 /* AEC_LOOPBACK_SRC - [1:0] */
  1003. #define WM2200_AEC_LOOPBACK_SRC_WIDTH 2 /* AEC_LOOPBACK_SRC - [1:0] */
  1004. /*
  1005. * R1034 (0x40A) - Output Volume Ramp
  1006. */
  1007. #define WM2200_OUT_VD_RAMP_MASK 0x0070 /* OUT_VD_RAMP - [6:4] */
  1008. #define WM2200_OUT_VD_RAMP_SHIFT 4 /* OUT_VD_RAMP - [6:4] */
  1009. #define WM2200_OUT_VD_RAMP_WIDTH 3 /* OUT_VD_RAMP - [6:4] */
  1010. #define WM2200_OUT_VI_RAMP_MASK 0x0007 /* OUT_VI_RAMP - [2:0] */
  1011. #define WM2200_OUT_VI_RAMP_SHIFT 0 /* OUT_VI_RAMP - [2:0] */
  1012. #define WM2200_OUT_VI_RAMP_WIDTH 3 /* OUT_VI_RAMP - [2:0] */
  1013. /*
  1014. * R1035 (0x40B) - DAC Digital Volume 1L
  1015. */
  1016. #define WM2200_OUT_VU 0x0200 /* OUT_VU */
  1017. #define WM2200_OUT_VU_MASK 0x0200 /* OUT_VU */
  1018. #define WM2200_OUT_VU_SHIFT 9 /* OUT_VU */
  1019. #define WM2200_OUT_VU_WIDTH 1 /* OUT_VU */
  1020. #define WM2200_OUT1L_MUTE 0x0100 /* OUT1L_MUTE */
  1021. #define WM2200_OUT1L_MUTE_MASK 0x0100 /* OUT1L_MUTE */
  1022. #define WM2200_OUT1L_MUTE_SHIFT 8 /* OUT1L_MUTE */
  1023. #define WM2200_OUT1L_MUTE_WIDTH 1 /* OUT1L_MUTE */
  1024. #define WM2200_OUT1L_VOL_MASK 0x00FF /* OUT1L_VOL - [7:0] */
  1025. #define WM2200_OUT1L_VOL_SHIFT 0 /* OUT1L_VOL - [7:0] */
  1026. #define WM2200_OUT1L_VOL_WIDTH 8 /* OUT1L_VOL - [7:0] */
  1027. /*
  1028. * R1036 (0x40C) - DAC Digital Volume 1R
  1029. */
  1030. #define WM2200_OUT_VU 0x0200 /* OUT_VU */
  1031. #define WM2200_OUT_VU_MASK 0x0200 /* OUT_VU */
  1032. #define WM2200_OUT_VU_SHIFT 9 /* OUT_VU */
  1033. #define WM2200_OUT_VU_WIDTH 1 /* OUT_VU */
  1034. #define WM2200_OUT1R_MUTE 0x0100 /* OUT1R_MUTE */
  1035. #define WM2200_OUT1R_MUTE_MASK 0x0100 /* OUT1R_MUTE */
  1036. #define WM2200_OUT1R_MUTE_SHIFT 8 /* OUT1R_MUTE */
  1037. #define WM2200_OUT1R_MUTE_WIDTH 1 /* OUT1R_MUTE */
  1038. #define WM2200_OUT1R_VOL_MASK 0x00FF /* OUT1R_VOL - [7:0] */
  1039. #define WM2200_OUT1R_VOL_SHIFT 0 /* OUT1R_VOL - [7:0] */
  1040. #define WM2200_OUT1R_VOL_WIDTH 8 /* OUT1R_VOL - [7:0] */
  1041. /*
  1042. * R1037 (0x40D) - DAC Digital Volume 2L
  1043. */
  1044. #define WM2200_OUT_VU 0x0200 /* OUT_VU */
  1045. #define WM2200_OUT_VU_MASK 0x0200 /* OUT_VU */
  1046. #define WM2200_OUT_VU_SHIFT 9 /* OUT_VU */
  1047. #define WM2200_OUT_VU_WIDTH 1 /* OUT_VU */
  1048. #define WM2200_OUT2L_MUTE 0x0100 /* OUT2L_MUTE */
  1049. #define WM2200_OUT2L_MUTE_MASK 0x0100 /* OUT2L_MUTE */
  1050. #define WM2200_OUT2L_MUTE_SHIFT 8 /* OUT2L_MUTE */
  1051. #define WM2200_OUT2L_MUTE_WIDTH 1 /* OUT2L_MUTE */
  1052. #define WM2200_OUT2L_VOL_MASK 0x00FF /* OUT2L_VOL - [7:0] */
  1053. #define WM2200_OUT2L_VOL_SHIFT 0 /* OUT2L_VOL - [7:0] */
  1054. #define WM2200_OUT2L_VOL_WIDTH 8 /* OUT2L_VOL - [7:0] */
  1055. /*
  1056. * R1038 (0x40E) - DAC Digital Volume 2R
  1057. */
  1058. #define WM2200_OUT_VU 0x0200 /* OUT_VU */
  1059. #define WM2200_OUT_VU_MASK 0x0200 /* OUT_VU */
  1060. #define WM2200_OUT_VU_SHIFT 9 /* OUT_VU */
  1061. #define WM2200_OUT_VU_WIDTH 1 /* OUT_VU */
  1062. #define WM2200_OUT2R_MUTE 0x0100 /* OUT2R_MUTE */
  1063. #define WM2200_OUT2R_MUTE_MASK 0x0100 /* OUT2R_MUTE */
  1064. #define WM2200_OUT2R_MUTE_SHIFT 8 /* OUT2R_MUTE */
  1065. #define WM2200_OUT2R_MUTE_WIDTH 1 /* OUT2R_MUTE */
  1066. #define WM2200_OUT2R_VOL_MASK 0x00FF /* OUT2R_VOL - [7:0] */
  1067. #define WM2200_OUT2R_VOL_SHIFT 0 /* OUT2R_VOL - [7:0] */
  1068. #define WM2200_OUT2R_VOL_WIDTH 8 /* OUT2R_VOL - [7:0] */
  1069. /*
  1070. * R1047 (0x417) - PDM 1
  1071. */
  1072. #define WM2200_SPK1R_MUTE 0x2000 /* SPK1R_MUTE */
  1073. #define WM2200_SPK1R_MUTE_MASK 0x2000 /* SPK1R_MUTE */
  1074. #define WM2200_SPK1R_MUTE_SHIFT 13 /* SPK1R_MUTE */
  1075. #define WM2200_SPK1R_MUTE_WIDTH 1 /* SPK1R_MUTE */
  1076. #define WM2200_SPK1L_MUTE 0x1000 /* SPK1L_MUTE */
  1077. #define WM2200_SPK1L_MUTE_MASK 0x1000 /* SPK1L_MUTE */
  1078. #define WM2200_SPK1L_MUTE_SHIFT 12 /* SPK1L_MUTE */
  1079. #define WM2200_SPK1L_MUTE_WIDTH 1 /* SPK1L_MUTE */
  1080. #define WM2200_SPK1_MUTE_ENDIAN 0x0100 /* SPK1_MUTE_ENDIAN */
  1081. #define WM2200_SPK1_MUTE_ENDIAN_MASK 0x0100 /* SPK1_MUTE_ENDIAN */
  1082. #define WM2200_SPK1_MUTE_ENDIAN_SHIFT 8 /* SPK1_MUTE_ENDIAN */
  1083. #define WM2200_SPK1_MUTE_ENDIAN_WIDTH 1 /* SPK1_MUTE_ENDIAN */
  1084. #define WM2200_SPK1_MUTE_SEQL_MASK 0x00FF /* SPK1_MUTE_SEQL - [7:0] */
  1085. #define WM2200_SPK1_MUTE_SEQL_SHIFT 0 /* SPK1_MUTE_SEQL - [7:0] */
  1086. #define WM2200_SPK1_MUTE_SEQL_WIDTH 8 /* SPK1_MUTE_SEQL - [7:0] */
  1087. /*
  1088. * R1048 (0x418) - PDM 2
  1089. */
  1090. #define WM2200_SPK1_FMT 0x0001 /* SPK1_FMT */
  1091. #define WM2200_SPK1_FMT_MASK 0x0001 /* SPK1_FMT */
  1092. #define WM2200_SPK1_FMT_SHIFT 0 /* SPK1_FMT */
  1093. #define WM2200_SPK1_FMT_WIDTH 1 /* SPK1_FMT */
  1094. /*
  1095. * R1280 (0x500) - Audio IF 1_1
  1096. */
  1097. #define WM2200_AIF1_BCLK_INV 0x0040 /* AIF1_BCLK_INV */
  1098. #define WM2200_AIF1_BCLK_INV_MASK 0x0040 /* AIF1_BCLK_INV */
  1099. #define WM2200_AIF1_BCLK_INV_SHIFT 6 /* AIF1_BCLK_INV */
  1100. #define WM2200_AIF1_BCLK_INV_WIDTH 1 /* AIF1_BCLK_INV */
  1101. #define WM2200_AIF1_BCLK_FRC 0x0020 /* AIF1_BCLK_FRC */
  1102. #define WM2200_AIF1_BCLK_FRC_MASK 0x0020 /* AIF1_BCLK_FRC */
  1103. #define WM2200_AIF1_BCLK_FRC_SHIFT 5 /* AIF1_BCLK_FRC */
  1104. #define WM2200_AIF1_BCLK_FRC_WIDTH 1 /* AIF1_BCLK_FRC */
  1105. #define WM2200_AIF1_BCLK_MSTR 0x0010 /* AIF1_BCLK_MSTR */
  1106. #define WM2200_AIF1_BCLK_MSTR_MASK 0x0010 /* AIF1_BCLK_MSTR */
  1107. #define WM2200_AIF1_BCLK_MSTR_SHIFT 4 /* AIF1_BCLK_MSTR */
  1108. #define WM2200_AIF1_BCLK_MSTR_WIDTH 1 /* AIF1_BCLK_MSTR */
  1109. #define WM2200_AIF1_BCLK_DIV_MASK 0x000F /* AIF1_BCLK_DIV - [3:0] */
  1110. #define WM2200_AIF1_BCLK_DIV_SHIFT 0 /* AIF1_BCLK_DIV - [3:0] */
  1111. #define WM2200_AIF1_BCLK_DIV_WIDTH 4 /* AIF1_BCLK_DIV - [3:0] */
  1112. /*
  1113. * R1281 (0x501) - Audio IF 1_2
  1114. */
  1115. #define WM2200_AIF1TX_DAT_TRI 0x0020 /* AIF1TX_DAT_TRI */
  1116. #define WM2200_AIF1TX_DAT_TRI_MASK 0x0020 /* AIF1TX_DAT_TRI */
  1117. #define WM2200_AIF1TX_DAT_TRI_SHIFT 5 /* AIF1TX_DAT_TRI */
  1118. #define WM2200_AIF1TX_DAT_TRI_WIDTH 1 /* AIF1TX_DAT_TRI */
  1119. #define WM2200_AIF1TX_LRCLK_SRC 0x0008 /* AIF1TX_LRCLK_SRC */
  1120. #define WM2200_AIF1TX_LRCLK_SRC_MASK 0x0008 /* AIF1TX_LRCLK_SRC */
  1121. #define WM2200_AIF1TX_LRCLK_SRC_SHIFT 3 /* AIF1TX_LRCLK_SRC */
  1122. #define WM2200_AIF1TX_LRCLK_SRC_WIDTH 1 /* AIF1TX_LRCLK_SRC */
  1123. #define WM2200_AIF1TX_LRCLK_INV 0x0004 /* AIF1TX_LRCLK_INV */
  1124. #define WM2200_AIF1TX_LRCLK_INV_MASK 0x0004 /* AIF1TX_LRCLK_INV */
  1125. #define WM2200_AIF1TX_LRCLK_INV_SHIFT 2 /* AIF1TX_LRCLK_INV */
  1126. #define WM2200_AIF1TX_LRCLK_INV_WIDTH 1 /* AIF1TX_LRCLK_INV */
  1127. #define WM2200_AIF1TX_LRCLK_FRC 0x0002 /* AIF1TX_LRCLK_FRC */
  1128. #define WM2200_AIF1TX_LRCLK_FRC_MASK 0x0002 /* AIF1TX_LRCLK_FRC */
  1129. #define WM2200_AIF1TX_LRCLK_FRC_SHIFT 1 /* AIF1TX_LRCLK_FRC */
  1130. #define WM2200_AIF1TX_LRCLK_FRC_WIDTH 1 /* AIF1TX_LRCLK_FRC */
  1131. #define WM2200_AIF1TX_LRCLK_MSTR 0x0001 /* AIF1TX_LRCLK_MSTR */
  1132. #define WM2200_AIF1TX_LRCLK_MSTR_MASK 0x0001 /* AIF1TX_LRCLK_MSTR */
  1133. #define WM2200_AIF1TX_LRCLK_MSTR_SHIFT 0 /* AIF1TX_LRCLK_MSTR */
  1134. #define WM2200_AIF1TX_LRCLK_MSTR_WIDTH 1 /* AIF1TX_LRCLK_MSTR */
  1135. /*
  1136. * R1282 (0x502) - Audio IF 1_3
  1137. */
  1138. #define WM2200_AIF1RX_LRCLK_INV 0x0004 /* AIF1RX_LRCLK_INV */
  1139. #define WM2200_AIF1RX_LRCLK_INV_MASK 0x0004 /* AIF1RX_LRCLK_INV */
  1140. #define WM2200_AIF1RX_LRCLK_INV_SHIFT 2 /* AIF1RX_LRCLK_INV */
  1141. #define WM2200_AIF1RX_LRCLK_INV_WIDTH 1 /* AIF1RX_LRCLK_INV */
  1142. #define WM2200_AIF1RX_LRCLK_FRC 0x0002 /* AIF1RX_LRCLK_FRC */
  1143. #define WM2200_AIF1RX_LRCLK_FRC_MASK 0x0002 /* AIF1RX_LRCLK_FRC */
  1144. #define WM2200_AIF1RX_LRCLK_FRC_SHIFT 1 /* AIF1RX_LRCLK_FRC */
  1145. #define WM2200_AIF1RX_LRCLK_FRC_WIDTH 1 /* AIF1RX_LRCLK_FRC */
  1146. #define WM2200_AIF1RX_LRCLK_MSTR 0x0001 /* AIF1RX_LRCLK_MSTR */
  1147. #define WM2200_AIF1RX_LRCLK_MSTR_MASK 0x0001 /* AIF1RX_LRCLK_MSTR */
  1148. #define WM2200_AIF1RX_LRCLK_MSTR_SHIFT 0 /* AIF1RX_LRCLK_MSTR */
  1149. #define WM2200_AIF1RX_LRCLK_MSTR_WIDTH 1 /* AIF1RX_LRCLK_MSTR */
  1150. /*
  1151. * R1283 (0x503) - Audio IF 1_4
  1152. */
  1153. #define WM2200_AIF1_TRI 0x0040 /* AIF1_TRI */
  1154. #define WM2200_AIF1_TRI_MASK 0x0040 /* AIF1_TRI */
  1155. #define WM2200_AIF1_TRI_SHIFT 6 /* AIF1_TRI */
  1156. #define WM2200_AIF1_TRI_WIDTH 1 /* AIF1_TRI */
  1157. /*
  1158. * R1284 (0x504) - Audio IF 1_5
  1159. */
  1160. #define WM2200_AIF1_FMT_MASK 0x0007 /* AIF1_FMT - [2:0] */
  1161. #define WM2200_AIF1_FMT_SHIFT 0 /* AIF1_FMT - [2:0] */
  1162. #define WM2200_AIF1_FMT_WIDTH 3 /* AIF1_FMT - [2:0] */
  1163. /*
  1164. * R1285 (0x505) - Audio IF 1_6
  1165. */
  1166. #define WM2200_AIF1TX_BCPF_MASK 0x07FF /* AIF1TX_BCPF - [10:0] */
  1167. #define WM2200_AIF1TX_BCPF_SHIFT 0 /* AIF1TX_BCPF - [10:0] */
  1168. #define WM2200_AIF1TX_BCPF_WIDTH 11 /* AIF1TX_BCPF - [10:0] */
  1169. /*
  1170. * R1286 (0x506) - Audio IF 1_7
  1171. */
  1172. #define WM2200_AIF1RX_BCPF_MASK 0x07FF /* AIF1RX_BCPF - [10:0] */
  1173. #define WM2200_AIF1RX_BCPF_SHIFT 0 /* AIF1RX_BCPF - [10:0] */
  1174. #define WM2200_AIF1RX_BCPF_WIDTH 11 /* AIF1RX_BCPF - [10:0] */
  1175. /*
  1176. * R1287 (0x507) - Audio IF 1_8
  1177. */
  1178. #define WM2200_AIF1TX_WL_MASK 0x3F00 /* AIF1TX_WL - [13:8] */
  1179. #define WM2200_AIF1TX_WL_SHIFT 8 /* AIF1TX_WL - [13:8] */
  1180. #define WM2200_AIF1TX_WL_WIDTH 6 /* AIF1TX_WL - [13:8] */
  1181. #define WM2200_AIF1TX_SLOT_LEN_MASK 0x00FF /* AIF1TX_SLOT_LEN - [7:0] */
  1182. #define WM2200_AIF1TX_SLOT_LEN_SHIFT 0 /* AIF1TX_SLOT_LEN - [7:0] */
  1183. #define WM2200_AIF1TX_SLOT_LEN_WIDTH 8 /* AIF1TX_SLOT_LEN - [7:0] */
  1184. /*
  1185. * R1288 (0x508) - Audio IF 1_9
  1186. */
  1187. #define WM2200_AIF1RX_WL_MASK 0x3F00 /* AIF1RX_WL - [13:8] */
  1188. #define WM2200_AIF1RX_WL_SHIFT 8 /* AIF1RX_WL - [13:8] */
  1189. #define WM2200_AIF1RX_WL_WIDTH 6 /* AIF1RX_WL - [13:8] */
  1190. #define WM2200_AIF1RX_SLOT_LEN_MASK 0x00FF /* AIF1RX_SLOT_LEN - [7:0] */
  1191. #define WM2200_AIF1RX_SLOT_LEN_SHIFT 0 /* AIF1RX_SLOT_LEN - [7:0] */
  1192. #define WM2200_AIF1RX_SLOT_LEN_WIDTH 8 /* AIF1RX_SLOT_LEN - [7:0] */
  1193. /*
  1194. * R1289 (0x509) - Audio IF 1_10
  1195. */
  1196. #define WM2200_AIF1TX1_SLOT_MASK 0x003F /* AIF1TX1_SLOT - [5:0] */
  1197. #define WM2200_AIF1TX1_SLOT_SHIFT 0 /* AIF1TX1_SLOT - [5:0] */
  1198. #define WM2200_AIF1TX1_SLOT_WIDTH 6 /* AIF1TX1_SLOT - [5:0] */
  1199. /*
  1200. * R1290 (0x50A) - Audio IF 1_11
  1201. */
  1202. #define WM2200_AIF1TX2_SLOT_MASK 0x003F /* AIF1TX2_SLOT - [5:0] */
  1203. #define WM2200_AIF1TX2_SLOT_SHIFT 0 /* AIF1TX2_SLOT - [5:0] */
  1204. #define WM2200_AIF1TX2_SLOT_WIDTH 6 /* AIF1TX2_SLOT - [5:0] */
  1205. /*
  1206. * R1291 (0x50B) - Audio IF 1_12
  1207. */
  1208. #define WM2200_AIF1TX3_SLOT_MASK 0x003F /* AIF1TX3_SLOT - [5:0] */
  1209. #define WM2200_AIF1TX3_SLOT_SHIFT 0 /* AIF1TX3_SLOT - [5:0] */
  1210. #define WM2200_AIF1TX3_SLOT_WIDTH 6 /* AIF1TX3_SLOT - [5:0] */
  1211. /*
  1212. * R1292 (0x50C) - Audio IF 1_13
  1213. */
  1214. #define WM2200_AIF1TX4_SLOT_MASK 0x003F /* AIF1TX4_SLOT - [5:0] */
  1215. #define WM2200_AIF1TX4_SLOT_SHIFT 0 /* AIF1TX4_SLOT - [5:0] */
  1216. #define WM2200_AIF1TX4_SLOT_WIDTH 6 /* AIF1TX4_SLOT - [5:0] */
  1217. /*
  1218. * R1293 (0x50D) - Audio IF 1_14
  1219. */
  1220. #define WM2200_AIF1TX5_SLOT_MASK 0x003F /* AIF1TX5_SLOT - [5:0] */
  1221. #define WM2200_AIF1TX5_SLOT_SHIFT 0 /* AIF1TX5_SLOT - [5:0] */
  1222. #define WM2200_AIF1TX5_SLOT_WIDTH 6 /* AIF1TX5_SLOT - [5:0] */
  1223. /*
  1224. * R1294 (0x50E) - Audio IF 1_15
  1225. */
  1226. #define WM2200_AIF1TX6_SLOT_MASK 0x003F /* AIF1TX6_SLOT - [5:0] */
  1227. #define WM2200_AIF1TX6_SLOT_SHIFT 0 /* AIF1TX6_SLOT - [5:0] */
  1228. #define WM2200_AIF1TX6_SLOT_WIDTH 6 /* AIF1TX6_SLOT - [5:0] */
  1229. /*
  1230. * R1295 (0x50F) - Audio IF 1_16
  1231. */
  1232. #define WM2200_AIF1RX1_SLOT_MASK 0x003F /* AIF1RX1_SLOT - [5:0] */
  1233. #define WM2200_AIF1RX1_SLOT_SHIFT 0 /* AIF1RX1_SLOT - [5:0] */
  1234. #define WM2200_AIF1RX1_SLOT_WIDTH 6 /* AIF1RX1_SLOT - [5:0] */
  1235. /*
  1236. * R1296 (0x510) - Audio IF 1_17
  1237. */
  1238. #define WM2200_AIF1RX2_SLOT_MASK 0x003F /* AIF1RX2_SLOT - [5:0] */
  1239. #define WM2200_AIF1RX2_SLOT_SHIFT 0 /* AIF1RX2_SLOT - [5:0] */
  1240. #define WM2200_AIF1RX2_SLOT_WIDTH 6 /* AIF1RX2_SLOT - [5:0] */
  1241. /*
  1242. * R1297 (0x511) - Audio IF 1_18
  1243. */
  1244. #define WM2200_AIF1RX3_SLOT_MASK 0x003F /* AIF1RX3_SLOT - [5:0] */
  1245. #define WM2200_AIF1RX3_SLOT_SHIFT 0 /* AIF1RX3_SLOT - [5:0] */
  1246. #define WM2200_AIF1RX3_SLOT_WIDTH 6 /* AIF1RX3_SLOT - [5:0] */
  1247. /*
  1248. * R1298 (0x512) - Audio IF 1_19
  1249. */
  1250. #define WM2200_AIF1RX4_SLOT_MASK 0x003F /* AIF1RX4_SLOT - [5:0] */
  1251. #define WM2200_AIF1RX4_SLOT_SHIFT 0 /* AIF1RX4_SLOT - [5:0] */
  1252. #define WM2200_AIF1RX4_SLOT_WIDTH 6 /* AIF1RX4_SLOT - [5:0] */
  1253. /*
  1254. * R1299 (0x513) - Audio IF 1_20
  1255. */
  1256. #define WM2200_AIF1RX5_SLOT_MASK 0x003F /* AIF1RX5_SLOT - [5:0] */
  1257. #define WM2200_AIF1RX5_SLOT_SHIFT 0 /* AIF1RX5_SLOT - [5:0] */
  1258. #define WM2200_AIF1RX5_SLOT_WIDTH 6 /* AIF1RX5_SLOT - [5:0] */
  1259. /*
  1260. * R1300 (0x514) - Audio IF 1_21
  1261. */
  1262. #define WM2200_AIF1RX6_SLOT_MASK 0x003F /* AIF1RX6_SLOT - [5:0] */
  1263. #define WM2200_AIF1RX6_SLOT_SHIFT 0 /* AIF1RX6_SLOT - [5:0] */
  1264. #define WM2200_AIF1RX6_SLOT_WIDTH 6 /* AIF1RX6_SLOT - [5:0] */
  1265. /*
  1266. * R1301 (0x515) - Audio IF 1_22
  1267. */
  1268. #define WM2200_AIF1RX6_ENA 0x0800 /* AIF1RX6_ENA */
  1269. #define WM2200_AIF1RX6_ENA_MASK 0x0800 /* AIF1RX6_ENA */
  1270. #define WM2200_AIF1RX6_ENA_SHIFT 11 /* AIF1RX6_ENA */
  1271. #define WM2200_AIF1RX6_ENA_WIDTH 1 /* AIF1RX6_ENA */
  1272. #define WM2200_AIF1RX5_ENA 0x0400 /* AIF1RX5_ENA */
  1273. #define WM2200_AIF1RX5_ENA_MASK 0x0400 /* AIF1RX5_ENA */
  1274. #define WM2200_AIF1RX5_ENA_SHIFT 10 /* AIF1RX5_ENA */
  1275. #define WM2200_AIF1RX5_ENA_WIDTH 1 /* AIF1RX5_ENA */
  1276. #define WM2200_AIF1RX4_ENA 0x0200 /* AIF1RX4_ENA */
  1277. #define WM2200_AIF1RX4_ENA_MASK 0x0200 /* AIF1RX4_ENA */
  1278. #define WM2200_AIF1RX4_ENA_SHIFT 9 /* AIF1RX4_ENA */
  1279. #define WM2200_AIF1RX4_ENA_WIDTH 1 /* AIF1RX4_ENA */
  1280. #define WM2200_AIF1RX3_ENA 0x0100 /* AIF1RX3_ENA */
  1281. #define WM2200_AIF1RX3_ENA_MASK 0x0100 /* AIF1RX3_ENA */
  1282. #define WM2200_AIF1RX3_ENA_SHIFT 8 /* AIF1RX3_ENA */
  1283. #define WM2200_AIF1RX3_ENA_WIDTH 1 /* AIF1RX3_ENA */
  1284. #define WM2200_AIF1RX2_ENA 0x0080 /* AIF1RX2_ENA */
  1285. #define WM2200_AIF1RX2_ENA_MASK 0x0080 /* AIF1RX2_ENA */
  1286. #define WM2200_AIF1RX2_ENA_SHIFT 7 /* AIF1RX2_ENA */
  1287. #define WM2200_AIF1RX2_ENA_WIDTH 1 /* AIF1RX2_ENA */
  1288. #define WM2200_AIF1RX1_ENA 0x0040 /* AIF1RX1_ENA */
  1289. #define WM2200_AIF1RX1_ENA_MASK 0x0040 /* AIF1RX1_ENA */
  1290. #define WM2200_AIF1RX1_ENA_SHIFT 6 /* AIF1RX1_ENA */
  1291. #define WM2200_AIF1RX1_ENA_WIDTH 1 /* AIF1RX1_ENA */
  1292. #define WM2200_AIF1TX6_ENA 0x0020 /* AIF1TX6_ENA */
  1293. #define WM2200_AIF1TX6_ENA_MASK 0x0020 /* AIF1TX6_ENA */
  1294. #define WM2200_AIF1TX6_ENA_SHIFT 5 /* AIF1TX6_ENA */
  1295. #define WM2200_AIF1TX6_ENA_WIDTH 1 /* AIF1TX6_ENA */
  1296. #define WM2200_AIF1TX5_ENA 0x0010 /* AIF1TX5_ENA */
  1297. #define WM2200_AIF1TX5_ENA_MASK 0x0010 /* AIF1TX5_ENA */
  1298. #define WM2200_AIF1TX5_ENA_SHIFT 4 /* AIF1TX5_ENA */
  1299. #define WM2200_AIF1TX5_ENA_WIDTH 1 /* AIF1TX5_ENA */
  1300. #define WM2200_AIF1TX4_ENA 0x0008 /* AIF1TX4_ENA */
  1301. #define WM2200_AIF1TX4_ENA_MASK 0x0008 /* AIF1TX4_ENA */
  1302. #define WM2200_AIF1TX4_ENA_SHIFT 3 /* AIF1TX4_ENA */
  1303. #define WM2200_AIF1TX4_ENA_WIDTH 1 /* AIF1TX4_ENA */
  1304. #define WM2200_AIF1TX3_ENA 0x0004 /* AIF1TX3_ENA */
  1305. #define WM2200_AIF1TX3_ENA_MASK 0x0004 /* AIF1TX3_ENA */
  1306. #define WM2200_AIF1TX3_ENA_SHIFT 2 /* AIF1TX3_ENA */
  1307. #define WM2200_AIF1TX3_ENA_WIDTH 1 /* AIF1TX3_ENA */
  1308. #define WM2200_AIF1TX2_ENA 0x0002 /* AIF1TX2_ENA */
  1309. #define WM2200_AIF1TX2_ENA_MASK 0x0002 /* AIF1TX2_ENA */
  1310. #define WM2200_AIF1TX2_ENA_SHIFT 1 /* AIF1TX2_ENA */
  1311. #define WM2200_AIF1TX2_ENA_WIDTH 1 /* AIF1TX2_ENA */
  1312. #define WM2200_AIF1TX1_ENA 0x0001 /* AIF1TX1_ENA */
  1313. #define WM2200_AIF1TX1_ENA_MASK 0x0001 /* AIF1TX1_ENA */
  1314. #define WM2200_AIF1TX1_ENA_SHIFT 0 /* AIF1TX1_ENA */
  1315. #define WM2200_AIF1TX1_ENA_WIDTH 1 /* AIF1TX1_ENA */
  1316. /*
  1317. * R1536 (0x600) - OUT1LMIX Input 1 Source
  1318. */
  1319. #define WM2200_OUT1LMIX_SRC1_MASK 0x007F /* OUT1LMIX_SRC1 - [6:0] */
  1320. #define WM2200_OUT1LMIX_SRC1_SHIFT 0 /* OUT1LMIX_SRC1 - [6:0] */
  1321. #define WM2200_OUT1LMIX_SRC1_WIDTH 7 /* OUT1LMIX_SRC1 - [6:0] */
  1322. /*
  1323. * R1537 (0x601) - OUT1LMIX Input 1 Volume
  1324. */
  1325. #define WM2200_OUT1LMIX_VOL1_MASK 0x00FE /* OUT1LMIX_VOL1 - [7:1] */
  1326. #define WM2200_OUT1LMIX_VOL1_SHIFT 1 /* OUT1LMIX_VOL1 - [7:1] */
  1327. #define WM2200_OUT1LMIX_VOL1_WIDTH 7 /* OUT1LMIX_VOL1 - [7:1] */
  1328. /*
  1329. * R1538 (0x602) - OUT1LMIX Input 2 Source
  1330. */
  1331. #define WM2200_OUT1LMIX_SRC2_MASK 0x007F /* OUT1LMIX_SRC2 - [6:0] */
  1332. #define WM2200_OUT1LMIX_SRC2_SHIFT 0 /* OUT1LMIX_SRC2 - [6:0] */
  1333. #define WM2200_OUT1LMIX_SRC2_WIDTH 7 /* OUT1LMIX_SRC2 - [6:0] */
  1334. /*
  1335. * R1539 (0x603) - OUT1LMIX Input 2 Volume
  1336. */
  1337. #define WM2200_OUT1LMIX_VOL2_MASK 0x00FE /* OUT1LMIX_VOL2 - [7:1] */
  1338. #define WM2200_OUT1LMIX_VOL2_SHIFT 1 /* OUT1LMIX_VOL2 - [7:1] */
  1339. #define WM2200_OUT1LMIX_VOL2_WIDTH 7 /* OUT1LMIX_VOL2 - [7:1] */
  1340. /*
  1341. * R1540 (0x604) - OUT1LMIX Input 3 Source
  1342. */
  1343. #define WM2200_OUT1LMIX_SRC3_MASK 0x007F /* OUT1LMIX_SRC3 - [6:0] */
  1344. #define WM2200_OUT1LMIX_SRC3_SHIFT 0 /* OUT1LMIX_SRC3 - [6:0] */
  1345. #define WM2200_OUT1LMIX_SRC3_WIDTH 7 /* OUT1LMIX_SRC3 - [6:0] */
  1346. /*
  1347. * R1541 (0x605) - OUT1LMIX Input 3 Volume
  1348. */
  1349. #define WM2200_OUT1LMIX_VOL3_MASK 0x00FE /* OUT1LMIX_VOL3 - [7:1] */
  1350. #define WM2200_OUT1LMIX_VOL3_SHIFT 1 /* OUT1LMIX_VOL3 - [7:1] */
  1351. #define WM2200_OUT1LMIX_VOL3_WIDTH 7 /* OUT1LMIX_VOL3 - [7:1] */
  1352. /*
  1353. * R1542 (0x606) - OUT1LMIX Input 4 Source
  1354. */
  1355. #define WM2200_OUT1LMIX_SRC4_MASK 0x007F /* OUT1LMIX_SRC4 - [6:0] */
  1356. #define WM2200_OUT1LMIX_SRC4_SHIFT 0 /* OUT1LMIX_SRC4 - [6:0] */
  1357. #define WM2200_OUT1LMIX_SRC4_WIDTH 7 /* OUT1LMIX_SRC4 - [6:0] */
  1358. /*
  1359. * R1543 (0x607) - OUT1LMIX Input 4 Volume
  1360. */
  1361. #define WM2200_OUT1LMIX_VOL4_MASK 0x00FE /* OUT1LMIX_VOL4 - [7:1] */
  1362. #define WM2200_OUT1LMIX_VOL4_SHIFT 1 /* OUT1LMIX_VOL4 - [7:1] */
  1363. #define WM2200_OUT1LMIX_VOL4_WIDTH 7 /* OUT1LMIX_VOL4 - [7:1] */
  1364. /*
  1365. * R1544 (0x608) - OUT1RMIX Input 1 Source
  1366. */
  1367. #define WM2200_OUT1RMIX_SRC1_MASK 0x007F /* OUT1RMIX_SRC1 - [6:0] */
  1368. #define WM2200_OUT1RMIX_SRC1_SHIFT 0 /* OUT1RMIX_SRC1 - [6:0] */
  1369. #define WM2200_OUT1RMIX_SRC1_WIDTH 7 /* OUT1RMIX_SRC1 - [6:0] */
  1370. /*
  1371. * R1545 (0x609) - OUT1RMIX Input 1 Volume
  1372. */
  1373. #define WM2200_OUT1RMIX_VOL1_MASK 0x00FE /* OUT1RMIX_VOL1 - [7:1] */
  1374. #define WM2200_OUT1RMIX_VOL1_SHIFT 1 /* OUT1RMIX_VOL1 - [7:1] */
  1375. #define WM2200_OUT1RMIX_VOL1_WIDTH 7 /* OUT1RMIX_VOL1 - [7:1] */
  1376. /*
  1377. * R1546 (0x60A) - OUT1RMIX Input 2 Source
  1378. */
  1379. #define WM2200_OUT1RMIX_SRC2_MASK 0x007F /* OUT1RMIX_SRC2 - [6:0] */
  1380. #define WM2200_OUT1RMIX_SRC2_SHIFT 0 /* OUT1RMIX_SRC2 - [6:0] */
  1381. #define WM2200_OUT1RMIX_SRC2_WIDTH 7 /* OUT1RMIX_SRC2 - [6:0] */
  1382. /*
  1383. * R1547 (0x60B) - OUT1RMIX Input 2 Volume
  1384. */
  1385. #define WM2200_OUT1RMIX_VOL2_MASK 0x00FE /* OUT1RMIX_VOL2 - [7:1] */
  1386. #define WM2200_OUT1RMIX_VOL2_SHIFT 1 /* OUT1RMIX_VOL2 - [7:1] */
  1387. #define WM2200_OUT1RMIX_VOL2_WIDTH 7 /* OUT1RMIX_VOL2 - [7:1] */
  1388. /*
  1389. * R1548 (0x60C) - OUT1RMIX Input 3 Source
  1390. */
  1391. #define WM2200_OUT1RMIX_SRC3_MASK 0x007F /* OUT1RMIX_SRC3 - [6:0] */
  1392. #define WM2200_OUT1RMIX_SRC3_SHIFT 0 /* OUT1RMIX_SRC3 - [6:0] */
  1393. #define WM2200_OUT1RMIX_SRC3_WIDTH 7 /* OUT1RMIX_SRC3 - [6:0] */
  1394. /*
  1395. * R1549 (0x60D) - OUT1RMIX Input 3 Volume
  1396. */
  1397. #define WM2200_OUT1RMIX_VOL3_MASK 0x00FE /* OUT1RMIX_VOL3 - [7:1] */
  1398. #define WM2200_OUT1RMIX_VOL3_SHIFT 1 /* OUT1RMIX_VOL3 - [7:1] */
  1399. #define WM2200_OUT1RMIX_VOL3_WIDTH 7 /* OUT1RMIX_VOL3 - [7:1] */
  1400. /*
  1401. * R1550 (0x60E) - OUT1RMIX Input 4 Source
  1402. */
  1403. #define WM2200_OUT1RMIX_SRC4_MASK 0x007F /* OUT1RMIX_SRC4 - [6:0] */
  1404. #define WM2200_OUT1RMIX_SRC4_SHIFT 0 /* OUT1RMIX_SRC4 - [6:0] */
  1405. #define WM2200_OUT1RMIX_SRC4_WIDTH 7 /* OUT1RMIX_SRC4 - [6:0] */
  1406. /*
  1407. * R1551 (0x60F) - OUT1RMIX Input 4 Volume
  1408. */
  1409. #define WM2200_OUT1RMIX_VOL4_MASK 0x00FE /* OUT1RMIX_VOL4 - [7:1] */
  1410. #define WM2200_OUT1RMIX_VOL4_SHIFT 1 /* OUT1RMIX_VOL4 - [7:1] */
  1411. #define WM2200_OUT1RMIX_VOL4_WIDTH 7 /* OUT1RMIX_VOL4 - [7:1] */
  1412. /*
  1413. * R1552 (0x610) - OUT2LMIX Input 1 Source
  1414. */
  1415. #define WM2200_OUT2LMIX_SRC1_MASK 0x007F /* OUT2LMIX_SRC1 - [6:0] */
  1416. #define WM2200_OUT2LMIX_SRC1_SHIFT 0 /* OUT2LMIX_SRC1 - [6:0] */
  1417. #define WM2200_OUT2LMIX_SRC1_WIDTH 7 /* OUT2LMIX_SRC1 - [6:0] */
  1418. /*
  1419. * R1553 (0x611) - OUT2LMIX Input 1 Volume
  1420. */
  1421. #define WM2200_OUT2LMIX_VOL1_MASK 0x00FE /* OUT2LMIX_VOL1 - [7:1] */
  1422. #define WM2200_OUT2LMIX_VOL1_SHIFT 1 /* OUT2LMIX_VOL1 - [7:1] */
  1423. #define WM2200_OUT2LMIX_VOL1_WIDTH 7 /* OUT2LMIX_VOL1 - [7:1] */
  1424. /*
  1425. * R1554 (0x612) - OUT2LMIX Input 2 Source
  1426. */
  1427. #define WM2200_OUT2LMIX_SRC2_MASK 0x007F /* OUT2LMIX_SRC2 - [6:0] */
  1428. #define WM2200_OUT2LMIX_SRC2_SHIFT 0 /* OUT2LMIX_SRC2 - [6:0] */
  1429. #define WM2200_OUT2LMIX_SRC2_WIDTH 7 /* OUT2LMIX_SRC2 - [6:0] */
  1430. /*
  1431. * R1555 (0x613) - OUT2LMIX Input 2 Volume
  1432. */
  1433. #define WM2200_OUT2LMIX_VOL2_MASK 0x00FE /* OUT2LMIX_VOL2 - [7:1] */
  1434. #define WM2200_OUT2LMIX_VOL2_SHIFT 1 /* OUT2LMIX_VOL2 - [7:1] */
  1435. #define WM2200_OUT2LMIX_VOL2_WIDTH 7 /* OUT2LMIX_VOL2 - [7:1] */
  1436. /*
  1437. * R1556 (0x614) - OUT2LMIX Input 3 Source
  1438. */
  1439. #define WM2200_OUT2LMIX_SRC3_MASK 0x007F /* OUT2LMIX_SRC3 - [6:0] */
  1440. #define WM2200_OUT2LMIX_SRC3_SHIFT 0 /* OUT2LMIX_SRC3 - [6:0] */
  1441. #define WM2200_OUT2LMIX_SRC3_WIDTH 7 /* OUT2LMIX_SRC3 - [6:0] */
  1442. /*
  1443. * R1557 (0x615) - OUT2LMIX Input 3 Volume
  1444. */
  1445. #define WM2200_OUT2LMIX_VOL3_MASK 0x00FE /* OUT2LMIX_VOL3 - [7:1] */
  1446. #define WM2200_OUT2LMIX_VOL3_SHIFT 1 /* OUT2LMIX_VOL3 - [7:1] */
  1447. #define WM2200_OUT2LMIX_VOL3_WIDTH 7 /* OUT2LMIX_VOL3 - [7:1] */
  1448. /*
  1449. * R1558 (0x616) - OUT2LMIX Input 4 Source
  1450. */
  1451. #define WM2200_OUT2LMIX_SRC4_MASK 0x007F /* OUT2LMIX_SRC4 - [6:0] */
  1452. #define WM2200_OUT2LMIX_SRC4_SHIFT 0 /* OUT2LMIX_SRC4 - [6:0] */
  1453. #define WM2200_OUT2LMIX_SRC4_WIDTH 7 /* OUT2LMIX_SRC4 - [6:0] */
  1454. /*
  1455. * R1559 (0x617) - OUT2LMIX Input 4 Volume
  1456. */
  1457. #define WM2200_OUT2LMIX_VOL4_MASK 0x00FE /* OUT2LMIX_VOL4 - [7:1] */
  1458. #define WM2200_OUT2LMIX_VOL4_SHIFT 1 /* OUT2LMIX_VOL4 - [7:1] */
  1459. #define WM2200_OUT2LMIX_VOL4_WIDTH 7 /* OUT2LMIX_VOL4 - [7:1] */
  1460. /*
  1461. * R1560 (0x618) - OUT2RMIX Input 1 Source
  1462. */
  1463. #define WM2200_OUT2RMIX_SRC1_MASK 0x007F /* OUT2RMIX_SRC1 - [6:0] */
  1464. #define WM2200_OUT2RMIX_SRC1_SHIFT 0 /* OUT2RMIX_SRC1 - [6:0] */
  1465. #define WM2200_OUT2RMIX_SRC1_WIDTH 7 /* OUT2RMIX_SRC1 - [6:0] */
  1466. /*
  1467. * R1561 (0x619) - OUT2RMIX Input 1 Volume
  1468. */
  1469. #define WM2200_OUT2RMIX_VOL1_MASK 0x00FE /* OUT2RMIX_VOL1 - [7:1] */
  1470. #define WM2200_OUT2RMIX_VOL1_SHIFT 1 /* OUT2RMIX_VOL1 - [7:1] */
  1471. #define WM2200_OUT2RMIX_VOL1_WIDTH 7 /* OUT2RMIX_VOL1 - [7:1] */
  1472. /*
  1473. * R1562 (0x61A) - OUT2RMIX Input 2 Source
  1474. */
  1475. #define WM2200_OUT2RMIX_SRC2_MASK 0x007F /* OUT2RMIX_SRC2 - [6:0] */
  1476. #define WM2200_OUT2RMIX_SRC2_SHIFT 0 /* OUT2RMIX_SRC2 - [6:0] */
  1477. #define WM2200_OUT2RMIX_SRC2_WIDTH 7 /* OUT2RMIX_SRC2 - [6:0] */
  1478. /*
  1479. * R1563 (0x61B) - OUT2RMIX Input 2 Volume
  1480. */
  1481. #define WM2200_OUT2RMIX_VOL2_MASK 0x00FE /* OUT2RMIX_VOL2 - [7:1] */
  1482. #define WM2200_OUT2RMIX_VOL2_SHIFT 1 /* OUT2RMIX_VOL2 - [7:1] */
  1483. #define WM2200_OUT2RMIX_VOL2_WIDTH 7 /* OUT2RMIX_VOL2 - [7:1] */
  1484. /*
  1485. * R1564 (0x61C) - OUT2RMIX Input 3 Source
  1486. */
  1487. #define WM2200_OUT2RMIX_SRC3_MASK 0x007F /* OUT2RMIX_SRC3 - [6:0] */
  1488. #define WM2200_OUT2RMIX_SRC3_SHIFT 0 /* OUT2RMIX_SRC3 - [6:0] */
  1489. #define WM2200_OUT2RMIX_SRC3_WIDTH 7 /* OUT2RMIX_SRC3 - [6:0] */
  1490. /*
  1491. * R1565 (0x61D) - OUT2RMIX Input 3 Volume
  1492. */
  1493. #define WM2200_OUT2RMIX_VOL3_MASK 0x00FE /* OUT2RMIX_VOL3 - [7:1] */
  1494. #define WM2200_OUT2RMIX_VOL3_SHIFT 1 /* OUT2RMIX_VOL3 - [7:1] */
  1495. #define WM2200_OUT2RMIX_VOL3_WIDTH 7 /* OUT2RMIX_VOL3 - [7:1] */
  1496. /*
  1497. * R1566 (0x61E) - OUT2RMIX Input 4 Source
  1498. */
  1499. #define WM2200_OUT2RMIX_SRC4_MASK 0x007F /* OUT2RMIX_SRC4 - [6:0] */
  1500. #define WM2200_OUT2RMIX_SRC4_SHIFT 0 /* OUT2RMIX_SRC4 - [6:0] */
  1501. #define WM2200_OUT2RMIX_SRC4_WIDTH 7 /* OUT2RMIX_SRC4 - [6:0] */
  1502. /*
  1503. * R1567 (0x61F) - OUT2RMIX Input 4 Volume
  1504. */
  1505. #define WM2200_OUT2RMIX_VOL4_MASK 0x00FE /* OUT2RMIX_VOL4 - [7:1] */
  1506. #define WM2200_OUT2RMIX_VOL4_SHIFT 1 /* OUT2RMIX_VOL4 - [7:1] */
  1507. #define WM2200_OUT2RMIX_VOL4_WIDTH 7 /* OUT2RMIX_VOL4 - [7:1] */
  1508. /*
  1509. * R1568 (0x620) - AIF1TX1MIX Input 1 Source
  1510. */
  1511. #define WM2200_AIF1TX1MIX_SRC1_MASK 0x007F /* AIF1TX1MIX_SRC1 - [6:0] */
  1512. #define WM2200_AIF1TX1MIX_SRC1_SHIFT 0 /* AIF1TX1MIX_SRC1 - [6:0] */
  1513. #define WM2200_AIF1TX1MIX_SRC1_WIDTH 7 /* AIF1TX1MIX_SRC1 - [6:0] */
  1514. /*
  1515. * R1569 (0x621) - AIF1TX1MIX Input 1 Volume
  1516. */
  1517. #define WM2200_AIF1TX1MIX_VOL1_MASK 0x00FE /* AIF1TX1MIX_VOL1 - [7:1] */
  1518. #define WM2200_AIF1TX1MIX_VOL1_SHIFT 1 /* AIF1TX1MIX_VOL1 - [7:1] */
  1519. #define WM2200_AIF1TX1MIX_VOL1_WIDTH 7 /* AIF1TX1MIX_VOL1 - [7:1] */
  1520. /*
  1521. * R1570 (0x622) - AIF1TX1MIX Input 2 Source
  1522. */
  1523. #define WM2200_AIF1TX1MIX_SRC2_MASK 0x007F /* AIF1TX1MIX_SRC2 - [6:0] */
  1524. #define WM2200_AIF1TX1MIX_SRC2_SHIFT 0 /* AIF1TX1MIX_SRC2 - [6:0] */
  1525. #define WM2200_AIF1TX1MIX_SRC2_WIDTH 7 /* AIF1TX1MIX_SRC2 - [6:0] */
  1526. /*
  1527. * R1571 (0x623) - AIF1TX1MIX Input 2 Volume
  1528. */
  1529. #define WM2200_AIF1TX1MIX_VOL2_MASK 0x00FE /* AIF1TX1MIX_VOL2 - [7:1] */
  1530. #define WM2200_AIF1TX1MIX_VOL2_SHIFT 1 /* AIF1TX1MIX_VOL2 - [7:1] */
  1531. #define WM2200_AIF1TX1MIX_VOL2_WIDTH 7 /* AIF1TX1MIX_VOL2 - [7:1] */
  1532. /*
  1533. * R1572 (0x624) - AIF1TX1MIX Input 3 Source
  1534. */
  1535. #define WM2200_AIF1TX1MIX_SRC3_MASK 0x007F /* AIF1TX1MIX_SRC3 - [6:0] */
  1536. #define WM2200_AIF1TX1MIX_SRC3_SHIFT 0 /* AIF1TX1MIX_SRC3 - [6:0] */
  1537. #define WM2200_AIF1TX1MIX_SRC3_WIDTH 7 /* AIF1TX1MIX_SRC3 - [6:0] */
  1538. /*
  1539. * R1573 (0x625) - AIF1TX1MIX Input 3 Volume
  1540. */
  1541. #define WM2200_AIF1TX1MIX_VOL3_MASK 0x00FE /* AIF1TX1MIX_VOL3 - [7:1] */
  1542. #define WM2200_AIF1TX1MIX_VOL3_SHIFT 1 /* AIF1TX1MIX_VOL3 - [7:1] */
  1543. #define WM2200_AIF1TX1MIX_VOL3_WIDTH 7 /* AIF1TX1MIX_VOL3 - [7:1] */
  1544. /*
  1545. * R1574 (0x626) - AIF1TX1MIX Input 4 Source
  1546. */
  1547. #define WM2200_AIF1TX1MIX_SRC4_MASK 0x007F /* AIF1TX1MIX_SRC4 - [6:0] */
  1548. #define WM2200_AIF1TX1MIX_SRC4_SHIFT 0 /* AIF1TX1MIX_SRC4 - [6:0] */
  1549. #define WM2200_AIF1TX1MIX_SRC4_WIDTH 7 /* AIF1TX1MIX_SRC4 - [6:0] */
  1550. /*
  1551. * R1575 (0x627) - AIF1TX1MIX Input 4 Volume
  1552. */
  1553. #define WM2200_AIF1TX1MIX_VOL4_MASK 0x00FE /* AIF1TX1MIX_VOL4 - [7:1] */
  1554. #define WM2200_AIF1TX1MIX_VOL4_SHIFT 1 /* AIF1TX1MIX_VOL4 - [7:1] */
  1555. #define WM2200_AIF1TX1MIX_VOL4_WIDTH 7 /* AIF1TX1MIX_VOL4 - [7:1] */
  1556. /*
  1557. * R1576 (0x628) - AIF1TX2MIX Input 1 Source
  1558. */
  1559. #define WM2200_AIF1TX2MIX_SRC1_MASK 0x007F /* AIF1TX2MIX_SRC1 - [6:0] */
  1560. #define WM2200_AIF1TX2MIX_SRC1_SHIFT 0 /* AIF1TX2MIX_SRC1 - [6:0] */
  1561. #define WM2200_AIF1TX2MIX_SRC1_WIDTH 7 /* AIF1TX2MIX_SRC1 - [6:0] */
  1562. /*
  1563. * R1577 (0x629) - AIF1TX2MIX Input 1 Volume
  1564. */
  1565. #define WM2200_AIF1TX2MIX_VOL1_MASK 0x00FE /* AIF1TX2MIX_VOL1 - [7:1] */
  1566. #define WM2200_AIF1TX2MIX_VOL1_SHIFT 1 /* AIF1TX2MIX_VOL1 - [7:1] */
  1567. #define WM2200_AIF1TX2MIX_VOL1_WIDTH 7 /* AIF1TX2MIX_VOL1 - [7:1] */
  1568. /*
  1569. * R1578 (0x62A) - AIF1TX2MIX Input 2 Source
  1570. */
  1571. #define WM2200_AIF1TX2MIX_SRC2_MASK 0x007F /* AIF1TX2MIX_SRC2 - [6:0] */
  1572. #define WM2200_AIF1TX2MIX_SRC2_SHIFT 0 /* AIF1TX2MIX_SRC2 - [6:0] */
  1573. #define WM2200_AIF1TX2MIX_SRC2_WIDTH 7 /* AIF1TX2MIX_SRC2 - [6:0] */
  1574. /*
  1575. * R1579 (0x62B) - AIF1TX2MIX Input 2 Volume
  1576. */
  1577. #define WM2200_AIF1TX2MIX_VOL2_MASK 0x00FE /* AIF1TX2MIX_VOL2 - [7:1] */
  1578. #define WM2200_AIF1TX2MIX_VOL2_SHIFT 1 /* AIF1TX2MIX_VOL2 - [7:1] */
  1579. #define WM2200_AIF1TX2MIX_VOL2_WIDTH 7 /* AIF1TX2MIX_VOL2 - [7:1] */
  1580. /*
  1581. * R1580 (0x62C) - AIF1TX2MIX Input 3 Source
  1582. */
  1583. #define WM2200_AIF1TX2MIX_SRC3_MASK 0x007F /* AIF1TX2MIX_SRC3 - [6:0] */
  1584. #define WM2200_AIF1TX2MIX_SRC3_SHIFT 0 /* AIF1TX2MIX_SRC3 - [6:0] */
  1585. #define WM2200_AIF1TX2MIX_SRC3_WIDTH 7 /* AIF1TX2MIX_SRC3 - [6:0] */
  1586. /*
  1587. * R1581 (0x62D) - AIF1TX2MIX Input 3 Volume
  1588. */
  1589. #define WM2200_AIF1TX2MIX_VOL3_MASK 0x00FE /* AIF1TX2MIX_VOL3 - [7:1] */
  1590. #define WM2200_AIF1TX2MIX_VOL3_SHIFT 1 /* AIF1TX2MIX_VOL3 - [7:1] */
  1591. #define WM2200_AIF1TX2MIX_VOL3_WIDTH 7 /* AIF1TX2MIX_VOL3 - [7:1] */
  1592. /*
  1593. * R1582 (0x62E) - AIF1TX2MIX Input 4 Source
  1594. */
  1595. #define WM2200_AIF1TX2MIX_SRC4_MASK 0x007F /* AIF1TX2MIX_SRC4 - [6:0] */
  1596. #define WM2200_AIF1TX2MIX_SRC4_SHIFT 0 /* AIF1TX2MIX_SRC4 - [6:0] */
  1597. #define WM2200_AIF1TX2MIX_SRC4_WIDTH 7 /* AIF1TX2MIX_SRC4 - [6:0] */
  1598. /*
  1599. * R1583 (0x62F) - AIF1TX2MIX Input 4 Volume
  1600. */
  1601. #define WM2200_AIF1TX2MIX_VOL4_MASK 0x00FE /* AIF1TX2MIX_VOL4 - [7:1] */
  1602. #define WM2200_AIF1TX2MIX_VOL4_SHIFT 1 /* AIF1TX2MIX_VOL4 - [7:1] */
  1603. #define WM2200_AIF1TX2MIX_VOL4_WIDTH 7 /* AIF1TX2MIX_VOL4 - [7:1] */
  1604. /*
  1605. * R1584 (0x630) - AIF1TX3MIX Input 1 Source
  1606. */
  1607. #define WM2200_AIF1TX3MIX_SRC1_MASK 0x007F /* AIF1TX3MIX_SRC1 - [6:0] */
  1608. #define WM2200_AIF1TX3MIX_SRC1_SHIFT 0 /* AIF1TX3MIX_SRC1 - [6:0] */
  1609. #define WM2200_AIF1TX3MIX_SRC1_WIDTH 7 /* AIF1TX3MIX_SRC1 - [6:0] */
  1610. /*
  1611. * R1585 (0x631) - AIF1TX3MIX Input 1 Volume
  1612. */
  1613. #define WM2200_AIF1TX3MIX_VOL1_MASK 0x00FE /* AIF1TX3MIX_VOL1 - [7:1] */
  1614. #define WM2200_AIF1TX3MIX_VOL1_SHIFT 1 /* AIF1TX3MIX_VOL1 - [7:1] */
  1615. #define WM2200_AIF1TX3MIX_VOL1_WIDTH 7 /* AIF1TX3MIX_VOL1 - [7:1] */
  1616. /*
  1617. * R1586 (0x632) - AIF1TX3MIX Input 2 Source
  1618. */
  1619. #define WM2200_AIF1TX3MIX_SRC2_MASK 0x007F /* AIF1TX3MIX_SRC2 - [6:0] */
  1620. #define WM2200_AIF1TX3MIX_SRC2_SHIFT 0 /* AIF1TX3MIX_SRC2 - [6:0] */
  1621. #define WM2200_AIF1TX3MIX_SRC2_WIDTH 7 /* AIF1TX3MIX_SRC2 - [6:0] */
  1622. /*
  1623. * R1587 (0x633) - AIF1TX3MIX Input 2 Volume
  1624. */
  1625. #define WM2200_AIF1TX3MIX_VOL2_MASK 0x00FE /* AIF1TX3MIX_VOL2 - [7:1] */
  1626. #define WM2200_AIF1TX3MIX_VOL2_SHIFT 1 /* AIF1TX3MIX_VOL2 - [7:1] */
  1627. #define WM2200_AIF1TX3MIX_VOL2_WIDTH 7 /* AIF1TX3MIX_VOL2 - [7:1] */
  1628. /*
  1629. * R1588 (0x634) - AIF1TX3MIX Input 3 Source
  1630. */
  1631. #define WM2200_AIF1TX3MIX_SRC3_MASK 0x007F /* AIF1TX3MIX_SRC3 - [6:0] */
  1632. #define WM2200_AIF1TX3MIX_SRC3_SHIFT 0 /* AIF1TX3MIX_SRC3 - [6:0] */
  1633. #define WM2200_AIF1TX3MIX_SRC3_WIDTH 7 /* AIF1TX3MIX_SRC3 - [6:0] */
  1634. /*
  1635. * R1589 (0x635) - AIF1TX3MIX Input 3 Volume
  1636. */
  1637. #define WM2200_AIF1TX3MIX_VOL3_MASK 0x00FE /* AIF1TX3MIX_VOL3 - [7:1] */
  1638. #define WM2200_AIF1TX3MIX_VOL3_SHIFT 1 /* AIF1TX3MIX_VOL3 - [7:1] */
  1639. #define WM2200_AIF1TX3MIX_VOL3_WIDTH 7 /* AIF1TX3MIX_VOL3 - [7:1] */
  1640. /*
  1641. * R1590 (0x636) - AIF1TX3MIX Input 4 Source
  1642. */
  1643. #define WM2200_AIF1TX3MIX_SRC4_MASK 0x007F /* AIF1TX3MIX_SRC4 - [6:0] */
  1644. #define WM2200_AIF1TX3MIX_SRC4_SHIFT 0 /* AIF1TX3MIX_SRC4 - [6:0] */
  1645. #define WM2200_AIF1TX3MIX_SRC4_WIDTH 7 /* AIF1TX3MIX_SRC4 - [6:0] */
  1646. /*
  1647. * R1591 (0x637) - AIF1TX3MIX Input 4 Volume
  1648. */
  1649. #define WM2200_AIF1TX3MIX_VOL4_MASK 0x00FE /* AIF1TX3MIX_VOL4 - [7:1] */
  1650. #define WM2200_AIF1TX3MIX_VOL4_SHIFT 1 /* AIF1TX3MIX_VOL4 - [7:1] */
  1651. #define WM2200_AIF1TX3MIX_VOL4_WIDTH 7 /* AIF1TX3MIX_VOL4 - [7:1] */
  1652. /*
  1653. * R1592 (0x638) - AIF1TX4MIX Input 1 Source
  1654. */
  1655. #define WM2200_AIF1TX4MIX_SRC1_MASK 0x007F /* AIF1TX4MIX_SRC1 - [6:0] */
  1656. #define WM2200_AIF1TX4MIX_SRC1_SHIFT 0 /* AIF1TX4MIX_SRC1 - [6:0] */
  1657. #define WM2200_AIF1TX4MIX_SRC1_WIDTH 7 /* AIF1TX4MIX_SRC1 - [6:0] */
  1658. /*
  1659. * R1593 (0x639) - AIF1TX4MIX Input 1 Volume
  1660. */
  1661. #define WM2200_AIF1TX4MIX_VOL1_MASK 0x00FE /* AIF1TX4MIX_VOL1 - [7:1] */
  1662. #define WM2200_AIF1TX4MIX_VOL1_SHIFT 1 /* AIF1TX4MIX_VOL1 - [7:1] */
  1663. #define WM2200_AIF1TX4MIX_VOL1_WIDTH 7 /* AIF1TX4MIX_VOL1 - [7:1] */
  1664. /*
  1665. * R1594 (0x63A) - AIF1TX4MIX Input 2 Source
  1666. */
  1667. #define WM2200_AIF1TX4MIX_SRC2_MASK 0x007F /* AIF1TX4MIX_SRC2 - [6:0] */
  1668. #define WM2200_AIF1TX4MIX_SRC2_SHIFT 0 /* AIF1TX4MIX_SRC2 - [6:0] */
  1669. #define WM2200_AIF1TX4MIX_SRC2_WIDTH 7 /* AIF1TX4MIX_SRC2 - [6:0] */
  1670. /*
  1671. * R1595 (0x63B) - AIF1TX4MIX Input 2 Volume
  1672. */
  1673. #define WM2200_AIF1TX4MIX_VOL2_MASK 0x00FE /* AIF1TX4MIX_VOL2 - [7:1] */
  1674. #define WM2200_AIF1TX4MIX_VOL2_SHIFT 1 /* AIF1TX4MIX_VOL2 - [7:1] */
  1675. #define WM2200_AIF1TX4MIX_VOL2_WIDTH 7 /* AIF1TX4MIX_VOL2 - [7:1] */
  1676. /*
  1677. * R1596 (0x63C) - AIF1TX4MIX Input 3 Source
  1678. */
  1679. #define WM2200_AIF1TX4MIX_SRC3_MASK 0x007F /* AIF1TX4MIX_SRC3 - [6:0] */
  1680. #define WM2200_AIF1TX4MIX_SRC3_SHIFT 0 /* AIF1TX4MIX_SRC3 - [6:0] */
  1681. #define WM2200_AIF1TX4MIX_SRC3_WIDTH 7 /* AIF1TX4MIX_SRC3 - [6:0] */
  1682. /*
  1683. * R1597 (0x63D) - AIF1TX4MIX Input 3 Volume
  1684. */
  1685. #define WM2200_AIF1TX4MIX_VOL3_MASK 0x00FE /* AIF1TX4MIX_VOL3 - [7:1] */
  1686. #define WM2200_AIF1TX4MIX_VOL3_SHIFT 1 /* AIF1TX4MIX_VOL3 - [7:1] */
  1687. #define WM2200_AIF1TX4MIX_VOL3_WIDTH 7 /* AIF1TX4MIX_VOL3 - [7:1] */
  1688. /*
  1689. * R1598 (0x63E) - AIF1TX4MIX Input 4 Source
  1690. */
  1691. #define WM2200_AIF1TX4MIX_SRC4_MASK 0x007F /* AIF1TX4MIX_SRC4 - [6:0] */
  1692. #define WM2200_AIF1TX4MIX_SRC4_SHIFT 0 /* AIF1TX4MIX_SRC4 - [6:0] */
  1693. #define WM2200_AIF1TX4MIX_SRC4_WIDTH 7 /* AIF1TX4MIX_SRC4 - [6:0] */
  1694. /*
  1695. * R1599 (0x63F) - AIF1TX4MIX Input 4 Volume
  1696. */
  1697. #define WM2200_AIF1TX4MIX_VOL4_MASK 0x00FE /* AIF1TX4MIX_VOL4 - [7:1] */
  1698. #define WM2200_AIF1TX4MIX_VOL4_SHIFT 1 /* AIF1TX4MIX_VOL4 - [7:1] */
  1699. #define WM2200_AIF1TX4MIX_VOL4_WIDTH 7 /* AIF1TX4MIX_VOL4 - [7:1] */
  1700. /*
  1701. * R1600 (0x640) - AIF1TX5MIX Input 1 Source
  1702. */
  1703. #define WM2200_AIF1TX5MIX_SRC1_MASK 0x007F /* AIF1TX5MIX_SRC1 - [6:0] */
  1704. #define WM2200_AIF1TX5MIX_SRC1_SHIFT 0 /* AIF1TX5MIX_SRC1 - [6:0] */
  1705. #define WM2200_AIF1TX5MIX_SRC1_WIDTH 7 /* AIF1TX5MIX_SRC1 - [6:0] */
  1706. /*
  1707. * R1601 (0x641) - AIF1TX5MIX Input 1 Volume
  1708. */
  1709. #define WM2200_AIF1TX5MIX_VOL1_MASK 0x00FE /* AIF1TX5MIX_VOL1 - [7:1] */
  1710. #define WM2200_AIF1TX5MIX_VOL1_SHIFT 1 /* AIF1TX5MIX_VOL1 - [7:1] */
  1711. #define WM2200_AIF1TX5MIX_VOL1_WIDTH 7 /* AIF1TX5MIX_VOL1 - [7:1] */
  1712. /*
  1713. * R1602 (0x642) - AIF1TX5MIX Input 2 Source
  1714. */
  1715. #define WM2200_AIF1TX5MIX_SRC2_MASK 0x007F /* AIF1TX5MIX_SRC2 - [6:0] */
  1716. #define WM2200_AIF1TX5MIX_SRC2_SHIFT 0 /* AIF1TX5MIX_SRC2 - [6:0] */
  1717. #define WM2200_AIF1TX5MIX_SRC2_WIDTH 7 /* AIF1TX5MIX_SRC2 - [6:0] */
  1718. /*
  1719. * R1603 (0x643) - AIF1TX5MIX Input 2 Volume
  1720. */
  1721. #define WM2200_AIF1TX5MIX_VOL2_MASK 0x00FE /* AIF1TX5MIX_VOL2 - [7:1] */
  1722. #define WM2200_AIF1TX5MIX_VOL2_SHIFT 1 /* AIF1TX5MIX_VOL2 - [7:1] */
  1723. #define WM2200_AIF1TX5MIX_VOL2_WIDTH 7 /* AIF1TX5MIX_VOL2 - [7:1] */
  1724. /*
  1725. * R1604 (0x644) - AIF1TX5MIX Input 3 Source
  1726. */
  1727. #define WM2200_AIF1TX5MIX_SRC3_MASK 0x007F /* AIF1TX5MIX_SRC3 - [6:0] */
  1728. #define WM2200_AIF1TX5MIX_SRC3_SHIFT 0 /* AIF1TX5MIX_SRC3 - [6:0] */
  1729. #define WM2200_AIF1TX5MIX_SRC3_WIDTH 7 /* AIF1TX5MIX_SRC3 - [6:0] */
  1730. /*
  1731. * R1605 (0x645) - AIF1TX5MIX Input 3 Volume
  1732. */
  1733. #define WM2200_AIF1TX5MIX_VOL3_MASK 0x00FE /* AIF1TX5MIX_VOL3 - [7:1] */
  1734. #define WM2200_AIF1TX5MIX_VOL3_SHIFT 1 /* AIF1TX5MIX_VOL3 - [7:1] */
  1735. #define WM2200_AIF1TX5MIX_VOL3_WIDTH 7 /* AIF1TX5MIX_VOL3 - [7:1] */
  1736. /*
  1737. * R1606 (0x646) - AIF1TX5MIX Input 4 Source
  1738. */
  1739. #define WM2200_AIF1TX5MIX_SRC4_MASK 0x007F /* AIF1TX5MIX_SRC4 - [6:0] */
  1740. #define WM2200_AIF1TX5MIX_SRC4_SHIFT 0 /* AIF1TX5MIX_SRC4 - [6:0] */
  1741. #define WM2200_AIF1TX5MIX_SRC4_WIDTH 7 /* AIF1TX5MIX_SRC4 - [6:0] */
  1742. /*
  1743. * R1607 (0x647) - AIF1TX5MIX Input 4 Volume
  1744. */
  1745. #define WM2200_AIF1TX5MIX_VOL4_MASK 0x00FE /* AIF1TX5MIX_VOL4 - [7:1] */
  1746. #define WM2200_AIF1TX5MIX_VOL4_SHIFT 1 /* AIF1TX5MIX_VOL4 - [7:1] */
  1747. #define WM2200_AIF1TX5MIX_VOL4_WIDTH 7 /* AIF1TX5MIX_VOL4 - [7:1] */
  1748. /*
  1749. * R1608 (0x648) - AIF1TX6MIX Input 1 Source
  1750. */
  1751. #define WM2200_AIF1TX6MIX_SRC1_MASK 0x007F /* AIF1TX6MIX_SRC1 - [6:0] */
  1752. #define WM2200_AIF1TX6MIX_SRC1_SHIFT 0 /* AIF1TX6MIX_SRC1 - [6:0] */
  1753. #define WM2200_AIF1TX6MIX_SRC1_WIDTH 7 /* AIF1TX6MIX_SRC1 - [6:0] */
  1754. /*
  1755. * R1609 (0x649) - AIF1TX6MIX Input 1 Volume
  1756. */
  1757. #define WM2200_AIF1TX6MIX_VOL1_MASK 0x00FE /* AIF1TX6MIX_VOL1 - [7:1] */
  1758. #define WM2200_AIF1TX6MIX_VOL1_SHIFT 1 /* AIF1TX6MIX_VOL1 - [7:1] */
  1759. #define WM2200_AIF1TX6MIX_VOL1_WIDTH 7 /* AIF1TX6MIX_VOL1 - [7:1] */
  1760. /*
  1761. * R1610 (0x64A) - AIF1TX6MIX Input 2 Source
  1762. */
  1763. #define WM2200_AIF1TX6MIX_SRC2_MASK 0x007F /* AIF1TX6MIX_SRC2 - [6:0] */
  1764. #define WM2200_AIF1TX6MIX_SRC2_SHIFT 0 /* AIF1TX6MIX_SRC2 - [6:0] */
  1765. #define WM2200_AIF1TX6MIX_SRC2_WIDTH 7 /* AIF1TX6MIX_SRC2 - [6:0] */
  1766. /*
  1767. * R1611 (0x64B) - AIF1TX6MIX Input 2 Volume
  1768. */
  1769. #define WM2200_AIF1TX6MIX_VOL2_MASK 0x00FE /* AIF1TX6MIX_VOL2 - [7:1] */
  1770. #define WM2200_AIF1TX6MIX_VOL2_SHIFT 1 /* AIF1TX6MIX_VOL2 - [7:1] */
  1771. #define WM2200_AIF1TX6MIX_VOL2_WIDTH 7 /* AIF1TX6MIX_VOL2 - [7:1] */
  1772. /*
  1773. * R1612 (0x64C) - AIF1TX6MIX Input 3 Source
  1774. */
  1775. #define WM2200_AIF1TX6MIX_SRC3_MASK 0x007F /* AIF1TX6MIX_SRC3 - [6:0] */
  1776. #define WM2200_AIF1TX6MIX_SRC3_SHIFT 0 /* AIF1TX6MIX_SRC3 - [6:0] */
  1777. #define WM2200_AIF1TX6MIX_SRC3_WIDTH 7 /* AIF1TX6MIX_SRC3 - [6:0] */
  1778. /*
  1779. * R1613 (0x64D) - AIF1TX6MIX Input 3 Volume
  1780. */
  1781. #define WM2200_AIF1TX6MIX_VOL3_MASK 0x00FE /* AIF1TX6MIX_VOL3 - [7:1] */
  1782. #define WM2200_AIF1TX6MIX_VOL3_SHIFT 1 /* AIF1TX6MIX_VOL3 - [7:1] */
  1783. #define WM2200_AIF1TX6MIX_VOL3_WIDTH 7 /* AIF1TX6MIX_VOL3 - [7:1] */
  1784. /*
  1785. * R1614 (0x64E) - AIF1TX6MIX Input 4 Source
  1786. */
  1787. #define WM2200_AIF1TX6MIX_SRC4_MASK 0x007F /* AIF1TX6MIX_SRC4 - [6:0] */
  1788. #define WM2200_AIF1TX6MIX_SRC4_SHIFT 0 /* AIF1TX6MIX_SRC4 - [6:0] */
  1789. #define WM2200_AIF1TX6MIX_SRC4_WIDTH 7 /* AIF1TX6MIX_SRC4 - [6:0] */
  1790. /*
  1791. * R1615 (0x64F) - AIF1TX6MIX Input 4 Volume
  1792. */
  1793. #define WM2200_AIF1TX6MIX_VOL4_MASK 0x00FE /* AIF1TX6MIX_VOL4 - [7:1] */
  1794. #define WM2200_AIF1TX6MIX_VOL4_SHIFT 1 /* AIF1TX6MIX_VOL4 - [7:1] */
  1795. #define WM2200_AIF1TX6MIX_VOL4_WIDTH 7 /* AIF1TX6MIX_VOL4 - [7:1] */
  1796. /*
  1797. * R1616 (0x650) - EQLMIX Input 1 Source
  1798. */
  1799. #define WM2200_EQLMIX_SRC1_MASK 0x007F /* EQLMIX_SRC1 - [6:0] */
  1800. #define WM2200_EQLMIX_SRC1_SHIFT 0 /* EQLMIX_SRC1 - [6:0] */
  1801. #define WM2200_EQLMIX_SRC1_WIDTH 7 /* EQLMIX_SRC1 - [6:0] */
  1802. /*
  1803. * R1617 (0x651) - EQLMIX Input 1 Volume
  1804. */
  1805. #define WM2200_EQLMIX_VOL1_MASK 0x00FE /* EQLMIX_VOL1 - [7:1] */
  1806. #define WM2200_EQLMIX_VOL1_SHIFT 1 /* EQLMIX_VOL1 - [7:1] */
  1807. #define WM2200_EQLMIX_VOL1_WIDTH 7 /* EQLMIX_VOL1 - [7:1] */
  1808. /*
  1809. * R1618 (0x652) - EQLMIX Input 2 Source
  1810. */
  1811. #define WM2200_EQLMIX_SRC2_MASK 0x007F /* EQLMIX_SRC2 - [6:0] */
  1812. #define WM2200_EQLMIX_SRC2_SHIFT 0 /* EQLMIX_SRC2 - [6:0] */
  1813. #define WM2200_EQLMIX_SRC2_WIDTH 7 /* EQLMIX_SRC2 - [6:0] */
  1814. /*
  1815. * R1619 (0x653) - EQLMIX Input 2 Volume
  1816. */
  1817. #define WM2200_EQLMIX_VOL2_MASK 0x00FE /* EQLMIX_VOL2 - [7:1] */
  1818. #define WM2200_EQLMIX_VOL2_SHIFT 1 /* EQLMIX_VOL2 - [7:1] */
  1819. #define WM2200_EQLMIX_VOL2_WIDTH 7 /* EQLMIX_VOL2 - [7:1] */
  1820. /*
  1821. * R1620 (0x654) - EQLMIX Input 3 Source
  1822. */
  1823. #define WM2200_EQLMIX_SRC3_MASK 0x007F /* EQLMIX_SRC3 - [6:0] */
  1824. #define WM2200_EQLMIX_SRC3_SHIFT 0 /* EQLMIX_SRC3 - [6:0] */
  1825. #define WM2200_EQLMIX_SRC3_WIDTH 7 /* EQLMIX_SRC3 - [6:0] */
  1826. /*
  1827. * R1621 (0x655) - EQLMIX Input 3 Volume
  1828. */
  1829. #define WM2200_EQLMIX_VOL3_MASK 0x00FE /* EQLMIX_VOL3 - [7:1] */
  1830. #define WM2200_EQLMIX_VOL3_SHIFT 1 /* EQLMIX_VOL3 - [7:1] */
  1831. #define WM2200_EQLMIX_VOL3_WIDTH 7 /* EQLMIX_VOL3 - [7:1] */
  1832. /*
  1833. * R1622 (0x656) - EQLMIX Input 4 Source
  1834. */
  1835. #define WM2200_EQLMIX_SRC4_MASK 0x007F /* EQLMIX_SRC4 - [6:0] */
  1836. #define WM2200_EQLMIX_SRC4_SHIFT 0 /* EQLMIX_SRC4 - [6:0] */
  1837. #define WM2200_EQLMIX_SRC4_WIDTH 7 /* EQLMIX_SRC4 - [6:0] */
  1838. /*
  1839. * R1623 (0x657) - EQLMIX Input 4 Volume
  1840. */
  1841. #define WM2200_EQLMIX_VOL4_MASK 0x00FE /* EQLMIX_VOL4 - [7:1] */
  1842. #define WM2200_EQLMIX_VOL4_SHIFT 1 /* EQLMIX_VOL4 - [7:1] */
  1843. #define WM2200_EQLMIX_VOL4_WIDTH 7 /* EQLMIX_VOL4 - [7:1] */
  1844. /*
  1845. * R1624 (0x658) - EQRMIX Input 1 Source
  1846. */
  1847. #define WM2200_EQRMIX_SRC1_MASK 0x007F /* EQRMIX_SRC1 - [6:0] */
  1848. #define WM2200_EQRMIX_SRC1_SHIFT 0 /* EQRMIX_SRC1 - [6:0] */
  1849. #define WM2200_EQRMIX_SRC1_WIDTH 7 /* EQRMIX_SRC1 - [6:0] */
  1850. /*
  1851. * R1625 (0x659) - EQRMIX Input 1 Volume
  1852. */
  1853. #define WM2200_EQRMIX_VOL1_MASK 0x00FE /* EQRMIX_VOL1 - [7:1] */
  1854. #define WM2200_EQRMIX_VOL1_SHIFT 1 /* EQRMIX_VOL1 - [7:1] */
  1855. #define WM2200_EQRMIX_VOL1_WIDTH 7 /* EQRMIX_VOL1 - [7:1] */
  1856. /*
  1857. * R1626 (0x65A) - EQRMIX Input 2 Source
  1858. */
  1859. #define WM2200_EQRMIX_SRC2_MASK 0x007F /* EQRMIX_SRC2 - [6:0] */
  1860. #define WM2200_EQRMIX_SRC2_SHIFT 0 /* EQRMIX_SRC2 - [6:0] */
  1861. #define WM2200_EQRMIX_SRC2_WIDTH 7 /* EQRMIX_SRC2 - [6:0] */
  1862. /*
  1863. * R1627 (0x65B) - EQRMIX Input 2 Volume
  1864. */
  1865. #define WM2200_EQRMIX_VOL2_MASK 0x00FE /* EQRMIX_VOL2 - [7:1] */
  1866. #define WM2200_EQRMIX_VOL2_SHIFT 1 /* EQRMIX_VOL2 - [7:1] */
  1867. #define WM2200_EQRMIX_VOL2_WIDTH 7 /* EQRMIX_VOL2 - [7:1] */
  1868. /*
  1869. * R1628 (0x65C) - EQRMIX Input 3 Source
  1870. */
  1871. #define WM2200_EQRMIX_SRC3_MASK 0x007F /* EQRMIX_SRC3 - [6:0] */
  1872. #define WM2200_EQRMIX_SRC3_SHIFT 0 /* EQRMIX_SRC3 - [6:0] */
  1873. #define WM2200_EQRMIX_SRC3_WIDTH 7 /* EQRMIX_SRC3 - [6:0] */
  1874. /*
  1875. * R1629 (0x65D) - EQRMIX Input 3 Volume
  1876. */
  1877. #define WM2200_EQRMIX_VOL3_MASK 0x00FE /* EQRMIX_VOL3 - [7:1] */
  1878. #define WM2200_EQRMIX_VOL3_SHIFT 1 /* EQRMIX_VOL3 - [7:1] */
  1879. #define WM2200_EQRMIX_VOL3_WIDTH 7 /* EQRMIX_VOL3 - [7:1] */
  1880. /*
  1881. * R1630 (0x65E) - EQRMIX Input 4 Source
  1882. */
  1883. #define WM2200_EQRMIX_SRC4_MASK 0x007F /* EQRMIX_SRC4 - [6:0] */
  1884. #define WM2200_EQRMIX_SRC4_SHIFT 0 /* EQRMIX_SRC4 - [6:0] */
  1885. #define WM2200_EQRMIX_SRC4_WIDTH 7 /* EQRMIX_SRC4 - [6:0] */
  1886. /*
  1887. * R1631 (0x65F) - EQRMIX Input 4 Volume
  1888. */
  1889. #define WM2200_EQRMIX_VOL4_MASK 0x00FE /* EQRMIX_VOL4 - [7:1] */
  1890. #define WM2200_EQRMIX_VOL4_SHIFT 1 /* EQRMIX_VOL4 - [7:1] */
  1891. #define WM2200_EQRMIX_VOL4_WIDTH 7 /* EQRMIX_VOL4 - [7:1] */
  1892. /*
  1893. * R1632 (0x660) - LHPF1MIX Input 1 Source
  1894. */
  1895. #define WM2200_LHPF1MIX_SRC1_MASK 0x007F /* LHPF1MIX_SRC1 - [6:0] */
  1896. #define WM2200_LHPF1MIX_SRC1_SHIFT 0 /* LHPF1MIX_SRC1 - [6:0] */
  1897. #define WM2200_LHPF1MIX_SRC1_WIDTH 7 /* LHPF1MIX_SRC1 - [6:0] */
  1898. /*
  1899. * R1633 (0x661) - LHPF1MIX Input 1 Volume
  1900. */
  1901. #define WM2200_LHPF1MIX_VOL1_MASK 0x00FE /* LHPF1MIX_VOL1 - [7:1] */
  1902. #define WM2200_LHPF1MIX_VOL1_SHIFT 1 /* LHPF1MIX_VOL1 - [7:1] */
  1903. #define WM2200_LHPF1MIX_VOL1_WIDTH 7 /* LHPF1MIX_VOL1 - [7:1] */
  1904. /*
  1905. * R1634 (0x662) - LHPF1MIX Input 2 Source
  1906. */
  1907. #define WM2200_LHPF1MIX_SRC2_MASK 0x007F /* LHPF1MIX_SRC2 - [6:0] */
  1908. #define WM2200_LHPF1MIX_SRC2_SHIFT 0 /* LHPF1MIX_SRC2 - [6:0] */
  1909. #define WM2200_LHPF1MIX_SRC2_WIDTH 7 /* LHPF1MIX_SRC2 - [6:0] */
  1910. /*
  1911. * R1635 (0x663) - LHPF1MIX Input 2 Volume
  1912. */
  1913. #define WM2200_LHPF1MIX_VOL2_MASK 0x00FE /* LHPF1MIX_VOL2 - [7:1] */
  1914. #define WM2200_LHPF1MIX_VOL2_SHIFT 1 /* LHPF1MIX_VOL2 - [7:1] */
  1915. #define WM2200_LHPF1MIX_VOL2_WIDTH 7 /* LHPF1MIX_VOL2 - [7:1] */
  1916. /*
  1917. * R1636 (0x664) - LHPF1MIX Input 3 Source
  1918. */
  1919. #define WM2200_LHPF1MIX_SRC3_MASK 0x007F /* LHPF1MIX_SRC3 - [6:0] */
  1920. #define WM2200_LHPF1MIX_SRC3_SHIFT 0 /* LHPF1MIX_SRC3 - [6:0] */
  1921. #define WM2200_LHPF1MIX_SRC3_WIDTH 7 /* LHPF1MIX_SRC3 - [6:0] */
  1922. /*
  1923. * R1637 (0x665) - LHPF1MIX Input 3 Volume
  1924. */
  1925. #define WM2200_LHPF1MIX_VOL3_MASK 0x00FE /* LHPF1MIX_VOL3 - [7:1] */
  1926. #define WM2200_LHPF1MIX_VOL3_SHIFT 1 /* LHPF1MIX_VOL3 - [7:1] */
  1927. #define WM2200_LHPF1MIX_VOL3_WIDTH 7 /* LHPF1MIX_VOL3 - [7:1] */
  1928. /*
  1929. * R1638 (0x666) - LHPF1MIX Input 4 Source
  1930. */
  1931. #define WM2200_LHPF1MIX_SRC4_MASK 0x007F /* LHPF1MIX_SRC4 - [6:0] */
  1932. #define WM2200_LHPF1MIX_SRC4_SHIFT 0 /* LHPF1MIX_SRC4 - [6:0] */
  1933. #define WM2200_LHPF1MIX_SRC4_WIDTH 7 /* LHPF1MIX_SRC4 - [6:0] */
  1934. /*
  1935. * R1639 (0x667) - LHPF1MIX Input 4 Volume
  1936. */
  1937. #define WM2200_LHPF1MIX_VOL4_MASK 0x00FE /* LHPF1MIX_VOL4 - [7:1] */
  1938. #define WM2200_LHPF1MIX_VOL4_SHIFT 1 /* LHPF1MIX_VOL4 - [7:1] */
  1939. #define WM2200_LHPF1MIX_VOL4_WIDTH 7 /* LHPF1MIX_VOL4 - [7:1] */
  1940. /*
  1941. * R1640 (0x668) - LHPF2MIX Input 1 Source
  1942. */
  1943. #define WM2200_LHPF2MIX_SRC1_MASK 0x007F /* LHPF2MIX_SRC1 - [6:0] */
  1944. #define WM2200_LHPF2MIX_SRC1_SHIFT 0 /* LHPF2MIX_SRC1 - [6:0] */
  1945. #define WM2200_LHPF2MIX_SRC1_WIDTH 7 /* LHPF2MIX_SRC1 - [6:0] */
  1946. /*
  1947. * R1641 (0x669) - LHPF2MIX Input 1 Volume
  1948. */
  1949. #define WM2200_LHPF2MIX_VOL1_MASK 0x00FE /* LHPF2MIX_VOL1 - [7:1] */
  1950. #define WM2200_LHPF2MIX_VOL1_SHIFT 1 /* LHPF2MIX_VOL1 - [7:1] */
  1951. #define WM2200_LHPF2MIX_VOL1_WIDTH 7 /* LHPF2MIX_VOL1 - [7:1] */
  1952. /*
  1953. * R1642 (0x66A) - LHPF2MIX Input 2 Source
  1954. */
  1955. #define WM2200_LHPF2MIX_SRC2_MASK 0x007F /* LHPF2MIX_SRC2 - [6:0] */
  1956. #define WM2200_LHPF2MIX_SRC2_SHIFT 0 /* LHPF2MIX_SRC2 - [6:0] */
  1957. #define WM2200_LHPF2MIX_SRC2_WIDTH 7 /* LHPF2MIX_SRC2 - [6:0] */
  1958. /*
  1959. * R1643 (0x66B) - LHPF2MIX Input 2 Volume
  1960. */
  1961. #define WM2200_LHPF2MIX_VOL2_MASK 0x00FE /* LHPF2MIX_VOL2 - [7:1] */
  1962. #define WM2200_LHPF2MIX_VOL2_SHIFT 1 /* LHPF2MIX_VOL2 - [7:1] */
  1963. #define WM2200_LHPF2MIX_VOL2_WIDTH 7 /* LHPF2MIX_VOL2 - [7:1] */
  1964. /*
  1965. * R1644 (0x66C) - LHPF2MIX Input 3 Source
  1966. */
  1967. #define WM2200_LHPF2MIX_SRC3_MASK 0x007F /* LHPF2MIX_SRC3 - [6:0] */
  1968. #define WM2200_LHPF2MIX_SRC3_SHIFT 0 /* LHPF2MIX_SRC3 - [6:0] */
  1969. #define WM2200_LHPF2MIX_SRC3_WIDTH 7 /* LHPF2MIX_SRC3 - [6:0] */
  1970. /*
  1971. * R1645 (0x66D) - LHPF2MIX Input 3 Volume
  1972. */
  1973. #define WM2200_LHPF2MIX_VOL3_MASK 0x00FE /* LHPF2MIX_VOL3 - [7:1] */
  1974. #define WM2200_LHPF2MIX_VOL3_SHIFT 1 /* LHPF2MIX_VOL3 - [7:1] */
  1975. #define WM2200_LHPF2MIX_VOL3_WIDTH 7 /* LHPF2MIX_VOL3 - [7:1] */
  1976. /*
  1977. * R1646 (0x66E) - LHPF2MIX Input 4 Source
  1978. */
  1979. #define WM2200_LHPF2MIX_SRC4_MASK 0x007F /* LHPF2MIX_SRC4 - [6:0] */
  1980. #define WM2200_LHPF2MIX_SRC4_SHIFT 0 /* LHPF2MIX_SRC4 - [6:0] */
  1981. #define WM2200_LHPF2MIX_SRC4_WIDTH 7 /* LHPF2MIX_SRC4 - [6:0] */
  1982. /*
  1983. * R1647 (0x66F) - LHPF2MIX Input 4 Volume
  1984. */
  1985. #define WM2200_LHPF2MIX_VOL4_MASK 0x00FE /* LHPF2MIX_VOL4 - [7:1] */
  1986. #define WM2200_LHPF2MIX_VOL4_SHIFT 1 /* LHPF2MIX_VOL4 - [7:1] */
  1987. #define WM2200_LHPF2MIX_VOL4_WIDTH 7 /* LHPF2MIX_VOL4 - [7:1] */
  1988. /*
  1989. * R1648 (0x670) - DSP1LMIX Input 1 Source
  1990. */
  1991. #define WM2200_DSP1LMIX_SRC1_MASK 0x007F /* DSP1LMIX_SRC1 - [6:0] */
  1992. #define WM2200_DSP1LMIX_SRC1_SHIFT 0 /* DSP1LMIX_SRC1 - [6:0] */
  1993. #define WM2200_DSP1LMIX_SRC1_WIDTH 7 /* DSP1LMIX_SRC1 - [6:0] */
  1994. /*
  1995. * R1649 (0x671) - DSP1LMIX Input 1 Volume
  1996. */
  1997. #define WM2200_DSP1LMIX_VOL1_MASK 0x00FE /* DSP1LMIX_VOL1 - [7:1] */
  1998. #define WM2200_DSP1LMIX_VOL1_SHIFT 1 /* DSP1LMIX_VOL1 - [7:1] */
  1999. #define WM2200_DSP1LMIX_VOL1_WIDTH 7 /* DSP1LMIX_VOL1 - [7:1] */
  2000. /*
  2001. * R1650 (0x672) - DSP1LMIX Input 2 Source
  2002. */
  2003. #define WM2200_DSP1LMIX_SRC2_MASK 0x007F /* DSP1LMIX_SRC2 - [6:0] */
  2004. #define WM2200_DSP1LMIX_SRC2_SHIFT 0 /* DSP1LMIX_SRC2 - [6:0] */
  2005. #define WM2200_DSP1LMIX_SRC2_WIDTH 7 /* DSP1LMIX_SRC2 - [6:0] */
  2006. /*
  2007. * R1651 (0x673) - DSP1LMIX Input 2 Volume
  2008. */
  2009. #define WM2200_DSP1LMIX_VOL2_MASK 0x00FE /* DSP1LMIX_VOL2 - [7:1] */
  2010. #define WM2200_DSP1LMIX_VOL2_SHIFT 1 /* DSP1LMIX_VOL2 - [7:1] */
  2011. #define WM2200_DSP1LMIX_VOL2_WIDTH 7 /* DSP1LMIX_VOL2 - [7:1] */
  2012. /*
  2013. * R1652 (0x674) - DSP1LMIX Input 3 Source
  2014. */
  2015. #define WM2200_DSP1LMIX_SRC3_MASK 0x007F /* DSP1LMIX_SRC3 - [6:0] */
  2016. #define WM2200_DSP1LMIX_SRC3_SHIFT 0 /* DSP1LMIX_SRC3 - [6:0] */
  2017. #define WM2200_DSP1LMIX_SRC3_WIDTH 7 /* DSP1LMIX_SRC3 - [6:0] */
  2018. /*
  2019. * R1653 (0x675) - DSP1LMIX Input 3 Volume
  2020. */
  2021. #define WM2200_DSP1LMIX_VOL3_MASK 0x00FE /* DSP1LMIX_VOL3 - [7:1] */
  2022. #define WM2200_DSP1LMIX_VOL3_SHIFT 1 /* DSP1LMIX_VOL3 - [7:1] */
  2023. #define WM2200_DSP1LMIX_VOL3_WIDTH 7 /* DSP1LMIX_VOL3 - [7:1] */
  2024. /*
  2025. * R1654 (0x676) - DSP1LMIX Input 4 Source
  2026. */
  2027. #define WM2200_DSP1LMIX_SRC4_MASK 0x007F /* DSP1LMIX_SRC4 - [6:0] */
  2028. #define WM2200_DSP1LMIX_SRC4_SHIFT 0 /* DSP1LMIX_SRC4 - [6:0] */
  2029. #define WM2200_DSP1LMIX_SRC4_WIDTH 7 /* DSP1LMIX_SRC4 - [6:0] */
  2030. /*
  2031. * R1655 (0x677) - DSP1LMIX Input 4 Volume
  2032. */
  2033. #define WM2200_DSP1LMIX_VOL4_MASK 0x00FE /* DSP1LMIX_VOL4 - [7:1] */
  2034. #define WM2200_DSP1LMIX_VOL4_SHIFT 1 /* DSP1LMIX_VOL4 - [7:1] */
  2035. #define WM2200_DSP1LMIX_VOL4_WIDTH 7 /* DSP1LMIX_VOL4 - [7:1] */
  2036. /*
  2037. * R1656 (0x678) - DSP1RMIX Input 1 Source
  2038. */
  2039. #define WM2200_DSP1RMIX_SRC1_MASK 0x007F /* DSP1RMIX_SRC1 - [6:0] */
  2040. #define WM2200_DSP1RMIX_SRC1_SHIFT 0 /* DSP1RMIX_SRC1 - [6:0] */
  2041. #define WM2200_DSP1RMIX_SRC1_WIDTH 7 /* DSP1RMIX_SRC1 - [6:0] */
  2042. /*
  2043. * R1657 (0x679) - DSP1RMIX Input 1 Volume
  2044. */
  2045. #define WM2200_DSP1RMIX_VOL1_MASK 0x00FE /* DSP1RMIX_VOL1 - [7:1] */
  2046. #define WM2200_DSP1RMIX_VOL1_SHIFT 1 /* DSP1RMIX_VOL1 - [7:1] */
  2047. #define WM2200_DSP1RMIX_VOL1_WIDTH 7 /* DSP1RMIX_VOL1 - [7:1] */
  2048. /*
  2049. * R1658 (0x67A) - DSP1RMIX Input 2 Source
  2050. */
  2051. #define WM2200_DSP1RMIX_SRC2_MASK 0x007F /* DSP1RMIX_SRC2 - [6:0] */
  2052. #define WM2200_DSP1RMIX_SRC2_SHIFT 0 /* DSP1RMIX_SRC2 - [6:0] */
  2053. #define WM2200_DSP1RMIX_SRC2_WIDTH 7 /* DSP1RMIX_SRC2 - [6:0] */
  2054. /*
  2055. * R1659 (0x67B) - DSP1RMIX Input 2 Volume
  2056. */
  2057. #define WM2200_DSP1RMIX_VOL2_MASK 0x00FE /* DSP1RMIX_VOL2 - [7:1] */
  2058. #define WM2200_DSP1RMIX_VOL2_SHIFT 1 /* DSP1RMIX_VOL2 - [7:1] */
  2059. #define WM2200_DSP1RMIX_VOL2_WIDTH 7 /* DSP1RMIX_VOL2 - [7:1] */
  2060. /*
  2061. * R1660 (0x67C) - DSP1RMIX Input 3 Source
  2062. */
  2063. #define WM2200_DSP1RMIX_SRC3_MASK 0x007F /* DSP1RMIX_SRC3 - [6:0] */
  2064. #define WM2200_DSP1RMIX_SRC3_SHIFT 0 /* DSP1RMIX_SRC3 - [6:0] */
  2065. #define WM2200_DSP1RMIX_SRC3_WIDTH 7 /* DSP1RMIX_SRC3 - [6:0] */
  2066. /*
  2067. * R1661 (0x67D) - DSP1RMIX Input 3 Volume
  2068. */
  2069. #define WM2200_DSP1RMIX_VOL3_MASK 0x00FE /* DSP1RMIX_VOL3 - [7:1] */
  2070. #define WM2200_DSP1RMIX_VOL3_SHIFT 1 /* DSP1RMIX_VOL3 - [7:1] */
  2071. #define WM2200_DSP1RMIX_VOL3_WIDTH 7 /* DSP1RMIX_VOL3 - [7:1] */
  2072. /*
  2073. * R1662 (0x67E) - DSP1RMIX Input 4 Source
  2074. */
  2075. #define WM2200_DSP1RMIX_SRC4_MASK 0x007F /* DSP1RMIX_SRC4 - [6:0] */
  2076. #define WM2200_DSP1RMIX_SRC4_SHIFT 0 /* DSP1RMIX_SRC4 - [6:0] */
  2077. #define WM2200_DSP1RMIX_SRC4_WIDTH 7 /* DSP1RMIX_SRC4 - [6:0] */
  2078. /*
  2079. * R1663 (0x67F) - DSP1RMIX Input 4 Volume
  2080. */
  2081. #define WM2200_DSP1RMIX_VOL4_MASK 0x00FE /* DSP1RMIX_VOL4 - [7:1] */
  2082. #define WM2200_DSP1RMIX_VOL4_SHIFT 1 /* DSP1RMIX_VOL4 - [7:1] */
  2083. #define WM2200_DSP1RMIX_VOL4_WIDTH 7 /* DSP1RMIX_VOL4 - [7:1] */
  2084. /*
  2085. * R1664 (0x680) - DSP1AUX1MIX Input 1 Source
  2086. */
  2087. #define WM2200_DSP1AUX1MIX_SRC1_MASK 0x007F /* DSP1AUX1MIX_SRC1 - [6:0] */
  2088. #define WM2200_DSP1AUX1MIX_SRC1_SHIFT 0 /* DSP1AUX1MIX_SRC1 - [6:0] */
  2089. #define WM2200_DSP1AUX1MIX_SRC1_WIDTH 7 /* DSP1AUX1MIX_SRC1 - [6:0] */
  2090. /*
  2091. * R1665 (0x681) - DSP1AUX2MIX Input 1 Source
  2092. */
  2093. #define WM2200_DSP1AUX2MIX_SRC1_MASK 0x007F /* DSP1AUX2MIX_SRC1 - [6:0] */
  2094. #define WM2200_DSP1AUX2MIX_SRC1_SHIFT 0 /* DSP1AUX2MIX_SRC1 - [6:0] */
  2095. #define WM2200_DSP1AUX2MIX_SRC1_WIDTH 7 /* DSP1AUX2MIX_SRC1 - [6:0] */
  2096. /*
  2097. * R1666 (0x682) - DSP1AUX3MIX Input 1 Source
  2098. */
  2099. #define WM2200_DSP1AUX3MIX_SRC1_MASK 0x007F /* DSP1AUX3MIX_SRC1 - [6:0] */
  2100. #define WM2200_DSP1AUX3MIX_SRC1_SHIFT 0 /* DSP1AUX3MIX_SRC1 - [6:0] */
  2101. #define WM2200_DSP1AUX3MIX_SRC1_WIDTH 7 /* DSP1AUX3MIX_SRC1 - [6:0] */
  2102. /*
  2103. * R1667 (0x683) - DSP1AUX4MIX Input 1 Source
  2104. */
  2105. #define WM2200_DSP1AUX4MIX_SRC1_MASK 0x007F /* DSP1AUX4MIX_SRC1 - [6:0] */
  2106. #define WM2200_DSP1AUX4MIX_SRC1_SHIFT 0 /* DSP1AUX4MIX_SRC1 - [6:0] */
  2107. #define WM2200_DSP1AUX4MIX_SRC1_WIDTH 7 /* DSP1AUX4MIX_SRC1 - [6:0] */
  2108. /*
  2109. * R1668 (0x684) - DSP1AUX5MIX Input 1 Source
  2110. */
  2111. #define WM2200_DSP1AUX5MIX_SRC1_MASK 0x007F /* DSP1AUX5MIX_SRC1 - [6:0] */
  2112. #define WM2200_DSP1AUX5MIX_SRC1_SHIFT 0 /* DSP1AUX5MIX_SRC1 - [6:0] */
  2113. #define WM2200_DSP1AUX5MIX_SRC1_WIDTH 7 /* DSP1AUX5MIX_SRC1 - [6:0] */
  2114. /*
  2115. * R1669 (0x685) - DSP1AUX6MIX Input 1 Source
  2116. */
  2117. #define WM2200_DSP1AUX6MIX_SRC1_MASK 0x007F /* DSP1AUX6MIX_SRC1 - [6:0] */
  2118. #define WM2200_DSP1AUX6MIX_SRC1_SHIFT 0 /* DSP1AUX6MIX_SRC1 - [6:0] */
  2119. #define WM2200_DSP1AUX6MIX_SRC1_WIDTH 7 /* DSP1AUX6MIX_SRC1 - [6:0] */
  2120. /*
  2121. * R1670 (0x686) - DSP2LMIX Input 1 Source
  2122. */
  2123. #define WM2200_DSP2LMIX_SRC1_MASK 0x007F /* DSP2LMIX_SRC1 - [6:0] */
  2124. #define WM2200_DSP2LMIX_SRC1_SHIFT 0 /* DSP2LMIX_SRC1 - [6:0] */
  2125. #define WM2200_DSP2LMIX_SRC1_WIDTH 7 /* DSP2LMIX_SRC1 - [6:0] */
  2126. /*
  2127. * R1671 (0x687) - DSP2LMIX Input 1 Volume
  2128. */
  2129. #define WM2200_DSP2LMIX_VOL1_MASK 0x00FE /* DSP2LMIX_VOL1 - [7:1] */
  2130. #define WM2200_DSP2LMIX_VOL1_SHIFT 1 /* DSP2LMIX_VOL1 - [7:1] */
  2131. #define WM2200_DSP2LMIX_VOL1_WIDTH 7 /* DSP2LMIX_VOL1 - [7:1] */
  2132. /*
  2133. * R1672 (0x688) - DSP2LMIX Input 2 Source
  2134. */
  2135. #define WM2200_DSP2LMIX_SRC2_MASK 0x007F /* DSP2LMIX_SRC2 - [6:0] */
  2136. #define WM2200_DSP2LMIX_SRC2_SHIFT 0 /* DSP2LMIX_SRC2 - [6:0] */
  2137. #define WM2200_DSP2LMIX_SRC2_WIDTH 7 /* DSP2LMIX_SRC2 - [6:0] */
  2138. /*
  2139. * R1673 (0x689) - DSP2LMIX Input 2 Volume
  2140. */
  2141. #define WM2200_DSP2LMIX_VOL2_MASK 0x00FE /* DSP2LMIX_VOL2 - [7:1] */
  2142. #define WM2200_DSP2LMIX_VOL2_SHIFT 1 /* DSP2LMIX_VOL2 - [7:1] */
  2143. #define WM2200_DSP2LMIX_VOL2_WIDTH 7 /* DSP2LMIX_VOL2 - [7:1] */
  2144. /*
  2145. * R1674 (0x68A) - DSP2LMIX Input 3 Source
  2146. */
  2147. #define WM2200_DSP2LMIX_SRC3_MASK 0x007F /* DSP2LMIX_SRC3 - [6:0] */
  2148. #define WM2200_DSP2LMIX_SRC3_SHIFT 0 /* DSP2LMIX_SRC3 - [6:0] */
  2149. #define WM2200_DSP2LMIX_SRC3_WIDTH 7 /* DSP2LMIX_SRC3 - [6:0] */
  2150. /*
  2151. * R1675 (0x68B) - DSP2LMIX Input 3 Volume
  2152. */
  2153. #define WM2200_DSP2LMIX_VOL3_MASK 0x00FE /* DSP2LMIX_VOL3 - [7:1] */
  2154. #define WM2200_DSP2LMIX_VOL3_SHIFT 1 /* DSP2LMIX_VOL3 - [7:1] */
  2155. #define WM2200_DSP2LMIX_VOL3_WIDTH 7 /* DSP2LMIX_VOL3 - [7:1] */
  2156. /*
  2157. * R1676 (0x68C) - DSP2LMIX Input 4 Source
  2158. */
  2159. #define WM2200_DSP2LMIX_SRC4_MASK 0x007F /* DSP2LMIX_SRC4 - [6:0] */
  2160. #define WM2200_DSP2LMIX_SRC4_SHIFT 0 /* DSP2LMIX_SRC4 - [6:0] */
  2161. #define WM2200_DSP2LMIX_SRC4_WIDTH 7 /* DSP2LMIX_SRC4 - [6:0] */
  2162. /*
  2163. * R1677 (0x68D) - DSP2LMIX Input 4 Volume
  2164. */
  2165. #define WM2200_DSP2LMIX_VOL4_MASK 0x00FE /* DSP2LMIX_VOL4 - [7:1] */
  2166. #define WM2200_DSP2LMIX_VOL4_SHIFT 1 /* DSP2LMIX_VOL4 - [7:1] */
  2167. #define WM2200_DSP2LMIX_VOL4_WIDTH 7 /* DSP2LMIX_VOL4 - [7:1] */
  2168. /*
  2169. * R1678 (0x68E) - DSP2RMIX Input 1 Source
  2170. */
  2171. #define WM2200_DSP2RMIX_SRC1_MASK 0x007F /* DSP2RMIX_SRC1 - [6:0] */
  2172. #define WM2200_DSP2RMIX_SRC1_SHIFT 0 /* DSP2RMIX_SRC1 - [6:0] */
  2173. #define WM2200_DSP2RMIX_SRC1_WIDTH 7 /* DSP2RMIX_SRC1 - [6:0] */
  2174. /*
  2175. * R1679 (0x68F) - DSP2RMIX Input 1 Volume
  2176. */
  2177. #define WM2200_DSP2RMIX_VOL1_MASK 0x00FE /* DSP2RMIX_VOL1 - [7:1] */
  2178. #define WM2200_DSP2RMIX_VOL1_SHIFT 1 /* DSP2RMIX_VOL1 - [7:1] */
  2179. #define WM2200_DSP2RMIX_VOL1_WIDTH 7 /* DSP2RMIX_VOL1 - [7:1] */
  2180. /*
  2181. * R1680 (0x690) - DSP2RMIX Input 2 Source
  2182. */
  2183. #define WM2200_DSP2RMIX_SRC2_MASK 0x007F /* DSP2RMIX_SRC2 - [6:0] */
  2184. #define WM2200_DSP2RMIX_SRC2_SHIFT 0 /* DSP2RMIX_SRC2 - [6:0] */
  2185. #define WM2200_DSP2RMIX_SRC2_WIDTH 7 /* DSP2RMIX_SRC2 - [6:0] */
  2186. /*
  2187. * R1681 (0x691) - DSP2RMIX Input 2 Volume
  2188. */
  2189. #define WM2200_DSP2RMIX_VOL2_MASK 0x00FE /* DSP2RMIX_VOL2 - [7:1] */
  2190. #define WM2200_DSP2RMIX_VOL2_SHIFT 1 /* DSP2RMIX_VOL2 - [7:1] */
  2191. #define WM2200_DSP2RMIX_VOL2_WIDTH 7 /* DSP2RMIX_VOL2 - [7:1] */
  2192. /*
  2193. * R1682 (0x692) - DSP2RMIX Input 3 Source
  2194. */
  2195. #define WM2200_DSP2RMIX_SRC3_MASK 0x007F /* DSP2RMIX_SRC3 - [6:0] */
  2196. #define WM2200_DSP2RMIX_SRC3_SHIFT 0 /* DSP2RMIX_SRC3 - [6:0] */
  2197. #define WM2200_DSP2RMIX_SRC3_WIDTH 7 /* DSP2RMIX_SRC3 - [6:0] */
  2198. /*
  2199. * R1683 (0x693) - DSP2RMIX Input 3 Volume
  2200. */
  2201. #define WM2200_DSP2RMIX_VOL3_MASK 0x00FE /* DSP2RMIX_VOL3 - [7:1] */
  2202. #define WM2200_DSP2RMIX_VOL3_SHIFT 1 /* DSP2RMIX_VOL3 - [7:1] */
  2203. #define WM2200_DSP2RMIX_VOL3_WIDTH 7 /* DSP2RMIX_VOL3 - [7:1] */
  2204. /*
  2205. * R1684 (0x694) - DSP2RMIX Input 4 Source
  2206. */
  2207. #define WM2200_DSP2RMIX_SRC4_MASK 0x007F /* DSP2RMIX_SRC4 - [6:0] */
  2208. #define WM2200_DSP2RMIX_SRC4_SHIFT 0 /* DSP2RMIX_SRC4 - [6:0] */
  2209. #define WM2200_DSP2RMIX_SRC4_WIDTH 7 /* DSP2RMIX_SRC4 - [6:0] */
  2210. /*
  2211. * R1685 (0x695) - DSP2RMIX Input 4 Volume
  2212. */
  2213. #define WM2200_DSP2RMIX_VOL4_MASK 0x00FE /* DSP2RMIX_VOL4 - [7:1] */
  2214. #define WM2200_DSP2RMIX_VOL4_SHIFT 1 /* DSP2RMIX_VOL4 - [7:1] */
  2215. #define WM2200_DSP2RMIX_VOL4_WIDTH 7 /* DSP2RMIX_VOL4 - [7:1] */
  2216. /*
  2217. * R1686 (0x696) - DSP2AUX1MIX Input 1 Source
  2218. */
  2219. #define WM2200_DSP2AUX1MIX_SRC1_MASK 0x007F /* DSP2AUX1MIX_SRC1 - [6:0] */
  2220. #define WM2200_DSP2AUX1MIX_SRC1_SHIFT 0 /* DSP2AUX1MIX_SRC1 - [6:0] */
  2221. #define WM2200_DSP2AUX1MIX_SRC1_WIDTH 7 /* DSP2AUX1MIX_SRC1 - [6:0] */
  2222. /*
  2223. * R1687 (0x697) - DSP2AUX2MIX Input 1 Source
  2224. */
  2225. #define WM2200_DSP2AUX2MIX_SRC1_MASK 0x007F /* DSP2AUX2MIX_SRC1 - [6:0] */
  2226. #define WM2200_DSP2AUX2MIX_SRC1_SHIFT 0 /* DSP2AUX2MIX_SRC1 - [6:0] */
  2227. #define WM2200_DSP2AUX2MIX_SRC1_WIDTH 7 /* DSP2AUX2MIX_SRC1 - [6:0] */
  2228. /*
  2229. * R1688 (0x698) - DSP2AUX3MIX Input 1 Source
  2230. */
  2231. #define WM2200_DSP2AUX3MIX_SRC1_MASK 0x007F /* DSP2AUX3MIX_SRC1 - [6:0] */
  2232. #define WM2200_DSP2AUX3MIX_SRC1_SHIFT 0 /* DSP2AUX3MIX_SRC1 - [6:0] */
  2233. #define WM2200_DSP2AUX3MIX_SRC1_WIDTH 7 /* DSP2AUX3MIX_SRC1 - [6:0] */
  2234. /*
  2235. * R1689 (0x699) - DSP2AUX4MIX Input 1 Source
  2236. */
  2237. #define WM2200_DSP2AUX4MIX_SRC1_MASK 0x007F /* DSP2AUX4MIX_SRC1 - [6:0] */
  2238. #define WM2200_DSP2AUX4MIX_SRC1_SHIFT 0 /* DSP2AUX4MIX_SRC1 - [6:0] */
  2239. #define WM2200_DSP2AUX4MIX_SRC1_WIDTH 7 /* DSP2AUX4MIX_SRC1 - [6:0] */
  2240. /*
  2241. * R1690 (0x69A) - DSP2AUX5MIX Input 1 Source
  2242. */
  2243. #define WM2200_DSP2AUX5MIX_SRC1_MASK 0x007F /* DSP2AUX5MIX_SRC1 - [6:0] */
  2244. #define WM2200_DSP2AUX5MIX_SRC1_SHIFT 0 /* DSP2AUX5MIX_SRC1 - [6:0] */
  2245. #define WM2200_DSP2AUX5MIX_SRC1_WIDTH 7 /* DSP2AUX5MIX_SRC1 - [6:0] */
  2246. /*
  2247. * R1691 (0x69B) - DSP2AUX6MIX Input 1 Source
  2248. */
  2249. #define WM2200_DSP2AUX6MIX_SRC1_MASK 0x007F /* DSP2AUX6MIX_SRC1 - [6:0] */
  2250. #define WM2200_DSP2AUX6MIX_SRC1_SHIFT 0 /* DSP2AUX6MIX_SRC1 - [6:0] */
  2251. #define WM2200_DSP2AUX6MIX_SRC1_WIDTH 7 /* DSP2AUX6MIX_SRC1 - [6:0] */
  2252. /*
  2253. * R1792 (0x700) - GPIO CTRL 1
  2254. */
  2255. #define WM2200_GP1_DIR 0x8000 /* GP1_DIR */
  2256. #define WM2200_GP1_DIR_MASK 0x8000 /* GP1_DIR */
  2257. #define WM2200_GP1_DIR_SHIFT 15 /* GP1_DIR */
  2258. #define WM2200_GP1_DIR_WIDTH 1 /* GP1_DIR */
  2259. #define WM2200_GP1_PU 0x4000 /* GP1_PU */
  2260. #define WM2200_GP1_PU_MASK 0x4000 /* GP1_PU */
  2261. #define WM2200_GP1_PU_SHIFT 14 /* GP1_PU */
  2262. #define WM2200_GP1_PU_WIDTH 1 /* GP1_PU */
  2263. #define WM2200_GP1_PD 0x2000 /* GP1_PD */
  2264. #define WM2200_GP1_PD_MASK 0x2000 /* GP1_PD */
  2265. #define WM2200_GP1_PD_SHIFT 13 /* GP1_PD */
  2266. #define WM2200_GP1_PD_WIDTH 1 /* GP1_PD */
  2267. #define WM2200_GP1_POL 0x0400 /* GP1_POL */
  2268. #define WM2200_GP1_POL_MASK 0x0400 /* GP1_POL */
  2269. #define WM2200_GP1_POL_SHIFT 10 /* GP1_POL */
  2270. #define WM2200_GP1_POL_WIDTH 1 /* GP1_POL */
  2271. #define WM2200_GP1_OP_CFG 0x0200 /* GP1_OP_CFG */
  2272. #define WM2200_GP1_OP_CFG_MASK 0x0200 /* GP1_OP_CFG */
  2273. #define WM2200_GP1_OP_CFG_SHIFT 9 /* GP1_OP_CFG */
  2274. #define WM2200_GP1_OP_CFG_WIDTH 1 /* GP1_OP_CFG */
  2275. #define WM2200_GP1_DB 0x0100 /* GP1_DB */
  2276. #define WM2200_GP1_DB_MASK 0x0100 /* GP1_DB */
  2277. #define WM2200_GP1_DB_SHIFT 8 /* GP1_DB */
  2278. #define WM2200_GP1_DB_WIDTH 1 /* GP1_DB */
  2279. #define WM2200_GP1_LVL 0x0040 /* GP1_LVL */
  2280. #define WM2200_GP1_LVL_MASK 0x0040 /* GP1_LVL */
  2281. #define WM2200_GP1_LVL_SHIFT 6 /* GP1_LVL */
  2282. #define WM2200_GP1_LVL_WIDTH 1 /* GP1_LVL */
  2283. #define WM2200_GP1_FN_MASK 0x003F /* GP1_FN - [5:0] */
  2284. #define WM2200_GP1_FN_SHIFT 0 /* GP1_FN - [5:0] */
  2285. #define WM2200_GP1_FN_WIDTH 6 /* GP1_FN - [5:0] */
  2286. /*
  2287. * R1793 (0x701) - GPIO CTRL 2
  2288. */
  2289. #define WM2200_GP2_DIR 0x8000 /* GP2_DIR */
  2290. #define WM2200_GP2_DIR_MASK 0x8000 /* GP2_DIR */
  2291. #define WM2200_GP2_DIR_SHIFT 15 /* GP2_DIR */
  2292. #define WM2200_GP2_DIR_WIDTH 1 /* GP2_DIR */
  2293. #define WM2200_GP2_PU 0x4000 /* GP2_PU */
  2294. #define WM2200_GP2_PU_MASK 0x4000 /* GP2_PU */
  2295. #define WM2200_GP2_PU_SHIFT 14 /* GP2_PU */
  2296. #define WM2200_GP2_PU_WIDTH 1 /* GP2_PU */
  2297. #define WM2200_GP2_PD 0x2000 /* GP2_PD */
  2298. #define WM2200_GP2_PD_MASK 0x2000 /* GP2_PD */
  2299. #define WM2200_GP2_PD_SHIFT 13 /* GP2_PD */
  2300. #define WM2200_GP2_PD_WIDTH 1 /* GP2_PD */
  2301. #define WM2200_GP2_POL 0x0400 /* GP2_POL */
  2302. #define WM2200_GP2_POL_MASK 0x0400 /* GP2_POL */
  2303. #define WM2200_GP2_POL_SHIFT 10 /* GP2_POL */
  2304. #define WM2200_GP2_POL_WIDTH 1 /* GP2_POL */
  2305. #define WM2200_GP2_OP_CFG 0x0200 /* GP2_OP_CFG */
  2306. #define WM2200_GP2_OP_CFG_MASK 0x0200 /* GP2_OP_CFG */
  2307. #define WM2200_GP2_OP_CFG_SHIFT 9 /* GP2_OP_CFG */
  2308. #define WM2200_GP2_OP_CFG_WIDTH 1 /* GP2_OP_CFG */
  2309. #define WM2200_GP2_DB 0x0100 /* GP2_DB */
  2310. #define WM2200_GP2_DB_MASK 0x0100 /* GP2_DB */
  2311. #define WM2200_GP2_DB_SHIFT 8 /* GP2_DB */
  2312. #define WM2200_GP2_DB_WIDTH 1 /* GP2_DB */
  2313. #define WM2200_GP2_LVL 0x0040 /* GP2_LVL */
  2314. #define WM2200_GP2_LVL_MASK 0x0040 /* GP2_LVL */
  2315. #define WM2200_GP2_LVL_SHIFT 6 /* GP2_LVL */
  2316. #define WM2200_GP2_LVL_WIDTH 1 /* GP2_LVL */
  2317. #define WM2200_GP2_FN_MASK 0x003F /* GP2_FN - [5:0] */
  2318. #define WM2200_GP2_FN_SHIFT 0 /* GP2_FN - [5:0] */
  2319. #define WM2200_GP2_FN_WIDTH 6 /* GP2_FN - [5:0] */
  2320. /*
  2321. * R1794 (0x702) - GPIO CTRL 3
  2322. */
  2323. #define WM2200_GP3_DIR 0x8000 /* GP3_DIR */
  2324. #define WM2200_GP3_DIR_MASK 0x8000 /* GP3_DIR */
  2325. #define WM2200_GP3_DIR_SHIFT 15 /* GP3_DIR */
  2326. #define WM2200_GP3_DIR_WIDTH 1 /* GP3_DIR */
  2327. #define WM2200_GP3_PU 0x4000 /* GP3_PU */
  2328. #define WM2200_GP3_PU_MASK 0x4000 /* GP3_PU */
  2329. #define WM2200_GP3_PU_SHIFT 14 /* GP3_PU */
  2330. #define WM2200_GP3_PU_WIDTH 1 /* GP3_PU */
  2331. #define WM2200_GP3_PD 0x2000 /* GP3_PD */
  2332. #define WM2200_GP3_PD_MASK 0x2000 /* GP3_PD */
  2333. #define WM2200_GP3_PD_SHIFT 13 /* GP3_PD */
  2334. #define WM2200_GP3_PD_WIDTH 1 /* GP3_PD */
  2335. #define WM2200_GP3_POL 0x0400 /* GP3_POL */
  2336. #define WM2200_GP3_POL_MASK 0x0400 /* GP3_POL */
  2337. #define WM2200_GP3_POL_SHIFT 10 /* GP3_POL */
  2338. #define WM2200_GP3_POL_WIDTH 1 /* GP3_POL */
  2339. #define WM2200_GP3_OP_CFG 0x0200 /* GP3_OP_CFG */
  2340. #define WM2200_GP3_OP_CFG_MASK 0x0200 /* GP3_OP_CFG */
  2341. #define WM2200_GP3_OP_CFG_SHIFT 9 /* GP3_OP_CFG */
  2342. #define WM2200_GP3_OP_CFG_WIDTH 1 /* GP3_OP_CFG */
  2343. #define WM2200_GP3_DB 0x0100 /* GP3_DB */
  2344. #define WM2200_GP3_DB_MASK 0x0100 /* GP3_DB */
  2345. #define WM2200_GP3_DB_SHIFT 8 /* GP3_DB */
  2346. #define WM2200_GP3_DB_WIDTH 1 /* GP3_DB */
  2347. #define WM2200_GP3_LVL 0x0040 /* GP3_LVL */
  2348. #define WM2200_GP3_LVL_MASK 0x0040 /* GP3_LVL */
  2349. #define WM2200_GP3_LVL_SHIFT 6 /* GP3_LVL */
  2350. #define WM2200_GP3_LVL_WIDTH 1 /* GP3_LVL */
  2351. #define WM2200_GP3_FN_MASK 0x003F /* GP3_FN - [5:0] */
  2352. #define WM2200_GP3_FN_SHIFT 0 /* GP3_FN - [5:0] */
  2353. #define WM2200_GP3_FN_WIDTH 6 /* GP3_FN - [5:0] */
  2354. /*
  2355. * R1795 (0x703) - GPIO CTRL 4
  2356. */
  2357. #define WM2200_GP4_DIR 0x8000 /* GP4_DIR */
  2358. #define WM2200_GP4_DIR_MASK 0x8000 /* GP4_DIR */
  2359. #define WM2200_GP4_DIR_SHIFT 15 /* GP4_DIR */
  2360. #define WM2200_GP4_DIR_WIDTH 1 /* GP4_DIR */
  2361. #define WM2200_GP4_PU 0x4000 /* GP4_PU */
  2362. #define WM2200_GP4_PU_MASK 0x4000 /* GP4_PU */
  2363. #define WM2200_GP4_PU_SHIFT 14 /* GP4_PU */
  2364. #define WM2200_GP4_PU_WIDTH 1 /* GP4_PU */
  2365. #define WM2200_GP4_PD 0x2000 /* GP4_PD */
  2366. #define WM2200_GP4_PD_MASK 0x2000 /* GP4_PD */
  2367. #define WM2200_GP4_PD_SHIFT 13 /* GP4_PD */
  2368. #define WM2200_GP4_PD_WIDTH 1 /* GP4_PD */
  2369. #define WM2200_GP4_POL 0x0400 /* GP4_POL */
  2370. #define WM2200_GP4_POL_MASK 0x0400 /* GP4_POL */
  2371. #define WM2200_GP4_POL_SHIFT 10 /* GP4_POL */
  2372. #define WM2200_GP4_POL_WIDTH 1 /* GP4_POL */
  2373. #define WM2200_GP4_OP_CFG 0x0200 /* GP4_OP_CFG */
  2374. #define WM2200_GP4_OP_CFG_MASK 0x0200 /* GP4_OP_CFG */
  2375. #define WM2200_GP4_OP_CFG_SHIFT 9 /* GP4_OP_CFG */
  2376. #define WM2200_GP4_OP_CFG_WIDTH 1 /* GP4_OP_CFG */
  2377. #define WM2200_GP4_DB 0x0100 /* GP4_DB */
  2378. #define WM2200_GP4_DB_MASK 0x0100 /* GP4_DB */
  2379. #define WM2200_GP4_DB_SHIFT 8 /* GP4_DB */
  2380. #define WM2200_GP4_DB_WIDTH 1 /* GP4_DB */
  2381. #define WM2200_GP4_LVL 0x0040 /* GP4_LVL */
  2382. #define WM2200_GP4_LVL_MASK 0x0040 /* GP4_LVL */
  2383. #define WM2200_GP4_LVL_SHIFT 6 /* GP4_LVL */
  2384. #define WM2200_GP4_LVL_WIDTH 1 /* GP4_LVL */
  2385. #define WM2200_GP4_FN_MASK 0x003F /* GP4_FN - [5:0] */
  2386. #define WM2200_GP4_FN_SHIFT 0 /* GP4_FN - [5:0] */
  2387. #define WM2200_GP4_FN_WIDTH 6 /* GP4_FN - [5:0] */
  2388. /*
  2389. * R1799 (0x707) - ADPS1 IRQ0
  2390. */
  2391. #define WM2200_DSP_IRQ1 0x0002 /* DSP_IRQ1 */
  2392. #define WM2200_DSP_IRQ1_MASK 0x0002 /* DSP_IRQ1 */
  2393. #define WM2200_DSP_IRQ1_SHIFT 1 /* DSP_IRQ1 */
  2394. #define WM2200_DSP_IRQ1_WIDTH 1 /* DSP_IRQ1 */
  2395. #define WM2200_DSP_IRQ0 0x0001 /* DSP_IRQ0 */
  2396. #define WM2200_DSP_IRQ0_MASK 0x0001 /* DSP_IRQ0 */
  2397. #define WM2200_DSP_IRQ0_SHIFT 0 /* DSP_IRQ0 */
  2398. #define WM2200_DSP_IRQ0_WIDTH 1 /* DSP_IRQ0 */
  2399. /*
  2400. * R1800 (0x708) - ADPS1 IRQ1
  2401. */
  2402. #define WM2200_DSP_IRQ3 0x0002 /* DSP_IRQ3 */
  2403. #define WM2200_DSP_IRQ3_MASK 0x0002 /* DSP_IRQ3 */
  2404. #define WM2200_DSP_IRQ3_SHIFT 1 /* DSP_IRQ3 */
  2405. #define WM2200_DSP_IRQ3_WIDTH 1 /* DSP_IRQ3 */
  2406. #define WM2200_DSP_IRQ2 0x0001 /* DSP_IRQ2 */
  2407. #define WM2200_DSP_IRQ2_MASK 0x0001 /* DSP_IRQ2 */
  2408. #define WM2200_DSP_IRQ2_SHIFT 0 /* DSP_IRQ2 */
  2409. #define WM2200_DSP_IRQ2_WIDTH 1 /* DSP_IRQ2 */
  2410. /*
  2411. * R1801 (0x709) - Misc Pad Ctrl 1
  2412. */
  2413. #define WM2200_LDO1ENA_PD 0x8000 /* LDO1ENA_PD */
  2414. #define WM2200_LDO1ENA_PD_MASK 0x8000 /* LDO1ENA_PD */
  2415. #define WM2200_LDO1ENA_PD_SHIFT 15 /* LDO1ENA_PD */
  2416. #define WM2200_LDO1ENA_PD_WIDTH 1 /* LDO1ENA_PD */
  2417. #define WM2200_MCLK2_PD 0x2000 /* MCLK2_PD */
  2418. #define WM2200_MCLK2_PD_MASK 0x2000 /* MCLK2_PD */
  2419. #define WM2200_MCLK2_PD_SHIFT 13 /* MCLK2_PD */
  2420. #define WM2200_MCLK2_PD_WIDTH 1 /* MCLK2_PD */
  2421. #define WM2200_MCLK1_PD 0x1000 /* MCLK1_PD */
  2422. #define WM2200_MCLK1_PD_MASK 0x1000 /* MCLK1_PD */
  2423. #define WM2200_MCLK1_PD_SHIFT 12 /* MCLK1_PD */
  2424. #define WM2200_MCLK1_PD_WIDTH 1 /* MCLK1_PD */
  2425. #define WM2200_DACLRCLK1_PU 0x0400 /* DACLRCLK1_PU */
  2426. #define WM2200_DACLRCLK1_PU_MASK 0x0400 /* DACLRCLK1_PU */
  2427. #define WM2200_DACLRCLK1_PU_SHIFT 10 /* DACLRCLK1_PU */
  2428. #define WM2200_DACLRCLK1_PU_WIDTH 1 /* DACLRCLK1_PU */
  2429. #define WM2200_DACLRCLK1_PD 0x0200 /* DACLRCLK1_PD */
  2430. #define WM2200_DACLRCLK1_PD_MASK 0x0200 /* DACLRCLK1_PD */
  2431. #define WM2200_DACLRCLK1_PD_SHIFT 9 /* DACLRCLK1_PD */
  2432. #define WM2200_DACLRCLK1_PD_WIDTH 1 /* DACLRCLK1_PD */
  2433. #define WM2200_BCLK1_PU 0x0100 /* BCLK1_PU */
  2434. #define WM2200_BCLK1_PU_MASK 0x0100 /* BCLK1_PU */
  2435. #define WM2200_BCLK1_PU_SHIFT 8 /* BCLK1_PU */
  2436. #define WM2200_BCLK1_PU_WIDTH 1 /* BCLK1_PU */
  2437. #define WM2200_BCLK1_PD 0x0080 /* BCLK1_PD */
  2438. #define WM2200_BCLK1_PD_MASK 0x0080 /* BCLK1_PD */
  2439. #define WM2200_BCLK1_PD_SHIFT 7 /* BCLK1_PD */
  2440. #define WM2200_BCLK1_PD_WIDTH 1 /* BCLK1_PD */
  2441. #define WM2200_DACDAT1_PU 0x0040 /* DACDAT1_PU */
  2442. #define WM2200_DACDAT1_PU_MASK 0x0040 /* DACDAT1_PU */
  2443. #define WM2200_DACDAT1_PU_SHIFT 6 /* DACDAT1_PU */
  2444. #define WM2200_DACDAT1_PU_WIDTH 1 /* DACDAT1_PU */
  2445. #define WM2200_DACDAT1_PD 0x0020 /* DACDAT1_PD */
  2446. #define WM2200_DACDAT1_PD_MASK 0x0020 /* DACDAT1_PD */
  2447. #define WM2200_DACDAT1_PD_SHIFT 5 /* DACDAT1_PD */
  2448. #define WM2200_DACDAT1_PD_WIDTH 1 /* DACDAT1_PD */
  2449. #define WM2200_DMICDAT3_PD 0x0010 /* DMICDAT3_PD */
  2450. #define WM2200_DMICDAT3_PD_MASK 0x0010 /* DMICDAT3_PD */
  2451. #define WM2200_DMICDAT3_PD_SHIFT 4 /* DMICDAT3_PD */
  2452. #define WM2200_DMICDAT3_PD_WIDTH 1 /* DMICDAT3_PD */
  2453. #define WM2200_DMICDAT2_PD 0x0008 /* DMICDAT2_PD */
  2454. #define WM2200_DMICDAT2_PD_MASK 0x0008 /* DMICDAT2_PD */
  2455. #define WM2200_DMICDAT2_PD_SHIFT 3 /* DMICDAT2_PD */
  2456. #define WM2200_DMICDAT2_PD_WIDTH 1 /* DMICDAT2_PD */
  2457. #define WM2200_DMICDAT1_PD 0x0004 /* DMICDAT1_PD */
  2458. #define WM2200_DMICDAT1_PD_MASK 0x0004 /* DMICDAT1_PD */
  2459. #define WM2200_DMICDAT1_PD_SHIFT 2 /* DMICDAT1_PD */
  2460. #define WM2200_DMICDAT1_PD_WIDTH 1 /* DMICDAT1_PD */
  2461. #define WM2200_RSTB_PU 0x0002 /* RSTB_PU */
  2462. #define WM2200_RSTB_PU_MASK 0x0002 /* RSTB_PU */
  2463. #define WM2200_RSTB_PU_SHIFT 1 /* RSTB_PU */
  2464. #define WM2200_RSTB_PU_WIDTH 1 /* RSTB_PU */
  2465. #define WM2200_ADDR_PD 0x0001 /* ADDR_PD */
  2466. #define WM2200_ADDR_PD_MASK 0x0001 /* ADDR_PD */
  2467. #define WM2200_ADDR_PD_SHIFT 0 /* ADDR_PD */
  2468. #define WM2200_ADDR_PD_WIDTH 1 /* ADDR_PD */
  2469. /*
  2470. * R2048 (0x800) - Interrupt Status 1
  2471. */
  2472. #define WM2200_DSP_IRQ0_EINT 0x0080 /* DSP_IRQ0_EINT */
  2473. #define WM2200_DSP_IRQ0_EINT_MASK 0x0080 /* DSP_IRQ0_EINT */
  2474. #define WM2200_DSP_IRQ0_EINT_SHIFT 7 /* DSP_IRQ0_EINT */
  2475. #define WM2200_DSP_IRQ0_EINT_WIDTH 1 /* DSP_IRQ0_EINT */
  2476. #define WM2200_DSP_IRQ1_EINT 0x0040 /* DSP_IRQ1_EINT */
  2477. #define WM2200_DSP_IRQ1_EINT_MASK 0x0040 /* DSP_IRQ1_EINT */
  2478. #define WM2200_DSP_IRQ1_EINT_SHIFT 6 /* DSP_IRQ1_EINT */
  2479. #define WM2200_DSP_IRQ1_EINT_WIDTH 1 /* DSP_IRQ1_EINT */
  2480. #define WM2200_DSP_IRQ2_EINT 0x0020 /* DSP_IRQ2_EINT */
  2481. #define WM2200_DSP_IRQ2_EINT_MASK 0x0020 /* DSP_IRQ2_EINT */
  2482. #define WM2200_DSP_IRQ2_EINT_SHIFT 5 /* DSP_IRQ2_EINT */
  2483. #define WM2200_DSP_IRQ2_EINT_WIDTH 1 /* DSP_IRQ2_EINT */
  2484. #define WM2200_DSP_IRQ3_EINT 0x0010 /* DSP_IRQ3_EINT */
  2485. #define WM2200_DSP_IRQ3_EINT_MASK 0x0010 /* DSP_IRQ3_EINT */
  2486. #define WM2200_DSP_IRQ3_EINT_SHIFT 4 /* DSP_IRQ3_EINT */
  2487. #define WM2200_DSP_IRQ3_EINT_WIDTH 1 /* DSP_IRQ3_EINT */
  2488. #define WM2200_GP4_EINT 0x0008 /* GP4_EINT */
  2489. #define WM2200_GP4_EINT_MASK 0x0008 /* GP4_EINT */
  2490. #define WM2200_GP4_EINT_SHIFT 3 /* GP4_EINT */
  2491. #define WM2200_GP4_EINT_WIDTH 1 /* GP4_EINT */
  2492. #define WM2200_GP3_EINT 0x0004 /* GP3_EINT */
  2493. #define WM2200_GP3_EINT_MASK 0x0004 /* GP3_EINT */
  2494. #define WM2200_GP3_EINT_SHIFT 2 /* GP3_EINT */
  2495. #define WM2200_GP3_EINT_WIDTH 1 /* GP3_EINT */
  2496. #define WM2200_GP2_EINT 0x0002 /* GP2_EINT */
  2497. #define WM2200_GP2_EINT_MASK 0x0002 /* GP2_EINT */
  2498. #define WM2200_GP2_EINT_SHIFT 1 /* GP2_EINT */
  2499. #define WM2200_GP2_EINT_WIDTH 1 /* GP2_EINT */
  2500. #define WM2200_GP1_EINT 0x0001 /* GP1_EINT */
  2501. #define WM2200_GP1_EINT_MASK 0x0001 /* GP1_EINT */
  2502. #define WM2200_GP1_EINT_SHIFT 0 /* GP1_EINT */
  2503. #define WM2200_GP1_EINT_WIDTH 1 /* GP1_EINT */
  2504. /*
  2505. * R2049 (0x801) - Interrupt Status 1 Mask
  2506. */
  2507. #define WM2200_IM_DSP_IRQ0_EINT 0x0080 /* IM_DSP_IRQ0_EINT */
  2508. #define WM2200_IM_DSP_IRQ0_EINT_MASK 0x0080 /* IM_DSP_IRQ0_EINT */
  2509. #define WM2200_IM_DSP_IRQ0_EINT_SHIFT 7 /* IM_DSP_IRQ0_EINT */
  2510. #define WM2200_IM_DSP_IRQ0_EINT_WIDTH 1 /* IM_DSP_IRQ0_EINT */
  2511. #define WM2200_IM_DSP_IRQ1_EINT 0x0040 /* IM_DSP_IRQ1_EINT */
  2512. #define WM2200_IM_DSP_IRQ1_EINT_MASK 0x0040 /* IM_DSP_IRQ1_EINT */
  2513. #define WM2200_IM_DSP_IRQ1_EINT_SHIFT 6 /* IM_DSP_IRQ1_EINT */
  2514. #define WM2200_IM_DSP_IRQ1_EINT_WIDTH 1 /* IM_DSP_IRQ1_EINT */
  2515. #define WM2200_IM_DSP_IRQ2_EINT 0x0020 /* IM_DSP_IRQ2_EINT */
  2516. #define WM2200_IM_DSP_IRQ2_EINT_MASK 0x0020 /* IM_DSP_IRQ2_EINT */
  2517. #define WM2200_IM_DSP_IRQ2_EINT_SHIFT 5 /* IM_DSP_IRQ2_EINT */
  2518. #define WM2200_IM_DSP_IRQ2_EINT_WIDTH 1 /* IM_DSP_IRQ2_EINT */
  2519. #define WM2200_IM_DSP_IRQ3_EINT 0x0010 /* IM_DSP_IRQ3_EINT */
  2520. #define WM2200_IM_DSP_IRQ3_EINT_MASK 0x0010 /* IM_DSP_IRQ3_EINT */
  2521. #define WM2200_IM_DSP_IRQ3_EINT_SHIFT 4 /* IM_DSP_IRQ3_EINT */
  2522. #define WM2200_IM_DSP_IRQ3_EINT_WIDTH 1 /* IM_DSP_IRQ3_EINT */
  2523. #define WM2200_IM_GP4_EINT 0x0008 /* IM_GP4_EINT */
  2524. #define WM2200_IM_GP4_EINT_MASK 0x0008 /* IM_GP4_EINT */
  2525. #define WM2200_IM_GP4_EINT_SHIFT 3 /* IM_GP4_EINT */
  2526. #define WM2200_IM_GP4_EINT_WIDTH 1 /* IM_GP4_EINT */
  2527. #define WM2200_IM_GP3_EINT 0x0004 /* IM_GP3_EINT */
  2528. #define WM2200_IM_GP3_EINT_MASK 0x0004 /* IM_GP3_EINT */
  2529. #define WM2200_IM_GP3_EINT_SHIFT 2 /* IM_GP3_EINT */
  2530. #define WM2200_IM_GP3_EINT_WIDTH 1 /* IM_GP3_EINT */
  2531. #define WM2200_IM_GP2_EINT 0x0002 /* IM_GP2_EINT */
  2532. #define WM2200_IM_GP2_EINT_MASK 0x0002 /* IM_GP2_EINT */
  2533. #define WM2200_IM_GP2_EINT_SHIFT 1 /* IM_GP2_EINT */
  2534. #define WM2200_IM_GP2_EINT_WIDTH 1 /* IM_GP2_EINT */
  2535. #define WM2200_IM_GP1_EINT 0x0001 /* IM_GP1_EINT */
  2536. #define WM2200_IM_GP1_EINT_MASK 0x0001 /* IM_GP1_EINT */
  2537. #define WM2200_IM_GP1_EINT_SHIFT 0 /* IM_GP1_EINT */
  2538. #define WM2200_IM_GP1_EINT_WIDTH 1 /* IM_GP1_EINT */
  2539. /*
  2540. * R2050 (0x802) - Interrupt Status 2
  2541. */
  2542. #define WM2200_WSEQ_BUSY_EINT 0x0100 /* WSEQ_BUSY_EINT */
  2543. #define WM2200_WSEQ_BUSY_EINT_MASK 0x0100 /* WSEQ_BUSY_EINT */
  2544. #define WM2200_WSEQ_BUSY_EINT_SHIFT 8 /* WSEQ_BUSY_EINT */
  2545. #define WM2200_WSEQ_BUSY_EINT_WIDTH 1 /* WSEQ_BUSY_EINT */
  2546. #define WM2200_FLL_LOCK_EINT 0x0002 /* FLL_LOCK_EINT */
  2547. #define WM2200_FLL_LOCK_EINT_MASK 0x0002 /* FLL_LOCK_EINT */
  2548. #define WM2200_FLL_LOCK_EINT_SHIFT 1 /* FLL_LOCK_EINT */
  2549. #define WM2200_FLL_LOCK_EINT_WIDTH 1 /* FLL_LOCK_EINT */
  2550. #define WM2200_CLKGEN_EINT 0x0001 /* CLKGEN_EINT */
  2551. #define WM2200_CLKGEN_EINT_MASK 0x0001 /* CLKGEN_EINT */
  2552. #define WM2200_CLKGEN_EINT_SHIFT 0 /* CLKGEN_EINT */
  2553. #define WM2200_CLKGEN_EINT_WIDTH 1 /* CLKGEN_EINT */
  2554. /*
  2555. * R2051 (0x803) - Interrupt Raw Status 2
  2556. */
  2557. #define WM2200_WSEQ_BUSY_STS 0x0100 /* WSEQ_BUSY_STS */
  2558. #define WM2200_WSEQ_BUSY_STS_MASK 0x0100 /* WSEQ_BUSY_STS */
  2559. #define WM2200_WSEQ_BUSY_STS_SHIFT 8 /* WSEQ_BUSY_STS */
  2560. #define WM2200_WSEQ_BUSY_STS_WIDTH 1 /* WSEQ_BUSY_STS */
  2561. #define WM2200_FLL_LOCK_STS 0x0002 /* FLL_LOCK_STS */
  2562. #define WM2200_FLL_LOCK_STS_MASK 0x0002 /* FLL_LOCK_STS */
  2563. #define WM2200_FLL_LOCK_STS_SHIFT 1 /* FLL_LOCK_STS */
  2564. #define WM2200_FLL_LOCK_STS_WIDTH 1 /* FLL_LOCK_STS */
  2565. #define WM2200_CLKGEN_STS 0x0001 /* CLKGEN_STS */
  2566. #define WM2200_CLKGEN_STS_MASK 0x0001 /* CLKGEN_STS */
  2567. #define WM2200_CLKGEN_STS_SHIFT 0 /* CLKGEN_STS */
  2568. #define WM2200_CLKGEN_STS_WIDTH 1 /* CLKGEN_STS */
  2569. /*
  2570. * R2052 (0x804) - Interrupt Status 2 Mask
  2571. */
  2572. #define WM2200_IM_WSEQ_BUSY_EINT 0x0100 /* IM_WSEQ_BUSY_EINT */
  2573. #define WM2200_IM_WSEQ_BUSY_EINT_MASK 0x0100 /* IM_WSEQ_BUSY_EINT */
  2574. #define WM2200_IM_WSEQ_BUSY_EINT_SHIFT 8 /* IM_WSEQ_BUSY_EINT */
  2575. #define WM2200_IM_WSEQ_BUSY_EINT_WIDTH 1 /* IM_WSEQ_BUSY_EINT */
  2576. #define WM2200_IM_FLL_LOCK_EINT 0x0002 /* IM_FLL_LOCK_EINT */
  2577. #define WM2200_IM_FLL_LOCK_EINT_MASK 0x0002 /* IM_FLL_LOCK_EINT */
  2578. #define WM2200_IM_FLL_LOCK_EINT_SHIFT 1 /* IM_FLL_LOCK_EINT */
  2579. #define WM2200_IM_FLL_LOCK_EINT_WIDTH 1 /* IM_FLL_LOCK_EINT */
  2580. #define WM2200_IM_CLKGEN_EINT 0x0001 /* IM_CLKGEN_EINT */
  2581. #define WM2200_IM_CLKGEN_EINT_MASK 0x0001 /* IM_CLKGEN_EINT */
  2582. #define WM2200_IM_CLKGEN_EINT_SHIFT 0 /* IM_CLKGEN_EINT */
  2583. #define WM2200_IM_CLKGEN_EINT_WIDTH 1 /* IM_CLKGEN_EINT */
  2584. /*
  2585. * R2056 (0x808) - Interrupt Control
  2586. */
  2587. #define WM2200_IM_IRQ 0x0001 /* IM_IRQ */
  2588. #define WM2200_IM_IRQ_MASK 0x0001 /* IM_IRQ */
  2589. #define WM2200_IM_IRQ_SHIFT 0 /* IM_IRQ */
  2590. #define WM2200_IM_IRQ_WIDTH 1 /* IM_IRQ */
  2591. /*
  2592. * R2304 (0x900) - EQL_1
  2593. */
  2594. #define WM2200_EQL_B1_GAIN_MASK 0xF800 /* EQL_B1_GAIN - [15:11] */
  2595. #define WM2200_EQL_B1_GAIN_SHIFT 11 /* EQL_B1_GAIN - [15:11] */
  2596. #define WM2200_EQL_B1_GAIN_WIDTH 5 /* EQL_B1_GAIN - [15:11] */
  2597. #define WM2200_EQL_B2_GAIN_MASK 0x07C0 /* EQL_B2_GAIN - [10:6] */
  2598. #define WM2200_EQL_B2_GAIN_SHIFT 6 /* EQL_B2_GAIN - [10:6] */
  2599. #define WM2200_EQL_B2_GAIN_WIDTH 5 /* EQL_B2_GAIN - [10:6] */
  2600. #define WM2200_EQL_B3_GAIN_MASK 0x003E /* EQL_B3_GAIN - [5:1] */
  2601. #define WM2200_EQL_B3_GAIN_SHIFT 1 /* EQL_B3_GAIN - [5:1] */
  2602. #define WM2200_EQL_B3_GAIN_WIDTH 5 /* EQL_B3_GAIN - [5:1] */
  2603. #define WM2200_EQL_ENA 0x0001 /* EQL_ENA */
  2604. #define WM2200_EQL_ENA_MASK 0x0001 /* EQL_ENA */
  2605. #define WM2200_EQL_ENA_SHIFT 0 /* EQL_ENA */
  2606. #define WM2200_EQL_ENA_WIDTH 1 /* EQL_ENA */
  2607. /*
  2608. * R2305 (0x901) - EQL_2
  2609. */
  2610. #define WM2200_EQL_B4_GAIN_MASK 0xF800 /* EQL_B4_GAIN - [15:11] */
  2611. #define WM2200_EQL_B4_GAIN_SHIFT 11 /* EQL_B4_GAIN - [15:11] */
  2612. #define WM2200_EQL_B4_GAIN_WIDTH 5 /* EQL_B4_GAIN - [15:11] */
  2613. #define WM2200_EQL_B5_GAIN_MASK 0x07C0 /* EQL_B5_GAIN - [10:6] */
  2614. #define WM2200_EQL_B5_GAIN_SHIFT 6 /* EQL_B5_GAIN - [10:6] */
  2615. #define WM2200_EQL_B5_GAIN_WIDTH 5 /* EQL_B5_GAIN - [10:6] */
  2616. /*
  2617. * R2306 (0x902) - EQL_3
  2618. */
  2619. #define WM2200_EQL_B1_A_MASK 0xFFFF /* EQL_B1_A - [15:0] */
  2620. #define WM2200_EQL_B1_A_SHIFT 0 /* EQL_B1_A - [15:0] */
  2621. #define WM2200_EQL_B1_A_WIDTH 16 /* EQL_B1_A - [15:0] */
  2622. /*
  2623. * R2307 (0x903) - EQL_4
  2624. */
  2625. #define WM2200_EQL_B1_B_MASK 0xFFFF /* EQL_B1_B - [15:0] */
  2626. #define WM2200_EQL_B1_B_SHIFT 0 /* EQL_B1_B - [15:0] */
  2627. #define WM2200_EQL_B1_B_WIDTH 16 /* EQL_B1_B - [15:0] */
  2628. /*
  2629. * R2308 (0x904) - EQL_5
  2630. */
  2631. #define WM2200_EQL_B1_PG_MASK 0xFFFF /* EQL_B1_PG - [15:0] */
  2632. #define WM2200_EQL_B1_PG_SHIFT 0 /* EQL_B1_PG - [15:0] */
  2633. #define WM2200_EQL_B1_PG_WIDTH 16 /* EQL_B1_PG - [15:0] */
  2634. /*
  2635. * R2309 (0x905) - EQL_6
  2636. */
  2637. #define WM2200_EQL_B2_A_MASK 0xFFFF /* EQL_B2_A - [15:0] */
  2638. #define WM2200_EQL_B2_A_SHIFT 0 /* EQL_B2_A - [15:0] */
  2639. #define WM2200_EQL_B2_A_WIDTH 16 /* EQL_B2_A - [15:0] */
  2640. /*
  2641. * R2310 (0x906) - EQL_7
  2642. */
  2643. #define WM2200_EQL_B2_B_MASK 0xFFFF /* EQL_B2_B - [15:0] */
  2644. #define WM2200_EQL_B2_B_SHIFT 0 /* EQL_B2_B - [15:0] */
  2645. #define WM2200_EQL_B2_B_WIDTH 16 /* EQL_B2_B - [15:0] */
  2646. /*
  2647. * R2311 (0x907) - EQL_8
  2648. */
  2649. #define WM2200_EQL_B2_C_MASK 0xFFFF /* EQL_B2_C - [15:0] */
  2650. #define WM2200_EQL_B2_C_SHIFT 0 /* EQL_B2_C - [15:0] */
  2651. #define WM2200_EQL_B2_C_WIDTH 16 /* EQL_B2_C - [15:0] */
  2652. /*
  2653. * R2312 (0x908) - EQL_9
  2654. */
  2655. #define WM2200_EQL_B2_PG_MASK 0xFFFF /* EQL_B2_PG - [15:0] */
  2656. #define WM2200_EQL_B2_PG_SHIFT 0 /* EQL_B2_PG - [15:0] */
  2657. #define WM2200_EQL_B2_PG_WIDTH 16 /* EQL_B2_PG - [15:0] */
  2658. /*
  2659. * R2313 (0x909) - EQL_10
  2660. */
  2661. #define WM2200_EQL_B3_A_MASK 0xFFFF /* EQL_B3_A - [15:0] */
  2662. #define WM2200_EQL_B3_A_SHIFT 0 /* EQL_B3_A - [15:0] */
  2663. #define WM2200_EQL_B3_A_WIDTH 16 /* EQL_B3_A - [15:0] */
  2664. /*
  2665. * R2314 (0x90A) - EQL_11
  2666. */
  2667. #define WM2200_EQL_B3_B_MASK 0xFFFF /* EQL_B3_B - [15:0] */
  2668. #define WM2200_EQL_B3_B_SHIFT 0 /* EQL_B3_B - [15:0] */
  2669. #define WM2200_EQL_B3_B_WIDTH 16 /* EQL_B3_B - [15:0] */
  2670. /*
  2671. * R2315 (0x90B) - EQL_12
  2672. */
  2673. #define WM2200_EQL_B3_C_MASK 0xFFFF /* EQL_B3_C - [15:0] */
  2674. #define WM2200_EQL_B3_C_SHIFT 0 /* EQL_B3_C - [15:0] */
  2675. #define WM2200_EQL_B3_C_WIDTH 16 /* EQL_B3_C - [15:0] */
  2676. /*
  2677. * R2316 (0x90C) - EQL_13
  2678. */
  2679. #define WM2200_EQL_B3_PG_MASK 0xFFFF /* EQL_B3_PG - [15:0] */
  2680. #define WM2200_EQL_B3_PG_SHIFT 0 /* EQL_B3_PG - [15:0] */
  2681. #define WM2200_EQL_B3_PG_WIDTH 16 /* EQL_B3_PG - [15:0] */
  2682. /*
  2683. * R2317 (0x90D) - EQL_14
  2684. */
  2685. #define WM2200_EQL_B4_A_MASK 0xFFFF /* EQL_B4_A - [15:0] */
  2686. #define WM2200_EQL_B4_A_SHIFT 0 /* EQL_B4_A - [15:0] */
  2687. #define WM2200_EQL_B4_A_WIDTH 16 /* EQL_B4_A - [15:0] */
  2688. /*
  2689. * R2318 (0x90E) - EQL_15
  2690. */
  2691. #define WM2200_EQL_B4_B_MASK 0xFFFF /* EQL_B4_B - [15:0] */
  2692. #define WM2200_EQL_B4_B_SHIFT 0 /* EQL_B4_B - [15:0] */
  2693. #define WM2200_EQL_B4_B_WIDTH 16 /* EQL_B4_B - [15:0] */
  2694. /*
  2695. * R2319 (0x90F) - EQL_16
  2696. */
  2697. #define WM2200_EQL_B4_C_MASK 0xFFFF /* EQL_B4_C - [15:0] */
  2698. #define WM2200_EQL_B4_C_SHIFT 0 /* EQL_B4_C - [15:0] */
  2699. #define WM2200_EQL_B4_C_WIDTH 16 /* EQL_B4_C - [15:0] */
  2700. /*
  2701. * R2320 (0x910) - EQL_17
  2702. */
  2703. #define WM2200_EQL_B4_PG_MASK 0xFFFF /* EQL_B4_PG - [15:0] */
  2704. #define WM2200_EQL_B4_PG_SHIFT 0 /* EQL_B4_PG - [15:0] */
  2705. #define WM2200_EQL_B4_PG_WIDTH 16 /* EQL_B4_PG - [15:0] */
  2706. /*
  2707. * R2321 (0x911) - EQL_18
  2708. */
  2709. #define WM2200_EQL_B5_A_MASK 0xFFFF /* EQL_B5_A - [15:0] */
  2710. #define WM2200_EQL_B5_A_SHIFT 0 /* EQL_B5_A - [15:0] */
  2711. #define WM2200_EQL_B5_A_WIDTH 16 /* EQL_B5_A - [15:0] */
  2712. /*
  2713. * R2322 (0x912) - EQL_19
  2714. */
  2715. #define WM2200_EQL_B5_B_MASK 0xFFFF /* EQL_B5_B - [15:0] */
  2716. #define WM2200_EQL_B5_B_SHIFT 0 /* EQL_B5_B - [15:0] */
  2717. #define WM2200_EQL_B5_B_WIDTH 16 /* EQL_B5_B - [15:0] */
  2718. /*
  2719. * R2323 (0x913) - EQL_20
  2720. */
  2721. #define WM2200_EQL_B5_PG_MASK 0xFFFF /* EQL_B5_PG - [15:0] */
  2722. #define WM2200_EQL_B5_PG_SHIFT 0 /* EQL_B5_PG - [15:0] */
  2723. #define WM2200_EQL_B5_PG_WIDTH 16 /* EQL_B5_PG - [15:0] */
  2724. /*
  2725. * R2326 (0x916) - EQR_1
  2726. */
  2727. #define WM2200_EQR_B1_GAIN_MASK 0xF800 /* EQR_B1_GAIN - [15:11] */
  2728. #define WM2200_EQR_B1_GAIN_SHIFT 11 /* EQR_B1_GAIN - [15:11] */
  2729. #define WM2200_EQR_B1_GAIN_WIDTH 5 /* EQR_B1_GAIN - [15:11] */
  2730. #define WM2200_EQR_B2_GAIN_MASK 0x07C0 /* EQR_B2_GAIN - [10:6] */
  2731. #define WM2200_EQR_B2_GAIN_SHIFT 6 /* EQR_B2_GAIN - [10:6] */
  2732. #define WM2200_EQR_B2_GAIN_WIDTH 5 /* EQR_B2_GAIN - [10:6] */
  2733. #define WM2200_EQR_B3_GAIN_MASK 0x003E /* EQR_B3_GAIN - [5:1] */
  2734. #define WM2200_EQR_B3_GAIN_SHIFT 1 /* EQR_B3_GAIN - [5:1] */
  2735. #define WM2200_EQR_B3_GAIN_WIDTH 5 /* EQR_B3_GAIN - [5:1] */
  2736. #define WM2200_EQR_ENA 0x0001 /* EQR_ENA */
  2737. #define WM2200_EQR_ENA_MASK 0x0001 /* EQR_ENA */
  2738. #define WM2200_EQR_ENA_SHIFT 0 /* EQR_ENA */
  2739. #define WM2200_EQR_ENA_WIDTH 1 /* EQR_ENA */
  2740. /*
  2741. * R2327 (0x917) - EQR_2
  2742. */
  2743. #define WM2200_EQR_B4_GAIN_MASK 0xF800 /* EQR_B4_GAIN - [15:11] */
  2744. #define WM2200_EQR_B4_GAIN_SHIFT 11 /* EQR_B4_GAIN - [15:11] */
  2745. #define WM2200_EQR_B4_GAIN_WIDTH 5 /* EQR_B4_GAIN - [15:11] */
  2746. #define WM2200_EQR_B5_GAIN_MASK 0x07C0 /* EQR_B5_GAIN - [10:6] */
  2747. #define WM2200_EQR_B5_GAIN_SHIFT 6 /* EQR_B5_GAIN - [10:6] */
  2748. #define WM2200_EQR_B5_GAIN_WIDTH 5 /* EQR_B5_GAIN - [10:6] */
  2749. /*
  2750. * R2328 (0x918) - EQR_3
  2751. */
  2752. #define WM2200_EQR_B1_A_MASK 0xFFFF /* EQR_B1_A - [15:0] */
  2753. #define WM2200_EQR_B1_A_SHIFT 0 /* EQR_B1_A - [15:0] */
  2754. #define WM2200_EQR_B1_A_WIDTH 16 /* EQR_B1_A - [15:0] */
  2755. /*
  2756. * R2329 (0x919) - EQR_4
  2757. */
  2758. #define WM2200_EQR_B1_B_MASK 0xFFFF /* EQR_B1_B - [15:0] */
  2759. #define WM2200_EQR_B1_B_SHIFT 0 /* EQR_B1_B - [15:0] */
  2760. #define WM2200_EQR_B1_B_WIDTH 16 /* EQR_B1_B - [15:0] */
  2761. /*
  2762. * R2330 (0x91A) - EQR_5
  2763. */
  2764. #define WM2200_EQR_B1_PG_MASK 0xFFFF /* EQR_B1_PG - [15:0] */
  2765. #define WM2200_EQR_B1_PG_SHIFT 0 /* EQR_B1_PG - [15:0] */
  2766. #define WM2200_EQR_B1_PG_WIDTH 16 /* EQR_B1_PG - [15:0] */
  2767. /*
  2768. * R2331 (0x91B) - EQR_6
  2769. */
  2770. #define WM2200_EQR_B2_A_MASK 0xFFFF /* EQR_B2_A - [15:0] */
  2771. #define WM2200_EQR_B2_A_SHIFT 0 /* EQR_B2_A - [15:0] */
  2772. #define WM2200_EQR_B2_A_WIDTH 16 /* EQR_B2_A - [15:0] */
  2773. /*
  2774. * R2332 (0x91C) - EQR_7
  2775. */
  2776. #define WM2200_EQR_B2_B_MASK 0xFFFF /* EQR_B2_B - [15:0] */
  2777. #define WM2200_EQR_B2_B_SHIFT 0 /* EQR_B2_B - [15:0] */
  2778. #define WM2200_EQR_B2_B_WIDTH 16 /* EQR_B2_B - [15:0] */
  2779. /*
  2780. * R2333 (0x91D) - EQR_8
  2781. */
  2782. #define WM2200_EQR_B2_C_MASK 0xFFFF /* EQR_B2_C - [15:0] */
  2783. #define WM2200_EQR_B2_C_SHIFT 0 /* EQR_B2_C - [15:0] */
  2784. #define WM2200_EQR_B2_C_WIDTH 16 /* EQR_B2_C - [15:0] */
  2785. /*
  2786. * R2334 (0x91E) - EQR_9
  2787. */
  2788. #define WM2200_EQR_B2_PG_MASK 0xFFFF /* EQR_B2_PG - [15:0] */
  2789. #define WM2200_EQR_B2_PG_SHIFT 0 /* EQR_B2_PG - [15:0] */
  2790. #define WM2200_EQR_B2_PG_WIDTH 16 /* EQR_B2_PG - [15:0] */
  2791. /*
  2792. * R2335 (0x91F) - EQR_10
  2793. */
  2794. #define WM2200_EQR_B3_A_MASK 0xFFFF /* EQR_B3_A - [15:0] */
  2795. #define WM2200_EQR_B3_A_SHIFT 0 /* EQR_B3_A - [15:0] */
  2796. #define WM2200_EQR_B3_A_WIDTH 16 /* EQR_B3_A - [15:0] */
  2797. /*
  2798. * R2336 (0x920) - EQR_11
  2799. */
  2800. #define WM2200_EQR_B3_B_MASK 0xFFFF /* EQR_B3_B - [15:0] */
  2801. #define WM2200_EQR_B3_B_SHIFT 0 /* EQR_B3_B - [15:0] */
  2802. #define WM2200_EQR_B3_B_WIDTH 16 /* EQR_B3_B - [15:0] */
  2803. /*
  2804. * R2337 (0x921) - EQR_12
  2805. */
  2806. #define WM2200_EQR_B3_C_MASK 0xFFFF /* EQR_B3_C - [15:0] */
  2807. #define WM2200_EQR_B3_C_SHIFT 0 /* EQR_B3_C - [15:0] */
  2808. #define WM2200_EQR_B3_C_WIDTH 16 /* EQR_B3_C - [15:0] */
  2809. /*
  2810. * R2338 (0x922) - EQR_13
  2811. */
  2812. #define WM2200_EQR_B3_PG_MASK 0xFFFF /* EQR_B3_PG - [15:0] */
  2813. #define WM2200_EQR_B3_PG_SHIFT 0 /* EQR_B3_PG - [15:0] */
  2814. #define WM2200_EQR_B3_PG_WIDTH 16 /* EQR_B3_PG - [15:0] */
  2815. /*
  2816. * R2339 (0x923) - EQR_14
  2817. */
  2818. #define WM2200_EQR_B4_A_MASK 0xFFFF /* EQR_B4_A - [15:0] */
  2819. #define WM2200_EQR_B4_A_SHIFT 0 /* EQR_B4_A - [15:0] */
  2820. #define WM2200_EQR_B4_A_WIDTH 16 /* EQR_B4_A - [15:0] */
  2821. /*
  2822. * R2340 (0x924) - EQR_15
  2823. */
  2824. #define WM2200_EQR_B4_B_MASK 0xFFFF /* EQR_B4_B - [15:0] */
  2825. #define WM2200_EQR_B4_B_SHIFT 0 /* EQR_B4_B - [15:0] */
  2826. #define WM2200_EQR_B4_B_WIDTH 16 /* EQR_B4_B - [15:0] */
  2827. /*
  2828. * R2341 (0x925) - EQR_16
  2829. */
  2830. #define WM2200_EQR_B4_C_MASK 0xFFFF /* EQR_B4_C - [15:0] */
  2831. #define WM2200_EQR_B4_C_SHIFT 0 /* EQR_B4_C - [15:0] */
  2832. #define WM2200_EQR_B4_C_WIDTH 16 /* EQR_B4_C - [15:0] */
  2833. /*
  2834. * R2342 (0x926) - EQR_17
  2835. */
  2836. #define WM2200_EQR_B4_PG_MASK 0xFFFF /* EQR_B4_PG - [15:0] */
  2837. #define WM2200_EQR_B4_PG_SHIFT 0 /* EQR_B4_PG - [15:0] */
  2838. #define WM2200_EQR_B4_PG_WIDTH 16 /* EQR_B4_PG - [15:0] */
  2839. /*
  2840. * R2343 (0x927) - EQR_18
  2841. */
  2842. #define WM2200_EQR_B5_A_MASK 0xFFFF /* EQR_B5_A - [15:0] */
  2843. #define WM2200_EQR_B5_A_SHIFT 0 /* EQR_B5_A - [15:0] */
  2844. #define WM2200_EQR_B5_A_WIDTH 16 /* EQR_B5_A - [15:0] */
  2845. /*
  2846. * R2344 (0x928) - EQR_19
  2847. */
  2848. #define WM2200_EQR_B5_B_MASK 0xFFFF /* EQR_B5_B - [15:0] */
  2849. #define WM2200_EQR_B5_B_SHIFT 0 /* EQR_B5_B - [15:0] */
  2850. #define WM2200_EQR_B5_B_WIDTH 16 /* EQR_B5_B - [15:0] */
  2851. /*
  2852. * R2345 (0x929) - EQR_20
  2853. */
  2854. #define WM2200_EQR_B5_PG_MASK 0xFFFF /* EQR_B5_PG - [15:0] */
  2855. #define WM2200_EQR_B5_PG_SHIFT 0 /* EQR_B5_PG - [15:0] */
  2856. #define WM2200_EQR_B5_PG_WIDTH 16 /* EQR_B5_PG - [15:0] */
  2857. /*
  2858. * R2366 (0x93E) - HPLPF1_1
  2859. */
  2860. #define WM2200_LHPF1_MODE 0x0002 /* LHPF1_MODE */
  2861. #define WM2200_LHPF1_MODE_MASK 0x0002 /* LHPF1_MODE */
  2862. #define WM2200_LHPF1_MODE_SHIFT 1 /* LHPF1_MODE */
  2863. #define WM2200_LHPF1_MODE_WIDTH 1 /* LHPF1_MODE */
  2864. #define WM2200_LHPF1_ENA 0x0001 /* LHPF1_ENA */
  2865. #define WM2200_LHPF1_ENA_MASK 0x0001 /* LHPF1_ENA */
  2866. #define WM2200_LHPF1_ENA_SHIFT 0 /* LHPF1_ENA */
  2867. #define WM2200_LHPF1_ENA_WIDTH 1 /* LHPF1_ENA */
  2868. /*
  2869. * R2367 (0x93F) - HPLPF1_2
  2870. */
  2871. #define WM2200_LHPF1_COEFF_MASK 0xFFFF /* LHPF1_COEFF - [15:0] */
  2872. #define WM2200_LHPF1_COEFF_SHIFT 0 /* LHPF1_COEFF - [15:0] */
  2873. #define WM2200_LHPF1_COEFF_WIDTH 16 /* LHPF1_COEFF - [15:0] */
  2874. /*
  2875. * R2370 (0x942) - HPLPF2_1
  2876. */
  2877. #define WM2200_LHPF2_MODE 0x0002 /* LHPF2_MODE */
  2878. #define WM2200_LHPF2_MODE_MASK 0x0002 /* LHPF2_MODE */
  2879. #define WM2200_LHPF2_MODE_SHIFT 1 /* LHPF2_MODE */
  2880. #define WM2200_LHPF2_MODE_WIDTH 1 /* LHPF2_MODE */
  2881. #define WM2200_LHPF2_ENA 0x0001 /* LHPF2_ENA */
  2882. #define WM2200_LHPF2_ENA_MASK 0x0001 /* LHPF2_ENA */
  2883. #define WM2200_LHPF2_ENA_SHIFT 0 /* LHPF2_ENA */
  2884. #define WM2200_LHPF2_ENA_WIDTH 1 /* LHPF2_ENA */
  2885. /*
  2886. * R2371 (0x943) - HPLPF2_2
  2887. */
  2888. #define WM2200_LHPF2_COEFF_MASK 0xFFFF /* LHPF2_COEFF - [15:0] */
  2889. #define WM2200_LHPF2_COEFF_SHIFT 0 /* LHPF2_COEFF - [15:0] */
  2890. #define WM2200_LHPF2_COEFF_WIDTH 16 /* LHPF2_COEFF - [15:0] */
  2891. /*
  2892. * R2560 (0xA00) - DSP1 Control 1
  2893. */
  2894. #define WM2200_DSP1_RW_SEQUENCE_ENA 0x0001 /* DSP1_RW_SEQUENCE_ENA */
  2895. #define WM2200_DSP1_RW_SEQUENCE_ENA_MASK 0x0001 /* DSP1_RW_SEQUENCE_ENA */
  2896. #define WM2200_DSP1_RW_SEQUENCE_ENA_SHIFT 0 /* DSP1_RW_SEQUENCE_ENA */
  2897. #define WM2200_DSP1_RW_SEQUENCE_ENA_WIDTH 1 /* DSP1_RW_SEQUENCE_ENA */
  2898. /*
  2899. * R2562 (0xA02) - DSP1 Control 2
  2900. */
  2901. #define WM2200_DSP1_PAGE_BASE_PM_0_MASK 0xFF00 /* DSP1_PAGE_BASE_PM - [15:8] */
  2902. #define WM2200_DSP1_PAGE_BASE_PM_0_SHIFT 8 /* DSP1_PAGE_BASE_PM - [15:8] */
  2903. #define WM2200_DSP1_PAGE_BASE_PM_0_WIDTH 8 /* DSP1_PAGE_BASE_PM - [15:8] */
  2904. /*
  2905. * R2563 (0xA03) - DSP1 Control 3
  2906. */
  2907. #define WM2200_DSP1_PAGE_BASE_DM_0_MASK 0xFF00 /* DSP1_PAGE_BASE_DM - [15:8] */
  2908. #define WM2200_DSP1_PAGE_BASE_DM_0_SHIFT 8 /* DSP1_PAGE_BASE_DM - [15:8] */
  2909. #define WM2200_DSP1_PAGE_BASE_DM_0_WIDTH 8 /* DSP1_PAGE_BASE_DM - [15:8] */
  2910. /*
  2911. * R2564 (0xA04) - DSP1 Control 4
  2912. */
  2913. #define WM2200_DSP1_PAGE_BASE_ZM_0_MASK 0xFF00 /* DSP1_PAGE_BASE_ZM - [15:8] */
  2914. #define WM2200_DSP1_PAGE_BASE_ZM_0_SHIFT 8 /* DSP1_PAGE_BASE_ZM - [15:8] */
  2915. #define WM2200_DSP1_PAGE_BASE_ZM_0_WIDTH 8 /* DSP1_PAGE_BASE_ZM - [15:8] */
  2916. /*
  2917. * R2566 (0xA06) - DSP1 Control 5
  2918. */
  2919. #define WM2200_DSP1_START_ADDRESS_WDMA_BUFFER_0_MASK 0x3FFF /* DSP1_START_ADDRESS_WDMA_BUFFER_0 - [13:0] */
  2920. #define WM2200_DSP1_START_ADDRESS_WDMA_BUFFER_0_SHIFT 0 /* DSP1_START_ADDRESS_WDMA_BUFFER_0 - [13:0] */
  2921. #define WM2200_DSP1_START_ADDRESS_WDMA_BUFFER_0_WIDTH 14 /* DSP1_START_ADDRESS_WDMA_BUFFER_0 - [13:0] */
  2922. /*
  2923. * R2567 (0xA07) - DSP1 Control 6
  2924. */
  2925. #define WM2200_DSP1_START_ADDRESS_WDMA_BUFFER_1_MASK 0x3FFF /* DSP1_START_ADDRESS_WDMA_BUFFER_1 - [13:0] */
  2926. #define WM2200_DSP1_START_ADDRESS_WDMA_BUFFER_1_SHIFT 0 /* DSP1_START_ADDRESS_WDMA_BUFFER_1 - [13:0] */
  2927. #define WM2200_DSP1_START_ADDRESS_WDMA_BUFFER_1_WIDTH 14 /* DSP1_START_ADDRESS_WDMA_BUFFER_1 - [13:0] */
  2928. /*
  2929. * R2568 (0xA08) - DSP1 Control 7
  2930. */
  2931. #define WM2200_DSP1_START_ADDRESS_WDMA_BUFFER_2_MASK 0x3FFF /* DSP1_START_ADDRESS_WDMA_BUFFER_2 - [13:0] */
  2932. #define WM2200_DSP1_START_ADDRESS_WDMA_BUFFER_2_SHIFT 0 /* DSP1_START_ADDRESS_WDMA_BUFFER_2 - [13:0] */
  2933. #define WM2200_DSP1_START_ADDRESS_WDMA_BUFFER_2_WIDTH 14 /* DSP1_START_ADDRESS_WDMA_BUFFER_2 - [13:0] */
  2934. /*
  2935. * R2569 (0xA09) - DSP1 Control 8
  2936. */
  2937. #define WM2200_DSP1_START_ADDRESS_WDMA_BUFFER_3_MASK 0x3FFF /* DSP1_START_ADDRESS_WDMA_BUFFER_3 - [13:0] */
  2938. #define WM2200_DSP1_START_ADDRESS_WDMA_BUFFER_3_SHIFT 0 /* DSP1_START_ADDRESS_WDMA_BUFFER_3 - [13:0] */
  2939. #define WM2200_DSP1_START_ADDRESS_WDMA_BUFFER_3_WIDTH 14 /* DSP1_START_ADDRESS_WDMA_BUFFER_3 - [13:0] */
  2940. /*
  2941. * R2570 (0xA0A) - DSP1 Control 9
  2942. */
  2943. #define WM2200_DSP1_START_ADDRESS_WDMA_BUFFER_4_MASK 0x3FFF /* DSP1_START_ADDRESS_WDMA_BUFFER_4 - [13:0] */
  2944. #define WM2200_DSP1_START_ADDRESS_WDMA_BUFFER_4_SHIFT 0 /* DSP1_START_ADDRESS_WDMA_BUFFER_4 - [13:0] */
  2945. #define WM2200_DSP1_START_ADDRESS_WDMA_BUFFER_4_WIDTH 14 /* DSP1_START_ADDRESS_WDMA_BUFFER_4 - [13:0] */
  2946. /*
  2947. * R2571 (0xA0B) - DSP1 Control 10
  2948. */
  2949. #define WM2200_DSP1_START_ADDRESS_WDMA_BUFFER_5_MASK 0x3FFF /* DSP1_START_ADDRESS_WDMA_BUFFER_5 - [13:0] */
  2950. #define WM2200_DSP1_START_ADDRESS_WDMA_BUFFER_5_SHIFT 0 /* DSP1_START_ADDRESS_WDMA_BUFFER_5 - [13:0] */
  2951. #define WM2200_DSP1_START_ADDRESS_WDMA_BUFFER_5_WIDTH 14 /* DSP1_START_ADDRESS_WDMA_BUFFER_5 - [13:0] */
  2952. /*
  2953. * R2572 (0xA0C) - DSP1 Control 11
  2954. */
  2955. #define WM2200_DSP1_START_ADDRESS_WDMA_BUFFER_6_MASK 0x3FFF /* DSP1_START_ADDRESS_WDMA_BUFFER_6 - [13:0] */
  2956. #define WM2200_DSP1_START_ADDRESS_WDMA_BUFFER_6_SHIFT 0 /* DSP1_START_ADDRESS_WDMA_BUFFER_6 - [13:0] */
  2957. #define WM2200_DSP1_START_ADDRESS_WDMA_BUFFER_6_WIDTH 14 /* DSP1_START_ADDRESS_WDMA_BUFFER_6 - [13:0] */
  2958. /*
  2959. * R2573 (0xA0D) - DSP1 Control 12
  2960. */
  2961. #define WM2200_DSP1_START_ADDRESS_WDMA_BUFFER_7_MASK 0x3FFF /* DSP1_START_ADDRESS_WDMA_BUFFER_7 - [13:0] */
  2962. #define WM2200_DSP1_START_ADDRESS_WDMA_BUFFER_7_SHIFT 0 /* DSP1_START_ADDRESS_WDMA_BUFFER_7 - [13:0] */
  2963. #define WM2200_DSP1_START_ADDRESS_WDMA_BUFFER_7_WIDTH 14 /* DSP1_START_ADDRESS_WDMA_BUFFER_7 - [13:0] */
  2964. /*
  2965. * R2575 (0xA0F) - DSP1 Control 13
  2966. */
  2967. #define WM2200_DSP1_START_ADDRESS_RDMA_BUFFER_0_MASK 0x3FFF /* DSP1_START_ADDRESS_RDMA_BUFFER_0 - [13:0] */
  2968. #define WM2200_DSP1_START_ADDRESS_RDMA_BUFFER_0_SHIFT 0 /* DSP1_START_ADDRESS_RDMA_BUFFER_0 - [13:0] */
  2969. #define WM2200_DSP1_START_ADDRESS_RDMA_BUFFER_0_WIDTH 14 /* DSP1_START_ADDRESS_RDMA_BUFFER_0 - [13:0] */
  2970. /*
  2971. * R2576 (0xA10) - DSP1 Control 14
  2972. */
  2973. #define WM2200_DSP1_START_ADDRESS_RDMA_BUFFER_1_MASK 0x3FFF /* DSP1_START_ADDRESS_RDMA_BUFFER_1 - [13:0] */
  2974. #define WM2200_DSP1_START_ADDRESS_RDMA_BUFFER_1_SHIFT 0 /* DSP1_START_ADDRESS_RDMA_BUFFER_1 - [13:0] */
  2975. #define WM2200_DSP1_START_ADDRESS_RDMA_BUFFER_1_WIDTH 14 /* DSP1_START_ADDRESS_RDMA_BUFFER_1 - [13:0] */
  2976. /*
  2977. * R2577 (0xA11) - DSP1 Control 15
  2978. */
  2979. #define WM2200_DSP1_START_ADDRESS_RDMA_BUFFER_2_MASK 0x3FFF /* DSP1_START_ADDRESS_RDMA_BUFFER_2 - [13:0] */
  2980. #define WM2200_DSP1_START_ADDRESS_RDMA_BUFFER_2_SHIFT 0 /* DSP1_START_ADDRESS_RDMA_BUFFER_2 - [13:0] */
  2981. #define WM2200_DSP1_START_ADDRESS_RDMA_BUFFER_2_WIDTH 14 /* DSP1_START_ADDRESS_RDMA_BUFFER_2 - [13:0] */
  2982. /*
  2983. * R2578 (0xA12) - DSP1 Control 16
  2984. */
  2985. #define WM2200_DSP1_START_ADDRESS_RDMA_BUFFER_3_MASK 0x3FFF /* DSP1_START_ADDRESS_RDMA_BUFFER_3 - [13:0] */
  2986. #define WM2200_DSP1_START_ADDRESS_RDMA_BUFFER_3_SHIFT 0 /* DSP1_START_ADDRESS_RDMA_BUFFER_3 - [13:0] */
  2987. #define WM2200_DSP1_START_ADDRESS_RDMA_BUFFER_3_WIDTH 14 /* DSP1_START_ADDRESS_RDMA_BUFFER_3 - [13:0] */
  2988. /*
  2989. * R2579 (0xA13) - DSP1 Control 17
  2990. */
  2991. #define WM2200_DSP1_START_ADDRESS_RDMA_BUFFER_4_MASK 0x3FFF /* DSP1_START_ADDRESS_RDMA_BUFFER_4 - [13:0] */
  2992. #define WM2200_DSP1_START_ADDRESS_RDMA_BUFFER_4_SHIFT 0 /* DSP1_START_ADDRESS_RDMA_BUFFER_4 - [13:0] */
  2993. #define WM2200_DSP1_START_ADDRESS_RDMA_BUFFER_4_WIDTH 14 /* DSP1_START_ADDRESS_RDMA_BUFFER_4 - [13:0] */
  2994. /*
  2995. * R2580 (0xA14) - DSP1 Control 18
  2996. */
  2997. #define WM2200_DSP1_START_ADDRESS_RDMA_BUFFER_5_MASK 0x3FFF /* DSP1_START_ADDRESS_RDMA_BUFFER_5 - [13:0] */
  2998. #define WM2200_DSP1_START_ADDRESS_RDMA_BUFFER_5_SHIFT 0 /* DSP1_START_ADDRESS_RDMA_BUFFER_5 - [13:0] */
  2999. #define WM2200_DSP1_START_ADDRESS_RDMA_BUFFER_5_WIDTH 14 /* DSP1_START_ADDRESS_RDMA_BUFFER_5 - [13:0] */
  3000. /*
  3001. * R2582 (0xA16) - DSP1 Control 19
  3002. */
  3003. #define WM2200_DSP1_WDMA_BUFFER_LENGTH_MASK 0x00FF /* DSP1_WDMA_BUFFER_LENGTH - [7:0] */
  3004. #define WM2200_DSP1_WDMA_BUFFER_LENGTH_SHIFT 0 /* DSP1_WDMA_BUFFER_LENGTH - [7:0] */
  3005. #define WM2200_DSP1_WDMA_BUFFER_LENGTH_WIDTH 8 /* DSP1_WDMA_BUFFER_LENGTH - [7:0] */
  3006. /*
  3007. * R2583 (0xA17) - DSP1 Control 20
  3008. */
  3009. #define WM2200_DSP1_WDMA_CHANNEL_ENABLE_MASK 0x00FF /* DSP1_WDMA_CHANNEL_ENABLE - [7:0] */
  3010. #define WM2200_DSP1_WDMA_CHANNEL_ENABLE_SHIFT 0 /* DSP1_WDMA_CHANNEL_ENABLE - [7:0] */
  3011. #define WM2200_DSP1_WDMA_CHANNEL_ENABLE_WIDTH 8 /* DSP1_WDMA_CHANNEL_ENABLE - [7:0] */
  3012. /*
  3013. * R2584 (0xA18) - DSP1 Control 21
  3014. */
  3015. #define WM2200_DSP1_RDMA_CHANNEL_ENABLE_MASK 0x003F /* DSP1_RDMA_CHANNEL_ENABLE - [5:0] */
  3016. #define WM2200_DSP1_RDMA_CHANNEL_ENABLE_SHIFT 0 /* DSP1_RDMA_CHANNEL_ENABLE - [5:0] */
  3017. #define WM2200_DSP1_RDMA_CHANNEL_ENABLE_WIDTH 6 /* DSP1_RDMA_CHANNEL_ENABLE - [5:0] */
  3018. /*
  3019. * R2586 (0xA1A) - DSP1 Control 22
  3020. */
  3021. #define WM2200_DSP1_DM_SIZE_MASK 0xFFFF /* DSP1_DM_SIZE - [15:0] */
  3022. #define WM2200_DSP1_DM_SIZE_SHIFT 0 /* DSP1_DM_SIZE - [15:0] */
  3023. #define WM2200_DSP1_DM_SIZE_WIDTH 16 /* DSP1_DM_SIZE - [15:0] */
  3024. /*
  3025. * R2587 (0xA1B) - DSP1 Control 23
  3026. */
  3027. #define WM2200_DSP1_PM_SIZE_MASK 0xFFFF /* DSP1_PM_SIZE - [15:0] */
  3028. #define WM2200_DSP1_PM_SIZE_SHIFT 0 /* DSP1_PM_SIZE - [15:0] */
  3029. #define WM2200_DSP1_PM_SIZE_WIDTH 16 /* DSP1_PM_SIZE - [15:0] */
  3030. /*
  3031. * R2588 (0xA1C) - DSP1 Control 24
  3032. */
  3033. #define WM2200_DSP1_ZM_SIZE_MASK 0xFFFF /* DSP1_ZM_SIZE - [15:0] */
  3034. #define WM2200_DSP1_ZM_SIZE_SHIFT 0 /* DSP1_ZM_SIZE - [15:0] */
  3035. #define WM2200_DSP1_ZM_SIZE_WIDTH 16 /* DSP1_ZM_SIZE - [15:0] */
  3036. /*
  3037. * R2590 (0xA1E) - DSP1 Control 25
  3038. */
  3039. #define WM2200_DSP1_PING_FULL 0x8000 /* DSP1_PING_FULL */
  3040. #define WM2200_DSP1_PING_FULL_MASK 0x8000 /* DSP1_PING_FULL */
  3041. #define WM2200_DSP1_PING_FULL_SHIFT 15 /* DSP1_PING_FULL */
  3042. #define WM2200_DSP1_PING_FULL_WIDTH 1 /* DSP1_PING_FULL */
  3043. #define WM2200_DSP1_PONG_FULL 0x4000 /* DSP1_PONG_FULL */
  3044. #define WM2200_DSP1_PONG_FULL_MASK 0x4000 /* DSP1_PONG_FULL */
  3045. #define WM2200_DSP1_PONG_FULL_SHIFT 14 /* DSP1_PONG_FULL */
  3046. #define WM2200_DSP1_PONG_FULL_WIDTH 1 /* DSP1_PONG_FULL */
  3047. #define WM2200_DSP1_WDMA_ACTIVE_CHANNELS_MASK 0x00FF /* DSP1_WDMA_ACTIVE_CHANNELS - [7:0] */
  3048. #define WM2200_DSP1_WDMA_ACTIVE_CHANNELS_SHIFT 0 /* DSP1_WDMA_ACTIVE_CHANNELS - [7:0] */
  3049. #define WM2200_DSP1_WDMA_ACTIVE_CHANNELS_WIDTH 8 /* DSP1_WDMA_ACTIVE_CHANNELS - [7:0] */
  3050. /*
  3051. * R2592 (0xA20) - DSP1 Control 26
  3052. */
  3053. #define WM2200_DSP1_SCRATCH_0_MASK 0xFFFF /* DSP1_SCRATCH_0 - [15:0] */
  3054. #define WM2200_DSP1_SCRATCH_0_SHIFT 0 /* DSP1_SCRATCH_0 - [15:0] */
  3055. #define WM2200_DSP1_SCRATCH_0_WIDTH 16 /* DSP1_SCRATCH_0 - [15:0] */
  3056. /*
  3057. * R2593 (0xA21) - DSP1 Control 27
  3058. */
  3059. #define WM2200_DSP1_SCRATCH_1_MASK 0xFFFF /* DSP1_SCRATCH_1 - [15:0] */
  3060. #define WM2200_DSP1_SCRATCH_1_SHIFT 0 /* DSP1_SCRATCH_1 - [15:0] */
  3061. #define WM2200_DSP1_SCRATCH_1_WIDTH 16 /* DSP1_SCRATCH_1 - [15:0] */
  3062. /*
  3063. * R2594 (0xA22) - DSP1 Control 28
  3064. */
  3065. #define WM2200_DSP1_SCRATCH_2_MASK 0xFFFF /* DSP1_SCRATCH_2 - [15:0] */
  3066. #define WM2200_DSP1_SCRATCH_2_SHIFT 0 /* DSP1_SCRATCH_2 - [15:0] */
  3067. #define WM2200_DSP1_SCRATCH_2_WIDTH 16 /* DSP1_SCRATCH_2 - [15:0] */
  3068. /*
  3069. * R2595 (0xA23) - DSP1 Control 29
  3070. */
  3071. #define WM2200_DSP1_SCRATCH_3_MASK 0xFFFF /* DSP1_SCRATCH_3 - [15:0] */
  3072. #define WM2200_DSP1_SCRATCH_3_SHIFT 0 /* DSP1_SCRATCH_3 - [15:0] */
  3073. #define WM2200_DSP1_SCRATCH_3_WIDTH 16 /* DSP1_SCRATCH_3 - [15:0] */
  3074. /*
  3075. * R2596 (0xA24) - DSP1 Control 30
  3076. */
  3077. #define WM2200_DSP1_DBG_CLK_ENA 0x0008 /* DSP1_DBG_CLK_ENA */
  3078. #define WM2200_DSP1_DBG_CLK_ENA_MASK 0x0008 /* DSP1_DBG_CLK_ENA */
  3079. #define WM2200_DSP1_DBG_CLK_ENA_SHIFT 3 /* DSP1_DBG_CLK_ENA */
  3080. #define WM2200_DSP1_DBG_CLK_ENA_WIDTH 1 /* DSP1_DBG_CLK_ENA */
  3081. #define WM2200_DSP1_SYS_ENA 0x0004 /* DSP1_SYS_ENA */
  3082. #define WM2200_DSP1_SYS_ENA_MASK 0x0004 /* DSP1_SYS_ENA */
  3083. #define WM2200_DSP1_SYS_ENA_SHIFT 2 /* DSP1_SYS_ENA */
  3084. #define WM2200_DSP1_SYS_ENA_WIDTH 1 /* DSP1_SYS_ENA */
  3085. #define WM2200_DSP1_CORE_ENA 0x0002 /* DSP1_CORE_ENA */
  3086. #define WM2200_DSP1_CORE_ENA_MASK 0x0002 /* DSP1_CORE_ENA */
  3087. #define WM2200_DSP1_CORE_ENA_SHIFT 1 /* DSP1_CORE_ENA */
  3088. #define WM2200_DSP1_CORE_ENA_WIDTH 1 /* DSP1_CORE_ENA */
  3089. #define WM2200_DSP1_START 0x0001 /* DSP1_START */
  3090. #define WM2200_DSP1_START_MASK 0x0001 /* DSP1_START */
  3091. #define WM2200_DSP1_START_SHIFT 0 /* DSP1_START */
  3092. #define WM2200_DSP1_START_WIDTH 1 /* DSP1_START */
  3093. /*
  3094. * R2598 (0xA26) - DSP1 Control 31
  3095. */
  3096. #define WM2200_DSP1_CLK_RATE_MASK 0x0018 /* DSP1_CLK_RATE - [4:3] */
  3097. #define WM2200_DSP1_CLK_RATE_SHIFT 3 /* DSP1_CLK_RATE - [4:3] */
  3098. #define WM2200_DSP1_CLK_RATE_WIDTH 2 /* DSP1_CLK_RATE - [4:3] */
  3099. #define WM2200_DSP1_CLK_AVAIL 0x0004 /* DSP1_CLK_AVAIL */
  3100. #define WM2200_DSP1_CLK_AVAIL_MASK 0x0004 /* DSP1_CLK_AVAIL */
  3101. #define WM2200_DSP1_CLK_AVAIL_SHIFT 2 /* DSP1_CLK_AVAIL */
  3102. #define WM2200_DSP1_CLK_AVAIL_WIDTH 1 /* DSP1_CLK_AVAIL */
  3103. #define WM2200_DSP1_CLK_REQ_MASK 0x0003 /* DSP1_CLK_REQ - [1:0] */
  3104. #define WM2200_DSP1_CLK_REQ_SHIFT 0 /* DSP1_CLK_REQ - [1:0] */
  3105. #define WM2200_DSP1_CLK_REQ_WIDTH 2 /* DSP1_CLK_REQ - [1:0] */
  3106. /*
  3107. * R2816 (0xB00) - DSP2 Control 1
  3108. */
  3109. #define WM2200_DSP2_RW_SEQUENCE_ENA 0x0001 /* DSP2_RW_SEQUENCE_ENA */
  3110. #define WM2200_DSP2_RW_SEQUENCE_ENA_MASK 0x0001 /* DSP2_RW_SEQUENCE_ENA */
  3111. #define WM2200_DSP2_RW_SEQUENCE_ENA_SHIFT 0 /* DSP2_RW_SEQUENCE_ENA */
  3112. #define WM2200_DSP2_RW_SEQUENCE_ENA_WIDTH 1 /* DSP2_RW_SEQUENCE_ENA */
  3113. /*
  3114. * R2818 (0xB02) - DSP2 Control 2
  3115. */
  3116. #define WM2200_DSP2_PAGE_BASE_PM_0_MASK 0xFF00 /* DSP2_PAGE_BASE_PM - [15:8] */
  3117. #define WM2200_DSP2_PAGE_BASE_PM_0_SHIFT 8 /* DSP2_PAGE_BASE_PM - [15:8] */
  3118. #define WM2200_DSP2_PAGE_BASE_PM_0_WIDTH 8 /* DSP2_PAGE_BASE_PM - [15:8] */
  3119. /*
  3120. * R2819 (0xB03) - DSP2 Control 3
  3121. */
  3122. #define WM2200_DSP2_PAGE_BASE_DM_0_MASK 0xFF00 /* DSP2_PAGE_BASE_DM - [15:8] */
  3123. #define WM2200_DSP2_PAGE_BASE_DM_0_SHIFT 8 /* DSP2_PAGE_BASE_DM - [15:8] */
  3124. #define WM2200_DSP2_PAGE_BASE_DM_0_WIDTH 8 /* DSP2_PAGE_BASE_DM - [15:8] */
  3125. /*
  3126. * R2820 (0xB04) - DSP2 Control 4
  3127. */
  3128. #define WM2200_DSP2_PAGE_BASE_ZM_0_MASK 0xFF00 /* DSP2_PAGE_BASE_ZM - [15:8] */
  3129. #define WM2200_DSP2_PAGE_BASE_ZM_0_SHIFT 8 /* DSP2_PAGE_BASE_ZM - [15:8] */
  3130. #define WM2200_DSP2_PAGE_BASE_ZM_0_WIDTH 8 /* DSP2_PAGE_BASE_ZM - [15:8] */
  3131. /*
  3132. * R2822 (0xB06) - DSP2 Control 5
  3133. */
  3134. #define WM2200_DSP2_START_ADDRESS_WDMA_BUFFER_0_MASK 0x3FFF /* DSP2_START_ADDRESS_WDMA_BUFFER_0 - [13:0] */
  3135. #define WM2200_DSP2_START_ADDRESS_WDMA_BUFFER_0_SHIFT 0 /* DSP2_START_ADDRESS_WDMA_BUFFER_0 - [13:0] */
  3136. #define WM2200_DSP2_START_ADDRESS_WDMA_BUFFER_0_WIDTH 14 /* DSP2_START_ADDRESS_WDMA_BUFFER_0 - [13:0] */
  3137. /*
  3138. * R2823 (0xB07) - DSP2 Control 6
  3139. */
  3140. #define WM2200_DSP2_START_ADDRESS_WDMA_BUFFER_1_MASK 0x3FFF /* DSP2_START_ADDRESS_WDMA_BUFFER_1 - [13:0] */
  3141. #define WM2200_DSP2_START_ADDRESS_WDMA_BUFFER_1_SHIFT 0 /* DSP2_START_ADDRESS_WDMA_BUFFER_1 - [13:0] */
  3142. #define WM2200_DSP2_START_ADDRESS_WDMA_BUFFER_1_WIDTH 14 /* DSP2_START_ADDRESS_WDMA_BUFFER_1 - [13:0] */
  3143. /*
  3144. * R2824 (0xB08) - DSP2 Control 7
  3145. */
  3146. #define WM2200_DSP2_START_ADDRESS_WDMA_BUFFER_2_MASK 0x3FFF /* DSP2_START_ADDRESS_WDMA_BUFFER_2 - [13:0] */
  3147. #define WM2200_DSP2_START_ADDRESS_WDMA_BUFFER_2_SHIFT 0 /* DSP2_START_ADDRESS_WDMA_BUFFER_2 - [13:0] */
  3148. #define WM2200_DSP2_START_ADDRESS_WDMA_BUFFER_2_WIDTH 14 /* DSP2_START_ADDRESS_WDMA_BUFFER_2 - [13:0] */
  3149. /*
  3150. * R2825 (0xB09) - DSP2 Control 8
  3151. */
  3152. #define WM2200_DSP2_START_ADDRESS_WDMA_BUFFER_3_MASK 0x3FFF /* DSP2_START_ADDRESS_WDMA_BUFFER_3 - [13:0] */
  3153. #define WM2200_DSP2_START_ADDRESS_WDMA_BUFFER_3_SHIFT 0 /* DSP2_START_ADDRESS_WDMA_BUFFER_3 - [13:0] */
  3154. #define WM2200_DSP2_START_ADDRESS_WDMA_BUFFER_3_WIDTH 14 /* DSP2_START_ADDRESS_WDMA_BUFFER_3 - [13:0] */
  3155. /*
  3156. * R2826 (0xB0A) - DSP2 Control 9
  3157. */
  3158. #define WM2200_DSP2_START_ADDRESS_WDMA_BUFFER_4_MASK 0x3FFF /* DSP2_START_ADDRESS_WDMA_BUFFER_4 - [13:0] */
  3159. #define WM2200_DSP2_START_ADDRESS_WDMA_BUFFER_4_SHIFT 0 /* DSP2_START_ADDRESS_WDMA_BUFFER_4 - [13:0] */
  3160. #define WM2200_DSP2_START_ADDRESS_WDMA_BUFFER_4_WIDTH 14 /* DSP2_START_ADDRESS_WDMA_BUFFER_4 - [13:0] */
  3161. /*
  3162. * R2827 (0xB0B) - DSP2 Control 10
  3163. */
  3164. #define WM2200_DSP2_START_ADDRESS_WDMA_BUFFER_5_MASK 0x3FFF /* DSP2_START_ADDRESS_WDMA_BUFFER_5 - [13:0] */
  3165. #define WM2200_DSP2_START_ADDRESS_WDMA_BUFFER_5_SHIFT 0 /* DSP2_START_ADDRESS_WDMA_BUFFER_5 - [13:0] */
  3166. #define WM2200_DSP2_START_ADDRESS_WDMA_BUFFER_5_WIDTH 14 /* DSP2_START_ADDRESS_WDMA_BUFFER_5 - [13:0] */
  3167. /*
  3168. * R2828 (0xB0C) - DSP2 Control 11
  3169. */
  3170. #define WM2200_DSP2_START_ADDRESS_WDMA_BUFFER_6_MASK 0x3FFF /* DSP2_START_ADDRESS_WDMA_BUFFER_6 - [13:0] */
  3171. #define WM2200_DSP2_START_ADDRESS_WDMA_BUFFER_6_SHIFT 0 /* DSP2_START_ADDRESS_WDMA_BUFFER_6 - [13:0] */
  3172. #define WM2200_DSP2_START_ADDRESS_WDMA_BUFFER_6_WIDTH 14 /* DSP2_START_ADDRESS_WDMA_BUFFER_6 - [13:0] */
  3173. /*
  3174. * R2829 (0xB0D) - DSP2 Control 12
  3175. */
  3176. #define WM2200_DSP2_START_ADDRESS_WDMA_BUFFER_7_MASK 0x3FFF /* DSP2_START_ADDRESS_WDMA_BUFFER_7 - [13:0] */
  3177. #define WM2200_DSP2_START_ADDRESS_WDMA_BUFFER_7_SHIFT 0 /* DSP2_START_ADDRESS_WDMA_BUFFER_7 - [13:0] */
  3178. #define WM2200_DSP2_START_ADDRESS_WDMA_BUFFER_7_WIDTH 14 /* DSP2_START_ADDRESS_WDMA_BUFFER_7 - [13:0] */
  3179. /*
  3180. * R2831 (0xB0F) - DSP2 Control 13
  3181. */
  3182. #define WM2200_DSP2_START_ADDRESS_RDMA_BUFFER_0_MASK 0x3FFF /* DSP2_START_ADDRESS_RDMA_BUFFER_0 - [13:0] */
  3183. #define WM2200_DSP2_START_ADDRESS_RDMA_BUFFER_0_SHIFT 0 /* DSP2_START_ADDRESS_RDMA_BUFFER_0 - [13:0] */
  3184. #define WM2200_DSP2_START_ADDRESS_RDMA_BUFFER_0_WIDTH 14 /* DSP2_START_ADDRESS_RDMA_BUFFER_0 - [13:0] */
  3185. /*
  3186. * R2832 (0xB10) - DSP2 Control 14
  3187. */
  3188. #define WM2200_DSP2_START_ADDRESS_RDMA_BUFFER_1_MASK 0x3FFF /* DSP2_START_ADDRESS_RDMA_BUFFER_1 - [13:0] */
  3189. #define WM2200_DSP2_START_ADDRESS_RDMA_BUFFER_1_SHIFT 0 /* DSP2_START_ADDRESS_RDMA_BUFFER_1 - [13:0] */
  3190. #define WM2200_DSP2_START_ADDRESS_RDMA_BUFFER_1_WIDTH 14 /* DSP2_START_ADDRESS_RDMA_BUFFER_1 - [13:0] */
  3191. /*
  3192. * R2833 (0xB11) - DSP2 Control 15
  3193. */
  3194. #define WM2200_DSP2_START_ADDRESS_RDMA_BUFFER_2_MASK 0x3FFF /* DSP2_START_ADDRESS_RDMA_BUFFER_2 - [13:0] */
  3195. #define WM2200_DSP2_START_ADDRESS_RDMA_BUFFER_2_SHIFT 0 /* DSP2_START_ADDRESS_RDMA_BUFFER_2 - [13:0] */
  3196. #define WM2200_DSP2_START_ADDRESS_RDMA_BUFFER_2_WIDTH 14 /* DSP2_START_ADDRESS_RDMA_BUFFER_2 - [13:0] */
  3197. /*
  3198. * R2834 (0xB12) - DSP2 Control 16
  3199. */
  3200. #define WM2200_DSP2_START_ADDRESS_RDMA_BUFFER_3_MASK 0x3FFF /* DSP2_START_ADDRESS_RDMA_BUFFER_3 - [13:0] */
  3201. #define WM2200_DSP2_START_ADDRESS_RDMA_BUFFER_3_SHIFT 0 /* DSP2_START_ADDRESS_RDMA_BUFFER_3 - [13:0] */
  3202. #define WM2200_DSP2_START_ADDRESS_RDMA_BUFFER_3_WIDTH 14 /* DSP2_START_ADDRESS_RDMA_BUFFER_3 - [13:0] */
  3203. /*
  3204. * R2835 (0xB13) - DSP2 Control 17
  3205. */
  3206. #define WM2200_DSP2_START_ADDRESS_RDMA_BUFFER_4_MASK 0x3FFF /* DSP2_START_ADDRESS_RDMA_BUFFER_4 - [13:0] */
  3207. #define WM2200_DSP2_START_ADDRESS_RDMA_BUFFER_4_SHIFT 0 /* DSP2_START_ADDRESS_RDMA_BUFFER_4 - [13:0] */
  3208. #define WM2200_DSP2_START_ADDRESS_RDMA_BUFFER_4_WIDTH 14 /* DSP2_START_ADDRESS_RDMA_BUFFER_4 - [13:0] */
  3209. /*
  3210. * R2836 (0xB14) - DSP2 Control 18
  3211. */
  3212. #define WM2200_DSP2_START_ADDRESS_RDMA_BUFFER_5_MASK 0x3FFF /* DSP2_START_ADDRESS_RDMA_BUFFER_5 - [13:0] */
  3213. #define WM2200_DSP2_START_ADDRESS_RDMA_BUFFER_5_SHIFT 0 /* DSP2_START_ADDRESS_RDMA_BUFFER_5 - [13:0] */
  3214. #define WM2200_DSP2_START_ADDRESS_RDMA_BUFFER_5_WIDTH 14 /* DSP2_START_ADDRESS_RDMA_BUFFER_5 - [13:0] */
  3215. /*
  3216. * R2838 (0xB16) - DSP2 Control 19
  3217. */
  3218. #define WM2200_DSP2_WDMA_BUFFER_LENGTH_MASK 0x00FF /* DSP2_WDMA_BUFFER_LENGTH - [7:0] */
  3219. #define WM2200_DSP2_WDMA_BUFFER_LENGTH_SHIFT 0 /* DSP2_WDMA_BUFFER_LENGTH - [7:0] */
  3220. #define WM2200_DSP2_WDMA_BUFFER_LENGTH_WIDTH 8 /* DSP2_WDMA_BUFFER_LENGTH - [7:0] */
  3221. /*
  3222. * R2839 (0xB17) - DSP2 Control 20
  3223. */
  3224. #define WM2200_DSP2_WDMA_CHANNEL_ENABLE_MASK 0x00FF /* DSP2_WDMA_CHANNEL_ENABLE - [7:0] */
  3225. #define WM2200_DSP2_WDMA_CHANNEL_ENABLE_SHIFT 0 /* DSP2_WDMA_CHANNEL_ENABLE - [7:0] */
  3226. #define WM2200_DSP2_WDMA_CHANNEL_ENABLE_WIDTH 8 /* DSP2_WDMA_CHANNEL_ENABLE - [7:0] */
  3227. /*
  3228. * R2840 (0xB18) - DSP2 Control 21
  3229. */
  3230. #define WM2200_DSP2_RDMA_CHANNEL_ENABLE_MASK 0x003F /* DSP2_RDMA_CHANNEL_ENABLE - [5:0] */
  3231. #define WM2200_DSP2_RDMA_CHANNEL_ENABLE_SHIFT 0 /* DSP2_RDMA_CHANNEL_ENABLE - [5:0] */
  3232. #define WM2200_DSP2_RDMA_CHANNEL_ENABLE_WIDTH 6 /* DSP2_RDMA_CHANNEL_ENABLE - [5:0] */
  3233. /*
  3234. * R2842 (0xB1A) - DSP2 Control 22
  3235. */
  3236. #define WM2200_DSP2_DM_SIZE_MASK 0xFFFF /* DSP2_DM_SIZE - [15:0] */
  3237. #define WM2200_DSP2_DM_SIZE_SHIFT 0 /* DSP2_DM_SIZE - [15:0] */
  3238. #define WM2200_DSP2_DM_SIZE_WIDTH 16 /* DSP2_DM_SIZE - [15:0] */
  3239. /*
  3240. * R2843 (0xB1B) - DSP2 Control 23
  3241. */
  3242. #define WM2200_DSP2_PM_SIZE_MASK 0xFFFF /* DSP2_PM_SIZE - [15:0] */
  3243. #define WM2200_DSP2_PM_SIZE_SHIFT 0 /* DSP2_PM_SIZE - [15:0] */
  3244. #define WM2200_DSP2_PM_SIZE_WIDTH 16 /* DSP2_PM_SIZE - [15:0] */
  3245. /*
  3246. * R2844 (0xB1C) - DSP2 Control 24
  3247. */
  3248. #define WM2200_DSP2_ZM_SIZE_MASK 0xFFFF /* DSP2_ZM_SIZE - [15:0] */
  3249. #define WM2200_DSP2_ZM_SIZE_SHIFT 0 /* DSP2_ZM_SIZE - [15:0] */
  3250. #define WM2200_DSP2_ZM_SIZE_WIDTH 16 /* DSP2_ZM_SIZE - [15:0] */
  3251. /*
  3252. * R2846 (0xB1E) - DSP2 Control 25
  3253. */
  3254. #define WM2200_DSP2_PING_FULL 0x8000 /* DSP2_PING_FULL */
  3255. #define WM2200_DSP2_PING_FULL_MASK 0x8000 /* DSP2_PING_FULL */
  3256. #define WM2200_DSP2_PING_FULL_SHIFT 15 /* DSP2_PING_FULL */
  3257. #define WM2200_DSP2_PING_FULL_WIDTH 1 /* DSP2_PING_FULL */
  3258. #define WM2200_DSP2_PONG_FULL 0x4000 /* DSP2_PONG_FULL */
  3259. #define WM2200_DSP2_PONG_FULL_MASK 0x4000 /* DSP2_PONG_FULL */
  3260. #define WM2200_DSP2_PONG_FULL_SHIFT 14 /* DSP2_PONG_FULL */
  3261. #define WM2200_DSP2_PONG_FULL_WIDTH 1 /* DSP2_PONG_FULL */
  3262. #define WM2200_DSP2_WDMA_ACTIVE_CHANNELS_MASK 0x00FF /* DSP2_WDMA_ACTIVE_CHANNELS - [7:0] */
  3263. #define WM2200_DSP2_WDMA_ACTIVE_CHANNELS_SHIFT 0 /* DSP2_WDMA_ACTIVE_CHANNELS - [7:0] */
  3264. #define WM2200_DSP2_WDMA_ACTIVE_CHANNELS_WIDTH 8 /* DSP2_WDMA_ACTIVE_CHANNELS - [7:0] */
  3265. /*
  3266. * R2848 (0xB20) - DSP2 Control 26
  3267. */
  3268. #define WM2200_DSP2_SCRATCH_0_MASK 0xFFFF /* DSP2_SCRATCH_0 - [15:0] */
  3269. #define WM2200_DSP2_SCRATCH_0_SHIFT 0 /* DSP2_SCRATCH_0 - [15:0] */
  3270. #define WM2200_DSP2_SCRATCH_0_WIDTH 16 /* DSP2_SCRATCH_0 - [15:0] */
  3271. /*
  3272. * R2849 (0xB21) - DSP2 Control 27
  3273. */
  3274. #define WM2200_DSP2_SCRATCH_1_MASK 0xFFFF /* DSP2_SCRATCH_1 - [15:0] */
  3275. #define WM2200_DSP2_SCRATCH_1_SHIFT 0 /* DSP2_SCRATCH_1 - [15:0] */
  3276. #define WM2200_DSP2_SCRATCH_1_WIDTH 16 /* DSP2_SCRATCH_1 - [15:0] */
  3277. /*
  3278. * R2850 (0xB22) - DSP2 Control 28
  3279. */
  3280. #define WM2200_DSP2_SCRATCH_2_MASK 0xFFFF /* DSP2_SCRATCH_2 - [15:0] */
  3281. #define WM2200_DSP2_SCRATCH_2_SHIFT 0 /* DSP2_SCRATCH_2 - [15:0] */
  3282. #define WM2200_DSP2_SCRATCH_2_WIDTH 16 /* DSP2_SCRATCH_2 - [15:0] */
  3283. /*
  3284. * R2851 (0xB23) - DSP2 Control 29
  3285. */
  3286. #define WM2200_DSP2_SCRATCH_3_MASK 0xFFFF /* DSP2_SCRATCH_3 - [15:0] */
  3287. #define WM2200_DSP2_SCRATCH_3_SHIFT 0 /* DSP2_SCRATCH_3 - [15:0] */
  3288. #define WM2200_DSP2_SCRATCH_3_WIDTH 16 /* DSP2_SCRATCH_3 - [15:0] */
  3289. /*
  3290. * R2852 (0xB24) - DSP2 Control 30
  3291. */
  3292. #define WM2200_DSP2_DBG_CLK_ENA 0x0008 /* DSP2_DBG_CLK_ENA */
  3293. #define WM2200_DSP2_DBG_CLK_ENA_MASK 0x0008 /* DSP2_DBG_CLK_ENA */
  3294. #define WM2200_DSP2_DBG_CLK_ENA_SHIFT 3 /* DSP2_DBG_CLK_ENA */
  3295. #define WM2200_DSP2_DBG_CLK_ENA_WIDTH 1 /* DSP2_DBG_CLK_ENA */
  3296. #define WM2200_DSP2_SYS_ENA 0x0004 /* DSP2_SYS_ENA */
  3297. #define WM2200_DSP2_SYS_ENA_MASK 0x0004 /* DSP2_SYS_ENA */
  3298. #define WM2200_DSP2_SYS_ENA_SHIFT 2 /* DSP2_SYS_ENA */
  3299. #define WM2200_DSP2_SYS_ENA_WIDTH 1 /* DSP2_SYS_ENA */
  3300. #define WM2200_DSP2_CORE_ENA 0x0002 /* DSP2_CORE_ENA */
  3301. #define WM2200_DSP2_CORE_ENA_MASK 0x0002 /* DSP2_CORE_ENA */
  3302. #define WM2200_DSP2_CORE_ENA_SHIFT 1 /* DSP2_CORE_ENA */
  3303. #define WM2200_DSP2_CORE_ENA_WIDTH 1 /* DSP2_CORE_ENA */
  3304. #define WM2200_DSP2_START 0x0001 /* DSP2_START */
  3305. #define WM2200_DSP2_START_MASK 0x0001 /* DSP2_START */
  3306. #define WM2200_DSP2_START_SHIFT 0 /* DSP2_START */
  3307. #define WM2200_DSP2_START_WIDTH 1 /* DSP2_START */
  3308. /*
  3309. * R2854 (0xB26) - DSP2 Control 31
  3310. */
  3311. #define WM2200_DSP2_CLK_RATE_MASK 0x0018 /* DSP2_CLK_RATE - [4:3] */
  3312. #define WM2200_DSP2_CLK_RATE_SHIFT 3 /* DSP2_CLK_RATE - [4:3] */
  3313. #define WM2200_DSP2_CLK_RATE_WIDTH 2 /* DSP2_CLK_RATE - [4:3] */
  3314. #define WM2200_DSP2_CLK_AVAIL 0x0004 /* DSP2_CLK_AVAIL */
  3315. #define WM2200_DSP2_CLK_AVAIL_MASK 0x0004 /* DSP2_CLK_AVAIL */
  3316. #define WM2200_DSP2_CLK_AVAIL_SHIFT 2 /* DSP2_CLK_AVAIL */
  3317. #define WM2200_DSP2_CLK_AVAIL_WIDTH 1 /* DSP2_CLK_AVAIL */
  3318. #define WM2200_DSP2_CLK_REQ_MASK 0x0003 /* DSP2_CLK_REQ - [1:0] */
  3319. #define WM2200_DSP2_CLK_REQ_SHIFT 0 /* DSP2_CLK_REQ - [1:0] */
  3320. #define WM2200_DSP2_CLK_REQ_WIDTH 2 /* DSP2_CLK_REQ - [1:0] */
  3321. #endif