1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176 |
- /*
- * ARIZONA register definitions
- *
- * Copyright 2012 Wolfson Microelectronics plc
- *
- * Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- */
- #ifndef _ARIZONA_REGISTERS_H
- #define _ARIZONA_REGISTERS_H
- /*
- * Register values.
- */
- #define ARIZONA_SOFTWARE_RESET 0x00
- #define ARIZONA_DEVICE_REVISION 0x01
- #define ARIZONA_CTRL_IF_SPI_CFG_1 0x08
- #define ARIZONA_CTRL_IF_I2C1_CFG_1 0x09
- #define ARIZONA_CTRL_IF_I2C2_CFG_1 0x0A
- #define ARIZONA_CTRL_IF_I2C1_CFG_2 0x0B
- #define ARIZONA_CTRL_IF_I2C2_CFG_2 0x0C
- #define ARIZONA_CTRL_IF_STATUS_1 0x0D
- #define ARIZONA_WRITE_SEQUENCER_CTRL_0 0x16
- #define ARIZONA_WRITE_SEQUENCER_CTRL_1 0x17
- #define ARIZONA_WRITE_SEQUENCER_CTRL_2 0x18
- #define ARIZONA_WRITE_SEQUENCER_CTRL_3 0x19
- #define ARIZONA_WRITE_SEQUENCER_PROM 0x1A
- #define ARIZONA_TONE_GENERATOR_1 0x20
- #define ARIZONA_TONE_GENERATOR_2 0x21
- #define ARIZONA_TONE_GENERATOR_3 0x22
- #define ARIZONA_TONE_GENERATOR_4 0x23
- #define ARIZONA_TONE_GENERATOR_5 0x24
- #define ARIZONA_PWM_DRIVE_1 0x30
- #define ARIZONA_PWM_DRIVE_2 0x31
- #define ARIZONA_PWM_DRIVE_3 0x32
- #define ARIZONA_WAKE_CONTROL 0x40
- #define ARIZONA_SEQUENCE_CONTROL 0x41
- #define ARIZONA_SPARE_TRIGGERS 0x42
- #define ARIZONA_SAMPLE_RATE_SEQUENCE_SELECT_1 0x61
- #define ARIZONA_SAMPLE_RATE_SEQUENCE_SELECT_2 0x62
- #define ARIZONA_SAMPLE_RATE_SEQUENCE_SELECT_3 0x63
- #define ARIZONA_SAMPLE_RATE_SEQUENCE_SELECT_4 0x64
- #define ARIZONA_ALWAYS_ON_TRIGGERS_SEQUENCE_SELECT_1 0x66
- #define ARIZONA_ALWAYS_ON_TRIGGERS_SEQUENCE_SELECT_2 0x67
- #define ARIZONA_ALWAYS_ON_TRIGGERS_SEQUENCE_SELECT_3 0x68
- #define ARIZONA_ALWAYS_ON_TRIGGERS_SEQUENCE_SELECT_4 0x69
- #define ARIZONA_ALWAYS_ON_TRIGGERS_SEQUENCE_SELECT_5 0x6A
- #define ARIZONA_ALWAYS_ON_TRIGGERS_SEQUENCE_SELECT_6 0x6B
- #define ARIZONA_ALWAYS_ON_TRIGGERS_SEQUENCE_SELECT_7 0x6C
- #define ARIZONA_ALWAYS_ON_TRIGGERS_SEQUENCE_SELECT_8 0x6D
- #define ARIZONA_COMFORT_NOISE_GENERATOR 0x70
- #define ARIZONA_HAPTICS_CONTROL_1 0x90
- #define ARIZONA_HAPTICS_CONTROL_2 0x91
- #define ARIZONA_HAPTICS_PHASE_1_INTENSITY 0x92
- #define ARIZONA_HAPTICS_PHASE_1_DURATION 0x93
- #define ARIZONA_HAPTICS_PHASE_2_INTENSITY 0x94
- #define ARIZONA_HAPTICS_PHASE_2_DURATION 0x95
- #define ARIZONA_HAPTICS_PHASE_3_INTENSITY 0x96
- #define ARIZONA_HAPTICS_PHASE_3_DURATION 0x97
- #define ARIZONA_HAPTICS_STATUS 0x98
- #define ARIZONA_CLOCK_32K_1 0x100
- #define ARIZONA_SYSTEM_CLOCK_1 0x101
- #define ARIZONA_SAMPLE_RATE_1 0x102
- #define ARIZONA_SAMPLE_RATE_2 0x103
- #define ARIZONA_SAMPLE_RATE_3 0x104
- #define ARIZONA_SAMPLE_RATE_1_STATUS 0x10A
- #define ARIZONA_SAMPLE_RATE_2_STATUS 0x10B
- #define ARIZONA_SAMPLE_RATE_3_STATUS 0x10C
- #define ARIZONA_ASYNC_CLOCK_1 0x112
- #define ARIZONA_ASYNC_SAMPLE_RATE_1 0x113
- #define ARIZONA_ASYNC_SAMPLE_RATE_2 0x114
- #define ARIZONA_ASYNC_SAMPLE_RATE_1_STATUS 0x11B
- #define ARIZONA_ASYNC_SAMPLE_RATE_2_STATUS 0x11C
- #define ARIZONA_OUTPUT_SYSTEM_CLOCK 0x149
- #define ARIZONA_OUTPUT_ASYNC_CLOCK 0x14A
- #define ARIZONA_RATE_ESTIMATOR_1 0x152
- #define ARIZONA_RATE_ESTIMATOR_2 0x153
- #define ARIZONA_RATE_ESTIMATOR_3 0x154
- #define ARIZONA_RATE_ESTIMATOR_4 0x155
- #define ARIZONA_RATE_ESTIMATOR_5 0x156
- #define ARIZONA_DYNAMIC_FREQUENCY_SCALING_1 0x161
- #define ARIZONA_FLL1_CONTROL_1 0x171
- #define ARIZONA_FLL1_CONTROL_2 0x172
- #define ARIZONA_FLL1_CONTROL_3 0x173
- #define ARIZONA_FLL1_CONTROL_4 0x174
- #define ARIZONA_FLL1_CONTROL_5 0x175
- #define ARIZONA_FLL1_CONTROL_6 0x176
- #define ARIZONA_FLL1_LOOP_FILTER_TEST_1 0x177
- #define ARIZONA_FLL1_NCO_TEST_0 0x178
- #define ARIZONA_FLL1_CONTROL_7 0x179
- #define ARIZONA_FLL1_SYNCHRONISER_1 0x181
- #define ARIZONA_FLL1_SYNCHRONISER_2 0x182
- #define ARIZONA_FLL1_SYNCHRONISER_3 0x183
- #define ARIZONA_FLL1_SYNCHRONISER_4 0x184
- #define ARIZONA_FLL1_SYNCHRONISER_5 0x185
- #define ARIZONA_FLL1_SYNCHRONISER_6 0x186
- #define ARIZONA_FLL1_SYNCHRONISER_7 0x187
- #define ARIZONA_FLL1_SPREAD_SPECTRUM 0x189
- #define ARIZONA_FLL1_GPIO_CLOCK 0x18A
- #define ARIZONA_FLL2_CONTROL_1 0x191
- #define ARIZONA_FLL2_CONTROL_2 0x192
- #define ARIZONA_FLL2_CONTROL_3 0x193
- #define ARIZONA_FLL2_CONTROL_4 0x194
- #define ARIZONA_FLL2_CONTROL_5 0x195
- #define ARIZONA_FLL2_CONTROL_6 0x196
- #define ARIZONA_FLL2_LOOP_FILTER_TEST_1 0x197
- #define ARIZONA_FLL2_NCO_TEST_0 0x198
- #define ARIZONA_FLL2_CONTROL_7 0x199
- #define ARIZONA_FLL2_SYNCHRONISER_1 0x1A1
- #define ARIZONA_FLL2_SYNCHRONISER_2 0x1A2
- #define ARIZONA_FLL2_SYNCHRONISER_3 0x1A3
- #define ARIZONA_FLL2_SYNCHRONISER_4 0x1A4
- #define ARIZONA_FLL2_SYNCHRONISER_5 0x1A5
- #define ARIZONA_FLL2_SYNCHRONISER_6 0x1A6
- #define ARIZONA_FLL2_SYNCHRONISER_7 0x1A7
- #define ARIZONA_FLL2_SPREAD_SPECTRUM 0x1A9
- #define ARIZONA_FLL2_GPIO_CLOCK 0x1AA
- #define ARIZONA_MIC_CHARGE_PUMP_1 0x200
- #define ARIZONA_LDO1_CONTROL_1 0x210
- #define ARIZONA_LDO1_CONTROL_2 0x212
- #define ARIZONA_LDO2_CONTROL_1 0x213
- #define ARIZONA_MIC_BIAS_CTRL_1 0x218
- #define ARIZONA_MIC_BIAS_CTRL_2 0x219
- #define ARIZONA_MIC_BIAS_CTRL_3 0x21A
- #define ARIZONA_HP_CTRL_1L 0x225
- #define ARIZONA_HP_CTRL_1R 0x226
- #define ARIZONA_ACCESSORY_DETECT_MODE_1 0x293
- #define ARIZONA_HEADPHONE_DETECT_1 0x29B
- #define ARIZONA_HEADPHONE_DETECT_2 0x29C
- #define ARIZONA_HP_DACVAL 0x29F
- #define ARIZONA_MICD_CLAMP_CONTROL 0x2A2
- #define ARIZONA_MIC_DETECT_1 0x2A3
- #define ARIZONA_MIC_DETECT_2 0x2A4
- #define ARIZONA_MIC_DETECT_3 0x2A5
- #define ARIZONA_MIC_DETECT_LEVEL_1 0x2A6
- #define ARIZONA_MIC_DETECT_LEVEL_2 0x2A7
- #define ARIZONA_MIC_DETECT_LEVEL_3 0x2A8
- #define ARIZONA_MIC_DETECT_LEVEL_4 0x2A9
- #define ARIZONA_MIC_DETECT_4 0x2AB
- #define ARIZONA_MIC_NOISE_MIX_CONTROL_1 0x2C3
- #define ARIZONA_ISOLATION_CONTROL 0x2CB
- #define ARIZONA_JACK_DETECT_ANALOGUE 0x2D3
- #define ARIZONA_INPUT_ENABLES 0x300
- #define ARIZONA_INPUT_ENABLES_STATUS 0x301
- #define ARIZONA_INPUT_RATE 0x308
- #define ARIZONA_INPUT_VOLUME_RAMP 0x309
- #define ARIZONA_HPF_CONTROL 0x30C
- #define ARIZONA_IN1L_CONTROL 0x310
- #define ARIZONA_ADC_DIGITAL_VOLUME_1L 0x311
- #define ARIZONA_DMIC1L_CONTROL 0x312
- #define ARIZONA_IN1R_CONTROL 0x314
- #define ARIZONA_ADC_DIGITAL_VOLUME_1R 0x315
- #define ARIZONA_DMIC1R_CONTROL 0x316
- #define ARIZONA_IN2L_CONTROL 0x318
- #define ARIZONA_ADC_DIGITAL_VOLUME_2L 0x319
- #define ARIZONA_DMIC2L_CONTROL 0x31A
- #define ARIZONA_IN2R_CONTROL 0x31C
- #define ARIZONA_ADC_DIGITAL_VOLUME_2R 0x31D
- #define ARIZONA_DMIC2R_CONTROL 0x31E
- #define ARIZONA_IN3L_CONTROL 0x320
- #define ARIZONA_ADC_DIGITAL_VOLUME_3L 0x321
- #define ARIZONA_DMIC3L_CONTROL 0x322
- #define ARIZONA_IN3R_CONTROL 0x324
- #define ARIZONA_ADC_DIGITAL_VOLUME_3R 0x325
- #define ARIZONA_DMIC3R_CONTROL 0x326
- #define ARIZONA_IN4L_CONTROL 0x328
- #define ARIZONA_ADC_DIGITAL_VOLUME_4L 0x329
- #define ARIZONA_DMIC4L_CONTROL 0x32A
- #define ARIZONA_IN4R_CONTROL 0x32C
- #define ARIZONA_ADC_DIGITAL_VOLUME_4R 0x32D
- #define ARIZONA_DMIC4R_CONTROL 0x32E
- #define ARIZONA_OUTPUT_ENABLES_1 0x400
- #define ARIZONA_OUTPUT_STATUS_1 0x401
- #define ARIZONA_RAW_OUTPUT_STATUS_1 0x406
- #define ARIZONA_OUTPUT_RATE_1 0x408
- #define ARIZONA_OUTPUT_VOLUME_RAMP 0x409
- #define ARIZONA_OUTPUT_PATH_CONFIG_1L 0x410
- #define ARIZONA_DAC_DIGITAL_VOLUME_1L 0x411
- #define ARIZONA_DAC_VOLUME_LIMIT_1L 0x412
- #define ARIZONA_NOISE_GATE_SELECT_1L 0x413
- #define ARIZONA_OUTPUT_PATH_CONFIG_1R 0x414
- #define ARIZONA_DAC_DIGITAL_VOLUME_1R 0x415
- #define ARIZONA_DAC_VOLUME_LIMIT_1R 0x416
- #define ARIZONA_NOISE_GATE_SELECT_1R 0x417
- #define ARIZONA_OUTPUT_PATH_CONFIG_2L 0x418
- #define ARIZONA_DAC_DIGITAL_VOLUME_2L 0x419
- #define ARIZONA_DAC_VOLUME_LIMIT_2L 0x41A
- #define ARIZONA_NOISE_GATE_SELECT_2L 0x41B
- #define ARIZONA_OUTPUT_PATH_CONFIG_2R 0x41C
- #define ARIZONA_DAC_DIGITAL_VOLUME_2R 0x41D
- #define ARIZONA_DAC_VOLUME_LIMIT_2R 0x41E
- #define ARIZONA_NOISE_GATE_SELECT_2R 0x41F
- #define ARIZONA_OUTPUT_PATH_CONFIG_3L 0x420
- #define ARIZONA_DAC_DIGITAL_VOLUME_3L 0x421
- #define ARIZONA_DAC_VOLUME_LIMIT_3L 0x422
- #define ARIZONA_NOISE_GATE_SELECT_3L 0x423
- #define ARIZONA_OUTPUT_PATH_CONFIG_3R 0x424
- #define ARIZONA_DAC_DIGITAL_VOLUME_3R 0x425
- #define ARIZONA_DAC_VOLUME_LIMIT_3R 0x426
- #define ARIZONA_NOISE_GATE_SELECT_3R 0x427
- #define ARIZONA_OUTPUT_PATH_CONFIG_4L 0x428
- #define ARIZONA_DAC_DIGITAL_VOLUME_4L 0x429
- #define ARIZONA_OUT_VOLUME_4L 0x42A
- #define ARIZONA_NOISE_GATE_SELECT_4L 0x42B
- #define ARIZONA_OUTPUT_PATH_CONFIG_4R 0x42C
- #define ARIZONA_DAC_DIGITAL_VOLUME_4R 0x42D
- #define ARIZONA_OUT_VOLUME_4R 0x42E
- #define ARIZONA_NOISE_GATE_SELECT_4R 0x42F
- #define ARIZONA_OUTPUT_PATH_CONFIG_5L 0x430
- #define ARIZONA_DAC_DIGITAL_VOLUME_5L 0x431
- #define ARIZONA_DAC_VOLUME_LIMIT_5L 0x432
- #define ARIZONA_NOISE_GATE_SELECT_5L 0x433
- #define ARIZONA_OUTPUT_PATH_CONFIG_5R 0x434
- #define ARIZONA_DAC_DIGITAL_VOLUME_5R 0x435
- #define ARIZONA_DAC_VOLUME_LIMIT_5R 0x436
- #define ARIZONA_NOISE_GATE_SELECT_5R 0x437
- #define ARIZONA_OUTPUT_PATH_CONFIG_6L 0x438
- #define ARIZONA_DAC_DIGITAL_VOLUME_6L 0x439
- #define ARIZONA_DAC_VOLUME_LIMIT_6L 0x43A
- #define ARIZONA_NOISE_GATE_SELECT_6L 0x43B
- #define ARIZONA_OUTPUT_PATH_CONFIG_6R 0x43C
- #define ARIZONA_DAC_DIGITAL_VOLUME_6R 0x43D
- #define ARIZONA_DAC_VOLUME_LIMIT_6R 0x43E
- #define ARIZONA_NOISE_GATE_SELECT_6R 0x43F
- #define ARIZONA_DRE_ENABLE 0x440
- #define ARIZONA_DRE_CONTROL_1 0x441
- #define ARIZONA_DRE_CONTROL_2 0x442
- #define ARIZONA_DRE_CONTROL_3 0x443
- #define ARIZONA_EDRE_ENABLE 0x448
- #define ARIZONA_DAC_AEC_CONTROL_1 0x450
- #define ARIZONA_DAC_AEC_CONTROL_2 0x451
- #define ARIZONA_NOISE_GATE_CONTROL 0x458
- #define ARIZONA_PDM_SPK1_CTRL_1 0x490
- #define ARIZONA_PDM_SPK1_CTRL_2 0x491
- #define ARIZONA_PDM_SPK2_CTRL_1 0x492
- #define ARIZONA_PDM_SPK2_CTRL_2 0x493
- #define ARIZONA_HP_TEST_CTRL_13 0x49A
- #define ARIZONA_HP1_SHORT_CIRCUIT_CTRL 0x4A0
- #define ARIZONA_HP2_SHORT_CIRCUIT_CTRL 0x4A1
- #define ARIZONA_HP3_SHORT_CIRCUIT_CTRL 0x4A2
- #define ARIZONA_HP_TEST_CTRL_1 0x4A4
- #define ARIZONA_SPK_CTRL_2 0x4B5
- #define ARIZONA_SPK_CTRL_3 0x4B6
- #define ARIZONA_DAC_COMP_1 0x4DC
- #define ARIZONA_DAC_COMP_2 0x4DD
- #define ARIZONA_DAC_COMP_3 0x4DE
- #define ARIZONA_DAC_COMP_4 0x4DF
- #define ARIZONA_AIF1_BCLK_CTRL 0x500
- #define ARIZONA_AIF1_TX_PIN_CTRL 0x501
- #define ARIZONA_AIF1_RX_PIN_CTRL 0x502
- #define ARIZONA_AIF1_RATE_CTRL 0x503
- #define ARIZONA_AIF1_FORMAT 0x504
- #define ARIZONA_AIF1_TX_BCLK_RATE 0x505
- #define ARIZONA_AIF1_RX_BCLK_RATE 0x506
- #define ARIZONA_AIF1_FRAME_CTRL_1 0x507
- #define ARIZONA_AIF1_FRAME_CTRL_2 0x508
- #define ARIZONA_AIF1_FRAME_CTRL_3 0x509
- #define ARIZONA_AIF1_FRAME_CTRL_4 0x50A
- #define ARIZONA_AIF1_FRAME_CTRL_5 0x50B
- #define ARIZONA_AIF1_FRAME_CTRL_6 0x50C
- #define ARIZONA_AIF1_FRAME_CTRL_7 0x50D
- #define ARIZONA_AIF1_FRAME_CTRL_8 0x50E
- #define ARIZONA_AIF1_FRAME_CTRL_9 0x50F
- #define ARIZONA_AIF1_FRAME_CTRL_10 0x510
- #define ARIZONA_AIF1_FRAME_CTRL_11 0x511
- #define ARIZONA_AIF1_FRAME_CTRL_12 0x512
- #define ARIZONA_AIF1_FRAME_CTRL_13 0x513
- #define ARIZONA_AIF1_FRAME_CTRL_14 0x514
- #define ARIZONA_AIF1_FRAME_CTRL_15 0x515
- #define ARIZONA_AIF1_FRAME_CTRL_16 0x516
- #define ARIZONA_AIF1_FRAME_CTRL_17 0x517
- #define ARIZONA_AIF1_FRAME_CTRL_18 0x518
- #define ARIZONA_AIF1_TX_ENABLES 0x519
- #define ARIZONA_AIF1_RX_ENABLES 0x51A
- #define ARIZONA_AIF1_FORCE_WRITE 0x51B
- #define ARIZONA_AIF2_BCLK_CTRL 0x540
- #define ARIZONA_AIF2_TX_PIN_CTRL 0x541
- #define ARIZONA_AIF2_RX_PIN_CTRL 0x542
- #define ARIZONA_AIF2_RATE_CTRL 0x543
- #define ARIZONA_AIF2_FORMAT 0x544
- #define ARIZONA_AIF2_TX_BCLK_RATE 0x545
- #define ARIZONA_AIF2_RX_BCLK_RATE 0x546
- #define ARIZONA_AIF2_FRAME_CTRL_1 0x547
- #define ARIZONA_AIF2_FRAME_CTRL_2 0x548
- #define ARIZONA_AIF2_FRAME_CTRL_3 0x549
- #define ARIZONA_AIF2_FRAME_CTRL_4 0x54A
- #define ARIZONA_AIF2_FRAME_CTRL_5 0x54B
- #define ARIZONA_AIF2_FRAME_CTRL_6 0x54C
- #define ARIZONA_AIF2_FRAME_CTRL_7 0x54D
- #define ARIZONA_AIF2_FRAME_CTRL_8 0x54E
- #define ARIZONA_AIF2_FRAME_CTRL_11 0x551
- #define ARIZONA_AIF2_FRAME_CTRL_12 0x552
- #define ARIZONA_AIF2_FRAME_CTRL_13 0x553
- #define ARIZONA_AIF2_FRAME_CTRL_14 0x554
- #define ARIZONA_AIF2_FRAME_CTRL_15 0x555
- #define ARIZONA_AIF2_FRAME_CTRL_16 0x556
- #define ARIZONA_AIF2_TX_ENABLES 0x559
- #define ARIZONA_AIF2_RX_ENABLES 0x55A
- #define ARIZONA_AIF2_FORCE_WRITE 0x55B
- #define ARIZONA_AIF3_BCLK_CTRL 0x580
- #define ARIZONA_AIF3_TX_PIN_CTRL 0x581
- #define ARIZONA_AIF3_RX_PIN_CTRL 0x582
- #define ARIZONA_AIF3_RATE_CTRL 0x583
- #define ARIZONA_AIF3_FORMAT 0x584
- #define ARIZONA_AIF3_TX_BCLK_RATE 0x585
- #define ARIZONA_AIF3_RX_BCLK_RATE 0x586
- #define ARIZONA_AIF3_FRAME_CTRL_1 0x587
- #define ARIZONA_AIF3_FRAME_CTRL_2 0x588
- #define ARIZONA_AIF3_FRAME_CTRL_3 0x589
- #define ARIZONA_AIF3_FRAME_CTRL_4 0x58A
- #define ARIZONA_AIF3_FRAME_CTRL_11 0x591
- #define ARIZONA_AIF3_FRAME_CTRL_12 0x592
- #define ARIZONA_AIF3_TX_ENABLES 0x599
- #define ARIZONA_AIF3_RX_ENABLES 0x59A
- #define ARIZONA_AIF3_FORCE_WRITE 0x59B
- #define ARIZONA_SPD1_TX_CONTROL 0x5C2
- #define ARIZONA_SPD1_TX_CHANNEL_STATUS_1 0x5C3
- #define ARIZONA_SPD1_TX_CHANNEL_STATUS_2 0x5C4
- #define ARIZONA_SPD1_TX_CHANNEL_STATUS_3 0x5C5
- #define ARIZONA_SLIMBUS_FRAMER_REF_GEAR 0x5E3
- #define ARIZONA_SLIMBUS_RATES_1 0x5E5
- #define ARIZONA_SLIMBUS_RATES_2 0x5E6
- #define ARIZONA_SLIMBUS_RATES_3 0x5E7
- #define ARIZONA_SLIMBUS_RATES_4 0x5E8
- #define ARIZONA_SLIMBUS_RATES_5 0x5E9
- #define ARIZONA_SLIMBUS_RATES_6 0x5EA
- #define ARIZONA_SLIMBUS_RATES_7 0x5EB
- #define ARIZONA_SLIMBUS_RATES_8 0x5EC
- #define ARIZONA_SLIMBUS_RX_CHANNEL_ENABLE 0x5F5
- #define ARIZONA_SLIMBUS_TX_CHANNEL_ENABLE 0x5F6
- #define ARIZONA_SLIMBUS_RX_PORT_STATUS 0x5F7
- #define ARIZONA_SLIMBUS_TX_PORT_STATUS 0x5F8
- #define ARIZONA_PWM1MIX_INPUT_1_SOURCE 0x640
- #define ARIZONA_PWM1MIX_INPUT_1_VOLUME 0x641
- #define ARIZONA_PWM1MIX_INPUT_2_SOURCE 0x642
- #define ARIZONA_PWM1MIX_INPUT_2_VOLUME 0x643
- #define ARIZONA_PWM1MIX_INPUT_3_SOURCE 0x644
- #define ARIZONA_PWM1MIX_INPUT_3_VOLUME 0x645
- #define ARIZONA_PWM1MIX_INPUT_4_SOURCE 0x646
- #define ARIZONA_PWM1MIX_INPUT_4_VOLUME 0x647
- #define ARIZONA_PWM2MIX_INPUT_1_SOURCE 0x648
- #define ARIZONA_PWM2MIX_INPUT_1_VOLUME 0x649
- #define ARIZONA_PWM2MIX_INPUT_2_SOURCE 0x64A
- #define ARIZONA_PWM2MIX_INPUT_2_VOLUME 0x64B
- #define ARIZONA_PWM2MIX_INPUT_3_SOURCE 0x64C
- #define ARIZONA_PWM2MIX_INPUT_3_VOLUME 0x64D
- #define ARIZONA_PWM2MIX_INPUT_4_SOURCE 0x64E
- #define ARIZONA_PWM2MIX_INPUT_4_VOLUME 0x64F
- #define ARIZONA_MICMIX_INPUT_1_SOURCE 0x660
- #define ARIZONA_MICMIX_INPUT_1_VOLUME 0x661
- #define ARIZONA_MICMIX_INPUT_2_SOURCE 0x662
- #define ARIZONA_MICMIX_INPUT_2_VOLUME 0x663
- #define ARIZONA_MICMIX_INPUT_3_SOURCE 0x664
- #define ARIZONA_MICMIX_INPUT_3_VOLUME 0x665
- #define ARIZONA_MICMIX_INPUT_4_SOURCE 0x666
- #define ARIZONA_MICMIX_INPUT_4_VOLUME 0x667
- #define ARIZONA_NOISEMIX_INPUT_1_SOURCE 0x668
- #define ARIZONA_NOISEMIX_INPUT_1_VOLUME 0x669
- #define ARIZONA_NOISEMIX_INPUT_2_SOURCE 0x66A
- #define ARIZONA_NOISEMIX_INPUT_2_VOLUME 0x66B
- #define ARIZONA_NOISEMIX_INPUT_3_SOURCE 0x66C
- #define ARIZONA_NOISEMIX_INPUT_3_VOLUME 0x66D
- #define ARIZONA_NOISEMIX_INPUT_4_SOURCE 0x66E
- #define ARIZONA_NOISEMIX_INPUT_4_VOLUME 0x66F
- #define ARIZONA_OUT1LMIX_INPUT_1_SOURCE 0x680
- #define ARIZONA_OUT1LMIX_INPUT_1_VOLUME 0x681
- #define ARIZONA_OUT1LMIX_INPUT_2_SOURCE 0x682
- #define ARIZONA_OUT1LMIX_INPUT_2_VOLUME 0x683
- #define ARIZONA_OUT1LMIX_INPUT_3_SOURCE 0x684
- #define ARIZONA_OUT1LMIX_INPUT_3_VOLUME 0x685
- #define ARIZONA_OUT1LMIX_INPUT_4_SOURCE 0x686
- #define ARIZONA_OUT1LMIX_INPUT_4_VOLUME 0x687
- #define ARIZONA_OUT1RMIX_INPUT_1_SOURCE 0x688
- #define ARIZONA_OUT1RMIX_INPUT_1_VOLUME 0x689
- #define ARIZONA_OUT1RMIX_INPUT_2_SOURCE 0x68A
- #define ARIZONA_OUT1RMIX_INPUT_2_VOLUME 0x68B
- #define ARIZONA_OUT1RMIX_INPUT_3_SOURCE 0x68C
- #define ARIZONA_OUT1RMIX_INPUT_3_VOLUME 0x68D
- #define ARIZONA_OUT1RMIX_INPUT_4_SOURCE 0x68E
- #define ARIZONA_OUT1RMIX_INPUT_4_VOLUME 0x68F
- #define ARIZONA_OUT2LMIX_INPUT_1_SOURCE 0x690
- #define ARIZONA_OUT2LMIX_INPUT_1_VOLUME 0x691
- #define ARIZONA_OUT2LMIX_INPUT_2_SOURCE 0x692
- #define ARIZONA_OUT2LMIX_INPUT_2_VOLUME 0x693
- #define ARIZONA_OUT2LMIX_INPUT_3_SOURCE 0x694
- #define ARIZONA_OUT2LMIX_INPUT_3_VOLUME 0x695
- #define ARIZONA_OUT2LMIX_INPUT_4_SOURCE 0x696
- #define ARIZONA_OUT2LMIX_INPUT_4_VOLUME 0x697
- #define ARIZONA_OUT2RMIX_INPUT_1_SOURCE 0x698
- #define ARIZONA_OUT2RMIX_INPUT_1_VOLUME 0x699
- #define ARIZONA_OUT2RMIX_INPUT_2_SOURCE 0x69A
- #define ARIZONA_OUT2RMIX_INPUT_2_VOLUME 0x69B
- #define ARIZONA_OUT2RMIX_INPUT_3_SOURCE 0x69C
- #define ARIZONA_OUT2RMIX_INPUT_3_VOLUME 0x69D
- #define ARIZONA_OUT2RMIX_INPUT_4_SOURCE 0x69E
- #define ARIZONA_OUT2RMIX_INPUT_4_VOLUME 0x69F
- #define ARIZONA_OUT3LMIX_INPUT_1_SOURCE 0x6A0
- #define ARIZONA_OUT3LMIX_INPUT_1_VOLUME 0x6A1
- #define ARIZONA_OUT3LMIX_INPUT_2_SOURCE 0x6A2
- #define ARIZONA_OUT3LMIX_INPUT_2_VOLUME 0x6A3
- #define ARIZONA_OUT3LMIX_INPUT_3_SOURCE 0x6A4
- #define ARIZONA_OUT3LMIX_INPUT_3_VOLUME 0x6A5
- #define ARIZONA_OUT3LMIX_INPUT_4_SOURCE 0x6A6
- #define ARIZONA_OUT3LMIX_INPUT_4_VOLUME 0x6A7
- #define ARIZONA_OUT3RMIX_INPUT_1_SOURCE 0x6A8
- #define ARIZONA_OUT3RMIX_INPUT_1_VOLUME 0x6A9
- #define ARIZONA_OUT3RMIX_INPUT_2_SOURCE 0x6AA
- #define ARIZONA_OUT3RMIX_INPUT_2_VOLUME 0x6AB
- #define ARIZONA_OUT3RMIX_INPUT_3_SOURCE 0x6AC
- #define ARIZONA_OUT3RMIX_INPUT_3_VOLUME 0x6AD
- #define ARIZONA_OUT3RMIX_INPUT_4_SOURCE 0x6AE
- #define ARIZONA_OUT3RMIX_INPUT_4_VOLUME 0x6AF
- #define ARIZONA_OUT4LMIX_INPUT_1_SOURCE 0x6B0
- #define ARIZONA_OUT4LMIX_INPUT_1_VOLUME 0x6B1
- #define ARIZONA_OUT4LMIX_INPUT_2_SOURCE 0x6B2
- #define ARIZONA_OUT4LMIX_INPUT_2_VOLUME 0x6B3
- #define ARIZONA_OUT4LMIX_INPUT_3_SOURCE 0x6B4
- #define ARIZONA_OUT4LMIX_INPUT_3_VOLUME 0x6B5
- #define ARIZONA_OUT4LMIX_INPUT_4_SOURCE 0x6B6
- #define ARIZONA_OUT4LMIX_INPUT_4_VOLUME 0x6B7
- #define ARIZONA_OUT4RMIX_INPUT_1_SOURCE 0x6B8
- #define ARIZONA_OUT4RMIX_INPUT_1_VOLUME 0x6B9
- #define ARIZONA_OUT4RMIX_INPUT_2_SOURCE 0x6BA
- #define ARIZONA_OUT4RMIX_INPUT_2_VOLUME 0x6BB
- #define ARIZONA_OUT4RMIX_INPUT_3_SOURCE 0x6BC
- #define ARIZONA_OUT4RMIX_INPUT_3_VOLUME 0x6BD
- #define ARIZONA_OUT4RMIX_INPUT_4_SOURCE 0x6BE
- #define ARIZONA_OUT4RMIX_INPUT_4_VOLUME 0x6BF
- #define ARIZONA_OUT5LMIX_INPUT_1_SOURCE 0x6C0
- #define ARIZONA_OUT5LMIX_INPUT_1_VOLUME 0x6C1
- #define ARIZONA_OUT5LMIX_INPUT_2_SOURCE 0x6C2
- #define ARIZONA_OUT5LMIX_INPUT_2_VOLUME 0x6C3
- #define ARIZONA_OUT5LMIX_INPUT_3_SOURCE 0x6C4
- #define ARIZONA_OUT5LMIX_INPUT_3_VOLUME 0x6C5
- #define ARIZONA_OUT5LMIX_INPUT_4_SOURCE 0x6C6
- #define ARIZONA_OUT5LMIX_INPUT_4_VOLUME 0x6C7
- #define ARIZONA_OUT5RMIX_INPUT_1_SOURCE 0x6C8
- #define ARIZONA_OUT5RMIX_INPUT_1_VOLUME 0x6C9
- #define ARIZONA_OUT5RMIX_INPUT_2_SOURCE 0x6CA
- #define ARIZONA_OUT5RMIX_INPUT_2_VOLUME 0x6CB
- #define ARIZONA_OUT5RMIX_INPUT_3_SOURCE 0x6CC
- #define ARIZONA_OUT5RMIX_INPUT_3_VOLUME 0x6CD
- #define ARIZONA_OUT5RMIX_INPUT_4_SOURCE 0x6CE
- #define ARIZONA_OUT5RMIX_INPUT_4_VOLUME 0x6CF
- #define ARIZONA_OUT6LMIX_INPUT_1_SOURCE 0x6D0
- #define ARIZONA_OUT6LMIX_INPUT_1_VOLUME 0x6D1
- #define ARIZONA_OUT6LMIX_INPUT_2_SOURCE 0x6D2
- #define ARIZONA_OUT6LMIX_INPUT_2_VOLUME 0x6D3
- #define ARIZONA_OUT6LMIX_INPUT_3_SOURCE 0x6D4
- #define ARIZONA_OUT6LMIX_INPUT_3_VOLUME 0x6D5
- #define ARIZONA_OUT6LMIX_INPUT_4_SOURCE 0x6D6
- #define ARIZONA_OUT6LMIX_INPUT_4_VOLUME 0x6D7
- #define ARIZONA_OUT6RMIX_INPUT_1_SOURCE 0x6D8
- #define ARIZONA_OUT6RMIX_INPUT_1_VOLUME 0x6D9
- #define ARIZONA_OUT6RMIX_INPUT_2_SOURCE 0x6DA
- #define ARIZONA_OUT6RMIX_INPUT_2_VOLUME 0x6DB
- #define ARIZONA_OUT6RMIX_INPUT_3_SOURCE 0x6DC
- #define ARIZONA_OUT6RMIX_INPUT_3_VOLUME 0x6DD
- #define ARIZONA_OUT6RMIX_INPUT_4_SOURCE 0x6DE
- #define ARIZONA_OUT6RMIX_INPUT_4_VOLUME 0x6DF
- #define ARIZONA_AIF1TX1MIX_INPUT_1_SOURCE 0x700
- #define ARIZONA_AIF1TX1MIX_INPUT_1_VOLUME 0x701
- #define ARIZONA_AIF1TX1MIX_INPUT_2_SOURCE 0x702
- #define ARIZONA_AIF1TX1MIX_INPUT_2_VOLUME 0x703
- #define ARIZONA_AIF1TX1MIX_INPUT_3_SOURCE 0x704
- #define ARIZONA_AIF1TX1MIX_INPUT_3_VOLUME 0x705
- #define ARIZONA_AIF1TX1MIX_INPUT_4_SOURCE 0x706
- #define ARIZONA_AIF1TX1MIX_INPUT_4_VOLUME 0x707
- #define ARIZONA_AIF1TX2MIX_INPUT_1_SOURCE 0x708
- #define ARIZONA_AIF1TX2MIX_INPUT_1_VOLUME 0x709
- #define ARIZONA_AIF1TX2MIX_INPUT_2_SOURCE 0x70A
- #define ARIZONA_AIF1TX2MIX_INPUT_2_VOLUME 0x70B
- #define ARIZONA_AIF1TX2MIX_INPUT_3_SOURCE 0x70C
- #define ARIZONA_AIF1TX2MIX_INPUT_3_VOLUME 0x70D
- #define ARIZONA_AIF1TX2MIX_INPUT_4_SOURCE 0x70E
- #define ARIZONA_AIF1TX2MIX_INPUT_4_VOLUME 0x70F
- #define ARIZONA_AIF1TX3MIX_INPUT_1_SOURCE 0x710
- #define ARIZONA_AIF1TX3MIX_INPUT_1_VOLUME 0x711
- #define ARIZONA_AIF1TX3MIX_INPUT_2_SOURCE 0x712
- #define ARIZONA_AIF1TX3MIX_INPUT_2_VOLUME 0x713
- #define ARIZONA_AIF1TX3MIX_INPUT_3_SOURCE 0x714
- #define ARIZONA_AIF1TX3MIX_INPUT_3_VOLUME 0x715
- #define ARIZONA_AIF1TX3MIX_INPUT_4_SOURCE 0x716
- #define ARIZONA_AIF1TX3MIX_INPUT_4_VOLUME 0x717
- #define ARIZONA_AIF1TX4MIX_INPUT_1_SOURCE 0x718
- #define ARIZONA_AIF1TX4MIX_INPUT_1_VOLUME 0x719
- #define ARIZONA_AIF1TX4MIX_INPUT_2_SOURCE 0x71A
- #define ARIZONA_AIF1TX4MIX_INPUT_2_VOLUME 0x71B
- #define ARIZONA_AIF1TX4MIX_INPUT_3_SOURCE 0x71C
- #define ARIZONA_AIF1TX4MIX_INPUT_3_VOLUME 0x71D
- #define ARIZONA_AIF1TX4MIX_INPUT_4_SOURCE 0x71E
- #define ARIZONA_AIF1TX4MIX_INPUT_4_VOLUME 0x71F
- #define ARIZONA_AIF1TX5MIX_INPUT_1_SOURCE 0x720
- #define ARIZONA_AIF1TX5MIX_INPUT_1_VOLUME 0x721
- #define ARIZONA_AIF1TX5MIX_INPUT_2_SOURCE 0x722
- #define ARIZONA_AIF1TX5MIX_INPUT_2_VOLUME 0x723
- #define ARIZONA_AIF1TX5MIX_INPUT_3_SOURCE 0x724
- #define ARIZONA_AIF1TX5MIX_INPUT_3_VOLUME 0x725
- #define ARIZONA_AIF1TX5MIX_INPUT_4_SOURCE 0x726
- #define ARIZONA_AIF1TX5MIX_INPUT_4_VOLUME 0x727
- #define ARIZONA_AIF1TX6MIX_INPUT_1_SOURCE 0x728
- #define ARIZONA_AIF1TX6MIX_INPUT_1_VOLUME 0x729
- #define ARIZONA_AIF1TX6MIX_INPUT_2_SOURCE 0x72A
- #define ARIZONA_AIF1TX6MIX_INPUT_2_VOLUME 0x72B
- #define ARIZONA_AIF1TX6MIX_INPUT_3_SOURCE 0x72C
- #define ARIZONA_AIF1TX6MIX_INPUT_3_VOLUME 0x72D
- #define ARIZONA_AIF1TX6MIX_INPUT_4_SOURCE 0x72E
- #define ARIZONA_AIF1TX6MIX_INPUT_4_VOLUME 0x72F
- #define ARIZONA_AIF1TX7MIX_INPUT_1_SOURCE 0x730
- #define ARIZONA_AIF1TX7MIX_INPUT_1_VOLUME 0x731
- #define ARIZONA_AIF1TX7MIX_INPUT_2_SOURCE 0x732
- #define ARIZONA_AIF1TX7MIX_INPUT_2_VOLUME 0x733
- #define ARIZONA_AIF1TX7MIX_INPUT_3_SOURCE 0x734
- #define ARIZONA_AIF1TX7MIX_INPUT_3_VOLUME 0x735
- #define ARIZONA_AIF1TX7MIX_INPUT_4_SOURCE 0x736
- #define ARIZONA_AIF1TX7MIX_INPUT_4_VOLUME 0x737
- #define ARIZONA_AIF1TX8MIX_INPUT_1_SOURCE 0x738
- #define ARIZONA_AIF1TX8MIX_INPUT_1_VOLUME 0x739
- #define ARIZONA_AIF1TX8MIX_INPUT_2_SOURCE 0x73A
- #define ARIZONA_AIF1TX8MIX_INPUT_2_VOLUME 0x73B
- #define ARIZONA_AIF1TX8MIX_INPUT_3_SOURCE 0x73C
- #define ARIZONA_AIF1TX8MIX_INPUT_3_VOLUME 0x73D
- #define ARIZONA_AIF1TX8MIX_INPUT_4_SOURCE 0x73E
- #define ARIZONA_AIF1TX8MIX_INPUT_4_VOLUME 0x73F
- #define ARIZONA_AIF2TX1MIX_INPUT_1_SOURCE 0x740
- #define ARIZONA_AIF2TX1MIX_INPUT_1_VOLUME 0x741
- #define ARIZONA_AIF2TX1MIX_INPUT_2_SOURCE 0x742
- #define ARIZONA_AIF2TX1MIX_INPUT_2_VOLUME 0x743
- #define ARIZONA_AIF2TX1MIX_INPUT_3_SOURCE 0x744
- #define ARIZONA_AIF2TX1MIX_INPUT_3_VOLUME 0x745
- #define ARIZONA_AIF2TX1MIX_INPUT_4_SOURCE 0x746
- #define ARIZONA_AIF2TX1MIX_INPUT_4_VOLUME 0x747
- #define ARIZONA_AIF2TX2MIX_INPUT_1_SOURCE 0x748
- #define ARIZONA_AIF2TX2MIX_INPUT_1_VOLUME 0x749
- #define ARIZONA_AIF2TX2MIX_INPUT_2_SOURCE 0x74A
- #define ARIZONA_AIF2TX2MIX_INPUT_2_VOLUME 0x74B
- #define ARIZONA_AIF2TX2MIX_INPUT_3_SOURCE 0x74C
- #define ARIZONA_AIF2TX2MIX_INPUT_3_VOLUME 0x74D
- #define ARIZONA_AIF2TX2MIX_INPUT_4_SOURCE 0x74E
- #define ARIZONA_AIF2TX2MIX_INPUT_4_VOLUME 0x74F
- #define ARIZONA_AIF2TX3MIX_INPUT_1_SOURCE 0x750
- #define ARIZONA_AIF2TX3MIX_INPUT_1_VOLUME 0x751
- #define ARIZONA_AIF2TX3MIX_INPUT_2_SOURCE 0x752
- #define ARIZONA_AIF2TX3MIX_INPUT_2_VOLUME 0x753
- #define ARIZONA_AIF2TX3MIX_INPUT_3_SOURCE 0x754
- #define ARIZONA_AIF2TX3MIX_INPUT_3_VOLUME 0x755
- #define ARIZONA_AIF2TX3MIX_INPUT_4_SOURCE 0x756
- #define ARIZONA_AIF2TX3MIX_INPUT_4_VOLUME 0x757
- #define ARIZONA_AIF2TX4MIX_INPUT_1_SOURCE 0x758
- #define ARIZONA_AIF2TX4MIX_INPUT_1_VOLUME 0x759
- #define ARIZONA_AIF2TX4MIX_INPUT_2_SOURCE 0x75A
- #define ARIZONA_AIF2TX4MIX_INPUT_2_VOLUME 0x75B
- #define ARIZONA_AIF2TX4MIX_INPUT_3_SOURCE 0x75C
- #define ARIZONA_AIF2TX4MIX_INPUT_3_VOLUME 0x75D
- #define ARIZONA_AIF2TX4MIX_INPUT_4_SOURCE 0x75E
- #define ARIZONA_AIF2TX4MIX_INPUT_4_VOLUME 0x75F
- #define ARIZONA_AIF2TX5MIX_INPUT_1_SOURCE 0x760
- #define ARIZONA_AIF2TX5MIX_INPUT_1_VOLUME 0x761
- #define ARIZONA_AIF2TX5MIX_INPUT_2_SOURCE 0x762
- #define ARIZONA_AIF2TX5MIX_INPUT_2_VOLUME 0x763
- #define ARIZONA_AIF2TX5MIX_INPUT_3_SOURCE 0x764
- #define ARIZONA_AIF2TX5MIX_INPUT_3_VOLUME 0x765
- #define ARIZONA_AIF2TX5MIX_INPUT_4_SOURCE 0x766
- #define ARIZONA_AIF2TX5MIX_INPUT_4_VOLUME 0x767
- #define ARIZONA_AIF2TX6MIX_INPUT_1_SOURCE 0x768
- #define ARIZONA_AIF2TX6MIX_INPUT_1_VOLUME 0x769
- #define ARIZONA_AIF2TX6MIX_INPUT_2_SOURCE 0x76A
- #define ARIZONA_AIF2TX6MIX_INPUT_2_VOLUME 0x76B
- #define ARIZONA_AIF2TX6MIX_INPUT_3_SOURCE 0x76C
- #define ARIZONA_AIF2TX6MIX_INPUT_3_VOLUME 0x76D
- #define ARIZONA_AIF2TX6MIX_INPUT_4_SOURCE 0x76E
- #define ARIZONA_AIF2TX6MIX_INPUT_4_VOLUME 0x76F
- #define ARIZONA_AIF3TX1MIX_INPUT_1_SOURCE 0x780
- #define ARIZONA_AIF3TX1MIX_INPUT_1_VOLUME 0x781
- #define ARIZONA_AIF3TX1MIX_INPUT_2_SOURCE 0x782
- #define ARIZONA_AIF3TX1MIX_INPUT_2_VOLUME 0x783
- #define ARIZONA_AIF3TX1MIX_INPUT_3_SOURCE 0x784
- #define ARIZONA_AIF3TX1MIX_INPUT_3_VOLUME 0x785
- #define ARIZONA_AIF3TX1MIX_INPUT_4_SOURCE 0x786
- #define ARIZONA_AIF3TX1MIX_INPUT_4_VOLUME 0x787
- #define ARIZONA_AIF3TX2MIX_INPUT_1_SOURCE 0x788
- #define ARIZONA_AIF3TX2MIX_INPUT_1_VOLUME 0x789
- #define ARIZONA_AIF3TX2MIX_INPUT_2_SOURCE 0x78A
- #define ARIZONA_AIF3TX2MIX_INPUT_2_VOLUME 0x78B
- #define ARIZONA_AIF3TX2MIX_INPUT_3_SOURCE 0x78C
- #define ARIZONA_AIF3TX2MIX_INPUT_3_VOLUME 0x78D
- #define ARIZONA_AIF3TX2MIX_INPUT_4_SOURCE 0x78E
- #define ARIZONA_AIF3TX2MIX_INPUT_4_VOLUME 0x78F
- #define ARIZONA_SLIMTX1MIX_INPUT_1_SOURCE 0x7C0
- #define ARIZONA_SLIMTX1MIX_INPUT_1_VOLUME 0x7C1
- #define ARIZONA_SLIMTX1MIX_INPUT_2_SOURCE 0x7C2
- #define ARIZONA_SLIMTX1MIX_INPUT_2_VOLUME 0x7C3
- #define ARIZONA_SLIMTX1MIX_INPUT_3_SOURCE 0x7C4
- #define ARIZONA_SLIMTX1MIX_INPUT_3_VOLUME 0x7C5
- #define ARIZONA_SLIMTX1MIX_INPUT_4_SOURCE 0x7C6
- #define ARIZONA_SLIMTX1MIX_INPUT_4_VOLUME 0x7C7
- #define ARIZONA_SLIMTX2MIX_INPUT_1_SOURCE 0x7C8
- #define ARIZONA_SLIMTX2MIX_INPUT_1_VOLUME 0x7C9
- #define ARIZONA_SLIMTX2MIX_INPUT_2_SOURCE 0x7CA
- #define ARIZONA_SLIMTX2MIX_INPUT_2_VOLUME 0x7CB
- #define ARIZONA_SLIMTX2MIX_INPUT_3_SOURCE 0x7CC
- #define ARIZONA_SLIMTX2MIX_INPUT_3_VOLUME 0x7CD
- #define ARIZONA_SLIMTX2MIX_INPUT_4_SOURCE 0x7CE
- #define ARIZONA_SLIMTX2MIX_INPUT_4_VOLUME 0x7CF
- #define ARIZONA_SLIMTX3MIX_INPUT_1_SOURCE 0x7D0
- #define ARIZONA_SLIMTX3MIX_INPUT_1_VOLUME 0x7D1
- #define ARIZONA_SLIMTX3MIX_INPUT_2_SOURCE 0x7D2
- #define ARIZONA_SLIMTX3MIX_INPUT_2_VOLUME 0x7D3
- #define ARIZONA_SLIMTX3MIX_INPUT_3_SOURCE 0x7D4
- #define ARIZONA_SLIMTX3MIX_INPUT_3_VOLUME 0x7D5
- #define ARIZONA_SLIMTX3MIX_INPUT_4_SOURCE 0x7D6
- #define ARIZONA_SLIMTX3MIX_INPUT_4_VOLUME 0x7D7
- #define ARIZONA_SLIMTX4MIX_INPUT_1_SOURCE 0x7D8
- #define ARIZONA_SLIMTX4MIX_INPUT_1_VOLUME 0x7D9
- #define ARIZONA_SLIMTX4MIX_INPUT_2_SOURCE 0x7DA
- #define ARIZONA_SLIMTX4MIX_INPUT_2_VOLUME 0x7DB
- #define ARIZONA_SLIMTX4MIX_INPUT_3_SOURCE 0x7DC
- #define ARIZONA_SLIMTX4MIX_INPUT_3_VOLUME 0x7DD
- #define ARIZONA_SLIMTX4MIX_INPUT_4_SOURCE 0x7DE
- #define ARIZONA_SLIMTX4MIX_INPUT_4_VOLUME 0x7DF
- #define ARIZONA_SLIMTX5MIX_INPUT_1_SOURCE 0x7E0
- #define ARIZONA_SLIMTX5MIX_INPUT_1_VOLUME 0x7E1
- #define ARIZONA_SLIMTX5MIX_INPUT_2_SOURCE 0x7E2
- #define ARIZONA_SLIMTX5MIX_INPUT_2_VOLUME 0x7E3
- #define ARIZONA_SLIMTX5MIX_INPUT_3_SOURCE 0x7E4
- #define ARIZONA_SLIMTX5MIX_INPUT_3_VOLUME 0x7E5
- #define ARIZONA_SLIMTX5MIX_INPUT_4_SOURCE 0x7E6
- #define ARIZONA_SLIMTX5MIX_INPUT_4_VOLUME 0x7E7
- #define ARIZONA_SLIMTX6MIX_INPUT_1_SOURCE 0x7E8
- #define ARIZONA_SLIMTX6MIX_INPUT_1_VOLUME 0x7E9
- #define ARIZONA_SLIMTX6MIX_INPUT_2_SOURCE 0x7EA
- #define ARIZONA_SLIMTX6MIX_INPUT_2_VOLUME 0x7EB
- #define ARIZONA_SLIMTX6MIX_INPUT_3_SOURCE 0x7EC
- #define ARIZONA_SLIMTX6MIX_INPUT_3_VOLUME 0x7ED
- #define ARIZONA_SLIMTX6MIX_INPUT_4_SOURCE 0x7EE
- #define ARIZONA_SLIMTX6MIX_INPUT_4_VOLUME 0x7EF
- #define ARIZONA_SLIMTX7MIX_INPUT_1_SOURCE 0x7F0
- #define ARIZONA_SLIMTX7MIX_INPUT_1_VOLUME 0x7F1
- #define ARIZONA_SLIMTX7MIX_INPUT_2_SOURCE 0x7F2
- #define ARIZONA_SLIMTX7MIX_INPUT_2_VOLUME 0x7F3
- #define ARIZONA_SLIMTX7MIX_INPUT_3_SOURCE 0x7F4
- #define ARIZONA_SLIMTX7MIX_INPUT_3_VOLUME 0x7F5
- #define ARIZONA_SLIMTX7MIX_INPUT_4_SOURCE 0x7F6
- #define ARIZONA_SLIMTX7MIX_INPUT_4_VOLUME 0x7F7
- #define ARIZONA_SLIMTX8MIX_INPUT_1_SOURCE 0x7F8
- #define ARIZONA_SLIMTX8MIX_INPUT_1_VOLUME 0x7F9
- #define ARIZONA_SLIMTX8MIX_INPUT_2_SOURCE 0x7FA
- #define ARIZONA_SLIMTX8MIX_INPUT_2_VOLUME 0x7FB
- #define ARIZONA_SLIMTX8MIX_INPUT_3_SOURCE 0x7FC
- #define ARIZONA_SLIMTX8MIX_INPUT_3_VOLUME 0x7FD
- #define ARIZONA_SLIMTX8MIX_INPUT_4_SOURCE 0x7FE
- #define ARIZONA_SLIMTX8MIX_INPUT_4_VOLUME 0x7FF
- #define ARIZONA_SPDIFTX1MIX_INPUT_1_SOURCE 0x800
- #define ARIZONA_SPDIFTX1MIX_INPUT_1_VOLUME 0x801
- #define ARIZONA_SPDIFTX2MIX_INPUT_1_SOURCE 0x808
- #define ARIZONA_SPDIFTX2MIX_INPUT_1_VOLUME 0x809
- #define ARIZONA_EQ1MIX_INPUT_1_SOURCE 0x880
- #define ARIZONA_EQ1MIX_INPUT_1_VOLUME 0x881
- #define ARIZONA_EQ1MIX_INPUT_2_SOURCE 0x882
- #define ARIZONA_EQ1MIX_INPUT_2_VOLUME 0x883
- #define ARIZONA_EQ1MIX_INPUT_3_SOURCE 0x884
- #define ARIZONA_EQ1MIX_INPUT_3_VOLUME 0x885
- #define ARIZONA_EQ1MIX_INPUT_4_SOURCE 0x886
- #define ARIZONA_EQ1MIX_INPUT_4_VOLUME 0x887
- #define ARIZONA_EQ2MIX_INPUT_1_SOURCE 0x888
- #define ARIZONA_EQ2MIX_INPUT_1_VOLUME 0x889
- #define ARIZONA_EQ2MIX_INPUT_2_SOURCE 0x88A
- #define ARIZONA_EQ2MIX_INPUT_2_VOLUME 0x88B
- #define ARIZONA_EQ2MIX_INPUT_3_SOURCE 0x88C
- #define ARIZONA_EQ2MIX_INPUT_3_VOLUME 0x88D
- #define ARIZONA_EQ2MIX_INPUT_4_SOURCE 0x88E
- #define ARIZONA_EQ2MIX_INPUT_4_VOLUME 0x88F
- #define ARIZONA_EQ3MIX_INPUT_1_SOURCE 0x890
- #define ARIZONA_EQ3MIX_INPUT_1_VOLUME 0x891
- #define ARIZONA_EQ3MIX_INPUT_2_SOURCE 0x892
- #define ARIZONA_EQ3MIX_INPUT_2_VOLUME 0x893
- #define ARIZONA_EQ3MIX_INPUT_3_SOURCE 0x894
- #define ARIZONA_EQ3MIX_INPUT_3_VOLUME 0x895
- #define ARIZONA_EQ3MIX_INPUT_4_SOURCE 0x896
- #define ARIZONA_EQ3MIX_INPUT_4_VOLUME 0x897
- #define ARIZONA_EQ4MIX_INPUT_1_SOURCE 0x898
- #define ARIZONA_EQ4MIX_INPUT_1_VOLUME 0x899
- #define ARIZONA_EQ4MIX_INPUT_2_SOURCE 0x89A
- #define ARIZONA_EQ4MIX_INPUT_2_VOLUME 0x89B
- #define ARIZONA_EQ4MIX_INPUT_3_SOURCE 0x89C
- #define ARIZONA_EQ4MIX_INPUT_3_VOLUME 0x89D
- #define ARIZONA_EQ4MIX_INPUT_4_SOURCE 0x89E
- #define ARIZONA_EQ4MIX_INPUT_4_VOLUME 0x89F
- #define ARIZONA_DRC1LMIX_INPUT_1_SOURCE 0x8C0
- #define ARIZONA_DRC1LMIX_INPUT_1_VOLUME 0x8C1
- #define ARIZONA_DRC1LMIX_INPUT_2_SOURCE 0x8C2
- #define ARIZONA_DRC1LMIX_INPUT_2_VOLUME 0x8C3
- #define ARIZONA_DRC1LMIX_INPUT_3_SOURCE 0x8C4
- #define ARIZONA_DRC1LMIX_INPUT_3_VOLUME 0x8C5
- #define ARIZONA_DRC1LMIX_INPUT_4_SOURCE 0x8C6
- #define ARIZONA_DRC1LMIX_INPUT_4_VOLUME 0x8C7
- #define ARIZONA_DRC1RMIX_INPUT_1_SOURCE 0x8C8
- #define ARIZONA_DRC1RMIX_INPUT_1_VOLUME 0x8C9
- #define ARIZONA_DRC1RMIX_INPUT_2_SOURCE 0x8CA
- #define ARIZONA_DRC1RMIX_INPUT_2_VOLUME 0x8CB
- #define ARIZONA_DRC1RMIX_INPUT_3_SOURCE 0x8CC
- #define ARIZONA_DRC1RMIX_INPUT_3_VOLUME 0x8CD
- #define ARIZONA_DRC1RMIX_INPUT_4_SOURCE 0x8CE
- #define ARIZONA_DRC1RMIX_INPUT_4_VOLUME 0x8CF
- #define ARIZONA_DRC2LMIX_INPUT_1_SOURCE 0x8D0
- #define ARIZONA_DRC2LMIX_INPUT_1_VOLUME 0x8D1
- #define ARIZONA_DRC2LMIX_INPUT_2_SOURCE 0x8D2
- #define ARIZONA_DRC2LMIX_INPUT_2_VOLUME 0x8D3
- #define ARIZONA_DRC2LMIX_INPUT_3_SOURCE 0x8D4
- #define ARIZONA_DRC2LMIX_INPUT_3_VOLUME 0x8D5
- #define ARIZONA_DRC2LMIX_INPUT_4_SOURCE 0x8D6
- #define ARIZONA_DRC2LMIX_INPUT_4_VOLUME 0x8D7
- #define ARIZONA_DRC2RMIX_INPUT_1_SOURCE 0x8D8
- #define ARIZONA_DRC2RMIX_INPUT_1_VOLUME 0x8D9
- #define ARIZONA_DRC2RMIX_INPUT_2_SOURCE 0x8DA
- #define ARIZONA_DRC2RMIX_INPUT_2_VOLUME 0x8DB
- #define ARIZONA_DRC2RMIX_INPUT_3_SOURCE 0x8DC
- #define ARIZONA_DRC2RMIX_INPUT_3_VOLUME 0x8DD
- #define ARIZONA_DRC2RMIX_INPUT_4_SOURCE 0x8DE
- #define ARIZONA_DRC2RMIX_INPUT_4_VOLUME 0x8DF
- #define ARIZONA_HPLP1MIX_INPUT_1_SOURCE 0x900
- #define ARIZONA_HPLP1MIX_INPUT_1_VOLUME 0x901
- #define ARIZONA_HPLP1MIX_INPUT_2_SOURCE 0x902
- #define ARIZONA_HPLP1MIX_INPUT_2_VOLUME 0x903
- #define ARIZONA_HPLP1MIX_INPUT_3_SOURCE 0x904
- #define ARIZONA_HPLP1MIX_INPUT_3_VOLUME 0x905
- #define ARIZONA_HPLP1MIX_INPUT_4_SOURCE 0x906
- #define ARIZONA_HPLP1MIX_INPUT_4_VOLUME 0x907
- #define ARIZONA_HPLP2MIX_INPUT_1_SOURCE 0x908
- #define ARIZONA_HPLP2MIX_INPUT_1_VOLUME 0x909
- #define ARIZONA_HPLP2MIX_INPUT_2_SOURCE 0x90A
- #define ARIZONA_HPLP2MIX_INPUT_2_VOLUME 0x90B
- #define ARIZONA_HPLP2MIX_INPUT_3_SOURCE 0x90C
- #define ARIZONA_HPLP2MIX_INPUT_3_VOLUME 0x90D
- #define ARIZONA_HPLP2MIX_INPUT_4_SOURCE 0x90E
- #define ARIZONA_HPLP2MIX_INPUT_4_VOLUME 0x90F
- #define ARIZONA_HPLP3MIX_INPUT_1_SOURCE 0x910
- #define ARIZONA_HPLP3MIX_INPUT_1_VOLUME 0x911
- #define ARIZONA_HPLP3MIX_INPUT_2_SOURCE 0x912
- #define ARIZONA_HPLP3MIX_INPUT_2_VOLUME 0x913
- #define ARIZONA_HPLP3MIX_INPUT_3_SOURCE 0x914
- #define ARIZONA_HPLP3MIX_INPUT_3_VOLUME 0x915
- #define ARIZONA_HPLP3MIX_INPUT_4_SOURCE 0x916
- #define ARIZONA_HPLP3MIX_INPUT_4_VOLUME 0x917
- #define ARIZONA_HPLP4MIX_INPUT_1_SOURCE 0x918
- #define ARIZONA_HPLP4MIX_INPUT_1_VOLUME 0x919
- #define ARIZONA_HPLP4MIX_INPUT_2_SOURCE 0x91A
- #define ARIZONA_HPLP4MIX_INPUT_2_VOLUME 0x91B
- #define ARIZONA_HPLP4MIX_INPUT_3_SOURCE 0x91C
- #define ARIZONA_HPLP4MIX_INPUT_3_VOLUME 0x91D
- #define ARIZONA_HPLP4MIX_INPUT_4_SOURCE 0x91E
- #define ARIZONA_HPLP4MIX_INPUT_4_VOLUME 0x91F
- #define ARIZONA_DSP1LMIX_INPUT_1_SOURCE 0x940
- #define ARIZONA_DSP1LMIX_INPUT_1_VOLUME 0x941
- #define ARIZONA_DSP1LMIX_INPUT_2_SOURCE 0x942
- #define ARIZONA_DSP1LMIX_INPUT_2_VOLUME 0x943
- #define ARIZONA_DSP1LMIX_INPUT_3_SOURCE 0x944
- #define ARIZONA_DSP1LMIX_INPUT_3_VOLUME 0x945
- #define ARIZONA_DSP1LMIX_INPUT_4_SOURCE 0x946
- #define ARIZONA_DSP1LMIX_INPUT_4_VOLUME 0x947
- #define ARIZONA_DSP1RMIX_INPUT_1_SOURCE 0x948
- #define ARIZONA_DSP1RMIX_INPUT_1_VOLUME 0x949
- #define ARIZONA_DSP1RMIX_INPUT_2_SOURCE 0x94A
- #define ARIZONA_DSP1RMIX_INPUT_2_VOLUME 0x94B
- #define ARIZONA_DSP1RMIX_INPUT_3_SOURCE 0x94C
- #define ARIZONA_DSP1RMIX_INPUT_3_VOLUME 0x94D
- #define ARIZONA_DSP1RMIX_INPUT_4_SOURCE 0x94E
- #define ARIZONA_DSP1RMIX_INPUT_4_VOLUME 0x94F
- #define ARIZONA_DSP1AUX1MIX_INPUT_1_SOURCE 0x950
- #define ARIZONA_DSP1AUX2MIX_INPUT_1_SOURCE 0x958
- #define ARIZONA_DSP1AUX3MIX_INPUT_1_SOURCE 0x960
- #define ARIZONA_DSP1AUX4MIX_INPUT_1_SOURCE 0x968
- #define ARIZONA_DSP1AUX5MIX_INPUT_1_SOURCE 0x970
- #define ARIZONA_DSP1AUX6MIX_INPUT_1_SOURCE 0x978
- #define ARIZONA_DSP2LMIX_INPUT_1_SOURCE 0x980
- #define ARIZONA_DSP2LMIX_INPUT_1_VOLUME 0x981
- #define ARIZONA_DSP2LMIX_INPUT_2_SOURCE 0x982
- #define ARIZONA_DSP2LMIX_INPUT_2_VOLUME 0x983
- #define ARIZONA_DSP2LMIX_INPUT_3_SOURCE 0x984
- #define ARIZONA_DSP2LMIX_INPUT_3_VOLUME 0x985
- #define ARIZONA_DSP2LMIX_INPUT_4_SOURCE 0x986
- #define ARIZONA_DSP2LMIX_INPUT_4_VOLUME 0x987
- #define ARIZONA_DSP2RMIX_INPUT_1_SOURCE 0x988
- #define ARIZONA_DSP2RMIX_INPUT_1_VOLUME 0x989
- #define ARIZONA_DSP2RMIX_INPUT_2_SOURCE 0x98A
- #define ARIZONA_DSP2RMIX_INPUT_2_VOLUME 0x98B
- #define ARIZONA_DSP2RMIX_INPUT_3_SOURCE 0x98C
- #define ARIZONA_DSP2RMIX_INPUT_3_VOLUME 0x98D
- #define ARIZONA_DSP2RMIX_INPUT_4_SOURCE 0x98E
- #define ARIZONA_DSP2RMIX_INPUT_4_VOLUME 0x98F
- #define ARIZONA_DSP2AUX1MIX_INPUT_1_SOURCE 0x990
- #define ARIZONA_DSP2AUX2MIX_INPUT_1_SOURCE 0x998
- #define ARIZONA_DSP2AUX3MIX_INPUT_1_SOURCE 0x9A0
- #define ARIZONA_DSP2AUX4MIX_INPUT_1_SOURCE 0x9A8
- #define ARIZONA_DSP2AUX5MIX_INPUT_1_SOURCE 0x9B0
- #define ARIZONA_DSP2AUX6MIX_INPUT_1_SOURCE 0x9B8
- #define ARIZONA_DSP3LMIX_INPUT_1_SOURCE 0x9C0
- #define ARIZONA_DSP3LMIX_INPUT_1_VOLUME 0x9C1
- #define ARIZONA_DSP3LMIX_INPUT_2_SOURCE 0x9C2
- #define ARIZONA_DSP3LMIX_INPUT_2_VOLUME 0x9C3
- #define ARIZONA_DSP3LMIX_INPUT_3_SOURCE 0x9C4
- #define ARIZONA_DSP3LMIX_INPUT_3_VOLUME 0x9C5
- #define ARIZONA_DSP3LMIX_INPUT_4_SOURCE 0x9C6
- #define ARIZONA_DSP3LMIX_INPUT_4_VOLUME 0x9C7
- #define ARIZONA_DSP3RMIX_INPUT_1_SOURCE 0x9C8
- #define ARIZONA_DSP3RMIX_INPUT_1_VOLUME 0x9C9
- #define ARIZONA_DSP3RMIX_INPUT_2_SOURCE 0x9CA
- #define ARIZONA_DSP3RMIX_INPUT_2_VOLUME 0x9CB
- #define ARIZONA_DSP3RMIX_INPUT_3_SOURCE 0x9CC
- #define ARIZONA_DSP3RMIX_INPUT_3_VOLUME 0x9CD
- #define ARIZONA_DSP3RMIX_INPUT_4_SOURCE 0x9CE
- #define ARIZONA_DSP3RMIX_INPUT_4_VOLUME 0x9CF
- #define ARIZONA_DSP3AUX1MIX_INPUT_1_SOURCE 0x9D0
- #define ARIZONA_DSP3AUX2MIX_INPUT_1_SOURCE 0x9D8
- #define ARIZONA_DSP3AUX3MIX_INPUT_1_SOURCE 0x9E0
- #define ARIZONA_DSP3AUX4MIX_INPUT_1_SOURCE 0x9E8
- #define ARIZONA_DSP3AUX5MIX_INPUT_1_SOURCE 0x9F0
- #define ARIZONA_DSP3AUX6MIX_INPUT_1_SOURCE 0x9F8
- #define ARIZONA_DSP4LMIX_INPUT_1_SOURCE 0xA00
- #define ARIZONA_DSP4LMIX_INPUT_1_VOLUME 0xA01
- #define ARIZONA_DSP4LMIX_INPUT_2_SOURCE 0xA02
- #define ARIZONA_DSP4LMIX_INPUT_2_VOLUME 0xA03
- #define ARIZONA_DSP4LMIX_INPUT_3_SOURCE 0xA04
- #define ARIZONA_DSP4LMIX_INPUT_3_VOLUME 0xA05
- #define ARIZONA_DSP4LMIX_INPUT_4_SOURCE 0xA06
- #define ARIZONA_DSP4LMIX_INPUT_4_VOLUME 0xA07
- #define ARIZONA_DSP4RMIX_INPUT_1_SOURCE 0xA08
- #define ARIZONA_DSP4RMIX_INPUT_1_VOLUME 0xA09
- #define ARIZONA_DSP4RMIX_INPUT_2_SOURCE 0xA0A
- #define ARIZONA_DSP4RMIX_INPUT_2_VOLUME 0xA0B
- #define ARIZONA_DSP4RMIX_INPUT_3_SOURCE 0xA0C
- #define ARIZONA_DSP4RMIX_INPUT_3_VOLUME 0xA0D
- #define ARIZONA_DSP4RMIX_INPUT_4_SOURCE 0xA0E
- #define ARIZONA_DSP4RMIX_INPUT_4_VOLUME 0xA0F
- #define ARIZONA_DSP4AUX1MIX_INPUT_1_SOURCE 0xA10
- #define ARIZONA_DSP4AUX2MIX_INPUT_1_SOURCE 0xA18
- #define ARIZONA_DSP4AUX3MIX_INPUT_1_SOURCE 0xA20
- #define ARIZONA_DSP4AUX4MIX_INPUT_1_SOURCE 0xA28
- #define ARIZONA_DSP4AUX5MIX_INPUT_1_SOURCE 0xA30
- #define ARIZONA_DSP4AUX6MIX_INPUT_1_SOURCE 0xA38
- #define ARIZONA_ASRC1LMIX_INPUT_1_SOURCE 0xA80
- #define ARIZONA_ASRC1RMIX_INPUT_1_SOURCE 0xA88
- #define ARIZONA_ASRC2LMIX_INPUT_1_SOURCE 0xA90
- #define ARIZONA_ASRC2RMIX_INPUT_1_SOURCE 0xA98
- #define ARIZONA_ISRC1DEC1MIX_INPUT_1_SOURCE 0xB00
- #define ARIZONA_ISRC1DEC2MIX_INPUT_1_SOURCE 0xB08
- #define ARIZONA_ISRC1DEC3MIX_INPUT_1_SOURCE 0xB10
- #define ARIZONA_ISRC1DEC4MIX_INPUT_1_SOURCE 0xB18
- #define ARIZONA_ISRC1INT1MIX_INPUT_1_SOURCE 0xB20
- #define ARIZONA_ISRC1INT2MIX_INPUT_1_SOURCE 0xB28
- #define ARIZONA_ISRC1INT3MIX_INPUT_1_SOURCE 0xB30
- #define ARIZONA_ISRC1INT4MIX_INPUT_1_SOURCE 0xB38
- #define ARIZONA_ISRC2DEC1MIX_INPUT_1_SOURCE 0xB40
- #define ARIZONA_ISRC2DEC2MIX_INPUT_1_SOURCE 0xB48
- #define ARIZONA_ISRC2INT1MIX_INPUT_1_SOURCE 0xB60
- #define ARIZONA_ISRC2INT2MIX_INPUT_1_SOURCE 0xB68
- #define ARIZONA_ISRC1INT3MIX_INPUT_1_SOURCE 0xB30
- #define ARIZONA_ISRC1INT4MIX_INPUT_1_SOURCE 0xB38
- #define ARIZONA_ISRC2DEC1MIX_INPUT_1_SOURCE 0xB40
- #define ARIZONA_ISRC2DEC2MIX_INPUT_1_SOURCE 0xB48
- #define ARIZONA_ISRC2DEC3MIX_INPUT_1_SOURCE 0xB50
- #define ARIZONA_ISRC2DEC4MIX_INPUT_1_SOURCE 0xB58
- #define ARIZONA_ISRC2INT1MIX_INPUT_1_SOURCE 0xB60
- #define ARIZONA_ISRC2INT2MIX_INPUT_1_SOURCE 0xB68
- #define ARIZONA_ISRC2INT3MIX_INPUT_1_SOURCE 0xB70
- #define ARIZONA_ISRC2INT4MIX_INPUT_1_SOURCE 0xB78
- #define ARIZONA_ISRC3DEC1MIX_INPUT_1_SOURCE 0xB80
- #define ARIZONA_ISRC3DEC2MIX_INPUT_1_SOURCE 0xB88
- #define ARIZONA_ISRC3DEC3MIX_INPUT_1_SOURCE 0xB90
- #define ARIZONA_ISRC3DEC4MIX_INPUT_1_SOURCE 0xB98
- #define ARIZONA_ISRC3INT1MIX_INPUT_1_SOURCE 0xBA0
- #define ARIZONA_ISRC3INT2MIX_INPUT_1_SOURCE 0xBA8
- #define ARIZONA_ISRC3INT3MIX_INPUT_1_SOURCE 0xBB0
- #define ARIZONA_ISRC3INT4MIX_INPUT_1_SOURCE 0xBB8
- #define ARIZONA_GPIO1_CTRL 0xC00
- #define ARIZONA_GPIO2_CTRL 0xC01
- #define ARIZONA_GPIO3_CTRL 0xC02
- #define ARIZONA_GPIO4_CTRL 0xC03
- #define ARIZONA_GPIO5_CTRL 0xC04
- #define ARIZONA_IRQ_CTRL_1 0xC0F
- #define ARIZONA_GPIO_DEBOUNCE_CONFIG 0xC10
- #define ARIZONA_GP_SWITCH_1 0xC18
- #define ARIZONA_MISC_PAD_CTRL_1 0xC20
- #define ARIZONA_MISC_PAD_CTRL_2 0xC21
- #define ARIZONA_MISC_PAD_CTRL_3 0xC22
- #define ARIZONA_MISC_PAD_CTRL_4 0xC23
- #define ARIZONA_MISC_PAD_CTRL_5 0xC24
- #define ARIZONA_MISC_PAD_CTRL_6 0xC25
- #define ARIZONA_MISC_PAD_CTRL_7 0xC30
- #define ARIZONA_MISC_PAD_CTRL_8 0xC31
- #define ARIZONA_MISC_PAD_CTRL_9 0xC32
- #define ARIZONA_MISC_PAD_CTRL_10 0xC33
- #define ARIZONA_MISC_PAD_CTRL_11 0xC34
- #define ARIZONA_MISC_PAD_CTRL_12 0xC35
- #define ARIZONA_MISC_PAD_CTRL_13 0xC36
- #define ARIZONA_MISC_PAD_CTRL_14 0xC37
- #define ARIZONA_MISC_PAD_CTRL_15 0xC38
- #define ARIZONA_MISC_PAD_CTRL_16 0xC39
- #define ARIZONA_MISC_PAD_CTRL_17 0xC3A
- #define ARIZONA_MISC_PAD_CTRL_18 0xC3B
- #define ARIZONA_INTERRUPT_STATUS_1 0xD00
- #define ARIZONA_INTERRUPT_STATUS_2 0xD01
- #define ARIZONA_INTERRUPT_STATUS_3 0xD02
- #define ARIZONA_INTERRUPT_STATUS_4 0xD03
- #define ARIZONA_INTERRUPT_STATUS_5 0xD04
- #define ARIZONA_INTERRUPT_STATUS_6 0xD05
- #define ARIZONA_INTERRUPT_STATUS_1_MASK 0xD08
- #define ARIZONA_INTERRUPT_STATUS_2_MASK 0xD09
- #define ARIZONA_INTERRUPT_STATUS_3_MASK 0xD0A
- #define ARIZONA_INTERRUPT_STATUS_4_MASK 0xD0B
- #define ARIZONA_INTERRUPT_STATUS_5_MASK 0xD0C
- #define ARIZONA_INTERRUPT_STATUS_6_MASK 0xD0D
- #define ARIZONA_INTERRUPT_CONTROL 0xD0F
- #define ARIZONA_IRQ2_STATUS_1 0xD10
- #define ARIZONA_IRQ2_STATUS_2 0xD11
- #define ARIZONA_IRQ2_STATUS_3 0xD12
- #define ARIZONA_IRQ2_STATUS_4 0xD13
- #define ARIZONA_IRQ2_STATUS_5 0xD14
- #define ARIZONA_IRQ2_STATUS_6 0xD15
- #define ARIZONA_IRQ2_STATUS_1_MASK 0xD18
- #define ARIZONA_IRQ2_STATUS_2_MASK 0xD19
- #define ARIZONA_IRQ2_STATUS_3_MASK 0xD1A
- #define ARIZONA_IRQ2_STATUS_4_MASK 0xD1B
- #define ARIZONA_IRQ2_STATUS_5_MASK 0xD1C
- #define ARIZONA_IRQ2_STATUS_6_MASK 0xD1D
- #define ARIZONA_IRQ2_CONTROL 0xD1F
- #define ARIZONA_INTERRUPT_RAW_STATUS_2 0xD20
- #define ARIZONA_INTERRUPT_RAW_STATUS_3 0xD21
- #define ARIZONA_INTERRUPT_RAW_STATUS_4 0xD22
- #define ARIZONA_INTERRUPT_RAW_STATUS_5 0xD23
- #define ARIZONA_INTERRUPT_RAW_STATUS_6 0xD24
- #define ARIZONA_INTERRUPT_RAW_STATUS_7 0xD25
- #define ARIZONA_INTERRUPT_RAW_STATUS_8 0xD26
- #define ARIZONA_INTERRUPT_RAW_STATUS_9 0xD28
- #define ARIZONA_IRQ_PIN_STATUS 0xD40
- #define ARIZONA_ADSP2_IRQ0 0xD41
- #define ARIZONA_AOD_WKUP_AND_TRIG 0xD50
- #define ARIZONA_AOD_IRQ1 0xD51
- #define ARIZONA_AOD_IRQ2 0xD52
- #define ARIZONA_AOD_IRQ_MASK_IRQ1 0xD53
- #define ARIZONA_AOD_IRQ_MASK_IRQ2 0xD54
- #define ARIZONA_AOD_IRQ_RAW_STATUS 0xD55
- #define ARIZONA_JACK_DETECT_DEBOUNCE 0xD56
- #define ARIZONA_FX_CTRL1 0xE00
- #define ARIZONA_FX_CTRL2 0xE01
- #define ARIZONA_EQ1_1 0xE10
- #define ARIZONA_EQ1_2 0xE11
- #define ARIZONA_EQ1_3 0xE12
- #define ARIZONA_EQ1_4 0xE13
- #define ARIZONA_EQ1_5 0xE14
- #define ARIZONA_EQ1_6 0xE15
- #define ARIZONA_EQ1_7 0xE16
- #define ARIZONA_EQ1_8 0xE17
- #define ARIZONA_EQ1_9 0xE18
- #define ARIZONA_EQ1_10 0xE19
- #define ARIZONA_EQ1_11 0xE1A
- #define ARIZONA_EQ1_12 0xE1B
- #define ARIZONA_EQ1_13 0xE1C
- #define ARIZONA_EQ1_14 0xE1D
- #define ARIZONA_EQ1_15 0xE1E
- #define ARIZONA_EQ1_16 0xE1F
- #define ARIZONA_EQ1_17 0xE20
- #define ARIZONA_EQ1_18 0xE21
- #define ARIZONA_EQ1_19 0xE22
- #define ARIZONA_EQ1_20 0xE23
- #define ARIZONA_EQ1_21 0xE24
- #define ARIZONA_EQ2_1 0xE26
- #define ARIZONA_EQ2_2 0xE27
- #define ARIZONA_EQ2_3 0xE28
- #define ARIZONA_EQ2_4 0xE29
- #define ARIZONA_EQ2_5 0xE2A
- #define ARIZONA_EQ2_6 0xE2B
- #define ARIZONA_EQ2_7 0xE2C
- #define ARIZONA_EQ2_8 0xE2D
- #define ARIZONA_EQ2_9 0xE2E
- #define ARIZONA_EQ2_10 0xE2F
- #define ARIZONA_EQ2_11 0xE30
- #define ARIZONA_EQ2_12 0xE31
- #define ARIZONA_EQ2_13 0xE32
- #define ARIZONA_EQ2_14 0xE33
- #define ARIZONA_EQ2_15 0xE34
- #define ARIZONA_EQ2_16 0xE35
- #define ARIZONA_EQ2_17 0xE36
- #define ARIZONA_EQ2_18 0xE37
- #define ARIZONA_EQ2_19 0xE38
- #define ARIZONA_EQ2_20 0xE39
- #define ARIZONA_EQ2_21 0xE3A
- #define ARIZONA_EQ3_1 0xE3C
- #define ARIZONA_EQ3_2 0xE3D
- #define ARIZONA_EQ3_3 0xE3E
- #define ARIZONA_EQ3_4 0xE3F
- #define ARIZONA_EQ3_5 0xE40
- #define ARIZONA_EQ3_6 0xE41
- #define ARIZONA_EQ3_7 0xE42
- #define ARIZONA_EQ3_8 0xE43
- #define ARIZONA_EQ3_9 0xE44
- #define ARIZONA_EQ3_10 0xE45
- #define ARIZONA_EQ3_11 0xE46
- #define ARIZONA_EQ3_12 0xE47
- #define ARIZONA_EQ3_13 0xE48
- #define ARIZONA_EQ3_14 0xE49
- #define ARIZONA_EQ3_15 0xE4A
- #define ARIZONA_EQ3_16 0xE4B
- #define ARIZONA_EQ3_17 0xE4C
- #define ARIZONA_EQ3_18 0xE4D
- #define ARIZONA_EQ3_19 0xE4E
- #define ARIZONA_EQ3_20 0xE4F
- #define ARIZONA_EQ3_21 0xE50
- #define ARIZONA_EQ4_1 0xE52
- #define ARIZONA_EQ4_2 0xE53
- #define ARIZONA_EQ4_3 0xE54
- #define ARIZONA_EQ4_4 0xE55
- #define ARIZONA_EQ4_5 0xE56
- #define ARIZONA_EQ4_6 0xE57
- #define ARIZONA_EQ4_7 0xE58
- #define ARIZONA_EQ4_8 0xE59
- #define ARIZONA_EQ4_9 0xE5A
- #define ARIZONA_EQ4_10 0xE5B
- #define ARIZONA_EQ4_11 0xE5C
- #define ARIZONA_EQ4_12 0xE5D
- #define ARIZONA_EQ4_13 0xE5E
- #define ARIZONA_EQ4_14 0xE5F
- #define ARIZONA_EQ4_15 0xE60
- #define ARIZONA_EQ4_16 0xE61
- #define ARIZONA_EQ4_17 0xE62
- #define ARIZONA_EQ4_18 0xE63
- #define ARIZONA_EQ4_19 0xE64
- #define ARIZONA_EQ4_20 0xE65
- #define ARIZONA_EQ4_21 0xE66
- #define ARIZONA_DRC1_CTRL1 0xE80
- #define ARIZONA_DRC1_CTRL2 0xE81
- #define ARIZONA_DRC1_CTRL3 0xE82
- #define ARIZONA_DRC1_CTRL4 0xE83
- #define ARIZONA_DRC1_CTRL5 0xE84
- #define ARIZONA_DRC2_CTRL1 0xE89
- #define ARIZONA_DRC2_CTRL2 0xE8A
- #define ARIZONA_DRC2_CTRL3 0xE8B
- #define ARIZONA_DRC2_CTRL4 0xE8C
- #define ARIZONA_DRC2_CTRL5 0xE8D
- #define ARIZONA_HPLPF1_1 0xEC0
- #define ARIZONA_HPLPF1_2 0xEC1
- #define ARIZONA_HPLPF2_1 0xEC4
- #define ARIZONA_HPLPF2_2 0xEC5
- #define ARIZONA_HPLPF3_1 0xEC8
- #define ARIZONA_HPLPF3_2 0xEC9
- #define ARIZONA_HPLPF4_1 0xECC
- #define ARIZONA_HPLPF4_2 0xECD
- #define ARIZONA_ASRC_ENABLE 0xEE0
- #define ARIZONA_ASRC_STATUS 0xEE1
- #define ARIZONA_ASRC_RATE1 0xEE2
- #define ARIZONA_ASRC_RATE2 0xEE3
- #define ARIZONA_ISRC_1_CTRL_1 0xEF0
- #define ARIZONA_ISRC_1_CTRL_2 0xEF1
- #define ARIZONA_ISRC_1_CTRL_3 0xEF2
- #define ARIZONA_ISRC_2_CTRL_1 0xEF3
- #define ARIZONA_ISRC_2_CTRL_2 0xEF4
- #define ARIZONA_ISRC_2_CTRL_3 0xEF5
- #define ARIZONA_ISRC_3_CTRL_1 0xEF6
- #define ARIZONA_ISRC_3_CTRL_2 0xEF7
- #define ARIZONA_ISRC_3_CTRL_3 0xEF8
- #define ARIZONA_CLOCK_CONTROL 0xF00
- #define ARIZONA_ANC_SRC 0xF01
- #define ARIZONA_DSP_STATUS 0xF02
- #define ARIZONA_ANC_COEFF_START 0xF08
- #define ARIZONA_ANC_COEFF_END 0xF12
- #define ARIZONA_FCL_FILTER_CONTROL 0xF15
- #define ARIZONA_FCL_ADC_REFORMATTER_CONTROL 0xF17
- #define ARIZONA_FCL_COEFF_START 0xF18
- #define ARIZONA_FCL_COEFF_END 0xF69
- #define ARIZONA_FCR_FILTER_CONTROL 0xF70
- #define ARIZONA_FCR_ADC_REFORMATTER_CONTROL 0xF72
- #define ARIZONA_FCR_COEFF_START 0xF73
- #define ARIZONA_FCR_COEFF_END 0xFC4
- #define ARIZONA_DSP1_CONTROL_1 0x1100
- #define ARIZONA_DSP1_CLOCKING_1 0x1101
- #define ARIZONA_DSP1_STATUS_1 0x1104
- #define ARIZONA_DSP1_STATUS_2 0x1105
- #define ARIZONA_DSP1_STATUS_3 0x1106
- #define ARIZONA_DSP1_STATUS_4 0x1107
- #define ARIZONA_DSP1_WDMA_BUFFER_1 0x1110
- #define ARIZONA_DSP1_WDMA_BUFFER_2 0x1111
- #define ARIZONA_DSP1_WDMA_BUFFER_3 0x1112
- #define ARIZONA_DSP1_WDMA_BUFFER_4 0x1113
- #define ARIZONA_DSP1_WDMA_BUFFER_5 0x1114
- #define ARIZONA_DSP1_WDMA_BUFFER_6 0x1115
- #define ARIZONA_DSP1_WDMA_BUFFER_7 0x1116
- #define ARIZONA_DSP1_WDMA_BUFFER_8 0x1117
- #define ARIZONA_DSP1_RDMA_BUFFER_1 0x1120
- #define ARIZONA_DSP1_RDMA_BUFFER_2 0x1121
- #define ARIZONA_DSP1_RDMA_BUFFER_3 0x1122
- #define ARIZONA_DSP1_RDMA_BUFFER_4 0x1123
- #define ARIZONA_DSP1_RDMA_BUFFER_5 0x1124
- #define ARIZONA_DSP1_RDMA_BUFFER_6 0x1125
- #define ARIZONA_DSP1_WDMA_CONFIG_1 0x1130
- #define ARIZONA_DSP1_WDMA_CONFIG_2 0x1131
- #define ARIZONA_DSP1_WDMA_OFFSET_1 0x1132
- #define ARIZONA_DSP1_RDMA_CONFIG_1 0x1134
- #define ARIZONA_DSP1_RDMA_OFFSET_1 0x1135
- #define ARIZONA_DSP1_EXTERNAL_START_SELECT_1 0x1138
- #define ARIZONA_DSP1_SCRATCH_0 0x1140
- #define ARIZONA_DSP1_SCRATCH_1 0x1141
- #define ARIZONA_DSP1_SCRATCH_2 0x1142
- #define ARIZONA_DSP1_SCRATCH_3 0x1143
- #define ARIZONA_DSP2_CONTROL_1 0x1200
- #define ARIZONA_DSP2_CLOCKING_1 0x1201
- #define ARIZONA_DSP2_STATUS_1 0x1204
- #define ARIZONA_DSP2_STATUS_2 0x1205
- #define ARIZONA_DSP2_STATUS_3 0x1206
- #define ARIZONA_DSP2_STATUS_4 0x1207
- #define ARIZONA_DSP2_WDMA_BUFFER_1 0x1210
- #define ARIZONA_DSP2_WDMA_BUFFER_2 0x1211
- #define ARIZONA_DSP2_WDMA_BUFFER_3 0x1212
- #define ARIZONA_DSP2_WDMA_BUFFER_4 0x1213
- #define ARIZONA_DSP2_WDMA_BUFFER_5 0x1214
- #define ARIZONA_DSP2_WDMA_BUFFER_6 0x1215
- #define ARIZONA_DSP2_WDMA_BUFFER_7 0x1216
- #define ARIZONA_DSP2_WDMA_BUFFER_8 0x1217
- #define ARIZONA_DSP2_RDMA_BUFFER_1 0x1220
- #define ARIZONA_DSP2_RDMA_BUFFER_2 0x1221
- #define ARIZONA_DSP2_RDMA_BUFFER_3 0x1222
- #define ARIZONA_DSP2_RDMA_BUFFER_4 0x1223
- #define ARIZONA_DSP2_RDMA_BUFFER_5 0x1224
- #define ARIZONA_DSP2_RDMA_BUFFER_6 0x1225
- #define ARIZONA_DSP2_WDMA_CONFIG_1 0x1230
- #define ARIZONA_DSP2_WDMA_CONFIG_2 0x1231
- #define ARIZONA_DSP2_WDMA_OFFSET_1 0x1232
- #define ARIZONA_DSP2_RDMA_CONFIG_1 0x1234
- #define ARIZONA_DSP2_RDMA_OFFSET_1 0x1235
- #define ARIZONA_DSP2_EXTERNAL_START_SELECT_1 0x1238
- #define ARIZONA_DSP2_SCRATCH_0 0x1240
- #define ARIZONA_DSP2_SCRATCH_1 0x1241
- #define ARIZONA_DSP2_SCRATCH_2 0x1242
- #define ARIZONA_DSP2_SCRATCH_3 0x1243
- #define ARIZONA_DSP3_CONTROL_1 0x1300
- #define ARIZONA_DSP3_CLOCKING_1 0x1301
- #define ARIZONA_DSP3_STATUS_1 0x1304
- #define ARIZONA_DSP3_STATUS_2 0x1305
- #define ARIZONA_DSP3_STATUS_3 0x1306
- #define ARIZONA_DSP3_STATUS_4 0x1307
- #define ARIZONA_DSP3_WDMA_BUFFER_1 0x1310
- #define ARIZONA_DSP3_WDMA_BUFFER_2 0x1311
- #define ARIZONA_DSP3_WDMA_BUFFER_3 0x1312
- #define ARIZONA_DSP3_WDMA_BUFFER_4 0x1313
- #define ARIZONA_DSP3_WDMA_BUFFER_5 0x1314
- #define ARIZONA_DSP3_WDMA_BUFFER_6 0x1315
- #define ARIZONA_DSP3_WDMA_BUFFER_7 0x1316
- #define ARIZONA_DSP3_WDMA_BUFFER_8 0x1317
- #define ARIZONA_DSP3_RDMA_BUFFER_1 0x1320
- #define ARIZONA_DSP3_RDMA_BUFFER_2 0x1321
- #define ARIZONA_DSP3_RDMA_BUFFER_3 0x1322
- #define ARIZONA_DSP3_RDMA_BUFFER_4 0x1323
- #define ARIZONA_DSP3_RDMA_BUFFER_5 0x1324
- #define ARIZONA_DSP3_RDMA_BUFFER_6 0x1325
- #define ARIZONA_DSP3_WDMA_CONFIG_1 0x1330
- #define ARIZONA_DSP3_WDMA_CONFIG_2 0x1331
- #define ARIZONA_DSP3_WDMA_OFFSET_1 0x1332
- #define ARIZONA_DSP3_RDMA_CONFIG_1 0x1334
- #define ARIZONA_DSP3_RDMA_OFFSET_1 0x1335
- #define ARIZONA_DSP3_EXTERNAL_START_SELECT_1 0x1338
- #define ARIZONA_DSP3_SCRATCH_0 0x1340
- #define ARIZONA_DSP3_SCRATCH_1 0x1341
- #define ARIZONA_DSP3_SCRATCH_2 0x1342
- #define ARIZONA_DSP3_SCRATCH_3 0x1343
- #define ARIZONA_DSP4_CONTROL_1 0x1400
- #define ARIZONA_DSP4_CLOCKING_1 0x1401
- #define ARIZONA_DSP4_STATUS_1 0x1404
- #define ARIZONA_DSP4_STATUS_2 0x1405
- #define ARIZONA_DSP4_STATUS_3 0x1406
- #define ARIZONA_DSP4_STATUS_4 0x1407
- #define ARIZONA_DSP4_WDMA_BUFFER_1 0x1410
- #define ARIZONA_DSP4_WDMA_BUFFER_2 0x1411
- #define ARIZONA_DSP4_WDMA_BUFFER_3 0x1412
- #define ARIZONA_DSP4_WDMA_BUFFER_4 0x1413
- #define ARIZONA_DSP4_WDMA_BUFFER_5 0x1414
- #define ARIZONA_DSP4_WDMA_BUFFER_6 0x1415
- #define ARIZONA_DSP4_WDMA_BUFFER_7 0x1416
- #define ARIZONA_DSP4_WDMA_BUFFER_8 0x1417
- #define ARIZONA_DSP4_RDMA_BUFFER_1 0x1420
- #define ARIZONA_DSP4_RDMA_BUFFER_2 0x1421
- #define ARIZONA_DSP4_RDMA_BUFFER_3 0x1422
- #define ARIZONA_DSP4_RDMA_BUFFER_4 0x1423
- #define ARIZONA_DSP4_RDMA_BUFFER_5 0x1424
- #define ARIZONA_DSP4_RDMA_BUFFER_6 0x1425
- #define ARIZONA_DSP4_WDMA_CONFIG_1 0x1430
- #define ARIZONA_DSP4_WDMA_CONFIG_2 0x1431
- #define ARIZONA_DSP4_WDMA_OFFSET_1 0x1432
- #define ARIZONA_DSP4_RDMA_CONFIG_1 0x1434
- #define ARIZONA_DSP4_RDMA_OFFSET_1 0x1435
- #define ARIZONA_DSP4_EXTERNAL_START_SELECT_1 0x1438
- #define ARIZONA_DSP4_SCRATCH_0 0x1440
- #define ARIZONA_DSP4_SCRATCH_1 0x1441
- #define ARIZONA_DSP4_SCRATCH_2 0x1442
- #define ARIZONA_DSP4_SCRATCH_3 0x1443
- #define ARIZONA_FRF_COEFF_1 0x1700
- #define ARIZONA_FRF_COEFF_2 0x1701
- #define ARIZONA_FRF_COEFF_3 0x1702
- #define ARIZONA_FRF_COEFF_4 0x1703
- #define ARIZONA_V2_DAC_COMP_1 0x1704
- #define ARIZONA_V2_DAC_COMP_2 0x1705
- /*
- * Field Definitions.
- */
- /*
- * R0 (0x00) - software reset
- */
- #define ARIZONA_SW_RST_DEV_ID1_MASK 0xFFFF /* SW_RST_DEV_ID1 - [15:0] */
- #define ARIZONA_SW_RST_DEV_ID1_SHIFT 0 /* SW_RST_DEV_ID1 - [15:0] */
- #define ARIZONA_SW_RST_DEV_ID1_WIDTH 16 /* SW_RST_DEV_ID1 - [15:0] */
- /*
- * R1 (0x01) - Device Revision
- */
- #define ARIZONA_DEVICE_REVISION_MASK 0x00FF /* DEVICE_REVISION - [7:0] */
- #define ARIZONA_DEVICE_REVISION_SHIFT 0 /* DEVICE_REVISION - [7:0] */
- #define ARIZONA_DEVICE_REVISION_WIDTH 8 /* DEVICE_REVISION - [7:0] */
- /*
- * R8 (0x08) - Ctrl IF SPI CFG 1
- */
- #define ARIZONA_SPI_CFG 0x0010 /* SPI_CFG */
- #define ARIZONA_SPI_CFG_MASK 0x0010 /* SPI_CFG */
- #define ARIZONA_SPI_CFG_SHIFT 4 /* SPI_CFG */
- #define ARIZONA_SPI_CFG_WIDTH 1 /* SPI_CFG */
- #define ARIZONA_SPI_4WIRE 0x0008 /* SPI_4WIRE */
- #define ARIZONA_SPI_4WIRE_MASK 0x0008 /* SPI_4WIRE */
- #define ARIZONA_SPI_4WIRE_SHIFT 3 /* SPI_4WIRE */
- #define ARIZONA_SPI_4WIRE_WIDTH 1 /* SPI_4WIRE */
- #define ARIZONA_SPI_AUTO_INC_MASK 0x0003 /* SPI_AUTO_INC - [1:0] */
- #define ARIZONA_SPI_AUTO_INC_SHIFT 0 /* SPI_AUTO_INC - [1:0] */
- #define ARIZONA_SPI_AUTO_INC_WIDTH 2 /* SPI_AUTO_INC - [1:0] */
- /*
- * R9 (0x09) - Ctrl IF I2C1 CFG 1
- */
- #define ARIZONA_I2C1_AUTO_INC_MASK 0x0003 /* I2C1_AUTO_INC - [1:0] */
- #define ARIZONA_I2C1_AUTO_INC_SHIFT 0 /* I2C1_AUTO_INC - [1:0] */
- #define ARIZONA_I2C1_AUTO_INC_WIDTH 2 /* I2C1_AUTO_INC - [1:0] */
- /*
- * R13 (0x0D) - Ctrl IF Status 1
- */
- #define ARIZONA_I2C1_BUSY 0x0020 /* I2C1_BUSY */
- #define ARIZONA_I2C1_BUSY_MASK 0x0020 /* I2C1_BUSY */
- #define ARIZONA_I2C1_BUSY_SHIFT 5 /* I2C1_BUSY */
- #define ARIZONA_I2C1_BUSY_WIDTH 1 /* I2C1_BUSY */
- #define ARIZONA_SPI_BUSY 0x0010 /* SPI_BUSY */
- #define ARIZONA_SPI_BUSY_MASK 0x0010 /* SPI_BUSY */
- #define ARIZONA_SPI_BUSY_SHIFT 4 /* SPI_BUSY */
- #define ARIZONA_SPI_BUSY_WIDTH 1 /* SPI_BUSY */
- /*
- * R22 (0x16) - Write Sequencer Ctrl 0
- */
- #define ARIZONA_WSEQ_ABORT 0x0800 /* WSEQ_ABORT */
- #define ARIZONA_WSEQ_ABORT_MASK 0x0800 /* WSEQ_ABORT */
- #define ARIZONA_WSEQ_ABORT_SHIFT 11 /* WSEQ_ABORT */
- #define ARIZONA_WSEQ_ABORT_WIDTH 1 /* WSEQ_ABORT */
- #define ARIZONA_WSEQ_START 0x0400 /* WSEQ_START */
- #define ARIZONA_WSEQ_START_MASK 0x0400 /* WSEQ_START */
- #define ARIZONA_WSEQ_START_SHIFT 10 /* WSEQ_START */
- #define ARIZONA_WSEQ_START_WIDTH 1 /* WSEQ_START */
- #define ARIZONA_WSEQ_ENA 0x0200 /* WSEQ_ENA */
- #define ARIZONA_WSEQ_ENA_MASK 0x0200 /* WSEQ_ENA */
- #define ARIZONA_WSEQ_ENA_SHIFT 9 /* WSEQ_ENA */
- #define ARIZONA_WSEQ_ENA_WIDTH 1 /* WSEQ_ENA */
- #define ARIZONA_WSEQ_START_INDEX_MASK 0x01FF /* WSEQ_START_INDEX - [8:0] */
- #define ARIZONA_WSEQ_START_INDEX_SHIFT 0 /* WSEQ_START_INDEX - [8:0] */
- #define ARIZONA_WSEQ_START_INDEX_WIDTH 9 /* WSEQ_START_INDEX - [8:0] */
- /*
- * R23 (0x17) - Write Sequencer Ctrl 1
- */
- #define ARIZONA_WSEQ_BUSY 0x0200 /* WSEQ_BUSY */
- #define ARIZONA_WSEQ_BUSY_MASK 0x0200 /* WSEQ_BUSY */
- #define ARIZONA_WSEQ_BUSY_SHIFT 9 /* WSEQ_BUSY */
- #define ARIZONA_WSEQ_BUSY_WIDTH 1 /* WSEQ_BUSY */
- #define ARIZONA_WSEQ_CURRENT_INDEX_MASK 0x01FF /* WSEQ_CURRENT_INDEX - [8:0] */
- #define ARIZONA_WSEQ_CURRENT_INDEX_SHIFT 0 /* WSEQ_CURRENT_INDEX - [8:0] */
- #define ARIZONA_WSEQ_CURRENT_INDEX_WIDTH 9 /* WSEQ_CURRENT_INDEX - [8:0] */
- /*
- * R24 (0x18) - Write Sequencer Ctrl 2
- */
- #define ARIZONA_LOAD_DEFAULTS 0x0002 /* LOAD_DEFAULTS */
- #define ARIZONA_LOAD_DEFAULTS_MASK 0x0002 /* LOAD_DEFAULTS */
- #define ARIZONA_LOAD_DEFAULTS_SHIFT 1 /* LOAD_DEFAULTS */
- #define ARIZONA_LOAD_DEFAULTS_WIDTH 1 /* LOAD_DEFAULTS */
- #define ARIZONA_WSEQ_LOAD_MEM 0x0001 /* WSEQ_LOAD_MEM */
- #define ARIZONA_WSEQ_LOAD_MEM_MASK 0x0001 /* WSEQ_LOAD_MEM */
- #define ARIZONA_WSEQ_LOAD_MEM_SHIFT 0 /* WSEQ_LOAD_MEM */
- #define ARIZONA_WSEQ_LOAD_MEM_WIDTH 1 /* WSEQ_LOAD_MEM */
- /*
- * R26 (0x1A) - Write Sequencer PROM
- */
- #define ARIZONA_WSEQ_OTP_WRITE 0x0001 /* WSEQ_OTP_WRITE */
- #define ARIZONA_WSEQ_OTP_WRITE_MASK 0x0001 /* WSEQ_OTP_WRITE */
- #define ARIZONA_WSEQ_OTP_WRITE_SHIFT 0 /* WSEQ_OTP_WRITE */
- #define ARIZONA_WSEQ_OTP_WRITE_WIDTH 1 /* WSEQ_OTP_WRITE */
- /*
- * R32 (0x20) - Tone Generator 1
- */
- #define ARIZONA_TONE_RATE_MASK 0x7800 /* TONE_RATE - [14:11] */
- #define ARIZONA_TONE_RATE_SHIFT 11 /* TONE_RATE - [14:11] */
- #define ARIZONA_TONE_RATE_WIDTH 4 /* TONE_RATE - [14:11] */
- #define ARIZONA_TONE_OFFSET_MASK 0x0300 /* TONE_OFFSET - [9:8] */
- #define ARIZONA_TONE_OFFSET_SHIFT 8 /* TONE_OFFSET - [9:8] */
- #define ARIZONA_TONE_OFFSET_WIDTH 2 /* TONE_OFFSET - [9:8] */
- #define ARIZONA_TONE2_OVD 0x0020 /* TONE2_OVD */
- #define ARIZONA_TONE2_OVD_MASK 0x0020 /* TONE2_OVD */
- #define ARIZONA_TONE2_OVD_SHIFT 5 /* TONE2_OVD */
- #define ARIZONA_TONE2_OVD_WIDTH 1 /* TONE2_OVD */
- #define ARIZONA_TONE1_OVD 0x0010 /* TONE1_OVD */
- #define ARIZONA_TONE1_OVD_MASK 0x0010 /* TONE1_OVD */
- #define ARIZONA_TONE1_OVD_SHIFT 4 /* TONE1_OVD */
- #define ARIZONA_TONE1_OVD_WIDTH 1 /* TONE1_OVD */
- #define ARIZONA_TONE2_ENA 0x0002 /* TONE2_ENA */
- #define ARIZONA_TONE2_ENA_MASK 0x0002 /* TONE2_ENA */
- #define ARIZONA_TONE2_ENA_SHIFT 1 /* TONE2_ENA */
- #define ARIZONA_TONE2_ENA_WIDTH 1 /* TONE2_ENA */
- #define ARIZONA_TONE1_ENA 0x0001 /* TONE1_ENA */
- #define ARIZONA_TONE1_ENA_MASK 0x0001 /* TONE1_ENA */
- #define ARIZONA_TONE1_ENA_SHIFT 0 /* TONE1_ENA */
- #define ARIZONA_TONE1_ENA_WIDTH 1 /* TONE1_ENA */
- /*
- * R33 (0x21) - Tone Generator 2
- */
- #define ARIZONA_TONE1_LVL_0_MASK 0xFFFF /* TONE1_LVL - [15:0] */
- #define ARIZONA_TONE1_LVL_0_SHIFT 0 /* TONE1_LVL - [15:0] */
- #define ARIZONA_TONE1_LVL_0_WIDTH 16 /* TONE1_LVL - [15:0] */
- /*
- * R34 (0x22) - Tone Generator 3
- */
- #define ARIZONA_TONE1_LVL_MASK 0x00FF /* TONE1_LVL - [7:0] */
- #define ARIZONA_TONE1_LVL_SHIFT 0 /* TONE1_LVL - [7:0] */
- #define ARIZONA_TONE1_LVL_WIDTH 8 /* TONE1_LVL - [7:0] */
- /*
- * R35 (0x23) - Tone Generator 4
- */
- #define ARIZONA_TONE2_LVL_0_MASK 0xFFFF /* TONE2_LVL - [15:0] */
- #define ARIZONA_TONE2_LVL_0_SHIFT 0 /* TONE2_LVL - [15:0] */
- #define ARIZONA_TONE2_LVL_0_WIDTH 16 /* TONE2_LVL - [15:0] */
- /*
- * R36 (0x24) - Tone Generator 5
- */
- #define ARIZONA_TONE2_LVL_MASK 0x00FF /* TONE2_LVL - [7:0] */
- #define ARIZONA_TONE2_LVL_SHIFT 0 /* TONE2_LVL - [7:0] */
- #define ARIZONA_TONE2_LVL_WIDTH 8 /* TONE2_LVL - [7:0] */
- /*
- * R48 (0x30) - PWM Drive 1
- */
- #define ARIZONA_PWM_RATE_MASK 0x7800 /* PWM_RATE - [14:11] */
- #define ARIZONA_PWM_RATE_SHIFT 11 /* PWM_RATE - [14:11] */
- #define ARIZONA_PWM_RATE_WIDTH 4 /* PWM_RATE - [14:11] */
- #define ARIZONA_PWM_CLK_SEL_MASK 0x0700 /* PWM_CLK_SEL - [10:8] */
- #define ARIZONA_PWM_CLK_SEL_SHIFT 8 /* PWM_CLK_SEL - [10:8] */
- #define ARIZONA_PWM_CLK_SEL_WIDTH 3 /* PWM_CLK_SEL - [10:8] */
- #define ARIZONA_PWM2_OVD 0x0020 /* PWM2_OVD */
- #define ARIZONA_PWM2_OVD_MASK 0x0020 /* PWM2_OVD */
- #define ARIZONA_PWM2_OVD_SHIFT 5 /* PWM2_OVD */
- #define ARIZONA_PWM2_OVD_WIDTH 1 /* PWM2_OVD */
- #define ARIZONA_PWM1_OVD 0x0010 /* PWM1_OVD */
- #define ARIZONA_PWM1_OVD_MASK 0x0010 /* PWM1_OVD */
- #define ARIZONA_PWM1_OVD_SHIFT 4 /* PWM1_OVD */
- #define ARIZONA_PWM1_OVD_WIDTH 1 /* PWM1_OVD */
- #define ARIZONA_PWM2_ENA 0x0002 /* PWM2_ENA */
- #define ARIZONA_PWM2_ENA_MASK 0x0002 /* PWM2_ENA */
- #define ARIZONA_PWM2_ENA_SHIFT 1 /* PWM2_ENA */
- #define ARIZONA_PWM2_ENA_WIDTH 1 /* PWM2_ENA */
- #define ARIZONA_PWM1_ENA 0x0001 /* PWM1_ENA */
- #define ARIZONA_PWM1_ENA_MASK 0x0001 /* PWM1_ENA */
- #define ARIZONA_PWM1_ENA_SHIFT 0 /* PWM1_ENA */
- #define ARIZONA_PWM1_ENA_WIDTH 1 /* PWM1_ENA */
- /*
- * R49 (0x31) - PWM Drive 2
- */
- #define ARIZONA_PWM1_LVL_MASK 0x03FF /* PWM1_LVL - [9:0] */
- #define ARIZONA_PWM1_LVL_SHIFT 0 /* PWM1_LVL - [9:0] */
- #define ARIZONA_PWM1_LVL_WIDTH 10 /* PWM1_LVL - [9:0] */
- /*
- * R50 (0x32) - PWM Drive 3
- */
- #define ARIZONA_PWM2_LVL_MASK 0x03FF /* PWM2_LVL - [9:0] */
- #define ARIZONA_PWM2_LVL_SHIFT 0 /* PWM2_LVL - [9:0] */
- #define ARIZONA_PWM2_LVL_WIDTH 10 /* PWM2_LVL - [9:0] */
- /*
- * R64 (0x40) - Wake control
- */
- #define ARIZONA_WKUP_MICD_CLAMP_FALL 0x0080 /* WKUP_MICD_CLAMP_FALL */
- #define ARIZONA_WKUP_MICD_CLAMP_FALL_MASK 0x0080 /* WKUP_MICD_CLAMP_FALL */
- #define ARIZONA_WKUP_MICD_CLAMP_FALL_SHIFT 7 /* WKUP_MICD_CLAMP_FALL */
- #define ARIZONA_WKUP_MICD_CLAMP_FALL_WIDTH 1 /* WKUP_MICD_CLAMP_FALL */
- #define ARIZONA_WKUP_MICD_CLAMP_RISE 0x0040 /* WKUP_MICD_CLAMP_RISE */
- #define ARIZONA_WKUP_MICD_CLAMP_RISE_MASK 0x0040 /* WKUP_MICD_CLAMP_RISE */
- #define ARIZONA_WKUP_MICD_CLAMP_RISE_SHIFT 6 /* WKUP_MICD_CLAMP_RISE */
- #define ARIZONA_WKUP_MICD_CLAMP_RISE_WIDTH 1 /* WKUP_MICD_CLAMP_RISE */
- #define ARIZONA_WKUP_GP5_FALL 0x0020 /* WKUP_GP5_FALL */
- #define ARIZONA_WKUP_GP5_FALL_MASK 0x0020 /* WKUP_GP5_FALL */
- #define ARIZONA_WKUP_GP5_FALL_SHIFT 5 /* WKUP_GP5_FALL */
- #define ARIZONA_WKUP_GP5_FALL_WIDTH 1 /* WKUP_GP5_FALL */
- #define ARIZONA_WKUP_GP5_RISE 0x0010 /* WKUP_GP5_RISE */
- #define ARIZONA_WKUP_GP5_RISE_MASK 0x0010 /* WKUP_GP5_RISE */
- #define ARIZONA_WKUP_GP5_RISE_SHIFT 4 /* WKUP_GP5_RISE */
- #define ARIZONA_WKUP_GP5_RISE_WIDTH 1 /* WKUP_GP5_RISE */
- #define ARIZONA_WKUP_JD1_FALL 0x0008 /* WKUP_JD1_FALL */
- #define ARIZONA_WKUP_JD1_FALL_MASK 0x0008 /* WKUP_JD1_FALL */
- #define ARIZONA_WKUP_JD1_FALL_SHIFT 3 /* WKUP_JD1_FALL */
- #define ARIZONA_WKUP_JD1_FALL_WIDTH 1 /* WKUP_JD1_FALL */
- #define ARIZONA_WKUP_JD1_RISE 0x0004 /* WKUP_JD1_RISE */
- #define ARIZONA_WKUP_JD1_RISE_MASK 0x0004 /* WKUP_JD1_RISE */
- #define ARIZONA_WKUP_JD1_RISE_SHIFT 2 /* WKUP_JD1_RISE */
- #define ARIZONA_WKUP_JD1_RISE_WIDTH 1 /* WKUP_JD1_RISE */
- #define ARIZONA_WKUP_JD2_FALL 0x0002 /* WKUP_JD2_FALL */
- #define ARIZONA_WKUP_JD2_FALL_MASK 0x0002 /* WKUP_JD2_FALL */
- #define ARIZONA_WKUP_JD2_FALL_SHIFT 1 /* WKUP_JD2_FALL */
- #define ARIZONA_WKUP_JD2_FALL_WIDTH 1 /* WKUP_JD2_FALL */
- #define ARIZONA_WKUP_JD2_RISE 0x0001 /* WKUP_JD2_RISE */
- #define ARIZONA_WKUP_JD2_RISE_MASK 0x0001 /* WKUP_JD2_RISE */
- #define ARIZONA_WKUP_JD2_RISE_SHIFT 0 /* WKUP_JD2_RISE */
- #define ARIZONA_WKUP_JD2_RISE_WIDTH 1 /* WKUP_JD2_RISE */
- /*
- * R65 (0x41) - Sequence control
- */
- #define ARIZONA_WSEQ_ENA_GP5_FALL 0x0020 /* WSEQ_ENA_GP5_FALL */
- #define ARIZONA_WSEQ_ENA_GP5_FALL_MASK 0x0020 /* WSEQ_ENA_GP5_FALL */
- #define ARIZONA_WSEQ_ENA_GP5_FALL_SHIFT 5 /* WSEQ_ENA_GP5_FALL */
- #define ARIZONA_WSEQ_ENA_GP5_FALL_WIDTH 1 /* WSEQ_ENA_GP5_FALL */
- #define ARIZONA_WSEQ_ENA_GP5_RISE 0x0010 /* WSEQ_ENA_GP5_RISE */
- #define ARIZONA_WSEQ_ENA_GP5_RISE_MASK 0x0010 /* WSEQ_ENA_GP5_RISE */
- #define ARIZONA_WSEQ_ENA_GP5_RISE_SHIFT 4 /* WSEQ_ENA_GP5_RISE */
- #define ARIZONA_WSEQ_ENA_GP5_RISE_WIDTH 1 /* WSEQ_ENA_GP5_RISE */
- #define ARIZONA_WSEQ_ENA_JD1_FALL 0x0008 /* WSEQ_ENA_JD1_FALL */
- #define ARIZONA_WSEQ_ENA_JD1_FALL_MASK 0x0008 /* WSEQ_ENA_JD1_FALL */
- #define ARIZONA_WSEQ_ENA_JD1_FALL_SHIFT 3 /* WSEQ_ENA_JD1_FALL */
- #define ARIZONA_WSEQ_ENA_JD1_FALL_WIDTH 1 /* WSEQ_ENA_JD1_FALL */
- #define ARIZONA_WSEQ_ENA_JD1_RISE 0x0004 /* WSEQ_ENA_JD1_RISE */
- #define ARIZONA_WSEQ_ENA_JD1_RISE_MASK 0x0004 /* WSEQ_ENA_JD1_RISE */
- #define ARIZONA_WSEQ_ENA_JD1_RISE_SHIFT 2 /* WSEQ_ENA_JD1_RISE */
- #define ARIZONA_WSEQ_ENA_JD1_RISE_WIDTH 1 /* WSEQ_ENA_JD1_RISE */
- #define ARIZONA_WSEQ_ENA_JD2_FALL 0x0002 /* WSEQ_ENA_JD2_FALL */
- #define ARIZONA_WSEQ_ENA_JD2_FALL_MASK 0x0002 /* WSEQ_ENA_JD2_FALL */
- #define ARIZONA_WSEQ_ENA_JD2_FALL_SHIFT 1 /* WSEQ_ENA_JD2_FALL */
- #define ARIZONA_WSEQ_ENA_JD2_FALL_WIDTH 1 /* WSEQ_ENA_JD2_FALL */
- #define ARIZONA_WSEQ_ENA_JD2_RISE 0x0001 /* WSEQ_ENA_JD2_RISE */
- #define ARIZONA_WSEQ_ENA_JD2_RISE_MASK 0x0001 /* WSEQ_ENA_JD2_RISE */
- #define ARIZONA_WSEQ_ENA_JD2_RISE_SHIFT 0 /* WSEQ_ENA_JD2_RISE */
- #define ARIZONA_WSEQ_ENA_JD2_RISE_WIDTH 1 /* WSEQ_ENA_JD2_RISE */
- /*
- * R66 (0x42) - Spare Triggers
- */
- #define ARIZONA_WS_TRG8 0x0080 /* WS_TRG8 */
- #define ARIZONA_WS_TRG8_MASK 0x0080 /* WS_TRG8 */
- #define ARIZONA_WS_TRG8_SHIFT 7 /* WS_TRG8 */
- #define ARIZONA_WS_TRG8_WIDTH 1 /* WS_TRG8 */
- #define ARIZONA_WS_TRG7 0x0040 /* WS_TRG7 */
- #define ARIZONA_WS_TRG7_MASK 0x0040 /* WS_TRG7 */
- #define ARIZONA_WS_TRG7_SHIFT 6 /* WS_TRG7 */
- #define ARIZONA_WS_TRG7_WIDTH 1 /* WS_TRG7 */
- #define ARIZONA_WS_TRG6 0x0020 /* WS_TRG6 */
- #define ARIZONA_WS_TRG6_MASK 0x0020 /* WS_TRG6 */
- #define ARIZONA_WS_TRG6_SHIFT 5 /* WS_TRG6 */
- #define ARIZONA_WS_TRG6_WIDTH 1 /* WS_TRG6 */
- #define ARIZONA_WS_TRG5 0x0010 /* WS_TRG5 */
- #define ARIZONA_WS_TRG5_MASK 0x0010 /* WS_TRG5 */
- #define ARIZONA_WS_TRG5_SHIFT 4 /* WS_TRG5 */
- #define ARIZONA_WS_TRG5_WIDTH 1 /* WS_TRG5 */
- #define ARIZONA_WS_TRG4 0x0008 /* WS_TRG4 */
- #define ARIZONA_WS_TRG4_MASK 0x0008 /* WS_TRG4 */
- #define ARIZONA_WS_TRG4_SHIFT 3 /* WS_TRG4 */
- #define ARIZONA_WS_TRG4_WIDTH 1 /* WS_TRG4 */
- #define ARIZONA_WS_TRG3 0x0004 /* WS_TRG3 */
- #define ARIZONA_WS_TRG3_MASK 0x0004 /* WS_TRG3 */
- #define ARIZONA_WS_TRG3_SHIFT 2 /* WS_TRG3 */
- #define ARIZONA_WS_TRG3_WIDTH 1 /* WS_TRG3 */
- #define ARIZONA_WS_TRG2 0x0002 /* WS_TRG2 */
- #define ARIZONA_WS_TRG2_MASK 0x0002 /* WS_TRG2 */
- #define ARIZONA_WS_TRG2_SHIFT 1 /* WS_TRG2 */
- #define ARIZONA_WS_TRG2_WIDTH 1 /* WS_TRG2 */
- #define ARIZONA_WS_TRG1 0x0001 /* WS_TRG1 */
- #define ARIZONA_WS_TRG1_MASK 0x0001 /* WS_TRG1 */
- #define ARIZONA_WS_TRG1_SHIFT 0 /* WS_TRG1 */
- #define ARIZONA_WS_TRG1_WIDTH 1 /* WS_TRG1 */
- /*
- * R97 (0x61) - Sample Rate Sequence Select 1
- */
- #define ARIZONA_WSEQ_SAMPLE_RATE_DETECT_A_SEQ_ADDR_MASK 0x01FF /* WSEQ_SAMPLE_RATE_DETECT_A_SEQ_ADDR - [8:0] */
- #define ARIZONA_WSEQ_SAMPLE_RATE_DETECT_A_SEQ_ADDR_SHIFT 0 /* WSEQ_SAMPLE_RATE_DETECT_A_SEQ_ADDR - [8:0] */
- #define ARIZONA_WSEQ_SAMPLE_RATE_DETECT_A_SEQ_ADDR_WIDTH 9 /* WSEQ_SAMPLE_RATE_DETECT_A_SEQ_ADDR - [8:0] */
- /*
- * R98 (0x62) - Sample Rate Sequence Select 2
- */
- #define ARIZONA_WSEQ_SAMPLE_RATE_DETECT_B_SEQ_ADDR_MASK 0x01FF /* WSEQ_SAMPLE_RATE_DETECT_B_SEQ_ADDR - [8:0] */
- #define ARIZONA_WSEQ_SAMPLE_RATE_DETECT_B_SEQ_ADDR_SHIFT 0 /* WSEQ_SAMPLE_RATE_DETECT_B_SEQ_ADDR - [8:0] */
- #define ARIZONA_WSEQ_SAMPLE_RATE_DETECT_B_SEQ_ADDR_WIDTH 9 /* WSEQ_SAMPLE_RATE_DETECT_B_SEQ_ADDR - [8:0] */
- /*
- * R99 (0x63) - Sample Rate Sequence Select 3
- */
- #define ARIZONA_WSEQ_SAMPLE_RATE_DETECT_C_SEQ_ADDR_MASK 0x01FF /* WSEQ_SAMPLE_RATE_DETECT_C_SEQ_ADDR - [8:0] */
- #define ARIZONA_WSEQ_SAMPLE_RATE_DETECT_C_SEQ_ADDR_SHIFT 0 /* WSEQ_SAMPLE_RATE_DETECT_C_SEQ_ADDR - [8:0] */
- #define ARIZONA_WSEQ_SAMPLE_RATE_DETECT_C_SEQ_ADDR_WIDTH 9 /* WSEQ_SAMPLE_RATE_DETECT_C_SEQ_ADDR - [8:0] */
- /*
- * R100 (0x64) - Sample Rate Sequence Select 4
- */
- #define ARIZONA_WSEQ_SAMPLE_RATE_DETECT_D_SEQ_ADDR_MASK 0x01FF /* WSEQ_SAMPLE_RATE_DETECT_D_SEQ_ADDR - [8:0] */
- #define ARIZONA_WSEQ_SAMPLE_RATE_DETECT_D_SEQ_ADDR_SHIFT 0 /* WSEQ_SAMPLE_RATE_DETECT_D_SEQ_ADDR - [8:0] */
- #define ARIZONA_WSEQ_SAMPLE_RATE_DETECT_D_SEQ_ADDR_WIDTH 9 /* WSEQ_SAMPLE_RATE_DETECT_D_SEQ_ADDR - [8:0] */
- /*
- * R104 (0x68) - Always On Triggers Sequence Select 1
- */
- #define ARIZONA_WSEQ_GP5_RISE_SEQ_ADDR_MASK 0x01FF /* WSEQ_GP5_RISE_SEQ_ADDR - [8:0] */
- #define ARIZONA_WSEQ_GP5_RISE_SEQ_ADDR_SHIFT 0 /* WSEQ_GP5_RISE_SEQ_ADDR - [8:0] */
- #define ARIZONA_WSEQ_GP5_RISE_SEQ_ADDR_WIDTH 9 /* WSEQ_GP5_RISE_SEQ_ADDR - [8:0] */
- /*
- * R105 (0x69) - Always On Triggers Sequence Select 2
- */
- #define ARIZONA_WSEQ_GP5_FALL_SEQ_ADDR_MASK 0x01FF /* WSEQ_GP5_FALL_SEQ_ADDR - [8:0] */
- #define ARIZONA_WSEQ_GP5_FALL_SEQ_ADDR_SHIFT 0 /* WSEQ_GP5_FALL_SEQ_ADDR - [8:0] */
- #define ARIZONA_WSEQ_GP5_FALL_SEQ_ADDR_WIDTH 9 /* WSEQ_GP5_FALL_SEQ_ADDR - [8:0] */
- /*
- * R106 (0x6A) - Always On Triggers Sequence Select 3
- */
- #define ARIZONA_WSEQ_JD1_RISE_SEQ_ADDR_MASK 0x01FF /* WSEQ_JD1_RISE_SEQ_ADDR - [8:0] */
- #define ARIZONA_WSEQ_JD1_RISE_SEQ_ADDR_SHIFT 0 /* WSEQ_JD1_RISE_SEQ_ADDR - [8:0] */
- #define ARIZONA_WSEQ_JD1_RISE_SEQ_ADDR_WIDTH 9 /* WSEQ_JD1_RISE_SEQ_ADDR - [8:0] */
- /*
- * R107 (0x6B) - Always On Triggers Sequence Select 4
- */
- #define ARIZONA_WSEQ_JD1_FALL_SEQ_ADDR_MASK 0x01FF /* WSEQ_JD1_FALL_SEQ_ADDR - [8:0] */
- #define ARIZONA_WSEQ_JD1_FALL_SEQ_ADDR_SHIFT 0 /* WSEQ_JD1_FALL_SEQ_ADDR - [8:0] */
- #define ARIZONA_WSEQ_JD1_FALL_SEQ_ADDR_WIDTH 9 /* WSEQ_JD1_FALL_SEQ_ADDR - [8:0] */
- /*
- * R108 (0x6C) - Always On Triggers Sequence Select 5
- */
- #define ARIZONA_WSEQ_JD2_RISE_SEQ_ADDR_MASK 0x01FF /* WSEQ_JD2_RISE_SEQ_ADDR - [8:0] */
- #define ARIZONA_WSEQ_JD2_RISE_SEQ_ADDR_SHIFT 0 /* WSEQ_JD2_RISE_SEQ_ADDR - [8:0] */
- #define ARIZONA_WSEQ_JD2_RISE_SEQ_ADDR_WIDTH 9 /* WSEQ_JD2_RISE_SEQ_ADDR - [8:0] */
- /*
- * R109 (0x6D) - Always On Triggers Sequence Select 6
- */
- #define ARIZONA_WSEQ_JD2_FALL_SEQ_ADDR_MASK 0x01FF /* WSEQ_JD2_FALL_SEQ_ADDR - [8:0] */
- #define ARIZONA_WSEQ_JD2_FALL_SEQ_ADDR_SHIFT 0 /* WSEQ_JD2_FALL_SEQ_ADDR - [8:0] */
- #define ARIZONA_WSEQ_JD2_FALL_SEQ_ADDR_WIDTH 9 /* WSEQ_JD2_FALL_SEQ_ADDR - [8:0] */
- /*
- * R112 (0x70) - Comfort Noise Generator
- */
- #define ARIZONA_NOISE_GEN_RATE_MASK 0x7800 /* NOISE_GEN_RATE - [14:11] */
- #define ARIZONA_NOISE_GEN_RATE_SHIFT 11 /* NOISE_GEN_RATE - [14:11] */
- #define ARIZONA_NOISE_GEN_RATE_WIDTH 4 /* NOISE_GEN_RATE - [14:11] */
- #define ARIZONA_NOISE_GEN_ENA 0x0020 /* NOISE_GEN_ENA */
- #define ARIZONA_NOISE_GEN_ENA_MASK 0x0020 /* NOISE_GEN_ENA */
- #define ARIZONA_NOISE_GEN_ENA_SHIFT 5 /* NOISE_GEN_ENA */
- #define ARIZONA_NOISE_GEN_ENA_WIDTH 1 /* NOISE_GEN_ENA */
- #define ARIZONA_NOISE_GEN_GAIN_MASK 0x001F /* NOISE_GEN_GAIN - [4:0] */
- #define ARIZONA_NOISE_GEN_GAIN_SHIFT 0 /* NOISE_GEN_GAIN - [4:0] */
- #define ARIZONA_NOISE_GEN_GAIN_WIDTH 5 /* NOISE_GEN_GAIN - [4:0] */
- /*
- * R144 (0x90) - Haptics Control 1
- */
- #define ARIZONA_HAP_RATE_MASK 0x7800 /* HAP_RATE - [14:11] */
- #define ARIZONA_HAP_RATE_SHIFT 11 /* HAP_RATE - [14:11] */
- #define ARIZONA_HAP_RATE_WIDTH 4 /* HAP_RATE - [14:11] */
- #define ARIZONA_ONESHOT_TRIG 0x0010 /* ONESHOT_TRIG */
- #define ARIZONA_ONESHOT_TRIG_MASK 0x0010 /* ONESHOT_TRIG */
- #define ARIZONA_ONESHOT_TRIG_SHIFT 4 /* ONESHOT_TRIG */
- #define ARIZONA_ONESHOT_TRIG_WIDTH 1 /* ONESHOT_TRIG */
- #define ARIZONA_HAP_CTRL_MASK 0x000C /* HAP_CTRL - [3:2] */
- #define ARIZONA_HAP_CTRL_SHIFT 2 /* HAP_CTRL - [3:2] */
- #define ARIZONA_HAP_CTRL_WIDTH 2 /* HAP_CTRL - [3:2] */
- #define ARIZONA_HAP_ACT 0x0002 /* HAP_ACT */
- #define ARIZONA_HAP_ACT_MASK 0x0002 /* HAP_ACT */
- #define ARIZONA_HAP_ACT_SHIFT 1 /* HAP_ACT */
- #define ARIZONA_HAP_ACT_WIDTH 1 /* HAP_ACT */
- /*
- * R145 (0x91) - Haptics Control 2
- */
- #define ARIZONA_LRA_FREQ_MASK 0x7FFF /* LRA_FREQ - [14:0] */
- #define ARIZONA_LRA_FREQ_SHIFT 0 /* LRA_FREQ - [14:0] */
- #define ARIZONA_LRA_FREQ_WIDTH 15 /* LRA_FREQ - [14:0] */
- /*
- * R146 (0x92) - Haptics phase 1 intensity
- */
- #define ARIZONA_PHASE1_INTENSITY_MASK 0x00FF /* PHASE1_INTENSITY - [7:0] */
- #define ARIZONA_PHASE1_INTENSITY_SHIFT 0 /* PHASE1_INTENSITY - [7:0] */
- #define ARIZONA_PHASE1_INTENSITY_WIDTH 8 /* PHASE1_INTENSITY - [7:0] */
- /*
- * R147 (0x93) - Haptics phase 1 duration
- */
- #define ARIZONA_PHASE1_DURATION_MASK 0x01FF /* PHASE1_DURATION - [8:0] */
- #define ARIZONA_PHASE1_DURATION_SHIFT 0 /* PHASE1_DURATION - [8:0] */
- #define ARIZONA_PHASE1_DURATION_WIDTH 9 /* PHASE1_DURATION - [8:0] */
- /*
- * R148 (0x94) - Haptics phase 2 intensity
- */
- #define ARIZONA_PHASE2_INTENSITY_MASK 0x00FF /* PHASE2_INTENSITY - [7:0] */
- #define ARIZONA_PHASE2_INTENSITY_SHIFT 0 /* PHASE2_INTENSITY - [7:0] */
- #define ARIZONA_PHASE2_INTENSITY_WIDTH 8 /* PHASE2_INTENSITY - [7:0] */
- /*
- * R149 (0x95) - Haptics phase 2 duration
- */
- #define ARIZONA_PHASE2_DURATION_MASK 0x07FF /* PHASE2_DURATION - [10:0] */
- #define ARIZONA_PHASE2_DURATION_SHIFT 0 /* PHASE2_DURATION - [10:0] */
- #define ARIZONA_PHASE2_DURATION_WIDTH 11 /* PHASE2_DURATION - [10:0] */
- /*
- * R150 (0x96) - Haptics phase 3 intensity
- */
- #define ARIZONA_PHASE3_INTENSITY_MASK 0x00FF /* PHASE3_INTENSITY - [7:0] */
- #define ARIZONA_PHASE3_INTENSITY_SHIFT 0 /* PHASE3_INTENSITY - [7:0] */
- #define ARIZONA_PHASE3_INTENSITY_WIDTH 8 /* PHASE3_INTENSITY - [7:0] */
- /*
- * R151 (0x97) - Haptics phase 3 duration
- */
- #define ARIZONA_PHASE3_DURATION_MASK 0x01FF /* PHASE3_DURATION - [8:0] */
- #define ARIZONA_PHASE3_DURATION_SHIFT 0 /* PHASE3_DURATION - [8:0] */
- #define ARIZONA_PHASE3_DURATION_WIDTH 9 /* PHASE3_DURATION - [8:0] */
- /*
- * R152 (0x98) - Haptics Status
- */
- #define ARIZONA_ONESHOT_STS 0x0001 /* ONESHOT_STS */
- #define ARIZONA_ONESHOT_STS_MASK 0x0001 /* ONESHOT_STS */
- #define ARIZONA_ONESHOT_STS_SHIFT 0 /* ONESHOT_STS */
- #define ARIZONA_ONESHOT_STS_WIDTH 1 /* ONESHOT_STS */
- /*
- * R256 (0x100) - Clock 32k 1
- */
- #define ARIZONA_CLK_32K_ENA 0x0040 /* CLK_32K_ENA */
- #define ARIZONA_CLK_32K_ENA_MASK 0x0040 /* CLK_32K_ENA */
- #define ARIZONA_CLK_32K_ENA_SHIFT 6 /* CLK_32K_ENA */
- #define ARIZONA_CLK_32K_ENA_WIDTH 1 /* CLK_32K_ENA */
- #define ARIZONA_CLK_32K_SRC_MASK 0x0003 /* CLK_32K_SRC - [1:0] */
- #define ARIZONA_CLK_32K_SRC_SHIFT 0 /* CLK_32K_SRC - [1:0] */
- #define ARIZONA_CLK_32K_SRC_WIDTH 2 /* CLK_32K_SRC - [1:0] */
- /*
- * R257 (0x101) - System Clock 1
- */
- #define ARIZONA_SYSCLK_FRAC 0x8000 /* SYSCLK_FRAC */
- #define ARIZONA_SYSCLK_FRAC_MASK 0x8000 /* SYSCLK_FRAC */
- #define ARIZONA_SYSCLK_FRAC_SHIFT 15 /* SYSCLK_FRAC */
- #define ARIZONA_SYSCLK_FRAC_WIDTH 1 /* SYSCLK_FRAC */
- #define ARIZONA_SYSCLK_FREQ_MASK 0x0700 /* SYSCLK_FREQ - [10:8] */
- #define ARIZONA_SYSCLK_FREQ_SHIFT 8 /* SYSCLK_FREQ - [10:8] */
- #define ARIZONA_SYSCLK_FREQ_WIDTH 3 /* SYSCLK_FREQ - [10:8] */
- #define ARIZONA_SYSCLK_ENA 0x0040 /* SYSCLK_ENA */
- #define ARIZONA_SYSCLK_ENA_MASK 0x0040 /* SYSCLK_ENA */
- #define ARIZONA_SYSCLK_ENA_SHIFT 6 /* SYSCLK_ENA */
- #define ARIZONA_SYSCLK_ENA_WIDTH 1 /* SYSCLK_ENA */
- #define ARIZONA_SYSCLK_SRC_MASK 0x000F /* SYSCLK_SRC - [3:0] */
- #define ARIZONA_SYSCLK_SRC_SHIFT 0 /* SYSCLK_SRC - [3:0] */
- #define ARIZONA_SYSCLK_SRC_WIDTH 4 /* SYSCLK_SRC - [3:0] */
- /*
- * R258 (0x102) - Sample rate 1
- */
- #define ARIZONA_SAMPLE_RATE_1_MASK 0x001F /* SAMPLE_RATE_1 - [4:0] */
- #define ARIZONA_SAMPLE_RATE_1_SHIFT 0 /* SAMPLE_RATE_1 - [4:0] */
- #define ARIZONA_SAMPLE_RATE_1_WIDTH 5 /* SAMPLE_RATE_1 - [4:0] */
- /*
- * R259 (0x103) - Sample rate 2
- */
- #define ARIZONA_SAMPLE_RATE_2_MASK 0x001F /* SAMPLE_RATE_2 - [4:0] */
- #define ARIZONA_SAMPLE_RATE_2_SHIFT 0 /* SAMPLE_RATE_2 - [4:0] */
- #define ARIZONA_SAMPLE_RATE_2_WIDTH 5 /* SAMPLE_RATE_2 - [4:0] */
- /*
- * R260 (0x104) - Sample rate 3
- */
- #define ARIZONA_SAMPLE_RATE_3_MASK 0x001F /* SAMPLE_RATE_3 - [4:0] */
- #define ARIZONA_SAMPLE_RATE_3_SHIFT 0 /* SAMPLE_RATE_3 - [4:0] */
- #define ARIZONA_SAMPLE_RATE_3_WIDTH 5 /* SAMPLE_RATE_3 - [4:0] */
- /*
- * R266 (0x10A) - Sample rate 1 status
- */
- #define ARIZONA_SAMPLE_RATE_1_STS_MASK 0x001F /* SAMPLE_RATE_1_STS - [4:0] */
- #define ARIZONA_SAMPLE_RATE_1_STS_SHIFT 0 /* SAMPLE_RATE_1_STS - [4:0] */
- #define ARIZONA_SAMPLE_RATE_1_STS_WIDTH 5 /* SAMPLE_RATE_1_STS - [4:0] */
- /*
- * R267 (0x10B) - Sample rate 2 status
- */
- #define ARIZONA_SAMPLE_RATE_2_STS_MASK 0x001F /* SAMPLE_RATE_2_STS - [4:0] */
- #define ARIZONA_SAMPLE_RATE_2_STS_SHIFT 0 /* SAMPLE_RATE_2_STS - [4:0] */
- #define ARIZONA_SAMPLE_RATE_2_STS_WIDTH 5 /* SAMPLE_RATE_2_STS - [4:0] */
- /*
- * R268 (0x10C) - Sample rate 3 status
- */
- #define ARIZONA_SAMPLE_RATE_3_STS_MASK 0x001F /* SAMPLE_RATE_3_STS - [4:0] */
- #define ARIZONA_SAMPLE_RATE_3_STS_SHIFT 0 /* SAMPLE_RATE_3_STS - [4:0] */
- #define ARIZONA_SAMPLE_RATE_3_STS_WIDTH 5 /* SAMPLE_RATE_3_STS - [4:0] */
- /*
- * R274 (0x112) - Async clock 1
- */
- #define ARIZONA_ASYNC_CLK_FREQ_MASK 0x0700 /* ASYNC_CLK_FREQ - [10:8] */
- #define ARIZONA_ASYNC_CLK_FREQ_SHIFT 8 /* ASYNC_CLK_FREQ - [10:8] */
- #define ARIZONA_ASYNC_CLK_FREQ_WIDTH 3 /* ASYNC_CLK_FREQ - [10:8] */
- #define ARIZONA_ASYNC_CLK_ENA 0x0040 /* ASYNC_CLK_ENA */
- #define ARIZONA_ASYNC_CLK_ENA_MASK 0x0040 /* ASYNC_CLK_ENA */
- #define ARIZONA_ASYNC_CLK_ENA_SHIFT 6 /* ASYNC_CLK_ENA */
- #define ARIZONA_ASYNC_CLK_ENA_WIDTH 1 /* ASYNC_CLK_ENA */
- #define ARIZONA_ASYNC_CLK_SRC_MASK 0x000F /* ASYNC_CLK_SRC - [3:0] */
- #define ARIZONA_ASYNC_CLK_SRC_SHIFT 0 /* ASYNC_CLK_SRC - [3:0] */
- #define ARIZONA_ASYNC_CLK_SRC_WIDTH 4 /* ASYNC_CLK_SRC - [3:0] */
- /*
- * R275 (0x113) - Async sample rate 1
- */
- #define ARIZONA_ASYNC_SAMPLE_RATE_1_MASK 0x001F /* ASYNC_SAMPLE_RATE_1 - [4:0] */
- #define ARIZONA_ASYNC_SAMPLE_RATE_1_SHIFT 0 /* ASYNC_SAMPLE_RATE_1 - [4:0] */
- #define ARIZONA_ASYNC_SAMPLE_RATE_1_WIDTH 5 /* ASYNC_SAMPLE_RATE_1 - [4:0] */
- /*
- * R276 (0x114) - Async sample rate 2
- */
- #define ARIZONA_ASYNC_SAMPLE_RATE_2_MASK 0x001F /* ASYNC_SAMPLE_RATE_2 - [4:0] */
- #define ARIZONA_ASYNC_SAMPLE_RATE_2_SHIFT 0 /* ASYNC_SAMPLE_RATE_2 - [4:0] */
- #define ARIZONA_ASYNC_SAMPLE_RATE_2_WIDTH 5 /* ASYNC_SAMPLE_RATE_2 - [4:0] */
- /*
- * R283 (0x11B) - Async sample rate 1 status
- */
- #define ARIZONA_ASYNC_SAMPLE_RATE_1_STS_MASK 0x001F /* ASYNC_SAMPLE_RATE_1_STS - [4:0] */
- #define ARIZONA_ASYNC_SAMPLE_RATE_1_STS_SHIFT 0 /* ASYNC_SAMPLE_RATE_1_STS - [4:0] */
- #define ARIZONA_ASYNC_SAMPLE_RATE_1_STS_WIDTH 5 /* ASYNC_SAMPLE_RATE_1_STS - [4:0] */
- /*
- * R284 (0x11C) - Async sample rate 2 status
- */
- #define ARIZONA_ASYNC_SAMPLE_RATE_2_STS_MASK 0x001F /* ASYNC_SAMPLE_RATE_2_STS - [4:0] */
- #define ARIZONA_ASYNC_SAMPLE_RATE_2_STS_SHIFT 0 /* ASYNC_SAMPLE_RATE_2_STS - [4:0] */
- #define ARIZONA_ASYNC_SAMPLE_RATE_2_STS_WIDTH 5 /* ASYNC_SAMPLE_RATE_2_STS - [4:0] */
- /*
- * R329 (0x149) - Output system clock
- */
- #define ARIZONA_OPCLK_ENA 0x8000 /* OPCLK_ENA */
- #define ARIZONA_OPCLK_ENA_MASK 0x8000 /* OPCLK_ENA */
- #define ARIZONA_OPCLK_ENA_SHIFT 15 /* OPCLK_ENA */
- #define ARIZONA_OPCLK_ENA_WIDTH 1 /* OPCLK_ENA */
- #define ARIZONA_OPCLK_DIV_MASK 0x00F8 /* OPCLK_DIV - [7:3] */
- #define ARIZONA_OPCLK_DIV_SHIFT 3 /* OPCLK_DIV - [7:3] */
- #define ARIZONA_OPCLK_DIV_WIDTH 5 /* OPCLK_DIV - [7:3] */
- #define ARIZONA_OPCLK_SEL_MASK 0x0007 /* OPCLK_SEL - [2:0] */
- #define ARIZONA_OPCLK_SEL_SHIFT 0 /* OPCLK_SEL - [2:0] */
- #define ARIZONA_OPCLK_SEL_WIDTH 3 /* OPCLK_SEL - [2:0] */
- /*
- * R330 (0x14A) - Output async clock
- */
- #define ARIZONA_OPCLK_ASYNC_ENA 0x8000 /* OPCLK_ASYNC_ENA */
- #define ARIZONA_OPCLK_ASYNC_ENA_MASK 0x8000 /* OPCLK_ASYNC_ENA */
- #define ARIZONA_OPCLK_ASYNC_ENA_SHIFT 15 /* OPCLK_ASYNC_ENA */
- #define ARIZONA_OPCLK_ASYNC_ENA_WIDTH 1 /* OPCLK_ASYNC_ENA */
- #define ARIZONA_OPCLK_ASYNC_DIV_MASK 0x00F8 /* OPCLK_ASYNC_DIV - [7:3] */
- #define ARIZONA_OPCLK_ASYNC_DIV_SHIFT 3 /* OPCLK_ASYNC_DIV - [7:3] */
- #define ARIZONA_OPCLK_ASYNC_DIV_WIDTH 5 /* OPCLK_ASYNC_DIV - [7:3] */
- #define ARIZONA_OPCLK_ASYNC_SEL_MASK 0x0007 /* OPCLK_ASYNC_SEL - [2:0] */
- #define ARIZONA_OPCLK_ASYNC_SEL_SHIFT 0 /* OPCLK_ASYNC_SEL - [2:0] */
- #define ARIZONA_OPCLK_ASYNC_SEL_WIDTH 3 /* OPCLK_ASYNC_SEL - [2:0] */
- /*
- * R338 (0x152) - Rate Estimator 1
- */
- #define ARIZONA_TRIG_ON_STARTUP 0x0010 /* TRIG_ON_STARTUP */
- #define ARIZONA_TRIG_ON_STARTUP_MASK 0x0010 /* TRIG_ON_STARTUP */
- #define ARIZONA_TRIG_ON_STARTUP_SHIFT 4 /* TRIG_ON_STARTUP */
- #define ARIZONA_TRIG_ON_STARTUP_WIDTH 1 /* TRIG_ON_STARTUP */
- #define ARIZONA_LRCLK_SRC_MASK 0x000E /* LRCLK_SRC - [3:1] */
- #define ARIZONA_LRCLK_SRC_SHIFT 1 /* LRCLK_SRC - [3:1] */
- #define ARIZONA_LRCLK_SRC_WIDTH 3 /* LRCLK_SRC - [3:1] */
- #define ARIZONA_RATE_EST_ENA 0x0001 /* RATE_EST_ENA */
- #define ARIZONA_RATE_EST_ENA_MASK 0x0001 /* RATE_EST_ENA */
- #define ARIZONA_RATE_EST_ENA_SHIFT 0 /* RATE_EST_ENA */
- #define ARIZONA_RATE_EST_ENA_WIDTH 1 /* RATE_EST_ENA */
- /*
- * R339 (0x153) - Rate Estimator 2
- */
- #define ARIZONA_SAMPLE_RATE_DETECT_A_MASK 0x001F /* SAMPLE_RATE_DETECT_A - [4:0] */
- #define ARIZONA_SAMPLE_RATE_DETECT_A_SHIFT 0 /* SAMPLE_RATE_DETECT_A - [4:0] */
- #define ARIZONA_SAMPLE_RATE_DETECT_A_WIDTH 5 /* SAMPLE_RATE_DETECT_A - [4:0] */
- /*
- * R340 (0x154) - Rate Estimator 3
- */
- #define ARIZONA_SAMPLE_RATE_DETECT_B_MASK 0x001F /* SAMPLE_RATE_DETECT_B - [4:0] */
- #define ARIZONA_SAMPLE_RATE_DETECT_B_SHIFT 0 /* SAMPLE_RATE_DETECT_B - [4:0] */
- #define ARIZONA_SAMPLE_RATE_DETECT_B_WIDTH 5 /* SAMPLE_RATE_DETECT_B - [4:0] */
- /*
- * R341 (0x155) - Rate Estimator 4
- */
- #define ARIZONA_SAMPLE_RATE_DETECT_C_MASK 0x001F /* SAMPLE_RATE_DETECT_C - [4:0] */
- #define ARIZONA_SAMPLE_RATE_DETECT_C_SHIFT 0 /* SAMPLE_RATE_DETECT_C - [4:0] */
- #define ARIZONA_SAMPLE_RATE_DETECT_C_WIDTH 5 /* SAMPLE_RATE_DETECT_C - [4:0] */
- /*
- * R342 (0x156) - Rate Estimator 5
- */
- #define ARIZONA_SAMPLE_RATE_DETECT_D_MASK 0x001F /* SAMPLE_RATE_DETECT_D - [4:0] */
- #define ARIZONA_SAMPLE_RATE_DETECT_D_SHIFT 0 /* SAMPLE_RATE_DETECT_D - [4:0] */
- #define ARIZONA_SAMPLE_RATE_DETECT_D_WIDTH 5 /* SAMPLE_RATE_DETECT_D - [4:0] */
- /*
- * R353 (0x161) - Dynamic Frequency Scaling 1
- */
- #define ARIZONA_SUBSYS_MAX_FREQ 0x0001 /* SUBSYS_MAX_FREQ */
- #define ARIZONA_SUBSYS_MAX_FREQ_SHIFT 0 /* SUBSYS_MAX_FREQ */
- #define ARIZONA_SUBSYS_MAX_FREQ_WIDTH 1 /* SUBSYS_MAX_FREQ */
- /*
- * R369 (0x171) - FLL1 Control 1
- */
- #define ARIZONA_FLL1_FREERUN 0x0002 /* FLL1_FREERUN */
- #define ARIZONA_FLL1_FREERUN_MASK 0x0002 /* FLL1_FREERUN */
- #define ARIZONA_FLL1_FREERUN_SHIFT 1 /* FLL1_FREERUN */
- #define ARIZONA_FLL1_FREERUN_WIDTH 1 /* FLL1_FREERUN */
- #define ARIZONA_FLL1_ENA 0x0001 /* FLL1_ENA */
- #define ARIZONA_FLL1_ENA_MASK 0x0001 /* FLL1_ENA */
- #define ARIZONA_FLL1_ENA_SHIFT 0 /* FLL1_ENA */
- #define ARIZONA_FLL1_ENA_WIDTH 1 /* FLL1_ENA */
- /*
- * R370 (0x172) - FLL1 Control 2
- */
- #define ARIZONA_FLL1_CTRL_UPD 0x8000 /* FLL1_CTRL_UPD */
- #define ARIZONA_FLL1_CTRL_UPD_MASK 0x8000 /* FLL1_CTRL_UPD */
- #define ARIZONA_FLL1_CTRL_UPD_SHIFT 15 /* FLL1_CTRL_UPD */
- #define ARIZONA_FLL1_CTRL_UPD_WIDTH 1 /* FLL1_CTRL_UPD */
- #define ARIZONA_FLL1_N_MASK 0x03FF /* FLL1_N - [9:0] */
- #define ARIZONA_FLL1_N_SHIFT 0 /* FLL1_N - [9:0] */
- #define ARIZONA_FLL1_N_WIDTH 10 /* FLL1_N - [9:0] */
- /*
- * R371 (0x173) - FLL1 Control 3
- */
- #define ARIZONA_FLL1_THETA_MASK 0xFFFF /* FLL1_THETA - [15:0] */
- #define ARIZONA_FLL1_THETA_SHIFT 0 /* FLL1_THETA - [15:0] */
- #define ARIZONA_FLL1_THETA_WIDTH 16 /* FLL1_THETA - [15:0] */
- /*
- * R372 (0x174) - FLL1 Control 4
- */
- #define ARIZONA_FLL1_LAMBDA_MASK 0xFFFF /* FLL1_LAMBDA - [15:0] */
- #define ARIZONA_FLL1_LAMBDA_SHIFT 0 /* FLL1_LAMBDA - [15:0] */
- #define ARIZONA_FLL1_LAMBDA_WIDTH 16 /* FLL1_LAMBDA - [15:0] */
- /*
- * R373 (0x175) - FLL1 Control 5
- */
- #define ARIZONA_FLL1_FRATIO_MASK 0x0F00 /* FLL1_FRATIO - [11:8] */
- #define ARIZONA_FLL1_FRATIO_SHIFT 8 /* FLL1_FRATIO - [11:8] */
- #define ARIZONA_FLL1_FRATIO_WIDTH 4 /* FLL1_FRATIO - [11:8] */
- #define ARIZONA_FLL1_OUTDIV_MASK 0x000E /* FLL1_OUTDIV - [3:1] */
- #define ARIZONA_FLL1_OUTDIV_SHIFT 1 /* FLL1_OUTDIV - [3:1] */
- #define ARIZONA_FLL1_OUTDIV_WIDTH 3 /* FLL1_OUTDIV - [3:1] */
- /*
- * R374 (0x176) - FLL1 Control 6
- */
- #define ARIZONA_FLL1_CLK_REF_DIV_MASK 0x00C0 /* FLL1_CLK_REF_DIV - [7:6] */
- #define ARIZONA_FLL1_CLK_REF_DIV_SHIFT 6 /* FLL1_CLK_REF_DIV - [7:6] */
- #define ARIZONA_FLL1_CLK_REF_DIV_WIDTH 2 /* FLL1_CLK_REF_DIV - [7:6] */
- #define ARIZONA_FLL1_CLK_REF_SRC_MASK 0x000F /* FLL1_CLK_REF_SRC - [3:0] */
- #define ARIZONA_FLL1_CLK_REF_SRC_SHIFT 0 /* FLL1_CLK_REF_SRC - [3:0] */
- #define ARIZONA_FLL1_CLK_REF_SRC_WIDTH 4 /* FLL1_CLK_REF_SRC - [3:0] */
- /*
- * R375 (0x177) - FLL1 Loop Filter Test 1
- */
- #define ARIZONA_FLL1_FRC_INTEG_UPD 0x8000 /* FLL1_FRC_INTEG_UPD */
- #define ARIZONA_FLL1_FRC_INTEG_UPD_MASK 0x8000 /* FLL1_FRC_INTEG_UPD */
- #define ARIZONA_FLL1_FRC_INTEG_UPD_SHIFT 15 /* FLL1_FRC_INTEG_UPD */
- #define ARIZONA_FLL1_FRC_INTEG_UPD_WIDTH 1 /* FLL1_FRC_INTEG_UPD */
- #define ARIZONA_FLL1_FRC_INTEG_VAL_MASK 0x0FFF /* FLL1_FRC_INTEG_VAL - [11:0] */
- #define ARIZONA_FLL1_FRC_INTEG_VAL_SHIFT 0 /* FLL1_FRC_INTEG_VAL - [11:0] */
- #define ARIZONA_FLL1_FRC_INTEG_VAL_WIDTH 12 /* FLL1_FRC_INTEG_VAL - [11:0] */
- /*
- * R377 (0x179) - FLL1 Control 7
- */
- #define ARIZONA_FLL1_GAIN_MASK 0x003c /* FLL1_GAIN */
- #define ARIZONA_FLL1_GAIN_SHIFT 2 /* FLL1_GAIN */
- #define ARIZONA_FLL1_GAIN_WIDTH 4 /* FLL1_GAIN */
- /*
- * R385 (0x181) - FLL1 Synchroniser 1
- */
- #define ARIZONA_FLL1_SYNC_ENA 0x0001 /* FLL1_SYNC_ENA */
- #define ARIZONA_FLL1_SYNC_ENA_MASK 0x0001 /* FLL1_SYNC_ENA */
- #define ARIZONA_FLL1_SYNC_ENA_SHIFT 0 /* FLL1_SYNC_ENA */
- #define ARIZONA_FLL1_SYNC_ENA_WIDTH 1 /* FLL1_SYNC_ENA */
- /*
- * R386 (0x182) - FLL1 Synchroniser 2
- */
- #define ARIZONA_FLL1_SYNC_N_MASK 0x03FF /* FLL1_SYNC_N - [9:0] */
- #define ARIZONA_FLL1_SYNC_N_SHIFT 0 /* FLL1_SYNC_N - [9:0] */
- #define ARIZONA_FLL1_SYNC_N_WIDTH 10 /* FLL1_SYNC_N - [9:0] */
- /*
- * R387 (0x183) - FLL1 Synchroniser 3
- */
- #define ARIZONA_FLL1_SYNC_THETA_MASK 0xFFFF /* FLL1_SYNC_THETA - [15:0] */
- #define ARIZONA_FLL1_SYNC_THETA_SHIFT 0 /* FLL1_SYNC_THETA - [15:0] */
- #define ARIZONA_FLL1_SYNC_THETA_WIDTH 16 /* FLL1_SYNC_THETA - [15:0] */
- /*
- * R388 (0x184) - FLL1 Synchroniser 4
- */
- #define ARIZONA_FLL1_SYNC_LAMBDA_MASK 0xFFFF /* FLL1_SYNC_LAMBDA - [15:0] */
- #define ARIZONA_FLL1_SYNC_LAMBDA_SHIFT 0 /* FLL1_SYNC_LAMBDA - [15:0] */
- #define ARIZONA_FLL1_SYNC_LAMBDA_WIDTH 16 /* FLL1_SYNC_LAMBDA - [15:0] */
- /*
- * R389 (0x185) - FLL1 Synchroniser 5
- */
- #define ARIZONA_FLL1_SYNC_FRATIO_MASK 0x0700 /* FLL1_SYNC_FRATIO - [10:8] */
- #define ARIZONA_FLL1_SYNC_FRATIO_SHIFT 8 /* FLL1_SYNC_FRATIO - [10:8] */
- #define ARIZONA_FLL1_SYNC_FRATIO_WIDTH 3 /* FLL1_SYNC_FRATIO - [10:8] */
- /*
- * R390 (0x186) - FLL1 Synchroniser 6
- */
- #define ARIZONA_FLL1_CLK_SYNC_DIV_MASK 0x00C0 /* FLL1_CLK_SYNC_DIV - [7:6] */
- #define ARIZONA_FLL1_CLK_SYNC_DIV_SHIFT 6 /* FLL1_CLK_SYNC_DIV - [7:6] */
- #define ARIZONA_FLL1_CLK_SYNC_DIV_WIDTH 2 /* FLL1_CLK_SYNC_DIV - [7:6] */
- #define ARIZONA_FLL1_CLK_SYNC_SRC_MASK 0x000F /* FLL1_CLK_SYNC_SRC - [3:0] */
- #define ARIZONA_FLL1_CLK_SYNC_SRC_SHIFT 0 /* FLL1_CLK_SYNC_SRC - [3:0] */
- #define ARIZONA_FLL1_CLK_SYNC_SRC_WIDTH 4 /* FLL1_CLK_SYNC_SRC - [3:0] */
- /*
- * R391 (0x187) - FLL1 Synchroniser 7
- */
- #define ARIZONA_FLL1_SYNC_GAIN_MASK 0x003c /* FLL1_SYNC_GAIN */
- #define ARIZONA_FLL1_SYNC_GAIN_SHIFT 2 /* FLL1_SYNC_GAIN */
- #define ARIZONA_FLL1_SYNC_GAIN_WIDTH 4 /* FLL1_SYNC_GAIN */
- #define ARIZONA_FLL1_SYNC_BW 0x0001 /* FLL1_SYNC_BW */
- #define ARIZONA_FLL1_SYNC_BW_MASK 0x0001 /* FLL1_SYNC_BW */
- #define ARIZONA_FLL1_SYNC_BW_SHIFT 0 /* FLL1_SYNC_BW */
- #define ARIZONA_FLL1_SYNC_BW_WIDTH 1 /* FLL1_SYNC_BW */
- /*
- * R393 (0x189) - FLL1 Spread Spectrum
- */
- #define ARIZONA_FLL1_SS_AMPL_MASK 0x0030 /* FLL1_SS_AMPL - [5:4] */
- #define ARIZONA_FLL1_SS_AMPL_SHIFT 4 /* FLL1_SS_AMPL - [5:4] */
- #define ARIZONA_FLL1_SS_AMPL_WIDTH 2 /* FLL1_SS_AMPL - [5:4] */
- #define ARIZONA_FLL1_SS_FREQ_MASK 0x000C /* FLL1_SS_FREQ - [3:2] */
- #define ARIZONA_FLL1_SS_FREQ_SHIFT 2 /* FLL1_SS_FREQ - [3:2] */
- #define ARIZONA_FLL1_SS_FREQ_WIDTH 2 /* FLL1_SS_FREQ - [3:2] */
- #define ARIZONA_FLL1_SS_SEL_MASK 0x0003 /* FLL1_SS_SEL - [1:0] */
- #define ARIZONA_FLL1_SS_SEL_SHIFT 0 /* FLL1_SS_SEL - [1:0] */
- #define ARIZONA_FLL1_SS_SEL_WIDTH 2 /* FLL1_SS_SEL - [1:0] */
- /*
- * R394 (0x18A) - FLL1 GPIO Clock
- */
- #define ARIZONA_FLL1_GPDIV_MASK 0x00FE /* FLL1_GPDIV - [7:1] */
- #define ARIZONA_FLL1_GPDIV_SHIFT 1 /* FLL1_GPDIV - [7:1] */
- #define ARIZONA_FLL1_GPDIV_WIDTH 7 /* FLL1_GPDIV - [7:1] */
- #define ARIZONA_FLL1_GPDIV_ENA 0x0001 /* FLL1_GPDIV_ENA */
- #define ARIZONA_FLL1_GPDIV_ENA_MASK 0x0001 /* FLL1_GPDIV_ENA */
- #define ARIZONA_FLL1_GPDIV_ENA_SHIFT 0 /* FLL1_GPDIV_ENA */
- #define ARIZONA_FLL1_GPDIV_ENA_WIDTH 1 /* FLL1_GPDIV_ENA */
- /*
- * R401 (0x191) - FLL2 Control 1
- */
- #define ARIZONA_FLL2_FREERUN 0x0002 /* FLL2_FREERUN */
- #define ARIZONA_FLL2_FREERUN_MASK 0x0002 /* FLL2_FREERUN */
- #define ARIZONA_FLL2_FREERUN_SHIFT 1 /* FLL2_FREERUN */
- #define ARIZONA_FLL2_FREERUN_WIDTH 1 /* FLL2_FREERUN */
- #define ARIZONA_FLL2_ENA 0x0001 /* FLL2_ENA */
- #define ARIZONA_FLL2_ENA_MASK 0x0001 /* FLL2_ENA */
- #define ARIZONA_FLL2_ENA_SHIFT 0 /* FLL2_ENA */
- #define ARIZONA_FLL2_ENA_WIDTH 1 /* FLL2_ENA */
- /*
- * R402 (0x192) - FLL2 Control 2
- */
- #define ARIZONA_FLL2_CTRL_UPD 0x8000 /* FLL2_CTRL_UPD */
- #define ARIZONA_FLL2_CTRL_UPD_MASK 0x8000 /* FLL2_CTRL_UPD */
- #define ARIZONA_FLL2_CTRL_UPD_SHIFT 15 /* FLL2_CTRL_UPD */
- #define ARIZONA_FLL2_CTRL_UPD_WIDTH 1 /* FLL2_CTRL_UPD */
- #define ARIZONA_FLL2_N_MASK 0x03FF /* FLL2_N - [9:0] */
- #define ARIZONA_FLL2_N_SHIFT 0 /* FLL2_N - [9:0] */
- #define ARIZONA_FLL2_N_WIDTH 10 /* FLL2_N - [9:0] */
- /*
- * R403 (0x193) - FLL2 Control 3
- */
- #define ARIZONA_FLL2_THETA_MASK 0xFFFF /* FLL2_THETA - [15:0] */
- #define ARIZONA_FLL2_THETA_SHIFT 0 /* FLL2_THETA - [15:0] */
- #define ARIZONA_FLL2_THETA_WIDTH 16 /* FLL2_THETA - [15:0] */
- /*
- * R404 (0x194) - FLL2 Control 4
- */
- #define ARIZONA_FLL2_LAMBDA_MASK 0xFFFF /* FLL2_LAMBDA - [15:0] */
- #define ARIZONA_FLL2_LAMBDA_SHIFT 0 /* FLL2_LAMBDA - [15:0] */
- #define ARIZONA_FLL2_LAMBDA_WIDTH 16 /* FLL2_LAMBDA - [15:0] */
- /*
- * R405 (0x195) - FLL2 Control 5
- */
- #define ARIZONA_FLL2_FRATIO_MASK 0x0700 /* FLL2_FRATIO - [10:8] */
- #define ARIZONA_FLL2_FRATIO_SHIFT 8 /* FLL2_FRATIO - [10:8] */
- #define ARIZONA_FLL2_FRATIO_WIDTH 3 /* FLL2_FRATIO - [10:8] */
- #define ARIZONA_FLL2_OUTDIV_MASK 0x000E /* FLL2_OUTDIV - [3:1] */
- #define ARIZONA_FLL2_OUTDIV_SHIFT 1 /* FLL2_OUTDIV - [3:1] */
- #define ARIZONA_FLL2_OUTDIV_WIDTH 3 /* FLL2_OUTDIV - [3:1] */
- /*
- * R406 (0x196) - FLL2 Control 6
- */
- #define ARIZONA_FLL2_CLK_REF_DIV_MASK 0x00C0 /* FLL2_CLK_REF_DIV - [7:6] */
- #define ARIZONA_FLL2_CLK_REF_DIV_SHIFT 6 /* FLL2_CLK_REF_DIV - [7:6] */
- #define ARIZONA_FLL2_CLK_REF_DIV_WIDTH 2 /* FLL2_CLK_REF_DIV - [7:6] */
- #define ARIZONA_FLL2_CLK_REF_SRC_MASK 0x000F /* FLL2_CLK_REF_SRC - [3:0] */
- #define ARIZONA_FLL2_CLK_REF_SRC_SHIFT 0 /* FLL2_CLK_REF_SRC - [3:0] */
- #define ARIZONA_FLL2_CLK_REF_SRC_WIDTH 4 /* FLL2_CLK_REF_SRC - [3:0] */
- /*
- * R407 (0x197) - FLL2 Loop Filter Test 1
- */
- #define ARIZONA_FLL2_FRC_INTEG_UPD 0x8000 /* FLL2_FRC_INTEG_UPD */
- #define ARIZONA_FLL2_FRC_INTEG_UPD_MASK 0x8000 /* FLL2_FRC_INTEG_UPD */
- #define ARIZONA_FLL2_FRC_INTEG_UPD_SHIFT 15 /* FLL2_FRC_INTEG_UPD */
- #define ARIZONA_FLL2_FRC_INTEG_UPD_WIDTH 1 /* FLL2_FRC_INTEG_UPD */
- #define ARIZONA_FLL2_FRC_INTEG_VAL_MASK 0x0FFF /* FLL2_FRC_INTEG_VAL - [11:0] */
- #define ARIZONA_FLL2_FRC_INTEG_VAL_SHIFT 0 /* FLL2_FRC_INTEG_VAL - [11:0] */
- #define ARIZONA_FLL2_FRC_INTEG_VAL_WIDTH 12 /* FLL2_FRC_INTEG_VAL - [11:0] */
- /*
- * R409 (0x199) - FLL2 Control 7
- */
- #define ARIZONA_FLL2_GAIN_MASK 0x003c /* FLL2_GAIN */
- #define ARIZONA_FLL2_GAIN_SHIFT 2 /* FLL2_GAIN */
- #define ARIZONA_FLL2_GAIN_WIDTH 4 /* FLL2_GAIN */
- /*
- * R417 (0x1A1) - FLL2 Synchroniser 1
- */
- #define ARIZONA_FLL2_SYNC_ENA 0x0001 /* FLL2_SYNC_ENA */
- #define ARIZONA_FLL2_SYNC_ENA_MASK 0x0001 /* FLL2_SYNC_ENA */
- #define ARIZONA_FLL2_SYNC_ENA_SHIFT 0 /* FLL2_SYNC_ENA */
- #define ARIZONA_FLL2_SYNC_ENA_WIDTH 1 /* FLL2_SYNC_ENA */
- /*
- * R418 (0x1A2) - FLL2 Synchroniser 2
- */
- #define ARIZONA_FLL2_SYNC_N_MASK 0x03FF /* FLL2_SYNC_N - [9:0] */
- #define ARIZONA_FLL2_SYNC_N_SHIFT 0 /* FLL2_SYNC_N - [9:0] */
- #define ARIZONA_FLL2_SYNC_N_WIDTH 10 /* FLL2_SYNC_N - [9:0] */
- /*
- * R419 (0x1A3) - FLL2 Synchroniser 3
- */
- #define ARIZONA_FLL2_SYNC_THETA_MASK 0xFFFF /* FLL2_SYNC_THETA - [15:0] */
- #define ARIZONA_FLL2_SYNC_THETA_SHIFT 0 /* FLL2_SYNC_THETA - [15:0] */
- #define ARIZONA_FLL2_SYNC_THETA_WIDTH 16 /* FLL2_SYNC_THETA - [15:0] */
- /*
- * R420 (0x1A4) - FLL2 Synchroniser 4
- */
- #define ARIZONA_FLL2_SYNC_LAMBDA_MASK 0xFFFF /* FLL2_SYNC_LAMBDA - [15:0] */
- #define ARIZONA_FLL2_SYNC_LAMBDA_SHIFT 0 /* FLL2_SYNC_LAMBDA - [15:0] */
- #define ARIZONA_FLL2_SYNC_LAMBDA_WIDTH 16 /* FLL2_SYNC_LAMBDA - [15:0] */
- /*
- * R421 (0x1A5) - FLL2 Synchroniser 5
- */
- #define ARIZONA_FLL2_SYNC_FRATIO_MASK 0x0700 /* FLL2_SYNC_FRATIO - [10:8] */
- #define ARIZONA_FLL2_SYNC_FRATIO_SHIFT 8 /* FLL2_SYNC_FRATIO - [10:8] */
- #define ARIZONA_FLL2_SYNC_FRATIO_WIDTH 3 /* FLL2_SYNC_FRATIO - [10:8] */
- /*
- * R422 (0x1A6) - FLL2 Synchroniser 6
- */
- #define ARIZONA_FLL2_CLK_SYNC_DIV_MASK 0x00C0 /* FLL2_CLK_SYNC_DIV - [7:6] */
- #define ARIZONA_FLL2_CLK_SYNC_DIV_SHIFT 6 /* FLL2_CLK_SYNC_DIV - [7:6] */
- #define ARIZONA_FLL2_CLK_SYNC_DIV_WIDTH 2 /* FLL2_CLK_SYNC_DIV - [7:6] */
- #define ARIZONA_FLL2_CLK_SYNC_SRC_MASK 0x000F /* FLL2_CLK_SYNC_SRC - [3:0] */
- #define ARIZONA_FLL2_CLK_SYNC_SRC_SHIFT 0 /* FLL2_CLK_SYNC_SRC - [3:0] */
- #define ARIZONA_FLL2_CLK_SYNC_SRC_WIDTH 4 /* FLL2_CLK_SYNC_SRC - [3:0] */
- /*
- * R423 (0x1A7) - FLL2 Synchroniser 7
- */
- #define ARIZONA_FLL2_SYNC_GAIN_MASK 0x003c /* FLL2_SYNC_GAIN */
- #define ARIZONA_FLL2_SYNC_GAIN_SHIFT 2 /* FLL2_SYNC_GAIN */
- #define ARIZONA_FLL2_SYNC_GAIN_WIDTH 4 /* FLL2_SYNC_GAIN */
- #define ARIZONA_FLL2_SYNC_BW 0x0001 /* FLL2_SYNC_BW */
- #define ARIZONA_FLL2_SYNC_BW_MASK 0x0001 /* FLL2_SYNC_BW */
- #define ARIZONA_FLL2_SYNC_BW_SHIFT 0 /* FLL2_SYNC_BW */
- #define ARIZONA_FLL2_SYNC_BW_WIDTH 1 /* FLL2_SYNC_BW */
- /*
- * R425 (0x1A9) - FLL2 Spread Spectrum
- */
- #define ARIZONA_FLL2_SS_AMPL_MASK 0x0030 /* FLL2_SS_AMPL - [5:4] */
- #define ARIZONA_FLL2_SS_AMPL_SHIFT 4 /* FLL2_SS_AMPL - [5:4] */
- #define ARIZONA_FLL2_SS_AMPL_WIDTH 2 /* FLL2_SS_AMPL - [5:4] */
- #define ARIZONA_FLL2_SS_FREQ_MASK 0x000C /* FLL2_SS_FREQ - [3:2] */
- #define ARIZONA_FLL2_SS_FREQ_SHIFT 2 /* FLL2_SS_FREQ - [3:2] */
- #define ARIZONA_FLL2_SS_FREQ_WIDTH 2 /* FLL2_SS_FREQ - [3:2] */
- #define ARIZONA_FLL2_SS_SEL_MASK 0x0003 /* FLL2_SS_SEL - [1:0] */
- #define ARIZONA_FLL2_SS_SEL_SHIFT 0 /* FLL2_SS_SEL - [1:0] */
- #define ARIZONA_FLL2_SS_SEL_WIDTH 2 /* FLL2_SS_SEL - [1:0] */
- /*
- * R426 (0x1AA) - FLL2 GPIO Clock
- */
- #define ARIZONA_FLL2_GPDIV_MASK 0x00FE /* FLL2_GPDIV - [7:1] */
- #define ARIZONA_FLL2_GPDIV_SHIFT 1 /* FLL2_GPDIV - [7:1] */
- #define ARIZONA_FLL2_GPDIV_WIDTH 7 /* FLL2_GPDIV - [7:1] */
- #define ARIZONA_FLL2_GPDIV_ENA 0x0001 /* FLL2_GPDIV_ENA */
- #define ARIZONA_FLL2_GPDIV_ENA_MASK 0x0001 /* FLL2_GPDIV_ENA */
- #define ARIZONA_FLL2_GPDIV_ENA_SHIFT 0 /* FLL2_GPDIV_ENA */
- #define ARIZONA_FLL2_GPDIV_ENA_WIDTH 1 /* FLL2_GPDIV_ENA */
- /*
- * R512 (0x200) - Mic Charge Pump 1
- */
- #define ARIZONA_CPMIC_DISCH 0x0004 /* CPMIC_DISCH */
- #define ARIZONA_CPMIC_DISCH_MASK 0x0004 /* CPMIC_DISCH */
- #define ARIZONA_CPMIC_DISCH_SHIFT 2 /* CPMIC_DISCH */
- #define ARIZONA_CPMIC_DISCH_WIDTH 1 /* CPMIC_DISCH */
- #define ARIZONA_CPMIC_BYPASS 0x0002 /* CPMIC_BYPASS */
- #define ARIZONA_CPMIC_BYPASS_MASK 0x0002 /* CPMIC_BYPASS */
- #define ARIZONA_CPMIC_BYPASS_SHIFT 1 /* CPMIC_BYPASS */
- #define ARIZONA_CPMIC_BYPASS_WIDTH 1 /* CPMIC_BYPASS */
- #define ARIZONA_CPMIC_ENA 0x0001 /* CPMIC_ENA */
- #define ARIZONA_CPMIC_ENA_MASK 0x0001 /* CPMIC_ENA */
- #define ARIZONA_CPMIC_ENA_SHIFT 0 /* CPMIC_ENA */
- #define ARIZONA_CPMIC_ENA_WIDTH 1 /* CPMIC_ENA */
- /*
- * R528 (0x210) - LDO1 Control 1
- */
- #define ARIZONA_LDO1_VSEL_MASK 0x07E0 /* LDO1_VSEL - [10:5] */
- #define ARIZONA_LDO1_VSEL_SHIFT 5 /* LDO1_VSEL - [10:5] */
- #define ARIZONA_LDO1_VSEL_WIDTH 6 /* LDO1_VSEL - [10:5] */
- #define ARIZONA_LDO1_FAST 0x0010 /* LDO1_FAST */
- #define ARIZONA_LDO1_FAST_MASK 0x0010 /* LDO1_FAST */
- #define ARIZONA_LDO1_FAST_SHIFT 4 /* LDO1_FAST */
- #define ARIZONA_LDO1_FAST_WIDTH 1 /* LDO1_FAST */
- #define ARIZONA_LDO1_DISCH 0x0004 /* LDO1_DISCH */
- #define ARIZONA_LDO1_DISCH_MASK 0x0004 /* LDO1_DISCH */
- #define ARIZONA_LDO1_DISCH_SHIFT 2 /* LDO1_DISCH */
- #define ARIZONA_LDO1_DISCH_WIDTH 1 /* LDO1_DISCH */
- #define ARIZONA_LDO1_BYPASS 0x0002 /* LDO1_BYPASS */
- #define ARIZONA_LDO1_BYPASS_MASK 0x0002 /* LDO1_BYPASS */
- #define ARIZONA_LDO1_BYPASS_SHIFT 1 /* LDO1_BYPASS */
- #define ARIZONA_LDO1_BYPASS_WIDTH 1 /* LDO1_BYPASS */
- #define ARIZONA_LDO1_ENA 0x0001 /* LDO1_ENA */
- #define ARIZONA_LDO1_ENA_MASK 0x0001 /* LDO1_ENA */
- #define ARIZONA_LDO1_ENA_SHIFT 0 /* LDO1_ENA */
- #define ARIZONA_LDO1_ENA_WIDTH 1 /* LDO1_ENA */
- /*
- * R530 (0x212) - LDO1 Control 2
- */
- #define ARIZONA_LDO1_HI_PWR 0x0001 /* LDO1_HI_PWR */
- #define ARIZONA_LDO1_HI_PWR_SHIFT 0 /* LDO1_HI_PWR */
- #define ARIZONA_LDO1_HI_PWR_WIDTH 1 /* LDO1_HI_PWR */
- /*
- * R531 (0x213) - LDO2 Control 1
- */
- #define ARIZONA_LDO2_VSEL_MASK 0x07E0 /* LDO2_VSEL - [10:5] */
- #define ARIZONA_LDO2_VSEL_SHIFT 5 /* LDO2_VSEL - [10:5] */
- #define ARIZONA_LDO2_VSEL_WIDTH 6 /* LDO2_VSEL - [10:5] */
- #define ARIZONA_LDO2_FAST 0x0010 /* LDO2_FAST */
- #define ARIZONA_LDO2_FAST_MASK 0x0010 /* LDO2_FAST */
- #define ARIZONA_LDO2_FAST_SHIFT 4 /* LDO2_FAST */
- #define ARIZONA_LDO2_FAST_WIDTH 1 /* LDO2_FAST */
- #define ARIZONA_LDO2_DISCH 0x0004 /* LDO2_DISCH */
- #define ARIZONA_LDO2_DISCH_MASK 0x0004 /* LDO2_DISCH */
- #define ARIZONA_LDO2_DISCH_SHIFT 2 /* LDO2_DISCH */
- #define ARIZONA_LDO2_DISCH_WIDTH 1 /* LDO2_DISCH */
- #define ARIZONA_LDO2_BYPASS 0x0002 /* LDO2_BYPASS */
- #define ARIZONA_LDO2_BYPASS_MASK 0x0002 /* LDO2_BYPASS */
- #define ARIZONA_LDO2_BYPASS_SHIFT 1 /* LDO2_BYPASS */
- #define ARIZONA_LDO2_BYPASS_WIDTH 1 /* LDO2_BYPASS */
- #define ARIZONA_LDO2_ENA 0x0001 /* LDO2_ENA */
- #define ARIZONA_LDO2_ENA_MASK 0x0001 /* LDO2_ENA */
- #define ARIZONA_LDO2_ENA_SHIFT 0 /* LDO2_ENA */
- #define ARIZONA_LDO2_ENA_WIDTH 1 /* LDO2_ENA */
- /*
- * R536 (0x218) - Mic Bias Ctrl 1
- */
- #define ARIZONA_MICB1_EXT_CAP 0x8000 /* MICB1_EXT_CAP */
- #define ARIZONA_MICB1_EXT_CAP_MASK 0x8000 /* MICB1_EXT_CAP */
- #define ARIZONA_MICB1_EXT_CAP_SHIFT 15 /* MICB1_EXT_CAP */
- #define ARIZONA_MICB1_EXT_CAP_WIDTH 1 /* MICB1_EXT_CAP */
- #define ARIZONA_MICB1_LVL_MASK 0x01E0 /* MICB1_LVL - [8:5] */
- #define ARIZONA_MICB1_LVL_SHIFT 5 /* MICB1_LVL - [8:5] */
- #define ARIZONA_MICB1_LVL_WIDTH 4 /* MICB1_LVL - [8:5] */
- #define ARIZONA_MICB1_FAST 0x0010 /* MICB1_FAST */
- #define ARIZONA_MICB1_FAST_MASK 0x0010 /* MICB1_FAST */
- #define ARIZONA_MICB1_FAST_SHIFT 4 /* MICB1_FAST */
- #define ARIZONA_MICB1_FAST_WIDTH 1 /* MICB1_FAST */
- #define ARIZONA_MICB1_RATE 0x0008 /* MICB1_RATE */
- #define ARIZONA_MICB1_RATE_MASK 0x0008 /* MICB1_RATE */
- #define ARIZONA_MICB1_RATE_SHIFT 3 /* MICB1_RATE */
- #define ARIZONA_MICB1_RATE_WIDTH 1 /* MICB1_RATE */
- #define ARIZONA_MICB1_DISCH 0x0004 /* MICB1_DISCH */
- #define ARIZONA_MICB1_DISCH_MASK 0x0004 /* MICB1_DISCH */
- #define ARIZONA_MICB1_DISCH_SHIFT 2 /* MICB1_DISCH */
- #define ARIZONA_MICB1_DISCH_WIDTH 1 /* MICB1_DISCH */
- #define ARIZONA_MICB1_BYPASS 0x0002 /* MICB1_BYPASS */
- #define ARIZONA_MICB1_BYPASS_MASK 0x0002 /* MICB1_BYPASS */
- #define ARIZONA_MICB1_BYPASS_SHIFT 1 /* MICB1_BYPASS */
- #define ARIZONA_MICB1_BYPASS_WIDTH 1 /* MICB1_BYPASS */
- #define ARIZONA_MICB1_ENA 0x0001 /* MICB1_ENA */
- #define ARIZONA_MICB1_ENA_MASK 0x0001 /* MICB1_ENA */
- #define ARIZONA_MICB1_ENA_SHIFT 0 /* MICB1_ENA */
- #define ARIZONA_MICB1_ENA_WIDTH 1 /* MICB1_ENA */
- /*
- * R537 (0x219) - Mic Bias Ctrl 2
- */
- #define ARIZONA_MICB2_EXT_CAP 0x8000 /* MICB2_EXT_CAP */
- #define ARIZONA_MICB2_EXT_CAP_MASK 0x8000 /* MICB2_EXT_CAP */
- #define ARIZONA_MICB2_EXT_CAP_SHIFT 15 /* MICB2_EXT_CAP */
- #define ARIZONA_MICB2_EXT_CAP_WIDTH 1 /* MICB2_EXT_CAP */
- #define ARIZONA_MICB2_LVL_MASK 0x01E0 /* MICB2_LVL - [8:5] */
- #define ARIZONA_MICB2_LVL_SHIFT 5 /* MICB2_LVL - [8:5] */
- #define ARIZONA_MICB2_LVL_WIDTH 4 /* MICB2_LVL - [8:5] */
- #define ARIZONA_MICB2_FAST 0x0010 /* MICB2_FAST */
- #define ARIZONA_MICB2_FAST_MASK 0x0010 /* MICB2_FAST */
- #define ARIZONA_MICB2_FAST_SHIFT 4 /* MICB2_FAST */
- #define ARIZONA_MICB2_FAST_WIDTH 1 /* MICB2_FAST */
- #define ARIZONA_MICB2_RATE 0x0008 /* MICB2_RATE */
- #define ARIZONA_MICB2_RATE_MASK 0x0008 /* MICB2_RATE */
- #define ARIZONA_MICB2_RATE_SHIFT 3 /* MICB2_RATE */
- #define ARIZONA_MICB2_RATE_WIDTH 1 /* MICB2_RATE */
- #define ARIZONA_MICB2_DISCH 0x0004 /* MICB2_DISCH */
- #define ARIZONA_MICB2_DISCH_MASK 0x0004 /* MICB2_DISCH */
- #define ARIZONA_MICB2_DISCH_SHIFT 2 /* MICB2_DISCH */
- #define ARIZONA_MICB2_DISCH_WIDTH 1 /* MICB2_DISCH */
- #define ARIZONA_MICB2_BYPASS 0x0002 /* MICB2_BYPASS */
- #define ARIZONA_MICB2_BYPASS_MASK 0x0002 /* MICB2_BYPASS */
- #define ARIZONA_MICB2_BYPASS_SHIFT 1 /* MICB2_BYPASS */
- #define ARIZONA_MICB2_BYPASS_WIDTH 1 /* MICB2_BYPASS */
- #define ARIZONA_MICB2_ENA 0x0001 /* MICB2_ENA */
- #define ARIZONA_MICB2_ENA_MASK 0x0001 /* MICB2_ENA */
- #define ARIZONA_MICB2_ENA_SHIFT 0 /* MICB2_ENA */
- #define ARIZONA_MICB2_ENA_WIDTH 1 /* MICB2_ENA */
- /*
- * R538 (0x21A) - Mic Bias Ctrl 3
- */
- #define ARIZONA_MICB3_EXT_CAP 0x8000 /* MICB3_EXT_CAP */
- #define ARIZONA_MICB3_EXT_CAP_MASK 0x8000 /* MICB3_EXT_CAP */
- #define ARIZONA_MICB3_EXT_CAP_SHIFT 15 /* MICB3_EXT_CAP */
- #define ARIZONA_MICB3_EXT_CAP_WIDTH 1 /* MICB3_EXT_CAP */
- #define ARIZONA_MICB3_LVL_MASK 0x01E0 /* MICB3_LVL - [8:5] */
- #define ARIZONA_MICB3_LVL_SHIFT 5 /* MICB3_LVL - [8:5] */
- #define ARIZONA_MICB3_LVL_WIDTH 4 /* MICB3_LVL - [8:5] */
- #define ARIZONA_MICB3_FAST 0x0010 /* MICB3_FAST */
- #define ARIZONA_MICB3_FAST_MASK 0x0010 /* MICB3_FAST */
- #define ARIZONA_MICB3_FAST_SHIFT 4 /* MICB3_FAST */
- #define ARIZONA_MICB3_FAST_WIDTH 1 /* MICB3_FAST */
- #define ARIZONA_MICB3_RATE 0x0008 /* MICB3_RATE */
- #define ARIZONA_MICB3_RATE_MASK 0x0008 /* MICB3_RATE */
- #define ARIZONA_MICB3_RATE_SHIFT 3 /* MICB3_RATE */
- #define ARIZONA_MICB3_RATE_WIDTH 1 /* MICB3_RATE */
- #define ARIZONA_MICB3_DISCH 0x0004 /* MICB3_DISCH */
- #define ARIZONA_MICB3_DISCH_MASK 0x0004 /* MICB3_DISCH */
- #define ARIZONA_MICB3_DISCH_SHIFT 2 /* MICB3_DISCH */
- #define ARIZONA_MICB3_DISCH_WIDTH 1 /* MICB3_DISCH */
- #define ARIZONA_MICB3_BYPASS 0x0002 /* MICB3_BYPASS */
- #define ARIZONA_MICB3_BYPASS_MASK 0x0002 /* MICB3_BYPASS */
- #define ARIZONA_MICB3_BYPASS_SHIFT 1 /* MICB3_BYPASS */
- #define ARIZONA_MICB3_BYPASS_WIDTH 1 /* MICB3_BYPASS */
- #define ARIZONA_MICB3_ENA 0x0001 /* MICB3_ENA */
- #define ARIZONA_MICB3_ENA_MASK 0x0001 /* MICB3_ENA */
- #define ARIZONA_MICB3_ENA_SHIFT 0 /* MICB3_ENA */
- #define ARIZONA_MICB3_ENA_WIDTH 1 /* MICB3_ENA */
- /*
- * R549 (0x225) - HP Ctrl 1L
- */
- #define ARIZONA_RMV_SHRT_HP1L 0x4000 /* RMV_SHRT_HP1L */
- #define ARIZONA_RMV_SHRT_HP1L_MASK 0x4000 /* RMV_SHRT_HP1L */
- #define ARIZONA_RMV_SHRT_HP1L_SHIFT 14 /* RMV_SHRT_HP1L */
- #define ARIZONA_RMV_SHRT_HP1L_WIDTH 1 /* RMV_SHRT_HP1L */
- #define ARIZONA_HP1L_FLWR 0x0004 /* HP1L_FLWR */
- #define ARIZONA_HP1L_FLWR_MASK 0x0004 /* HP1L_FLWR */
- #define ARIZONA_HP1L_FLWR_SHIFT 2 /* HP1L_FLWR */
- #define ARIZONA_HP1L_FLWR_WIDTH 1 /* HP1L_FLWR */
- #define ARIZONA_HP1L_SHRTI 0x0002 /* HP1L_SHRTI */
- #define ARIZONA_HP1L_SHRTI_MASK 0x0002 /* HP1L_SHRTI */
- #define ARIZONA_HP1L_SHRTI_SHIFT 1 /* HP1L_SHRTI */
- #define ARIZONA_HP1L_SHRTI_WIDTH 1 /* HP1L_SHRTI */
- #define ARIZONA_HP1L_SHRTO 0x0001 /* HP1L_SHRTO */
- #define ARIZONA_HP1L_SHRTO_MASK 0x0001 /* HP1L_SHRTO */
- #define ARIZONA_HP1L_SHRTO_SHIFT 0 /* HP1L_SHRTO */
- #define ARIZONA_HP1L_SHRTO_WIDTH 1 /* HP1L_SHRTO */
- /*
- * R550 (0x226) - HP Ctrl 1R
- */
- #define ARIZONA_RMV_SHRT_HP1R 0x4000 /* RMV_SHRT_HP1R */
- #define ARIZONA_RMV_SHRT_HP1R_MASK 0x4000 /* RMV_SHRT_HP1R */
- #define ARIZONA_RMV_SHRT_HP1R_SHIFT 14 /* RMV_SHRT_HP1R */
- #define ARIZONA_RMV_SHRT_HP1R_WIDTH 1 /* RMV_SHRT_HP1R */
- #define ARIZONA_HP1R_FLWR 0x0004 /* HP1R_FLWR */
- #define ARIZONA_HP1R_FLWR_MASK 0x0004 /* HP1R_FLWR */
- #define ARIZONA_HP1R_FLWR_SHIFT 2 /* HP1R_FLWR */
- #define ARIZONA_HP1R_FLWR_WIDTH 1 /* HP1R_FLWR */
- #define ARIZONA_HP1R_SHRTI 0x0002 /* HP1R_SHRTI */
- #define ARIZONA_HP1R_SHRTI_MASK 0x0002 /* HP1R_SHRTI */
- #define ARIZONA_HP1R_SHRTI_SHIFT 1 /* HP1R_SHRTI */
- #define ARIZONA_HP1R_SHRTI_WIDTH 1 /* HP1R_SHRTI */
- #define ARIZONA_HP1R_SHRTO 0x0001 /* HP1R_SHRTO */
- #define ARIZONA_HP1R_SHRTO_MASK 0x0001 /* HP1R_SHRTO */
- #define ARIZONA_HP1R_SHRTO_SHIFT 0 /* HP1R_SHRTO */
- #define ARIZONA_HP1R_SHRTO_WIDTH 1 /* HP1R_SHRTO */
- /*
- * R659 (0x293) - Accessory Detect Mode 1
- */
- #define ARIZONA_ACCDET_SRC 0x2000 /* ACCDET_SRC */
- #define ARIZONA_ACCDET_SRC_MASK 0x2000 /* ACCDET_SRC */
- #define ARIZONA_ACCDET_SRC_SHIFT 13 /* ACCDET_SRC */
- #define ARIZONA_ACCDET_SRC_WIDTH 1 /* ACCDET_SRC */
- #define ARIZONA_ACCDET_MODE_MASK 0x0007 /* ACCDET_MODE - [2:0] */
- #define ARIZONA_ACCDET_MODE_SHIFT 0 /* ACCDET_MODE - [2:0] */
- #define ARIZONA_ACCDET_MODE_WIDTH 3 /* ACCDET_MODE - [2:0] */
- /*
- * R667 (0x29B) - Headphone Detect 1
- */
- #define ARIZONA_HP_IMPEDANCE_RANGE_MASK 0x0600 /* HP_IMPEDANCE_RANGE - [10:9] */
- #define ARIZONA_HP_IMPEDANCE_RANGE_SHIFT 9 /* HP_IMPEDANCE_RANGE - [10:9] */
- #define ARIZONA_HP_IMPEDANCE_RANGE_WIDTH 2 /* HP_IMPEDANCE_RANGE - [10:9] */
- #define ARIZONA_HP_STEP_SIZE 0x0100 /* HP_STEP_SIZE */
- #define ARIZONA_HP_STEP_SIZE_MASK 0x0100 /* HP_STEP_SIZE */
- #define ARIZONA_HP_STEP_SIZE_SHIFT 8 /* HP_STEP_SIZE */
- #define ARIZONA_HP_STEP_SIZE_WIDTH 1 /* HP_STEP_SIZE */
- #define ARIZONA_HP_HOLDTIME_MASK 0x00E0 /* HP_HOLDTIME - [7:5] */
- #define ARIZONA_HP_HOLDTIME_SHIFT 5 /* HP_HOLDTIME - [7:5] */
- #define ARIZONA_HP_HOLDTIME_WIDTH 3 /* HP_HOLDTIME - [7:5] */
- #define ARIZONA_HP_CLK_DIV_MASK 0x0018 /* HP_CLK_DIV - [4:3] */
- #define ARIZONA_HP_CLK_DIV_SHIFT 3 /* HP_CLK_DIV - [4:3] */
- #define ARIZONA_HP_CLK_DIV_WIDTH 2 /* HP_CLK_DIV - [4:3] */
- #define ARIZONA_HP_IDAC_STEER 0x0004 /* HP_IDAC_STEER */
- #define ARIZONA_HP_IDAC_STEER_MASK 0x0004 /* HP_IDAC_STEER */
- #define ARIZONA_HP_IDAC_STEER_SHIFT 2 /* HP_IDAC_STEER */
- #define ARIZONA_HP_IDAC_STEER_WIDTH 1 /* HP_IDAC_STEER */
- #define WM8998_HP_RATE_MASK 0x0006 /* HP_RATE - [2:1] */
- #define WM8998_HP_RATE_SHIFT 1 /* HP_RATE - [2:1] */
- #define WM8998_HP_RATE_WIDTH 2 /* HP_RATE - [2:1] */
- #define ARIZONA_HP_RATE 0x0002 /* HP_RATE */
- #define ARIZONA_HP_RATE_MASK 0x0002 /* HP_RATE */
- #define ARIZONA_HP_RATE_SHIFT 1 /* HP_RATE */
- #define ARIZONA_HP_RATE_WIDTH 1 /* HP_RATE */
- #define ARIZONA_HP_POLL 0x0001 /* HP_POLL */
- #define ARIZONA_HP_POLL_MASK 0x0001 /* HP_POLL */
- #define ARIZONA_HP_POLL_SHIFT 0 /* HP_POLL */
- #define ARIZONA_HP_POLL_WIDTH 1 /* HP_POLL */
- /*
- * R668 (0x29C) - Headphone Detect 2
- */
- #define ARIZONA_HP_DONE 0x0080 /* HP_DONE */
- #define ARIZONA_HP_DONE_MASK 0x0080 /* HP_DONE */
- #define ARIZONA_HP_DONE_SHIFT 7 /* HP_DONE */
- #define ARIZONA_HP_DONE_WIDTH 1 /* HP_DONE */
- #define ARIZONA_HP_LVL_MASK 0x007F /* HP_LVL - [6:0] */
- #define ARIZONA_HP_LVL_SHIFT 0 /* HP_LVL - [6:0] */
- #define ARIZONA_HP_LVL_WIDTH 7 /* HP_LVL - [6:0] */
- #define ARIZONA_HP_DONE_B 0x8000 /* HP_DONE */
- #define ARIZONA_HP_DONE_B_MASK 0x8000 /* HP_DONE */
- #define ARIZONA_HP_DONE_B_SHIFT 15 /* HP_DONE */
- #define ARIZONA_HP_DONE_B_WIDTH 1 /* HP_DONE */
- #define ARIZONA_HP_LVL_B_MASK 0x7FFF /* HP_LVL - [14:0] */
- #define ARIZONA_HP_LVL_B_SHIFT 0 /* HP_LVL - [14:0] */
- #define ARIZONA_HP_LVL_B_WIDTH 15 /* HP_LVL - [14:0] */
- /*
- * R674 (0x2A2) - MICD clamp control
- */
- #define ARIZONA_MICD_CLAMP_MODE_MASK 0x000F /* MICD_CLAMP_MODE - [3:0] */
- #define ARIZONA_MICD_CLAMP_MODE_SHIFT 0 /* MICD_CLAMP_MODE - [3:0] */
- #define ARIZONA_MICD_CLAMP_MODE_WIDTH 4 /* MICD_CLAMP_MODE - [3:0] */
- /*
- * R675 (0x2A3) - Mic Detect 1
- */
- #define ARIZONA_MICD_BIAS_STARTTIME_MASK 0xF000 /* MICD_BIAS_STARTTIME - [15:12] */
- #define ARIZONA_MICD_BIAS_STARTTIME_SHIFT 12 /* MICD_BIAS_STARTTIME - [15:12] */
- #define ARIZONA_MICD_BIAS_STARTTIME_WIDTH 4 /* MICD_BIAS_STARTTIME - [15:12] */
- #define ARIZONA_MICD_RATE_MASK 0x0F00 /* MICD_RATE - [11:8] */
- #define ARIZONA_MICD_RATE_SHIFT 8 /* MICD_RATE - [11:8] */
- #define ARIZONA_MICD_RATE_WIDTH 4 /* MICD_RATE - [11:8] */
- #define ARIZONA_MICD_BIAS_SRC_MASK 0x0030 /* MICD_BIAS_SRC - [5:4] */
- #define ARIZONA_MICD_BIAS_SRC_SHIFT 4 /* MICD_BIAS_SRC - [5:4] */
- #define ARIZONA_MICD_BIAS_SRC_WIDTH 2 /* MICD_BIAS_SRC - [5:4] */
- #define ARIZONA_MICD_DBTIME 0x0002 /* MICD_DBTIME */
- #define ARIZONA_MICD_DBTIME_MASK 0x0002 /* MICD_DBTIME */
- #define ARIZONA_MICD_DBTIME_SHIFT 1 /* MICD_DBTIME */
- #define ARIZONA_MICD_DBTIME_WIDTH 1 /* MICD_DBTIME */
- #define ARIZONA_MICD_ENA 0x0001 /* MICD_ENA */
- #define ARIZONA_MICD_ENA_MASK 0x0001 /* MICD_ENA */
- #define ARIZONA_MICD_ENA_SHIFT 0 /* MICD_ENA */
- #define ARIZONA_MICD_ENA_WIDTH 1 /* MICD_ENA */
- /*
- * R676 (0x2A4) - Mic Detect 2
- */
- #define ARIZONA_MICD_LVL_SEL_MASK 0x00FF /* MICD_LVL_SEL - [7:0] */
- #define ARIZONA_MICD_LVL_SEL_SHIFT 0 /* MICD_LVL_SEL - [7:0] */
- #define ARIZONA_MICD_LVL_SEL_WIDTH 8 /* MICD_LVL_SEL - [7:0] */
- /*
- * R677 (0x2A5) - Mic Detect 3
- */
- #define ARIZONA_MICD_LVL_0 0x0004 /* MICD_LVL - [2] */
- #define ARIZONA_MICD_LVL_1 0x0008 /* MICD_LVL - [3] */
- #define ARIZONA_MICD_LVL_2 0x0010 /* MICD_LVL - [4] */
- #define ARIZONA_MICD_LVL_3 0x0020 /* MICD_LVL - [5] */
- #define ARIZONA_MICD_LVL_4 0x0040 /* MICD_LVL - [6] */
- #define ARIZONA_MICD_LVL_5 0x0080 /* MICD_LVL - [7] */
- #define ARIZONA_MICD_LVL_6 0x0100 /* MICD_LVL - [8] */
- #define ARIZONA_MICD_LVL_7 0x0200 /* MICD_LVL - [9] */
- #define ARIZONA_MICD_LVL_8 0x0400 /* MICD_LVL - [10] */
- #define ARIZONA_MICD_LVL_MASK 0x07FC /* MICD_LVL - [10:2] */
- #define ARIZONA_MICD_LVL_SHIFT 2 /* MICD_LVL - [10:2] */
- #define ARIZONA_MICD_LVL_WIDTH 9 /* MICD_LVL - [10:2] */
- #define ARIZONA_MICD_VALID 0x0002 /* MICD_VALID */
- #define ARIZONA_MICD_VALID_MASK 0x0002 /* MICD_VALID */
- #define ARIZONA_MICD_VALID_SHIFT 1 /* MICD_VALID */
- #define ARIZONA_MICD_VALID_WIDTH 1 /* MICD_VALID */
- #define ARIZONA_MICD_STS 0x0001 /* MICD_STS */
- #define ARIZONA_MICD_STS_MASK 0x0001 /* MICD_STS */
- #define ARIZONA_MICD_STS_SHIFT 0 /* MICD_STS */
- #define ARIZONA_MICD_STS_WIDTH 1 /* MICD_STS */
- /*
- * R683 (0x2AB) - Mic Detect 4
- */
- #define ARIZONA_MICDET_ADCVAL_DIFF_MASK 0xFF00 /* MICDET_ADCVAL_DIFF - [15:8] */
- #define ARIZONA_MICDET_ADCVAL_DIFF_SHIFT 8 /* MICDET_ADCVAL_DIFF - [15:8] */
- #define ARIZONA_MICDET_ADCVAL_DIFF_WIDTH 8 /* MICDET_ADCVAL_DIFF - [15:8] */
- #define ARIZONA_MICDET_ADCVAL_MASK 0x007F /* MICDET_ADCVAL - [15:8] */
- #define ARIZONA_MICDET_ADCVAL_SHIFT 0 /* MICDET_ADCVAL - [15:8] */
- #define ARIZONA_MICDET_ADCVAL_WIDTH 7 /* MICDET_ADCVAL - [15:8] */
- /*
- * R707 (0x2C3) - Mic noise mix control 1
- */
- #define ARIZONA_MICMUTE_RATE_MASK 0x7800 /* MICMUTE_RATE - [14:11] */
- #define ARIZONA_MICMUTE_RATE_SHIFT 11 /* MICMUTE_RATE - [14:11] */
- #define ARIZONA_MICMUTE_RATE_WIDTH 4 /* MICMUTE_RATE - [14:11] */
- #define ARIZONA_MICMUTE_MIX_ENA 0x0040 /* MICMUTE_MIX_ENA */
- #define ARIZONA_MICMUTE_MIX_ENA_MASK 0x0040 /* MICMUTE_MIX_ENA */
- #define ARIZONA_MICMUTE_MIX_ENA_SHIFT 6 /* MICMUTE_MIX_ENA */
- #define ARIZONA_MICMUTE_MIX_ENA_WIDTH 1 /* MICMUTE_MIX_ENA */
- /*
- * R715 (0x2CB) - Isolation control
- */
- #define ARIZONA_ISOLATE_DCVDD1 0x0001 /* ISOLATE_DCVDD1 */
- #define ARIZONA_ISOLATE_DCVDD1_MASK 0x0001 /* ISOLATE_DCVDD1 */
- #define ARIZONA_ISOLATE_DCVDD1_SHIFT 0 /* ISOLATE_DCVDD1 */
- #define ARIZONA_ISOLATE_DCVDD1_WIDTH 1 /* ISOLATE_DCVDD1 */
- /*
- * R723 (0x2D3) - Jack detect analogue
- */
- #define ARIZONA_JD2_ENA 0x0002 /* JD2_ENA */
- #define ARIZONA_JD2_ENA_MASK 0x0002 /* JD2_ENA */
- #define ARIZONA_JD2_ENA_SHIFT 1 /* JD2_ENA */
- #define ARIZONA_JD2_ENA_WIDTH 1 /* JD2_ENA */
- #define ARIZONA_JD1_ENA 0x0001 /* JD1_ENA */
- #define ARIZONA_JD1_ENA_MASK 0x0001 /* JD1_ENA */
- #define ARIZONA_JD1_ENA_SHIFT 0 /* JD1_ENA */
- #define ARIZONA_JD1_ENA_WIDTH 1 /* JD1_ENA */
- /*
- * R768 (0x300) - Input Enables
- */
- #define ARIZONA_IN4L_ENA 0x0080 /* IN4L_ENA */
- #define ARIZONA_IN4L_ENA_MASK 0x0080 /* IN4L_ENA */
- #define ARIZONA_IN4L_ENA_SHIFT 7 /* IN4L_ENA */
- #define ARIZONA_IN4L_ENA_WIDTH 1 /* IN4L_ENA */
- #define ARIZONA_IN4R_ENA 0x0040 /* IN4R_ENA */
- #define ARIZONA_IN4R_ENA_MASK 0x0040 /* IN4R_ENA */
- #define ARIZONA_IN4R_ENA_SHIFT 6 /* IN4R_ENA */
- #define ARIZONA_IN4R_ENA_WIDTH 1 /* IN4R_ENA */
- #define ARIZONA_IN3L_ENA 0x0020 /* IN3L_ENA */
- #define ARIZONA_IN3L_ENA_MASK 0x0020 /* IN3L_ENA */
- #define ARIZONA_IN3L_ENA_SHIFT 5 /* IN3L_ENA */
- #define ARIZONA_IN3L_ENA_WIDTH 1 /* IN3L_ENA */
- #define ARIZONA_IN3R_ENA 0x0010 /* IN3R_ENA */
- #define ARIZONA_IN3R_ENA_MASK 0x0010 /* IN3R_ENA */
- #define ARIZONA_IN3R_ENA_SHIFT 4 /* IN3R_ENA */
- #define ARIZONA_IN3R_ENA_WIDTH 1 /* IN3R_ENA */
- #define ARIZONA_IN2L_ENA 0x0008 /* IN2L_ENA */
- #define ARIZONA_IN2L_ENA_MASK 0x0008 /* IN2L_ENA */
- #define ARIZONA_IN2L_ENA_SHIFT 3 /* IN2L_ENA */
- #define ARIZONA_IN2L_ENA_WIDTH 1 /* IN2L_ENA */
- #define ARIZONA_IN2R_ENA 0x0004 /* IN2R_ENA */
- #define ARIZONA_IN2R_ENA_MASK 0x0004 /* IN2R_ENA */
- #define ARIZONA_IN2R_ENA_SHIFT 2 /* IN2R_ENA */
- #define ARIZONA_IN2R_ENA_WIDTH 1 /* IN2R_ENA */
- #define ARIZONA_IN1L_ENA 0x0002 /* IN1L_ENA */
- #define ARIZONA_IN1L_ENA_MASK 0x0002 /* IN1L_ENA */
- #define ARIZONA_IN1L_ENA_SHIFT 1 /* IN1L_ENA */
- #define ARIZONA_IN1L_ENA_WIDTH 1 /* IN1L_ENA */
- #define ARIZONA_IN1R_ENA 0x0001 /* IN1R_ENA */
- #define ARIZONA_IN1R_ENA_MASK 0x0001 /* IN1R_ENA */
- #define ARIZONA_IN1R_ENA_SHIFT 0 /* IN1R_ENA */
- #define ARIZONA_IN1R_ENA_WIDTH 1 /* IN1R_ENA */
- /*
- * R776 (0x308) - Input Rate
- */
- #define ARIZONA_IN_RATE_MASK 0x7800 /* IN_RATE - [14:11] */
- #define ARIZONA_IN_RATE_SHIFT 11 /* IN_RATE - [14:11] */
- #define ARIZONA_IN_RATE_WIDTH 4 /* IN_RATE - [14:11] */
- /*
- * R777 (0x309) - Input Volume Ramp
- */
- #define ARIZONA_IN_VD_RAMP_MASK 0x0070 /* IN_VD_RAMP - [6:4] */
- #define ARIZONA_IN_VD_RAMP_SHIFT 4 /* IN_VD_RAMP - [6:4] */
- #define ARIZONA_IN_VD_RAMP_WIDTH 3 /* IN_VD_RAMP - [6:4] */
- #define ARIZONA_IN_VI_RAMP_MASK 0x0007 /* IN_VI_RAMP - [2:0] */
- #define ARIZONA_IN_VI_RAMP_SHIFT 0 /* IN_VI_RAMP - [2:0] */
- #define ARIZONA_IN_VI_RAMP_WIDTH 3 /* IN_VI_RAMP - [2:0] */
- /*
- * R780 (0x30C) - HPF Control
- */
- #define ARIZONA_IN_HPF_CUT_MASK 0x0007 /* IN_HPF_CUT [2:0] */
- #define ARIZONA_IN_HPF_CUT_SHIFT 0 /* IN_HPF_CUT [2:0] */
- #define ARIZONA_IN_HPF_CUT_WIDTH 3 /* IN_HPF_CUT [2:0] */
- /*
- * R784 (0x310) - IN1L Control
- */
- #define ARIZONA_IN1L_HPF_MASK 0x8000 /* IN1L_HPF - [15] */
- #define ARIZONA_IN1L_HPF_SHIFT 15 /* IN1L_HPF - [15] */
- #define ARIZONA_IN1L_HPF_WIDTH 1 /* IN1L_HPF - [15] */
- #define ARIZONA_IN1_OSR_MASK 0x6000 /* IN1_OSR - [14:13] */
- #define ARIZONA_IN1_OSR_SHIFT 13 /* IN1_OSR - [14:13] */
- #define ARIZONA_IN1_OSR_WIDTH 2 /* IN1_OSR - [14:13] */
- #define ARIZONA_IN1_DMIC_SUP_MASK 0x1800 /* IN1_DMIC_SUP - [12:11] */
- #define ARIZONA_IN1_DMIC_SUP_SHIFT 11 /* IN1_DMIC_SUP - [12:11] */
- #define ARIZONA_IN1_DMIC_SUP_WIDTH 2 /* IN1_DMIC_SUP - [12:11] */
- #define ARIZONA_IN1_MODE_MASK 0x0400 /* IN1_MODE - [10] */
- #define ARIZONA_IN1_MODE_SHIFT 10 /* IN1_MODE - [10] */
- #define ARIZONA_IN1_MODE_WIDTH 1 /* IN1_MODE - [10] */
- #define ARIZONA_IN1_SINGLE_ENDED_MASK 0x0200 /* IN1_MODE - [9] */
- #define ARIZONA_IN1_SINGLE_ENDED_SHIFT 9 /* IN1_MODE - [9] */
- #define ARIZONA_IN1_SINGLE_ENDED_WIDTH 1 /* IN1_MODE - [9] */
- #define ARIZONA_IN1L_PGA_VOL_MASK 0x00FE /* IN1L_PGA_VOL - [7:1] */
- #define ARIZONA_IN1L_PGA_VOL_SHIFT 1 /* IN1L_PGA_VOL - [7:1] */
- #define ARIZONA_IN1L_PGA_VOL_WIDTH 7 /* IN1L_PGA_VOL - [7:1] */
- /*
- * R785 (0x311) - ADC Digital Volume 1L
- */
- #define ARIZONA_IN1L_SRC_MASK 0x4000 /* IN1L_SRC - [14] */
- #define ARIZONA_IN1L_SRC_SHIFT 14 /* IN1L_SRC - [14] */
- #define ARIZONA_IN1L_SRC_WIDTH 1 /* IN1L_SRC - [14] */
- #define ARIZONA_IN1L_SRC_SE_MASK 0x2000 /* IN1L_SRC - [13] */
- #define ARIZONA_IN1L_SRC_SE_SHIFT 13 /* IN1L_SRC - [13] */
- #define ARIZONA_IN1L_SRC_SE_WIDTH 1 /* IN1L_SRC - [13] */
- #define ARIZONA_IN_VU 0x0200 /* IN_VU */
- #define ARIZONA_IN_VU_MASK 0x0200 /* IN_VU */
- #define ARIZONA_IN_VU_SHIFT 9 /* IN_VU */
- #define ARIZONA_IN_VU_WIDTH 1 /* IN_VU */
- #define ARIZONA_IN1L_MUTE 0x0100 /* IN1L_MUTE */
- #define ARIZONA_IN1L_MUTE_MASK 0x0100 /* IN1L_MUTE */
- #define ARIZONA_IN1L_MUTE_SHIFT 8 /* IN1L_MUTE */
- #define ARIZONA_IN1L_MUTE_WIDTH 1 /* IN1L_MUTE */
- #define ARIZONA_IN1L_DIG_VOL_MASK 0x00FF /* IN1L_DIG_VOL - [7:0] */
- #define ARIZONA_IN1L_DIG_VOL_SHIFT 0 /* IN1L_DIG_VOL - [7:0] */
- #define ARIZONA_IN1L_DIG_VOL_WIDTH 8 /* IN1L_DIG_VOL - [7:0] */
- /*
- * R786 (0x312) - DMIC1L Control
- */
- #define ARIZONA_IN1_DMICL_DLY_MASK 0x003F /* IN1_DMICL_DLY - [5:0] */
- #define ARIZONA_IN1_DMICL_DLY_SHIFT 0 /* IN1_DMICL_DLY - [5:0] */
- #define ARIZONA_IN1_DMICL_DLY_WIDTH 6 /* IN1_DMICL_DLY - [5:0] */
- /*
- * R788 (0x314) - IN1R Control
- */
- #define ARIZONA_IN1R_HPF_MASK 0x8000 /* IN1R_HPF - [15] */
- #define ARIZONA_IN1R_HPF_SHIFT 15 /* IN1R_HPF - [15] */
- #define ARIZONA_IN1R_HPF_WIDTH 1 /* IN1R_HPF - [15] */
- #define ARIZONA_IN1R_PGA_VOL_MASK 0x00FE /* IN1R_PGA_VOL - [7:1] */
- #define ARIZONA_IN1R_PGA_VOL_SHIFT 1 /* IN1R_PGA_VOL - [7:1] */
- #define ARIZONA_IN1R_PGA_VOL_WIDTH 7 /* IN1R_PGA_VOL - [7:1] */
- /*
- * R789 (0x315) - ADC Digital Volume 1R
- */
- #define ARIZONA_IN1R_SRC_MASK 0x4000 /* IN1R_SRC - [14] */
- #define ARIZONA_IN1R_SRC_SHIFT 14 /* IN1R_SRC - [14] */
- #define ARIZONA_IN1R_SRC_WIDTH 1 /* IN1R_SRC - [14] */
- #define ARIZONA_IN1R_SRC_SE_MASK 0x2000 /* IN1R_SRC - [13] */
- #define ARIZONA_IN1R_SRC_SE_SHIFT 13 /* IN1R_SRC - [13] */
- #define ARIZONA_IN1R_SRC_SE_WIDTH 1 /* IN1R_SRC - [13] */
- #define ARIZONA_IN_VU 0x0200 /* IN_VU */
- #define ARIZONA_IN_VU_MASK 0x0200 /* IN_VU */
- #define ARIZONA_IN_VU_SHIFT 9 /* IN_VU */
- #define ARIZONA_IN_VU_WIDTH 1 /* IN_VU */
- #define ARIZONA_IN1R_MUTE 0x0100 /* IN1R_MUTE */
- #define ARIZONA_IN1R_MUTE_MASK 0x0100 /* IN1R_MUTE */
- #define ARIZONA_IN1R_MUTE_SHIFT 8 /* IN1R_MUTE */
- #define ARIZONA_IN1R_MUTE_WIDTH 1 /* IN1R_MUTE */
- #define ARIZONA_IN1R_DIG_VOL_MASK 0x00FF /* IN1R_DIG_VOL - [7:0] */
- #define ARIZONA_IN1R_DIG_VOL_SHIFT 0 /* IN1R_DIG_VOL - [7:0] */
- #define ARIZONA_IN1R_DIG_VOL_WIDTH 8 /* IN1R_DIG_VOL - [7:0] */
- /*
- * R790 (0x316) - DMIC1R Control
- */
- #define ARIZONA_IN1_DMICR_DLY_MASK 0x003F /* IN1_DMICR_DLY - [5:0] */
- #define ARIZONA_IN1_DMICR_DLY_SHIFT 0 /* IN1_DMICR_DLY - [5:0] */
- #define ARIZONA_IN1_DMICR_DLY_WIDTH 6 /* IN1_DMICR_DLY - [5:0] */
- /*
- * R792 (0x318) - IN2L Control
- */
- #define ARIZONA_IN2L_HPF_MASK 0x8000 /* IN2L_HPF - [15] */
- #define ARIZONA_IN2L_HPF_SHIFT 15 /* IN2L_HPF - [15] */
- #define ARIZONA_IN2L_HPF_WIDTH 1 /* IN2L_HPF - [15] */
- #define ARIZONA_IN2_OSR_MASK 0x6000 /* IN2_OSR - [14:13] */
- #define ARIZONA_IN2_OSR_SHIFT 13 /* IN2_OSR - [14:13] */
- #define ARIZONA_IN2_OSR_WIDTH 2 /* IN2_OSR - [14:13] */
- #define ARIZONA_IN2_DMIC_SUP_MASK 0x1800 /* IN2_DMIC_SUP - [12:11] */
- #define ARIZONA_IN2_DMIC_SUP_SHIFT 11 /* IN2_DMIC_SUP - [12:11] */
- #define ARIZONA_IN2_DMIC_SUP_WIDTH 2 /* IN2_DMIC_SUP - [12:11] */
- #define ARIZONA_IN2_MODE_MASK 0x0400 /* IN2_MODE - [10] */
- #define ARIZONA_IN2_MODE_SHIFT 10 /* IN2_MODE - [10] */
- #define ARIZONA_IN2_MODE_WIDTH 1 /* IN2_MODE - [10] */
- #define ARIZONA_IN2_SINGLE_ENDED_MASK 0x0200 /* IN2_MODE - [9] */
- #define ARIZONA_IN2_SINGLE_ENDED_SHIFT 9 /* IN2_MODE - [9] */
- #define ARIZONA_IN2_SINGLE_ENDED_WIDTH 1 /* IN2_MODE - [9] */
- #define ARIZONA_IN2L_PGA_VOL_MASK 0x00FE /* IN2L_PGA_VOL - [7:1] */
- #define ARIZONA_IN2L_PGA_VOL_SHIFT 1 /* IN2L_PGA_VOL - [7:1] */
- #define ARIZONA_IN2L_PGA_VOL_WIDTH 7 /* IN2L_PGA_VOL - [7:1] */
- /*
- * R793 (0x319) - ADC Digital Volume 2L
- */
- #define ARIZONA_IN2L_SRC_MASK 0x4000 /* IN2L_SRC - [14] */
- #define ARIZONA_IN2L_SRC_SHIFT 14 /* IN2L_SRC - [14] */
- #define ARIZONA_IN2L_SRC_WIDTH 1 /* IN2L_SRC - [14] */
- #define ARIZONA_IN2L_SRC_SE_MASK 0x2000 /* IN2L_SRC - [13] */
- #define ARIZONA_IN2L_SRC_SE_SHIFT 13 /* IN2L_SRC - [13] */
- #define ARIZONA_IN2L_SRC_SE_WIDTH 1 /* IN2L_SRC - [13] */
- #define ARIZONA_IN_VU 0x0200 /* IN_VU */
- #define ARIZONA_IN_VU_MASK 0x0200 /* IN_VU */
- #define ARIZONA_IN_VU_SHIFT 9 /* IN_VU */
- #define ARIZONA_IN_VU_WIDTH 1 /* IN_VU */
- #define ARIZONA_IN2L_MUTE 0x0100 /* IN2L_MUTE */
- #define ARIZONA_IN2L_MUTE_MASK 0x0100 /* IN2L_MUTE */
- #define ARIZONA_IN2L_MUTE_SHIFT 8 /* IN2L_MUTE */
- #define ARIZONA_IN2L_MUTE_WIDTH 1 /* IN2L_MUTE */
- #define ARIZONA_IN2L_DIG_VOL_MASK 0x00FF /* IN2L_DIG_VOL - [7:0] */
- #define ARIZONA_IN2L_DIG_VOL_SHIFT 0 /* IN2L_DIG_VOL - [7:0] */
- #define ARIZONA_IN2L_DIG_VOL_WIDTH 8 /* IN2L_DIG_VOL - [7:0] */
- /*
- * R794 (0x31A) - DMIC2L Control
- */
- #define ARIZONA_IN2_DMICL_DLY_MASK 0x003F /* IN2_DMICL_DLY - [5:0] */
- #define ARIZONA_IN2_DMICL_DLY_SHIFT 0 /* IN2_DMICL_DLY - [5:0] */
- #define ARIZONA_IN2_DMICL_DLY_WIDTH 6 /* IN2_DMICL_DLY - [5:0] */
- /*
- * R796 (0x31C) - IN2R Control
- */
- #define ARIZONA_IN2R_HPF_MASK 0x8000 /* IN2R_HPF - [15] */
- #define ARIZONA_IN2R_HPF_SHIFT 15 /* IN2R_HPF - [15] */
- #define ARIZONA_IN2R_HPF_WIDTH 1 /* IN2R_HPF - [15] */
- #define ARIZONA_IN2R_PGA_VOL_MASK 0x00FE /* IN2R_PGA_VOL - [7:1] */
- #define ARIZONA_IN2R_PGA_VOL_SHIFT 1 /* IN2R_PGA_VOL - [7:1] */
- #define ARIZONA_IN2R_PGA_VOL_WIDTH 7 /* IN2R_PGA_VOL - [7:1] */
- /*
- * R797 (0x31D) - ADC Digital Volume 2R
- */
- #define ARIZONA_IN_VU 0x0200 /* IN_VU */
- #define ARIZONA_IN_VU_MASK 0x0200 /* IN_VU */
- #define ARIZONA_IN_VU_SHIFT 9 /* IN_VU */
- #define ARIZONA_IN_VU_WIDTH 1 /* IN_VU */
- #define ARIZONA_IN2R_MUTE 0x0100 /* IN2R_MUTE */
- #define ARIZONA_IN2R_MUTE_MASK 0x0100 /* IN2R_MUTE */
- #define ARIZONA_IN2R_MUTE_SHIFT 8 /* IN2R_MUTE */
- #define ARIZONA_IN2R_MUTE_WIDTH 1 /* IN2R_MUTE */
- #define ARIZONA_IN2R_DIG_VOL_MASK 0x00FF /* IN2R_DIG_VOL - [7:0] */
- #define ARIZONA_IN2R_DIG_VOL_SHIFT 0 /* IN2R_DIG_VOL - [7:0] */
- #define ARIZONA_IN2R_DIG_VOL_WIDTH 8 /* IN2R_DIG_VOL - [7:0] */
- /*
- * R798 (0x31E) - DMIC2R Control
- */
- #define ARIZONA_IN2_DMICR_DLY_MASK 0x003F /* IN2_DMICR_DLY - [5:0] */
- #define ARIZONA_IN2_DMICR_DLY_SHIFT 0 /* IN2_DMICR_DLY - [5:0] */
- #define ARIZONA_IN2_DMICR_DLY_WIDTH 6 /* IN2_DMICR_DLY - [5:0] */
- /*
- * R800 (0x320) - IN3L Control
- */
- #define ARIZONA_IN3L_HPF_MASK 0x8000 /* IN3L_HPF - [15] */
- #define ARIZONA_IN3L_HPF_SHIFT 15 /* IN3L_HPF - [15] */
- #define ARIZONA_IN3L_HPF_WIDTH 1 /* IN3L_HPF - [15] */
- #define ARIZONA_IN3_OSR_MASK 0x6000 /* IN3_OSR - [14:13] */
- #define ARIZONA_IN3_OSR_SHIFT 13 /* IN3_OSR - [14:13] */
- #define ARIZONA_IN3_OSR_WIDTH 2 /* IN3_OSR - [14:13] */
- #define ARIZONA_IN3_DMIC_SUP_MASK 0x1800 /* IN3_DMIC_SUP - [12:11] */
- #define ARIZONA_IN3_DMIC_SUP_SHIFT 11 /* IN3_DMIC_SUP - [12:11] */
- #define ARIZONA_IN3_DMIC_SUP_WIDTH 2 /* IN3_DMIC_SUP - [12:11] */
- #define ARIZONA_IN3_MODE_MASK 0x0400 /* IN3_MODE - [10] */
- #define ARIZONA_IN3_MODE_SHIFT 10 /* IN3_MODE - [10] */
- #define ARIZONA_IN3_MODE_WIDTH 1 /* IN3_MODE - [10] */
- #define ARIZONA_IN3_SINGLE_ENDED_MASK 0x0200 /* IN3_MODE - [9] */
- #define ARIZONA_IN3_SINGLE_ENDED_SHIFT 9 /* IN3_MODE - [9] */
- #define ARIZONA_IN3_SINGLE_ENDED_WIDTH 1 /* IN3_MODE - [9] */
- #define ARIZONA_IN3L_PGA_VOL_MASK 0x00FE /* IN3L_PGA_VOL - [7:1] */
- #define ARIZONA_IN3L_PGA_VOL_SHIFT 1 /* IN3L_PGA_VOL - [7:1] */
- #define ARIZONA_IN3L_PGA_VOL_WIDTH 7 /* IN3L_PGA_VOL - [7:1] */
- /*
- * R801 (0x321) - ADC Digital Volume 3L
- */
- #define ARIZONA_IN_VU 0x0200 /* IN_VU */
- #define ARIZONA_IN_VU_MASK 0x0200 /* IN_VU */
- #define ARIZONA_IN_VU_SHIFT 9 /* IN_VU */
- #define ARIZONA_IN_VU_WIDTH 1 /* IN_VU */
- #define ARIZONA_IN3L_MUTE 0x0100 /* IN3L_MUTE */
- #define ARIZONA_IN3L_MUTE_MASK 0x0100 /* IN3L_MUTE */
- #define ARIZONA_IN3L_MUTE_SHIFT 8 /* IN3L_MUTE */
- #define ARIZONA_IN3L_MUTE_WIDTH 1 /* IN3L_MUTE */
- #define ARIZONA_IN3L_DIG_VOL_MASK 0x00FF /* IN3L_DIG_VOL - [7:0] */
- #define ARIZONA_IN3L_DIG_VOL_SHIFT 0 /* IN3L_DIG_VOL - [7:0] */
- #define ARIZONA_IN3L_DIG_VOL_WIDTH 8 /* IN3L_DIG_VOL - [7:0] */
- /*
- * R802 (0x322) - DMIC3L Control
- */
- #define ARIZONA_IN3_DMICL_DLY_MASK 0x003F /* IN3_DMICL_DLY - [5:0] */
- #define ARIZONA_IN3_DMICL_DLY_SHIFT 0 /* IN3_DMICL_DLY - [5:0] */
- #define ARIZONA_IN3_DMICL_DLY_WIDTH 6 /* IN3_DMICL_DLY - [5:0] */
- /*
- * R804 (0x324) - IN3R Control
- */
- #define ARIZONA_IN3R_HPF_MASK 0x8000 /* IN3R_HPF - [15] */
- #define ARIZONA_IN3R_HPF_SHIFT 15 /* IN3R_HPF - [15] */
- #define ARIZONA_IN3R_HPF_WIDTH 1 /* IN3R_HPF - [15] */
- #define ARIZONA_IN3R_PGA_VOL_MASK 0x00FE /* IN3R_PGA_VOL - [7:1] */
- #define ARIZONA_IN3R_PGA_VOL_SHIFT 1 /* IN3R_PGA_VOL - [7:1] */
- #define ARIZONA_IN3R_PGA_VOL_WIDTH 7 /* IN3R_PGA_VOL - [7:1] */
- /*
- * R805 (0x325) - ADC Digital Volume 3R
- */
- #define ARIZONA_IN_VU 0x0200 /* IN_VU */
- #define ARIZONA_IN_VU_MASK 0x0200 /* IN_VU */
- #define ARIZONA_IN_VU_SHIFT 9 /* IN_VU */
- #define ARIZONA_IN_VU_WIDTH 1 /* IN_VU */
- #define ARIZONA_IN3R_MUTE 0x0100 /* IN3R_MUTE */
- #define ARIZONA_IN3R_MUTE_MASK 0x0100 /* IN3R_MUTE */
- #define ARIZONA_IN3R_MUTE_SHIFT 8 /* IN3R_MUTE */
- #define ARIZONA_IN3R_MUTE_WIDTH 1 /* IN3R_MUTE */
- #define ARIZONA_IN3R_DIG_VOL_MASK 0x00FF /* IN3R_DIG_VOL - [7:0] */
- #define ARIZONA_IN3R_DIG_VOL_SHIFT 0 /* IN3R_DIG_VOL - [7:0] */
- #define ARIZONA_IN3R_DIG_VOL_WIDTH 8 /* IN3R_DIG_VOL - [7:0] */
- /*
- * R806 (0x326) - DMIC3R Control
- */
- #define ARIZONA_IN3_DMICR_DLY_MASK 0x003F /* IN3_DMICR_DLY - [5:0] */
- #define ARIZONA_IN3_DMICR_DLY_SHIFT 0 /* IN3_DMICR_DLY - [5:0] */
- #define ARIZONA_IN3_DMICR_DLY_WIDTH 6 /* IN3_DMICR_DLY - [5:0] */
- /*
- * R808 (0x328) - IN4 Control
- */
- #define ARIZONA_IN4L_HPF_MASK 0x8000 /* IN4L_HPF - [15] */
- #define ARIZONA_IN4L_HPF_SHIFT 15 /* IN4L_HPF - [15] */
- #define ARIZONA_IN4L_HPF_WIDTH 1 /* IN4L_HPF - [15] */
- #define ARIZONA_IN4_OSR_MASK 0x6000 /* IN4_OSR - [14:13] */
- #define ARIZONA_IN4_OSR_SHIFT 13 /* IN4_OSR - [14:13] */
- #define ARIZONA_IN4_OSR_WIDTH 2 /* IN4_OSR - [14:13] */
- #define ARIZONA_IN4_DMIC_SUP_MASK 0x1800 /* IN4_DMIC_SUP - [12:11] */
- #define ARIZONA_IN4_DMIC_SUP_SHIFT 11 /* IN4_DMIC_SUP - [12:11] */
- #define ARIZONA_IN4_DMIC_SUP_WIDTH 2 /* IN4_DMIC_SUP - [12:11] */
- /*
- * R809 (0x329) - ADC Digital Volume 4L
- */
- #define ARIZONA_IN_VU 0x0200 /* IN_VU */
- #define ARIZONA_IN_VU_MASK 0x0200 /* IN_VU */
- #define ARIZONA_IN_VU_SHIFT 9 /* IN_VU */
- #define ARIZONA_IN_VU_WIDTH 1 /* IN_VU */
- #define ARIZONA_IN4L_MUTE 0x0100 /* IN4L_MUTE */
- #define ARIZONA_IN4L_MUTE_MASK 0x0100 /* IN4L_MUTE */
- #define ARIZONA_IN4L_MUTE_SHIFT 8 /* IN4L_MUTE */
- #define ARIZONA_IN4L_MUTE_WIDTH 1 /* IN4L_MUTE */
- #define ARIZONA_IN4L_DIG_VOL_MASK 0x00FF /* IN4L_DIG_VOL - [7:0] */
- #define ARIZONA_IN4L_DIG_VOL_SHIFT 0 /* IN4L_DIG_VOL - [7:0] */
- #define ARIZONA_IN4L_DIG_VOL_WIDTH 8 /* IN4L_DIG_VOL - [7:0] */
- /*
- * R810 (0x32A) - DMIC4L Control
- */
- #define ARIZONA_IN4L_DMIC_DLY_MASK 0x003F /* IN4L_DMIC_DLY - [5:0] */
- #define ARIZONA_IN4L_DMIC_DLY_SHIFT 0 /* IN4L_DMIC_DLY - [5:0] */
- #define ARIZONA_IN4L_DMIC_DLY_WIDTH 6 /* IN4L_DMIC_DLY - [5:0] */
- /*
- * R812 (0x32C) - IN4R Control
- */
- #define ARIZONA_IN4R_HPF_MASK 0x8000 /* IN4R_HPF - [15] */
- #define ARIZONA_IN4R_HPF_SHIFT 15 /* IN4R_HPF - [15] */
- #define ARIZONA_IN4R_HPF_WIDTH 1 /* IN4R_HPF - [15] */
- /*
- * R813 (0x32D) - ADC Digital Volume 4R
- */
- #define ARIZONA_IN_VU 0x0200 /* IN_VU */
- #define ARIZONA_IN_VU_MASK 0x0200 /* IN_VU */
- #define ARIZONA_IN_VU_SHIFT 9 /* IN_VU */
- #define ARIZONA_IN_VU_WIDTH 1 /* IN_VU */
- #define ARIZONA_IN4R_MUTE 0x0100 /* IN4R_MUTE */
- #define ARIZONA_IN4R_MUTE_MASK 0x0100 /* IN4R_MUTE */
- #define ARIZONA_IN4R_MUTE_SHIFT 8 /* IN4R_MUTE */
- #define ARIZONA_IN4R_MUTE_WIDTH 1 /* IN4R_MUTE */
- #define ARIZONA_IN4R_DIG_VOL_MASK 0x00FF /* IN4R_DIG_VOL - [7:0] */
- #define ARIZONA_IN4R_DIG_VOL_SHIFT 0 /* IN4R_DIG_VOL - [7:0] */
- #define ARIZONA_IN4R_DIG_VOL_WIDTH 8 /* IN4R_DIG_VOL - [7:0] */
- /*
- * R814 (0x32E) - DMIC4R Control
- */
- #define ARIZONA_IN4R_DMIC_DLY_MASK 0x003F /* IN4R_DMIC_DLY - [5:0] */
- #define ARIZONA_IN4R_DMIC_DLY_SHIFT 0 /* IN4R_DMIC_DLY - [5:0] */
- #define ARIZONA_IN4R_DMIC_DLY_WIDTH 6 /* IN4R_DMIC_DLY - [5:0] */
- /*
- * R1024 (0x400) - Output Enables 1
- */
- #define ARIZONA_OUT6L_ENA 0x0800 /* OUT6L_ENA */
- #define ARIZONA_OUT6L_ENA_MASK 0x0800 /* OUT6L_ENA */
- #define ARIZONA_OUT6L_ENA_SHIFT 11 /* OUT6L_ENA */
- #define ARIZONA_OUT6L_ENA_WIDTH 1 /* OUT6L_ENA */
- #define ARIZONA_OUT6R_ENA 0x0400 /* OUT6R_ENA */
- #define ARIZONA_OUT6R_ENA_MASK 0x0400 /* OUT6R_ENA */
- #define ARIZONA_OUT6R_ENA_SHIFT 10 /* OUT6R_ENA */
- #define ARIZONA_OUT6R_ENA_WIDTH 1 /* OUT6R_ENA */
- #define ARIZONA_OUT5L_ENA 0x0200 /* OUT5L_ENA */
- #define ARIZONA_OUT5L_ENA_MASK 0x0200 /* OUT5L_ENA */
- #define ARIZONA_OUT5L_ENA_SHIFT 9 /* OUT5L_ENA */
- #define ARIZONA_OUT5L_ENA_WIDTH 1 /* OUT5L_ENA */
- #define ARIZONA_OUT5R_ENA 0x0100 /* OUT5R_ENA */
- #define ARIZONA_OUT5R_ENA_MASK 0x0100 /* OUT5R_ENA */
- #define ARIZONA_OUT5R_ENA_SHIFT 8 /* OUT5R_ENA */
- #define ARIZONA_OUT5R_ENA_WIDTH 1 /* OUT5R_ENA */
- #define ARIZONA_OUT4L_ENA 0x0080 /* OUT4L_ENA */
- #define ARIZONA_OUT4L_ENA_MASK 0x0080 /* OUT4L_ENA */
- #define ARIZONA_OUT4L_ENA_SHIFT 7 /* OUT4L_ENA */
- #define ARIZONA_OUT4L_ENA_WIDTH 1 /* OUT4L_ENA */
- #define ARIZONA_OUT4R_ENA 0x0040 /* OUT4R_ENA */
- #define ARIZONA_OUT4R_ENA_MASK 0x0040 /* OUT4R_ENA */
- #define ARIZONA_OUT4R_ENA_SHIFT 6 /* OUT4R_ENA */
- #define ARIZONA_OUT4R_ENA_WIDTH 1 /* OUT4R_ENA */
- #define ARIZONA_OUT3L_ENA 0x0020 /* OUT3L_ENA */
- #define ARIZONA_OUT3L_ENA_MASK 0x0020 /* OUT3L_ENA */
- #define ARIZONA_OUT3L_ENA_SHIFT 5 /* OUT3L_ENA */
- #define ARIZONA_OUT3L_ENA_WIDTH 1 /* OUT3L_ENA */
- #define ARIZONA_OUT3R_ENA 0x0010 /* OUT3R_ENA */
- #define ARIZONA_OUT3R_ENA_MASK 0x0010 /* OUT3R_ENA */
- #define ARIZONA_OUT3R_ENA_SHIFT 4 /* OUT3R_ENA */
- #define ARIZONA_OUT3R_ENA_WIDTH 1 /* OUT3R_ENA */
- #define ARIZONA_OUT2L_ENA 0x0008 /* OUT2L_ENA */
- #define ARIZONA_OUT2L_ENA_MASK 0x0008 /* OUT2L_ENA */
- #define ARIZONA_OUT2L_ENA_SHIFT 3 /* OUT2L_ENA */
- #define ARIZONA_OUT2L_ENA_WIDTH 1 /* OUT2L_ENA */
- #define ARIZONA_OUT2R_ENA 0x0004 /* OUT2R_ENA */
- #define ARIZONA_OUT2R_ENA_MASK 0x0004 /* OUT2R_ENA */
- #define ARIZONA_OUT2R_ENA_SHIFT 2 /* OUT2R_ENA */
- #define ARIZONA_OUT2R_ENA_WIDTH 1 /* OUT2R_ENA */
- #define ARIZONA_OUT1L_ENA 0x0002 /* OUT1L_ENA */
- #define ARIZONA_OUT1L_ENA_MASK 0x0002 /* OUT1L_ENA */
- #define ARIZONA_OUT1L_ENA_SHIFT 1 /* OUT1L_ENA */
- #define ARIZONA_OUT1L_ENA_WIDTH 1 /* OUT1L_ENA */
- #define ARIZONA_OUT1R_ENA 0x0001 /* OUT1R_ENA */
- #define ARIZONA_OUT1R_ENA_MASK 0x0001 /* OUT1R_ENA */
- #define ARIZONA_OUT1R_ENA_SHIFT 0 /* OUT1R_ENA */
- #define ARIZONA_OUT1R_ENA_WIDTH 1 /* OUT1R_ENA */
- /*
- * R1025 (0x401) - Output Status 1
- */
- #define ARIZONA_OUT6L_ENA_STS 0x0800 /* OUT6L_ENA_STS */
- #define ARIZONA_OUT6L_ENA_STS_MASK 0x0800 /* OUT6L_ENA_STS */
- #define ARIZONA_OUT6L_ENA_STS_SHIFT 11 /* OUT6L_ENA_STS */
- #define ARIZONA_OUT6L_ENA_STS_WIDTH 1 /* OUT6L_ENA_STS */
- #define ARIZONA_OUT6R_ENA_STS 0x0400 /* OUT6R_ENA_STS */
- #define ARIZONA_OUT6R_ENA_STS_MASK 0x0400 /* OUT6R_ENA_STS */
- #define ARIZONA_OUT6R_ENA_STS_SHIFT 10 /* OUT6R_ENA_STS */
- #define ARIZONA_OUT6R_ENA_STS_WIDTH 1 /* OUT6R_ENA_STS */
- #define ARIZONA_OUT5L_ENA_STS 0x0200 /* OUT5L_ENA_STS */
- #define ARIZONA_OUT5L_ENA_STS_MASK 0x0200 /* OUT5L_ENA_STS */
- #define ARIZONA_OUT5L_ENA_STS_SHIFT 9 /* OUT5L_ENA_STS */
- #define ARIZONA_OUT5L_ENA_STS_WIDTH 1 /* OUT5L_ENA_STS */
- #define ARIZONA_OUT5R_ENA_STS 0x0100 /* OUT5R_ENA_STS */
- #define ARIZONA_OUT5R_ENA_STS_MASK 0x0100 /* OUT5R_ENA_STS */
- #define ARIZONA_OUT5R_ENA_STS_SHIFT 8 /* OUT5R_ENA_STS */
- #define ARIZONA_OUT5R_ENA_STS_WIDTH 1 /* OUT5R_ENA_STS */
- #define ARIZONA_OUT4L_ENA_STS 0x0080 /* OUT4L_ENA_STS */
- #define ARIZONA_OUT4L_ENA_STS_MASK 0x0080 /* OUT4L_ENA_STS */
- #define ARIZONA_OUT4L_ENA_STS_SHIFT 7 /* OUT4L_ENA_STS */
- #define ARIZONA_OUT4L_ENA_STS_WIDTH 1 /* OUT4L_ENA_STS */
- #define ARIZONA_OUT4R_ENA_STS 0x0040 /* OUT4R_ENA_STS */
- #define ARIZONA_OUT4R_ENA_STS_MASK 0x0040 /* OUT4R_ENA_STS */
- #define ARIZONA_OUT4R_ENA_STS_SHIFT 6 /* OUT4R_ENA_STS */
- #define ARIZONA_OUT4R_ENA_STS_WIDTH 1 /* OUT4R_ENA_STS */
- /*
- * R1032 (0x408) - Output Rate 1
- */
- #define ARIZONA_OUT_RATE_MASK 0x7800 /* OUT_RATE - [14:11] */
- #define ARIZONA_OUT_RATE_SHIFT 11 /* OUT_RATE - [14:11] */
- #define ARIZONA_OUT_RATE_WIDTH 4 /* OUT_RATE - [14:11] */
- /*
- * R1033 (0x409) - Output Volume Ramp
- */
- #define ARIZONA_OUT_VD_RAMP_MASK 0x0070 /* OUT_VD_RAMP - [6:4] */
- #define ARIZONA_OUT_VD_RAMP_SHIFT 4 /* OUT_VD_RAMP - [6:4] */
- #define ARIZONA_OUT_VD_RAMP_WIDTH 3 /* OUT_VD_RAMP - [6:4] */
- #define ARIZONA_OUT_VI_RAMP_MASK 0x0007 /* OUT_VI_RAMP - [2:0] */
- #define ARIZONA_OUT_VI_RAMP_SHIFT 0 /* OUT_VI_RAMP - [2:0] */
- #define ARIZONA_OUT_VI_RAMP_WIDTH 3 /* OUT_VI_RAMP - [2:0] */
- /*
- * R1040 (0x410) - Output Path Config 1L
- */
- #define ARIZONA_OUT1_LP_MODE 0x8000 /* OUT1_LP_MODE */
- #define ARIZONA_OUT1_LP_MODE_MASK 0x8000 /* OUT1_LP_MODE */
- #define ARIZONA_OUT1_LP_MODE_SHIFT 15 /* OUT1_LP_MODE */
- #define ARIZONA_OUT1_LP_MODE_WIDTH 1 /* OUT1_LP_MODE */
- #define ARIZONA_OUT1_OSR 0x2000 /* OUT1_OSR */
- #define ARIZONA_OUT1_OSR_MASK 0x2000 /* OUT1_OSR */
- #define ARIZONA_OUT1_OSR_SHIFT 13 /* OUT1_OSR */
- #define ARIZONA_OUT1_OSR_WIDTH 1 /* OUT1_OSR */
- #define ARIZONA_OUT1_MONO 0x1000 /* OUT1_MONO */
- #define ARIZONA_OUT1_MONO_MASK 0x1000 /* OUT1_MONO */
- #define ARIZONA_OUT1_MONO_SHIFT 12 /* OUT1_MONO */
- #define ARIZONA_OUT1_MONO_WIDTH 1 /* OUT1_MONO */
- #define ARIZONA_OUT1L_ANC_SRC_MASK 0x0C00 /* OUT1L_ANC_SRC - [11:10] */
- #define ARIZONA_OUT1L_ANC_SRC_SHIFT 10 /* OUT1L_ANC_SRC - [11:10] */
- #define ARIZONA_OUT1L_ANC_SRC_WIDTH 2 /* OUT1L_ANC_SRC - [11:10] */
- #define ARIZONA_OUT1L_PGA_VOL_MASK 0x00FE /* OUT1L_PGA_VOL - [7:1] */
- #define ARIZONA_OUT1L_PGA_VOL_SHIFT 1 /* OUT1L_PGA_VOL - [7:1] */
- #define ARIZONA_OUT1L_PGA_VOL_WIDTH 7 /* OUT1L_PGA_VOL - [7:1] */
- /*
- * R1041 (0x411) - DAC Digital Volume 1L
- */
- #define ARIZONA_OUT_VU 0x0200 /* OUT_VU */
- #define ARIZONA_OUT_VU_MASK 0x0200 /* OUT_VU */
- #define ARIZONA_OUT_VU_SHIFT 9 /* OUT_VU */
- #define ARIZONA_OUT_VU_WIDTH 1 /* OUT_VU */
- #define ARIZONA_OUT1L_MUTE 0x0100 /* OUT1L_MUTE */
- #define ARIZONA_OUT1L_MUTE_MASK 0x0100 /* OUT1L_MUTE */
- #define ARIZONA_OUT1L_MUTE_SHIFT 8 /* OUT1L_MUTE */
- #define ARIZONA_OUT1L_MUTE_WIDTH 1 /* OUT1L_MUTE */
- #define ARIZONA_OUT1L_VOL_MASK 0x00FF /* OUT1L_VOL - [7:0] */
- #define ARIZONA_OUT1L_VOL_SHIFT 0 /* OUT1L_VOL - [7:0] */
- #define ARIZONA_OUT1L_VOL_WIDTH 8 /* OUT1L_VOL - [7:0] */
- /*
- * R1042 (0x412) - DAC Volume Limit 1L
- */
- #define ARIZONA_OUT1L_VOL_LIM_MASK 0x00FF /* OUT1L_VOL_LIM - [7:0] */
- #define ARIZONA_OUT1L_VOL_LIM_SHIFT 0 /* OUT1L_VOL_LIM - [7:0] */
- #define ARIZONA_OUT1L_VOL_LIM_WIDTH 8 /* OUT1L_VOL_LIM - [7:0] */
- /*
- * R1043 (0x413) - Noise Gate Select 1L
- */
- #define ARIZONA_OUT1L_NGATE_SRC_MASK 0x0FFF /* OUT1L_NGATE_SRC - [11:0] */
- #define ARIZONA_OUT1L_NGATE_SRC_SHIFT 0 /* OUT1L_NGATE_SRC - [11:0] */
- #define ARIZONA_OUT1L_NGATE_SRC_WIDTH 12 /* OUT1L_NGATE_SRC - [11:0] */
- /*
- * R1044 (0x414) - Output Path Config 1R
- */
- #define ARIZONA_OUT1R_ANC_SRC_MASK 0x0C00 /* OUT1R_ANC_SRC - [11:10] */
- #define ARIZONA_OUT1R_ANC_SRC_SHIFT 10 /* OUT1R_ANC_SRC - [11:10] */
- #define ARIZONA_OUT1R_ANC_SRC_WIDTH 2 /* OUT1R_ANC_SRC - [11:10] */
- #define ARIZONA_OUT1R_PGA_VOL_MASK 0x00FE /* OUT1R_PGA_VOL - [7:1] */
- #define ARIZONA_OUT1R_PGA_VOL_SHIFT 1 /* OUT1R_PGA_VOL - [7:1] */
- #define ARIZONA_OUT1R_PGA_VOL_WIDTH 7 /* OUT1R_PGA_VOL - [7:1] */
- /*
- * R1045 (0x415) - DAC Digital Volume 1R
- */
- #define ARIZONA_OUT_VU 0x0200 /* OUT_VU */
- #define ARIZONA_OUT_VU_MASK 0x0200 /* OUT_VU */
- #define ARIZONA_OUT_VU_SHIFT 9 /* OUT_VU */
- #define ARIZONA_OUT_VU_WIDTH 1 /* OUT_VU */
- #define ARIZONA_OUT1R_MUTE 0x0100 /* OUT1R_MUTE */
- #define ARIZONA_OUT1R_MUTE_MASK 0x0100 /* OUT1R_MUTE */
- #define ARIZONA_OUT1R_MUTE_SHIFT 8 /* OUT1R_MUTE */
- #define ARIZONA_OUT1R_MUTE_WIDTH 1 /* OUT1R_MUTE */
- #define ARIZONA_OUT1R_VOL_MASK 0x00FF /* OUT1R_VOL - [7:0] */
- #define ARIZONA_OUT1R_VOL_SHIFT 0 /* OUT1R_VOL - [7:0] */
- #define ARIZONA_OUT1R_VOL_WIDTH 8 /* OUT1R_VOL - [7:0] */
- /*
- * R1046 (0x416) - DAC Volume Limit 1R
- */
- #define ARIZONA_OUT1R_VOL_LIM_MASK 0x00FF /* OUT1R_VOL_LIM - [7:0] */
- #define ARIZONA_OUT1R_VOL_LIM_SHIFT 0 /* OUT1R_VOL_LIM - [7:0] */
- #define ARIZONA_OUT1R_VOL_LIM_WIDTH 8 /* OUT1R_VOL_LIM - [7:0] */
- /*
- * R1047 (0x417) - Noise Gate Select 1R
- */
- #define ARIZONA_OUT1R_NGATE_SRC_MASK 0x0FFF /* OUT1R_NGATE_SRC - [11:0] */
- #define ARIZONA_OUT1R_NGATE_SRC_SHIFT 0 /* OUT1R_NGATE_SRC - [11:0] */
- #define ARIZONA_OUT1R_NGATE_SRC_WIDTH 12 /* OUT1R_NGATE_SRC - [11:0] */
- /*
- * R1048 (0x418) - Output Path Config 2L
- */
- #define ARIZONA_OUT2_LP_MODE 0x8000 /* OUT2_LP_MODE */
- #define ARIZONA_OUT2_LP_MODE_MASK 0x8000 /* OUT2_LP_MODE */
- #define ARIZONA_OUT2_LP_MODE_SHIFT 15 /* OUT2_LP_MODE */
- #define ARIZONA_OUT2_LP_MODE_WIDTH 1 /* OUT2_LP_MODE */
- #define ARIZONA_OUT2_OSR 0x2000 /* OUT2_OSR */
- #define ARIZONA_OUT2_OSR_MASK 0x2000 /* OUT2_OSR */
- #define ARIZONA_OUT2_OSR_SHIFT 13 /* OUT2_OSR */
- #define ARIZONA_OUT2_OSR_WIDTH 1 /* OUT2_OSR */
- #define ARIZONA_OUT2_MONO 0x1000 /* OUT2_MONO */
- #define ARIZONA_OUT2_MONO_MASK 0x1000 /* OUT2_MONO */
- #define ARIZONA_OUT2_MONO_SHIFT 12 /* OUT2_MONO */
- #define ARIZONA_OUT2_MONO_WIDTH 1 /* OUT2_MONO */
- #define ARIZONA_OUT2L_ANC_SRC_MASK 0x0C00 /* OUT2L_ANC_SRC - [11:10] */
- #define ARIZONA_OUT2L_ANC_SRC_SHIFT 10 /* OUT2L_ANC_SRC - [11:10] */
- #define ARIZONA_OUT2L_ANC_SRC_WIDTH 2 /* OUT2L_ANC_SRC - [11:10] */
- #define ARIZONA_OUT2L_PGA_VOL_MASK 0x00FE /* OUT2L_PGA_VOL - [7:1] */
- #define ARIZONA_OUT2L_PGA_VOL_SHIFT 1 /* OUT2L_PGA_VOL - [7:1] */
- #define ARIZONA_OUT2L_PGA_VOL_WIDTH 7 /* OUT2L_PGA_VOL - [7:1] */
- /*
- * R1049 (0x419) - DAC Digital Volume 2L
- */
- #define ARIZONA_OUT_VU 0x0200 /* OUT_VU */
- #define ARIZONA_OUT_VU_MASK 0x0200 /* OUT_VU */
- #define ARIZONA_OUT_VU_SHIFT 9 /* OUT_VU */
- #define ARIZONA_OUT_VU_WIDTH 1 /* OUT_VU */
- #define ARIZONA_OUT2L_MUTE 0x0100 /* OUT2L_MUTE */
- #define ARIZONA_OUT2L_MUTE_MASK 0x0100 /* OUT2L_MUTE */
- #define ARIZONA_OUT2L_MUTE_SHIFT 8 /* OUT2L_MUTE */
- #define ARIZONA_OUT2L_MUTE_WIDTH 1 /* OUT2L_MUTE */
- #define ARIZONA_OUT2L_VOL_MASK 0x00FF /* OUT2L_VOL - [7:0] */
- #define ARIZONA_OUT2L_VOL_SHIFT 0 /* OUT2L_VOL - [7:0] */
- #define ARIZONA_OUT2L_VOL_WIDTH 8 /* OUT2L_VOL - [7:0] */
- /*
- * R1050 (0x41A) - DAC Volume Limit 2L
- */
- #define ARIZONA_OUT2L_VOL_LIM_MASK 0x00FF /* OUT2L_VOL_LIM - [7:0] */
- #define ARIZONA_OUT2L_VOL_LIM_SHIFT 0 /* OUT2L_VOL_LIM - [7:0] */
- #define ARIZONA_OUT2L_VOL_LIM_WIDTH 8 /* OUT2L_VOL_LIM - [7:0] */
- /*
- * R1051 (0x41B) - Noise Gate Select 2L
- */
- #define ARIZONA_OUT2L_NGATE_SRC_MASK 0x0FFF /* OUT2L_NGATE_SRC - [11:0] */
- #define ARIZONA_OUT2L_NGATE_SRC_SHIFT 0 /* OUT2L_NGATE_SRC - [11:0] */
- #define ARIZONA_OUT2L_NGATE_SRC_WIDTH 12 /* OUT2L_NGATE_SRC - [11:0] */
- /*
- * R1052 (0x41C) - Output Path Config 2R
- */
- #define ARIZONA_OUT2R_ANC_SRC_MASK 0x0C00 /* OUT2R_ANC_SRC - [11:10] */
- #define ARIZONA_OUT2R_ANC_SRC_SHIFT 10 /* OUT2R_ANC_SRC - [11:10] */
- #define ARIZONA_OUT2R_ANC_SRC_WIDTH 2 /* OUT2R_ANC_SRC - [11:10] */
- #define ARIZONA_OUT2R_PGA_VOL_MASK 0x00FE /* OUT2R_PGA_VOL - [7:1] */
- #define ARIZONA_OUT2R_PGA_VOL_SHIFT 1 /* OUT2R_PGA_VOL - [7:1] */
- #define ARIZONA_OUT2R_PGA_VOL_WIDTH 7 /* OUT2R_PGA_VOL - [7:1] */
- /*
- * R1053 (0x41D) - DAC Digital Volume 2R
- */
- #define ARIZONA_OUT_VU 0x0200 /* OUT_VU */
- #define ARIZONA_OUT_VU_MASK 0x0200 /* OUT_VU */
- #define ARIZONA_OUT_VU_SHIFT 9 /* OUT_VU */
- #define ARIZONA_OUT_VU_WIDTH 1 /* OUT_VU */
- #define ARIZONA_OUT2R_MUTE 0x0100 /* OUT2R_MUTE */
- #define ARIZONA_OUT2R_MUTE_MASK 0x0100 /* OUT2R_MUTE */
- #define ARIZONA_OUT2R_MUTE_SHIFT 8 /* OUT2R_MUTE */
- #define ARIZONA_OUT2R_MUTE_WIDTH 1 /* OUT2R_MUTE */
- #define ARIZONA_OUT2R_VOL_MASK 0x00FF /* OUT2R_VOL - [7:0] */
- #define ARIZONA_OUT2R_VOL_SHIFT 0 /* OUT2R_VOL - [7:0] */
- #define ARIZONA_OUT2R_VOL_WIDTH 8 /* OUT2R_VOL - [7:0] */
- /*
- * R1054 (0x41E) - DAC Volume Limit 2R
- */
- #define ARIZONA_OUT2R_VOL_LIM_MASK 0x00FF /* OUT2R_VOL_LIM - [7:0] */
- #define ARIZONA_OUT2R_VOL_LIM_SHIFT 0 /* OUT2R_VOL_LIM - [7:0] */
- #define ARIZONA_OUT2R_VOL_LIM_WIDTH 8 /* OUT2R_VOL_LIM - [7:0] */
- /*
- * R1055 (0x41F) - Noise Gate Select 2R
- */
- #define ARIZONA_OUT2R_NGATE_SRC_MASK 0x0FFF /* OUT2R_NGATE_SRC - [11:0] */
- #define ARIZONA_OUT2R_NGATE_SRC_SHIFT 0 /* OUT2R_NGATE_SRC - [11:0] */
- #define ARIZONA_OUT2R_NGATE_SRC_WIDTH 12 /* OUT2R_NGATE_SRC - [11:0] */
- /*
- * R1056 (0x420) - Output Path Config 3L
- */
- #define ARIZONA_OUT3_LP_MODE 0x8000 /* OUT3_LP_MODE */
- #define ARIZONA_OUT3_LP_MODE_MASK 0x8000 /* OUT3_LP_MODE */
- #define ARIZONA_OUT3_LP_MODE_SHIFT 15 /* OUT3_LP_MODE */
- #define ARIZONA_OUT3_LP_MODE_WIDTH 1 /* OUT3_LP_MODE */
- #define ARIZONA_OUT3_OSR 0x2000 /* OUT3_OSR */
- #define ARIZONA_OUT3_OSR_MASK 0x2000 /* OUT3_OSR */
- #define ARIZONA_OUT3_OSR_SHIFT 13 /* OUT3_OSR */
- #define ARIZONA_OUT3_OSR_WIDTH 1 /* OUT3_OSR */
- #define ARIZONA_OUT3_MONO 0x1000 /* OUT3_MONO */
- #define ARIZONA_OUT3_MONO_MASK 0x1000 /* OUT3_MONO */
- #define ARIZONA_OUT3_MONO_SHIFT 12 /* OUT3_MONO */
- #define ARIZONA_OUT3_MONO_WIDTH 1 /* OUT3_MONO */
- #define ARIZONA_OUT3L_ANC_SRC_MASK 0x0C00 /* OUT3L_ANC_SRC - [11:10] */
- #define ARIZONA_OUT3L_ANC_SRC_SHIFT 10 /* OUT3L_ANC_SRC - [11:10] */
- #define ARIZONA_OUT3L_ANC_SRC_WIDTH 2 /* OUT3L_ANC_SRC - [11:10] */
- #define ARIZONA_OUT3L_PGA_VOL_MASK 0x00FE /* OUT3L_PGA_VOL - [7:1] */
- #define ARIZONA_OUT3L_PGA_VOL_SHIFT 1 /* OUT3L_PGA_VOL - [7:1] */
- #define ARIZONA_OUT3L_PGA_VOL_WIDTH 7 /* OUT3L_PGA_VOL - [7:1] */
- /*
- * R1057 (0x421) - DAC Digital Volume 3L
- */
- #define ARIZONA_OUT_VU 0x0200 /* OUT_VU */
- #define ARIZONA_OUT_VU_MASK 0x0200 /* OUT_VU */
- #define ARIZONA_OUT_VU_SHIFT 9 /* OUT_VU */
- #define ARIZONA_OUT_VU_WIDTH 1 /* OUT_VU */
- #define ARIZONA_OUT3L_MUTE 0x0100 /* OUT3L_MUTE */
- #define ARIZONA_OUT3L_MUTE_MASK 0x0100 /* OUT3L_MUTE */
- #define ARIZONA_OUT3L_MUTE_SHIFT 8 /* OUT3L_MUTE */
- #define ARIZONA_OUT3L_MUTE_WIDTH 1 /* OUT3L_MUTE */
- #define ARIZONA_OUT3L_VOL_MASK 0x00FF /* OUT3L_VOL - [7:0] */
- #define ARIZONA_OUT3L_VOL_SHIFT 0 /* OUT3L_VOL - [7:0] */
- #define ARIZONA_OUT3L_VOL_WIDTH 8 /* OUT3L_VOL - [7:0] */
- /*
- * R1058 (0x422) - DAC Volume Limit 3L
- */
- #define ARIZONA_OUT3L_VOL_LIM_MASK 0x00FF /* OUT3L_VOL_LIM - [7:0] */
- #define ARIZONA_OUT3L_VOL_LIM_SHIFT 0 /* OUT3L_VOL_LIM - [7:0] */
- #define ARIZONA_OUT3L_VOL_LIM_WIDTH 8 /* OUT3L_VOL_LIM - [7:0] */
- /*
- * R1059 (0x423) - Noise Gate Select 3L
- */
- #define ARIZONA_OUT3_NGATE_SRC_MASK 0x0FFF /* OUT3_NGATE_SRC - [11:0] */
- #define ARIZONA_OUT3_NGATE_SRC_SHIFT 0 /* OUT3_NGATE_SRC - [11:0] */
- #define ARIZONA_OUT3_NGATE_SRC_WIDTH 12 /* OUT3_NGATE_SRC - [11:0] */
- /*
- * R1060 (0x424) - Output Path Config 3R
- */
- #define ARIZONA_OUT3R_PGA_VOL_MASK 0x00FE /* OUT3R_PGA_VOL - [7:1] */
- #define ARIZONA_OUT3R_PGA_VOL_SHIFT 1 /* OUT3R_PGA_VOL - [7:1] */
- #define ARIZONA_OUT3R_PGA_VOL_WIDTH 7 /* OUT3R_PGA_VOL - [7:1] */
- /*
- * R1061 (0x425) - DAC Digital Volume 3R
- */
- #define ARIZONA_OUT_VU 0x0200 /* OUT_VU */
- #define ARIZONA_OUT_VU_MASK 0x0200 /* OUT_VU */
- #define ARIZONA_OUT_VU_SHIFT 9 /* OUT_VU */
- #define ARIZONA_OUT_VU_WIDTH 1 /* OUT_VU */
- #define ARIZONA_OUT3R_MUTE 0x0100 /* OUT3R_MUTE */
- #define ARIZONA_OUT3R_MUTE_MASK 0x0100 /* OUT3R_MUTE */
- #define ARIZONA_OUT3R_MUTE_SHIFT 8 /* OUT3R_MUTE */
- #define ARIZONA_OUT3R_MUTE_WIDTH 1 /* OUT3R_MUTE */
- #define ARIZONA_OUT3R_VOL_MASK 0x00FF /* OUT3R_VOL - [7:0] */
- #define ARIZONA_OUT3R_VOL_SHIFT 0 /* OUT3R_VOL - [7:0] */
- #define ARIZONA_OUT3R_VOL_WIDTH 8 /* OUT3R_VOL - [7:0] */
- /*
- * R1062 (0x426) - DAC Volume Limit 3R
- */
- #define ARIZONA_OUT3R_ANC_SRC_MASK 0x0C00 /* OUT3R_ANC_SRC - [11:10] */
- #define ARIZONA_OUT3R_ANC_SRC_SHIFT 10 /* OUT3R_ANC_SRC - [11:10] */
- #define ARIZONA_OUT3R_ANC_SRC_WIDTH 2 /* OUT3R_ANC_SRC - [11:10] */
- #define ARIZONA_OUT3R_VOL_LIM_MASK 0x00FF /* OUT3R_VOL_LIM - [7:0] */
- #define ARIZONA_OUT3R_VOL_LIM_SHIFT 0 /* OUT3R_VOL_LIM - [7:0] */
- #define ARIZONA_OUT3R_VOL_LIM_WIDTH 8 /* OUT3R_VOL_LIM - [7:0] */
- /*
- * R1064 (0x428) - Output Path Config 4L
- */
- #define ARIZONA_OUT4_OSR 0x2000 /* OUT4_OSR */
- #define ARIZONA_OUT4_OSR_MASK 0x2000 /* OUT4_OSR */
- #define ARIZONA_OUT4_OSR_SHIFT 13 /* OUT4_OSR */
- #define ARIZONA_OUT4_OSR_WIDTH 1 /* OUT4_OSR */
- #define ARIZONA_OUT4L_ANC_SRC_MASK 0x0C00 /* OUT4L_ANC_SRC - [11:10] */
- #define ARIZONA_OUT4L_ANC_SRC_SHIFT 10 /* OUT4L_ANC_SRC - [11:10] */
- #define ARIZONA_OUT4L_ANC_SRC_WIDTH 2 /* OUT4L_ANC_SRC - [11:10] */
- /*
- * R1065 (0x429) - DAC Digital Volume 4L
- */
- #define ARIZONA_OUT_VU 0x0200 /* OUT_VU */
- #define ARIZONA_OUT_VU_MASK 0x0200 /* OUT_VU */
- #define ARIZONA_OUT_VU_SHIFT 9 /* OUT_VU */
- #define ARIZONA_OUT_VU_WIDTH 1 /* OUT_VU */
- #define ARIZONA_OUT4L_MUTE 0x0100 /* OUT4L_MUTE */
- #define ARIZONA_OUT4L_MUTE_MASK 0x0100 /* OUT4L_MUTE */
- #define ARIZONA_OUT4L_MUTE_SHIFT 8 /* OUT4L_MUTE */
- #define ARIZONA_OUT4L_MUTE_WIDTH 1 /* OUT4L_MUTE */
- #define ARIZONA_OUT4L_VOL_MASK 0x00FF /* OUT4L_VOL - [7:0] */
- #define ARIZONA_OUT4L_VOL_SHIFT 0 /* OUT4L_VOL - [7:0] */
- #define ARIZONA_OUT4L_VOL_WIDTH 8 /* OUT4L_VOL - [7:0] */
- /*
- * R1066 (0x42A) - Out Volume 4L
- */
- #define ARIZONA_OUT4L_VOL_LIM_MASK 0x00FF /* OUT4L_VOL_LIM - [7:0] */
- #define ARIZONA_OUT4L_VOL_LIM_SHIFT 0 /* OUT4L_VOL_LIM - [7:0] */
- #define ARIZONA_OUT4L_VOL_LIM_WIDTH 8 /* OUT4L_VOL_LIM - [7:0] */
- /*
- * R1067 (0x42B) - Noise Gate Select 4L
- */
- #define ARIZONA_OUT4L_NGATE_SRC_MASK 0x0FFF /* OUT4L_NGATE_SRC - [11:0] */
- #define ARIZONA_OUT4L_NGATE_SRC_SHIFT 0 /* OUT4L_NGATE_SRC - [11:0] */
- #define ARIZONA_OUT4L_NGATE_SRC_WIDTH 12 /* OUT4L_NGATE_SRC - [11:0] */
- /*
- * R1068 (0x42C) - Output Path Config 4R
- */
- #define ARIZONA_OUT4R_ANC_SRC_MASK 0x0C00 /* OUT4R_ANC_SRC - [11:10] */
- #define ARIZONA_OUT4R_ANC_SRC_SHIFT 10 /* OUT4R_ANC_SRC - [11:10] */
- #define ARIZONA_OUT4R_ANC_SRC_WIDTH 2 /* OUT4R_ANC_SRC - [11:10] */
- /*
- * R1069 (0x42D) - DAC Digital Volume 4R
- */
- #define ARIZONA_OUT_VU 0x0200 /* OUT_VU */
- #define ARIZONA_OUT_VU_MASK 0x0200 /* OUT_VU */
- #define ARIZONA_OUT_VU_SHIFT 9 /* OUT_VU */
- #define ARIZONA_OUT_VU_WIDTH 1 /* OUT_VU */
- #define ARIZONA_OUT4R_MUTE 0x0100 /* OUT4R_MUTE */
- #define ARIZONA_OUT4R_MUTE_MASK 0x0100 /* OUT4R_MUTE */
- #define ARIZONA_OUT4R_MUTE_SHIFT 8 /* OUT4R_MUTE */
- #define ARIZONA_OUT4R_MUTE_WIDTH 1 /* OUT4R_MUTE */
- #define ARIZONA_OUT4R_VOL_MASK 0x00FF /* OUT4R_VOL - [7:0] */
- #define ARIZONA_OUT4R_VOL_SHIFT 0 /* OUT4R_VOL - [7:0] */
- #define ARIZONA_OUT4R_VOL_WIDTH 8 /* OUT4R_VOL - [7:0] */
- /*
- * R1070 (0x42E) - Out Volume 4R
- */
- #define ARIZONA_OUT4R_VOL_LIM_MASK 0x00FF /* OUT4R_VOL_LIM - [7:0] */
- #define ARIZONA_OUT4R_VOL_LIM_SHIFT 0 /* OUT4R_VOL_LIM - [7:0] */
- #define ARIZONA_OUT4R_VOL_LIM_WIDTH 8 /* OUT4R_VOL_LIM - [7:0] */
- /*
- * R1071 (0x42F) - Noise Gate Select 4R
- */
- #define ARIZONA_OUT4R_NGATE_SRC_MASK 0x0FFF /* OUT4R_NGATE_SRC - [11:0] */
- #define ARIZONA_OUT4R_NGATE_SRC_SHIFT 0 /* OUT4R_NGATE_SRC - [11:0] */
- #define ARIZONA_OUT4R_NGATE_SRC_WIDTH 12 /* OUT4R_NGATE_SRC - [11:0] */
- /*
- * R1072 (0x430) - Output Path Config 5L
- */
- #define ARIZONA_OUT5_OSR 0x2000 /* OUT5_OSR */
- #define ARIZONA_OUT5_OSR_MASK 0x2000 /* OUT5_OSR */
- #define ARIZONA_OUT5_OSR_SHIFT 13 /* OUT5_OSR */
- #define ARIZONA_OUT5_OSR_WIDTH 1 /* OUT5_OSR */
- #define ARIZONA_OUT5L_ANC_SRC_MASK 0x0C00 /* OUT5L_ANC_SRC - [11:10] */
- #define ARIZONA_OUT5L_ANC_SRC_SHIFT 10 /* OUT5L_ANC_SRC - [11:10] */
- #define ARIZONA_OUT5L_ANC_SRC_WIDTH 2 /* OUT5L_ANC_SRC - [11:10] */
- /*
- * R1073 (0x431) - DAC Digital Volume 5L
- */
- #define ARIZONA_OUT_VU 0x0200 /* OUT_VU */
- #define ARIZONA_OUT_VU_MASK 0x0200 /* OUT_VU */
- #define ARIZONA_OUT_VU_SHIFT 9 /* OUT_VU */
- #define ARIZONA_OUT_VU_WIDTH 1 /* OUT_VU */
- #define ARIZONA_OUT5L_MUTE 0x0100 /* OUT5L_MUTE */
- #define ARIZONA_OUT5L_MUTE_MASK 0x0100 /* OUT5L_MUTE */
- #define ARIZONA_OUT5L_MUTE_SHIFT 8 /* OUT5L_MUTE */
- #define ARIZONA_OUT5L_MUTE_WIDTH 1 /* OUT5L_MUTE */
- #define ARIZONA_OUT5L_VOL_MASK 0x00FF /* OUT5L_VOL - [7:0] */
- #define ARIZONA_OUT5L_VOL_SHIFT 0 /* OUT5L_VOL - [7:0] */
- #define ARIZONA_OUT5L_VOL_WIDTH 8 /* OUT5L_VOL - [7:0] */
- /*
- * R1074 (0x432) - DAC Volume Limit 5L
- */
- #define ARIZONA_OUT5L_VOL_LIM_MASK 0x00FF /* OUT5L_VOL_LIM - [7:0] */
- #define ARIZONA_OUT5L_VOL_LIM_SHIFT 0 /* OUT5L_VOL_LIM - [7:0] */
- #define ARIZONA_OUT5L_VOL_LIM_WIDTH 8 /* OUT5L_VOL_LIM - [7:0] */
- /*
- * R1075 (0x433) - Noise Gate Select 5L
- */
- #define ARIZONA_OUT5L_NGATE_SRC_MASK 0x0FFF /* OUT5L_NGATE_SRC - [11:0] */
- #define ARIZONA_OUT5L_NGATE_SRC_SHIFT 0 /* OUT5L_NGATE_SRC - [11:0] */
- #define ARIZONA_OUT5L_NGATE_SRC_WIDTH 12 /* OUT5L_NGATE_SRC - [11:0] */
- /*
- * R1076 (0x434) - Output Path Config 5R
- */
- #define ARIZONA_OUT5R_ANC_SRC_MASK 0x0C00 /* OUT5R_ANC_SRC - [11:10] */
- #define ARIZONA_OUT5R_ANC_SRC_SHIFT 10 /* OUT5R_ANC_SRC - [11:10] */
- #define ARIZONA_OUT5R_ANC_SRC_WIDTH 2 /* OUT5R_ANC_SRC - [11:10] */
- /*
- * R1077 (0x435) - DAC Digital Volume 5R
- */
- #define ARIZONA_OUT_VU 0x0200 /* OUT_VU */
- #define ARIZONA_OUT_VU_MASK 0x0200 /* OUT_VU */
- #define ARIZONA_OUT_VU_SHIFT 9 /* OUT_VU */
- #define ARIZONA_OUT_VU_WIDTH 1 /* OUT_VU */
- #define ARIZONA_OUT5R_MUTE 0x0100 /* OUT5R_MUTE */
- #define ARIZONA_OUT5R_MUTE_MASK 0x0100 /* OUT5R_MUTE */
- #define ARIZONA_OUT5R_MUTE_SHIFT 8 /* OUT5R_MUTE */
- #define ARIZONA_OUT5R_MUTE_WIDTH 1 /* OUT5R_MUTE */
- #define ARIZONA_OUT5R_VOL_MASK 0x00FF /* OUT5R_VOL - [7:0] */
- #define ARIZONA_OUT5R_VOL_SHIFT 0 /* OUT5R_VOL - [7:0] */
- #define ARIZONA_OUT5R_VOL_WIDTH 8 /* OUT5R_VOL - [7:0] */
- /*
- * R1078 (0x436) - DAC Volume Limit 5R
- */
- #define ARIZONA_OUT5R_VOL_LIM_MASK 0x00FF /* OUT5R_VOL_LIM - [7:0] */
- #define ARIZONA_OUT5R_VOL_LIM_SHIFT 0 /* OUT5R_VOL_LIM - [7:0] */
- #define ARIZONA_OUT5R_VOL_LIM_WIDTH 8 /* OUT5R_VOL_LIM - [7:0] */
- /*
- * R1079 (0x437) - Noise Gate Select 5R
- */
- #define ARIZONA_OUT5R_NGATE_SRC_MASK 0x0FFF /* OUT5R_NGATE_SRC - [11:0] */
- #define ARIZONA_OUT5R_NGATE_SRC_SHIFT 0 /* OUT5R_NGATE_SRC - [11:0] */
- #define ARIZONA_OUT5R_NGATE_SRC_WIDTH 12 /* OUT5R_NGATE_SRC - [11:0] */
- /*
- * R1080 (0x438) - Output Path Config 6L
- */
- #define ARIZONA_OUT6_OSR 0x2000 /* OUT6_OSR */
- #define ARIZONA_OUT6_OSR_MASK 0x2000 /* OUT6_OSR */
- #define ARIZONA_OUT6_OSR_SHIFT 13 /* OUT6_OSR */
- #define ARIZONA_OUT6_OSR_WIDTH 1 /* OUT6_OSR */
- #define ARIZONA_OUT6L_ANC_SRC_MASK 0x0C00 /* OUT6L_ANC_SRC - [11:10] */
- #define ARIZONA_OUT6L_ANC_SRC_SHIFT 10 /* OUT6L_ANC_SRC - [11:10] */
- #define ARIZONA_OUT6L_ANC_SRC_WIDTH 2 /* OUT6L_ANC_SRC - [11:10] */
- /*
- * R1081 (0x439) - DAC Digital Volume 6L
- */
- #define ARIZONA_OUT_VU 0x0200 /* OUT_VU */
- #define ARIZONA_OUT_VU_MASK 0x0200 /* OUT_VU */
- #define ARIZONA_OUT_VU_SHIFT 9 /* OUT_VU */
- #define ARIZONA_OUT_VU_WIDTH 1 /* OUT_VU */
- #define ARIZONA_OUT6L_MUTE 0x0100 /* OUT6L_MUTE */
- #define ARIZONA_OUT6L_MUTE_MASK 0x0100 /* OUT6L_MUTE */
- #define ARIZONA_OUT6L_MUTE_SHIFT 8 /* OUT6L_MUTE */
- #define ARIZONA_OUT6L_MUTE_WIDTH 1 /* OUT6L_MUTE */
- #define ARIZONA_OUT6L_VOL_MASK 0x00FF /* OUT6L_VOL - [7:0] */
- #define ARIZONA_OUT6L_VOL_SHIFT 0 /* OUT6L_VOL - [7:0] */
- #define ARIZONA_OUT6L_VOL_WIDTH 8 /* OUT6L_VOL - [7:0] */
- /*
- * R1082 (0x43A) - DAC Volume Limit 6L
- */
- #define ARIZONA_OUT6L_VOL_LIM_MASK 0x00FF /* OUT6L_VOL_LIM - [7:0] */
- #define ARIZONA_OUT6L_VOL_LIM_SHIFT 0 /* OUT6L_VOL_LIM - [7:0] */
- #define ARIZONA_OUT6L_VOL_LIM_WIDTH 8 /* OUT6L_VOL_LIM - [7:0] */
- /*
- * R1083 (0x43B) - Noise Gate Select 6L
- */
- #define ARIZONA_OUT6L_NGATE_SRC_MASK 0x0FFF /* OUT6L_NGATE_SRC - [11:0] */
- #define ARIZONA_OUT6L_NGATE_SRC_SHIFT 0 /* OUT6L_NGATE_SRC - [11:0] */
- #define ARIZONA_OUT6L_NGATE_SRC_WIDTH 12 /* OUT6L_NGATE_SRC - [11:0] */
- /*
- * R1084 (0x43C) - Output Path Config 6R
- */
- #define ARIZONA_OUT6R_ANC_SRC_MASK 0x0C00 /* OUT6R_ANC_SRC - [11:10] */
- #define ARIZONA_OUT6R_ANC_SRC_SHIFT 10 /* OUT6R_ANC_SRC - [11:10] */
- #define ARIZONA_OUT6R_ANC_SRC_WIDTH 2 /* OUT6R_ANC_SRC - [11:10] */
- /*
- * R1085 (0x43D) - DAC Digital Volume 6R
- */
- #define ARIZONA_OUT_VU 0x0200 /* OUT_VU */
- #define ARIZONA_OUT_VU_MASK 0x0200 /* OUT_VU */
- #define ARIZONA_OUT_VU_SHIFT 9 /* OUT_VU */
- #define ARIZONA_OUT_VU_WIDTH 1 /* OUT_VU */
- #define ARIZONA_OUT6R_MUTE 0x0100 /* OUT6R_MUTE */
- #define ARIZONA_OUT6R_MUTE_MASK 0x0100 /* OUT6R_MUTE */
- #define ARIZONA_OUT6R_MUTE_SHIFT 8 /* OUT6R_MUTE */
- #define ARIZONA_OUT6R_MUTE_WIDTH 1 /* OUT6R_MUTE */
- #define ARIZONA_OUT6R_VOL_MASK 0x00FF /* OUT6R_VOL - [7:0] */
- #define ARIZONA_OUT6R_VOL_SHIFT 0 /* OUT6R_VOL - [7:0] */
- #define ARIZONA_OUT6R_VOL_WIDTH 8 /* OUT6R_VOL - [7:0] */
- /*
- * R1086 (0x43E) - DAC Volume Limit 6R
- */
- #define ARIZONA_OUT6R_VOL_LIM_MASK 0x00FF /* OUT6R_VOL_LIM - [7:0] */
- #define ARIZONA_OUT6R_VOL_LIM_SHIFT 0 /* OUT6R_VOL_LIM - [7:0] */
- #define ARIZONA_OUT6R_VOL_LIM_WIDTH 8 /* OUT6R_VOL_LIM - [7:0] */
- /*
- * R1087 (0x43F) - Noise Gate Select 6R
- */
- #define ARIZONA_OUT6R_NGATE_SRC_MASK 0x0FFF /* OUT6R_NGATE_SRC - [11:0] */
- #define ARIZONA_OUT6R_NGATE_SRC_SHIFT 0 /* OUT6R_NGATE_SRC - [11:0] */
- #define ARIZONA_OUT6R_NGATE_SRC_WIDTH 12 /* OUT6R_NGATE_SRC - [11:0] */
- /*
- * R1088 (0x440) - DRE Enable
- */
- #define ARIZONA_DRE3R_ENA 0x0020 /* DRE3R_ENA */
- #define ARIZONA_DRE3R_ENA_MASK 0x0020 /* DRE3R_ENA */
- #define ARIZONA_DRE3R_ENA_SHIFT 5 /* DRE3R_ENA */
- #define ARIZONA_DRE3R_ENA_WIDTH 1 /* DRE3R_ENA */
- #define ARIZONA_DRE3L_ENA 0x0010 /* DRE3L_ENA */
- #define ARIZONA_DRE3L_ENA_MASK 0x0010 /* DRE3L_ENA */
- #define ARIZONA_DRE3L_ENA_SHIFT 4 /* DRE3L_ENA */
- #define ARIZONA_DRE3L_ENA_WIDTH 1 /* DRE3L_ENA */
- #define ARIZONA_DRE2R_ENA 0x0008 /* DRE2R_ENA */
- #define ARIZONA_DRE2R_ENA_MASK 0x0008 /* DRE2R_ENA */
- #define ARIZONA_DRE2R_ENA_SHIFT 3 /* DRE2R_ENA */
- #define ARIZONA_DRE2R_ENA_WIDTH 1 /* DRE2R_ENA */
- #define ARIZONA_DRE2L_ENA 0x0004 /* DRE2L_ENA */
- #define ARIZONA_DRE2L_ENA_MASK 0x0004 /* DRE2L_ENA */
- #define ARIZONA_DRE2L_ENA_SHIFT 2 /* DRE2L_ENA */
- #define ARIZONA_DRE2L_ENA_WIDTH 1 /* DRE2L_ENA */
- #define ARIZONA_DRE1R_ENA 0x0002 /* DRE1R_ENA */
- #define ARIZONA_DRE1R_ENA_MASK 0x0002 /* DRE1R_ENA */
- #define ARIZONA_DRE1R_ENA_SHIFT 1 /* DRE1R_ENA */
- #define ARIZONA_DRE1R_ENA_WIDTH 1 /* DRE1R_ENA */
- #define ARIZONA_DRE1L_ENA 0x0001 /* DRE1L_ENA */
- #define ARIZONA_DRE1L_ENA_MASK 0x0001 /* DRE1L_ENA */
- #define ARIZONA_DRE1L_ENA_SHIFT 0 /* DRE1L_ENA */
- #define ARIZONA_DRE1L_ENA_WIDTH 1 /* DRE1L_ENA */
- /*
- * R1088 (0x440) - DRE Enable (WM8998)
- */
- #define WM8998_DRE3L_ENA 0x0020 /* DRE3L_ENA */
- #define WM8998_DRE3L_ENA_MASK 0x0020 /* DRE3L_ENA */
- #define WM8998_DRE3L_ENA_SHIFT 5 /* DRE3L_ENA */
- #define WM8998_DRE3L_ENA_WIDTH 1 /* DRE3L_ENA */
- #define WM8998_DRE2L_ENA 0x0008 /* DRE2L_ENA */
- #define WM8998_DRE2L_ENA_MASK 0x0008 /* DRE2L_ENA */
- #define WM8998_DRE2L_ENA_SHIFT 3 /* DRE2L_ENA */
- #define WM8998_DRE2L_ENA_WIDTH 1 /* DRE2L_ENA */
- #define WM8998_DRE2R_ENA 0x0004 /* DRE2R_ENA */
- #define WM8998_DRE2R_ENA_MASK 0x0004 /* DRE2R_ENA */
- #define WM8998_DRE2R_ENA_SHIFT 2 /* DRE2R_ENA */
- #define WM8998_DRE2R_ENA_WIDTH 1 /* DRE2R_ENA */
- #define WM8998_DRE1L_ENA 0x0002 /* DRE1L_ENA */
- #define WM8998_DRE1L_ENA_MASK 0x0002 /* DRE1L_ENA */
- #define WM8998_DRE1L_ENA_SHIFT 1 /* DRE1L_ENA */
- #define WM8998_DRE1L_ENA_WIDTH 1 /* DRE1L_ENA */
- #define WM8998_DRE1R_ENA 0x0001 /* DRE1R_ENA */
- #define WM8998_DRE1R_ENA_MASK 0x0001 /* DRE1R_ENA */
- #define WM8998_DRE1R_ENA_SHIFT 0 /* DRE1R_ENA */
- #define WM8998_DRE1R_ENA_WIDTH 1 /* DRE1R_ENA */
- /*
- * R1089 (0x441) - DRE Control 1
- */
- #define ARIZONA_DRE_ENV_TC_FAST_MASK 0x0F00 /* DRE_ENV_TC_FAST - [11:8] */
- #define ARIZONA_DRE_ENV_TC_FAST_SHIFT 8 /* DRE_ENV_TC_FAST - [11:8] */
- #define ARIZONA_DRE_ENV_TC_FAST_WIDTH 4 /* DRE_ENV_TC_FAST - [11:8] */
- /*
- * R1090 (0x442) - DRE Control 2
- */
- #define ARIZONA_DRE_T_LOW_MASK 0x3F00 /* DRE_T_LOW - [13:8] */
- #define ARIZONA_DRE_T_LOW_SHIFT 8 /* DRE_T_LOW - [13:8] */
- #define ARIZONA_DRE_T_LOW_WIDTH 6 /* DRE_T_LOW - [13:8] */
- #define ARIZONA_DRE_ALOG_VOL_DELAY_MASK 0x000F /* DRE_ALOG_VOL_DELAY - [3:0] */
- #define ARIZONA_DRE_ALOG_VOL_DELAY_SHIFT 0 /* DRE_ALOG_VOL_DELAY - [3:0] */
- #define ARIZONA_DRE_ALOG_VOL_DELAY_WIDTH 4 /* DRE_ALOG_VOL_DELAY - [3:0] */
- /*
- * R1091 (0x443) - DRE Control 3
- */
- #define ARIZONA_DRE_GAIN_SHIFT_MASK 0xC000 /* DRE_GAIN_SHIFT - [15:14] */
- #define ARIZONA_DRE_GAIN_SHIFT_SHIFT 14 /* DRE_GAIN_SHIFT - [15:14] */
- #define ARIZONA_DRE_GAIN_SHIFT_WIDTH 2 /* DRE_GAIN_SHIFT - [15:14] */
- #define ARIZONA_DRE_LOW_LEVEL_ABS_MASK 0x000F /* LOW_LEVEL_ABS - [3:0] */
- #define ARIZONA_DRE_LOW_LEVEL_ABS_SHIFT 0 /* LOW_LEVEL_ABS - [3:0] */
- #define ARIZONA_DRE_LOW_LEVEL_ABS_WIDTH 4 /* LOW_LEVEL_ABS - [3:0] */
- /* R486 (0x448) - EDRE_Enable
- */
- #define ARIZONA_EDRE_OUT4L_THR2_ENA 0x0200 /* EDRE_OUT4L_THR2_ENA */
- #define ARIZONA_EDRE_OUT4L_THR2_ENA_MASK 0x0200 /* EDRE_OUT4L_THR2_ENA */
- #define ARIZONA_EDRE_OUT4L_THR2_ENA_SHIFT 9 /* EDRE_OUT4L_THR2_ENA */
- #define ARIZONA_EDRE_OUT4L_THR2_ENA_WIDTH 1 /* EDRE_OUT4L_THR2_ENA */
- #define ARIZONA_EDRE_OUT4R_THR2_ENA 0x0100 /* EDRE_OUT4R_THR2_ENA */
- #define ARIZONA_EDRE_OUT4R_THR2_ENA_MASK 0x0100 /* EDRE_OUT4R_THR2_ENA */
- #define ARIZONA_EDRE_OUT4R_THR2_ENA_SHIFT 8 /* EDRE_OUT4R_THR2_ENA */
- #define ARIZONA_EDRE_OUT4R_THR2_ENA_WIDTH 1 /* EDRE_OUT4R_THR2_ENA */
- #define ARIZONA_EDRE_OUT4L_THR1_ENA 0x0080 /* EDRE_OUT4L_THR1_ENA */
- #define ARIZONA_EDRE_OUT4L_THR1_ENA_MASK 0x0080 /* EDRE_OUT4L_THR1_ENA */
- #define ARIZONA_EDRE_OUT4L_THR1_ENA_SHIFT 7 /* EDRE_OUT4L_THR1_ENA */
- #define ARIZONA_EDRE_OUT4L_THR1_ENA_WIDTH 1 /* EDRE_OUT4L_THR1_ENA */
- #define ARIZONA_EDRE_OUT4R_THR1_ENA 0x0040 /* EDRE_OUT4R_THR1_ENA */
- #define ARIZONA_EDRE_OUT4R_THR1_ENA_MASK 0x0040 /* EDRE_OUT4R_THR1_ENA */
- #define ARIZONA_EDRE_OUT4R_THR1_ENA_SHIFT 6 /* EDRE_OUT4R_THR1_ENA */
- #define ARIZONA_EDRE_OUT4R_THR1_ENA_WIDTH 1 /* EDRE_OUT4R_THR1_ENA */
- #define ARIZONA_EDRE_OUT3L_THR1_ENA 0x0020 /* EDRE_OUT3L_THR1_ENA */
- #define ARIZONA_EDRE_OUT3L_THR1_ENA_MASK 0x0020 /* EDRE_OUT3L_THR1_ENA */
- #define ARIZONA_EDRE_OUT3L_THR1_ENA_SHIFT 5 /* EDRE_OUT3L_THR1_ENA */
- #define ARIZONA_EDRE_OUT3L_THR1_ENA_WIDTH 1 /* EDRE_OUT3L_THR1_ENA */
- #define ARIZONA_EDRE_OUT3R_THR1_ENA 0x0010 /* EDRE_OUT3R_THR1_ENA */
- #define ARIZONA_EDRE_OUT3R_THR1_ENA_MASK 0x0010 /* EDRE_OUT3R_THR1_ENA */
- #define ARIZONA_EDRE_OUT3R_THR1_ENA_SHIFT 4 /* EDRE_OUT3R_THR1_ENA */
- #define ARIZONA_EDRE_OUT3R_THR1_ENA_WIDTH 1 /* EDRE_OUT3R_THR1_ENA */
- #define ARIZONA_EDRE_OUT2L_THR1_ENA 0x0008 /* EDRE_OUT2L_THR1_ENA */
- #define ARIZONA_EDRE_OUT2L_THR1_ENA_MASK 0x0008 /* EDRE_OUT2L_THR1_ENA */
- #define ARIZONA_EDRE_OUT2L_THR1_ENA_SHIFT 3 /* EDRE_OUT2L_THR1_ENA */
- #define ARIZONA_EDRE_OUT2L_THR1_ENA_WIDTH 1 /* EDRE_OUT2L_THR1_ENA */
- #define ARIZONA_EDRE_OUT2R_THR1_ENA 0x0004 /* EDRE_OUT2R_THR1_ENA */
- #define ARIZONA_EDRE_OUT2R_THR1_ENA_MASK 0x0004 /* EDRE_OUT2R_THR1_ENA */
- #define ARIZONA_EDRE_OUT2R_THR1_ENA_SHIFT 2 /* EDRE_OUT2R_THR1_ENA */
- #define ARIZONA_EDRE_OUT2R_THR1_ENA_WIDTH 1 /* EDRE_OUT2R_THR1_ENA */
- #define ARIZONA_EDRE_OUT1L_THR1_ENA 0x0002 /* EDRE_OUT1L_THR1_ENA */
- #define ARIZONA_EDRE_OUT1L_THR1_ENA_MASK 0x0002 /* EDRE_OUT1L_THR1_ENA */
- #define ARIZONA_EDRE_OUT1L_THR1_ENA_SHIFT 1 /* EDRE_OUT1L_THR1_ENA */
- #define ARIZONA_EDRE_OUT1L_THR1_ENA_WIDTH 1 /* EDRE_OUT1L_THR1_ENA */
- #define ARIZONA_EDRE_OUT1R_THR1_ENA 0x0001 /* EDRE_OUT1R_THR1_ENA */
- #define ARIZONA_EDRE_OUT1R_THR1_ENA_MASK 0x0001 /* EDRE_OUT1R_THR1_ENA */
- #define ARIZONA_EDRE_OUT1R_THR1_ENA_SHIFT 0 /* EDRE_OUT1R_THR1_ENA */
- #define ARIZONA_EDRE_OUT1R_THR1_ENA_WIDTH 1 /* EDRE_OUT1R_THR1_ENA */
- /*
- * R1104 (0x450) - DAC AEC Control 1
- */
- #define ARIZONA_AEC_LOOPBACK_SRC_MASK 0x003C /* AEC_LOOPBACK_SRC - [5:2] */
- #define ARIZONA_AEC_LOOPBACK_SRC_SHIFT 2 /* AEC_LOOPBACK_SRC - [5:2] */
- #define ARIZONA_AEC_LOOPBACK_SRC_WIDTH 4 /* AEC_LOOPBACK_SRC - [5:2] */
- #define ARIZONA_AEC_ENA_STS 0x0002 /* AEC_ENA_STS */
- #define ARIZONA_AEC_ENA_STS_MASK 0x0002 /* AEC_ENA_STS */
- #define ARIZONA_AEC_ENA_STS_SHIFT 1 /* AEC_ENA_STS */
- #define ARIZONA_AEC_ENA_STS_WIDTH 1 /* AEC_ENA_STS */
- #define ARIZONA_AEC_LOOPBACK_ENA 0x0001 /* AEC_LOOPBACK_ENA */
- #define ARIZONA_AEC_LOOPBACK_ENA_MASK 0x0001 /* AEC_LOOPBACK_ENA */
- #define ARIZONA_AEC_LOOPBACK_ENA_SHIFT 0 /* AEC_LOOPBACK_ENA */
- #define ARIZONA_AEC_LOOPBACK_ENA_WIDTH 1 /* AEC_LOOPBACK_ENA */
- /*
- * R1112 (0x458) - Noise Gate Control
- */
- #define ARIZONA_NGATE_HOLD_MASK 0x0030 /* NGATE_HOLD - [5:4] */
- #define ARIZONA_NGATE_HOLD_SHIFT 4 /* NGATE_HOLD - [5:4] */
- #define ARIZONA_NGATE_HOLD_WIDTH 2 /* NGATE_HOLD - [5:4] */
- #define ARIZONA_NGATE_THR_MASK 0x000E /* NGATE_THR - [3:1] */
- #define ARIZONA_NGATE_THR_SHIFT 1 /* NGATE_THR - [3:1] */
- #define ARIZONA_NGATE_THR_WIDTH 3 /* NGATE_THR - [3:1] */
- #define ARIZONA_NGATE_ENA 0x0001 /* NGATE_ENA */
- #define ARIZONA_NGATE_ENA_MASK 0x0001 /* NGATE_ENA */
- #define ARIZONA_NGATE_ENA_SHIFT 0 /* NGATE_ENA */
- #define ARIZONA_NGATE_ENA_WIDTH 1 /* NGATE_ENA */
- /*
- * R1168 (0x490) - PDM SPK1 CTRL 1
- */
- #define ARIZONA_SPK1R_MUTE 0x2000 /* SPK1R_MUTE */
- #define ARIZONA_SPK1R_MUTE_MASK 0x2000 /* SPK1R_MUTE */
- #define ARIZONA_SPK1R_MUTE_SHIFT 13 /* SPK1R_MUTE */
- #define ARIZONA_SPK1R_MUTE_WIDTH 1 /* SPK1R_MUTE */
- #define ARIZONA_SPK1L_MUTE 0x1000 /* SPK1L_MUTE */
- #define ARIZONA_SPK1L_MUTE_MASK 0x1000 /* SPK1L_MUTE */
- #define ARIZONA_SPK1L_MUTE_SHIFT 12 /* SPK1L_MUTE */
- #define ARIZONA_SPK1L_MUTE_WIDTH 1 /* SPK1L_MUTE */
- #define ARIZONA_SPK1_MUTE_ENDIAN 0x0100 /* SPK1_MUTE_ENDIAN */
- #define ARIZONA_SPK1_MUTE_ENDIAN_MASK 0x0100 /* SPK1_MUTE_ENDIAN */
- #define ARIZONA_SPK1_MUTE_ENDIAN_SHIFT 8 /* SPK1_MUTE_ENDIAN */
- #define ARIZONA_SPK1_MUTE_ENDIAN_WIDTH 1 /* SPK1_MUTE_ENDIAN */
- #define ARIZONA_SPK1_MUTE_SEQ1_MASK 0x00FF /* SPK1_MUTE_SEQ1 - [7:0] */
- #define ARIZONA_SPK1_MUTE_SEQ1_SHIFT 0 /* SPK1_MUTE_SEQ1 - [7:0] */
- #define ARIZONA_SPK1_MUTE_SEQ1_WIDTH 8 /* SPK1_MUTE_SEQ1 - [7:0] */
- /*
- * R1169 (0x491) - PDM SPK1 CTRL 2
- */
- #define ARIZONA_SPK1_FMT 0x0001 /* SPK1_FMT */
- #define ARIZONA_SPK1_FMT_MASK 0x0001 /* SPK1_FMT */
- #define ARIZONA_SPK1_FMT_SHIFT 0 /* SPK1_FMT */
- #define ARIZONA_SPK1_FMT_WIDTH 1 /* SPK1_FMT */
- /*
- * R1170 (0x492) - PDM SPK2 CTRL 1
- */
- #define ARIZONA_SPK2R_MUTE 0x2000 /* SPK2R_MUTE */
- #define ARIZONA_SPK2R_MUTE_MASK 0x2000 /* SPK2R_MUTE */
- #define ARIZONA_SPK2R_MUTE_SHIFT 13 /* SPK2R_MUTE */
- #define ARIZONA_SPK2R_MUTE_WIDTH 1 /* SPK2R_MUTE */
- #define ARIZONA_SPK2L_MUTE 0x1000 /* SPK2L_MUTE */
- #define ARIZONA_SPK2L_MUTE_MASK 0x1000 /* SPK2L_MUTE */
- #define ARIZONA_SPK2L_MUTE_SHIFT 12 /* SPK2L_MUTE */
- #define ARIZONA_SPK2L_MUTE_WIDTH 1 /* SPK2L_MUTE */
- #define ARIZONA_SPK2_MUTE_ENDIAN 0x0100 /* SPK2_MUTE_ENDIAN */
- #define ARIZONA_SPK2_MUTE_ENDIAN_MASK 0x0100 /* SPK2_MUTE_ENDIAN */
- #define ARIZONA_SPK2_MUTE_ENDIAN_SHIFT 8 /* SPK2_MUTE_ENDIAN */
- #define ARIZONA_SPK2_MUTE_ENDIAN_WIDTH 1 /* SPK2_MUTE_ENDIAN */
- #define ARIZONA_SPK2_MUTE_SEQ_MASK 0x00FF /* SPK2_MUTE_SEQ - [7:0] */
- #define ARIZONA_SPK2_MUTE_SEQ_SHIFT 0 /* SPK2_MUTE_SEQ - [7:0] */
- #define ARIZONA_SPK2_MUTE_SEQ_WIDTH 8 /* SPK2_MUTE_SEQ - [7:0] */
- /*
- * R1171 (0x493) - PDM SPK2 CTRL 2
- */
- #define ARIZONA_SPK2_FMT 0x0001 /* SPK2_FMT */
- #define ARIZONA_SPK2_FMT_MASK 0x0001 /* SPK2_FMT */
- #define ARIZONA_SPK2_FMT_SHIFT 0 /* SPK2_FMT */
- #define ARIZONA_SPK2_FMT_WIDTH 1 /* SPK2_FMT */
- /*
- * R1184 (0x4A0) - HP1 Short Circuit Ctrl
- */
- #define ARIZONA_HP1_SC_ENA 0x1000 /* HP1_SC_ENA */
- #define ARIZONA_HP1_SC_ENA_MASK 0x1000 /* HP1_SC_ENA */
- #define ARIZONA_HP1_SC_ENA_SHIFT 12 /* HP1_SC_ENA */
- #define ARIZONA_HP1_SC_ENA_WIDTH 1 /* HP1_SC_ENA */
- /*
- * R1185 (0x4A1) - HP2 Short Circuit Ctrl
- */
- #define ARIZONA_HP2_SC_ENA 0x1000 /* HP2_SC_ENA */
- #define ARIZONA_HP2_SC_ENA_MASK 0x1000 /* HP2_SC_ENA */
- #define ARIZONA_HP2_SC_ENA_SHIFT 12 /* HP2_SC_ENA */
- #define ARIZONA_HP2_SC_ENA_WIDTH 1 /* HP2_SC_ENA */
- /*
- * R1186 (0x4A2) - HP3 Short Circuit Ctrl
- */
- #define ARIZONA_HP3_SC_ENA 0x1000 /* HP3_SC_ENA */
- #define ARIZONA_HP3_SC_ENA_MASK 0x1000 /* HP3_SC_ENA */
- #define ARIZONA_HP3_SC_ENA_SHIFT 12 /* HP3_SC_ENA */
- #define ARIZONA_HP3_SC_ENA_WIDTH 1 /* HP3_SC_ENA */
- /*
- * R1188 (0x4A4) HP Test Ctrl 1
- */
- #define ARIZONA_HP1_TST_CAP_SEL_MASK 0x0003 /* HP1_TST_CAP_SEL - [1:0] */
- #define ARIZONA_HP1_TST_CAP_SEL_SHIFT 0 /* HP1_TST_CAP_SEL - [1:0] */
- #define ARIZONA_HP1_TST_CAP_SEL_WIDTH 2 /* HP1_TST_CAP_SEL - [1:0] */
- /*
- * R1244 (0x4DC) - DAC comp 1
- */
- #define ARIZONA_OUT_COMP_COEFF_MASK 0xFFFF /* OUT_COMP_COEFF - [15:0] */
- #define ARIZONA_OUT_COMP_COEFF_SHIFT 0 /* OUT_COMP_COEFF - [15:0] */
- #define ARIZONA_OUT_COMP_COEFF_WIDTH 16 /* OUT_COMP_COEFF - [15:0] */
- /*
- * R1245 (0x4DD) - DAC comp 2
- */
- #define ARIZONA_OUT_COMP_COEFF_1 0x0002 /* OUT_COMP_COEFF */
- #define ARIZONA_OUT_COMP_COEFF_1_MASK 0x0002 /* OUT_COMP_COEFF */
- #define ARIZONA_OUT_COMP_COEFF_1_SHIFT 1 /* OUT_COMP_COEFF */
- #define ARIZONA_OUT_COMP_COEFF_1_WIDTH 1 /* OUT_COMP_COEFF */
- #define ARIZONA_OUT_COMP_COEFF_SEL 0x0001 /* OUT_COMP_COEFF_SEL */
- #define ARIZONA_OUT_COMP_COEFF_SEL_MASK 0x0001 /* OUT_COMP_COEFF_SEL */
- #define ARIZONA_OUT_COMP_COEFF_SEL_SHIFT 0 /* OUT_COMP_COEFF_SEL */
- #define ARIZONA_OUT_COMP_COEFF_SEL_WIDTH 1 /* OUT_COMP_COEFF_SEL */
- /*
- * R1246 (0x4DE) - DAC comp 3
- */
- #define ARIZONA_AEC_COMP_COEFF_MASK 0xFFFF /* AEC_COMP_COEFF - [15:0] */
- #define ARIZONA_AEC_COMP_COEFF_SHIFT 0 /* AEC_COMP_COEFF - [15:0] */
- #define ARIZONA_AEC_COMP_COEFF_WIDTH 16 /* AEC_COMP_COEFF - [15:0] */
- /*
- * R1247 (0x4DF) - DAC comp 4
- */
- #define ARIZONA_AEC_COMP_COEFF_1 0x0002 /* AEC_COMP_COEFF */
- #define ARIZONA_AEC_COMP_COEFF_1_MASK 0x0002 /* AEC_COMP_COEFF */
- #define ARIZONA_AEC_COMP_COEFF_1_SHIFT 1 /* AEC_COMP_COEFF */
- #define ARIZONA_AEC_COMP_COEFF_1_WIDTH 1 /* AEC_COMP_COEFF */
- #define ARIZONA_AEC_COMP_COEFF_SEL 0x0001 /* AEC_COMP_COEFF_SEL */
- #define ARIZONA_AEC_COMP_COEFF_SEL_MASK 0x0001 /* AEC_COMP_COEFF_SEL */
- #define ARIZONA_AEC_COMP_COEFF_SEL_SHIFT 0 /* AEC_COMP_COEFF_SEL */
- #define ARIZONA_AEC_COMP_COEFF_SEL_WIDTH 1 /* AEC_COMP_COEFF_SEL */
- /*
- * R1280 (0x500) - AIF1 BCLK Ctrl
- */
- #define ARIZONA_AIF1_BCLK_INV 0x0080 /* AIF1_BCLK_INV */
- #define ARIZONA_AIF1_BCLK_INV_MASK 0x0080 /* AIF1_BCLK_INV */
- #define ARIZONA_AIF1_BCLK_INV_SHIFT 7 /* AIF1_BCLK_INV */
- #define ARIZONA_AIF1_BCLK_INV_WIDTH 1 /* AIF1_BCLK_INV */
- #define ARIZONA_AIF1_BCLK_FRC 0x0040 /* AIF1_BCLK_FRC */
- #define ARIZONA_AIF1_BCLK_FRC_MASK 0x0040 /* AIF1_BCLK_FRC */
- #define ARIZONA_AIF1_BCLK_FRC_SHIFT 6 /* AIF1_BCLK_FRC */
- #define ARIZONA_AIF1_BCLK_FRC_WIDTH 1 /* AIF1_BCLK_FRC */
- #define ARIZONA_AIF1_BCLK_MSTR 0x0020 /* AIF1_BCLK_MSTR */
- #define ARIZONA_AIF1_BCLK_MSTR_MASK 0x0020 /* AIF1_BCLK_MSTR */
- #define ARIZONA_AIF1_BCLK_MSTR_SHIFT 5 /* AIF1_BCLK_MSTR */
- #define ARIZONA_AIF1_BCLK_MSTR_WIDTH 1 /* AIF1_BCLK_MSTR */
- #define ARIZONA_AIF1_BCLK_FREQ_MASK 0x001F /* AIF1_BCLK_FREQ - [4:0] */
- #define ARIZONA_AIF1_BCLK_FREQ_SHIFT 0 /* AIF1_BCLK_FREQ - [4:0] */
- #define ARIZONA_AIF1_BCLK_FREQ_WIDTH 5 /* AIF1_BCLK_FREQ - [4:0] */
- /*
- * R1281 (0x501) - AIF1 Tx Pin Ctrl
- */
- #define ARIZONA_AIF1TX_DAT_TRI 0x0020 /* AIF1TX_DAT_TRI */
- #define ARIZONA_AIF1TX_DAT_TRI_MASK 0x0020 /* AIF1TX_DAT_TRI */
- #define ARIZONA_AIF1TX_DAT_TRI_SHIFT 5 /* AIF1TX_DAT_TRI */
- #define ARIZONA_AIF1TX_DAT_TRI_WIDTH 1 /* AIF1TX_DAT_TRI */
- #define ARIZONA_AIF1TX_LRCLK_SRC 0x0008 /* AIF1TX_LRCLK_SRC */
- #define ARIZONA_AIF1TX_LRCLK_SRC_MASK 0x0008 /* AIF1TX_LRCLK_SRC */
- #define ARIZONA_AIF1TX_LRCLK_SRC_SHIFT 3 /* AIF1TX_LRCLK_SRC */
- #define ARIZONA_AIF1TX_LRCLK_SRC_WIDTH 1 /* AIF1TX_LRCLK_SRC */
- #define ARIZONA_AIF1TX_LRCLK_INV 0x0004 /* AIF1TX_LRCLK_INV */
- #define ARIZONA_AIF1TX_LRCLK_INV_MASK 0x0004 /* AIF1TX_LRCLK_INV */
- #define ARIZONA_AIF1TX_LRCLK_INV_SHIFT 2 /* AIF1TX_LRCLK_INV */
- #define ARIZONA_AIF1TX_LRCLK_INV_WIDTH 1 /* AIF1TX_LRCLK_INV */
- #define ARIZONA_AIF1TX_LRCLK_FRC 0x0002 /* AIF1TX_LRCLK_FRC */
- #define ARIZONA_AIF1TX_LRCLK_FRC_MASK 0x0002 /* AIF1TX_LRCLK_FRC */
- #define ARIZONA_AIF1TX_LRCLK_FRC_SHIFT 1 /* AIF1TX_LRCLK_FRC */
- #define ARIZONA_AIF1TX_LRCLK_FRC_WIDTH 1 /* AIF1TX_LRCLK_FRC */
- #define ARIZONA_AIF1TX_LRCLK_MSTR 0x0001 /* AIF1TX_LRCLK_MSTR */
- #define ARIZONA_AIF1TX_LRCLK_MSTR_MASK 0x0001 /* AIF1TX_LRCLK_MSTR */
- #define ARIZONA_AIF1TX_LRCLK_MSTR_SHIFT 0 /* AIF1TX_LRCLK_MSTR */
- #define ARIZONA_AIF1TX_LRCLK_MSTR_WIDTH 1 /* AIF1TX_LRCLK_MSTR */
- /*
- * R1282 (0x502) - AIF1 Rx Pin Ctrl
- */
- #define ARIZONA_AIF1RX_LRCLK_INV 0x0004 /* AIF1RX_LRCLK_INV */
- #define ARIZONA_AIF1RX_LRCLK_INV_MASK 0x0004 /* AIF1RX_LRCLK_INV */
- #define ARIZONA_AIF1RX_LRCLK_INV_SHIFT 2 /* AIF1RX_LRCLK_INV */
- #define ARIZONA_AIF1RX_LRCLK_INV_WIDTH 1 /* AIF1RX_LRCLK_INV */
- #define ARIZONA_AIF1RX_LRCLK_FRC 0x0002 /* AIF1RX_LRCLK_FRC */
- #define ARIZONA_AIF1RX_LRCLK_FRC_MASK 0x0002 /* AIF1RX_LRCLK_FRC */
- #define ARIZONA_AIF1RX_LRCLK_FRC_SHIFT 1 /* AIF1RX_LRCLK_FRC */
- #define ARIZONA_AIF1RX_LRCLK_FRC_WIDTH 1 /* AIF1RX_LRCLK_FRC */
- #define ARIZONA_AIF1RX_LRCLK_MSTR 0x0001 /* AIF1RX_LRCLK_MSTR */
- #define ARIZONA_AIF1RX_LRCLK_MSTR_MASK 0x0001 /* AIF1RX_LRCLK_MSTR */
- #define ARIZONA_AIF1RX_LRCLK_MSTR_SHIFT 0 /* AIF1RX_LRCLK_MSTR */
- #define ARIZONA_AIF1RX_LRCLK_MSTR_WIDTH 1 /* AIF1RX_LRCLK_MSTR */
- /*
- * R1283 (0x503) - AIF1 Rate Ctrl
- */
- #define ARIZONA_AIF1_RATE_MASK 0x7800 /* AIF1_RATE - [14:11] */
- #define ARIZONA_AIF1_RATE_SHIFT 11 /* AIF1_RATE - [14:11] */
- #define ARIZONA_AIF1_RATE_WIDTH 4 /* AIF1_RATE - [14:11] */
- #define ARIZONA_AIF1_TRI 0x0040 /* AIF1_TRI */
- #define ARIZONA_AIF1_TRI_MASK 0x0040 /* AIF1_TRI */
- #define ARIZONA_AIF1_TRI_SHIFT 6 /* AIF1_TRI */
- #define ARIZONA_AIF1_TRI_WIDTH 1 /* AIF1_TRI */
- /*
- * R1284 (0x504) - AIF1 Format
- */
- #define ARIZONA_AIF1_FMT_MASK 0x0007 /* AIF1_FMT - [2:0] */
- #define ARIZONA_AIF1_FMT_SHIFT 0 /* AIF1_FMT - [2:0] */
- #define ARIZONA_AIF1_FMT_WIDTH 3 /* AIF1_FMT - [2:0] */
- /*
- * R1285 (0x505) - AIF1 Tx BCLK Rate
- */
- #define ARIZONA_AIF1TX_BCPF_MASK 0x1FFF /* AIF1TX_BCPF - [12:0] */
- #define ARIZONA_AIF1TX_BCPF_SHIFT 0 /* AIF1TX_BCPF - [12:0] */
- #define ARIZONA_AIF1TX_BCPF_WIDTH 13 /* AIF1TX_BCPF - [12:0] */
- /*
- * R1286 (0x506) - AIF1 Rx BCLK Rate
- */
- #define ARIZONA_AIF1RX_BCPF_MASK 0x1FFF /* AIF1RX_BCPF - [12:0] */
- #define ARIZONA_AIF1RX_BCPF_SHIFT 0 /* AIF1RX_BCPF - [12:0] */
- #define ARIZONA_AIF1RX_BCPF_WIDTH 13 /* AIF1RX_BCPF - [12:0] */
- /*
- * R1287 (0x507) - AIF1 Frame Ctrl 1
- */
- #define ARIZONA_AIF1TX_WL_MASK 0x3F00 /* AIF1TX_WL - [13:8] */
- #define ARIZONA_AIF1TX_WL_SHIFT 8 /* AIF1TX_WL - [13:8] */
- #define ARIZONA_AIF1TX_WL_WIDTH 6 /* AIF1TX_WL - [13:8] */
- #define ARIZONA_AIF1TX_SLOT_LEN_MASK 0x00FF /* AIF1TX_SLOT_LEN - [7:0] */
- #define ARIZONA_AIF1TX_SLOT_LEN_SHIFT 0 /* AIF1TX_SLOT_LEN - [7:0] */
- #define ARIZONA_AIF1TX_SLOT_LEN_WIDTH 8 /* AIF1TX_SLOT_LEN - [7:0] */
- /*
- * R1288 (0x508) - AIF1 Frame Ctrl 2
- */
- #define ARIZONA_AIF1RX_WL_MASK 0x3F00 /* AIF1RX_WL - [13:8] */
- #define ARIZONA_AIF1RX_WL_SHIFT 8 /* AIF1RX_WL - [13:8] */
- #define ARIZONA_AIF1RX_WL_WIDTH 6 /* AIF1RX_WL - [13:8] */
- #define ARIZONA_AIF1RX_SLOT_LEN_MASK 0x00FF /* AIF1RX_SLOT_LEN - [7:0] */
- #define ARIZONA_AIF1RX_SLOT_LEN_SHIFT 0 /* AIF1RX_SLOT_LEN - [7:0] */
- #define ARIZONA_AIF1RX_SLOT_LEN_WIDTH 8 /* AIF1RX_SLOT_LEN - [7:0] */
- /*
- * R1289 (0x509) - AIF1 Frame Ctrl 3
- */
- #define ARIZONA_AIF1TX1_SLOT_MASK 0x003F /* AIF1TX1_SLOT - [5:0] */
- #define ARIZONA_AIF1TX1_SLOT_SHIFT 0 /* AIF1TX1_SLOT - [5:0] */
- #define ARIZONA_AIF1TX1_SLOT_WIDTH 6 /* AIF1TX1_SLOT - [5:0] */
- /*
- * R1290 (0x50A) - AIF1 Frame Ctrl 4
- */
- #define ARIZONA_AIF1TX2_SLOT_MASK 0x003F /* AIF1TX2_SLOT - [5:0] */
- #define ARIZONA_AIF1TX2_SLOT_SHIFT 0 /* AIF1TX2_SLOT - [5:0] */
- #define ARIZONA_AIF1TX2_SLOT_WIDTH 6 /* AIF1TX2_SLOT - [5:0] */
- /*
- * R1291 (0x50B) - AIF1 Frame Ctrl 5
- */
- #define ARIZONA_AIF1TX3_SLOT_MASK 0x003F /* AIF1TX3_SLOT - [5:0] */
- #define ARIZONA_AIF1TX3_SLOT_SHIFT 0 /* AIF1TX3_SLOT - [5:0] */
- #define ARIZONA_AIF1TX3_SLOT_WIDTH 6 /* AIF1TX3_SLOT - [5:0] */
- /*
- * R1292 (0x50C) - AIF1 Frame Ctrl 6
- */
- #define ARIZONA_AIF1TX4_SLOT_MASK 0x003F /* AIF1TX4_SLOT - [5:0] */
- #define ARIZONA_AIF1TX4_SLOT_SHIFT 0 /* AIF1TX4_SLOT - [5:0] */
- #define ARIZONA_AIF1TX4_SLOT_WIDTH 6 /* AIF1TX4_SLOT - [5:0] */
- /*
- * R1293 (0x50D) - AIF1 Frame Ctrl 7
- */
- #define ARIZONA_AIF1TX5_SLOT_MASK 0x003F /* AIF1TX5_SLOT - [5:0] */
- #define ARIZONA_AIF1TX5_SLOT_SHIFT 0 /* AIF1TX5_SLOT - [5:0] */
- #define ARIZONA_AIF1TX5_SLOT_WIDTH 6 /* AIF1TX5_SLOT - [5:0] */
- /*
- * R1294 (0x50E) - AIF1 Frame Ctrl 8
- */
- #define ARIZONA_AIF1TX6_SLOT_MASK 0x003F /* AIF1TX6_SLOT - [5:0] */
- #define ARIZONA_AIF1TX6_SLOT_SHIFT 0 /* AIF1TX6_SLOT - [5:0] */
- #define ARIZONA_AIF1TX6_SLOT_WIDTH 6 /* AIF1TX6_SLOT - [5:0] */
- /*
- * R1295 (0x50F) - AIF1 Frame Ctrl 9
- */
- #define ARIZONA_AIF1TX7_SLOT_MASK 0x003F /* AIF1TX7_SLOT - [5:0] */
- #define ARIZONA_AIF1TX7_SLOT_SHIFT 0 /* AIF1TX7_SLOT - [5:0] */
- #define ARIZONA_AIF1TX7_SLOT_WIDTH 6 /* AIF1TX7_SLOT - [5:0] */
- /*
- * R1296 (0x510) - AIF1 Frame Ctrl 10
- */
- #define ARIZONA_AIF1TX8_SLOT_MASK 0x003F /* AIF1TX8_SLOT - [5:0] */
- #define ARIZONA_AIF1TX8_SLOT_SHIFT 0 /* AIF1TX8_SLOT - [5:0] */
- #define ARIZONA_AIF1TX8_SLOT_WIDTH 6 /* AIF1TX8_SLOT - [5:0] */
- /*
- * R1297 (0x511) - AIF1 Frame Ctrl 11
- */
- #define ARIZONA_AIF1RX1_SLOT_MASK 0x003F /* AIF1RX1_SLOT - [5:0] */
- #define ARIZONA_AIF1RX1_SLOT_SHIFT 0 /* AIF1RX1_SLOT - [5:0] */
- #define ARIZONA_AIF1RX1_SLOT_WIDTH 6 /* AIF1RX1_SLOT - [5:0] */
- /*
- * R1298 (0x512) - AIF1 Frame Ctrl 12
- */
- #define ARIZONA_AIF1RX2_SLOT_MASK 0x003F /* AIF1RX2_SLOT - [5:0] */
- #define ARIZONA_AIF1RX2_SLOT_SHIFT 0 /* AIF1RX2_SLOT - [5:0] */
- #define ARIZONA_AIF1RX2_SLOT_WIDTH 6 /* AIF1RX2_SLOT - [5:0] */
- /*
- * R1299 (0x513) - AIF1 Frame Ctrl 13
- */
- #define ARIZONA_AIF1RX3_SLOT_MASK 0x003F /* AIF1RX3_SLOT - [5:0] */
- #define ARIZONA_AIF1RX3_SLOT_SHIFT 0 /* AIF1RX3_SLOT - [5:0] */
- #define ARIZONA_AIF1RX3_SLOT_WIDTH 6 /* AIF1RX3_SLOT - [5:0] */
- /*
- * R1300 (0x514) - AIF1 Frame Ctrl 14
- */
- #define ARIZONA_AIF1RX4_SLOT_MASK 0x003F /* AIF1RX4_SLOT - [5:0] */
- #define ARIZONA_AIF1RX4_SLOT_SHIFT 0 /* AIF1RX4_SLOT - [5:0] */
- #define ARIZONA_AIF1RX4_SLOT_WIDTH 6 /* AIF1RX4_SLOT - [5:0] */
- /*
- * R1301 (0x515) - AIF1 Frame Ctrl 15
- */
- #define ARIZONA_AIF1RX5_SLOT_MASK 0x003F /* AIF1RX5_SLOT - [5:0] */
- #define ARIZONA_AIF1RX5_SLOT_SHIFT 0 /* AIF1RX5_SLOT - [5:0] */
- #define ARIZONA_AIF1RX5_SLOT_WIDTH 6 /* AIF1RX5_SLOT - [5:0] */
- /*
- * R1302 (0x516) - AIF1 Frame Ctrl 16
- */
- #define ARIZONA_AIF1RX6_SLOT_MASK 0x003F /* AIF1RX6_SLOT - [5:0] */
- #define ARIZONA_AIF1RX6_SLOT_SHIFT 0 /* AIF1RX6_SLOT - [5:0] */
- #define ARIZONA_AIF1RX6_SLOT_WIDTH 6 /* AIF1RX6_SLOT - [5:0] */
- /*
- * R1303 (0x517) - AIF1 Frame Ctrl 17
- */
- #define ARIZONA_AIF1RX7_SLOT_MASK 0x003F /* AIF1RX7_SLOT - [5:0] */
- #define ARIZONA_AIF1RX7_SLOT_SHIFT 0 /* AIF1RX7_SLOT - [5:0] */
- #define ARIZONA_AIF1RX7_SLOT_WIDTH 6 /* AIF1RX7_SLOT - [5:0] */
- /*
- * R1304 (0x518) - AIF1 Frame Ctrl 18
- */
- #define ARIZONA_AIF1RX8_SLOT_MASK 0x003F /* AIF1RX8_SLOT - [5:0] */
- #define ARIZONA_AIF1RX8_SLOT_SHIFT 0 /* AIF1RX8_SLOT - [5:0] */
- #define ARIZONA_AIF1RX8_SLOT_WIDTH 6 /* AIF1RX8_SLOT - [5:0] */
- /*
- * R1305 (0x519) - AIF1 Tx Enables
- */
- #define ARIZONA_AIF1TX8_ENA 0x0080 /* AIF1TX8_ENA */
- #define ARIZONA_AIF1TX8_ENA_MASK 0x0080 /* AIF1TX8_ENA */
- #define ARIZONA_AIF1TX8_ENA_SHIFT 7 /* AIF1TX8_ENA */
- #define ARIZONA_AIF1TX8_ENA_WIDTH 1 /* AIF1TX8_ENA */
- #define ARIZONA_AIF1TX7_ENA 0x0040 /* AIF1TX7_ENA */
- #define ARIZONA_AIF1TX7_ENA_MASK 0x0040 /* AIF1TX7_ENA */
- #define ARIZONA_AIF1TX7_ENA_SHIFT 6 /* AIF1TX7_ENA */
- #define ARIZONA_AIF1TX7_ENA_WIDTH 1 /* AIF1TX7_ENA */
- #define ARIZONA_AIF1TX6_ENA 0x0020 /* AIF1TX6_ENA */
- #define ARIZONA_AIF1TX6_ENA_MASK 0x0020 /* AIF1TX6_ENA */
- #define ARIZONA_AIF1TX6_ENA_SHIFT 5 /* AIF1TX6_ENA */
- #define ARIZONA_AIF1TX6_ENA_WIDTH 1 /* AIF1TX6_ENA */
- #define ARIZONA_AIF1TX5_ENA 0x0010 /* AIF1TX5_ENA */
- #define ARIZONA_AIF1TX5_ENA_MASK 0x0010 /* AIF1TX5_ENA */
- #define ARIZONA_AIF1TX5_ENA_SHIFT 4 /* AIF1TX5_ENA */
- #define ARIZONA_AIF1TX5_ENA_WIDTH 1 /* AIF1TX5_ENA */
- #define ARIZONA_AIF1TX4_ENA 0x0008 /* AIF1TX4_ENA */
- #define ARIZONA_AIF1TX4_ENA_MASK 0x0008 /* AIF1TX4_ENA */
- #define ARIZONA_AIF1TX4_ENA_SHIFT 3 /* AIF1TX4_ENA */
- #define ARIZONA_AIF1TX4_ENA_WIDTH 1 /* AIF1TX4_ENA */
- #define ARIZONA_AIF1TX3_ENA 0x0004 /* AIF1TX3_ENA */
- #define ARIZONA_AIF1TX3_ENA_MASK 0x0004 /* AIF1TX3_ENA */
- #define ARIZONA_AIF1TX3_ENA_SHIFT 2 /* AIF1TX3_ENA */
- #define ARIZONA_AIF1TX3_ENA_WIDTH 1 /* AIF1TX3_ENA */
- #define ARIZONA_AIF1TX2_ENA 0x0002 /* AIF1TX2_ENA */
- #define ARIZONA_AIF1TX2_ENA_MASK 0x0002 /* AIF1TX2_ENA */
- #define ARIZONA_AIF1TX2_ENA_SHIFT 1 /* AIF1TX2_ENA */
- #define ARIZONA_AIF1TX2_ENA_WIDTH 1 /* AIF1TX2_ENA */
- #define ARIZONA_AIF1TX1_ENA 0x0001 /* AIF1TX1_ENA */
- #define ARIZONA_AIF1TX1_ENA_MASK 0x0001 /* AIF1TX1_ENA */
- #define ARIZONA_AIF1TX1_ENA_SHIFT 0 /* AIF1TX1_ENA */
- #define ARIZONA_AIF1TX1_ENA_WIDTH 1 /* AIF1TX1_ENA */
- /*
- * R1306 (0x51A) - AIF1 Rx Enables
- */
- #define ARIZONA_AIF1RX8_ENA 0x0080 /* AIF1RX8_ENA */
- #define ARIZONA_AIF1RX8_ENA_MASK 0x0080 /* AIF1RX8_ENA */
- #define ARIZONA_AIF1RX8_ENA_SHIFT 7 /* AIF1RX8_ENA */
- #define ARIZONA_AIF1RX8_ENA_WIDTH 1 /* AIF1RX8_ENA */
- #define ARIZONA_AIF1RX7_ENA 0x0040 /* AIF1RX7_ENA */
- #define ARIZONA_AIF1RX7_ENA_MASK 0x0040 /* AIF1RX7_ENA */
- #define ARIZONA_AIF1RX7_ENA_SHIFT 6 /* AIF1RX7_ENA */
- #define ARIZONA_AIF1RX7_ENA_WIDTH 1 /* AIF1RX7_ENA */
- #define ARIZONA_AIF1RX6_ENA 0x0020 /* AIF1RX6_ENA */
- #define ARIZONA_AIF1RX6_ENA_MASK 0x0020 /* AIF1RX6_ENA */
- #define ARIZONA_AIF1RX6_ENA_SHIFT 5 /* AIF1RX6_ENA */
- #define ARIZONA_AIF1RX6_ENA_WIDTH 1 /* AIF1RX6_ENA */
- #define ARIZONA_AIF1RX5_ENA 0x0010 /* AIF1RX5_ENA */
- #define ARIZONA_AIF1RX5_ENA_MASK 0x0010 /* AIF1RX5_ENA */
- #define ARIZONA_AIF1RX5_ENA_SHIFT 4 /* AIF1RX5_ENA */
- #define ARIZONA_AIF1RX5_ENA_WIDTH 1 /* AIF1RX5_ENA */
- #define ARIZONA_AIF1RX4_ENA 0x0008 /* AIF1RX4_ENA */
- #define ARIZONA_AIF1RX4_ENA_MASK 0x0008 /* AIF1RX4_ENA */
- #define ARIZONA_AIF1RX4_ENA_SHIFT 3 /* AIF1RX4_ENA */
- #define ARIZONA_AIF1RX4_ENA_WIDTH 1 /* AIF1RX4_ENA */
- #define ARIZONA_AIF1RX3_ENA 0x0004 /* AIF1RX3_ENA */
- #define ARIZONA_AIF1RX3_ENA_MASK 0x0004 /* AIF1RX3_ENA */
- #define ARIZONA_AIF1RX3_ENA_SHIFT 2 /* AIF1RX3_ENA */
- #define ARIZONA_AIF1RX3_ENA_WIDTH 1 /* AIF1RX3_ENA */
- #define ARIZONA_AIF1RX2_ENA 0x0002 /* AIF1RX2_ENA */
- #define ARIZONA_AIF1RX2_ENA_MASK 0x0002 /* AIF1RX2_ENA */
- #define ARIZONA_AIF1RX2_ENA_SHIFT 1 /* AIF1RX2_ENA */
- #define ARIZONA_AIF1RX2_ENA_WIDTH 1 /* AIF1RX2_ENA */
- #define ARIZONA_AIF1RX1_ENA 0x0001 /* AIF1RX1_ENA */
- #define ARIZONA_AIF1RX1_ENA_MASK 0x0001 /* AIF1RX1_ENA */
- #define ARIZONA_AIF1RX1_ENA_SHIFT 0 /* AIF1RX1_ENA */
- #define ARIZONA_AIF1RX1_ENA_WIDTH 1 /* AIF1RX1_ENA */
- /*
- * R1307 (0x51B) - AIF1 Force Write
- */
- #define ARIZONA_AIF1_FRC_WR 0x0001 /* AIF1_FRC_WR */
- #define ARIZONA_AIF1_FRC_WR_MASK 0x0001 /* AIF1_FRC_WR */
- #define ARIZONA_AIF1_FRC_WR_SHIFT 0 /* AIF1_FRC_WR */
- #define ARIZONA_AIF1_FRC_WR_WIDTH 1 /* AIF1_FRC_WR */
- /*
- * R1344 (0x540) - AIF2 BCLK Ctrl
- */
- #define ARIZONA_AIF2_BCLK_INV 0x0080 /* AIF2_BCLK_INV */
- #define ARIZONA_AIF2_BCLK_INV_MASK 0x0080 /* AIF2_BCLK_INV */
- #define ARIZONA_AIF2_BCLK_INV_SHIFT 7 /* AIF2_BCLK_INV */
- #define ARIZONA_AIF2_BCLK_INV_WIDTH 1 /* AIF2_BCLK_INV */
- #define ARIZONA_AIF2_BCLK_FRC 0x0040 /* AIF2_BCLK_FRC */
- #define ARIZONA_AIF2_BCLK_FRC_MASK 0x0040 /* AIF2_BCLK_FRC */
- #define ARIZONA_AIF2_BCLK_FRC_SHIFT 6 /* AIF2_BCLK_FRC */
- #define ARIZONA_AIF2_BCLK_FRC_WIDTH 1 /* AIF2_BCLK_FRC */
- #define ARIZONA_AIF2_BCLK_MSTR 0x0020 /* AIF2_BCLK_MSTR */
- #define ARIZONA_AIF2_BCLK_MSTR_MASK 0x0020 /* AIF2_BCLK_MSTR */
- #define ARIZONA_AIF2_BCLK_MSTR_SHIFT 5 /* AIF2_BCLK_MSTR */
- #define ARIZONA_AIF2_BCLK_MSTR_WIDTH 1 /* AIF2_BCLK_MSTR */
- #define ARIZONA_AIF2_BCLK_FREQ_MASK 0x001F /* AIF2_BCLK_FREQ - [4:0] */
- #define ARIZONA_AIF2_BCLK_FREQ_SHIFT 0 /* AIF2_BCLK_FREQ - [4:0] */
- #define ARIZONA_AIF2_BCLK_FREQ_WIDTH 5 /* AIF2_BCLK_FREQ - [4:0] */
- /*
- * R1345 (0x541) - AIF2 Tx Pin Ctrl
- */
- #define ARIZONA_AIF2TX_DAT_TRI 0x0020 /* AIF2TX_DAT_TRI */
- #define ARIZONA_AIF2TX_DAT_TRI_MASK 0x0020 /* AIF2TX_DAT_TRI */
- #define ARIZONA_AIF2TX_DAT_TRI_SHIFT 5 /* AIF2TX_DAT_TRI */
- #define ARIZONA_AIF2TX_DAT_TRI_WIDTH 1 /* AIF2TX_DAT_TRI */
- #define ARIZONA_AIF2TX_LRCLK_SRC 0x0008 /* AIF2TX_LRCLK_SRC */
- #define ARIZONA_AIF2TX_LRCLK_SRC_MASK 0x0008 /* AIF2TX_LRCLK_SRC */
- #define ARIZONA_AIF2TX_LRCLK_SRC_SHIFT 3 /* AIF2TX_LRCLK_SRC */
- #define ARIZONA_AIF2TX_LRCLK_SRC_WIDTH 1 /* AIF2TX_LRCLK_SRC */
- #define ARIZONA_AIF2TX_LRCLK_INV 0x0004 /* AIF2TX_LRCLK_INV */
- #define ARIZONA_AIF2TX_LRCLK_INV_MASK 0x0004 /* AIF2TX_LRCLK_INV */
- #define ARIZONA_AIF2TX_LRCLK_INV_SHIFT 2 /* AIF2TX_LRCLK_INV */
- #define ARIZONA_AIF2TX_LRCLK_INV_WIDTH 1 /* AIF2TX_LRCLK_INV */
- #define ARIZONA_AIF2TX_LRCLK_FRC 0x0002 /* AIF2TX_LRCLK_FRC */
- #define ARIZONA_AIF2TX_LRCLK_FRC_MASK 0x0002 /* AIF2TX_LRCLK_FRC */
- #define ARIZONA_AIF2TX_LRCLK_FRC_SHIFT 1 /* AIF2TX_LRCLK_FRC */
- #define ARIZONA_AIF2TX_LRCLK_FRC_WIDTH 1 /* AIF2TX_LRCLK_FRC */
- #define ARIZONA_AIF2TX_LRCLK_MSTR 0x0001 /* AIF2TX_LRCLK_MSTR */
- #define ARIZONA_AIF2TX_LRCLK_MSTR_MASK 0x0001 /* AIF2TX_LRCLK_MSTR */
- #define ARIZONA_AIF2TX_LRCLK_MSTR_SHIFT 0 /* AIF2TX_LRCLK_MSTR */
- #define ARIZONA_AIF2TX_LRCLK_MSTR_WIDTH 1 /* AIF2TX_LRCLK_MSTR */
- /*
- * R1346 (0x542) - AIF2 Rx Pin Ctrl
- */
- #define ARIZONA_AIF2RX_LRCLK_INV 0x0004 /* AIF2RX_LRCLK_INV */
- #define ARIZONA_AIF2RX_LRCLK_INV_MASK 0x0004 /* AIF2RX_LRCLK_INV */
- #define ARIZONA_AIF2RX_LRCLK_INV_SHIFT 2 /* AIF2RX_LRCLK_INV */
- #define ARIZONA_AIF2RX_LRCLK_INV_WIDTH 1 /* AIF2RX_LRCLK_INV */
- #define ARIZONA_AIF2RX_LRCLK_FRC 0x0002 /* AIF2RX_LRCLK_FRC */
- #define ARIZONA_AIF2RX_LRCLK_FRC_MASK 0x0002 /* AIF2RX_LRCLK_FRC */
- #define ARIZONA_AIF2RX_LRCLK_FRC_SHIFT 1 /* AIF2RX_LRCLK_FRC */
- #define ARIZONA_AIF2RX_LRCLK_FRC_WIDTH 1 /* AIF2RX_LRCLK_FRC */
- #define ARIZONA_AIF2RX_LRCLK_MSTR 0x0001 /* AIF2RX_LRCLK_MSTR */
- #define ARIZONA_AIF2RX_LRCLK_MSTR_MASK 0x0001 /* AIF2RX_LRCLK_MSTR */
- #define ARIZONA_AIF2RX_LRCLK_MSTR_SHIFT 0 /* AIF2RX_LRCLK_MSTR */
- #define ARIZONA_AIF2RX_LRCLK_MSTR_WIDTH 1 /* AIF2RX_LRCLK_MSTR */
- /*
- * R1347 (0x543) - AIF2 Rate Ctrl
- */
- #define ARIZONA_AIF2_RATE_MASK 0x7800 /* AIF2_RATE - [14:11] */
- #define ARIZONA_AIF2_RATE_SHIFT 11 /* AIF2_RATE - [14:11] */
- #define ARIZONA_AIF2_RATE_WIDTH 4 /* AIF2_RATE - [14:11] */
- #define ARIZONA_AIF2_TRI 0x0040 /* AIF2_TRI */
- #define ARIZONA_AIF2_TRI_MASK 0x0040 /* AIF2_TRI */
- #define ARIZONA_AIF2_TRI_SHIFT 6 /* AIF2_TRI */
- #define ARIZONA_AIF2_TRI_WIDTH 1 /* AIF2_TRI */
- /*
- * R1348 (0x544) - AIF2 Format
- */
- #define ARIZONA_AIF2_FMT_MASK 0x0007 /* AIF2_FMT - [2:0] */
- #define ARIZONA_AIF2_FMT_SHIFT 0 /* AIF2_FMT - [2:0] */
- #define ARIZONA_AIF2_FMT_WIDTH 3 /* AIF2_FMT - [2:0] */
- /*
- * R1349 (0x545) - AIF2 Tx BCLK Rate
- */
- #define ARIZONA_AIF2TX_BCPF_MASK 0x1FFF /* AIF2TX_BCPF - [12:0] */
- #define ARIZONA_AIF2TX_BCPF_SHIFT 0 /* AIF2TX_BCPF - [12:0] */
- #define ARIZONA_AIF2TX_BCPF_WIDTH 13 /* AIF2TX_BCPF - [12:0] */
- /*
- * R1350 (0x546) - AIF2 Rx BCLK Rate
- */
- #define ARIZONA_AIF2RX_BCPF_MASK 0x1FFF /* AIF2RX_BCPF - [12:0] */
- #define ARIZONA_AIF2RX_BCPF_SHIFT 0 /* AIF2RX_BCPF - [12:0] */
- #define ARIZONA_AIF2RX_BCPF_WIDTH 13 /* AIF2RX_BCPF - [12:0] */
- /*
- * R1351 (0x547) - AIF2 Frame Ctrl 1
- */
- #define ARIZONA_AIF2TX_WL_MASK 0x3F00 /* AIF2TX_WL - [13:8] */
- #define ARIZONA_AIF2TX_WL_SHIFT 8 /* AIF2TX_WL - [13:8] */
- #define ARIZONA_AIF2TX_WL_WIDTH 6 /* AIF2TX_WL - [13:8] */
- #define ARIZONA_AIF2TX_SLOT_LEN_MASK 0x00FF /* AIF2TX_SLOT_LEN - [7:0] */
- #define ARIZONA_AIF2TX_SLOT_LEN_SHIFT 0 /* AIF2TX_SLOT_LEN - [7:0] */
- #define ARIZONA_AIF2TX_SLOT_LEN_WIDTH 8 /* AIF2TX_SLOT_LEN - [7:0] */
- /*
- * R1352 (0x548) - AIF2 Frame Ctrl 2
- */
- #define ARIZONA_AIF2RX_WL_MASK 0x3F00 /* AIF2RX_WL - [13:8] */
- #define ARIZONA_AIF2RX_WL_SHIFT 8 /* AIF2RX_WL - [13:8] */
- #define ARIZONA_AIF2RX_WL_WIDTH 6 /* AIF2RX_WL - [13:8] */
- #define ARIZONA_AIF2RX_SLOT_LEN_MASK 0x00FF /* AIF2RX_SLOT_LEN - [7:0] */
- #define ARIZONA_AIF2RX_SLOT_LEN_SHIFT 0 /* AIF2RX_SLOT_LEN - [7:0] */
- #define ARIZONA_AIF2RX_SLOT_LEN_WIDTH 8 /* AIF2RX_SLOT_LEN - [7:0] */
- /*
- * R1353 (0x549) - AIF2 Frame Ctrl 3
- */
- #define ARIZONA_AIF2TX1_SLOT_MASK 0x003F /* AIF2TX1_SLOT - [5:0] */
- #define ARIZONA_AIF2TX1_SLOT_SHIFT 0 /* AIF2TX1_SLOT - [5:0] */
- #define ARIZONA_AIF2TX1_SLOT_WIDTH 6 /* AIF2TX1_SLOT - [5:0] */
- /*
- * R1354 (0x54A) - AIF2 Frame Ctrl 4
- */
- #define ARIZONA_AIF2TX2_SLOT_MASK 0x003F /* AIF2TX2_SLOT - [5:0] */
- #define ARIZONA_AIF2TX2_SLOT_SHIFT 0 /* AIF2TX2_SLOT - [5:0] */
- #define ARIZONA_AIF2TX2_SLOT_WIDTH 6 /* AIF2TX2_SLOT - [5:0] */
- /*
- * R1355 (0x54B) - AIF2 Frame Ctrl 5
- */
- #define ARIZONA_AIF2TX3_SLOT_MASK 0x003F /* AIF2TX3_SLOT - [5:0] */
- #define ARIZONA_AIF2TX3_SLOT_SHIFT 0 /* AIF2TX3_SLOT - [5:0] */
- #define ARIZONA_AIF2TX3_SLOT_WIDTH 6 /* AIF2TX3_SLOT - [5:0] */
- /*
- * R1356 (0x54C) - AIF2 Frame Ctrl 6
- */
- #define ARIZONA_AIF2TX4_SLOT_MASK 0x003F /* AIF2TX4_SLOT - [5:0] */
- #define ARIZONA_AIF2TX4_SLOT_SHIFT 0 /* AIF2TX4_SLOT - [5:0] */
- #define ARIZONA_AIF2TX4_SLOT_WIDTH 6 /* AIF2TX4_SLOT - [5:0] */
- /*
- * R1357 (0x54D) - AIF2 Frame Ctrl 7
- */
- #define ARIZONA_AIF2TX5_SLOT_MASK 0x003F /* AIF2TX5_SLOT - [5:0] */
- #define ARIZONA_AIF2TX5_SLOT_SHIFT 0 /* AIF2TX5_SLOT - [5:0] */
- #define ARIZONA_AIF2TX5_SLOT_WIDTH 6 /* AIF2TX5_SLOT - [5:0] */
- /*
- * R1358 (0x54E) - AIF2 Frame Ctrl 8
- */
- #define ARIZONA_AIF2TX6_SLOT_MASK 0x003F /* AIF2TX6_SLOT - [5:0] */
- #define ARIZONA_AIF2TX6_SLOT_SHIFT 0 /* AIF2TX6_SLOT - [5:0] */
- #define ARIZONA_AIF2TX6_SLOT_WIDTH 6 /* AIF2TX6_SLOT - [5:0] */
- /*
- * R1361 (0x551) - AIF2 Frame Ctrl 11
- */
- #define ARIZONA_AIF2RX1_SLOT_MASK 0x003F /* AIF2RX1_SLOT - [5:0] */
- #define ARIZONA_AIF2RX1_SLOT_SHIFT 0 /* AIF2RX1_SLOT - [5:0] */
- #define ARIZONA_AIF2RX1_SLOT_WIDTH 6 /* AIF2RX1_SLOT - [5:0] */
- /*
- * R1362 (0x552) - AIF2 Frame Ctrl 12
- */
- #define ARIZONA_AIF2RX2_SLOT_MASK 0x003F /* AIF2RX2_SLOT - [5:0] */
- #define ARIZONA_AIF2RX2_SLOT_SHIFT 0 /* AIF2RX2_SLOT - [5:0] */
- #define ARIZONA_AIF2RX2_SLOT_WIDTH 6 /* AIF2RX2_SLOT - [5:0] */
- /*
- * R1363 (0x553) - AIF2 Frame Ctrl 13
- */
- #define ARIZONA_AIF2RX3_SLOT_MASK 0x003F /* AIF2RX3_SLOT - [5:0] */
- #define ARIZONA_AIF2RX3_SLOT_SHIFT 0 /* AIF2RX3_SLOT - [5:0] */
- #define ARIZONA_AIF2RX3_SLOT_WIDTH 6 /* AIF2RX3_SLOT - [5:0] */
- /*
- * R1364 (0x554) - AIF2 Frame Ctrl 14
- */
- #define ARIZONA_AIF2RX4_SLOT_MASK 0x003F /* AIF2RX4_SLOT - [5:0] */
- #define ARIZONA_AIF2RX4_SLOT_SHIFT 0 /* AIF2RX4_SLOT - [5:0] */
- #define ARIZONA_AIF2RX4_SLOT_WIDTH 6 /* AIF2RX4_SLOT - [5:0] */
- /*
- * R1365 (0x555) - AIF2 Frame Ctrl 15
- */
- #define ARIZONA_AIF2RX5_SLOT_MASK 0x003F /* AIF2RX5_SLOT - [5:0] */
- #define ARIZONA_AIF2RX5_SLOT_SHIFT 0 /* AIF2RX5_SLOT - [5:0] */
- #define ARIZONA_AIF2RX5_SLOT_WIDTH 6 /* AIF2RX5_SLOT - [5:0] */
- /*
- * R1366 (0x556) - AIF2 Frame Ctrl 16
- */
- #define ARIZONA_AIF2RX6_SLOT_MASK 0x003F /* AIF2RX6_SLOT - [5:0] */
- #define ARIZONA_AIF2RX6_SLOT_SHIFT 0 /* AIF2RX6_SLOT - [5:0] */
- #define ARIZONA_AIF2RX6_SLOT_WIDTH 6 /* AIF2RX6_SLOT - [5:0] */
- /*
- * R1369 (0x559) - AIF2 Tx Enables
- */
- #define ARIZONA_AIF2TX6_ENA 0x0020 /* AIF2TX6_ENA */
- #define ARIZONA_AIF2TX6_ENA_MASK 0x0020 /* AIF2TX6_ENA */
- #define ARIZONA_AIF2TX6_ENA_SHIFT 5 /* AIF2TX6_ENA */
- #define ARIZONA_AIF2TX6_ENA_WIDTH 1 /* AIF2TX6_ENA */
- #define ARIZONA_AIF2TX5_ENA 0x0010 /* AIF2TX5_ENA */
- #define ARIZONA_AIF2TX5_ENA_MASK 0x0010 /* AIF2TX5_ENA */
- #define ARIZONA_AIF2TX5_ENA_SHIFT 4 /* AIF2TX5_ENA */
- #define ARIZONA_AIF2TX5_ENA_WIDTH 1 /* AIF2TX5_ENA */
- #define ARIZONA_AIF2TX4_ENA 0x0008 /* AIF2TX4_ENA */
- #define ARIZONA_AIF2TX4_ENA_MASK 0x0008 /* AIF2TX4_ENA */
- #define ARIZONA_AIF2TX4_ENA_SHIFT 3 /* AIF2TX4_ENA */
- #define ARIZONA_AIF2TX4_ENA_WIDTH 1 /* AIF2TX4_ENA */
- #define ARIZONA_AIF2TX3_ENA 0x0004 /* AIF2TX3_ENA */
- #define ARIZONA_AIF2TX3_ENA_MASK 0x0004 /* AIF2TX3_ENA */
- #define ARIZONA_AIF2TX3_ENA_SHIFT 2 /* AIF2TX3_ENA */
- #define ARIZONA_AIF2TX3_ENA_WIDTH 1 /* AIF2TX3_ENA */
- #define ARIZONA_AIF2TX2_ENA 0x0002 /* AIF2TX2_ENA */
- #define ARIZONA_AIF2TX2_ENA_MASK 0x0002 /* AIF2TX2_ENA */
- #define ARIZONA_AIF2TX2_ENA_SHIFT 1 /* AIF2TX2_ENA */
- #define ARIZONA_AIF2TX2_ENA_WIDTH 1 /* AIF2TX2_ENA */
- #define ARIZONA_AIF2TX1_ENA 0x0001 /* AIF2TX1_ENA */
- #define ARIZONA_AIF2TX1_ENA_MASK 0x0001 /* AIF2TX1_ENA */
- #define ARIZONA_AIF2TX1_ENA_SHIFT 0 /* AIF2TX1_ENA */
- #define ARIZONA_AIF2TX1_ENA_WIDTH 1 /* AIF2TX1_ENA */
- /*
- * R1370 (0x55A) - AIF2 Rx Enables
- */
- #define ARIZONA_AIF2RX6_ENA 0x0020 /* AIF2RX6_ENA */
- #define ARIZONA_AIF2RX6_ENA_MASK 0x0020 /* AIF2RX6_ENA */
- #define ARIZONA_AIF2RX6_ENA_SHIFT 5 /* AIF2RX6_ENA */
- #define ARIZONA_AIF2RX6_ENA_WIDTH 1 /* AIF2RX6_ENA */
- #define ARIZONA_AIF2RX5_ENA 0x0010 /* AIF2RX5_ENA */
- #define ARIZONA_AIF2RX5_ENA_MASK 0x0010 /* AIF2RX5_ENA */
- #define ARIZONA_AIF2RX5_ENA_SHIFT 4 /* AIF2RX5_ENA */
- #define ARIZONA_AIF2RX5_ENA_WIDTH 1 /* AIF2RX5_ENA */
- #define ARIZONA_AIF2RX4_ENA 0x0008 /* AIF2RX4_ENA */
- #define ARIZONA_AIF2RX4_ENA_MASK 0x0008 /* AIF2RX4_ENA */
- #define ARIZONA_AIF2RX4_ENA_SHIFT 3 /* AIF2RX4_ENA */
- #define ARIZONA_AIF2RX4_ENA_WIDTH 1 /* AIF2RX4_ENA */
- #define ARIZONA_AIF2RX3_ENA 0x0004 /* AIF2RX3_ENA */
- #define ARIZONA_AIF2RX3_ENA_MASK 0x0004 /* AIF2RX3_ENA */
- #define ARIZONA_AIF2RX3_ENA_SHIFT 2 /* AIF2RX3_ENA */
- #define ARIZONA_AIF2RX3_ENA_WIDTH 1 /* AIF2RX3_ENA */
- #define ARIZONA_AIF2RX2_ENA 0x0002 /* AIF2RX2_ENA */
- #define ARIZONA_AIF2RX2_ENA_MASK 0x0002 /* AIF2RX2_ENA */
- #define ARIZONA_AIF2RX2_ENA_SHIFT 1 /* AIF2RX2_ENA */
- #define ARIZONA_AIF2RX2_ENA_WIDTH 1 /* AIF2RX2_ENA */
- #define ARIZONA_AIF2RX1_ENA 0x0001 /* AIF2RX1_ENA */
- #define ARIZONA_AIF2RX1_ENA_MASK 0x0001 /* AIF2RX1_ENA */
- #define ARIZONA_AIF2RX1_ENA_SHIFT 0 /* AIF2RX1_ENA */
- #define ARIZONA_AIF2RX1_ENA_WIDTH 1 /* AIF2RX1_ENA */
- /*
- * R1371 (0x55B) - AIF2 Force Write
- */
- #define ARIZONA_AIF2_FRC_WR 0x0001 /* AIF2_FRC_WR */
- #define ARIZONA_AIF2_FRC_WR_MASK 0x0001 /* AIF2_FRC_WR */
- #define ARIZONA_AIF2_FRC_WR_SHIFT 0 /* AIF2_FRC_WR */
- #define ARIZONA_AIF2_FRC_WR_WIDTH 1 /* AIF2_FRC_WR */
- /*
- * R1408 (0x580) - AIF3 BCLK Ctrl
- */
- #define ARIZONA_AIF3_BCLK_INV 0x0080 /* AIF3_BCLK_INV */
- #define ARIZONA_AIF3_BCLK_INV_MASK 0x0080 /* AIF3_BCLK_INV */
- #define ARIZONA_AIF3_BCLK_INV_SHIFT 7 /* AIF3_BCLK_INV */
- #define ARIZONA_AIF3_BCLK_INV_WIDTH 1 /* AIF3_BCLK_INV */
- #define ARIZONA_AIF3_BCLK_FRC 0x0040 /* AIF3_BCLK_FRC */
- #define ARIZONA_AIF3_BCLK_FRC_MASK 0x0040 /* AIF3_BCLK_FRC */
- #define ARIZONA_AIF3_BCLK_FRC_SHIFT 6 /* AIF3_BCLK_FRC */
- #define ARIZONA_AIF3_BCLK_FRC_WIDTH 1 /* AIF3_BCLK_FRC */
- #define ARIZONA_AIF3_BCLK_MSTR 0x0020 /* AIF3_BCLK_MSTR */
- #define ARIZONA_AIF3_BCLK_MSTR_MASK 0x0020 /* AIF3_BCLK_MSTR */
- #define ARIZONA_AIF3_BCLK_MSTR_SHIFT 5 /* AIF3_BCLK_MSTR */
- #define ARIZONA_AIF3_BCLK_MSTR_WIDTH 1 /* AIF3_BCLK_MSTR */
- #define ARIZONA_AIF3_BCLK_FREQ_MASK 0x001F /* AIF3_BCLK_FREQ - [4:0] */
- #define ARIZONA_AIF3_BCLK_FREQ_SHIFT 0 /* AIF3_BCLK_FREQ - [4:0] */
- #define ARIZONA_AIF3_BCLK_FREQ_WIDTH 5 /* AIF3_BCLK_FREQ - [4:0] */
- /*
- * R1409 (0x581) - AIF3 Tx Pin Ctrl
- */
- #define ARIZONA_AIF3TX_DAT_TRI 0x0020 /* AIF3TX_DAT_TRI */
- #define ARIZONA_AIF3TX_DAT_TRI_MASK 0x0020 /* AIF3TX_DAT_TRI */
- #define ARIZONA_AIF3TX_DAT_TRI_SHIFT 5 /* AIF3TX_DAT_TRI */
- #define ARIZONA_AIF3TX_DAT_TRI_WIDTH 1 /* AIF3TX_DAT_TRI */
- #define ARIZONA_AIF3TX_LRCLK_SRC 0x0008 /* AIF3TX_LRCLK_SRC */
- #define ARIZONA_AIF3TX_LRCLK_SRC_MASK 0x0008 /* AIF3TX_LRCLK_SRC */
- #define ARIZONA_AIF3TX_LRCLK_SRC_SHIFT 3 /* AIF3TX_LRCLK_SRC */
- #define ARIZONA_AIF3TX_LRCLK_SRC_WIDTH 1 /* AIF3TX_LRCLK_SRC */
- #define ARIZONA_AIF3TX_LRCLK_INV 0x0004 /* AIF3TX_LRCLK_INV */
- #define ARIZONA_AIF3TX_LRCLK_INV_MASK 0x0004 /* AIF3TX_LRCLK_INV */
- #define ARIZONA_AIF3TX_LRCLK_INV_SHIFT 2 /* AIF3TX_LRCLK_INV */
- #define ARIZONA_AIF3TX_LRCLK_INV_WIDTH 1 /* AIF3TX_LRCLK_INV */
- #define ARIZONA_AIF3TX_LRCLK_FRC 0x0002 /* AIF3TX_LRCLK_FRC */
- #define ARIZONA_AIF3TX_LRCLK_FRC_MASK 0x0002 /* AIF3TX_LRCLK_FRC */
- #define ARIZONA_AIF3TX_LRCLK_FRC_SHIFT 1 /* AIF3TX_LRCLK_FRC */
- #define ARIZONA_AIF3TX_LRCLK_FRC_WIDTH 1 /* AIF3TX_LRCLK_FRC */
- #define ARIZONA_AIF3TX_LRCLK_MSTR 0x0001 /* AIF3TX_LRCLK_MSTR */
- #define ARIZONA_AIF3TX_LRCLK_MSTR_MASK 0x0001 /* AIF3TX_LRCLK_MSTR */
- #define ARIZONA_AIF3TX_LRCLK_MSTR_SHIFT 0 /* AIF3TX_LRCLK_MSTR */
- #define ARIZONA_AIF3TX_LRCLK_MSTR_WIDTH 1 /* AIF3TX_LRCLK_MSTR */
- /*
- * R1410 (0x582) - AIF3 Rx Pin Ctrl
- */
- #define ARIZONA_AIF3RX_LRCLK_INV 0x0004 /* AIF3RX_LRCLK_INV */
- #define ARIZONA_AIF3RX_LRCLK_INV_MASK 0x0004 /* AIF3RX_LRCLK_INV */
- #define ARIZONA_AIF3RX_LRCLK_INV_SHIFT 2 /* AIF3RX_LRCLK_INV */
- #define ARIZONA_AIF3RX_LRCLK_INV_WIDTH 1 /* AIF3RX_LRCLK_INV */
- #define ARIZONA_AIF3RX_LRCLK_FRC 0x0002 /* AIF3RX_LRCLK_FRC */
- #define ARIZONA_AIF3RX_LRCLK_FRC_MASK 0x0002 /* AIF3RX_LRCLK_FRC */
- #define ARIZONA_AIF3RX_LRCLK_FRC_SHIFT 1 /* AIF3RX_LRCLK_FRC */
- #define ARIZONA_AIF3RX_LRCLK_FRC_WIDTH 1 /* AIF3RX_LRCLK_FRC */
- #define ARIZONA_AIF3RX_LRCLK_MSTR 0x0001 /* AIF3RX_LRCLK_MSTR */
- #define ARIZONA_AIF3RX_LRCLK_MSTR_MASK 0x0001 /* AIF3RX_LRCLK_MSTR */
- #define ARIZONA_AIF3RX_LRCLK_MSTR_SHIFT 0 /* AIF3RX_LRCLK_MSTR */
- #define ARIZONA_AIF3RX_LRCLK_MSTR_WIDTH 1 /* AIF3RX_LRCLK_MSTR */
- /*
- * R1411 (0x583) - AIF3 Rate Ctrl
- */
- #define ARIZONA_AIF3_RATE_MASK 0x7800 /* AIF3_RATE - [14:11] */
- #define ARIZONA_AIF3_RATE_SHIFT 11 /* AIF3_RATE - [14:11] */
- #define ARIZONA_AIF3_RATE_WIDTH 4 /* AIF3_RATE - [14:11] */
- #define ARIZONA_AIF3_TRI 0x0040 /* AIF3_TRI */
- #define ARIZONA_AIF3_TRI_MASK 0x0040 /* AIF3_TRI */
- #define ARIZONA_AIF3_TRI_SHIFT 6 /* AIF3_TRI */
- #define ARIZONA_AIF3_TRI_WIDTH 1 /* AIF3_TRI */
- /*
- * R1412 (0x584) - AIF3 Format
- */
- #define ARIZONA_AIF3_FMT_MASK 0x0007 /* AIF3_FMT - [2:0] */
- #define ARIZONA_AIF3_FMT_SHIFT 0 /* AIF3_FMT - [2:0] */
- #define ARIZONA_AIF3_FMT_WIDTH 3 /* AIF3_FMT - [2:0] */
- /*
- * R1413 (0x585) - AIF3 Tx BCLK Rate
- */
- #define ARIZONA_AIF3TX_BCPF_MASK 0x1FFF /* AIF3TX_BCPF - [12:0] */
- #define ARIZONA_AIF3TX_BCPF_SHIFT 0 /* AIF3TX_BCPF - [12:0] */
- #define ARIZONA_AIF3TX_BCPF_WIDTH 13 /* AIF3TX_BCPF - [12:0] */
- /*
- * R1414 (0x586) - AIF3 Rx BCLK Rate
- */
- #define ARIZONA_AIF3RX_BCPF_MASK 0x1FFF /* AIF3RX_BCPF - [12:0] */
- #define ARIZONA_AIF3RX_BCPF_SHIFT 0 /* AIF3RX_BCPF - [12:0] */
- #define ARIZONA_AIF3RX_BCPF_WIDTH 13 /* AIF3RX_BCPF - [12:0] */
- /*
- * R1415 (0x587) - AIF3 Frame Ctrl 1
- */
- #define ARIZONA_AIF3TX_WL_MASK 0x3F00 /* AIF3TX_WL - [13:8] */
- #define ARIZONA_AIF3TX_WL_SHIFT 8 /* AIF3TX_WL - [13:8] */
- #define ARIZONA_AIF3TX_WL_WIDTH 6 /* AIF3TX_WL - [13:8] */
- #define ARIZONA_AIF3TX_SLOT_LEN_MASK 0x00FF /* AIF3TX_SLOT_LEN - [7:0] */
- #define ARIZONA_AIF3TX_SLOT_LEN_SHIFT 0 /* AIF3TX_SLOT_LEN - [7:0] */
- #define ARIZONA_AIF3TX_SLOT_LEN_WIDTH 8 /* AIF3TX_SLOT_LEN - [7:0] */
- /*
- * R1416 (0x588) - AIF3 Frame Ctrl 2
- */
- #define ARIZONA_AIF3RX_WL_MASK 0x3F00 /* AIF3RX_WL - [13:8] */
- #define ARIZONA_AIF3RX_WL_SHIFT 8 /* AIF3RX_WL - [13:8] */
- #define ARIZONA_AIF3RX_WL_WIDTH 6 /* AIF3RX_WL - [13:8] */
- #define ARIZONA_AIF3RX_SLOT_LEN_MASK 0x00FF /* AIF3RX_SLOT_LEN - [7:0] */
- #define ARIZONA_AIF3RX_SLOT_LEN_SHIFT 0 /* AIF3RX_SLOT_LEN - [7:0] */
- #define ARIZONA_AIF3RX_SLOT_LEN_WIDTH 8 /* AIF3RX_SLOT_LEN - [7:0] */
- /*
- * R1417 (0x589) - AIF3 Frame Ctrl 3
- */
- #define ARIZONA_AIF3TX1_SLOT_MASK 0x003F /* AIF3TX1_SLOT - [5:0] */
- #define ARIZONA_AIF3TX1_SLOT_SHIFT 0 /* AIF3TX1_SLOT - [5:0] */
- #define ARIZONA_AIF3TX1_SLOT_WIDTH 6 /* AIF3TX1_SLOT - [5:0] */
- /*
- * R1418 (0x58A) - AIF3 Frame Ctrl 4
- */
- #define ARIZONA_AIF3TX2_SLOT_MASK 0x003F /* AIF3TX2_SLOT - [5:0] */
- #define ARIZONA_AIF3TX2_SLOT_SHIFT 0 /* AIF3TX2_SLOT - [5:0] */
- #define ARIZONA_AIF3TX2_SLOT_WIDTH 6 /* AIF3TX2_SLOT - [5:0] */
- /*
- * R1425 (0x591) - AIF3 Frame Ctrl 11
- */
- #define ARIZONA_AIF3RX1_SLOT_MASK 0x003F /* AIF3RX1_SLOT - [5:0] */
- #define ARIZONA_AIF3RX1_SLOT_SHIFT 0 /* AIF3RX1_SLOT - [5:0] */
- #define ARIZONA_AIF3RX1_SLOT_WIDTH 6 /* AIF3RX1_SLOT - [5:0] */
- /*
- * R1426 (0x592) - AIF3 Frame Ctrl 12
- */
- #define ARIZONA_AIF3RX2_SLOT_MASK 0x003F /* AIF3RX2_SLOT - [5:0] */
- #define ARIZONA_AIF3RX2_SLOT_SHIFT 0 /* AIF3RX2_SLOT - [5:0] */
- #define ARIZONA_AIF3RX2_SLOT_WIDTH 6 /* AIF3RX2_SLOT - [5:0] */
- /*
- * R1433 (0x599) - AIF3 Tx Enables
- */
- #define ARIZONA_AIF3TX2_ENA 0x0002 /* AIF3TX2_ENA */
- #define ARIZONA_AIF3TX2_ENA_MASK 0x0002 /* AIF3TX2_ENA */
- #define ARIZONA_AIF3TX2_ENA_SHIFT 1 /* AIF3TX2_ENA */
- #define ARIZONA_AIF3TX2_ENA_WIDTH 1 /* AIF3TX2_ENA */
- #define ARIZONA_AIF3TX1_ENA 0x0001 /* AIF3TX1_ENA */
- #define ARIZONA_AIF3TX1_ENA_MASK 0x0001 /* AIF3TX1_ENA */
- #define ARIZONA_AIF3TX1_ENA_SHIFT 0 /* AIF3TX1_ENA */
- #define ARIZONA_AIF3TX1_ENA_WIDTH 1 /* AIF3TX1_ENA */
- /*
- * R1434 (0x59A) - AIF3 Rx Enables
- */
- #define ARIZONA_AIF3RX2_ENA 0x0002 /* AIF3RX2_ENA */
- #define ARIZONA_AIF3RX2_ENA_MASK 0x0002 /* AIF3RX2_ENA */
- #define ARIZONA_AIF3RX2_ENA_SHIFT 1 /* AIF3RX2_ENA */
- #define ARIZONA_AIF3RX2_ENA_WIDTH 1 /* AIF3RX2_ENA */
- #define ARIZONA_AIF3RX1_ENA 0x0001 /* AIF3RX1_ENA */
- #define ARIZONA_AIF3RX1_ENA_MASK 0x0001 /* AIF3RX1_ENA */
- #define ARIZONA_AIF3RX1_ENA_SHIFT 0 /* AIF3RX1_ENA */
- #define ARIZONA_AIF3RX1_ENA_WIDTH 1 /* AIF3RX1_ENA */
- /*
- * R1435 (0x59B) - AIF3 Force Write
- */
- #define ARIZONA_AIF3_FRC_WR 0x0001 /* AIF3_FRC_WR */
- #define ARIZONA_AIF3_FRC_WR_MASK 0x0001 /* AIF3_FRC_WR */
- #define ARIZONA_AIF3_FRC_WR_SHIFT 0 /* AIF3_FRC_WR */
- #define ARIZONA_AIF3_FRC_WR_WIDTH 1 /* AIF3_FRC_WR */
- /*
- * R1474 (0x5C2) - SPD1 TX Control
- */
- #define ARIZONA_SPD1_VAL2 0x2000 /* SPD1_VAL2 */
- #define ARIZONA_SPD1_VAL2_MASK 0x2000 /* SPD1_VAL2 */
- #define ARIZONA_SPD1_VAL2_SHIFT 13 /* SPD1_VAL2 */
- #define ARIZONA_SPD1_VAL2_WIDTH 1 /* SPD1_VAL2 */
- #define ARIZONA_SPD1_VAL1 0x1000 /* SPD1_VAL1 */
- #define ARIZONA_SPD1_VAL1_MASK 0x1000 /* SPD1_VAL1 */
- #define ARIZONA_SPD1_VAL1_SHIFT 12 /* SPD1_VAL1 */
- #define ARIZONA_SPD1_VAL1_WIDTH 1 /* SPD1_VAL1 */
- #define ARIZONA_SPD1_RATE_MASK 0x00F0 /* SPD1_RATE */
- #define ARIZONA_SPD1_RATE_SHIFT 4 /* SPD1_RATE */
- #define ARIZONA_SPD1_RATE_WIDTH 4 /* SPD1_RATE */
- #define ARIZONA_SPD1_ENA 0x0001 /* SPD1_ENA */
- #define ARIZONA_SPD1_ENA_MASK 0x0001 /* SPD1_ENA */
- #define ARIZONA_SPD1_ENA_SHIFT 0 /* SPD1_ENA */
- #define ARIZONA_SPD1_ENA_WIDTH 1 /* SPD1_ENA */
- /*
- * R1475 (0x5C3) - SPD1 TX Channel Status 1
- */
- #define ARIZONA_SPD1_CATCODE_MASK 0xFF00 /* SPD1_CATCODE */
- #define ARIZONA_SPD1_CATCODE_SHIFT 8 /* SPD1_CATCODE */
- #define ARIZONA_SPD1_CATCODE_WIDTH 8 /* SPD1_CATCODE */
- #define ARIZONA_SPD1_CHSTMODE_MASK 0x00C0 /* SPD1_CHSTMODE */
- #define ARIZONA_SPD1_CHSTMODE_SHIFT 6 /* SPD1_CHSTMODE */
- #define ARIZONA_SPD1_CHSTMODE_WIDTH 2 /* SPD1_CHSTMODE */
- #define ARIZONA_SPD1_PREEMPH_MASK 0x0038 /* SPD1_PREEMPH */
- #define ARIZONA_SPD1_PREEMPH_SHIFT 3 /* SPD1_PREEMPH */
- #define ARIZONA_SPD1_PREEMPH_WIDTH 3 /* SPD1_PREEMPH */
- #define ARIZONA_SPD1_NOCOPY 0x0004 /* SPD1_NOCOPY */
- #define ARIZONA_SPD1_NOCOPY_MASK 0x0004 /* SPD1_NOCOPY */
- #define ARIZONA_SPD1_NOCOPY_SHIFT 2 /* SPD1_NOCOPY */
- #define ARIZONA_SPD1_NOCOPY_WIDTH 1 /* SPD1_NOCOPY */
- #define ARIZONA_SPD1_NOAUDIO 0x0002 /* SPD1_NOAUDIO */
- #define ARIZONA_SPD1_NOAUDIO_MASK 0x0002 /* SPD1_NOAUDIO */
- #define ARIZONA_SPD1_NOAUDIO_SHIFT 1 /* SPD1_NOAUDIO */
- #define ARIZONA_SPD1_NOAUDIO_WIDTH 1 /* SPD1_NOAUDIO */
- #define ARIZONA_SPD1_PRO 0x0001 /* SPD1_PRO */
- #define ARIZONA_SPD1_PRO_MASK 0x0001 /* SPD1_PRO */
- #define ARIZONA_SPD1_PRO_SHIFT 0 /* SPD1_PRO */
- #define ARIZONA_SPD1_PRO_WIDTH 1 /* SPD1_PRO */
- /*
- * R1475 (0x5C4) - SPD1 TX Channel Status 2
- */
- #define ARIZONA_SPD1_FREQ_MASK 0xF000 /* SPD1_FREQ */
- #define ARIZONA_SPD1_FREQ_SHIFT 12 /* SPD1_FREQ */
- #define ARIZONA_SPD1_FREQ_WIDTH 4 /* SPD1_FREQ */
- #define ARIZONA_SPD1_CHNUM2_MASK 0x0F00 /* SPD1_CHNUM2 */
- #define ARIZONA_SPD1_CHNUM2_SHIFT 8 /* SPD1_CHNUM2 */
- #define ARIZONA_SPD1_CHNUM2_WIDTH 4 /* SPD1_CHNUM2 */
- #define ARIZONA_SPD1_CHNUM1_MASK 0x00F0 /* SPD1_CHNUM1 */
- #define ARIZONA_SPD1_CHNUM1_SHIFT 4 /* SPD1_CHNUM1 */
- #define ARIZONA_SPD1_CHNUM1_WIDTH 4 /* SPD1_CHNUM1 */
- #define ARIZONA_SPD1_SRCNUM_MASK 0x000F /* SPD1_SRCNUM */
- #define ARIZONA_SPD1_SRCNUM_SHIFT 0 /* SPD1_SRCNUM */
- #define ARIZONA_SPD1_SRCNUM_WIDTH 4 /* SPD1_SRCNUM */
- /*
- * R1475 (0x5C5) - SPD1 TX Channel Status 3
- */
- #define ARIZONA_SPD1_ORGSAMP_MASK 0x0F00 /* SPD1_ORGSAMP */
- #define ARIZONA_SPD1_ORGSAMP_SHIFT 8 /* SPD1_ORGSAMP */
- #define ARIZONA_SPD1_ORGSAMP_WIDTH 4 /* SPD1_ORGSAMP */
- #define ARIZONA_SPD1_TXWL_MASK 0x00E0 /* SPD1_TXWL */
- #define ARIZONA_SPD1_TXWL_SHIFT 5 /* SPD1_TXWL */
- #define ARIZONA_SPD1_TXWL_WIDTH 3 /* SPD1_TXWL */
- #define ARIZONA_SPD1_MAXWL 0x0010 /* SPD1_MAXWL */
- #define ARIZONA_SPD1_MAXWL_MASK 0x0010 /* SPD1_MAXWL */
- #define ARIZONA_SPD1_MAXWL_SHIFT 4 /* SPD1_MAXWL */
- #define ARIZONA_SPD1_MAXWL_WIDTH 1 /* SPD1_MAXWL */
- #define ARIZONA_SPD1_CS31_30_MASK 0x000C /* SPD1_CS31_30 */
- #define ARIZONA_SPD1_CS31_30_SHIFT 2 /* SPD1_CS31_30 */
- #define ARIZONA_SPD1_CS31_30_WIDTH 2 /* SPD1_CS31_30 */
- #define ARIZONA_SPD1_CLKACU_MASK 0x0003 /* SPD1_CLKACU */
- #define ARIZONA_SPD1_CLKACU_SHIFT 2 /* SPD1_CLKACU */
- #define ARIZONA_SPD1_CLKACU_WIDTH 0 /* SPD1_CLKACU */
- /*
- * R1507 (0x5E3) - SLIMbus Framer Ref Gear
- */
- #define ARIZONA_SLIMCLK_SRC 0x0010 /* SLIMCLK_SRC */
- #define ARIZONA_SLIMCLK_SRC_MASK 0x0010 /* SLIMCLK_SRC */
- #define ARIZONA_SLIMCLK_SRC_SHIFT 4 /* SLIMCLK_SRC */
- #define ARIZONA_SLIMCLK_SRC_WIDTH 1 /* SLIMCLK_SRC */
- #define ARIZONA_FRAMER_REF_GEAR_MASK 0x000F /* FRAMER_REF_GEAR - [3:0] */
- #define ARIZONA_FRAMER_REF_GEAR_SHIFT 0 /* FRAMER_REF_GEAR - [3:0] */
- #define ARIZONA_FRAMER_REF_GEAR_WIDTH 4 /* FRAMER_REF_GEAR - [3:0] */
- /*
- * R1509 (0x5E5) - SLIMbus Rates 1
- */
- #define ARIZONA_SLIMRX2_RATE_MASK 0x7800 /* SLIMRX2_RATE - [14:11] */
- #define ARIZONA_SLIMRX2_RATE_SHIFT 11 /* SLIMRX2_RATE - [14:11] */
- #define ARIZONA_SLIMRX2_RATE_WIDTH 4 /* SLIMRX2_RATE - [14:11] */
- #define ARIZONA_SLIMRX1_RATE_MASK 0x0078 /* SLIMRX1_RATE - [6:3] */
- #define ARIZONA_SLIMRX1_RATE_SHIFT 3 /* SLIMRX1_RATE - [6:3] */
- #define ARIZONA_SLIMRX1_RATE_WIDTH 4 /* SLIMRX1_RATE - [6:3] */
- /*
- * R1510 (0x5E6) - SLIMbus Rates 2
- */
- #define ARIZONA_SLIMRX4_RATE_MASK 0x7800 /* SLIMRX4_RATE - [14:11] */
- #define ARIZONA_SLIMRX4_RATE_SHIFT 11 /* SLIMRX4_RATE - [14:11] */
- #define ARIZONA_SLIMRX4_RATE_WIDTH 4 /* SLIMRX4_RATE - [14:11] */
- #define ARIZONA_SLIMRX3_RATE_MASK 0x0078 /* SLIMRX3_RATE - [6:3] */
- #define ARIZONA_SLIMRX3_RATE_SHIFT 3 /* SLIMRX3_RATE - [6:3] */
- #define ARIZONA_SLIMRX3_RATE_WIDTH 4 /* SLIMRX3_RATE - [6:3] */
- /*
- * R1511 (0x5E7) - SLIMbus Rates 3
- */
- #define ARIZONA_SLIMRX6_RATE_MASK 0x7800 /* SLIMRX6_RATE - [14:11] */
- #define ARIZONA_SLIMRX6_RATE_SHIFT 11 /* SLIMRX6_RATE - [14:11] */
- #define ARIZONA_SLIMRX6_RATE_WIDTH 4 /* SLIMRX6_RATE - [14:11] */
- #define ARIZONA_SLIMRX5_RATE_MASK 0x0078 /* SLIMRX5_RATE - [6:3] */
- #define ARIZONA_SLIMRX5_RATE_SHIFT 3 /* SLIMRX5_RATE - [6:3] */
- #define ARIZONA_SLIMRX5_RATE_WIDTH 4 /* SLIMRX5_RATE - [6:3] */
- /*
- * R1512 (0x5E8) - SLIMbus Rates 4
- */
- #define ARIZONA_SLIMRX8_RATE_MASK 0x7800 /* SLIMRX8_RATE - [14:11] */
- #define ARIZONA_SLIMRX8_RATE_SHIFT 11 /* SLIMRX8_RATE - [14:11] */
- #define ARIZONA_SLIMRX8_RATE_WIDTH 4 /* SLIMRX8_RATE - [14:11] */
- #define ARIZONA_SLIMRX7_RATE_MASK 0x0078 /* SLIMRX7_RATE - [6:3] */
- #define ARIZONA_SLIMRX7_RATE_SHIFT 3 /* SLIMRX7_RATE - [6:3] */
- #define ARIZONA_SLIMRX7_RATE_WIDTH 4 /* SLIMRX7_RATE - [6:3] */
- /*
- * R1513 (0x5E9) - SLIMbus Rates 5
- */
- #define ARIZONA_SLIMTX2_RATE_MASK 0x7800 /* SLIMTX2_RATE - [14:11] */
- #define ARIZONA_SLIMTX2_RATE_SHIFT 11 /* SLIMTX2_RATE - [14:11] */
- #define ARIZONA_SLIMTX2_RATE_WIDTH 4 /* SLIMTX2_RATE - [14:11] */
- #define ARIZONA_SLIMTX1_RATE_MASK 0x0078 /* SLIMTX1_RATE - [6:3] */
- #define ARIZONA_SLIMTX1_RATE_SHIFT 3 /* SLIMTX1_RATE - [6:3] */
- #define ARIZONA_SLIMTX1_RATE_WIDTH 4 /* SLIMTX1_RATE - [6:3] */
- /*
- * R1514 (0x5EA) - SLIMbus Rates 6
- */
- #define ARIZONA_SLIMTX4_RATE_MASK 0x7800 /* SLIMTX4_RATE - [14:11] */
- #define ARIZONA_SLIMTX4_RATE_SHIFT 11 /* SLIMTX4_RATE - [14:11] */
- #define ARIZONA_SLIMTX4_RATE_WIDTH 4 /* SLIMTX4_RATE - [14:11] */
- #define ARIZONA_SLIMTX3_RATE_MASK 0x0078 /* SLIMTX3_RATE - [6:3] */
- #define ARIZONA_SLIMTX3_RATE_SHIFT 3 /* SLIMTX3_RATE - [6:3] */
- #define ARIZONA_SLIMTX3_RATE_WIDTH 4 /* SLIMTX3_RATE - [6:3] */
- /*
- * R1515 (0x5EB) - SLIMbus Rates 7
- */
- #define ARIZONA_SLIMTX6_RATE_MASK 0x7800 /* SLIMTX6_RATE - [14:11] */
- #define ARIZONA_SLIMTX6_RATE_SHIFT 11 /* SLIMTX6_RATE - [14:11] */
- #define ARIZONA_SLIMTX6_RATE_WIDTH 4 /* SLIMTX6_RATE - [14:11] */
- #define ARIZONA_SLIMTX5_RATE_MASK 0x0078 /* SLIMTX5_RATE - [6:3] */
- #define ARIZONA_SLIMTX5_RATE_SHIFT 3 /* SLIMTX5_RATE - [6:3] */
- #define ARIZONA_SLIMTX5_RATE_WIDTH 4 /* SLIMTX5_RATE - [6:3] */
- /*
- * R1516 (0x5EC) - SLIMbus Rates 8
- */
- #define ARIZONA_SLIMTX8_RATE_MASK 0x7800 /* SLIMTX8_RATE - [14:11] */
- #define ARIZONA_SLIMTX8_RATE_SHIFT 11 /* SLIMTX8_RATE - [14:11] */
- #define ARIZONA_SLIMTX8_RATE_WIDTH 4 /* SLIMTX8_RATE - [14:11] */
- #define ARIZONA_SLIMTX7_RATE_MASK 0x0078 /* SLIMTX7_RATE - [6:3] */
- #define ARIZONA_SLIMTX7_RATE_SHIFT 3 /* SLIMTX7_RATE - [6:3] */
- #define ARIZONA_SLIMTX7_RATE_WIDTH 4 /* SLIMTX7_RATE - [6:3] */
- /*
- * R1525 (0x5F5) - SLIMbus RX Channel Enable
- */
- #define ARIZONA_SLIMRX8_ENA 0x0080 /* SLIMRX8_ENA */
- #define ARIZONA_SLIMRX8_ENA_MASK 0x0080 /* SLIMRX8_ENA */
- #define ARIZONA_SLIMRX8_ENA_SHIFT 7 /* SLIMRX8_ENA */
- #define ARIZONA_SLIMRX8_ENA_WIDTH 1 /* SLIMRX8_ENA */
- #define ARIZONA_SLIMRX7_ENA 0x0040 /* SLIMRX7_ENA */
- #define ARIZONA_SLIMRX7_ENA_MASK 0x0040 /* SLIMRX7_ENA */
- #define ARIZONA_SLIMRX7_ENA_SHIFT 6 /* SLIMRX7_ENA */
- #define ARIZONA_SLIMRX7_ENA_WIDTH 1 /* SLIMRX7_ENA */
- #define ARIZONA_SLIMRX6_ENA 0x0020 /* SLIMRX6_ENA */
- #define ARIZONA_SLIMRX6_ENA_MASK 0x0020 /* SLIMRX6_ENA */
- #define ARIZONA_SLIMRX6_ENA_SHIFT 5 /* SLIMRX6_ENA */
- #define ARIZONA_SLIMRX6_ENA_WIDTH 1 /* SLIMRX6_ENA */
- #define ARIZONA_SLIMRX5_ENA 0x0010 /* SLIMRX5_ENA */
- #define ARIZONA_SLIMRX5_ENA_MASK 0x0010 /* SLIMRX5_ENA */
- #define ARIZONA_SLIMRX5_ENA_SHIFT 4 /* SLIMRX5_ENA */
- #define ARIZONA_SLIMRX5_ENA_WIDTH 1 /* SLIMRX5_ENA */
- #define ARIZONA_SLIMRX4_ENA 0x0008 /* SLIMRX4_ENA */
- #define ARIZONA_SLIMRX4_ENA_MASK 0x0008 /* SLIMRX4_ENA */
- #define ARIZONA_SLIMRX4_ENA_SHIFT 3 /* SLIMRX4_ENA */
- #define ARIZONA_SLIMRX4_ENA_WIDTH 1 /* SLIMRX4_ENA */
- #define ARIZONA_SLIMRX3_ENA 0x0004 /* SLIMRX3_ENA */
- #define ARIZONA_SLIMRX3_ENA_MASK 0x0004 /* SLIMRX3_ENA */
- #define ARIZONA_SLIMRX3_ENA_SHIFT 2 /* SLIMRX3_ENA */
- #define ARIZONA_SLIMRX3_ENA_WIDTH 1 /* SLIMRX3_ENA */
- #define ARIZONA_SLIMRX2_ENA 0x0002 /* SLIMRX2_ENA */
- #define ARIZONA_SLIMRX2_ENA_MASK 0x0002 /* SLIMRX2_ENA */
- #define ARIZONA_SLIMRX2_ENA_SHIFT 1 /* SLIMRX2_ENA */
- #define ARIZONA_SLIMRX2_ENA_WIDTH 1 /* SLIMRX2_ENA */
- #define ARIZONA_SLIMRX1_ENA 0x0001 /* SLIMRX1_ENA */
- #define ARIZONA_SLIMRX1_ENA_MASK 0x0001 /* SLIMRX1_ENA */
- #define ARIZONA_SLIMRX1_ENA_SHIFT 0 /* SLIMRX1_ENA */
- #define ARIZONA_SLIMRX1_ENA_WIDTH 1 /* SLIMRX1_ENA */
- /*
- * R1526 (0x5F6) - SLIMbus TX Channel Enable
- */
- #define ARIZONA_SLIMTX8_ENA 0x0080 /* SLIMTX8_ENA */
- #define ARIZONA_SLIMTX8_ENA_MASK 0x0080 /* SLIMTX8_ENA */
- #define ARIZONA_SLIMTX8_ENA_SHIFT 7 /* SLIMTX8_ENA */
- #define ARIZONA_SLIMTX8_ENA_WIDTH 1 /* SLIMTX8_ENA */
- #define ARIZONA_SLIMTX7_ENA 0x0040 /* SLIMTX7_ENA */
- #define ARIZONA_SLIMTX7_ENA_MASK 0x0040 /* SLIMTX7_ENA */
- #define ARIZONA_SLIMTX7_ENA_SHIFT 6 /* SLIMTX7_ENA */
- #define ARIZONA_SLIMTX7_ENA_WIDTH 1 /* SLIMTX7_ENA */
- #define ARIZONA_SLIMTX6_ENA 0x0020 /* SLIMTX6_ENA */
- #define ARIZONA_SLIMTX6_ENA_MASK 0x0020 /* SLIMTX6_ENA */
- #define ARIZONA_SLIMTX6_ENA_SHIFT 5 /* SLIMTX6_ENA */
- #define ARIZONA_SLIMTX6_ENA_WIDTH 1 /* SLIMTX6_ENA */
- #define ARIZONA_SLIMTX5_ENA 0x0010 /* SLIMTX5_ENA */
- #define ARIZONA_SLIMTX5_ENA_MASK 0x0010 /* SLIMTX5_ENA */
- #define ARIZONA_SLIMTX5_ENA_SHIFT 4 /* SLIMTX5_ENA */
- #define ARIZONA_SLIMTX5_ENA_WIDTH 1 /* SLIMTX5_ENA */
- #define ARIZONA_SLIMTX4_ENA 0x0008 /* SLIMTX4_ENA */
- #define ARIZONA_SLIMTX4_ENA_MASK 0x0008 /* SLIMTX4_ENA */
- #define ARIZONA_SLIMTX4_ENA_SHIFT 3 /* SLIMTX4_ENA */
- #define ARIZONA_SLIMTX4_ENA_WIDTH 1 /* SLIMTX4_ENA */
- #define ARIZONA_SLIMTX3_ENA 0x0004 /* SLIMTX3_ENA */
- #define ARIZONA_SLIMTX3_ENA_MASK 0x0004 /* SLIMTX3_ENA */
- #define ARIZONA_SLIMTX3_ENA_SHIFT 2 /* SLIMTX3_ENA */
- #define ARIZONA_SLIMTX3_ENA_WIDTH 1 /* SLIMTX3_ENA */
- #define ARIZONA_SLIMTX2_ENA 0x0002 /* SLIMTX2_ENA */
- #define ARIZONA_SLIMTX2_ENA_MASK 0x0002 /* SLIMTX2_ENA */
- #define ARIZONA_SLIMTX2_ENA_SHIFT 1 /* SLIMTX2_ENA */
- #define ARIZONA_SLIMTX2_ENA_WIDTH 1 /* SLIMTX2_ENA */
- #define ARIZONA_SLIMTX1_ENA 0x0001 /* SLIMTX1_ENA */
- #define ARIZONA_SLIMTX1_ENA_MASK 0x0001 /* SLIMTX1_ENA */
- #define ARIZONA_SLIMTX1_ENA_SHIFT 0 /* SLIMTX1_ENA */
- #define ARIZONA_SLIMTX1_ENA_WIDTH 1 /* SLIMTX1_ENA */
- /*
- * R1527 (0x5F7) - SLIMbus RX Port Status
- */
- #define ARIZONA_SLIMRX8_PORT_STS 0x0080 /* SLIMRX8_PORT_STS */
- #define ARIZONA_SLIMRX8_PORT_STS_MASK 0x0080 /* SLIMRX8_PORT_STS */
- #define ARIZONA_SLIMRX8_PORT_STS_SHIFT 7 /* SLIMRX8_PORT_STS */
- #define ARIZONA_SLIMRX8_PORT_STS_WIDTH 1 /* SLIMRX8_PORT_STS */
- #define ARIZONA_SLIMRX7_PORT_STS 0x0040 /* SLIMRX7_PORT_STS */
- #define ARIZONA_SLIMRX7_PORT_STS_MASK 0x0040 /* SLIMRX7_PORT_STS */
- #define ARIZONA_SLIMRX7_PORT_STS_SHIFT 6 /* SLIMRX7_PORT_STS */
- #define ARIZONA_SLIMRX7_PORT_STS_WIDTH 1 /* SLIMRX7_PORT_STS */
- #define ARIZONA_SLIMRX6_PORT_STS 0x0020 /* SLIMRX6_PORT_STS */
- #define ARIZONA_SLIMRX6_PORT_STS_MASK 0x0020 /* SLIMRX6_PORT_STS */
- #define ARIZONA_SLIMRX6_PORT_STS_SHIFT 5 /* SLIMRX6_PORT_STS */
- #define ARIZONA_SLIMRX6_PORT_STS_WIDTH 1 /* SLIMRX6_PORT_STS */
- #define ARIZONA_SLIMRX5_PORT_STS 0x0010 /* SLIMRX5_PORT_STS */
- #define ARIZONA_SLIMRX5_PORT_STS_MASK 0x0010 /* SLIMRX5_PORT_STS */
- #define ARIZONA_SLIMRX5_PORT_STS_SHIFT 4 /* SLIMRX5_PORT_STS */
- #define ARIZONA_SLIMRX5_PORT_STS_WIDTH 1 /* SLIMRX5_PORT_STS */
- #define ARIZONA_SLIMRX4_PORT_STS 0x0008 /* SLIMRX4_PORT_STS */
- #define ARIZONA_SLIMRX4_PORT_STS_MASK 0x0008 /* SLIMRX4_PORT_STS */
- #define ARIZONA_SLIMRX4_PORT_STS_SHIFT 3 /* SLIMRX4_PORT_STS */
- #define ARIZONA_SLIMRX4_PORT_STS_WIDTH 1 /* SLIMRX4_PORT_STS */
- #define ARIZONA_SLIMRX3_PORT_STS 0x0004 /* SLIMRX3_PORT_STS */
- #define ARIZONA_SLIMRX3_PORT_STS_MASK 0x0004 /* SLIMRX3_PORT_STS */
- #define ARIZONA_SLIMRX3_PORT_STS_SHIFT 2 /* SLIMRX3_PORT_STS */
- #define ARIZONA_SLIMRX3_PORT_STS_WIDTH 1 /* SLIMRX3_PORT_STS */
- #define ARIZONA_SLIMRX2_PORT_STS 0x0002 /* SLIMRX2_PORT_STS */
- #define ARIZONA_SLIMRX2_PORT_STS_MASK 0x0002 /* SLIMRX2_PORT_STS */
- #define ARIZONA_SLIMRX2_PORT_STS_SHIFT 1 /* SLIMRX2_PORT_STS */
- #define ARIZONA_SLIMRX2_PORT_STS_WIDTH 1 /* SLIMRX2_PORT_STS */
- #define ARIZONA_SLIMRX1_PORT_STS 0x0001 /* SLIMRX1_PORT_STS */
- #define ARIZONA_SLIMRX1_PORT_STS_MASK 0x0001 /* SLIMRX1_PORT_STS */
- #define ARIZONA_SLIMRX1_PORT_STS_SHIFT 0 /* SLIMRX1_PORT_STS */
- #define ARIZONA_SLIMRX1_PORT_STS_WIDTH 1 /* SLIMRX1_PORT_STS */
- /*
- * R1528 (0x5F8) - SLIMbus TX Port Status
- */
- #define ARIZONA_SLIMTX8_PORT_STS 0x0080 /* SLIMTX8_PORT_STS */
- #define ARIZONA_SLIMTX8_PORT_STS_MASK 0x0080 /* SLIMTX8_PORT_STS */
- #define ARIZONA_SLIMTX8_PORT_STS_SHIFT 7 /* SLIMTX8_PORT_STS */
- #define ARIZONA_SLIMTX8_PORT_STS_WIDTH 1 /* SLIMTX8_PORT_STS */
- #define ARIZONA_SLIMTX7_PORT_STS 0x0040 /* SLIMTX7_PORT_STS */
- #define ARIZONA_SLIMTX7_PORT_STS_MASK 0x0040 /* SLIMTX7_PORT_STS */
- #define ARIZONA_SLIMTX7_PORT_STS_SHIFT 6 /* SLIMTX7_PORT_STS */
- #define ARIZONA_SLIMTX7_PORT_STS_WIDTH 1 /* SLIMTX7_PORT_STS */
- #define ARIZONA_SLIMTX6_PORT_STS 0x0020 /* SLIMTX6_PORT_STS */
- #define ARIZONA_SLIMTX6_PORT_STS_MASK 0x0020 /* SLIMTX6_PORT_STS */
- #define ARIZONA_SLIMTX6_PORT_STS_SHIFT 5 /* SLIMTX6_PORT_STS */
- #define ARIZONA_SLIMTX6_PORT_STS_WIDTH 1 /* SLIMTX6_PORT_STS */
- #define ARIZONA_SLIMTX5_PORT_STS 0x0010 /* SLIMTX5_PORT_STS */
- #define ARIZONA_SLIMTX5_PORT_STS_MASK 0x0010 /* SLIMTX5_PORT_STS */
- #define ARIZONA_SLIMTX5_PORT_STS_SHIFT 4 /* SLIMTX5_PORT_STS */
- #define ARIZONA_SLIMTX5_PORT_STS_WIDTH 1 /* SLIMTX5_PORT_STS */
- #define ARIZONA_SLIMTX4_PORT_STS 0x0008 /* SLIMTX4_PORT_STS */
- #define ARIZONA_SLIMTX4_PORT_STS_MASK 0x0008 /* SLIMTX4_PORT_STS */
- #define ARIZONA_SLIMTX4_PORT_STS_SHIFT 3 /* SLIMTX4_PORT_STS */
- #define ARIZONA_SLIMTX4_PORT_STS_WIDTH 1 /* SLIMTX4_PORT_STS */
- #define ARIZONA_SLIMTX3_PORT_STS 0x0004 /* SLIMTX3_PORT_STS */
- #define ARIZONA_SLIMTX3_PORT_STS_MASK 0x0004 /* SLIMTX3_PORT_STS */
- #define ARIZONA_SLIMTX3_PORT_STS_SHIFT 2 /* SLIMTX3_PORT_STS */
- #define ARIZONA_SLIMTX3_PORT_STS_WIDTH 1 /* SLIMTX3_PORT_STS */
- #define ARIZONA_SLIMTX2_PORT_STS 0x0002 /* SLIMTX2_PORT_STS */
- #define ARIZONA_SLIMTX2_PORT_STS_MASK 0x0002 /* SLIMTX2_PORT_STS */
- #define ARIZONA_SLIMTX2_PORT_STS_SHIFT 1 /* SLIMTX2_PORT_STS */
- #define ARIZONA_SLIMTX2_PORT_STS_WIDTH 1 /* SLIMTX2_PORT_STS */
- #define ARIZONA_SLIMTX1_PORT_STS 0x0001 /* SLIMTX1_PORT_STS */
- #define ARIZONA_SLIMTX1_PORT_STS_MASK 0x0001 /* SLIMTX1_PORT_STS */
- #define ARIZONA_SLIMTX1_PORT_STS_SHIFT 0 /* SLIMTX1_PORT_STS */
- #define ARIZONA_SLIMTX1_PORT_STS_WIDTH 1 /* SLIMTX1_PORT_STS */
- /*
- * R3087 (0xC0F) - IRQ CTRL 1
- */
- #define ARIZONA_IRQ_POL 0x0400 /* IRQ_POL */
- #define ARIZONA_IRQ_POL_MASK 0x0400 /* IRQ_POL */
- #define ARIZONA_IRQ_POL_SHIFT 10 /* IRQ_POL */
- #define ARIZONA_IRQ_POL_WIDTH 1 /* IRQ_POL */
- #define ARIZONA_IRQ_OP_CFG 0x0200 /* IRQ_OP_CFG */
- #define ARIZONA_IRQ_OP_CFG_MASK 0x0200 /* IRQ_OP_CFG */
- #define ARIZONA_IRQ_OP_CFG_SHIFT 9 /* IRQ_OP_CFG */
- #define ARIZONA_IRQ_OP_CFG_WIDTH 1 /* IRQ_OP_CFG */
- /*
- * R3088 (0xC10) - GPIO Debounce Config
- */
- #define ARIZONA_GP_DBTIME_MASK 0xF000 /* GP_DBTIME - [15:12] */
- #define ARIZONA_GP_DBTIME_SHIFT 12 /* GP_DBTIME - [15:12] */
- #define ARIZONA_GP_DBTIME_WIDTH 4 /* GP_DBTIME - [15:12] */
- /*
- * R3096 (0xC18) - GP Switch 1
- */
- #define ARIZONA_SW1_MODE_MASK 0x0003 /* SW1_MODE - [1:0] */
- #define ARIZONA_SW1_MODE_SHIFT 0 /* SW1_MODE - [1:0] */
- #define ARIZONA_SW1_MODE_WIDTH 2 /* SW1_MODE - [1:0] */
- /*
- * R3104 (0xC20) - Misc Pad Ctrl 1
- */
- #define ARIZONA_LDO1ENA_PD 0x8000 /* LDO1ENA_PD */
- #define ARIZONA_LDO1ENA_PD_MASK 0x8000 /* LDO1ENA_PD */
- #define ARIZONA_LDO1ENA_PD_SHIFT 15 /* LDO1ENA_PD */
- #define ARIZONA_LDO1ENA_PD_WIDTH 1 /* LDO1ENA_PD */
- #define ARIZONA_MCLK2_PD 0x2000 /* MCLK2_PD */
- #define ARIZONA_MCLK2_PD_MASK 0x2000 /* MCLK2_PD */
- #define ARIZONA_MCLK2_PD_SHIFT 13 /* MCLK2_PD */
- #define ARIZONA_MCLK2_PD_WIDTH 1 /* MCLK2_PD */
- #define ARIZONA_RSTB_PU 0x0002 /* RSTB_PU */
- #define ARIZONA_RSTB_PU_MASK 0x0002 /* RSTB_PU */
- #define ARIZONA_RSTB_PU_SHIFT 1 /* RSTB_PU */
- #define ARIZONA_RSTB_PU_WIDTH 1 /* RSTB_PU */
- /*
- * R3105 (0xC21) - Misc Pad Ctrl 2
- */
- #define ARIZONA_MCLK1_PD 0x1000 /* MCLK1_PD */
- #define ARIZONA_MCLK1_PD_MASK 0x1000 /* MCLK1_PD */
- #define ARIZONA_MCLK1_PD_SHIFT 12 /* MCLK1_PD */
- #define ARIZONA_MCLK1_PD_WIDTH 1 /* MCLK1_PD */
- #define ARIZONA_MICD_PD 0x0100 /* MICD_PD */
- #define ARIZONA_MICD_PD_MASK 0x0100 /* MICD_PD */
- #define ARIZONA_MICD_PD_SHIFT 8 /* MICD_PD */
- #define ARIZONA_MICD_PD_WIDTH 1 /* MICD_PD */
- #define ARIZONA_ADDR_PD 0x0001 /* ADDR_PD */
- #define ARIZONA_ADDR_PD_MASK 0x0001 /* ADDR_PD */
- #define ARIZONA_ADDR_PD_SHIFT 0 /* ADDR_PD */
- #define ARIZONA_ADDR_PD_WIDTH 1 /* ADDR_PD */
- /*
- * R3106 (0xC22) - Misc Pad Ctrl 3
- */
- #define ARIZONA_DMICDAT4_PD 0x0008 /* DMICDAT4_PD */
- #define ARIZONA_DMICDAT4_PD_MASK 0x0008 /* DMICDAT4_PD */
- #define ARIZONA_DMICDAT4_PD_SHIFT 3 /* DMICDAT4_PD */
- #define ARIZONA_DMICDAT4_PD_WIDTH 1 /* DMICDAT4_PD */
- #define ARIZONA_DMICDAT3_PD 0x0004 /* DMICDAT3_PD */
- #define ARIZONA_DMICDAT3_PD_MASK 0x0004 /* DMICDAT3_PD */
- #define ARIZONA_DMICDAT3_PD_SHIFT 2 /* DMICDAT3_PD */
- #define ARIZONA_DMICDAT3_PD_WIDTH 1 /* DMICDAT3_PD */
- #define ARIZONA_DMICDAT2_PD 0x0002 /* DMICDAT2_PD */
- #define ARIZONA_DMICDAT2_PD_MASK 0x0002 /* DMICDAT2_PD */
- #define ARIZONA_DMICDAT2_PD_SHIFT 1 /* DMICDAT2_PD */
- #define ARIZONA_DMICDAT2_PD_WIDTH 1 /* DMICDAT2_PD */
- #define ARIZONA_DMICDAT1_PD 0x0001 /* DMICDAT1_PD */
- #define ARIZONA_DMICDAT1_PD_MASK 0x0001 /* DMICDAT1_PD */
- #define ARIZONA_DMICDAT1_PD_SHIFT 0 /* DMICDAT1_PD */
- #define ARIZONA_DMICDAT1_PD_WIDTH 1 /* DMICDAT1_PD */
- /*
- * R3107 (0xC23) - Misc Pad Ctrl 4
- */
- #define ARIZONA_AIF1RXLRCLK_PU 0x0020 /* AIF1RXLRCLK_PU */
- #define ARIZONA_AIF1RXLRCLK_PU_MASK 0x0020 /* AIF1RXLRCLK_PU */
- #define ARIZONA_AIF1RXLRCLK_PU_SHIFT 5 /* AIF1RXLRCLK_PU */
- #define ARIZONA_AIF1RXLRCLK_PU_WIDTH 1 /* AIF1RXLRCLK_PU */
- #define ARIZONA_AIF1RXLRCLK_PD 0x0010 /* AIF1RXLRCLK_PD */
- #define ARIZONA_AIF1RXLRCLK_PD_MASK 0x0010 /* AIF1RXLRCLK_PD */
- #define ARIZONA_AIF1RXLRCLK_PD_SHIFT 4 /* AIF1RXLRCLK_PD */
- #define ARIZONA_AIF1RXLRCLK_PD_WIDTH 1 /* AIF1RXLRCLK_PD */
- #define ARIZONA_AIF1BCLK_PU 0x0008 /* AIF1BCLK_PU */
- #define ARIZONA_AIF1BCLK_PU_MASK 0x0008 /* AIF1BCLK_PU */
- #define ARIZONA_AIF1BCLK_PU_SHIFT 3 /* AIF1BCLK_PU */
- #define ARIZONA_AIF1BCLK_PU_WIDTH 1 /* AIF1BCLK_PU */
- #define ARIZONA_AIF1BCLK_PD 0x0004 /* AIF1BCLK_PD */
- #define ARIZONA_AIF1BCLK_PD_MASK 0x0004 /* AIF1BCLK_PD */
- #define ARIZONA_AIF1BCLK_PD_SHIFT 2 /* AIF1BCLK_PD */
- #define ARIZONA_AIF1BCLK_PD_WIDTH 1 /* AIF1BCLK_PD */
- #define ARIZONA_AIF1RXDAT_PU 0x0002 /* AIF1RXDAT_PU */
- #define ARIZONA_AIF1RXDAT_PU_MASK 0x0002 /* AIF1RXDAT_PU */
- #define ARIZONA_AIF1RXDAT_PU_SHIFT 1 /* AIF1RXDAT_PU */
- #define ARIZONA_AIF1RXDAT_PU_WIDTH 1 /* AIF1RXDAT_PU */
- #define ARIZONA_AIF1RXDAT_PD 0x0001 /* AIF1RXDAT_PD */
- #define ARIZONA_AIF1RXDAT_PD_MASK 0x0001 /* AIF1RXDAT_PD */
- #define ARIZONA_AIF1RXDAT_PD_SHIFT 0 /* AIF1RXDAT_PD */
- #define ARIZONA_AIF1RXDAT_PD_WIDTH 1 /* AIF1RXDAT_PD */
- /*
- * R3108 (0xC24) - Misc Pad Ctrl 5
- */
- #define ARIZONA_AIF2RXLRCLK_PU 0x0020 /* AIF2RXLRCLK_PU */
- #define ARIZONA_AIF2RXLRCLK_PU_MASK 0x0020 /* AIF2RXLRCLK_PU */
- #define ARIZONA_AIF2RXLRCLK_PU_SHIFT 5 /* AIF2RXLRCLK_PU */
- #define ARIZONA_AIF2RXLRCLK_PU_WIDTH 1 /* AIF2RXLRCLK_PU */
- #define ARIZONA_AIF2RXLRCLK_PD 0x0010 /* AIF2RXLRCLK_PD */
- #define ARIZONA_AIF2RXLRCLK_PD_MASK 0x0010 /* AIF2RXLRCLK_PD */
- #define ARIZONA_AIF2RXLRCLK_PD_SHIFT 4 /* AIF2RXLRCLK_PD */
- #define ARIZONA_AIF2RXLRCLK_PD_WIDTH 1 /* AIF2RXLRCLK_PD */
- #define ARIZONA_AIF2BCLK_PU 0x0008 /* AIF2BCLK_PU */
- #define ARIZONA_AIF2BCLK_PU_MASK 0x0008 /* AIF2BCLK_PU */
- #define ARIZONA_AIF2BCLK_PU_SHIFT 3 /* AIF2BCLK_PU */
- #define ARIZONA_AIF2BCLK_PU_WIDTH 1 /* AIF2BCLK_PU */
- #define ARIZONA_AIF2BCLK_PD 0x0004 /* AIF2BCLK_PD */
- #define ARIZONA_AIF2BCLK_PD_MASK 0x0004 /* AIF2BCLK_PD */
- #define ARIZONA_AIF2BCLK_PD_SHIFT 2 /* AIF2BCLK_PD */
- #define ARIZONA_AIF2BCLK_PD_WIDTH 1 /* AIF2BCLK_PD */
- #define ARIZONA_AIF2RXDAT_PU 0x0002 /* AIF2RXDAT_PU */
- #define ARIZONA_AIF2RXDAT_PU_MASK 0x0002 /* AIF2RXDAT_PU */
- #define ARIZONA_AIF2RXDAT_PU_SHIFT 1 /* AIF2RXDAT_PU */
- #define ARIZONA_AIF2RXDAT_PU_WIDTH 1 /* AIF2RXDAT_PU */
- #define ARIZONA_AIF2RXDAT_PD 0x0001 /* AIF2RXDAT_PD */
- #define ARIZONA_AIF2RXDAT_PD_MASK 0x0001 /* AIF2RXDAT_PD */
- #define ARIZONA_AIF2RXDAT_PD_SHIFT 0 /* AIF2RXDAT_PD */
- #define ARIZONA_AIF2RXDAT_PD_WIDTH 1 /* AIF2RXDAT_PD */
- /*
- * R3109 (0xC25) - Misc Pad Ctrl 6
- */
- #define ARIZONA_AIF3RXLRCLK_PU 0x0020 /* AIF3RXLRCLK_PU */
- #define ARIZONA_AIF3RXLRCLK_PU_MASK 0x0020 /* AIF3RXLRCLK_PU */
- #define ARIZONA_AIF3RXLRCLK_PU_SHIFT 5 /* AIF3RXLRCLK_PU */
- #define ARIZONA_AIF3RXLRCLK_PU_WIDTH 1 /* AIF3RXLRCLK_PU */
- #define ARIZONA_AIF3RXLRCLK_PD 0x0010 /* AIF3RXLRCLK_PD */
- #define ARIZONA_AIF3RXLRCLK_PD_MASK 0x0010 /* AIF3RXLRCLK_PD */
- #define ARIZONA_AIF3RXLRCLK_PD_SHIFT 4 /* AIF3RXLRCLK_PD */
- #define ARIZONA_AIF3RXLRCLK_PD_WIDTH 1 /* AIF3RXLRCLK_PD */
- #define ARIZONA_AIF3BCLK_PU 0x0008 /* AIF3BCLK_PU */
- #define ARIZONA_AIF3BCLK_PU_MASK 0x0008 /* AIF3BCLK_PU */
- #define ARIZONA_AIF3BCLK_PU_SHIFT 3 /* AIF3BCLK_PU */
- #define ARIZONA_AIF3BCLK_PU_WIDTH 1 /* AIF3BCLK_PU */
- #define ARIZONA_AIF3BCLK_PD 0x0004 /* AIF3BCLK_PD */
- #define ARIZONA_AIF3BCLK_PD_MASK 0x0004 /* AIF3BCLK_PD */
- #define ARIZONA_AIF3BCLK_PD_SHIFT 2 /* AIF3BCLK_PD */
- #define ARIZONA_AIF3BCLK_PD_WIDTH 1 /* AIF3BCLK_PD */
- #define ARIZONA_AIF3RXDAT_PU 0x0002 /* AIF3RXDAT_PU */
- #define ARIZONA_AIF3RXDAT_PU_MASK 0x0002 /* AIF3RXDAT_PU */
- #define ARIZONA_AIF3RXDAT_PU_SHIFT 1 /* AIF3RXDAT_PU */
- #define ARIZONA_AIF3RXDAT_PU_WIDTH 1 /* AIF3RXDAT_PU */
- #define ARIZONA_AIF3RXDAT_PD 0x0001 /* AIF3RXDAT_PD */
- #define ARIZONA_AIF3RXDAT_PD_MASK 0x0001 /* AIF3RXDAT_PD */
- #define ARIZONA_AIF3RXDAT_PD_SHIFT 0 /* AIF3RXDAT_PD */
- #define ARIZONA_AIF3RXDAT_PD_WIDTH 1 /* AIF3RXDAT_PD */
- /*
- * R3328 (0xD00) - Interrupt Status 1
- */
- #define ARIZONA_GP4_EINT1 0x0008 /* GP4_EINT1 */
- #define ARIZONA_GP4_EINT1_MASK 0x0008 /* GP4_EINT1 */
- #define ARIZONA_GP4_EINT1_SHIFT 3 /* GP4_EINT1 */
- #define ARIZONA_GP4_EINT1_WIDTH 1 /* GP4_EINT1 */
- #define ARIZONA_GP3_EINT1 0x0004 /* GP3_EINT1 */
- #define ARIZONA_GP3_EINT1_MASK 0x0004 /* GP3_EINT1 */
- #define ARIZONA_GP3_EINT1_SHIFT 2 /* GP3_EINT1 */
- #define ARIZONA_GP3_EINT1_WIDTH 1 /* GP3_EINT1 */
- #define ARIZONA_GP2_EINT1 0x0002 /* GP2_EINT1 */
- #define ARIZONA_GP2_EINT1_MASK 0x0002 /* GP2_EINT1 */
- #define ARIZONA_GP2_EINT1_SHIFT 1 /* GP2_EINT1 */
- #define ARIZONA_GP2_EINT1_WIDTH 1 /* GP2_EINT1 */
- #define ARIZONA_GP1_EINT1 0x0001 /* GP1_EINT1 */
- #define ARIZONA_GP1_EINT1_MASK 0x0001 /* GP1_EINT1 */
- #define ARIZONA_GP1_EINT1_SHIFT 0 /* GP1_EINT1 */
- #define ARIZONA_GP1_EINT1_WIDTH 1 /* GP1_EINT1 */
- /*
- * R3329 (0xD01) - Interrupt Status 2
- */
- #define ARIZONA_DSP4_RAM_RDY_EINT1 0x0800 /* DSP4_RAM_RDY_EINT1 */
- #define ARIZONA_DSP4_RAM_RDY_EINT1_MASK 0x0800 /* DSP4_RAM_RDY_EINT1 */
- #define ARIZONA_DSP4_RAM_RDY_EINT1_SHIFT 11 /* DSP4_RAM_RDY_EINT1 */
- #define ARIZONA_DSP4_RAM_RDY_EINT1_WIDTH 1 /* DSP4_RAM_RDY_EINT1 */
- #define ARIZONA_DSP3_RAM_RDY_EINT1 0x0400 /* DSP3_RAM_RDY_EINT1 */
- #define ARIZONA_DSP3_RAM_RDY_EINT1_MASK 0x0400 /* DSP3_RAM_RDY_EINT1 */
- #define ARIZONA_DSP3_RAM_RDY_EINT1_SHIFT 10 /* DSP3_RAM_RDY_EINT1 */
- #define ARIZONA_DSP3_RAM_RDY_EINT1_WIDTH 1 /* DSP3_RAM_RDY_EINT1 */
- #define ARIZONA_DSP2_RAM_RDY_EINT1 0x0200 /* DSP2_RAM_RDY_EINT1 */
- #define ARIZONA_DSP2_RAM_RDY_EINT1_MASK 0x0200 /* DSP2_RAM_RDY_EINT1 */
- #define ARIZONA_DSP2_RAM_RDY_EINT1_SHIFT 9 /* DSP2_RAM_RDY_EINT1 */
- #define ARIZONA_DSP2_RAM_RDY_EINT1_WIDTH 1 /* DSP2_RAM_RDY_EINT1 */
- #define ARIZONA_DSP1_RAM_RDY_EINT1 0x0100 /* DSP1_RAM_RDY_EINT1 */
- #define ARIZONA_DSP1_RAM_RDY_EINT1_MASK 0x0100 /* DSP1_RAM_RDY_EINT1 */
- #define ARIZONA_DSP1_RAM_RDY_EINT1_SHIFT 8 /* DSP1_RAM_RDY_EINT1 */
- #define ARIZONA_DSP1_RAM_RDY_EINT1_WIDTH 1 /* DSP1_RAM_RDY_EINT1 */
- #define ARIZONA_DSP_IRQ8_EINT1 0x0080 /* DSP_IRQ8_EINT1 */
- #define ARIZONA_DSP_IRQ8_EINT1_MASK 0x0080 /* DSP_IRQ8_EINT1 */
- #define ARIZONA_DSP_IRQ8_EINT1_SHIFT 7 /* DSP_IRQ8_EINT1 */
- #define ARIZONA_DSP_IRQ8_EINT1_WIDTH 1 /* DSP_IRQ8_EINT1 */
- #define ARIZONA_DSP_IRQ7_EINT1 0x0040 /* DSP_IRQ7_EINT1 */
- #define ARIZONA_DSP_IRQ7_EINT1_MASK 0x0040 /* DSP_IRQ7_EINT1 */
- #define ARIZONA_DSP_IRQ7_EINT1_SHIFT 6 /* DSP_IRQ7_EINT1 */
- #define ARIZONA_DSP_IRQ7_EINT1_WIDTH 1 /* DSP_IRQ7_EINT1 */
- #define ARIZONA_DSP_IRQ6_EINT1 0x0020 /* DSP_IRQ6_EINT1 */
- #define ARIZONA_DSP_IRQ6_EINT1_MASK 0x0020 /* DSP_IRQ6_EINT1 */
- #define ARIZONA_DSP_IRQ6_EINT1_SHIFT 5 /* DSP_IRQ6_EINT1 */
- #define ARIZONA_DSP_IRQ6_EINT1_WIDTH 1 /* DSP_IRQ6_EINT1 */
- #define ARIZONA_DSP_IRQ5_EINT1 0x0010 /* DSP_IRQ5_EINT1 */
- #define ARIZONA_DSP_IRQ5_EINT1_MASK 0x0010 /* DSP_IRQ5_EINT1 */
- #define ARIZONA_DSP_IRQ5_EINT1_SHIFT 4 /* DSP_IRQ5_EINT1 */
- #define ARIZONA_DSP_IRQ5_EINT1_WIDTH 1 /* DSP_IRQ5_EINT1 */
- #define ARIZONA_DSP_IRQ4_EINT1 0x0008 /* DSP_IRQ4_EINT1 */
- #define ARIZONA_DSP_IRQ4_EINT1_MASK 0x0008 /* DSP_IRQ4_EINT1 */
- #define ARIZONA_DSP_IRQ4_EINT1_SHIFT 3 /* DSP_IRQ4_EINT1 */
- #define ARIZONA_DSP_IRQ4_EINT1_WIDTH 1 /* DSP_IRQ4_EINT1 */
- #define ARIZONA_DSP_IRQ3_EINT1 0x0004 /* DSP_IRQ3_EINT1 */
- #define ARIZONA_DSP_IRQ3_EINT1_MASK 0x0004 /* DSP_IRQ3_EINT1 */
- #define ARIZONA_DSP_IRQ3_EINT1_SHIFT 2 /* DSP_IRQ3_EINT1 */
- #define ARIZONA_DSP_IRQ3_EINT1_WIDTH 1 /* DSP_IRQ3_EINT1 */
- #define ARIZONA_DSP_IRQ2_EINT1 0x0002 /* DSP_IRQ2_EINT1 */
- #define ARIZONA_DSP_IRQ2_EINT1_MASK 0x0002 /* DSP_IRQ2_EINT1 */
- #define ARIZONA_DSP_IRQ2_EINT1_SHIFT 1 /* DSP_IRQ2_EINT1 */
- #define ARIZONA_DSP_IRQ2_EINT1_WIDTH 1 /* DSP_IRQ2_EINT1 */
- #define ARIZONA_DSP_IRQ1_EINT1 0x0001 /* DSP_IRQ1_EINT1 */
- #define ARIZONA_DSP_IRQ1_EINT1_MASK 0x0001 /* DSP_IRQ1_EINT1 */
- #define ARIZONA_DSP_IRQ1_EINT1_SHIFT 0 /* DSP_IRQ1_EINT1 */
- #define ARIZONA_DSP_IRQ1_EINT1_WIDTH 1 /* DSP_IRQ1_EINT1 */
- /*
- * R3330 (0xD02) - Interrupt Status 3
- */
- #define ARIZONA_SPK_OVERHEAT_WARN_EINT1 0x8000 /* SPK_OVERHEAT_WARN_EINT1 */
- #define ARIZONA_SPK_OVERHEAT_WARN_EINT1_MASK 0x8000 /* SPK_OVERHEAD_WARN_EINT1 */
- #define ARIZONA_SPK_OVERHEAT_WARN_EINT1_SHIFT 15 /* SPK_OVERHEAT_WARN_EINT1 */
- #define ARIZONA_SPK_OVERHEAT_WARN_EINT1_WIDTH 1 /* SPK_OVERHEAT_WARN_EINT1 */
- #define ARIZONA_SPK_OVERHEAT_EINT1 0x4000 /* SPK_OVERHEAT_EINT1 */
- #define ARIZONA_SPK_OVERHEAT_EINT1_MASK 0x4000 /* SPK_OVERHEAT_EINT1 */
- #define ARIZONA_SPK_OVERHEAT_EINT1_SHIFT 14 /* SPK_OVERHEAT_EINT1 */
- #define ARIZONA_SPK_OVERHEAT_EINT1_WIDTH 1 /* SPK_OVERHEAT_EINT1 */
- #define ARIZONA_HPDET_EINT1 0x2000 /* HPDET_EINT1 */
- #define ARIZONA_HPDET_EINT1_MASK 0x2000 /* HPDET_EINT1 */
- #define ARIZONA_HPDET_EINT1_SHIFT 13 /* HPDET_EINT1 */
- #define ARIZONA_HPDET_EINT1_WIDTH 1 /* HPDET_EINT1 */
- #define ARIZONA_MICDET_EINT1 0x1000 /* MICDET_EINT1 */
- #define ARIZONA_MICDET_EINT1_MASK 0x1000 /* MICDET_EINT1 */
- #define ARIZONA_MICDET_EINT1_SHIFT 12 /* MICDET_EINT1 */
- #define ARIZONA_MICDET_EINT1_WIDTH 1 /* MICDET_EINT1 */
- #define ARIZONA_WSEQ_DONE_EINT1 0x0800 /* WSEQ_DONE_EINT1 */
- #define ARIZONA_WSEQ_DONE_EINT1_MASK 0x0800 /* WSEQ_DONE_EINT1 */
- #define ARIZONA_WSEQ_DONE_EINT1_SHIFT 11 /* WSEQ_DONE_EINT1 */
- #define ARIZONA_WSEQ_DONE_EINT1_WIDTH 1 /* WSEQ_DONE_EINT1 */
- #define ARIZONA_DRC2_SIG_DET_EINT1 0x0400 /* DRC2_SIG_DET_EINT1 */
- #define ARIZONA_DRC2_SIG_DET_EINT1_MASK 0x0400 /* DRC2_SIG_DET_EINT1 */
- #define ARIZONA_DRC2_SIG_DET_EINT1_SHIFT 10 /* DRC2_SIG_DET_EINT1 */
- #define ARIZONA_DRC2_SIG_DET_EINT1_WIDTH 1 /* DRC2_SIG_DET_EINT1 */
- #define ARIZONA_DRC1_SIG_DET_EINT1 0x0200 /* DRC1_SIG_DET_EINT1 */
- #define ARIZONA_DRC1_SIG_DET_EINT1_MASK 0x0200 /* DRC1_SIG_DET_EINT1 */
- #define ARIZONA_DRC1_SIG_DET_EINT1_SHIFT 9 /* DRC1_SIG_DET_EINT1 */
- #define ARIZONA_DRC1_SIG_DET_EINT1_WIDTH 1 /* DRC1_SIG_DET_EINT1 */
- #define ARIZONA_ASRC2_LOCK_EINT1 0x0100 /* ASRC2_LOCK_EINT1 */
- #define ARIZONA_ASRC2_LOCK_EINT1_MASK 0x0100 /* ASRC2_LOCK_EINT1 */
- #define ARIZONA_ASRC2_LOCK_EINT1_SHIFT 8 /* ASRC2_LOCK_EINT1 */
- #define ARIZONA_ASRC2_LOCK_EINT1_WIDTH 1 /* ASRC2_LOCK_EINT1 */
- #define ARIZONA_ASRC1_LOCK_EINT1 0x0080 /* ASRC1_LOCK_EINT1 */
- #define ARIZONA_ASRC1_LOCK_EINT1_MASK 0x0080 /* ASRC1_LOCK_EINT1 */
- #define ARIZONA_ASRC1_LOCK_EINT1_SHIFT 7 /* ASRC1_LOCK_EINT1 */
- #define ARIZONA_ASRC1_LOCK_EINT1_WIDTH 1 /* ASRC1_LOCK_EINT1 */
- #define ARIZONA_UNDERCLOCKED_EINT1 0x0040 /* UNDERCLOCKED_EINT1 */
- #define ARIZONA_UNDERCLOCKED_EINT1_MASK 0x0040 /* UNDERCLOCKED_EINT1 */
- #define ARIZONA_UNDERCLOCKED_EINT1_SHIFT 6 /* UNDERCLOCKED_EINT1 */
- #define ARIZONA_UNDERCLOCKED_EINT1_WIDTH 1 /* UNDERCLOCKED_EINT1 */
- #define ARIZONA_OVERCLOCKED_EINT1 0x0020 /* OVERCLOCKED_EINT1 */
- #define ARIZONA_OVERCLOCKED_EINT1_MASK 0x0020 /* OVERCLOCKED_EINT1 */
- #define ARIZONA_OVERCLOCKED_EINT1_SHIFT 5 /* OVERCLOCKED_EINT1 */
- #define ARIZONA_OVERCLOCKED_EINT1_WIDTH 1 /* OVERCLOCKED_EINT1 */
- #define ARIZONA_FLL2_LOCK_EINT1 0x0008 /* FLL2_LOCK_EINT1 */
- #define ARIZONA_FLL2_LOCK_EINT1_MASK 0x0008 /* FLL2_LOCK_EINT1 */
- #define ARIZONA_FLL2_LOCK_EINT1_SHIFT 3 /* FLL2_LOCK_EINT1 */
- #define ARIZONA_FLL2_LOCK_EINT1_WIDTH 1 /* FLL2_LOCK_EINT1 */
- #define ARIZONA_FLL1_LOCK_EINT1 0x0004 /* FLL1_LOCK_EINT1 */
- #define ARIZONA_FLL1_LOCK_EINT1_MASK 0x0004 /* FLL1_LOCK_EINT1 */
- #define ARIZONA_FLL1_LOCK_EINT1_SHIFT 2 /* FLL1_LOCK_EINT1 */
- #define ARIZONA_FLL1_LOCK_EINT1_WIDTH 1 /* FLL1_LOCK_EINT1 */
- #define ARIZONA_CLKGEN_ERR_EINT1 0x0002 /* CLKGEN_ERR_EINT1 */
- #define ARIZONA_CLKGEN_ERR_EINT1_MASK 0x0002 /* CLKGEN_ERR_EINT1 */
- #define ARIZONA_CLKGEN_ERR_EINT1_SHIFT 1 /* CLKGEN_ERR_EINT1 */
- #define ARIZONA_CLKGEN_ERR_EINT1_WIDTH 1 /* CLKGEN_ERR_EINT1 */
- #define ARIZONA_CLKGEN_ERR_ASYNC_EINT1 0x0001 /* CLKGEN_ERR_ASYNC_EINT1 */
- #define ARIZONA_CLKGEN_ERR_ASYNC_EINT1_MASK 0x0001 /* CLKGEN_ERR_ASYNC_EINT1 */
- #define ARIZONA_CLKGEN_ERR_ASYNC_EINT1_SHIFT 0 /* CLKGEN_ERR_ASYNC_EINT1 */
- #define ARIZONA_CLKGEN_ERR_ASYNC_EINT1_WIDTH 1 /* CLKGEN_ERR_ASYNC_EINT1 */
- /*
- * R3331 (0xD03) - Interrupt Status 4
- */
- #define ARIZONA_ASRC_CFG_ERR_EINT1 0x8000 /* ASRC_CFG_ERR_EINT1 */
- #define ARIZONA_ASRC_CFG_ERR_EINT1_MASK 0x8000 /* ASRC_CFG_ERR_EINT1 */
- #define ARIZONA_ASRC_CFG_ERR_EINT1_SHIFT 15 /* ASRC_CFG_ERR_EINT1 */
- #define ARIZONA_ASRC_CFG_ERR_EINT1_WIDTH 1 /* ASRC_CFG_ERR_EINT1 */
- #define ARIZONA_AIF3_ERR_EINT1 0x4000 /* AIF3_ERR_EINT1 */
- #define ARIZONA_AIF3_ERR_EINT1_MASK 0x4000 /* AIF3_ERR_EINT1 */
- #define ARIZONA_AIF3_ERR_EINT1_SHIFT 14 /* AIF3_ERR_EINT1 */
- #define ARIZONA_AIF3_ERR_EINT1_WIDTH 1 /* AIF3_ERR_EINT1 */
- #define ARIZONA_AIF2_ERR_EINT1 0x2000 /* AIF2_ERR_EINT1 */
- #define ARIZONA_AIF2_ERR_EINT1_MASK 0x2000 /* AIF2_ERR_EINT1 */
- #define ARIZONA_AIF2_ERR_EINT1_SHIFT 13 /* AIF2_ERR_EINT1 */
- #define ARIZONA_AIF2_ERR_EINT1_WIDTH 1 /* AIF2_ERR_EINT1 */
- #define ARIZONA_AIF1_ERR_EINT1 0x1000 /* AIF1_ERR_EINT1 */
- #define ARIZONA_AIF1_ERR_EINT1_MASK 0x1000 /* AIF1_ERR_EINT1 */
- #define ARIZONA_AIF1_ERR_EINT1_SHIFT 12 /* AIF1_ERR_EINT1 */
- #define ARIZONA_AIF1_ERR_EINT1_WIDTH 1 /* AIF1_ERR_EINT1 */
- #define ARIZONA_CTRLIF_ERR_EINT1 0x0800 /* CTRLIF_ERR_EINT1 */
- #define ARIZONA_CTRLIF_ERR_EINT1_MASK 0x0800 /* CTRLIF_ERR_EINT1 */
- #define ARIZONA_CTRLIF_ERR_EINT1_SHIFT 11 /* CTRLIF_ERR_EINT1 */
- #define ARIZONA_CTRLIF_ERR_EINT1_WIDTH 1 /* CTRLIF_ERR_EINT1 */
- #define ARIZONA_MIXER_DROPPED_SAMPLE_EINT1 0x0400 /* MIXER_DROPPED_SAMPLE_EINT1 */
- #define ARIZONA_MIXER_DROPPED_SAMPLE_EINT1_MASK 0x0400 /* MIXER_DROPPED_SAMPLE_EINT1 */
- #define ARIZONA_MIXER_DROPPED_SAMPLE_EINT1_SHIFT 10 /* MIXER_DROPPED_SAMPLE_EINT1 */
- #define ARIZONA_MIXER_DROPPED_SAMPLE_EINT1_WIDTH 1 /* MIXER_DROPPED_SAMPLE_EINT1 */
- #define ARIZONA_ASYNC_CLK_ENA_LOW_EINT1 0x0200 /* ASYNC_CLK_ENA_LOW_EINT1 */
- #define ARIZONA_ASYNC_CLK_ENA_LOW_EINT1_MASK 0x0200 /* ASYNC_CLK_ENA_LOW_EINT1 */
- #define ARIZONA_ASYNC_CLK_ENA_LOW_EINT1_SHIFT 9 /* ASYNC_CLK_ENA_LOW_EINT1 */
- #define ARIZONA_ASYNC_CLK_ENA_LOW_EINT1_WIDTH 1 /* ASYNC_CLK_ENA_LOW_EINT1 */
- #define ARIZONA_SYSCLK_ENA_LOW_EINT1 0x0100 /* SYSCLK_ENA_LOW_EINT1 */
- #define ARIZONA_SYSCLK_ENA_LOW_EINT1_MASK 0x0100 /* SYSCLK_ENA_LOW_EINT1 */
- #define ARIZONA_SYSCLK_ENA_LOW_EINT1_SHIFT 8 /* SYSCLK_ENA_LOW_EINT1 */
- #define ARIZONA_SYSCLK_ENA_LOW_EINT1_WIDTH 1 /* SYSCLK_ENA_LOW_EINT1 */
- #define ARIZONA_ISRC1_CFG_ERR_EINT1 0x0080 /* ISRC1_CFG_ERR_EINT1 */
- #define ARIZONA_ISRC1_CFG_ERR_EINT1_MASK 0x0080 /* ISRC1_CFG_ERR_EINT1 */
- #define ARIZONA_ISRC1_CFG_ERR_EINT1_SHIFT 7 /* ISRC1_CFG_ERR_EINT1 */
- #define ARIZONA_ISRC1_CFG_ERR_EINT1_WIDTH 1 /* ISRC1_CFG_ERR_EINT1 */
- #define ARIZONA_ISRC2_CFG_ERR_EINT1 0x0040 /* ISRC2_CFG_ERR_EINT1 */
- #define ARIZONA_ISRC2_CFG_ERR_EINT1_MASK 0x0040 /* ISRC2_CFG_ERR_EINT1 */
- #define ARIZONA_ISRC2_CFG_ERR_EINT1_SHIFT 6 /* ISRC2_CFG_ERR_EINT1 */
- #define ARIZONA_ISRC2_CFG_ERR_EINT1_WIDTH 1 /* ISRC2_CFG_ERR_EINT1 */
- #define ARIZONA_HP3R_DONE_EINT1 0x0020 /* HP3R_DONE_EINT1 */
- #define ARIZONA_HP3R_DONE_EINT1_MASK 0x0020 /* HP3R_DONE_EINT1 */
- #define ARIZONA_HP3R_DONE_EINT1_SHIFT 5 /* HP3R_DONE_EINT1 */
- #define ARIZONA_HP3R_DONE_EINT1_WIDTH 1 /* HP3R_DONE_EINT1 */
- #define ARIZONA_HP3L_DONE_EINT1 0x0010 /* HP3L_DONE_EINT1 */
- #define ARIZONA_HP3L_DONE_EINT1_MASK 0x0010 /* HP3L_DONE_EINT1 */
- #define ARIZONA_HP3L_DONE_EINT1_SHIFT 4 /* HP3L_DONE_EINT1 */
- #define ARIZONA_HP3L_DONE_EINT1_WIDTH 1 /* HP3L_DONE_EINT1 */
- #define ARIZONA_HP2R_DONE_EINT1 0x0008 /* HP2R_DONE_EINT1 */
- #define ARIZONA_HP2R_DONE_EINT1_MASK 0x0008 /* HP2R_DONE_EINT1 */
- #define ARIZONA_HP2R_DONE_EINT1_SHIFT 3 /* HP2R_DONE_EINT1 */
- #define ARIZONA_HP2R_DONE_EINT1_WIDTH 1 /* HP2R_DONE_EINT1 */
- #define ARIZONA_HP2L_DONE_EINT1 0x0004 /* HP2L_DONE_EINT1 */
- #define ARIZONA_HP2L_DONE_EINT1_MASK 0x0004 /* HP2L_DONE_EINT1 */
- #define ARIZONA_HP2L_DONE_EINT1_SHIFT 2 /* HP2L_DONE_EINT1 */
- #define ARIZONA_HP2L_DONE_EINT1_WIDTH 1 /* HP2L_DONE_EINT1 */
- #define ARIZONA_HP1R_DONE_EINT1 0x0002 /* HP1R_DONE_EINT1 */
- #define ARIZONA_HP1R_DONE_EINT1_MASK 0x0002 /* HP1R_DONE_EINT1 */
- #define ARIZONA_HP1R_DONE_EINT1_SHIFT 1 /* HP1R_DONE_EINT1 */
- #define ARIZONA_HP1R_DONE_EINT1_WIDTH 1 /* HP1R_DONE_EINT1 */
- #define ARIZONA_HP1L_DONE_EINT1 0x0001 /* HP1L_DONE_EINT1 */
- #define ARIZONA_HP1L_DONE_EINT1_MASK 0x0001 /* HP1L_DONE_EINT1 */
- #define ARIZONA_HP1L_DONE_EINT1_SHIFT 0 /* HP1L_DONE_EINT1 */
- #define ARIZONA_HP1L_DONE_EINT1_WIDTH 1 /* HP1L_DONE_EINT1 */
- /*
- * R3331 (0xD03) - Interrupt Status 4 (Alternate layout)
- *
- * Alternate layout used on later devices, note only fields that have moved
- * are specified
- */
- #define ARIZONA_V2_AIF3_ERR_EINT1 0x8000 /* AIF3_ERR_EINT1 */
- #define ARIZONA_V2_AIF3_ERR_EINT1_MASK 0x8000 /* AIF3_ERR_EINT1 */
- #define ARIZONA_V2_AIF3_ERR_EINT1_SHIFT 15 /* AIF3_ERR_EINT1 */
- #define ARIZONA_V2_AIF3_ERR_EINT1_WIDTH 1 /* AIF3_ERR_EINT1 */
- #define ARIZONA_V2_AIF2_ERR_EINT1 0x4000 /* AIF2_ERR_EINT1 */
- #define ARIZONA_V2_AIF2_ERR_EINT1_MASK 0x4000 /* AIF2_ERR_EINT1 */
- #define ARIZONA_V2_AIF2_ERR_EINT1_SHIFT 14 /* AIF2_ERR_EINT1 */
- #define ARIZONA_V2_AIF2_ERR_EINT1_WIDTH 1 /* AIF2_ERR_EINT1 */
- #define ARIZONA_V2_AIF1_ERR_EINT1 0x2000 /* AIF1_ERR_EINT1 */
- #define ARIZONA_V2_AIF1_ERR_EINT1_MASK 0x2000 /* AIF1_ERR_EINT1 */
- #define ARIZONA_V2_AIF1_ERR_EINT1_SHIFT 13 /* AIF1_ERR_EINT1 */
- #define ARIZONA_V2_AIF1_ERR_EINT1_WIDTH 1 /* AIF1_ERR_EINT1 */
- #define ARIZONA_V2_CTRLIF_ERR_EINT1 0x1000 /* CTRLIF_ERR_EINT1 */
- #define ARIZONA_V2_CTRLIF_ERR_EINT1_MASK 0x1000 /* CTRLIF_ERR_EINT1 */
- #define ARIZONA_V2_CTRLIF_ERR_EINT1_SHIFT 12 /* CTRLIF_ERR_EINT1 */
- #define ARIZONA_V2_CTRLIF_ERR_EINT1_WIDTH 1 /* CTRLIF_ERR_EINT1 */
- #define ARIZONA_V2_MIXER_DROPPED_SAMPLE_EINT1 0x0800 /* MIXER_DROPPED_SAMPLE_EINT1 */
- #define ARIZONA_V2_MIXER_DROPPED_SAMPLE_EINT1_MASK 0x0800 /* MIXER_DROPPED_SAMPLE_EINT1 */
- #define ARIZONA_V2_MIXER_DROPPED_SAMPLE_EINT1_SHIFT 11 /* MIXER_DROPPED_SAMPLE_EINT1 */
- #define ARIZONA_V2_MIXER_DROPPED_SAMPLE_EINT1_WIDTH 1 /* MIXER_DROPPED_SAMPLE_EINT1 */
- #define ARIZONA_V2_ASYNC_CLK_ENA_LOW_EINT1 0x0400 /* ASYNC_CLK_ENA_LOW_EINT1 */
- #define ARIZONA_V2_ASYNC_CLK_ENA_LOW_EINT1_MASK 0x0400 /* ASYNC_CLK_ENA_LOW_EINT1 */
- #define ARIZONA_V2_ASYNC_CLK_ENA_LOW_EINT1_SHIFT 10 /* ASYNC_CLK_ENA_LOW_EINT1 */
- #define ARIZONA_V2_ASYNC_CLK_ENA_LOW_EINT1_WIDTH 1 /* ASYNC_CLK_ENA_LOW_EINT1 */
- #define ARIZONA_V2_SYSCLK_ENA_LOW_EINT1 0x0200 /* SYSCLK_ENA_LOW_EINT1 */
- #define ARIZONA_V2_SYSCLK_ENA_LOW_EINT1_MASK 0x0200 /* SYSCLK_ENA_LOW_EINT1 */
- #define ARIZONA_V2_SYSCLK_ENA_LOW_EINT1_SHIFT 9 /* SYSCLK_ENA_LOW_EINT1 */
- #define ARIZONA_V2_SYSCLK_ENA_LOW_EINT1_WIDTH 1 /* SYSCLK_ENA_LOW_EINT1 */
- #define ARIZONA_V2_ISRC1_CFG_ERR_EINT1 0x0100 /* ISRC1_CFG_ERR_EINT1 */
- #define ARIZONA_V2_ISRC1_CFG_ERR_EINT1_MASK 0x0100 /* ISRC1_CFG_ERR_EINT1 */
- #define ARIZONA_V2_ISRC1_CFG_ERR_EINT1_SHIFT 8 /* ISRC1_CFG_ERR_EINT1 */
- #define ARIZONA_V2_ISRC1_CFG_ERR_EINT1_WIDTH 1 /* ISRC1_CFG_ERR_EINT1 */
- #define ARIZONA_V2_ISRC2_CFG_ERR_EINT1 0x0080 /* ISRC2_CFG_ERR_EINT1 */
- #define ARIZONA_V2_ISRC2_CFG_ERR_EINT1_MASK 0x0080 /* ISRC2_CFG_ERR_EINT1 */
- #define ARIZONA_V2_ISRC2_CFG_ERR_EINT1_SHIFT 7 /* ISRC2_CFG_ERR_EINT1 */
- #define ARIZONA_V2_ISRC2_CFG_ERR_EINT1_WIDTH 1 /* ISRC2_CFG_ERR_EINT1 */
- #define ARIZONA_V2_ISRC3_CFG_ERR_EINT1 0x0040 /* ISRC3_CFG_ERR_EINT1 */
- #define ARIZONA_V2_ISRC3_CFG_ERR_EINT1_MASK 0x0040 /* ISRC3_CFG_ERR_EINT1 */
- #define ARIZONA_V2_ISRC3_CFG_ERR_EINT1_SHIFT 6 /* ISRC3_CFG_ERR_EINT1 */
- #define ARIZONA_V2_ISRC3_CFG_ERR_EINT1_WIDTH 1 /* ISRC3_CFG_ERR_EINT1 */
- /*
- * R3332 (0xD04) - Interrupt Status 5
- */
- #define ARIZONA_BOOT_DONE_EINT1 0x0100 /* BOOT_DONE_EINT1 */
- #define ARIZONA_BOOT_DONE_EINT1_MASK 0x0100 /* BOOT_DONE_EINT1 */
- #define ARIZONA_BOOT_DONE_EINT1_SHIFT 8 /* BOOT_DONE_EINT1 */
- #define ARIZONA_BOOT_DONE_EINT1_WIDTH 1 /* BOOT_DONE_EINT1 */
- #define ARIZONA_DCS_DAC_DONE_EINT1 0x0080 /* DCS_DAC_DONE_EINT1 */
- #define ARIZONA_DCS_DAC_DONE_EINT1_MASK 0x0080 /* DCS_DAC_DONE_EINT1 */
- #define ARIZONA_DCS_DAC_DONE_EINT1_SHIFT 7 /* DCS_DAC_DONE_EINT1 */
- #define ARIZONA_DCS_DAC_DONE_EINT1_WIDTH 1 /* DCS_DAC_DONE_EINT1 */
- #define ARIZONA_DCS_HP_DONE_EINT1 0x0040 /* DCS_HP_DONE_EINT1 */
- #define ARIZONA_DCS_HP_DONE_EINT1_MASK 0x0040 /* DCS_HP_DONE_EINT1 */
- #define ARIZONA_DCS_HP_DONE_EINT1_SHIFT 6 /* DCS_HP_DONE_EINT1 */
- #define ARIZONA_DCS_HP_DONE_EINT1_WIDTH 1 /* DCS_HP_DONE_EINT1 */
- #define ARIZONA_FLL2_CLOCK_OK_EINT1 0x0002 /* FLL2_CLOCK_OK_EINT1 */
- #define ARIZONA_FLL2_CLOCK_OK_EINT1_MASK 0x0002 /* FLL2_CLOCK_OK_EINT1 */
- #define ARIZONA_FLL2_CLOCK_OK_EINT1_SHIFT 1 /* FLL2_CLOCK_OK_EINT1 */
- #define ARIZONA_FLL2_CLOCK_OK_EINT1_WIDTH 1 /* FLL2_CLOCK_OK_EINT1 */
- #define ARIZONA_FLL1_CLOCK_OK_EINT1 0x0001 /* FLL1_CLOCK_OK_EINT1 */
- #define ARIZONA_FLL1_CLOCK_OK_EINT1_MASK 0x0001 /* FLL1_CLOCK_OK_EINT1 */
- #define ARIZONA_FLL1_CLOCK_OK_EINT1_SHIFT 0 /* FLL1_CLOCK_OK_EINT1 */
- #define ARIZONA_FLL1_CLOCK_OK_EINT1_WIDTH 1 /* FLL1_CLOCK_OK_EINT1 */
- /*
- * R3332 (0xD05) - Interrupt Status 5 (Alternate layout)
- *
- * Alternate layout used on later devices, note only fields that have moved
- * are specified
- */
- #define ARIZONA_V2_ASRC_CFG_ERR_EINT1 0x0008 /* ASRC_CFG_ERR_EINT1 */
- #define ARIZONA_V2_ASRC_CFG_ERR_EINT1_MASK 0x0008 /* ASRC_CFG_ERR_EINT1 */
- #define ARIZONA_V2_ASRC_CFG_ERR_EINT1_SHIFT 3 /* ASRC_CFG_ERR_EINT1 */
- #define ARIZONA_V2_ASRC_CFG_ERR_EINT1_WIDTH 1 /* ASRC_CFG_ERR_EINT1 */
- /*
- * R3333 (0xD05) - Interrupt Status 6
- */
- #define ARIZONA_DSP_SHARED_WR_COLL_EINT1 0x8000 /* DSP_SHARED_WR_COLL_EINT1 */
- #define ARIZONA_DSP_SHARED_WR_COLL_EINT1_MASK 0x8000 /* DSP_SHARED_WR_COLL_EINT1 */
- #define ARIZONA_DSP_SHARED_WR_COLL_EINT1_SHIFT 15 /* DSP_SHARED_WR_COLL_EINT1 */
- #define ARIZONA_DSP_SHARED_WR_COLL_EINT1_WIDTH 1 /* DSP_SHARED_WR_COLL_EINT1 */
- #define ARIZONA_SPK_SHUTDOWN_EINT1 0x4000 /* SPK_SHUTDOWN_EINT1 */
- #define ARIZONA_SPK_SHUTDOWN_EINT1_MASK 0x4000 /* SPK_SHUTDOWN_EINT1 */
- #define ARIZONA_SPK_SHUTDOWN_EINT1_SHIFT 14 /* SPK_SHUTDOWN_EINT1 */
- #define ARIZONA_SPK_SHUTDOWN_EINT1_WIDTH 1 /* SPK_SHUTDOWN_EINT1 */
- #define ARIZONA_SPK1R_SHORT_EINT1 0x2000 /* SPK1R_SHORT_EINT1 */
- #define ARIZONA_SPK1R_SHORT_EINT1_MASK 0x2000 /* SPK1R_SHORT_EINT1 */
- #define ARIZONA_SPK1R_SHORT_EINT1_SHIFT 13 /* SPK1R_SHORT_EINT1 */
- #define ARIZONA_SPK1R_SHORT_EINT1_WIDTH 1 /* SPK1R_SHORT_EINT1 */
- #define ARIZONA_SPK1L_SHORT_EINT1 0x1000 /* SPK1L_SHORT_EINT1 */
- #define ARIZONA_SPK1L_SHORT_EINT1_MASK 0x1000 /* SPK1L_SHORT_EINT1 */
- #define ARIZONA_SPK1L_SHORT_EINT1_SHIFT 12 /* SPK1L_SHORT_EINT1 */
- #define ARIZONA_SPK1L_SHORT_EINT1_WIDTH 1 /* SPK1L_SHORT_EINT1 */
- #define ARIZONA_HP3R_SC_NEG_EINT1 0x0800 /* HP3R_SC_NEG_EINT1 */
- #define ARIZONA_HP3R_SC_NEG_EINT1_MASK 0x0800 /* HP3R_SC_NEG_EINT1 */
- #define ARIZONA_HP3R_SC_NEG_EINT1_SHIFT 11 /* HP3R_SC_NEG_EINT1 */
- #define ARIZONA_HP3R_SC_NEG_EINT1_WIDTH 1 /* HP3R_SC_NEG_EINT1 */
- #define ARIZONA_HP3R_SC_POS_EINT1 0x0400 /* HP3R_SC_POS_EINT1 */
- #define ARIZONA_HP3R_SC_POS_EINT1_MASK 0x0400 /* HP3R_SC_POS_EINT1 */
- #define ARIZONA_HP3R_SC_POS_EINT1_SHIFT 10 /* HP3R_SC_POS_EINT1 */
- #define ARIZONA_HP3R_SC_POS_EINT1_WIDTH 1 /* HP3R_SC_POS_EINT1 */
- #define ARIZONA_HP3L_SC_NEG_EINT1 0x0200 /* HP3L_SC_NEG_EINT1 */
- #define ARIZONA_HP3L_SC_NEG_EINT1_MASK 0x0200 /* HP3L_SC_NEG_EINT1 */
- #define ARIZONA_HP3L_SC_NEG_EINT1_SHIFT 9 /* HP3L_SC_NEG_EINT1 */
- #define ARIZONA_HP3L_SC_NEG_EINT1_WIDTH 1 /* HP3L_SC_NEG_EINT1 */
- #define ARIZONA_HP3L_SC_POS_EINT1 0x0100 /* HP3L_SC_POS_EINT1 */
- #define ARIZONA_HP3L_SC_POS_EINT1_MASK 0x0100 /* HP3L_SC_POS_EINT1 */
- #define ARIZONA_HP3L_SC_POS_EINT1_SHIFT 8 /* HP3L_SC_POS_EINT1 */
- #define ARIZONA_HP3L_SC_POS_EINT1_WIDTH 1 /* HP3L_SC_POS_EINT1 */
- #define ARIZONA_HP2R_SC_NEG_EINT1 0x0080 /* HP2R_SC_NEG_EINT1 */
- #define ARIZONA_HP2R_SC_NEG_EINT1_MASK 0x0080 /* HP2R_SC_NEG_EINT1 */
- #define ARIZONA_HP2R_SC_NEG_EINT1_SHIFT 7 /* HP2R_SC_NEG_EINT1 */
- #define ARIZONA_HP2R_SC_NEG_EINT1_WIDTH 1 /* HP2R_SC_NEG_EINT1 */
- #define ARIZONA_HP2R_SC_POS_EINT1 0x0040 /* HP2R_SC_POS_EINT1 */
- #define ARIZONA_HP2R_SC_POS_EINT1_MASK 0x0040 /* HP2R_SC_POS_EINT1 */
- #define ARIZONA_HP2R_SC_POS_EINT1_SHIFT 6 /* HP2R_SC_POS_EINT1 */
- #define ARIZONA_HP2R_SC_POS_EINT1_WIDTH 1 /* HP2R_SC_POS_EINT1 */
- #define ARIZONA_HP2L_SC_NEG_EINT1 0x0020 /* HP2L_SC_NEG_EINT1 */
- #define ARIZONA_HP2L_SC_NEG_EINT1_MASK 0x0020 /* HP2L_SC_NEG_EINT1 */
- #define ARIZONA_HP2L_SC_NEG_EINT1_SHIFT 5 /* HP2L_SC_NEG_EINT1 */
- #define ARIZONA_HP2L_SC_NEG_EINT1_WIDTH 1 /* HP2L_SC_NEG_EINT1 */
- #define ARIZONA_HP2L_SC_POS_EINT1 0x0010 /* HP2L_SC_POS_EINT1 */
- #define ARIZONA_HP2L_SC_POS_EINT1_MASK 0x0010 /* HP2L_SC_POS_EINT1 */
- #define ARIZONA_HP2L_SC_POS_EINT1_SHIFT 4 /* HP2L_SC_POS_EINT1 */
- #define ARIZONA_HP2L_SC_POS_EINT1_WIDTH 1 /* HP2L_SC_POS_EINT1 */
- #define ARIZONA_HP1R_SC_NEG_EINT1 0x0008 /* HP1R_SC_NEG_EINT1 */
- #define ARIZONA_HP1R_SC_NEG_EINT1_MASK 0x0008 /* HP1R_SC_NEG_EINT1 */
- #define ARIZONA_HP1R_SC_NEG_EINT1_SHIFT 3 /* HP1R_SC_NEG_EINT1 */
- #define ARIZONA_HP1R_SC_NEG_EINT1_WIDTH 1 /* HP1R_SC_NEG_EINT1 */
- #define ARIZONA_HP1R_SC_POS_EINT1 0x0004 /* HP1R_SC_POS_EINT1 */
- #define ARIZONA_HP1R_SC_POS_EINT1_MASK 0x0004 /* HP1R_SC_POS_EINT1 */
- #define ARIZONA_HP1R_SC_POS_EINT1_SHIFT 2 /* HP1R_SC_POS_EINT1 */
- #define ARIZONA_HP1R_SC_POS_EINT1_WIDTH 1 /* HP1R_SC_POS_EINT1 */
- #define ARIZONA_HP1L_SC_NEG_EINT1 0x0002 /* HP1L_SC_NEG_EINT1 */
- #define ARIZONA_HP1L_SC_NEG_EINT1_MASK 0x0002 /* HP1L_SC_NEG_EINT1 */
- #define ARIZONA_HP1L_SC_NEG_EINT1_SHIFT 1 /* HP1L_SC_NEG_EINT1 */
- #define ARIZONA_HP1L_SC_NEG_EINT1_WIDTH 1 /* HP1L_SC_NEG_EINT1 */
- #define ARIZONA_HP1L_SC_POS_EINT1 0x0001 /* HP1L_SC_POS_EINT1 */
- #define ARIZONA_HP1L_SC_POS_EINT1_MASK 0x0001 /* HP1L_SC_POS_EINT1 */
- #define ARIZONA_HP1L_SC_POS_EINT1_SHIFT 0 /* HP1L_SC_POS_EINT1 */
- #define ARIZONA_HP1L_SC_POS_EINT1_WIDTH 1 /* HP1L_SC_POS_EINT1 */
- /*
- * R3336 (0xD08) - Interrupt Status 1 Mask
- */
- #define ARIZONA_IM_GP4_EINT1 0x0008 /* IM_GP4_EINT1 */
- #define ARIZONA_IM_GP4_EINT1_MASK 0x0008 /* IM_GP4_EINT1 */
- #define ARIZONA_IM_GP4_EINT1_SHIFT 3 /* IM_GP4_EINT1 */
- #define ARIZONA_IM_GP4_EINT1_WIDTH 1 /* IM_GP4_EINT1 */
- #define ARIZONA_IM_GP3_EINT1 0x0004 /* IM_GP3_EINT1 */
- #define ARIZONA_IM_GP3_EINT1_MASK 0x0004 /* IM_GP3_EINT1 */
- #define ARIZONA_IM_GP3_EINT1_SHIFT 2 /* IM_GP3_EINT1 */
- #define ARIZONA_IM_GP3_EINT1_WIDTH 1 /* IM_GP3_EINT1 */
- #define ARIZONA_IM_GP2_EINT1 0x0002 /* IM_GP2_EINT1 */
- #define ARIZONA_IM_GP2_EINT1_MASK 0x0002 /* IM_GP2_EINT1 */
- #define ARIZONA_IM_GP2_EINT1_SHIFT 1 /* IM_GP2_EINT1 */
- #define ARIZONA_IM_GP2_EINT1_WIDTH 1 /* IM_GP2_EINT1 */
- #define ARIZONA_IM_GP1_EINT1 0x0001 /* IM_GP1_EINT1 */
- #define ARIZONA_IM_GP1_EINT1_MASK 0x0001 /* IM_GP1_EINT1 */
- #define ARIZONA_IM_GP1_EINT1_SHIFT 0 /* IM_GP1_EINT1 */
- #define ARIZONA_IM_GP1_EINT1_WIDTH 1 /* IM_GP1_EINT1 */
- /*
- * R3337 (0xD09) - Interrupt Status 2 Mask
- */
- #define ARIZONA_IM_DSP1_RAM_RDY_EINT1 0x0100 /* IM_DSP1_RAM_RDY_EINT1 */
- #define ARIZONA_IM_DSP1_RAM_RDY_EINT1_MASK 0x0100 /* IM_DSP1_RAM_RDY_EINT1 */
- #define ARIZONA_IM_DSP1_RAM_RDY_EINT1_SHIFT 8 /* IM_DSP1_RAM_RDY_EINT1 */
- #define ARIZONA_IM_DSP1_RAM_RDY_EINT1_WIDTH 1 /* IM_DSP1_RAM_RDY_EINT1 */
- #define ARIZONA_IM_DSP_IRQ2_EINT1 0x0002 /* IM_DSP_IRQ2_EINT1 */
- #define ARIZONA_IM_DSP_IRQ2_EINT1_MASK 0x0002 /* IM_DSP_IRQ2_EINT1 */
- #define ARIZONA_IM_DSP_IRQ2_EINT1_SHIFT 1 /* IM_DSP_IRQ2_EINT1 */
- #define ARIZONA_IM_DSP_IRQ2_EINT1_WIDTH 1 /* IM_DSP_IRQ2_EINT1 */
- #define ARIZONA_IM_DSP_IRQ1_EINT1 0x0001 /* IM_DSP_IRQ1_EINT1 */
- #define ARIZONA_IM_DSP_IRQ1_EINT1_MASK 0x0001 /* IM_DSP_IRQ1_EINT1 */
- #define ARIZONA_IM_DSP_IRQ1_EINT1_SHIFT 0 /* IM_DSP_IRQ1_EINT1 */
- #define ARIZONA_IM_DSP_IRQ1_EINT1_WIDTH 1 /* IM_DSP_IRQ1_EINT1 */
- /*
- * R3338 (0xD0A) - Interrupt Status 3 Mask
- */
- #define ARIZONA_IM_SPK_OVERHEAT_WARN_EINT1 0x8000 /* IM_SPK_OVERHEAT_WARN_EINT1 */
- #define ARIZONA_IM_SPK_OVERHEAT_WARN_EINT1_MASK 0x8000 /* IM_SPK_OVERHEAT_WARN_EINT1 */
- #define ARIZONA_IM_SPK_OVERHEAT_WARN_EINT1_SHIFT 15 /* IM_SPK_OVERHEAT_WARN_EINT1 */
- #define ARIZONA_IM_SPK_OVERHEAT_WARN_EINT1_WIDTH 1 /* IM_SPK_OVERHEAT_WARN_EINT1 */
- #define ARIZONA_IM_SPK_OVERHEAT_EINT1 0x4000 /* IM_SPK_OVERHEAT_EINT1 */
- #define ARIZONA_IM_SPK_OVERHEAT_EINT1_MASK 0x4000 /* IM_SPK_OVERHEAT_EINT1 */
- #define ARIZONA_IM_SPK_OVERHEAT_EINT1_SHIFT 14 /* IM_SPK_OVERHEAT_EINT1 */
- #define ARIZONA_IM_SPK_OVERHEAT_EINT1_WIDTH 1 /* IM_SPK_OVERHEAT_EINT1 */
- #define ARIZONA_IM_HPDET_EINT1 0x2000 /* IM_HPDET_EINT1 */
- #define ARIZONA_IM_HPDET_EINT1_MASK 0x2000 /* IM_HPDET_EINT1 */
- #define ARIZONA_IM_HPDET_EINT1_SHIFT 13 /* IM_HPDET_EINT1 */
- #define ARIZONA_IM_HPDET_EINT1_WIDTH 1 /* IM_HPDET_EINT1 */
- #define ARIZONA_IM_MICDET_EINT1 0x1000 /* IM_MICDET_EINT1 */
- #define ARIZONA_IM_MICDET_EINT1_MASK 0x1000 /* IM_MICDET_EINT1 */
- #define ARIZONA_IM_MICDET_EINT1_SHIFT 12 /* IM_MICDET_EINT1 */
- #define ARIZONA_IM_MICDET_EINT1_WIDTH 1 /* IM_MICDET_EINT1 */
- #define ARIZONA_IM_WSEQ_DONE_EINT1 0x0800 /* IM_WSEQ_DONE_EINT1 */
- #define ARIZONA_IM_WSEQ_DONE_EINT1_MASK 0x0800 /* IM_WSEQ_DONE_EINT1 */
- #define ARIZONA_IM_WSEQ_DONE_EINT1_SHIFT 11 /* IM_WSEQ_DONE_EINT1 */
- #define ARIZONA_IM_WSEQ_DONE_EINT1_WIDTH 1 /* IM_WSEQ_DONE_EINT1 */
- #define ARIZONA_IM_DRC2_SIG_DET_EINT1 0x0400 /* IM_DRC2_SIG_DET_EINT1 */
- #define ARIZONA_IM_DRC2_SIG_DET_EINT1_MASK 0x0400 /* IM_DRC2_SIG_DET_EINT1 */
- #define ARIZONA_IM_DRC2_SIG_DET_EINT1_SHIFT 10 /* IM_DRC2_SIG_DET_EINT1 */
- #define ARIZONA_IM_DRC2_SIG_DET_EINT1_WIDTH 1 /* IM_DRC2_SIG_DET_EINT1 */
- #define ARIZONA_IM_DRC1_SIG_DET_EINT1 0x0200 /* IM_DRC1_SIG_DET_EINT1 */
- #define ARIZONA_IM_DRC1_SIG_DET_EINT1_MASK 0x0200 /* IM_DRC1_SIG_DET_EINT1 */
- #define ARIZONA_IM_DRC1_SIG_DET_EINT1_SHIFT 9 /* IM_DRC1_SIG_DET_EINT1 */
- #define ARIZONA_IM_DRC1_SIG_DET_EINT1_WIDTH 1 /* IM_DRC1_SIG_DET_EINT1 */
- #define ARIZONA_IM_ASRC2_LOCK_EINT1 0x0100 /* IM_ASRC2_LOCK_EINT1 */
- #define ARIZONA_IM_ASRC2_LOCK_EINT1_MASK 0x0100 /* IM_ASRC2_LOCK_EINT1 */
- #define ARIZONA_IM_ASRC2_LOCK_EINT1_SHIFT 8 /* IM_ASRC2_LOCK_EINT1 */
- #define ARIZONA_IM_ASRC2_LOCK_EINT1_WIDTH 1 /* IM_ASRC2_LOCK_EINT1 */
- #define ARIZONA_IM_ASRC1_LOCK_EINT1 0x0080 /* IM_ASRC1_LOCK_EINT1 */
- #define ARIZONA_IM_ASRC1_LOCK_EINT1_MASK 0x0080 /* IM_ASRC1_LOCK_EINT1 */
- #define ARIZONA_IM_ASRC1_LOCK_EINT1_SHIFT 7 /* IM_ASRC1_LOCK_EINT1 */
- #define ARIZONA_IM_ASRC1_LOCK_EINT1_WIDTH 1 /* IM_ASRC1_LOCK_EINT1 */
- #define ARIZONA_IM_UNDERCLOCKED_EINT1 0x0040 /* IM_UNDERCLOCKED_EINT1 */
- #define ARIZONA_IM_UNDERCLOCKED_EINT1_MASK 0x0040 /* IM_UNDERCLOCKED_EINT1 */
- #define ARIZONA_IM_UNDERCLOCKED_EINT1_SHIFT 6 /* IM_UNDERCLOCKED_EINT1 */
- #define ARIZONA_IM_UNDERCLOCKED_EINT1_WIDTH 1 /* IM_UNDERCLOCKED_EINT1 */
- #define ARIZONA_IM_OVERCLOCKED_EINT1 0x0020 /* IM_OVERCLOCKED_EINT1 */
- #define ARIZONA_IM_OVERCLOCKED_EINT1_MASK 0x0020 /* IM_OVERCLOCKED_EINT1 */
- #define ARIZONA_IM_OVERCLOCKED_EINT1_SHIFT 5 /* IM_OVERCLOCKED_EINT1 */
- #define ARIZONA_IM_OVERCLOCKED_EINT1_WIDTH 1 /* IM_OVERCLOCKED_EINT1 */
- #define ARIZONA_IM_FLL2_LOCK_EINT1 0x0008 /* IM_FLL2_LOCK_EINT1 */
- #define ARIZONA_IM_FLL2_LOCK_EINT1_MASK 0x0008 /* IM_FLL2_LOCK_EINT1 */
- #define ARIZONA_IM_FLL2_LOCK_EINT1_SHIFT 3 /* IM_FLL2_LOCK_EINT1 */
- #define ARIZONA_IM_FLL2_LOCK_EINT1_WIDTH 1 /* IM_FLL2_LOCK_EINT1 */
- #define ARIZONA_IM_FLL1_LOCK_EINT1 0x0004 /* IM_FLL1_LOCK_EINT1 */
- #define ARIZONA_IM_FLL1_LOCK_EINT1_MASK 0x0004 /* IM_FLL1_LOCK_EINT1 */
- #define ARIZONA_IM_FLL1_LOCK_EINT1_SHIFT 2 /* IM_FLL1_LOCK_EINT1 */
- #define ARIZONA_IM_FLL1_LOCK_EINT1_WIDTH 1 /* IM_FLL1_LOCK_EINT1 */
- #define ARIZONA_IM_CLKGEN_ERR_EINT1 0x0002 /* IM_CLKGEN_ERR_EINT1 */
- #define ARIZONA_IM_CLKGEN_ERR_EINT1_MASK 0x0002 /* IM_CLKGEN_ERR_EINT1 */
- #define ARIZONA_IM_CLKGEN_ERR_EINT1_SHIFT 1 /* IM_CLKGEN_ERR_EINT1 */
- #define ARIZONA_IM_CLKGEN_ERR_EINT1_WIDTH 1 /* IM_CLKGEN_ERR_EINT1 */
- #define ARIZONA_IM_CLKGEN_ERR_ASYNC_EINT1 0x0001 /* IM_CLKGEN_ERR_ASYNC_EINT1 */
- #define ARIZONA_IM_CLKGEN_ERR_ASYNC_EINT1_MASK 0x0001 /* IM_CLKGEN_ERR_ASYNC_EINT1 */
- #define ARIZONA_IM_CLKGEN_ERR_ASYNC_EINT1_SHIFT 0 /* IM_CLKGEN_ERR_ASYNC_EINT1 */
- #define ARIZONA_IM_CLKGEN_ERR_ASYNC_EINT1_WIDTH 1 /* IM_CLKGEN_ERR_ASYNC_EINT1 */
- /*
- * R3339 (0xD0B) - Interrupt Status 4 Mask
- */
- #define ARIZONA_IM_ASRC_CFG_ERR_EINT1 0x8000 /* IM_ASRC_CFG_ERR_EINT1 */
- #define ARIZONA_IM_ASRC_CFG_ERR_EINT1_MASK 0x8000 /* IM_ASRC_CFG_ERR_EINT1 */
- #define ARIZONA_IM_ASRC_CFG_ERR_EINT1_SHIFT 15 /* IM_ASRC_CFG_ERR_EINT1 */
- #define ARIZONA_IM_ASRC_CFG_ERR_EINT1_WIDTH 1 /* IM_ASRC_CFG_ERR_EINT1 */
- #define ARIZONA_IM_AIF3_ERR_EINT1 0x4000 /* IM_AIF3_ERR_EINT1 */
- #define ARIZONA_IM_AIF3_ERR_EINT1_MASK 0x4000 /* IM_AIF3_ERR_EINT1 */
- #define ARIZONA_IM_AIF3_ERR_EINT1_SHIFT 14 /* IM_AIF3_ERR_EINT1 */
- #define ARIZONA_IM_AIF3_ERR_EINT1_WIDTH 1 /* IM_AIF3_ERR_EINT1 */
- #define ARIZONA_IM_AIF2_ERR_EINT1 0x2000 /* IM_AIF2_ERR_EINT1 */
- #define ARIZONA_IM_AIF2_ERR_EINT1_MASK 0x2000 /* IM_AIF2_ERR_EINT1 */
- #define ARIZONA_IM_AIF2_ERR_EINT1_SHIFT 13 /* IM_AIF2_ERR_EINT1 */
- #define ARIZONA_IM_AIF2_ERR_EINT1_WIDTH 1 /* IM_AIF2_ERR_EINT1 */
- #define ARIZONA_IM_AIF1_ERR_EINT1 0x1000 /* IM_AIF1_ERR_EINT1 */
- #define ARIZONA_IM_AIF1_ERR_EINT1_MASK 0x1000 /* IM_AIF1_ERR_EINT1 */
- #define ARIZONA_IM_AIF1_ERR_EINT1_SHIFT 12 /* IM_AIF1_ERR_EINT1 */
- #define ARIZONA_IM_AIF1_ERR_EINT1_WIDTH 1 /* IM_AIF1_ERR_EINT1 */
- #define ARIZONA_IM_CTRLIF_ERR_EINT1 0x0800 /* IM_CTRLIF_ERR_EINT1 */
- #define ARIZONA_IM_CTRLIF_ERR_EINT1_MASK 0x0800 /* IM_CTRLIF_ERR_EINT1 */
- #define ARIZONA_IM_CTRLIF_ERR_EINT1_SHIFT 11 /* IM_CTRLIF_ERR_EINT1 */
- #define ARIZONA_IM_CTRLIF_ERR_EINT1_WIDTH 1 /* IM_CTRLIF_ERR_EINT1 */
- #define ARIZONA_IM_MIXER_DROPPED_SAMPLE_EINT1 0x0400 /* IM_MIXER_DROPPED_SAMPLE_EINT1 */
- #define ARIZONA_IM_MIXER_DROPPED_SAMPLE_EINT1_MASK 0x0400 /* IM_MIXER_DROPPED_SAMPLE_EINT1 */
- #define ARIZONA_IM_MIXER_DROPPED_SAMPLE_EINT1_SHIFT 10 /* IM_MIXER_DROPPED_SAMPLE_EINT1 */
- #define ARIZONA_IM_MIXER_DROPPED_SAMPLE_EINT1_WIDTH 1 /* IM_MIXER_DROPPED_SAMPLE_EINT1 */
- #define ARIZONA_IM_ASYNC_CLK_ENA_LOW_EINT1 0x0200 /* IM_ASYNC_CLK_ENA_LOW_EINT1 */
- #define ARIZONA_IM_ASYNC_CLK_ENA_LOW_EINT1_MASK 0x0200 /* IM_ASYNC_CLK_ENA_LOW_EINT1 */
- #define ARIZONA_IM_ASYNC_CLK_ENA_LOW_EINT1_SHIFT 9 /* IM_ASYNC_CLK_ENA_LOW_EINT1 */
- #define ARIZONA_IM_ASYNC_CLK_ENA_LOW_EINT1_WIDTH 1 /* IM_ASYNC_CLK_ENA_LOW_EINT1 */
- #define ARIZONA_IM_SYSCLK_ENA_LOW_EINT1 0x0100 /* IM_SYSCLK_ENA_LOW_EINT1 */
- #define ARIZONA_IM_SYSCLK_ENA_LOW_EINT1_MASK 0x0100 /* IM_SYSCLK_ENA_LOW_EINT1 */
- #define ARIZONA_IM_SYSCLK_ENA_LOW_EINT1_SHIFT 8 /* IM_SYSCLK_ENA_LOW_EINT1 */
- #define ARIZONA_IM_SYSCLK_ENA_LOW_EINT1_WIDTH 1 /* IM_SYSCLK_ENA_LOW_EINT1 */
- #define ARIZONA_IM_ISRC1_CFG_ERR_EINT1 0x0080 /* IM_ISRC1_CFG_ERR_EINT1 */
- #define ARIZONA_IM_ISRC1_CFG_ERR_EINT1_MASK 0x0080 /* IM_ISRC1_CFG_ERR_EINT1 */
- #define ARIZONA_IM_ISRC1_CFG_ERR_EINT1_SHIFT 7 /* IM_ISRC1_CFG_ERR_EINT1 */
- #define ARIZONA_IM_ISRC1_CFG_ERR_EINT1_WIDTH 1 /* IM_ISRC1_CFG_ERR_EINT1 */
- #define ARIZONA_IM_ISRC2_CFG_ERR_EINT1 0x0040 /* IM_ISRC2_CFG_ERR_EINT1 */
- #define ARIZONA_IM_ISRC2_CFG_ERR_EINT1_MASK 0x0040 /* IM_ISRC2_CFG_ERR_EINT1 */
- #define ARIZONA_IM_ISRC2_CFG_ERR_EINT1_SHIFT 6 /* IM_ISRC2_CFG_ERR_EINT1 */
- #define ARIZONA_IM_ISRC2_CFG_ERR_EINT1_WIDTH 1 /* IM_ISRC2_CFG_ERR_EINT1 */
- #define ARIZONA_IM_HP3R_DONE_EINT1 0x0020 /* IM_HP3R_DONE_EINT1 */
- #define ARIZONA_IM_HP3R_DONE_EINT1_MASK 0x0020 /* IM_HP3R_DONE_EINT1 */
- #define ARIZONA_IM_HP3R_DONE_EINT1_SHIFT 5 /* IM_HP3R_DONE_EINT1 */
- #define ARIZONA_IM_HP3R_DONE_EINT1_WIDTH 1 /* IM_HP3R_DONE_EINT1 */
- #define ARIZONA_IM_HP3L_DONE_EINT1 0x0010 /* IM_HP3L_DONE_EINT1 */
- #define ARIZONA_IM_HP3L_DONE_EINT1_MASK 0x0010 /* IM_HP3L_DONE_EINT1 */
- #define ARIZONA_IM_HP3L_DONE_EINT1_SHIFT 4 /* IM_HP3L_DONE_EINT1 */
- #define ARIZONA_IM_HP3L_DONE_EINT1_WIDTH 1 /* IM_HP3L_DONE_EINT1 */
- #define ARIZONA_IM_HP2R_DONE_EINT1 0x0008 /* IM_HP2R_DONE_EINT1 */
- #define ARIZONA_IM_HP2R_DONE_EINT1_MASK 0x0008 /* IM_HP2R_DONE_EINT1 */
- #define ARIZONA_IM_HP2R_DONE_EINT1_SHIFT 3 /* IM_HP2R_DONE_EINT1 */
- #define ARIZONA_IM_HP2R_DONE_EINT1_WIDTH 1 /* IM_HP2R_DONE_EINT1 */
- #define ARIZONA_IM_HP2L_DONE_EINT1 0x0004 /* IM_HP2L_DONE_EINT1 */
- #define ARIZONA_IM_HP2L_DONE_EINT1_MASK 0x0004 /* IM_HP2L_DONE_EINT1 */
- #define ARIZONA_IM_HP2L_DONE_EINT1_SHIFT 2 /* IM_HP2L_DONE_EINT1 */
- #define ARIZONA_IM_HP2L_DONE_EINT1_WIDTH 1 /* IM_HP2L_DONE_EINT1 */
- #define ARIZONA_IM_HP1R_DONE_EINT1 0x0002 /* IM_HP1R_DONE_EINT1 */
- #define ARIZONA_IM_HP1R_DONE_EINT1_MASK 0x0002 /* IM_HP1R_DONE_EINT1 */
- #define ARIZONA_IM_HP1R_DONE_EINT1_SHIFT 1 /* IM_HP1R_DONE_EINT1 */
- #define ARIZONA_IM_HP1R_DONE_EINT1_WIDTH 1 /* IM_HP1R_DONE_EINT1 */
- #define ARIZONA_IM_HP1L_DONE_EINT1 0x0001 /* IM_HP1L_DONE_EINT1 */
- #define ARIZONA_IM_HP1L_DONE_EINT1_MASK 0x0001 /* IM_HP1L_DONE_EINT1 */
- #define ARIZONA_IM_HP1L_DONE_EINT1_SHIFT 0 /* IM_HP1L_DONE_EINT1 */
- #define ARIZONA_IM_HP1L_DONE_EINT1_WIDTH 1 /* IM_HP1L_DONE_EINT1 */
- /*
- * R3339 (0xD0B) - Interrupt Status 4 Mask (Alternate layout)
- *
- * Alternate layout used on later devices, note only fields that have moved
- * are specified
- */
- #define ARIZONA_V2_IM_AIF3_ERR_EINT1 0x8000 /* IM_AIF3_ERR_EINT1 */
- #define ARIZONA_V2_IM_AIF3_ERR_EINT1_MASK 0x8000 /* IM_AIF3_ERR_EINT1 */
- #define ARIZONA_V2_IM_AIF3_ERR_EINT1_SHIFT 15 /* IM_AIF3_ERR_EINT1 */
- #define ARIZONA_V2_IM_AIF3_ERR_EINT1_WIDTH 1 /* IM_AIF3_ERR_EINT1 */
- #define ARIZONA_V2_IM_AIF2_ERR_EINT1 0x4000 /* IM_AIF2_ERR_EINT1 */
- #define ARIZONA_V2_IM_AIF2_ERR_EINT1_MASK 0x4000 /* IM_AIF2_ERR_EINT1 */
- #define ARIZONA_V2_IM_AIF2_ERR_EINT1_SHIFT 14 /* IM_AIF2_ERR_EINT1 */
- #define ARIZONA_V2_IM_AIF2_ERR_EINT1_WIDTH 1 /* IM_AIF2_ERR_EINT1 */
- #define ARIZONA_V2_IM_AIF1_ERR_EINT1 0x2000 /* IM_AIF1_ERR_EINT1 */
- #define ARIZONA_V2_IM_AIF1_ERR_EINT1_MASK 0x2000 /* IM_AIF1_ERR_EINT1 */
- #define ARIZONA_V2_IM_AIF1_ERR_EINT1_SHIFT 13 /* IM_AIF1_ERR_EINT1 */
- #define ARIZONA_V2_IM_AIF1_ERR_EINT1_WIDTH 1 /* IM_AIF1_ERR_EINT1 */
- #define ARIZONA_V2_IM_CTRLIF_ERR_EINT1 0x1000 /* IM_CTRLIF_ERR_EINT1 */
- #define ARIZONA_V2_IM_CTRLIF_ERR_EINT1_MASK 0x1000 /* IM_CTRLIF_ERR_EINT1 */
- #define ARIZONA_V2_IM_CTRLIF_ERR_EINT1_SHIFT 12 /* IM_CTRLIF_ERR_EINT1 */
- #define ARIZONA_V2_IM_CTRLIF_ERR_EINT1_WIDTH 1 /* IM_CTRLIF_ERR_EINT1 */
- #define ARIZONA_V2_IM_MIXER_DROPPED_SAMPLE_EINT1 0x0800 /* IM_MIXER_DROPPED_SAMPLE_EINT1 */
- #define ARIZONA_V2_IM_MIXER_DROPPED_SAMPLE_EINT1_MASK 0x0800 /* IM_MIXER_DROPPED_SAMPLE_EINT1 */
- #define ARIZONA_V2_IM_MIXER_DROPPED_SAMPLE_EINT1_SHIFT 11 /* IM_MIXER_DROPPED_SAMPLE_EINT1 */
- #define ARIZONA_V2_IM_MIXER_DROPPED_SAMPLE_EINT1_WIDTH 1 /* IM_MIXER_DROPPED_SAMPLE_EINT1 */
- #define ARIZONA_V2_IM_ASYNC_CLK_ENA_LOW_EINT1 0x0400 /* IM_ASYNC_CLK_ENA_LOW_EINT1 */
- #define ARIZONA_V2_IM_ASYNC_CLK_ENA_LOW_EINT1_MASK 0x0400 /* IM_ASYNC_CLK_ENA_LOW_EINT1 */
- #define ARIZONA_V2_IM_ASYNC_CLK_ENA_LOW_EINT1_SHIFT 10 /* IM_ASYNC_CLK_ENA_LOW_EINT1 */
- #define ARIZONA_V2_IM_ASYNC_CLK_ENA_LOW_EINT1_WIDTH 1 /* IM_ASYNC_CLK_ENA_LOW_EINT1 */
- #define ARIZONA_V2_IM_SYSCLK_ENA_LOW_EINT1 0x0200 /* IM_SYSCLK_ENA_LOW_EINT1 */
- #define ARIZONA_V2_IM_SYSCLK_ENA_LOW_EINT1_MASK 0x0200 /* IM_SYSCLK_ENA_LOW_EINT1 */
- #define ARIZONA_V2_IM_SYSCLK_ENA_LOW_EINT1_SHIFT 9 /* IM_SYSCLK_ENA_LOW_EINT1 */
- #define ARIZONA_V2_IM_SYSCLK_ENA_LOW_EINT1_WIDTH 1 /* IM_SYSCLK_ENA_LOW_EINT1 */
- #define ARIZONA_V2_IM_ISRC1_CFG_ERR_EINT1 0x0100 /* IM_ISRC1_CFG_ERR_EINT1 */
- #define ARIZONA_V2_IM_ISRC1_CFG_ERR_EINT1_MASK 0x0100 /* IM_ISRC1_CFG_ERR_EINT1 */
- #define ARIZONA_V2_IM_ISRC1_CFG_ERR_EINT1_SHIFT 8 /* IM_ISRC1_CFG_ERR_EINT1 */
- #define ARIZONA_V2_IM_ISRC1_CFG_ERR_EINT1_WIDTH 1 /* IM_ISRC1_CFG_ERR_EINT1 */
- #define ARIZONA_V2_IM_ISRC2_CFG_ERR_EINT1 0x0080 /* IM_ISRC2_CFG_ERR_EINT1 */
- #define ARIZONA_V2_IM_ISRC2_CFG_ERR_EINT1_MASK 0x0080 /* IM_ISRC2_CFG_ERR_EINT1 */
- #define ARIZONA_V2_IM_ISRC2_CFG_ERR_EINT1_SHIFT 7 /* IM_ISRC2_CFG_ERR_EINT1 */
- #define ARIZONA_V2_IM_ISRC2_CFG_ERR_EINT1_WIDTH 1 /* IM_ISRC2_CFG_ERR_EINT1 */
- #define ARIZONA_V2_IM_ISRC3_CFG_ERR_EINT1 0x0040 /* IM_ISRC3_CFG_ERR_EINT1 */
- #define ARIZONA_V2_IM_ISRC3_CFG_ERR_EINT1_MASK 0x0040 /* IM_ISRC3_CFG_ERR_EINT1 */
- #define ARIZONA_V2_IM_ISRC3_CFG_ERR_EINT1_SHIFT 6 /* IM_ISRC3_CFG_ERR_EINT1 */
- #define ARIZONA_V2_IM_ISRC3_CFG_ERR_EINT1_WIDTH 1 /* IM_ISRC3_CFG_ERR_EINT1 */
- /*
- * R3340 (0xD0C) - Interrupt Status 5 Mask
- */
- #define ARIZONA_IM_BOOT_DONE_EINT1 0x0100 /* IM_BOOT_DONE_EINT1 */
- #define ARIZONA_IM_BOOT_DONE_EINT1_MASK 0x0100 /* IM_BOOT_DONE_EINT1 */
- #define ARIZONA_IM_BOOT_DONE_EINT1_SHIFT 8 /* IM_BOOT_DONE_EINT1 */
- #define ARIZONA_IM_BOOT_DONE_EINT1_WIDTH 1 /* IM_BOOT_DONE_EINT1 */
- #define ARIZONA_IM_DCS_DAC_DONE_EINT1 0x0080 /* IM_DCS_DAC_DONE_EINT1 */
- #define ARIZONA_IM_DCS_DAC_DONE_EINT1_MASK 0x0080 /* IM_DCS_DAC_DONE_EINT1 */
- #define ARIZONA_IM_DCS_DAC_DONE_EINT1_SHIFT 7 /* IM_DCS_DAC_DONE_EINT1 */
- #define ARIZONA_IM_DCS_DAC_DONE_EINT1_WIDTH 1 /* IM_DCS_DAC_DONE_EINT1 */
- #define ARIZONA_IM_DCS_HP_DONE_EINT1 0x0040 /* IM_DCS_HP_DONE_EINT1 */
- #define ARIZONA_IM_DCS_HP_DONE_EINT1_MASK 0x0040 /* IM_DCS_HP_DONE_EINT1 */
- #define ARIZONA_IM_DCS_HP_DONE_EINT1_SHIFT 6 /* IM_DCS_HP_DONE_EINT1 */
- #define ARIZONA_IM_DCS_HP_DONE_EINT1_WIDTH 1 /* IM_DCS_HP_DONE_EINT1 */
- #define ARIZONA_IM_FLL2_CLOCK_OK_EINT1 0x0002 /* IM_FLL2_CLOCK_OK_EINT1 */
- #define ARIZONA_IM_FLL2_CLOCK_OK_EINT1_MASK 0x0002 /* IM_FLL2_CLOCK_OK_EINT1 */
- #define ARIZONA_IM_FLL2_CLOCK_OK_EINT1_SHIFT 1 /* IM_FLL2_CLOCK_OK_EINT1 */
- #define ARIZONA_IM_FLL2_CLOCK_OK_EINT1_WIDTH 1 /* IM_FLL2_CLOCK_OK_EINT1 */
- #define ARIZONA_IM_FLL1_CLOCK_OK_EINT1 0x0001 /* IM_FLL1_CLOCK_OK_EINT1 */
- #define ARIZONA_IM_FLL1_CLOCK_OK_EINT1_MASK 0x0001 /* IM_FLL1_CLOCK_OK_EINT1 */
- #define ARIZONA_IM_FLL1_CLOCK_OK_EINT1_SHIFT 0 /* IM_FLL1_CLOCK_OK_EINT1 */
- #define ARIZONA_IM_FLL1_CLOCK_OK_EINT1_WIDTH 1 /* IM_FLL1_CLOCK_OK_EINT1 */
- /*
- * R3340 (0xD0C) - Interrupt Status 5 Mask (Alternate layout)
- *
- * Alternate layout used on later devices, note only fields that have moved
- * are specified
- */
- #define ARIZONA_V2_IM_ASRC_CFG_ERR_EINT1 0x0008 /* IM_ASRC_CFG_ERR_EINT1 */
- #define ARIZONA_V2_IM_ASRC_CFG_ERR_EINT1_MASK 0x0008 /* IM_ASRC_CFG_ERR_EINT1 */
- #define ARIZONA_V2_IM_ASRC_CFG_ERR_EINT1_SHIFT 3 /* IM_ASRC_CFG_ERR_EINT1 */
- #define ARIZONA_V2_IM_ASRC_CFG_ERR_EINT1_WIDTH 1 /* IM_ASRC_CFG_ERR_EINT1 */
- /*
- * R3341 (0xD0D) - Interrupt Status 6 Mask
- */
- #define ARIZONA_IM_DSP_SHARED_WR_COLL_EINT1 0x8000 /* IM_DSP_SHARED_WR_COLL_EINT1 */
- #define ARIZONA_IM_DSP_SHARED_WR_COLL_EINT1_MASK 0x8000 /* IM_DSP_SHARED_WR_COLL_EINT1 */
- #define ARIZONA_IM_DSP_SHARED_WR_COLL_EINT1_SHIFT 15 /* IM_DSP_SHARED_WR_COLL_EINT1 */
- #define ARIZONA_IM_DSP_SHARED_WR_COLL_EINT1_WIDTH 1 /* IM_DSP_SHARED_WR_COLL_EINT1 */
- #define ARIZONA_IM_SPK_SHUTDOWN_EINT1 0x4000 /* IM_SPK_SHUTDOWN_EINT1 */
- #define ARIZONA_IM_SPK_SHUTDOWN_EINT1_MASK 0x4000 /* IM_SPK_SHUTDOWN_EINT1 */
- #define ARIZONA_IM_SPK_SHUTDOWN_EINT1_SHIFT 14 /* IM_SPK_SHUTDOWN_EINT1 */
- #define ARIZONA_IM_SPK_SHUTDOWN_EINT1_WIDTH 1 /* IM_SPK_SHUTDOWN_EINT1 */
- #define ARIZONA_IM_SPK1R_SHORT_EINT1 0x2000 /* IM_SPK1R_SHORT_EINT1 */
- #define ARIZONA_IM_SPK1R_SHORT_EINT1_MASK 0x2000 /* IM_SPK1R_SHORT_EINT1 */
- #define ARIZONA_IM_SPK1R_SHORT_EINT1_SHIFT 13 /* IM_SPK1R_SHORT_EINT1 */
- #define ARIZONA_IM_SPK1R_SHORT_EINT1_WIDTH 1 /* IM_SPK1R_SHORT_EINT1 */
- #define ARIZONA_IM_SPK1L_SHORT_EINT1 0x1000 /* IM_SPK1L_SHORT_EINT1 */
- #define ARIZONA_IM_SPK1L_SHORT_EINT1_MASK 0x1000 /* IM_SPK1L_SHORT_EINT1 */
- #define ARIZONA_IM_SPK1L_SHORT_EINT1_SHIFT 12 /* IM_SPK1L_SHORT_EINT1 */
- #define ARIZONA_IM_SPK1L_SHORT_EINT1_WIDTH 1 /* IM_SPK1L_SHORT_EINT1 */
- #define ARIZONA_IM_HP3R_SC_NEG_EINT1 0x0800 /* IM_HP3R_SC_NEG_EINT1 */
- #define ARIZONA_IM_HP3R_SC_NEG_EINT1_MASK 0x0800 /* IM_HP3R_SC_NEG_EINT1 */
- #define ARIZONA_IM_HP3R_SC_NEG_EINT1_SHIFT 11 /* IM_HP3R_SC_NEG_EINT1 */
- #define ARIZONA_IM_HP3R_SC_NEG_EINT1_WIDTH 1 /* IM_HP3R_SC_NEG_EINT1 */
- #define ARIZONA_IM_HP3R_SC_POS_EINT1 0x0400 /* IM_HP3R_SC_POS_EINT1 */
- #define ARIZONA_IM_HP3R_SC_POS_EINT1_MASK 0x0400 /* IM_HP3R_SC_POS_EINT1 */
- #define ARIZONA_IM_HP3R_SC_POS_EINT1_SHIFT 10 /* IM_HP3R_SC_POS_EINT1 */
- #define ARIZONA_IM_HP3R_SC_POS_EINT1_WIDTH 1 /* IM_HP3R_SC_POS_EINT1 */
- #define ARIZONA_IM_HP3L_SC_NEG_EINT1 0x0200 /* IM_HP3L_SC_NEG_EINT1 */
- #define ARIZONA_IM_HP3L_SC_NEG_EINT1_MASK 0x0200 /* IM_HP3L_SC_NEG_EINT1 */
- #define ARIZONA_IM_HP3L_SC_NEG_EINT1_SHIFT 9 /* IM_HP3L_SC_NEG_EINT1 */
- #define ARIZONA_IM_HP3L_SC_NEG_EINT1_WIDTH 1 /* IM_HP3L_SC_NEG_EINT1 */
- #define ARIZONA_IM_HP3L_SC_POS_EINT1 0x0100 /* IM_HP3L_SC_POS_EINT1 */
- #define ARIZONA_IM_HP3L_SC_POS_EINT1_MASK 0x0100 /* IM_HP3L_SC_POS_EINT1 */
- #define ARIZONA_IM_HP3L_SC_POS_EINT1_SHIFT 8 /* IM_HP3L_SC_POS_EINT1 */
- #define ARIZONA_IM_HP3L_SC_POS_EINT1_WIDTH 1 /* IM_HP3L_SC_POS_EINT1 */
- #define ARIZONA_IM_HP2R_SC_NEG_EINT1 0x0080 /* IM_HP2R_SC_NEG_EINT1 */
- #define ARIZONA_IM_HP2R_SC_NEG_EINT1_MASK 0x0080 /* IM_HP2R_SC_NEG_EINT1 */
- #define ARIZONA_IM_HP2R_SC_NEG_EINT1_SHIFT 7 /* IM_HP2R_SC_NEG_EINT1 */
- #define ARIZONA_IM_HP2R_SC_NEG_EINT1_WIDTH 1 /* IM_HP2R_SC_NEG_EINT1 */
- #define ARIZONA_IM_HP2R_SC_POS_EINT1 0x0040 /* IM_HP2R_SC_POS_EINT1 */
- #define ARIZONA_IM_HP2R_SC_POS_EINT1_MASK 0x0040 /* IM_HP2R_SC_POS_EINT1 */
- #define ARIZONA_IM_HP2R_SC_POS_EINT1_SHIFT 6 /* IM_HP2R_SC_POS_EINT1 */
- #define ARIZONA_IM_HP2R_SC_POS_EINT1_WIDTH 1 /* IM_HP2R_SC_POS_EINT1 */
- #define ARIZONA_IM_HP2L_SC_NEG_EINT1 0x0020 /* IM_HP2L_SC_NEG_EINT1 */
- #define ARIZONA_IM_HP2L_SC_NEG_EINT1_MASK 0x0020 /* IM_HP2L_SC_NEG_EINT1 */
- #define ARIZONA_IM_HP2L_SC_NEG_EINT1_SHIFT 5 /* IM_HP2L_SC_NEG_EINT1 */
- #define ARIZONA_IM_HP2L_SC_NEG_EINT1_WIDTH 1 /* IM_HP2L_SC_NEG_EINT1 */
- #define ARIZONA_IM_HP2L_SC_POS_EINT1 0x0010 /* IM_HP2L_SC_POS_EINT1 */
- #define ARIZONA_IM_HP2L_SC_POS_EINT1_MASK 0x0010 /* IM_HP2L_SC_POS_EINT1 */
- #define ARIZONA_IM_HP2L_SC_POS_EINT1_SHIFT 4 /* IM_HP2L_SC_POS_EINT1 */
- #define ARIZONA_IM_HP2L_SC_POS_EINT1_WIDTH 1 /* IM_HP2L_SC_POS_EINT1 */
- #define ARIZONA_IM_HP1R_SC_NEG_EINT1 0x0008 /* IM_HP1R_SC_NEG_EINT1 */
- #define ARIZONA_IM_HP1R_SC_NEG_EINT1_MASK 0x0008 /* IM_HP1R_SC_NEG_EINT1 */
- #define ARIZONA_IM_HP1R_SC_NEG_EINT1_SHIFT 3 /* IM_HP1R_SC_NEG_EINT1 */
- #define ARIZONA_IM_HP1R_SC_NEG_EINT1_WIDTH 1 /* IM_HP1R_SC_NEG_EINT1 */
- #define ARIZONA_IM_HP1R_SC_POS_EINT1 0x0004 /* IM_HP1R_SC_POS_EINT1 */
- #define ARIZONA_IM_HP1R_SC_POS_EINT1_MASK 0x0004 /* IM_HP1R_SC_POS_EINT1 */
- #define ARIZONA_IM_HP1R_SC_POS_EINT1_SHIFT 2 /* IM_HP1R_SC_POS_EINT1 */
- #define ARIZONA_IM_HP1R_SC_POS_EINT1_WIDTH 1 /* IM_HP1R_SC_POS_EINT1 */
- #define ARIZONA_IM_HP1L_SC_NEG_EINT1 0x0002 /* IM_HP1L_SC_NEG_EINT1 */
- #define ARIZONA_IM_HP1L_SC_NEG_EINT1_MASK 0x0002 /* IM_HP1L_SC_NEG_EINT1 */
- #define ARIZONA_IM_HP1L_SC_NEG_EINT1_SHIFT 1 /* IM_HP1L_SC_NEG_EINT1 */
- #define ARIZONA_IM_HP1L_SC_NEG_EINT1_WIDTH 1 /* IM_HP1L_SC_NEG_EINT1 */
- #define ARIZONA_IM_HP1L_SC_POS_EINT1 0x0001 /* IM_HP1L_SC_POS_EINT1 */
- #define ARIZONA_IM_HP1L_SC_POS_EINT1_MASK 0x0001 /* IM_HP1L_SC_POS_EINT1 */
- #define ARIZONA_IM_HP1L_SC_POS_EINT1_SHIFT 0 /* IM_HP1L_SC_POS_EINT1 */
- #define ARIZONA_IM_HP1L_SC_POS_EINT1_WIDTH 1 /* IM_HP1L_SC_POS_EINT1 */
- /*
- * R3343 (0xD0F) - Interrupt Control
- */
- #define ARIZONA_IM_IRQ1 0x0001 /* IM_IRQ1 */
- #define ARIZONA_IM_IRQ1_MASK 0x0001 /* IM_IRQ1 */
- #define ARIZONA_IM_IRQ1_SHIFT 0 /* IM_IRQ1 */
- #define ARIZONA_IM_IRQ1_WIDTH 1 /* IM_IRQ1 */
- /*
- * R3344 (0xD10) - IRQ2 Status 1
- */
- #define ARIZONA_GP4_EINT2 0x0008 /* GP4_EINT2 */
- #define ARIZONA_GP4_EINT2_MASK 0x0008 /* GP4_EINT2 */
- #define ARIZONA_GP4_EINT2_SHIFT 3 /* GP4_EINT2 */
- #define ARIZONA_GP4_EINT2_WIDTH 1 /* GP4_EINT2 */
- #define ARIZONA_GP3_EINT2 0x0004 /* GP3_EINT2 */
- #define ARIZONA_GP3_EINT2_MASK 0x0004 /* GP3_EINT2 */
- #define ARIZONA_GP3_EINT2_SHIFT 2 /* GP3_EINT2 */
- #define ARIZONA_GP3_EINT2_WIDTH 1 /* GP3_EINT2 */
- #define ARIZONA_GP2_EINT2 0x0002 /* GP2_EINT2 */
- #define ARIZONA_GP2_EINT2_MASK 0x0002 /* GP2_EINT2 */
- #define ARIZONA_GP2_EINT2_SHIFT 1 /* GP2_EINT2 */
- #define ARIZONA_GP2_EINT2_WIDTH 1 /* GP2_EINT2 */
- #define ARIZONA_GP1_EINT2 0x0001 /* GP1_EINT2 */
- #define ARIZONA_GP1_EINT2_MASK 0x0001 /* GP1_EINT2 */
- #define ARIZONA_GP1_EINT2_SHIFT 0 /* GP1_EINT2 */
- #define ARIZONA_GP1_EINT2_WIDTH 1 /* GP1_EINT2 */
- /*
- * R3345 (0xD11) - IRQ2 Status 2
- */
- #define ARIZONA_DSP1_RAM_RDY_EINT2 0x0100 /* DSP1_RAM_RDY_EINT2 */
- #define ARIZONA_DSP1_RAM_RDY_EINT2_MASK 0x0100 /* DSP1_RAM_RDY_EINT2 */
- #define ARIZONA_DSP1_RAM_RDY_EINT2_SHIFT 8 /* DSP1_RAM_RDY_EINT2 */
- #define ARIZONA_DSP1_RAM_RDY_EINT2_WIDTH 1 /* DSP1_RAM_RDY_EINT2 */
- #define ARIZONA_DSP_IRQ2_EINT2 0x0002 /* DSP_IRQ2_EINT2 */
- #define ARIZONA_DSP_IRQ2_EINT2_MASK 0x0002 /* DSP_IRQ2_EINT2 */
- #define ARIZONA_DSP_IRQ2_EINT2_SHIFT 1 /* DSP_IRQ2_EINT2 */
- #define ARIZONA_DSP_IRQ2_EINT2_WIDTH 1 /* DSP_IRQ2_EINT2 */
- #define ARIZONA_DSP_IRQ1_EINT2 0x0001 /* DSP_IRQ1_EINT2 */
- #define ARIZONA_DSP_IRQ1_EINT2_MASK 0x0001 /* DSP_IRQ1_EINT2 */
- #define ARIZONA_DSP_IRQ1_EINT2_SHIFT 0 /* DSP_IRQ1_EINT2 */
- #define ARIZONA_DSP_IRQ1_EINT2_WIDTH 1 /* DSP_IRQ1_EINT2 */
- /*
- * R3346 (0xD12) - IRQ2 Status 3
- */
- #define ARIZONA_SPK_OVERHEAT_WARN_EINT2 0x8000 /* SPK_OVERHEAT_WARN_EINT2 */
- #define ARIZONA_SPK_OVERHEAT_WARN_EINT2_MASK 0x8000 /* SPK_OVERHEAT_WARN_EINT2 */
- #define ARIZONA_SPK_OVERHEAT_WARN_EINT2_SHIFT 15 /* SPK_OVERHEAT_WARN_EINT2 */
- #define ARIZONA_SPK_OVERHEAT_WARN_EINT2_WIDTH 1 /* SPK_OVERHEAT_WARN_EINT2 */
- #define ARIZONA_SPK_OVERHEAT_EINT2 0x4000 /* SPK_OVERHEAT_EINT2 */
- #define ARIZONA_SPK_OVERHEAT_EINT2_MASK 0x4000 /* SPK_OVERHEAT_EINT2 */
- #define ARIZONA_SPK_OVERHEAT_EINT2_SHIFT 14 /* SPK_OVERHEAT_EINT2 */
- #define ARIZONA_SPK_OVERHEAT_EINT2_WIDTH 1 /* SPK_OVERHEAT_EINT2 */
- #define ARIZONA_HPDET_EINT2 0x2000 /* HPDET_EINT2 */
- #define ARIZONA_HPDET_EINT2_MASK 0x2000 /* HPDET_EINT2 */
- #define ARIZONA_HPDET_EINT2_SHIFT 13 /* HPDET_EINT2 */
- #define ARIZONA_HPDET_EINT2_WIDTH 1 /* HPDET_EINT2 */
- #define ARIZONA_MICDET_EINT2 0x1000 /* MICDET_EINT2 */
- #define ARIZONA_MICDET_EINT2_MASK 0x1000 /* MICDET_EINT2 */
- #define ARIZONA_MICDET_EINT2_SHIFT 12 /* MICDET_EINT2 */
- #define ARIZONA_MICDET_EINT2_WIDTH 1 /* MICDET_EINT2 */
- #define ARIZONA_WSEQ_DONE_EINT2 0x0800 /* WSEQ_DONE_EINT2 */
- #define ARIZONA_WSEQ_DONE_EINT2_MASK 0x0800 /* WSEQ_DONE_EINT2 */
- #define ARIZONA_WSEQ_DONE_EINT2_SHIFT 11 /* WSEQ_DONE_EINT2 */
- #define ARIZONA_WSEQ_DONE_EINT2_WIDTH 1 /* WSEQ_DONE_EINT2 */
- #define ARIZONA_DRC2_SIG_DET_EINT2 0x0400 /* DRC2_SIG_DET_EINT2 */
- #define ARIZONA_DRC2_SIG_DET_EINT2_MASK 0x0400 /* DRC2_SIG_DET_EINT2 */
- #define ARIZONA_DRC2_SIG_DET_EINT2_SHIFT 10 /* DRC2_SIG_DET_EINT2 */
- #define ARIZONA_DRC2_SIG_DET_EINT2_WIDTH 1 /* DRC2_SIG_DET_EINT2 */
- #define ARIZONA_DRC1_SIG_DET_EINT2 0x0200 /* DRC1_SIG_DET_EINT2 */
- #define ARIZONA_DRC1_SIG_DET_EINT2_MASK 0x0200 /* DRC1_SIG_DET_EINT2 */
- #define ARIZONA_DRC1_SIG_DET_EINT2_SHIFT 9 /* DRC1_SIG_DET_EINT2 */
- #define ARIZONA_DRC1_SIG_DET_EINT2_WIDTH 1 /* DRC1_SIG_DET_EINT2 */
- #define ARIZONA_ASRC2_LOCK_EINT2 0x0100 /* ASRC2_LOCK_EINT2 */
- #define ARIZONA_ASRC2_LOCK_EINT2_MASK 0x0100 /* ASRC2_LOCK_EINT2 */
- #define ARIZONA_ASRC2_LOCK_EINT2_SHIFT 8 /* ASRC2_LOCK_EINT2 */
- #define ARIZONA_ASRC2_LOCK_EINT2_WIDTH 1 /* ASRC2_LOCK_EINT2 */
- #define ARIZONA_ASRC1_LOCK_EINT2 0x0080 /* ASRC1_LOCK_EINT2 */
- #define ARIZONA_ASRC1_LOCK_EINT2_MASK 0x0080 /* ASRC1_LOCK_EINT2 */
- #define ARIZONA_ASRC1_LOCK_EINT2_SHIFT 7 /* ASRC1_LOCK_EINT2 */
- #define ARIZONA_ASRC1_LOCK_EINT2_WIDTH 1 /* ASRC1_LOCK_EINT2 */
- #define ARIZONA_UNDERCLOCKED_EINT2 0x0040 /* UNDERCLOCKED_EINT2 */
- #define ARIZONA_UNDERCLOCKED_EINT2_MASK 0x0040 /* UNDERCLOCKED_EINT2 */
- #define ARIZONA_UNDERCLOCKED_EINT2_SHIFT 6 /* UNDERCLOCKED_EINT2 */
- #define ARIZONA_UNDERCLOCKED_EINT2_WIDTH 1 /* UNDERCLOCKED_EINT2 */
- #define ARIZONA_OVERCLOCKED_EINT2 0x0020 /* OVERCLOCKED_EINT2 */
- #define ARIZONA_OVERCLOCKED_EINT2_MASK 0x0020 /* OVERCLOCKED_EINT2 */
- #define ARIZONA_OVERCLOCKED_EINT2_SHIFT 5 /* OVERCLOCKED_EINT2 */
- #define ARIZONA_OVERCLOCKED_EINT2_WIDTH 1 /* OVERCLOCKED_EINT2 */
- #define ARIZONA_FLL2_LOCK_EINT2 0x0008 /* FLL2_LOCK_EINT2 */
- #define ARIZONA_FLL2_LOCK_EINT2_MASK 0x0008 /* FLL2_LOCK_EINT2 */
- #define ARIZONA_FLL2_LOCK_EINT2_SHIFT 3 /* FLL2_LOCK_EINT2 */
- #define ARIZONA_FLL2_LOCK_EINT2_WIDTH 1 /* FLL2_LOCK_EINT2 */
- #define ARIZONA_FLL1_LOCK_EINT2 0x0004 /* FLL1_LOCK_EINT2 */
- #define ARIZONA_FLL1_LOCK_EINT2_MASK 0x0004 /* FLL1_LOCK_EINT2 */
- #define ARIZONA_FLL1_LOCK_EINT2_SHIFT 2 /* FLL1_LOCK_EINT2 */
- #define ARIZONA_FLL1_LOCK_EINT2_WIDTH 1 /* FLL1_LOCK_EINT2 */
- #define ARIZONA_CLKGEN_ERR_EINT2 0x0002 /* CLKGEN_ERR_EINT2 */
- #define ARIZONA_CLKGEN_ERR_EINT2_MASK 0x0002 /* CLKGEN_ERR_EINT2 */
- #define ARIZONA_CLKGEN_ERR_EINT2_SHIFT 1 /* CLKGEN_ERR_EINT2 */
- #define ARIZONA_CLKGEN_ERR_EINT2_WIDTH 1 /* CLKGEN_ERR_EINT2 */
- #define ARIZONA_CLKGEN_ERR_ASYNC_EINT2 0x0001 /* CLKGEN_ERR_ASYNC_EINT2 */
- #define ARIZONA_CLKGEN_ERR_ASYNC_EINT2_MASK 0x0001 /* CLKGEN_ERR_ASYNC_EINT2 */
- #define ARIZONA_CLKGEN_ERR_ASYNC_EINT2_SHIFT 0 /* CLKGEN_ERR_ASYNC_EINT2 */
- #define ARIZONA_CLKGEN_ERR_ASYNC_EINT2_WIDTH 1 /* CLKGEN_ERR_ASYNC_EINT2 */
- /*
- * R3347 (0xD13) - IRQ2 Status 4
- */
- #define ARIZONA_ASRC_CFG_ERR_EINT2 0x8000 /* ASRC_CFG_ERR_EINT2 */
- #define ARIZONA_ASRC_CFG_ERR_EINT2_MASK 0x8000 /* ASRC_CFG_ERR_EINT2 */
- #define ARIZONA_ASRC_CFG_ERR_EINT2_SHIFT 15 /* ASRC_CFG_ERR_EINT2 */
- #define ARIZONA_ASRC_CFG_ERR_EINT2_WIDTH 1 /* ASRC_CFG_ERR_EINT2 */
- #define ARIZONA_AIF3_ERR_EINT2 0x4000 /* AIF3_ERR_EINT2 */
- #define ARIZONA_AIF3_ERR_EINT2_MASK 0x4000 /* AIF3_ERR_EINT2 */
- #define ARIZONA_AIF3_ERR_EINT2_SHIFT 14 /* AIF3_ERR_EINT2 */
- #define ARIZONA_AIF3_ERR_EINT2_WIDTH 1 /* AIF3_ERR_EINT2 */
- #define ARIZONA_AIF2_ERR_EINT2 0x2000 /* AIF2_ERR_EINT2 */
- #define ARIZONA_AIF2_ERR_EINT2_MASK 0x2000 /* AIF2_ERR_EINT2 */
- #define ARIZONA_AIF2_ERR_EINT2_SHIFT 13 /* AIF2_ERR_EINT2 */
- #define ARIZONA_AIF2_ERR_EINT2_WIDTH 1 /* AIF2_ERR_EINT2 */
- #define ARIZONA_AIF1_ERR_EINT2 0x1000 /* AIF1_ERR_EINT2 */
- #define ARIZONA_AIF1_ERR_EINT2_MASK 0x1000 /* AIF1_ERR_EINT2 */
- #define ARIZONA_AIF1_ERR_EINT2_SHIFT 12 /* AIF1_ERR_EINT2 */
- #define ARIZONA_AIF1_ERR_EINT2_WIDTH 1 /* AIF1_ERR_EINT2 */
- #define ARIZONA_CTRLIF_ERR_EINT2 0x0800 /* CTRLIF_ERR_EINT2 */
- #define ARIZONA_CTRLIF_ERR_EINT2_MASK 0x0800 /* CTRLIF_ERR_EINT2 */
- #define ARIZONA_CTRLIF_ERR_EINT2_SHIFT 11 /* CTRLIF_ERR_EINT2 */
- #define ARIZONA_CTRLIF_ERR_EINT2_WIDTH 1 /* CTRLIF_ERR_EINT2 */
- #define ARIZONA_MIXER_DROPPED_SAMPLE_EINT2 0x0400 /* MIXER_DROPPED_SAMPLE_EINT2 */
- #define ARIZONA_MIXER_DROPPED_SAMPLE_EINT2_MASK 0x0400 /* MIXER_DROPPED_SAMPLE_EINT2 */
- #define ARIZONA_MIXER_DROPPED_SAMPLE_EINT2_SHIFT 10 /* MIXER_DROPPED_SAMPLE_EINT2 */
- #define ARIZONA_MIXER_DROPPED_SAMPLE_EINT2_WIDTH 1 /* MIXER_DROPPED_SAMPLE_EINT2 */
- #define ARIZONA_ASYNC_CLK_ENA_LOW_EINT2 0x0200 /* ASYNC_CLK_ENA_LOW_EINT2 */
- #define ARIZONA_ASYNC_CLK_ENA_LOW_EINT2_MASK 0x0200 /* ASYNC_CLK_ENA_LOW_EINT2 */
- #define ARIZONA_ASYNC_CLK_ENA_LOW_EINT2_SHIFT 9 /* ASYNC_CLK_ENA_LOW_EINT2 */
- #define ARIZONA_ASYNC_CLK_ENA_LOW_EINT2_WIDTH 1 /* ASYNC_CLK_ENA_LOW_EINT2 */
- #define ARIZONA_SYSCLK_ENA_LOW_EINT2 0x0100 /* SYSCLK_ENA_LOW_EINT2 */
- #define ARIZONA_SYSCLK_ENA_LOW_EINT2_MASK 0x0100 /* SYSCLK_ENA_LOW_EINT2 */
- #define ARIZONA_SYSCLK_ENA_LOW_EINT2_SHIFT 8 /* SYSCLK_ENA_LOW_EINT2 */
- #define ARIZONA_SYSCLK_ENA_LOW_EINT2_WIDTH 1 /* SYSCLK_ENA_LOW_EINT2 */
- #define ARIZONA_ISRC1_CFG_ERR_EINT2 0x0080 /* ISRC1_CFG_ERR_EINT2 */
- #define ARIZONA_ISRC1_CFG_ERR_EINT2_MASK 0x0080 /* ISRC1_CFG_ERR_EINT2 */
- #define ARIZONA_ISRC1_CFG_ERR_EINT2_SHIFT 7 /* ISRC1_CFG_ERR_EINT2 */
- #define ARIZONA_ISRC1_CFG_ERR_EINT2_WIDTH 1 /* ISRC1_CFG_ERR_EINT2 */
- #define ARIZONA_ISRC2_CFG_ERR_EINT2 0x0040 /* ISRC2_CFG_ERR_EINT2 */
- #define ARIZONA_ISRC2_CFG_ERR_EINT2_MASK 0x0040 /* ISRC2_CFG_ERR_EINT2 */
- #define ARIZONA_ISRC2_CFG_ERR_EINT2_SHIFT 6 /* ISRC2_CFG_ERR_EINT2 */
- #define ARIZONA_ISRC2_CFG_ERR_EINT2_WIDTH 1 /* ISRC2_CFG_ERR_EINT2 */
- #define ARIZONA_HP3R_DONE_EINT2 0x0020 /* HP3R_DONE_EINT2 */
- #define ARIZONA_HP3R_DONE_EINT2_MASK 0x0020 /* HP3R_DONE_EINT2 */
- #define ARIZONA_HP3R_DONE_EINT2_SHIFT 5 /* HP3R_DONE_EINT2 */
- #define ARIZONA_HP3R_DONE_EINT2_WIDTH 1 /* HP3R_DONE_EINT2 */
- #define ARIZONA_HP3L_DONE_EINT2 0x0010 /* HP3L_DONE_EINT2 */
- #define ARIZONA_HP3L_DONE_EINT2_MASK 0x0010 /* HP3L_DONE_EINT2 */
- #define ARIZONA_HP3L_DONE_EINT2_SHIFT 4 /* HP3L_DONE_EINT2 */
- #define ARIZONA_HP3L_DONE_EINT2_WIDTH 1 /* HP3L_DONE_EINT2 */
- #define ARIZONA_HP2R_DONE_EINT2 0x0008 /* HP2R_DONE_EINT2 */
- #define ARIZONA_HP2R_DONE_EINT2_MASK 0x0008 /* HP2R_DONE_EINT2 */
- #define ARIZONA_HP2R_DONE_EINT2_SHIFT 3 /* HP2R_DONE_EINT2 */
- #define ARIZONA_HP2R_DONE_EINT2_WIDTH 1 /* HP2R_DONE_EINT2 */
- #define ARIZONA_HP2L_DONE_EINT2 0x0004 /* HP2L_DONE_EINT2 */
- #define ARIZONA_HP2L_DONE_EINT2_MASK 0x0004 /* HP2L_DONE_EINT2 */
- #define ARIZONA_HP2L_DONE_EINT2_SHIFT 2 /* HP2L_DONE_EINT2 */
- #define ARIZONA_HP2L_DONE_EINT2_WIDTH 1 /* HP2L_DONE_EINT2 */
- #define ARIZONA_HP1R_DONE_EINT2 0x0002 /* HP1R_DONE_EINT2 */
- #define ARIZONA_HP1R_DONE_EINT2_MASK 0x0002 /* HP1R_DONE_EINT2 */
- #define ARIZONA_HP1R_DONE_EINT2_SHIFT 1 /* HP1R_DONE_EINT2 */
- #define ARIZONA_HP1R_DONE_EINT2_WIDTH 1 /* HP1R_DONE_EINT2 */
- #define ARIZONA_HP1L_DONE_EINT2 0x0001 /* HP1L_DONE_EINT2 */
- #define ARIZONA_HP1L_DONE_EINT2_MASK 0x0001 /* HP1L_DONE_EINT2 */
- #define ARIZONA_HP1L_DONE_EINT2_SHIFT 0 /* HP1L_DONE_EINT2 */
- #define ARIZONA_HP1L_DONE_EINT2_WIDTH 1 /* HP1L_DONE_EINT2 */
- /*
- * R3347 (0xD13) - IRQ2 Status 4 (Alternate layout)
- *
- * Alternate layout used on later devices, note only fields that have moved
- * are specified
- */
- #define ARIZONA_V2_AIF3_ERR_EINT2 0x8000 /* AIF3_ERR_EINT2 */
- #define ARIZONA_V2_AIF3_ERR_EINT2_MASK 0x8000 /* AIF3_ERR_EINT2 */
- #define ARIZONA_V2_AIF3_ERR_EINT2_SHIFT 15 /* AIF3_ERR_EINT2 */
- #define ARIZONA_V2_AIF3_ERR_EINT2_WIDTH 1 /* AIF3_ERR_EINT2 */
- #define ARIZONA_V2_AIF2_ERR_EINT2 0x4000 /* AIF2_ERR_EINT2 */
- #define ARIZONA_V2_AIF2_ERR_EINT2_MASK 0x4000 /* AIF2_ERR_EINT2 */
- #define ARIZONA_V2_AIF2_ERR_EINT2_SHIFT 14 /* AIF2_ERR_EINT2 */
- #define ARIZONA_V2_AIF2_ERR_EINT2_WIDTH 1 /* AIF2_ERR_EINT2 */
- #define ARIZONA_V2_AIF1_ERR_EINT2 0x2000 /* AIF1_ERR_EINT2 */
- #define ARIZONA_V2_AIF1_ERR_EINT2_MASK 0x2000 /* AIF1_ERR_EINT2 */
- #define ARIZONA_V2_AIF1_ERR_EINT2_SHIFT 13 /* AIF1_ERR_EINT2 */
- #define ARIZONA_V2_AIF1_ERR_EINT2_WIDTH 1 /* AIF1_ERR_EINT2 */
- #define ARIZONA_V2_CTRLIF_ERR_EINT2 0x1000 /* CTRLIF_ERR_EINT2 */
- #define ARIZONA_V2_CTRLIF_ERR_EINT2_MASK 0x1000 /* CTRLIF_ERR_EINT2 */
- #define ARIZONA_V2_CTRLIF_ERR_EINT2_SHIFT 12 /* CTRLIF_ERR_EINT2 */
- #define ARIZONA_V2_CTRLIF_ERR_EINT2_WIDTH 1 /* CTRLIF_ERR_EINT2 */
- #define ARIZONA_V2_MIXER_DROPPED_SAMPLE_EINT2 0x0800 /* MIXER_DROPPED_SAMPLE_EINT2 */
- #define ARIZONA_V2_MIXER_DROPPED_SAMPLE_EINT2_MASK 0x0800 /* MIXER_DROPPED_SAMPLE_EINT2 */
- #define ARIZONA_V2_MIXER_DROPPED_SAMPLE_EINT2_SHIFT 11 /* MIXER_DROPPED_SAMPLE_EINT2 */
- #define ARIZONA_V2_MIXER_DROPPED_SAMPLE_EINT2_WIDTH 1 /* MIXER_DROPPED_SAMPLE_EINT2 */
- #define ARIZONA_V2_ASYNC_CLK_ENA_LOW_EINT2 0x0400 /* ASYNC_CLK_ENA_LOW_EINT2 */
- #define ARIZONA_V2_ASYNC_CLK_ENA_LOW_EINT2_MASK 0x0400 /* ASYNC_CLK_ENA_LOW_EINT2 */
- #define ARIZONA_V2_ASYNC_CLK_ENA_LOW_EINT2_SHIFT 10 /* ASYNC_CLK_ENA_LOW_EINT2 */
- #define ARIZONA_V2_ASYNC_CLK_ENA_LOW_EINT2_WIDTH 1 /* ASYNC_CLK_ENA_LOW_EINT2 */
- #define ARIZONA_V2_SYSCLK_ENA_LOW_EINT2 0x0200 /* SYSCLK_ENA_LOW_EINT2 */
- #define ARIZONA_V2_SYSCLK_ENA_LOW_EINT2_MASK 0x0200 /* SYSCLK_ENA_LOW_EINT2 */
- #define ARIZONA_V2_SYSCLK_ENA_LOW_EINT2_SHIFT 9 /* SYSCLK_ENA_LOW_EINT2 */
- #define ARIZONA_V2_SYSCLK_ENA_LOW_EINT2_WIDTH 1 /* SYSCLK_ENA_LOW_EINT2 */
- #define ARIZONA_V2_ISRC1_CFG_ERR_EINT2 0x0100 /* ISRC1_CFG_ERR_EINT2 */
- #define ARIZONA_V2_ISRC1_CFG_ERR_EINT2_MASK 0x0100 /* ISRC1_CFG_ERR_EINT2 */
- #define ARIZONA_V2_ISRC1_CFG_ERR_EINT2_SHIFT 8 /* ISRC1_CFG_ERR_EINT2 */
- #define ARIZONA_V2_ISRC1_CFG_ERR_EINT2_WIDTH 1 /* ISRC1_CFG_ERR_EINT2 */
- #define ARIZONA_V2_ISRC2_CFG_ERR_EINT2 0x0080 /* ISRC2_CFG_ERR_EINT2 */
- #define ARIZONA_V2_ISRC2_CFG_ERR_EINT2_MASK 0x0080 /* ISRC2_CFG_ERR_EINT2 */
- #define ARIZONA_V2_ISRC2_CFG_ERR_EINT2_SHIFT 7 /* ISRC2_CFG_ERR_EINT2 */
- #define ARIZONA_V2_ISRC2_CFG_ERR_EINT2_WIDTH 1 /* ISRC2_CFG_ERR_EINT2 */
- #define ARIZONA_V2_ISRC3_CFG_ERR_EINT2 0x0040 /* ISRC3_CFG_ERR_EINT2 */
- #define ARIZONA_V2_ISRC3_CFG_ERR_EINT2_MASK 0x0040 /* ISRC3_CFG_ERR_EINT2 */
- #define ARIZONA_V2_ISRC3_CFG_ERR_EINT2_SHIFT 6 /* ISRC3_CFG_ERR_EINT2 */
- #define ARIZONA_V2_ISRC3_CFG_ERR_EINT2_WIDTH 1 /* ISRC3_CFG_ERR_EINT2 */
- /*
- * R3348 (0xD14) - IRQ2 Status 5
- */
- #define ARIZONA_BOOT_DONE_EINT2 0x0100 /* BOOT_DONE_EINT2 */
- #define ARIZONA_BOOT_DONE_EINT2_MASK 0x0100 /* BOOT_DONE_EINT2 */
- #define ARIZONA_BOOT_DONE_EINT2_SHIFT 8 /* BOOT_DONE_EINT2 */
- #define ARIZONA_BOOT_DONE_EINT2_WIDTH 1 /* BOOT_DONE_EINT2 */
- #define ARIZONA_DCS_DAC_DONE_EINT2 0x0080 /* DCS_DAC_DONE_EINT2 */
- #define ARIZONA_DCS_DAC_DONE_EINT2_MASK 0x0080 /* DCS_DAC_DONE_EINT2 */
- #define ARIZONA_DCS_DAC_DONE_EINT2_SHIFT 7 /* DCS_DAC_DONE_EINT2 */
- #define ARIZONA_DCS_DAC_DONE_EINT2_WIDTH 1 /* DCS_DAC_DONE_EINT2 */
- #define ARIZONA_DCS_HP_DONE_EINT2 0x0040 /* DCS_HP_DONE_EINT2 */
- #define ARIZONA_DCS_HP_DONE_EINT2_MASK 0x0040 /* DCS_HP_DONE_EINT2 */
- #define ARIZONA_DCS_HP_DONE_EINT2_SHIFT 6 /* DCS_HP_DONE_EINT2 */
- #define ARIZONA_DCS_HP_DONE_EINT2_WIDTH 1 /* DCS_HP_DONE_EINT2 */
- #define ARIZONA_FLL2_CLOCK_OK_EINT2 0x0002 /* FLL2_CLOCK_OK_EINT2 */
- #define ARIZONA_FLL2_CLOCK_OK_EINT2_MASK 0x0002 /* FLL2_CLOCK_OK_EINT2 */
- #define ARIZONA_FLL2_CLOCK_OK_EINT2_SHIFT 1 /* FLL2_CLOCK_OK_EINT2 */
- #define ARIZONA_FLL2_CLOCK_OK_EINT2_WIDTH 1 /* FLL2_CLOCK_OK_EINT2 */
- #define ARIZONA_FLL1_CLOCK_OK_EINT2 0x0001 /* FLL1_CLOCK_OK_EINT2 */
- #define ARIZONA_FLL1_CLOCK_OK_EINT2_MASK 0x0001 /* FLL1_CLOCK_OK_EINT2 */
- #define ARIZONA_FLL1_CLOCK_OK_EINT2_SHIFT 0 /* FLL1_CLOCK_OK_EINT2 */
- #define ARIZONA_FLL1_CLOCK_OK_EINT2_WIDTH 1 /* FLL1_CLOCK_OK_EINT2 */
- /*
- * R3348 (0xD14) - IRQ2 Status 5 (Alternate layout)
- *
- * Alternate layout used on later devices, note only fields that have moved
- * are specified
- */
- #define ARIZONA_V2_ASRC_CFG_ERR_EINT2 0x0008 /* ASRC_CFG_ERR_EINT2 */
- #define ARIZONA_V2_ASRC_CFG_ERR_EINT2_MASK 0x0008 /* ASRC_CFG_ERR_EINT2 */
- #define ARIZONA_V2_ASRC_CFG_ERR_EINT2_SHIFT 3 /* ASRC_CFG_ERR_EINT2 */
- #define ARIZONA_V2_ASRC_CFG_ERR_EINT2_WIDTH 1 /* ASRC_CFG_ERR_EINT2 */
- /*
- * R3349 (0xD15) - IRQ2 Status 6
- */
- #define ARIZONA_DSP_SHARED_WR_COLL_EINT2 0x8000 /* DSP_SHARED_WR_COLL_EINT2 */
- #define ARIZONA_DSP_SHARED_WR_COLL_EINT2_MASK 0x8000 /* DSP_SHARED_WR_COLL_EINT2 */
- #define ARIZONA_DSP_SHARED_WR_COLL_EINT2_SHIFT 15 /* DSP_SHARED_WR_COLL_EINT2 */
- #define ARIZONA_DSP_SHARED_WR_COLL_EINT2_WIDTH 1 /* DSP_SHARED_WR_COLL_EINT2 */
- #define ARIZONA_SPK_SHUTDOWN_EINT2 0x4000 /* SPK_SHUTDOWN_EINT2 */
- #define ARIZONA_SPK_SHUTDOWN_EINT2_MASK 0x4000 /* SPK_SHUTDOWN_EINT2 */
- #define ARIZONA_SPK_SHUTDOWN_EINT2_SHIFT 14 /* SPK_SHUTDOWN_EINT2 */
- #define ARIZONA_SPK_SHUTDOWN_EINT2_WIDTH 1 /* SPK_SHUTDOWN_EINT2 */
- #define ARIZONA_SPK1R_SHORT_EINT2 0x2000 /* SPK1R_SHORT_EINT2 */
- #define ARIZONA_SPK1R_SHORT_EINT2_MASK 0x2000 /* SPK1R_SHORT_EINT2 */
- #define ARIZONA_SPK1R_SHORT_EINT2_SHIFT 13 /* SPK1R_SHORT_EINT2 */
- #define ARIZONA_SPK1R_SHORT_EINT2_WIDTH 1 /* SPK1R_SHORT_EINT2 */
- #define ARIZONA_SPK1L_SHORT_EINT2 0x1000 /* SPK1L_SHORT_EINT2 */
- #define ARIZONA_SPK1L_SHORT_EINT2_MASK 0x1000 /* SPK1L_SHORT_EINT2 */
- #define ARIZONA_SPK1L_SHORT_EINT2_SHIFT 12 /* SPK1L_SHORT_EINT2 */
- #define ARIZONA_SPK1L_SHORT_EINT2_WIDTH 1 /* SPK1L_SHORT_EINT2 */
- #define ARIZONA_HP3R_SC_NEG_EINT2 0x0800 /* HP3R_SC_NEG_EINT2 */
- #define ARIZONA_HP3R_SC_NEG_EINT2_MASK 0x0800 /* HP3R_SC_NEG_EINT2 */
- #define ARIZONA_HP3R_SC_NEG_EINT2_SHIFT 11 /* HP3R_SC_NEG_EINT2 */
- #define ARIZONA_HP3R_SC_NEG_EINT2_WIDTH 1 /* HP3R_SC_NEG_EINT2 */
- #define ARIZONA_HP3R_SC_POS_EINT2 0x0400 /* HP3R_SC_POS_EINT2 */
- #define ARIZONA_HP3R_SC_POS_EINT2_MASK 0x0400 /* HP3R_SC_POS_EINT2 */
- #define ARIZONA_HP3R_SC_POS_EINT2_SHIFT 10 /* HP3R_SC_POS_EINT2 */
- #define ARIZONA_HP3R_SC_POS_EINT2_WIDTH 1 /* HP3R_SC_POS_EINT2 */
- #define ARIZONA_HP3L_SC_NEG_EINT2 0x0200 /* HP3L_SC_NEG_EINT2 */
- #define ARIZONA_HP3L_SC_NEG_EINT2_MASK 0x0200 /* HP3L_SC_NEG_EINT2 */
- #define ARIZONA_HP3L_SC_NEG_EINT2_SHIFT 9 /* HP3L_SC_NEG_EINT2 */
- #define ARIZONA_HP3L_SC_NEG_EINT2_WIDTH 1 /* HP3L_SC_NEG_EINT2 */
- #define ARIZONA_HP3L_SC_POS_EINT2 0x0100 /* HP3L_SC_POS_EINT2 */
- #define ARIZONA_HP3L_SC_POS_EINT2_MASK 0x0100 /* HP3L_SC_POS_EINT2 */
- #define ARIZONA_HP3L_SC_POS_EINT2_SHIFT 8 /* HP3L_SC_POS_EINT2 */
- #define ARIZONA_HP3L_SC_POS_EINT2_WIDTH 1 /* HP3L_SC_POS_EINT2 */
- #define ARIZONA_HP2R_SC_NEG_EINT2 0x0080 /* HP2R_SC_NEG_EINT2 */
- #define ARIZONA_HP2R_SC_NEG_EINT2_MASK 0x0080 /* HP2R_SC_NEG_EINT2 */
- #define ARIZONA_HP2R_SC_NEG_EINT2_SHIFT 7 /* HP2R_SC_NEG_EINT2 */
- #define ARIZONA_HP2R_SC_NEG_EINT2_WIDTH 1 /* HP2R_SC_NEG_EINT2 */
- #define ARIZONA_HP2R_SC_POS_EINT2 0x0040 /* HP2R_SC_POS_EINT2 */
- #define ARIZONA_HP2R_SC_POS_EINT2_MASK 0x0040 /* HP2R_SC_POS_EINT2 */
- #define ARIZONA_HP2R_SC_POS_EINT2_SHIFT 6 /* HP2R_SC_POS_EINT2 */
- #define ARIZONA_HP2R_SC_POS_EINT2_WIDTH 1 /* HP2R_SC_POS_EINT2 */
- #define ARIZONA_HP2L_SC_NEG_EINT2 0x0020 /* HP2L_SC_NEG_EINT2 */
- #define ARIZONA_HP2L_SC_NEG_EINT2_MASK 0x0020 /* HP2L_SC_NEG_EINT2 */
- #define ARIZONA_HP2L_SC_NEG_EINT2_SHIFT 5 /* HP2L_SC_NEG_EINT2 */
- #define ARIZONA_HP2L_SC_NEG_EINT2_WIDTH 1 /* HP2L_SC_NEG_EINT2 */
- #define ARIZONA_HP2L_SC_POS_EINT2 0x0010 /* HP2L_SC_POS_EINT2 */
- #define ARIZONA_HP2L_SC_POS_EINT2_MASK 0x0010 /* HP2L_SC_POS_EINT2 */
- #define ARIZONA_HP2L_SC_POS_EINT2_SHIFT 4 /* HP2L_SC_POS_EINT2 */
- #define ARIZONA_HP2L_SC_POS_EINT2_WIDTH 1 /* HP2L_SC_POS_EINT2 */
- #define ARIZONA_HP1R_SC_NEG_EINT2 0x0008 /* HP1R_SC_NEG_EINT2 */
- #define ARIZONA_HP1R_SC_NEG_EINT2_MASK 0x0008 /* HP1R_SC_NEG_EINT2 */
- #define ARIZONA_HP1R_SC_NEG_EINT2_SHIFT 3 /* HP1R_SC_NEG_EINT2 */
- #define ARIZONA_HP1R_SC_NEG_EINT2_WIDTH 1 /* HP1R_SC_NEG_EINT2 */
- #define ARIZONA_HP1R_SC_POS_EINT2 0x0004 /* HP1R_SC_POS_EINT2 */
- #define ARIZONA_HP1R_SC_POS_EINT2_MASK 0x0004 /* HP1R_SC_POS_EINT2 */
- #define ARIZONA_HP1R_SC_POS_EINT2_SHIFT 2 /* HP1R_SC_POS_EINT2 */
- #define ARIZONA_HP1R_SC_POS_EINT2_WIDTH 1 /* HP1R_SC_POS_EINT2 */
- #define ARIZONA_HP1L_SC_NEG_EINT2 0x0002 /* HP1L_SC_NEG_EINT2 */
- #define ARIZONA_HP1L_SC_NEG_EINT2_MASK 0x0002 /* HP1L_SC_NEG_EINT2 */
- #define ARIZONA_HP1L_SC_NEG_EINT2_SHIFT 1 /* HP1L_SC_NEG_EINT2 */
- #define ARIZONA_HP1L_SC_NEG_EINT2_WIDTH 1 /* HP1L_SC_NEG_EINT2 */
- #define ARIZONA_HP1L_SC_POS_EINT2 0x0001 /* HP1L_SC_POS_EINT2 */
- #define ARIZONA_HP1L_SC_POS_EINT2_MASK 0x0001 /* HP1L_SC_POS_EINT2 */
- #define ARIZONA_HP1L_SC_POS_EINT2_SHIFT 0 /* HP1L_SC_POS_EINT2 */
- #define ARIZONA_HP1L_SC_POS_EINT2_WIDTH 1 /* HP1L_SC_POS_EINT2 */
- /*
- * R3352 (0xD18) - IRQ2 Status 1 Mask
- */
- #define ARIZONA_IM_GP4_EINT2 0x0008 /* IM_GP4_EINT2 */
- #define ARIZONA_IM_GP4_EINT2_MASK 0x0008 /* IM_GP4_EINT2 */
- #define ARIZONA_IM_GP4_EINT2_SHIFT 3 /* IM_GP4_EINT2 */
- #define ARIZONA_IM_GP4_EINT2_WIDTH 1 /* IM_GP4_EINT2 */
- #define ARIZONA_IM_GP3_EINT2 0x0004 /* IM_GP3_EINT2 */
- #define ARIZONA_IM_GP3_EINT2_MASK 0x0004 /* IM_GP3_EINT2 */
- #define ARIZONA_IM_GP3_EINT2_SHIFT 2 /* IM_GP3_EINT2 */
- #define ARIZONA_IM_GP3_EINT2_WIDTH 1 /* IM_GP3_EINT2 */
- #define ARIZONA_IM_GP2_EINT2 0x0002 /* IM_GP2_EINT2 */
- #define ARIZONA_IM_GP2_EINT2_MASK 0x0002 /* IM_GP2_EINT2 */
- #define ARIZONA_IM_GP2_EINT2_SHIFT 1 /* IM_GP2_EINT2 */
- #define ARIZONA_IM_GP2_EINT2_WIDTH 1 /* IM_GP2_EINT2 */
- #define ARIZONA_IM_GP1_EINT2 0x0001 /* IM_GP1_EINT2 */
- #define ARIZONA_IM_GP1_EINT2_MASK 0x0001 /* IM_GP1_EINT2 */
- #define ARIZONA_IM_GP1_EINT2_SHIFT 0 /* IM_GP1_EINT2 */
- #define ARIZONA_IM_GP1_EINT2_WIDTH 1 /* IM_GP1_EINT2 */
- /*
- * R3353 (0xD19) - IRQ2 Status 2 Mask
- */
- #define ARIZONA_IM_DSP1_RAM_RDY_EINT2 0x0100 /* IM_DSP1_RAM_RDY_EINT2 */
- #define ARIZONA_IM_DSP1_RAM_RDY_EINT2_MASK 0x0100 /* IM_DSP1_RAM_RDY_EINT2 */
- #define ARIZONA_IM_DSP1_RAM_RDY_EINT2_SHIFT 8 /* IM_DSP1_RAM_RDY_EINT2 */
- #define ARIZONA_IM_DSP1_RAM_RDY_EINT2_WIDTH 1 /* IM_DSP1_RAM_RDY_EINT2 */
- #define ARIZONA_IM_DSP_IRQ2_EINT2 0x0002 /* IM_DSP_IRQ2_EINT2 */
- #define ARIZONA_IM_DSP_IRQ2_EINT2_MASK 0x0002 /* IM_DSP_IRQ2_EINT2 */
- #define ARIZONA_IM_DSP_IRQ2_EINT2_SHIFT 1 /* IM_DSP_IRQ2_EINT2 */
- #define ARIZONA_IM_DSP_IRQ2_EINT2_WIDTH 1 /* IM_DSP_IRQ2_EINT2 */
- #define ARIZONA_IM_DSP_IRQ1_EINT2 0x0001 /* IM_DSP_IRQ1_EINT2 */
- #define ARIZONA_IM_DSP_IRQ1_EINT2_MASK 0x0001 /* IM_DSP_IRQ1_EINT2 */
- #define ARIZONA_IM_DSP_IRQ1_EINT2_SHIFT 0 /* IM_DSP_IRQ1_EINT2 */
- #define ARIZONA_IM_DSP_IRQ1_EINT2_WIDTH 1 /* IM_DSP_IRQ1_EINT2 */
- /*
- * R3354 (0xD1A) - IRQ2 Status 3 Mask
- */
- #define ARIZONA_IM_SPK_OVERHEAT_WARN_EINT2 0x8000 /* IM_SPK_OVERHEAT_WARN_EINT2 */
- #define ARIZONA_IM_SPK_OVERHEAT_WARN_EINT2_MASK 0x8000 /* IM_SPK_OVERHEAT_WARN_EINT2 */
- #define ARIZONA_IM_SPK_OVERHEAT_WARN_EINT2_SHIFT 15 /* IM_SPK_OVERHEAT_WARN_EINT2 */
- #define ARIZONA_IM_SPK_OVERHEAT_WARN_EINT2_WIDTH 1 /* IM_SPK_OVERHEAT_WARN_EINT2 */
- #define ARIZONA_IM_SPK_OVERHEAT_EINT2 0x4000 /* IM_SPK_OVERHEAT_EINT2 */
- #define ARIZONA_IM_SPK_OVERHEAT_EINT2_MASK 0x4000 /* IM_SPK_OVERHEAT_EINT2 */
- #define ARIZONA_IM_SPK_OVERHEAT_EINT2_SHIFT 14 /* IM_SPK_OVERHEAT_EINT2 */
- #define ARIZONA_IM_SPK_OVERHEAT_EINT2_WIDTH 1 /* IM_SPK_OVERHEAT_EINT2 */
- #define ARIZONA_IM_HPDET_EINT2 0x2000 /* IM_HPDET_EINT2 */
- #define ARIZONA_IM_HPDET_EINT2_MASK 0x2000 /* IM_HPDET_EINT2 */
- #define ARIZONA_IM_HPDET_EINT2_SHIFT 13 /* IM_HPDET_EINT2 */
- #define ARIZONA_IM_HPDET_EINT2_WIDTH 1 /* IM_HPDET_EINT2 */
- #define ARIZONA_IM_MICDET_EINT2 0x1000 /* IM_MICDET_EINT2 */
- #define ARIZONA_IM_MICDET_EINT2_MASK 0x1000 /* IM_MICDET_EINT2 */
- #define ARIZONA_IM_MICDET_EINT2_SHIFT 12 /* IM_MICDET_EINT2 */
- #define ARIZONA_IM_MICDET_EINT2_WIDTH 1 /* IM_MICDET_EINT2 */
- #define ARIZONA_IM_WSEQ_DONE_EINT2 0x0800 /* IM_WSEQ_DONE_EINT2 */
- #define ARIZONA_IM_WSEQ_DONE_EINT2_MASK 0x0800 /* IM_WSEQ_DONE_EINT2 */
- #define ARIZONA_IM_WSEQ_DONE_EINT2_SHIFT 11 /* IM_WSEQ_DONE_EINT2 */
- #define ARIZONA_IM_WSEQ_DONE_EINT2_WIDTH 1 /* IM_WSEQ_DONE_EINT2 */
- #define ARIZONA_IM_DRC2_SIG_DET_EINT2 0x0400 /* IM_DRC2_SIG_DET_EINT2 */
- #define ARIZONA_IM_DRC2_SIG_DET_EINT2_MASK 0x0400 /* IM_DRC2_SIG_DET_EINT2 */
- #define ARIZONA_IM_DRC2_SIG_DET_EINT2_SHIFT 10 /* IM_DRC2_SIG_DET_EINT2 */
- #define ARIZONA_IM_DRC2_SIG_DET_EINT2_WIDTH 1 /* IM_DRC2_SIG_DET_EINT2 */
- #define ARIZONA_IM_DRC1_SIG_DET_EINT2 0x0200 /* IM_DRC1_SIG_DET_EINT2 */
- #define ARIZONA_IM_DRC1_SIG_DET_EINT2_MASK 0x0200 /* IM_DRC1_SIG_DET_EINT2 */
- #define ARIZONA_IM_DRC1_SIG_DET_EINT2_SHIFT 9 /* IM_DRC1_SIG_DET_EINT2 */
- #define ARIZONA_IM_DRC1_SIG_DET_EINT2_WIDTH 1 /* IM_DRC1_SIG_DET_EINT2 */
- #define ARIZONA_IM_ASRC2_LOCK_EINT2 0x0100 /* IM_ASRC2_LOCK_EINT2 */
- #define ARIZONA_IM_ASRC2_LOCK_EINT2_MASK 0x0100 /* IM_ASRC2_LOCK_EINT2 */
- #define ARIZONA_IM_ASRC2_LOCK_EINT2_SHIFT 8 /* IM_ASRC2_LOCK_EINT2 */
- #define ARIZONA_IM_ASRC2_LOCK_EINT2_WIDTH 1 /* IM_ASRC2_LOCK_EINT2 */
- #define ARIZONA_IM_ASRC1_LOCK_EINT2 0x0080 /* IM_ASRC1_LOCK_EINT2 */
- #define ARIZONA_IM_ASRC1_LOCK_EINT2_MASK 0x0080 /* IM_ASRC1_LOCK_EINT2 */
- #define ARIZONA_IM_ASRC1_LOCK_EINT2_SHIFT 7 /* IM_ASRC1_LOCK_EINT2 */
- #define ARIZONA_IM_ASRC1_LOCK_EINT2_WIDTH 1 /* IM_ASRC1_LOCK_EINT2 */
- #define ARIZONA_IM_UNDERCLOCKED_EINT2 0x0040 /* IM_UNDERCLOCKED_EINT2 */
- #define ARIZONA_IM_UNDERCLOCKED_EINT2_MASK 0x0040 /* IM_UNDERCLOCKED_EINT2 */
- #define ARIZONA_IM_UNDERCLOCKED_EINT2_SHIFT 6 /* IM_UNDERCLOCKED_EINT2 */
- #define ARIZONA_IM_UNDERCLOCKED_EINT2_WIDTH 1 /* IM_UNDERCLOCKED_EINT2 */
- #define ARIZONA_IM_OVERCLOCKED_EINT2 0x0020 /* IM_OVERCLOCKED_EINT2 */
- #define ARIZONA_IM_OVERCLOCKED_EINT2_MASK 0x0020 /* IM_OVERCLOCKED_EINT2 */
- #define ARIZONA_IM_OVERCLOCKED_EINT2_SHIFT 5 /* IM_OVERCLOCKED_EINT2 */
- #define ARIZONA_IM_OVERCLOCKED_EINT2_WIDTH 1 /* IM_OVERCLOCKED_EINT2 */
- #define ARIZONA_IM_FLL2_LOCK_EINT2 0x0008 /* IM_FLL2_LOCK_EINT2 */
- #define ARIZONA_IM_FLL2_LOCK_EINT2_MASK 0x0008 /* IM_FLL2_LOCK_EINT2 */
- #define ARIZONA_IM_FLL2_LOCK_EINT2_SHIFT 3 /* IM_FLL2_LOCK_EINT2 */
- #define ARIZONA_IM_FLL2_LOCK_EINT2_WIDTH 1 /* IM_FLL2_LOCK_EINT2 */
- #define ARIZONA_IM_FLL1_LOCK_EINT2 0x0004 /* IM_FLL1_LOCK_EINT2 */
- #define ARIZONA_IM_FLL1_LOCK_EINT2_MASK 0x0004 /* IM_FLL1_LOCK_EINT2 */
- #define ARIZONA_IM_FLL1_LOCK_EINT2_SHIFT 2 /* IM_FLL1_LOCK_EINT2 */
- #define ARIZONA_IM_FLL1_LOCK_EINT2_WIDTH 1 /* IM_FLL1_LOCK_EINT2 */
- #define ARIZONA_IM_CLKGEN_ERR_EINT2 0x0002 /* IM_CLKGEN_ERR_EINT2 */
- #define ARIZONA_IM_CLKGEN_ERR_EINT2_MASK 0x0002 /* IM_CLKGEN_ERR_EINT2 */
- #define ARIZONA_IM_CLKGEN_ERR_EINT2_SHIFT 1 /* IM_CLKGEN_ERR_EINT2 */
- #define ARIZONA_IM_CLKGEN_ERR_EINT2_WIDTH 1 /* IM_CLKGEN_ERR_EINT2 */
- #define ARIZONA_IM_CLKGEN_ERR_ASYNC_EINT2 0x0001 /* IM_CLKGEN_ERR_ASYNC_EINT2 */
- #define ARIZONA_IM_CLKGEN_ERR_ASYNC_EINT2_MASK 0x0001 /* IM_CLKGEN_ERR_ASYNC_EINT2 */
- #define ARIZONA_IM_CLKGEN_ERR_ASYNC_EINT2_SHIFT 0 /* IM_CLKGEN_ERR_ASYNC_EINT2 */
- #define ARIZONA_IM_CLKGEN_ERR_ASYNC_EINT2_WIDTH 1 /* IM_CLKGEN_ERR_ASYNC_EINT2 */
- /*
- * R3355 (0xD1B) - IRQ2 Status 4 Mask
- */
- #define ARIZONA_IM_ASRC_CFG_ERR_EINT2 0x8000 /* IM_ASRC_CFG_ERR_EINT2 */
- #define ARIZONA_IM_ASRC_CFG_ERR_EINT2_MASK 0x8000 /* IM_ASRC_CFG_ERR_EINT2 */
- #define ARIZONA_IM_ASRC_CFG_ERR_EINT2_SHIFT 15 /* IM_ASRC_CFG_ERR_EINT2 */
- #define ARIZONA_IM_ASRC_CFG_ERR_EINT2_WIDTH 1 /* IM_ASRC_CFG_ERR_EINT2 */
- #define ARIZONA_IM_AIF3_ERR_EINT2 0x4000 /* IM_AIF3_ERR_EINT2 */
- #define ARIZONA_IM_AIF3_ERR_EINT2_MASK 0x4000 /* IM_AIF3_ERR_EINT2 */
- #define ARIZONA_IM_AIF3_ERR_EINT2_SHIFT 14 /* IM_AIF3_ERR_EINT2 */
- #define ARIZONA_IM_AIF3_ERR_EINT2_WIDTH 1 /* IM_AIF3_ERR_EINT2 */
- #define ARIZONA_IM_AIF2_ERR_EINT2 0x2000 /* IM_AIF2_ERR_EINT2 */
- #define ARIZONA_IM_AIF2_ERR_EINT2_MASK 0x2000 /* IM_AIF2_ERR_EINT2 */
- #define ARIZONA_IM_AIF2_ERR_EINT2_SHIFT 13 /* IM_AIF2_ERR_EINT2 */
- #define ARIZONA_IM_AIF2_ERR_EINT2_WIDTH 1 /* IM_AIF2_ERR_EINT2 */
- #define ARIZONA_IM_AIF1_ERR_EINT2 0x1000 /* IM_AIF1_ERR_EINT2 */
- #define ARIZONA_IM_AIF1_ERR_EINT2_MASK 0x1000 /* IM_AIF1_ERR_EINT2 */
- #define ARIZONA_IM_AIF1_ERR_EINT2_SHIFT 12 /* IM_AIF1_ERR_EINT2 */
- #define ARIZONA_IM_AIF1_ERR_EINT2_WIDTH 1 /* IM_AIF1_ERR_EINT2 */
- #define ARIZONA_IM_CTRLIF_ERR_EINT2 0x0800 /* IM_CTRLIF_ERR_EINT2 */
- #define ARIZONA_IM_CTRLIF_ERR_EINT2_MASK 0x0800 /* IM_CTRLIF_ERR_EINT2 */
- #define ARIZONA_IM_CTRLIF_ERR_EINT2_SHIFT 11 /* IM_CTRLIF_ERR_EINT2 */
- #define ARIZONA_IM_CTRLIF_ERR_EINT2_WIDTH 1 /* IM_CTRLIF_ERR_EINT2 */
- #define ARIZONA_IM_MIXER_DROPPED_SAMPLE_EINT2 0x0400 /* IM_MIXER_DROPPED_SAMPLE_EINT2 */
- #define ARIZONA_IM_MIXER_DROPPED_SAMPLE_EINT2_MASK 0x0400 /* IM_MIXER_DROPPED_SAMPLE_EINT2 */
- #define ARIZONA_IM_MIXER_DROPPED_SAMPLE_EINT2_SHIFT 10 /* IM_MIXER_DROPPED_SAMPLE_EINT2 */
- #define ARIZONA_IM_MIXER_DROPPED_SAMPLE_EINT2_WIDTH 1 /* IM_MIXER_DROPPED_SAMPLE_EINT2 */
- #define ARIZONA_IM_ASYNC_CLK_ENA_LOW_EINT2 0x0200 /* IM_ASYNC_CLK_ENA_LOW_EINT2 */
- #define ARIZONA_IM_ASYNC_CLK_ENA_LOW_EINT2_MASK 0x0200 /* IM_ASYNC_CLK_ENA_LOW_EINT2 */
- #define ARIZONA_IM_ASYNC_CLK_ENA_LOW_EINT2_SHIFT 9 /* IM_ASYNC_CLK_ENA_LOW_EINT2 */
- #define ARIZONA_IM_ASYNC_CLK_ENA_LOW_EINT2_WIDTH 1 /* IM_ASYNC_CLK_ENA_LOW_EINT2 */
- #define ARIZONA_IM_SYSCLK_ENA_LOW_EINT2 0x0100 /* IM_SYSCLK_ENA_LOW_EINT2 */
- #define ARIZONA_IM_SYSCLK_ENA_LOW_EINT2_MASK 0x0100 /* IM_SYSCLK_ENA_LOW_EINT2 */
- #define ARIZONA_IM_SYSCLK_ENA_LOW_EINT2_SHIFT 8 /* IM_SYSCLK_ENA_LOW_EINT2 */
- #define ARIZONA_IM_SYSCLK_ENA_LOW_EINT2_WIDTH 1 /* IM_SYSCLK_ENA_LOW_EINT2 */
- #define ARIZONA_IM_ISRC1_CFG_ERR_EINT2 0x0080 /* IM_ISRC1_CFG_ERR_EINT2 */
- #define ARIZONA_IM_ISRC1_CFG_ERR_EINT2_MASK 0x0080 /* IM_ISRC1_CFG_ERR_EINT2 */
- #define ARIZONA_IM_ISRC1_CFG_ERR_EINT2_SHIFT 7 /* IM_ISRC1_CFG_ERR_EINT2 */
- #define ARIZONA_IM_ISRC1_CFG_ERR_EINT2_WIDTH 1 /* IM_ISRC1_CFG_ERR_EINT2 */
- #define ARIZONA_IM_ISRC2_CFG_ERR_EINT2 0x0040 /* IM_ISRC2_CFG_ERR_EINT2 */
- #define ARIZONA_IM_ISRC2_CFG_ERR_EINT2_MASK 0x0040 /* IM_ISRC2_CFG_ERR_EINT2 */
- #define ARIZONA_IM_ISRC2_CFG_ERR_EINT2_SHIFT 6 /* IM_ISRC2_CFG_ERR_EINT2 */
- #define ARIZONA_IM_ISRC2_CFG_ERR_EINT2_WIDTH 1 /* IM_ISRC2_CFG_ERR_EINT2 */
- #define ARIZONA_IM_HP3R_DONE_EINT2 0x0020 /* IM_HP3R_DONE_EINT2 */
- #define ARIZONA_IM_HP3R_DONE_EINT2_MASK 0x0020 /* IM_HP3R_DONE_EINT2 */
- #define ARIZONA_IM_HP3R_DONE_EINT2_SHIFT 5 /* IM_HP3R_DONE_EINT2 */
- #define ARIZONA_IM_HP3R_DONE_EINT2_WIDTH 1 /* IM_HP3R_DONE_EINT2 */
- #define ARIZONA_IM_HP3L_DONE_EINT2 0x0010 /* IM_HP3L_DONE_EINT2 */
- #define ARIZONA_IM_HP3L_DONE_EINT2_MASK 0x0010 /* IM_HP3L_DONE_EINT2 */
- #define ARIZONA_IM_HP3L_DONE_EINT2_SHIFT 4 /* IM_HP3L_DONE_EINT2 */
- #define ARIZONA_IM_HP3L_DONE_EINT2_WIDTH 1 /* IM_HP3L_DONE_EINT2 */
- #define ARIZONA_IM_HP2R_DONE_EINT2 0x0008 /* IM_HP2R_DONE_EINT2 */
- #define ARIZONA_IM_HP2R_DONE_EINT2_MASK 0x0008 /* IM_HP2R_DONE_EINT2 */
- #define ARIZONA_IM_HP2R_DONE_EINT2_SHIFT 3 /* IM_HP2R_DONE_EINT2 */
- #define ARIZONA_IM_HP2R_DONE_EINT2_WIDTH 1 /* IM_HP2R_DONE_EINT2 */
- #define ARIZONA_IM_HP2L_DONE_EINT2 0x0004 /* IM_HP2L_DONE_EINT2 */
- #define ARIZONA_IM_HP2L_DONE_EINT2_MASK 0x0004 /* IM_HP2L_DONE_EINT2 */
- #define ARIZONA_IM_HP2L_DONE_EINT2_SHIFT 2 /* IM_HP2L_DONE_EINT2 */
- #define ARIZONA_IM_HP2L_DONE_EINT2_WIDTH 1 /* IM_HP2L_DONE_EINT2 */
- #define ARIZONA_IM_HP1R_DONE_EINT2 0x0002 /* IM_HP1R_DONE_EINT2 */
- #define ARIZONA_IM_HP1R_DONE_EINT2_MASK 0x0002 /* IM_HP1R_DONE_EINT2 */
- #define ARIZONA_IM_HP1R_DONE_EINT2_SHIFT 1 /* IM_HP1R_DONE_EINT2 */
- #define ARIZONA_IM_HP1R_DONE_EINT2_WIDTH 1 /* IM_HP1R_DONE_EINT2 */
- #define ARIZONA_IM_HP1L_DONE_EINT2 0x0001 /* IM_HP1L_DONE_EINT2 */
- #define ARIZONA_IM_HP1L_DONE_EINT2_MASK 0x0001 /* IM_HP1L_DONE_EINT2 */
- #define ARIZONA_IM_HP1L_DONE_EINT2_SHIFT 0 /* IM_HP1L_DONE_EINT2 */
- #define ARIZONA_IM_HP1L_DONE_EINT2_WIDTH 1 /* IM_HP1L_DONE_EINT2 */
- /*
- * R3355 (0xD1B) - IRQ2 Status 4 Mask (Alternate layout)
- *
- * Alternate layout used on later devices, note only fields that have moved
- * are specified
- */
- #define ARIZONA_V2_IM_AIF3_ERR_EINT2 0x8000 /* IM_AIF3_ERR_EINT2 */
- #define ARIZONA_V2_IM_AIF3_ERR_EINT2_MASK 0x8000 /* IM_AIF3_ERR_EINT2 */
- #define ARIZONA_V2_IM_AIF3_ERR_EINT2_SHIFT 15 /* IM_AIF3_ERR_EINT2 */
- #define ARIZONA_V2_IM_AIF3_ERR_EINT2_WIDTH 1 /* IM_AIF3_ERR_EINT2 */
- #define ARIZONA_V2_IM_AIF2_ERR_EINT2 0x4000 /* IM_AIF2_ERR_EINT2 */
- #define ARIZONA_V2_IM_AIF2_ERR_EINT2_MASK 0x4000 /* IM_AIF2_ERR_EINT2 */
- #define ARIZONA_V2_IM_AIF2_ERR_EINT2_SHIFT 14 /* IM_AIF2_ERR_EINT2 */
- #define ARIZONA_V2_IM_AIF2_ERR_EINT2_WIDTH 1 /* IM_AIF2_ERR_EINT2 */
- #define ARIZONA_V2_IM_AIF1_ERR_EINT2 0x2000 /* IM_AIF1_ERR_EINT2 */
- #define ARIZONA_V2_IM_AIF1_ERR_EINT2_MASK 0x2000 /* IM_AIF1_ERR_EINT2 */
- #define ARIZONA_V2_IM_AIF1_ERR_EINT2_SHIFT 13 /* IM_AIF1_ERR_EINT2 */
- #define ARIZONA_V2_IM_AIF1_ERR_EINT2_WIDTH 1 /* IM_AIF1_ERR_EINT2 */
- #define ARIZONA_V2_IM_CTRLIF_ERR_EINT2 0x1000 /* IM_CTRLIF_ERR_EINT2 */
- #define ARIZONA_V2_IM_CTRLIF_ERR_EINT2_MASK 0x1000 /* IM_CTRLIF_ERR_EINT2 */
- #define ARIZONA_V2_IM_CTRLIF_ERR_EINT2_SHIFT 12 /* IM_CTRLIF_ERR_EINT2 */
- #define ARIZONA_V2_IM_CTRLIF_ERR_EINT2_WIDTH 1 /* IM_CTRLIF_ERR_EINT2 */
- #define ARIZONA_V2_IM_MIXER_DROPPED_SAMPLE_EINT2 0x0800 /* IM_MIXER_DROPPED_SAMPLE_EINT2 */
- #define ARIZONA_V2_IM_MIXER_DROPPED_SAMPLE_EINT2_MASK 0x0800 /* IM_MIXER_DROPPED_SAMPLE_EINT2 */
- #define ARIZONA_V2_IM_MIXER_DROPPED_SAMPLE_EINT2_SHIFT 11 /* IM_MIXER_DROPPED_SAMPLE_EINT2 */
- #define ARIZONA_V2_IM_MIXER_DROPPED_SAMPLE_EINT2_WIDTH 1 /* IM_MIXER_DROPPED_SAMPLE_EINT2 */
- #define ARIZONA_V2_IM_ASYNC_CLK_ENA_LOW_EINT2 0x0400 /* IM_ASYNC_CLK_ENA_LOW_EINT2 */
- #define ARIZONA_V2_IM_ASYNC_CLK_ENA_LOW_EINT2_MASK 0x0400 /* IM_ASYNC_CLK_ENA_LOW_EINT2 */
- #define ARIZONA_V2_IM_ASYNC_CLK_ENA_LOW_EINT2_SHIFT 10 /* IM_ASYNC_CLK_ENA_LOW_EINT2 */
- #define ARIZONA_V2_IM_ASYNC_CLK_ENA_LOW_EINT2_WIDTH 1 /* IM_ASYNC_CLK_ENA_LOW_EINT2 */
- #define ARIZONA_V2_IM_SYSCLK_ENA_LOW_EINT2 0x0200 /* IM_SYSCLK_ENA_LOW_EINT2 */
- #define ARIZONA_V2_IM_SYSCLK_ENA_LOW_EINT2_MASK 0x0200 /* IM_SYSCLK_ENA_LOW_EINT2 */
- #define ARIZONA_V2_IM_SYSCLK_ENA_LOW_EINT2_SHIFT 9 /* IM_SYSCLK_ENA_LOW_EINT2 */
- #define ARIZONA_V2_IM_SYSCLK_ENA_LOW_EINT2_WIDTH 1 /* IM_SYSCLK_ENA_LOW_EINT2 */
- #define ARIZONA_V2_IM_ISRC1_CFG_ERR_EINT2 0x0100 /* IM_ISRC1_CFG_ERR_EINT2 */
- #define ARIZONA_V2_IM_ISRC1_CFG_ERR_EINT2_MASK 0x0100 /* IM_ISRC1_CFG_ERR_EINT2 */
- #define ARIZONA_V2_IM_ISRC1_CFG_ERR_EINT2_SHIFT 8 /* IM_ISRC1_CFG_ERR_EINT2 */
- #define ARIZONA_V2_IM_ISRC1_CFG_ERR_EINT2_WIDTH 1 /* IM_ISRC1_CFG_ERR_EINT2 */
- #define ARIZONA_V2_IM_ISRC2_CFG_ERR_EINT2 0x0080 /* IM_ISRC2_CFG_ERR_EINT2 */
- #define ARIZONA_V2_IM_ISRC2_CFG_ERR_EINT2_MASK 0x0080 /* IM_ISRC2_CFG_ERR_EINT2 */
- #define ARIZONA_V2_IM_ISRC2_CFG_ERR_EINT2_SHIFT 7 /* IM_ISRC2_CFG_ERR_EINT2 */
- #define ARIZONA_V2_IM_ISRC2_CFG_ERR_EINT2_WIDTH 1 /* IM_ISRC2_CFG_ERR_EINT2 */
- #define ARIZONA_V2_IM_ISRC3_CFG_ERR_EINT2 0x0040 /* IM_ISRC3_CFG_ERR_EINT2 */
- #define ARIZONA_V2_IM_ISRC3_CFG_ERR_EINT2_MASK 0x0040 /* IM_ISRC3_CFG_ERR_EINT2 */
- #define ARIZONA_V2_IM_ISRC3_CFG_ERR_EINT2_SHIFT 6 /* IM_ISRC3_CFG_ERR_EINT2 */
- #define ARIZONA_V2_IM_ISRC3_CFG_ERR_EINT2_WIDTH 1 /* IM_ISRC3_CFG_ERR_EINT2 */
- /*
- * R3356 (0xD1C) - IRQ2 Status 5 Mask
- */
- #define ARIZONA_IM_BOOT_DONE_EINT2 0x0100 /* IM_BOOT_DONE_EINT2 */
- #define ARIZONA_IM_BOOT_DONE_EINT2_MASK 0x0100 /* IM_BOOT_DONE_EINT2 */
- #define ARIZONA_IM_BOOT_DONE_EINT2_SHIFT 8 /* IM_BOOT_DONE_EINT2 */
- #define ARIZONA_IM_BOOT_DONE_EINT2_WIDTH 1 /* IM_BOOT_DONE_EINT2 */
- #define ARIZONA_IM_DCS_DAC_DONE_EINT2 0x0080 /* IM_DCS_DAC_DONE_EINT2 */
- #define ARIZONA_IM_DCS_DAC_DONE_EINT2_MASK 0x0080 /* IM_DCS_DAC_DONE_EINT2 */
- #define ARIZONA_IM_DCS_DAC_DONE_EINT2_SHIFT 7 /* IM_DCS_DAC_DONE_EINT2 */
- #define ARIZONA_IM_DCS_DAC_DONE_EINT2_WIDTH 1 /* IM_DCS_DAC_DONE_EINT2 */
- #define ARIZONA_IM_DCS_HP_DONE_EINT2 0x0040 /* IM_DCS_HP_DONE_EINT2 */
- #define ARIZONA_IM_DCS_HP_DONE_EINT2_MASK 0x0040 /* IM_DCS_HP_DONE_EINT2 */
- #define ARIZONA_IM_DCS_HP_DONE_EINT2_SHIFT 6 /* IM_DCS_HP_DONE_EINT2 */
- #define ARIZONA_IM_DCS_HP_DONE_EINT2_WIDTH 1 /* IM_DCS_HP_DONE_EINT2 */
- #define ARIZONA_IM_FLL2_CLOCK_OK_EINT2 0x0002 /* IM_FLL2_CLOCK_OK_EINT2 */
- #define ARIZONA_IM_FLL2_CLOCK_OK_EINT2_MASK 0x0002 /* IM_FLL2_CLOCK_OK_EINT2 */
- #define ARIZONA_IM_FLL2_CLOCK_OK_EINT2_SHIFT 1 /* IM_FLL2_CLOCK_OK_EINT2 */
- #define ARIZONA_IM_FLL2_CLOCK_OK_EINT2_WIDTH 1 /* IM_FLL2_CLOCK_OK_EINT2 */
- #define ARIZONA_IM_FLL1_CLOCK_OK_EINT2 0x0001 /* IM_FLL1_CLOCK_OK_EINT2 */
- #define ARIZONA_IM_FLL1_CLOCK_OK_EINT2_MASK 0x0001 /* IM_FLL1_CLOCK_OK_EINT2 */
- #define ARIZONA_IM_FLL1_CLOCK_OK_EINT2_SHIFT 0 /* IM_FLL1_CLOCK_OK_EINT2 */
- #define ARIZONA_IM_FLL1_CLOCK_OK_EINT2_WIDTH 1 /* IM_FLL1_CLOCK_OK_EINT2 */
- /*
- * R3340 (0xD0C) - Interrupt Status 5 Mask (Alternate layout)
- *
- * Alternate layout used on later devices, note only fields that have moved
- * are specified
- */
- #define ARIZONA_V2_IM_ASRC_CFG_ERR_EINT2 0x0008 /* IM_ASRC_CFG_ERR_EINT2 */
- #define ARIZONA_V2_IM_ASRC_CFG_ERR_EINT2_MASK 0x0008 /* IM_ASRC_CFG_ERR_EINT2 */
- #define ARIZONA_V2_IM_ASRC_CFG_ERR_EINT2_SHIFT 3 /* IM_ASRC_CFG_ERR_EINT2 */
- #define ARIZONA_V2_IM_ASRC_CFG_ERR_EINT2_WIDTH 1 /* IM_ASRC_CFG_ERR_EINT2 */
- /*
- * R3357 (0xD1D) - IRQ2 Status 6 Mask
- */
- #define ARIZONA_IM_DSP_SHARED_WR_COLL_EINT2 0x8000 /* IM_DSP_SHARED_WR_COLL_EINT2 */
- #define ARIZONA_IM_DSP_SHARED_WR_COLL_EINT2_MASK 0x8000 /* IM_DSP_SHARED_WR_COLL_EINT2 */
- #define ARIZONA_IM_DSP_SHARED_WR_COLL_EINT2_SHIFT 15 /* IM_DSP_SHARED_WR_COLL_EINT2 */
- #define ARIZONA_IM_DSP_SHARED_WR_COLL_EINT2_WIDTH 1 /* IM_DSP_SHARED_WR_COLL_EINT2 */
- #define ARIZONA_IM_SPK_SHUTDOWN_EINT2 0x4000 /* IM_SPK_SHUTDOWN_EINT2 */
- #define ARIZONA_IM_SPK_SHUTDOWN_EINT2_MASK 0x4000 /* IM_SPK_SHUTDOWN_EINT2 */
- #define ARIZONA_IM_SPK_SHUTDOWN_EINT2_SHIFT 14 /* IM_SPK_SHUTDOWN_EINT2 */
- #define ARIZONA_IM_SPK_SHUTDOWN_EINT2_WIDTH 1 /* IM_SPK_SHUTDOWN_EINT2 */
- #define ARIZONA_IM_SPK1R_SHORT_EINT2 0x2000 /* IM_SPK1R_SHORT_EINT2 */
- #define ARIZONA_IM_SPK1R_SHORT_EINT2_MASK 0x2000 /* IM_SPK1R_SHORT_EINT2 */
- #define ARIZONA_IM_SPK1R_SHORT_EINT2_SHIFT 13 /* IM_SPK1R_SHORT_EINT2 */
- #define ARIZONA_IM_SPK1R_SHORT_EINT2_WIDTH 1 /* IM_SPK1R_SHORT_EINT2 */
- #define ARIZONA_IM_SPK1L_SHORT_EINT2 0x1000 /* IM_SPK1L_SHORT_EINT2 */
- #define ARIZONA_IM_SPK1L_SHORT_EINT2_MASK 0x1000 /* IM_SPK1L_SHORT_EINT2 */
- #define ARIZONA_IM_SPK1L_SHORT_EINT2_SHIFT 12 /* IM_SPK1L_SHORT_EINT2 */
- #define ARIZONA_IM_SPK1L_SHORT_EINT2_WIDTH 1 /* IM_SPK1L_SHORT_EINT2 */
- #define ARIZONA_IM_HP3R_SC_NEG_EINT2 0x0800 /* IM_HP3R_SC_NEG_EINT2 */
- #define ARIZONA_IM_HP3R_SC_NEG_EINT2_MASK 0x0800 /* IM_HP3R_SC_NEG_EINT2 */
- #define ARIZONA_IM_HP3R_SC_NEG_EINT2_SHIFT 11 /* IM_HP3R_SC_NEG_EINT2 */
- #define ARIZONA_IM_HP3R_SC_NEG_EINT2_WIDTH 1 /* IM_HP3R_SC_NEG_EINT2 */
- #define ARIZONA_IM_HP3R_SC_POS_EINT2 0x0400 /* IM_HP3R_SC_POS_EINT2 */
- #define ARIZONA_IM_HP3R_SC_POS_EINT2_MASK 0x0400 /* IM_HP3R_SC_POS_EINT2 */
- #define ARIZONA_IM_HP3R_SC_POS_EINT2_SHIFT 10 /* IM_HP3R_SC_POS_EINT2 */
- #define ARIZONA_IM_HP3R_SC_POS_EINT2_WIDTH 1 /* IM_HP3R_SC_POS_EINT2 */
- #define ARIZONA_IM_HP3L_SC_NEG_EINT2 0x0200 /* IM_HP3L_SC_NEG_EINT2 */
- #define ARIZONA_IM_HP3L_SC_NEG_EINT2_MASK 0x0200 /* IM_HP3L_SC_NEG_EINT2 */
- #define ARIZONA_IM_HP3L_SC_NEG_EINT2_SHIFT 9 /* IM_HP3L_SC_NEG_EINT2 */
- #define ARIZONA_IM_HP3L_SC_NEG_EINT2_WIDTH 1 /* IM_HP3L_SC_NEG_EINT2 */
- #define ARIZONA_IM_HP3L_SC_POS_EINT2 0x0100 /* IM_HP3L_SC_POS_EINT2 */
- #define ARIZONA_IM_HP3L_SC_POS_EINT2_MASK 0x0100 /* IM_HP3L_SC_POS_EINT2 */
- #define ARIZONA_IM_HP3L_SC_POS_EINT2_SHIFT 8 /* IM_HP3L_SC_POS_EINT2 */
- #define ARIZONA_IM_HP3L_SC_POS_EINT2_WIDTH 1 /* IM_HP3L_SC_POS_EINT2 */
- #define ARIZONA_IM_HP2R_SC_NEG_EINT2 0x0080 /* IM_HP2R_SC_NEG_EINT2 */
- #define ARIZONA_IM_HP2R_SC_NEG_EINT2_MASK 0x0080 /* IM_HP2R_SC_NEG_EINT2 */
- #define ARIZONA_IM_HP2R_SC_NEG_EINT2_SHIFT 7 /* IM_HP2R_SC_NEG_EINT2 */
- #define ARIZONA_IM_HP2R_SC_NEG_EINT2_WIDTH 1 /* IM_HP2R_SC_NEG_EINT2 */
- #define ARIZONA_IM_HP2R_SC_POS_EINT2 0x0040 /* IM_HP2R_SC_POS_EINT2 */
- #define ARIZONA_IM_HP2R_SC_POS_EINT2_MASK 0x0040 /* IM_HP2R_SC_POS_EINT2 */
- #define ARIZONA_IM_HP2R_SC_POS_EINT2_SHIFT 6 /* IM_HP2R_SC_POS_EINT2 */
- #define ARIZONA_IM_HP2R_SC_POS_EINT2_WIDTH 1 /* IM_HP2R_SC_POS_EINT2 */
- #define ARIZONA_IM_HP2L_SC_NEG_EINT2 0x0020 /* IM_HP2L_SC_NEG_EINT2 */
- #define ARIZONA_IM_HP2L_SC_NEG_EINT2_MASK 0x0020 /* IM_HP2L_SC_NEG_EINT2 */
- #define ARIZONA_IM_HP2L_SC_NEG_EINT2_SHIFT 5 /* IM_HP2L_SC_NEG_EINT2 */
- #define ARIZONA_IM_HP2L_SC_NEG_EINT2_WIDTH 1 /* IM_HP2L_SC_NEG_EINT2 */
- #define ARIZONA_IM_HP2L_SC_POS_EINT2 0x0010 /* IM_HP2L_SC_POS_EINT2 */
- #define ARIZONA_IM_HP2L_SC_POS_EINT2_MASK 0x0010 /* IM_HP2L_SC_POS_EINT2 */
- #define ARIZONA_IM_HP2L_SC_POS_EINT2_SHIFT 4 /* IM_HP2L_SC_POS_EINT2 */
- #define ARIZONA_IM_HP2L_SC_POS_EINT2_WIDTH 1 /* IM_HP2L_SC_POS_EINT2 */
- #define ARIZONA_IM_HP1R_SC_NEG_EINT2 0x0008 /* IM_HP1R_SC_NEG_EINT2 */
- #define ARIZONA_IM_HP1R_SC_NEG_EINT2_MASK 0x0008 /* IM_HP1R_SC_NEG_EINT2 */
- #define ARIZONA_IM_HP1R_SC_NEG_EINT2_SHIFT 3 /* IM_HP1R_SC_NEG_EINT2 */
- #define ARIZONA_IM_HP1R_SC_NEG_EINT2_WIDTH 1 /* IM_HP1R_SC_NEG_EINT2 */
- #define ARIZONA_IM_HP1R_SC_POS_EINT2 0x0004 /* IM_HP1R_SC_POS_EINT2 */
- #define ARIZONA_IM_HP1R_SC_POS_EINT2_MASK 0x0004 /* IM_HP1R_SC_POS_EINT2 */
- #define ARIZONA_IM_HP1R_SC_POS_EINT2_SHIFT 2 /* IM_HP1R_SC_POS_EINT2 */
- #define ARIZONA_IM_HP1R_SC_POS_EINT2_WIDTH 1 /* IM_HP1R_SC_POS_EINT2 */
- #define ARIZONA_IM_HP1L_SC_NEG_EINT2 0x0002 /* IM_HP1L_SC_NEG_EINT2 */
- #define ARIZONA_IM_HP1L_SC_NEG_EINT2_MASK 0x0002 /* IM_HP1L_SC_NEG_EINT2 */
- #define ARIZONA_IM_HP1L_SC_NEG_EINT2_SHIFT 1 /* IM_HP1L_SC_NEG_EINT2 */
- #define ARIZONA_IM_HP1L_SC_NEG_EINT2_WIDTH 1 /* IM_HP1L_SC_NEG_EINT2 */
- #define ARIZONA_IM_HP1L_SC_POS_EINT2 0x0001 /* IM_HP1L_SC_POS_EINT2 */
- #define ARIZONA_IM_HP1L_SC_POS_EINT2_MASK 0x0001 /* IM_HP1L_SC_POS_EINT2 */
- #define ARIZONA_IM_HP1L_SC_POS_EINT2_SHIFT 0 /* IM_HP1L_SC_POS_EINT2 */
- #define ARIZONA_IM_HP1L_SC_POS_EINT2_WIDTH 1 /* IM_HP1L_SC_POS_EINT2 */
- /*
- * R3359 (0xD1F) - IRQ2 Control
- */
- #define ARIZONA_IM_IRQ2 0x0001 /* IM_IRQ2 */
- #define ARIZONA_IM_IRQ2_MASK 0x0001 /* IM_IRQ2 */
- #define ARIZONA_IM_IRQ2_SHIFT 0 /* IM_IRQ2 */
- #define ARIZONA_IM_IRQ2_WIDTH 1 /* IM_IRQ2 */
- /*
- * R3360 (0xD20) - Interrupt Raw Status 2
- */
- #define ARIZONA_DSP1_RAM_RDY_STS 0x0100 /* DSP1_RAM_RDY_STS */
- #define ARIZONA_DSP1_RAM_RDY_STS_MASK 0x0100 /* DSP1_RAM_RDY_STS */
- #define ARIZONA_DSP1_RAM_RDY_STS_SHIFT 8 /* DSP1_RAM_RDY_STS */
- #define ARIZONA_DSP1_RAM_RDY_STS_WIDTH 1 /* DSP1_RAM_RDY_STS */
- #define ARIZONA_DSP_IRQ2_STS 0x0002 /* DSP_IRQ2_STS */
- #define ARIZONA_DSP_IRQ2_STS_MASK 0x0002 /* DSP_IRQ2_STS */
- #define ARIZONA_DSP_IRQ2_STS_SHIFT 1 /* DSP_IRQ2_STS */
- #define ARIZONA_DSP_IRQ2_STS_WIDTH 1 /* DSP_IRQ2_STS */
- #define ARIZONA_DSP_IRQ1_STS 0x0001 /* DSP_IRQ1_STS */
- #define ARIZONA_DSP_IRQ1_STS_MASK 0x0001 /* DSP_IRQ1_STS */
- #define ARIZONA_DSP_IRQ1_STS_SHIFT 0 /* DSP_IRQ1_STS */
- #define ARIZONA_DSP_IRQ1_STS_WIDTH 1 /* DSP_IRQ1_STS */
- /*
- * R3361 (0xD21) - Interrupt Raw Status 3
- */
- #define ARIZONA_SPK_OVERHEAT_WARN_STS 0x8000 /* SPK_OVERHEAT_WARN_STS */
- #define ARIZONA_SPK_OVERHEAT_WARN_STS_MASK 0x8000 /* SPK_OVERHEAT_WARN_STS */
- #define ARIZONA_SPK_OVERHEAT_WARN_STS_SHIFT 15 /* SPK_OVERHEAT_WARN_STS */
- #define ARIZONA_SPK_OVERHEAT_WARN_STS_WIDTH 1 /* SPK_OVERHEAT_WARN_STS */
- #define ARIZONA_SPK_OVERHEAT_STS 0x4000 /* SPK_OVERHEAT_STS */
- #define ARIZONA_SPK_OVERHEAT_STS_MASK 0x4000 /* SPK_OVERHEAT_STS */
- #define ARIZONA_SPK_OVERHEAT_STS_SHIFT 14 /* SPK_OVERHEAT_STS */
- #define ARIZONA_SPK_OVERHEAT_STS_WIDTH 1 /* SPK_OVERHEAT_STS */
- #define ARIZONA_HPDET_STS 0x2000 /* HPDET_STS */
- #define ARIZONA_HPDET_STS_MASK 0x2000 /* HPDET_STS */
- #define ARIZONA_HPDET_STS_SHIFT 13 /* HPDET_STS */
- #define ARIZONA_HPDET_STS_WIDTH 1 /* HPDET_STS */
- #define ARIZONA_MICDET_STS 0x1000 /* MICDET_STS */
- #define ARIZONA_MICDET_STS_MASK 0x1000 /* MICDET_STS */
- #define ARIZONA_MICDET_STS_SHIFT 12 /* MICDET_STS */
- #define ARIZONA_MICDET_STS_WIDTH 1 /* MICDET_STS */
- #define ARIZONA_WSEQ_DONE_STS 0x0800 /* WSEQ_DONE_STS */
- #define ARIZONA_WSEQ_DONE_STS_MASK 0x0800 /* WSEQ_DONE_STS */
- #define ARIZONA_WSEQ_DONE_STS_SHIFT 11 /* WSEQ_DONE_STS */
- #define ARIZONA_WSEQ_DONE_STS_WIDTH 1 /* WSEQ_DONE_STS */
- #define ARIZONA_DRC2_SIG_DET_STS 0x0400 /* DRC2_SIG_DET_STS */
- #define ARIZONA_DRC2_SIG_DET_STS_MASK 0x0400 /* DRC2_SIG_DET_STS */
- #define ARIZONA_DRC2_SIG_DET_STS_SHIFT 10 /* DRC2_SIG_DET_STS */
- #define ARIZONA_DRC2_SIG_DET_STS_WIDTH 1 /* DRC2_SIG_DET_STS */
- #define ARIZONA_DRC1_SIG_DET_STS 0x0200 /* DRC1_SIG_DET_STS */
- #define ARIZONA_DRC1_SIG_DET_STS_MASK 0x0200 /* DRC1_SIG_DET_STS */
- #define ARIZONA_DRC1_SIG_DET_STS_SHIFT 9 /* DRC1_SIG_DET_STS */
- #define ARIZONA_DRC1_SIG_DET_STS_WIDTH 1 /* DRC1_SIG_DET_STS */
- #define ARIZONA_ASRC2_LOCK_STS 0x0100 /* ASRC2_LOCK_STS */
- #define ARIZONA_ASRC2_LOCK_STS_MASK 0x0100 /* ASRC2_LOCK_STS */
- #define ARIZONA_ASRC2_LOCK_STS_SHIFT 8 /* ASRC2_LOCK_STS */
- #define ARIZONA_ASRC2_LOCK_STS_WIDTH 1 /* ASRC2_LOCK_STS */
- #define ARIZONA_ASRC1_LOCK_STS 0x0080 /* ASRC1_LOCK_STS */
- #define ARIZONA_ASRC1_LOCK_STS_MASK 0x0080 /* ASRC1_LOCK_STS */
- #define ARIZONA_ASRC1_LOCK_STS_SHIFT 7 /* ASRC1_LOCK_STS */
- #define ARIZONA_ASRC1_LOCK_STS_WIDTH 1 /* ASRC1_LOCK_STS */
- #define ARIZONA_UNDERCLOCKED_STS 0x0040 /* UNDERCLOCKED_STS */
- #define ARIZONA_UNDERCLOCKED_STS_MASK 0x0040 /* UNDERCLOCKED_STS */
- #define ARIZONA_UNDERCLOCKED_STS_SHIFT 6 /* UNDERCLOCKED_STS */
- #define ARIZONA_UNDERCLOCKED_STS_WIDTH 1 /* UNDERCLOCKED_STS */
- #define ARIZONA_OVERCLOCKED_STS 0x0020 /* OVERCLOCKED_STS */
- #define ARIZONA_OVERCLOCKED_STS_MASK 0x0020 /* OVERCLOCKED_STS */
- #define ARIZONA_OVERCLOCKED_STS_SHIFT 5 /* OVERCLOCKED_STS */
- #define ARIZONA_OVERCLOCKED_STS_WIDTH 1 /* OVERCLOCKED_STS */
- #define ARIZONA_FLL2_LOCK_STS 0x0008 /* FLL2_LOCK_STS */
- #define ARIZONA_FLL2_LOCK_STS_MASK 0x0008 /* FLL2_LOCK_STS */
- #define ARIZONA_FLL2_LOCK_STS_SHIFT 3 /* FLL2_LOCK_STS */
- #define ARIZONA_FLL2_LOCK_STS_WIDTH 1 /* FLL2_LOCK_STS */
- #define ARIZONA_FLL1_LOCK_STS 0x0004 /* FLL1_LOCK_STS */
- #define ARIZONA_FLL1_LOCK_STS_MASK 0x0004 /* FLL1_LOCK_STS */
- #define ARIZONA_FLL1_LOCK_STS_SHIFT 2 /* FLL1_LOCK_STS */
- #define ARIZONA_FLL1_LOCK_STS_WIDTH 1 /* FLL1_LOCK_STS */
- #define ARIZONA_CLKGEN_ERR_STS 0x0002 /* CLKGEN_ERR_STS */
- #define ARIZONA_CLKGEN_ERR_STS_MASK 0x0002 /* CLKGEN_ERR_STS */
- #define ARIZONA_CLKGEN_ERR_STS_SHIFT 1 /* CLKGEN_ERR_STS */
- #define ARIZONA_CLKGEN_ERR_STS_WIDTH 1 /* CLKGEN_ERR_STS */
- #define ARIZONA_CLKGEN_ERR_ASYNC_STS 0x0001 /* CLKGEN_ERR_ASYNC_STS */
- #define ARIZONA_CLKGEN_ERR_ASYNC_STS_MASK 0x0001 /* CLKGEN_ERR_ASYNC_STS */
- #define ARIZONA_CLKGEN_ERR_ASYNC_STS_SHIFT 0 /* CLKGEN_ERR_ASYNC_STS */
- #define ARIZONA_CLKGEN_ERR_ASYNC_STS_WIDTH 1 /* CLKGEN_ERR_ASYNC_STS */
- /*
- * R3362 (0xD22) - Interrupt Raw Status 4
- */
- #define ARIZONA_ASRC_CFG_ERR_STS 0x8000 /* ASRC_CFG_ERR_STS */
- #define ARIZONA_ASRC_CFG_ERR_STS_MASK 0x8000 /* ASRC_CFG_ERR_STS */
- #define ARIZONA_ASRC_CFG_ERR_STS_SHIFT 15 /* ASRC_CFG_ERR_STS */
- #define ARIZONA_ASRC_CFG_ERR_STS_WIDTH 1 /* ASRC_CFG_ERR_STS */
- #define ARIZONA_AIF3_ERR_STS 0x4000 /* AIF3_ERR_STS */
- #define ARIZONA_AIF3_ERR_STS_MASK 0x4000 /* AIF3_ERR_STS */
- #define ARIZONA_AIF3_ERR_STS_SHIFT 14 /* AIF3_ERR_STS */
- #define ARIZONA_AIF3_ERR_STS_WIDTH 1 /* AIF3_ERR_STS */
- #define ARIZONA_AIF2_ERR_STS 0x2000 /* AIF2_ERR_STS */
- #define ARIZONA_AIF2_ERR_STS_MASK 0x2000 /* AIF2_ERR_STS */
- #define ARIZONA_AIF2_ERR_STS_SHIFT 13 /* AIF2_ERR_STS */
- #define ARIZONA_AIF2_ERR_STS_WIDTH 1 /* AIF2_ERR_STS */
- #define ARIZONA_AIF1_ERR_STS 0x1000 /* AIF1_ERR_STS */
- #define ARIZONA_AIF1_ERR_STS_MASK 0x1000 /* AIF1_ERR_STS */
- #define ARIZONA_AIF1_ERR_STS_SHIFT 12 /* AIF1_ERR_STS */
- #define ARIZONA_AIF1_ERR_STS_WIDTH 1 /* AIF1_ERR_STS */
- #define ARIZONA_CTRLIF_ERR_STS 0x0800 /* CTRLIF_ERR_STS */
- #define ARIZONA_CTRLIF_ERR_STS_MASK 0x0800 /* CTRLIF_ERR_STS */
- #define ARIZONA_CTRLIF_ERR_STS_SHIFT 11 /* CTRLIF_ERR_STS */
- #define ARIZONA_CTRLIF_ERR_STS_WIDTH 1 /* CTRLIF_ERR_STS */
- #define ARIZONA_MIXER_DROPPED_SAMPLE_STS 0x0400 /* MIXER_DROPPED_SAMPLE_STS */
- #define ARIZONA_MIXER_DROPPED_SAMPLE_STS_MASK 0x0400 /* MIXER_DROPPED_SAMPLE_STS */
- #define ARIZONA_MIXER_DROPPED_SAMPLE_STS_SHIFT 10 /* MIXER_DROPPED_SAMPLE_STS */
- #define ARIZONA_MIXER_DROPPED_SAMPLE_STS_WIDTH 1 /* MIXER_DROPPED_SAMPLE_STS */
- #define ARIZONA_ASYNC_CLK_ENA_LOW_STS 0x0200 /* ASYNC_CLK_ENA_LOW_STS */
- #define ARIZONA_ASYNC_CLK_ENA_LOW_STS_MASK 0x0200 /* ASYNC_CLK_ENA_LOW_STS */
- #define ARIZONA_ASYNC_CLK_ENA_LOW_STS_SHIFT 9 /* ASYNC_CLK_ENA_LOW_STS */
- #define ARIZONA_ASYNC_CLK_ENA_LOW_STS_WIDTH 1 /* ASYNC_CLK_ENA_LOW_STS */
- #define ARIZONA_SYSCLK_ENA_LOW_STS 0x0100 /* SYSCLK_ENA_LOW_STS */
- #define ARIZONA_SYSCLK_ENA_LOW_STS_MASK 0x0100 /* SYSCLK_ENA_LOW_STS */
- #define ARIZONA_SYSCLK_ENA_LOW_STS_SHIFT 8 /* SYSCLK_ENA_LOW_STS */
- #define ARIZONA_SYSCLK_ENA_LOW_STS_WIDTH 1 /* SYSCLK_ENA_LOW_STS */
- #define ARIZONA_ISRC1_CFG_ERR_STS 0x0080 /* ISRC1_CFG_ERR_STS */
- #define ARIZONA_ISRC1_CFG_ERR_STS_MASK 0x0080 /* ISRC1_CFG_ERR_STS */
- #define ARIZONA_ISRC1_CFG_ERR_STS_SHIFT 7 /* ISRC1_CFG_ERR_STS */
- #define ARIZONA_ISRC1_CFG_ERR_STS_WIDTH 1 /* ISRC1_CFG_ERR_STS */
- #define ARIZONA_ISRC2_CFG_ERR_STS 0x0040 /* ISRC2_CFG_ERR_STS */
- #define ARIZONA_ISRC2_CFG_ERR_STS_MASK 0x0040 /* ISRC2_CFG_ERR_STS */
- #define ARIZONA_ISRC2_CFG_ERR_STS_SHIFT 6 /* ISRC2_CFG_ERR_STS */
- #define ARIZONA_ISRC2_CFG_ERR_STS_WIDTH 1 /* ISRC2_CFG_ERR_STS */
- #define ARIZONA_HP3R_DONE_STS 0x0020 /* HP3R_DONE_STS */
- #define ARIZONA_HP3R_DONE_STS_MASK 0x0020 /* HP3R_DONE_STS */
- #define ARIZONA_HP3R_DONE_STS_SHIFT 5 /* HP3R_DONE_STS */
- #define ARIZONA_HP3R_DONE_STS_WIDTH 1 /* HP3R_DONE_STS */
- #define ARIZONA_HP3L_DONE_STS 0x0010 /* HP3L_DONE_STS */
- #define ARIZONA_HP3L_DONE_STS_MASK 0x0010 /* HP3L_DONE_STS */
- #define ARIZONA_HP3L_DONE_STS_SHIFT 4 /* HP3L_DONE_STS */
- #define ARIZONA_HP3L_DONE_STS_WIDTH 1 /* HP3L_DONE_STS */
- #define ARIZONA_HP2R_DONE_STS 0x0008 /* HP2R_DONE_STS */
- #define ARIZONA_HP2R_DONE_STS_MASK 0x0008 /* HP2R_DONE_STS */
- #define ARIZONA_HP2R_DONE_STS_SHIFT 3 /* HP2R_DONE_STS */
- #define ARIZONA_HP2R_DONE_STS_WIDTH 1 /* HP2R_DONE_STS */
- #define ARIZONA_HP2L_DONE_STS 0x0004 /* HP2L_DONE_STS */
- #define ARIZONA_HP2L_DONE_STS_MASK 0x0004 /* HP2L_DONE_STS */
- #define ARIZONA_HP2L_DONE_STS_SHIFT 2 /* HP2L_DONE_STS */
- #define ARIZONA_HP2L_DONE_STS_WIDTH 1 /* HP2L_DONE_STS */
- #define ARIZONA_HP1R_DONE_STS 0x0002 /* HP1R_DONE_STS */
- #define ARIZONA_HP1R_DONE_STS_MASK 0x0002 /* HP1R_DONE_STS */
- #define ARIZONA_HP1R_DONE_STS_SHIFT 1 /* HP1R_DONE_STS */
- #define ARIZONA_HP1R_DONE_STS_WIDTH 1 /* HP1R_DONE_STS */
- #define ARIZONA_HP1L_DONE_STS 0x0001 /* HP1L_DONE_STS */
- #define ARIZONA_HP1L_DONE_STS_MASK 0x0001 /* HP1L_DONE_STS */
- #define ARIZONA_HP1L_DONE_STS_SHIFT 0 /* HP1L_DONE_STS */
- #define ARIZONA_HP1L_DONE_STS_WIDTH 1 /* HP1L_DONE_STS */
- /*
- * R3363 (0xD23) - Interrupt Raw Status 5
- */
- #define ARIZONA_BOOT_DONE_STS 0x0100 /* BOOT_DONE_STS */
- #define ARIZONA_BOOT_DONE_STS_MASK 0x0100 /* BOOT_DONE_STS */
- #define ARIZONA_BOOT_DONE_STS_SHIFT 8 /* BOOT_DONE_STS */
- #define ARIZONA_BOOT_DONE_STS_WIDTH 1 /* BOOT_DONE_STS */
- #define ARIZONA_DCS_DAC_DONE_STS 0x0080 /* DCS_DAC_DONE_STS */
- #define ARIZONA_DCS_DAC_DONE_STS_MASK 0x0080 /* DCS_DAC_DONE_STS */
- #define ARIZONA_DCS_DAC_DONE_STS_SHIFT 7 /* DCS_DAC_DONE_STS */
- #define ARIZONA_DCS_DAC_DONE_STS_WIDTH 1 /* DCS_DAC_DONE_STS */
- #define ARIZONA_DCS_HP_DONE_STS 0x0040 /* DCS_HP_DONE_STS */
- #define ARIZONA_DCS_HP_DONE_STS_MASK 0x0040 /* DCS_HP_DONE_STS */
- #define ARIZONA_DCS_HP_DONE_STS_SHIFT 6 /* DCS_HP_DONE_STS */
- #define ARIZONA_DCS_HP_DONE_STS_WIDTH 1 /* DCS_HP_DONE_STS */
- #define ARIZONA_FLL2_CLOCK_OK_STS 0x0002 /* FLL2_CLOCK_OK_STS */
- #define ARIZONA_FLL2_CLOCK_OK_STS_MASK 0x0002 /* FLL2_CLOCK_OK_STS */
- #define ARIZONA_FLL2_CLOCK_OK_STS_SHIFT 1 /* FLL2_CLOCK_OK_STS */
- #define ARIZONA_FLL2_CLOCK_OK_STS_WIDTH 1 /* FLL2_CLOCK_OK_STS */
- #define ARIZONA_FLL1_CLOCK_OK_STS 0x0001 /* FLL1_CLOCK_OK_STS */
- #define ARIZONA_FLL1_CLOCK_OK_STS_MASK 0x0001 /* FLL1_CLOCK_OK_STS */
- #define ARIZONA_FLL1_CLOCK_OK_STS_SHIFT 0 /* FLL1_CLOCK_OK_STS */
- #define ARIZONA_FLL1_CLOCK_OK_STS_WIDTH 1 /* FLL1_CLOCK_OK_STS */
- /*
- * R3364 (0xD24) - Interrupt Raw Status 6
- */
- #define ARIZONA_PWM_OVERCLOCKED_STS 0x2000 /* PWM_OVERCLOCKED_STS */
- #define ARIZONA_PWM_OVERCLOCKED_STS_MASK 0x2000 /* PWM_OVERCLOCKED_STS */
- #define ARIZONA_PWM_OVERCLOCKED_STS_SHIFT 13 /* PWM_OVERCLOCKED_STS */
- #define ARIZONA_PWM_OVERCLOCKED_STS_WIDTH 1 /* PWM_OVERCLOCKED_STS */
- #define ARIZONA_FX_CORE_OVERCLOCKED_STS 0x1000 /* FX_CORE_OVERCLOCKED_STS */
- #define ARIZONA_FX_CORE_OVERCLOCKED_STS_MASK 0x1000 /* FX_CORE_OVERCLOCKED_STS */
- #define ARIZONA_FX_CORE_OVERCLOCKED_STS_SHIFT 12 /* FX_CORE_OVERCLOCKED_STS */
- #define ARIZONA_FX_CORE_OVERCLOCKED_STS_WIDTH 1 /* FX_CORE_OVERCLOCKED_STS */
- #define ARIZONA_DAC_SYS_OVERCLOCKED_STS 0x0400 /* DAC_SYS_OVERCLOCKED_STS */
- #define ARIZONA_DAC_SYS_OVERCLOCKED_STS_MASK 0x0400 /* DAC_SYS_OVERCLOCKED_STS */
- #define ARIZONA_DAC_SYS_OVERCLOCKED_STS_SHIFT 10 /* DAC_SYS_OVERCLOCKED_STS */
- #define ARIZONA_DAC_SYS_OVERCLOCKED_STS_WIDTH 1 /* DAC_SYS_OVERCLOCKED_STS */
- #define ARIZONA_DAC_WARP_OVERCLOCKED_STS 0x0200 /* DAC_WARP_OVERCLOCKED_STS */
- #define ARIZONA_DAC_WARP_OVERCLOCKED_STS_MASK 0x0200 /* DAC_WARP_OVERCLOCKED_STS */
- #define ARIZONA_DAC_WARP_OVERCLOCKED_STS_SHIFT 9 /* DAC_WARP_OVERCLOCKED_STS */
- #define ARIZONA_DAC_WARP_OVERCLOCKED_STS_WIDTH 1 /* DAC_WARP_OVERCLOCKED_STS */
- #define ARIZONA_ADC_OVERCLOCKED_STS 0x0100 /* ADC_OVERCLOCKED_STS */
- #define ARIZONA_ADC_OVERCLOCKED_STS_MASK 0x0100 /* ADC_OVERCLOCKED_STS */
- #define ARIZONA_ADC_OVERCLOCKED_STS_SHIFT 8 /* ADC_OVERCLOCKED_STS */
- #define ARIZONA_ADC_OVERCLOCKED_STS_WIDTH 1 /* ADC_OVERCLOCKED_STS */
- #define ARIZONA_MIXER_OVERCLOCKED_STS 0x0080 /* MIXER_OVERCLOCKED_STS */
- #define ARIZONA_MIXER_OVERCLOCKED_STS_MASK 0x0080 /* MIXER_OVERCLOCKED_STS */
- #define ARIZONA_MIXER_OVERCLOCKED_STS_SHIFT 7 /* MIXER_OVERCLOCKED_STS */
- #define ARIZONA_MIXER_OVERCLOCKED_STS_WIDTH 1 /* MIXER_OVERCLOCKED_STS */
- #define ARIZONA_AIF3_ASYNC_OVERCLOCKED_STS 0x0040 /* AIF3_ASYNC_OVERCLOCKED_STS */
- #define ARIZONA_AIF3_ASYNC_OVERCLOCKED_STS_MASK 0x0040 /* AIF3_ASYNC_OVERCLOCKED_STS */
- #define ARIZONA_AIF3_ASYNC_OVERCLOCKED_STS_SHIFT 6 /* AIF3_ASYNC_OVERCLOCKED_STS */
- #define ARIZONA_AIF3_ASYNC_OVERCLOCKED_STS_WIDTH 1 /* AIF3_ASYNC_OVERCLOCKED_STS */
- #define ARIZONA_AIF2_ASYNC_OVERCLOCKED_STS 0x0020 /* AIF2_ASYNC_OVERCLOCKED_STS */
- #define ARIZONA_AIF2_ASYNC_OVERCLOCKED_STS_MASK 0x0020 /* AIF2_ASYNC_OVERCLOCKED_STS */
- #define ARIZONA_AIF2_ASYNC_OVERCLOCKED_STS_SHIFT 5 /* AIF2_ASYNC_OVERCLOCKED_STS */
- #define ARIZONA_AIF2_ASYNC_OVERCLOCKED_STS_WIDTH 1 /* AIF2_ASYNC_OVERCLOCKED_STS */
- #define ARIZONA_AIF1_ASYNC_OVERCLOCKED_STS 0x0010 /* AIF1_ASYNC_OVERCLOCKED_STS */
- #define ARIZONA_AIF1_ASYNC_OVERCLOCKED_STS_MASK 0x0010 /* AIF1_ASYNC_OVERCLOCKED_STS */
- #define ARIZONA_AIF1_ASYNC_OVERCLOCKED_STS_SHIFT 4 /* AIF1_ASYNC_OVERCLOCKED_STS */
- #define ARIZONA_AIF1_ASYNC_OVERCLOCKED_STS_WIDTH 1 /* AIF1_ASYNC_OVERCLOCKED_STS */
- #define ARIZONA_AIF3_SYNC_OVERCLOCKED_STS 0x0008 /* AIF3_SYNC_OVERCLOCKED_STS */
- #define ARIZONA_AIF3_SYNC_OVERCLOCKED_STS_MASK 0x0008 /* AIF3_SYNC_OVERCLOCKED_STS */
- #define ARIZONA_AIF3_SYNC_OVERCLOCKED_STS_SHIFT 3 /* AIF3_SYNC_OVERCLOCKED_STS */
- #define ARIZONA_AIF3_SYNC_OVERCLOCKED_STS_WIDTH 1 /* AIF3_SYNC_OVERCLOCKED_STS */
- #define ARIZONA_AIF2_SYNC_OVERCLOCKED_STS 0x0004 /* AIF2_SYNC_OVERCLOCKED_STS */
- #define ARIZONA_AIF2_SYNC_OVERCLOCKED_STS_MASK 0x0004 /* AIF2_SYNC_OVERCLOCKED_STS */
- #define ARIZONA_AIF2_SYNC_OVERCLOCKED_STS_SHIFT 2 /* AIF2_SYNC_OVERCLOCKED_STS */
- #define ARIZONA_AIF2_SYNC_OVERCLOCKED_STS_WIDTH 1 /* AIF2_SYNC_OVERCLOCKED_STS */
- #define ARIZONA_AIF1_SYNC_OVERCLOCKED_STS 0x0002 /* AIF1_SYNC_OVERCLOCKED_STS */
- #define ARIZONA_AIF1_SYNC_OVERCLOCKED_STS_MASK 0x0002 /* AIF1_SYNC_OVERCLOCKED_STS */
- #define ARIZONA_AIF1_SYNC_OVERCLOCKED_STS_SHIFT 1 /* AIF1_SYNC_OVERCLOCKED_STS */
- #define ARIZONA_AIF1_SYNC_OVERCLOCKED_STS_WIDTH 1 /* AIF1_SYNC_OVERCLOCKED_STS */
- #define ARIZONA_PAD_CTRL_OVERCLOCKED_STS 0x0001 /* PAD_CTRL_OVERCLOCKED_STS */
- #define ARIZONA_PAD_CTRL_OVERCLOCKED_STS_MASK 0x0001 /* PAD_CTRL_OVERCLOCKED_STS */
- #define ARIZONA_PAD_CTRL_OVERCLOCKED_STS_SHIFT 0 /* PAD_CTRL_OVERCLOCKED_STS */
- #define ARIZONA_PAD_CTRL_OVERCLOCKED_STS_WIDTH 1 /* PAD_CTRL_OVERCLOCKED_STS */
- /*
- * R3365 (0xD25) - Interrupt Raw Status 7
- */
- #define ARIZONA_SLIMBUS_SUBSYS_OVERCLOCKED_STS 0x8000 /* SLIMBUS_SUBSYS_OVERCLOCKED_STS */
- #define ARIZONA_SLIMBUS_SUBSYS_OVERCLOCKED_STS_MASK 0x8000 /* SLIMBUS_SUBSYS_OVERCLOCKED_STS */
- #define ARIZONA_SLIMBUS_SUBSYS_OVERCLOCKED_STS_SHIFT 15 /* SLIMBUS_SUBSYS_OVERCLOCKED_STS */
- #define ARIZONA_SLIMBUS_SUBSYS_OVERCLOCKED_STS_WIDTH 1 /* SLIMBUS_SUBSYS_OVERCLOCKED_STS */
- #define ARIZONA_SLIMBUS_ASYNC_OVERCLOCKED_STS 0x4000 /* SLIMBUS_ASYNC_OVERCLOCKED_STS */
- #define ARIZONA_SLIMBUS_ASYNC_OVERCLOCKED_STS_MASK 0x4000 /* SLIMBUS_ASYNC_OVERCLOCKED_STS */
- #define ARIZONA_SLIMBUS_ASYNC_OVERCLOCKED_STS_SHIFT 14 /* SLIMBUS_ASYNC_OVERCLOCKED_STS */
- #define ARIZONA_SLIMBUS_ASYNC_OVERCLOCKED_STS_WIDTH 1 /* SLIMBUS_ASYNC_OVERCLOCKED_STS */
- #define ARIZONA_SLIMBUS_SYNC_OVERCLOCKED_STS 0x2000 /* SLIMBUS_SYNC_OVERCLOCKED_STS */
- #define ARIZONA_SLIMBUS_SYNC_OVERCLOCKED_STS_MASK 0x2000 /* SLIMBUS_SYNC_OVERCLOCKED_STS */
- #define ARIZONA_SLIMBUS_SYNC_OVERCLOCKED_STS_SHIFT 13 /* SLIMBUS_SYNC_OVERCLOCKED_STS */
- #define ARIZONA_SLIMBUS_SYNC_OVERCLOCKED_STS_WIDTH 1 /* SLIMBUS_SYNC_OVERCLOCKED_STS */
- #define ARIZONA_ASRC_ASYNC_SYS_OVERCLOCKED_STS 0x1000 /* ASRC_ASYNC_SYS_OVERCLOCKED_STS */
- #define ARIZONA_ASRC_ASYNC_SYS_OVERCLOCKED_STS_MASK 0x1000 /* ASRC_ASYNC_SYS_OVERCLOCKED_STS */
- #define ARIZONA_ASRC_ASYNC_SYS_OVERCLOCKED_STS_SHIFT 12 /* ASRC_ASYNC_SYS_OVERCLOCKED_STS */
- #define ARIZONA_ASRC_ASYNC_SYS_OVERCLOCKED_STS_WIDTH 1 /* ASRC_ASYNC_SYS_OVERCLOCKED_STS */
- #define ARIZONA_ASRC_ASYNC_WARP_OVERCLOCKED_STS 0x0800 /* ASRC_ASYNC_WARP_OVERCLOCKED_STS */
- #define ARIZONA_ASRC_ASYNC_WARP_OVERCLOCKED_STS_MASK 0x0800 /* ASRC_ASYNC_WARP_OVERCLOCKED_STS */
- #define ARIZONA_ASRC_ASYNC_WARP_OVERCLOCKED_STS_SHIFT 11 /* ASRC_ASYNC_WARP_OVERCLOCKED_STS */
- #define ARIZONA_ASRC_ASYNC_WARP_OVERCLOCKED_STS_WIDTH 1 /* ASRC_ASYNC_WARP_OVERCLOCKED_STS */
- #define ARIZONA_ASRC_SYNC_SYS_OVERCLOCKED_STS 0x0400 /* ASRC_SYNC_SYS_OVERCLOCKED_STS */
- #define ARIZONA_ASRC_SYNC_SYS_OVERCLOCKED_STS_MASK 0x0400 /* ASRC_SYNC_SYS_OVERCLOCKED_STS */
- #define ARIZONA_ASRC_SYNC_SYS_OVERCLOCKED_STS_SHIFT 10 /* ASRC_SYNC_SYS_OVERCLOCKED_STS */
- #define ARIZONA_ASRC_SYNC_SYS_OVERCLOCKED_STS_WIDTH 1 /* ASRC_SYNC_SYS_OVERCLOCKED_STS */
- #define ARIZONA_ASRC_SYNC_WARP_OVERCLOCKED_STS 0x0200 /* ASRC_SYNC_WARP_OVERCLOCKED_STS */
- #define ARIZONA_ASRC_SYNC_WARP_OVERCLOCKED_STS_MASK 0x0200 /* ASRC_SYNC_WARP_OVERCLOCKED_STS */
- #define ARIZONA_ASRC_SYNC_WARP_OVERCLOCKED_STS_SHIFT 9 /* ASRC_SYNC_WARP_OVERCLOCKED_STS */
- #define ARIZONA_ASRC_SYNC_WARP_OVERCLOCKED_STS_WIDTH 1 /* ASRC_SYNC_WARP_OVERCLOCKED_STS */
- #define ARIZONA_ADSP2_1_OVERCLOCKED_STS 0x0008 /* ADSP2_1_OVERCLOCKED_STS */
- #define ARIZONA_ADSP2_1_OVERCLOCKED_STS_MASK 0x0008 /* ADSP2_1_OVERCLOCKED_STS */
- #define ARIZONA_ADSP2_1_OVERCLOCKED_STS_SHIFT 3 /* ADSP2_1_OVERCLOCKED_STS */
- #define ARIZONA_ADSP2_1_OVERCLOCKED_STS_WIDTH 1 /* ADSP2_1_OVERCLOCKED_STS */
- #define ARIZONA_ISRC3_OVERCLOCKED_STS 0x0004 /* ISRC3_OVERCLOCKED_STS */
- #define ARIZONA_ISRC3_OVERCLOCKED_STS_MASK 0x0004 /* ISRC3_OVERCLOCKED_STS */
- #define ARIZONA_ISRC3_OVERCLOCKED_STS_SHIFT 2 /* ISRC3_OVERCLOCKED_STS */
- #define ARIZONA_ISRC3_OVERCLOCKED_STS_WIDTH 1 /* ISRC3_OVERCLOCKED_STS */
- #define ARIZONA_ISRC2_OVERCLOCKED_STS 0x0002 /* ISRC2_OVERCLOCKED_STS */
- #define ARIZONA_ISRC2_OVERCLOCKED_STS_MASK 0x0002 /* ISRC2_OVERCLOCKED_STS */
- #define ARIZONA_ISRC2_OVERCLOCKED_STS_SHIFT 1 /* ISRC2_OVERCLOCKED_STS */
- #define ARIZONA_ISRC2_OVERCLOCKED_STS_WIDTH 1 /* ISRC2_OVERCLOCKED_STS */
- #define ARIZONA_ISRC1_OVERCLOCKED_STS 0x0001 /* ISRC1_OVERCLOCKED_STS */
- #define ARIZONA_ISRC1_OVERCLOCKED_STS_MASK 0x0001 /* ISRC1_OVERCLOCKED_STS */
- #define ARIZONA_ISRC1_OVERCLOCKED_STS_SHIFT 0 /* ISRC1_OVERCLOCKED_STS */
- #define ARIZONA_ISRC1_OVERCLOCKED_STS_WIDTH 1 /* ISRC1_OVERCLOCKED_STS */
- /*
- * R3366 (0xD26) - Interrupt Raw Status 8
- */
- #define ARIZONA_SPDIF_OVERCLOCKED_STS 0x8000 /* SPDIF_OVERCLOCKED_STS */
- #define ARIZONA_SPDIF_OVERCLOCKED_STS_MASK 0x8000 /* SPDIF_OVERCLOCKED_STS */
- #define ARIZONA_SPDIF_OVERCLOCKED_STS_SHIFT 15 /* SPDIF_OVERCLOCKED_STS */
- #define ARIZONA_SPDIF_OVERCLOCKED_STS_WIDTH 1 /* SPDIF_OVERCLOCKED_STS */
- #define ARIZONA_AIF3_UNDERCLOCKED_STS 0x0400 /* AIF3_UNDERCLOCKED_STS */
- #define ARIZONA_AIF3_UNDERCLOCKED_STS_MASK 0x0400 /* AIF3_UNDERCLOCKED_STS */
- #define ARIZONA_AIF3_UNDERCLOCKED_STS_SHIFT 10 /* AIF3_UNDERCLOCKED_STS */
- #define ARIZONA_AIF3_UNDERCLOCKED_STS_WIDTH 1 /* AIF3_UNDERCLOCKED_STS */
- #define ARIZONA_AIF2_UNDERCLOCKED_STS 0x0200 /* AIF2_UNDERCLOCKED_STS */
- #define ARIZONA_AIF2_UNDERCLOCKED_STS_MASK 0x0200 /* AIF2_UNDERCLOCKED_STS */
- #define ARIZONA_AIF2_UNDERCLOCKED_STS_SHIFT 9 /* AIF2_UNDERCLOCKED_STS */
- #define ARIZONA_AIF2_UNDERCLOCKED_STS_WIDTH 1 /* AIF2_UNDERCLOCKED_STS */
- #define ARIZONA_AIF1_UNDERCLOCKED_STS 0x0100 /* AIF1_UNDERCLOCKED_STS */
- #define ARIZONA_AIF1_UNDERCLOCKED_STS_MASK 0x0100 /* AIF1_UNDERCLOCKED_STS */
- #define ARIZONA_AIF1_UNDERCLOCKED_STS_SHIFT 8 /* AIF1_UNDERCLOCKED_STS */
- #define ARIZONA_AIF1_UNDERCLOCKED_STS_WIDTH 1 /* AIF1_UNDERCLOCKED_STS */
- #define ARIZONA_ISRC3_UNDERCLOCKED_STS 0x0080 /* ISRC3_UNDERCLOCKED_STS */
- #define ARIZONA_ISRC3_UNDERCLOCKED_STS_MASK 0x0080 /* ISRC3_UNDERCLOCKED_STS */
- #define ARIZONA_ISRC3_UNDERCLOCKED_STS_SHIFT 7 /* ISRC3_UNDERCLOCKED_STS */
- #define ARIZONA_ISRC3_UNDERCLOCKED_STS_WIDTH 1 /* ISRC3_UNDERCLOCKED_STS */
- #define ARIZONA_ISRC2_UNDERCLOCKED_STS 0x0040 /* ISRC2_UNDERCLOCKED_STS */
- #define ARIZONA_ISRC2_UNDERCLOCKED_STS_MASK 0x0040 /* ISRC2_UNDERCLOCKED_STS */
- #define ARIZONA_ISRC2_UNDERCLOCKED_STS_SHIFT 6 /* ISRC2_UNDERCLOCKED_STS */
- #define ARIZONA_ISRC2_UNDERCLOCKED_STS_WIDTH 1 /* ISRC2_UNDERCLOCKED_STS */
- #define ARIZONA_ISRC1_UNDERCLOCKED_STS 0x0020 /* ISRC1_UNDERCLOCKED_STS */
- #define ARIZONA_ISRC1_UNDERCLOCKED_STS_MASK 0x0020 /* ISRC1_UNDERCLOCKED_STS */
- #define ARIZONA_ISRC1_UNDERCLOCKED_STS_SHIFT 5 /* ISRC1_UNDERCLOCKED_STS */
- #define ARIZONA_ISRC1_UNDERCLOCKED_STS_WIDTH 1 /* ISRC1_UNDERCLOCKED_STS */
- #define ARIZONA_FX_UNDERCLOCKED_STS 0x0010 /* FX_UNDERCLOCKED_STS */
- #define ARIZONA_FX_UNDERCLOCKED_STS_MASK 0x0010 /* FX_UNDERCLOCKED_STS */
- #define ARIZONA_FX_UNDERCLOCKED_STS_SHIFT 4 /* FX_UNDERCLOCKED_STS */
- #define ARIZONA_FX_UNDERCLOCKED_STS_WIDTH 1 /* FX_UNDERCLOCKED_STS */
- #define ARIZONA_ASRC_UNDERCLOCKED_STS 0x0008 /* ASRC_UNDERCLOCKED_STS */
- #define ARIZONA_ASRC_UNDERCLOCKED_STS_MASK 0x0008 /* ASRC_UNDERCLOCKED_STS */
- #define ARIZONA_ASRC_UNDERCLOCKED_STS_SHIFT 3 /* ASRC_UNDERCLOCKED_STS */
- #define ARIZONA_ASRC_UNDERCLOCKED_STS_WIDTH 1 /* ASRC_UNDERCLOCKED_STS */
- #define ARIZONA_DAC_UNDERCLOCKED_STS 0x0004 /* DAC_UNDERCLOCKED_STS */
- #define ARIZONA_DAC_UNDERCLOCKED_STS_MASK 0x0004 /* DAC_UNDERCLOCKED_STS */
- #define ARIZONA_DAC_UNDERCLOCKED_STS_SHIFT 2 /* DAC_UNDERCLOCKED_STS */
- #define ARIZONA_DAC_UNDERCLOCKED_STS_WIDTH 1 /* DAC_UNDERCLOCKED_STS */
- #define ARIZONA_ADC_UNDERCLOCKED_STS 0x0002 /* ADC_UNDERCLOCKED_STS */
- #define ARIZONA_ADC_UNDERCLOCKED_STS_MASK 0x0002 /* ADC_UNDERCLOCKED_STS */
- #define ARIZONA_ADC_UNDERCLOCKED_STS_SHIFT 1 /* ADC_UNDERCLOCKED_STS */
- #define ARIZONA_ADC_UNDERCLOCKED_STS_WIDTH 1 /* ADC_UNDERCLOCKED_STS */
- #define ARIZONA_MIXER_UNDERCLOCKED_STS 0x0001 /* MIXER_UNDERCLOCKED_STS */
- #define ARIZONA_MIXER_UNDERCLOCKED_STS_MASK 0x0001 /* MIXER_UNDERCLOCKED_STS */
- #define ARIZONA_MIXER_UNDERCLOCKED_STS_SHIFT 0 /* MIXER_UNDERCLOCKED_STS */
- #define ARIZONA_MIXER_UNDERCLOCKED_STS_WIDTH 1 /* MIXER_UNDERCLOCKED_STS */
- /*
- * R3368 (0xD28) - Interrupt Raw Status 9
- */
- #define ARIZONA_DSP_SHARED_WR_COLL_STS 0x8000 /* DSP_SHARED_WR_COLL_STS */
- #define ARIZONA_DSP_SHARED_WR_COLL_STS_MASK 0x8000 /* DSP_SHARED_WR_COLL_STS */
- #define ARIZONA_DSP_SHARED_WR_COLL_STS_SHIFT 15 /* DSP_SHARED_WR_COLL_STS */
- #define ARIZONA_DSP_SHARED_WR_COLL_STS_WIDTH 1 /* DSP_SHARED_WR_COLL_STS */
- #define ARIZONA_SPK_SHUTDOWN_STS 0x4000 /* SPK_SHUTDOWN_STS */
- #define ARIZONA_SPK_SHUTDOWN_STS_MASK 0x4000 /* SPK_SHUTDOWN_STS */
- #define ARIZONA_SPK_SHUTDOWN_STS_SHIFT 14 /* SPK_SHUTDOWN_STS */
- #define ARIZONA_SPK_SHUTDOWN_STS_WIDTH 1 /* SPK_SHUTDOWN_STS */
- #define ARIZONA_SPK1R_SHORT_STS 0x2000 /* SPK1R_SHORT_STS */
- #define ARIZONA_SPK1R_SHORT_STS_MASK 0x2000 /* SPK1R_SHORT_STS */
- #define ARIZONA_SPK1R_SHORT_STS_SHIFT 13 /* SPK1R_SHORT_STS */
- #define ARIZONA_SPK1R_SHORT_STS_WIDTH 1 /* SPK1R_SHORT_STS */
- #define ARIZONA_SPK1L_SHORT_STS 0x1000 /* SPK1L_SHORT_STS */
- #define ARIZONA_SPK1L_SHORT_STS_MASK 0x1000 /* SPK1L_SHORT_STS */
- #define ARIZONA_SPK1L_SHORT_STS_SHIFT 12 /* SPK1L_SHORT_STS */
- #define ARIZONA_SPK1L_SHORT_STS_WIDTH 1 /* SPK1L_SHORT_STS */
- #define ARIZONA_HP3R_SC_NEG_STS 0x0800 /* HP3R_SC_NEG_STS */
- #define ARIZONA_HP3R_SC_NEG_STS_MASK 0x0800 /* HP3R_SC_NEG_STS */
- #define ARIZONA_HP3R_SC_NEG_STS_SHIFT 11 /* HP3R_SC_NEG_STS */
- #define ARIZONA_HP3R_SC_NEG_STS_WIDTH 1 /* HP3R_SC_NEG_STS */
- #define ARIZONA_HP3R_SC_POS_STS 0x0400 /* HP3R_SC_POS_STS */
- #define ARIZONA_HP3R_SC_POS_STS_MASK 0x0400 /* HP3R_SC_POS_STS */
- #define ARIZONA_HP3R_SC_POS_STS_SHIFT 10 /* HP3R_SC_POS_STS */
- #define ARIZONA_HP3R_SC_POS_STS_WIDTH 1 /* HP3R_SC_POS_STS */
- #define ARIZONA_HP3L_SC_NEG_STS 0x0200 /* HP3L_SC_NEG_STS */
- #define ARIZONA_HP3L_SC_NEG_STS_MASK 0x0200 /* HP3L_SC_NEG_STS */
- #define ARIZONA_HP3L_SC_NEG_STS_SHIFT 9 /* HP3L_SC_NEG_STS */
- #define ARIZONA_HP3L_SC_NEG_STS_WIDTH 1 /* HP3L_SC_NEG_STS */
- #define ARIZONA_HP3L_SC_POS_STS 0x0100 /* HP3L_SC_POS_STS */
- #define ARIZONA_HP3L_SC_POS_STS_MASK 0x0100 /* HP3L_SC_POS_STS */
- #define ARIZONA_HP3L_SC_POS_STS_SHIFT 8 /* HP3L_SC_POS_STS */
- #define ARIZONA_HP3L_SC_POS_STS_WIDTH 1 /* HP3L_SC_POS_STS */
- #define ARIZONA_HP2R_SC_NEG_STS 0x0080 /* HP2R_SC_NEG_STS */
- #define ARIZONA_HP2R_SC_NEG_STS_MASK 0x0080 /* HP2R_SC_NEG_STS */
- #define ARIZONA_HP2R_SC_NEG_STS_SHIFT 7 /* HP2R_SC_NEG_STS */
- #define ARIZONA_HP2R_SC_NEG_STS_WIDTH 1 /* HP2R_SC_NEG_STS */
- #define ARIZONA_HP2R_SC_POS_STS 0x0040 /* HP2R_SC_POS_STS */
- #define ARIZONA_HP2R_SC_POS_STS_MASK 0x0040 /* HP2R_SC_POS_STS */
- #define ARIZONA_HP2R_SC_POS_STS_SHIFT 6 /* HP2R_SC_POS_STS */
- #define ARIZONA_HP2R_SC_POS_STS_WIDTH 1 /* HP2R_SC_POS_STS */
- #define ARIZONA_HP2L_SC_NEG_STS 0x0020 /* HP2L_SC_NEG_STS */
- #define ARIZONA_HP2L_SC_NEG_STS_MASK 0x0020 /* HP2L_SC_NEG_STS */
- #define ARIZONA_HP2L_SC_NEG_STS_SHIFT 5 /* HP2L_SC_NEG_STS */
- #define ARIZONA_HP2L_SC_NEG_STS_WIDTH 1 /* HP2L_SC_NEG_STS */
- #define ARIZONA_HP2L_SC_POS_STS 0x0010 /* HP2L_SC_POS_STS */
- #define ARIZONA_HP2L_SC_POS_STS_MASK 0x0010 /* HP2L_SC_POS_STS */
- #define ARIZONA_HP2L_SC_POS_STS_SHIFT 4 /* HP2L_SC_POS_STS */
- #define ARIZONA_HP2L_SC_POS_STS_WIDTH 1 /* HP2L_SC_POS_STS */
- #define ARIZONA_HP1R_SC_NEG_STS 0x0008 /* HP1R_SC_NEG_STS */
- #define ARIZONA_HP1R_SC_NEG_STS_MASK 0x0008 /* HP1R_SC_NEG_STS */
- #define ARIZONA_HP1R_SC_NEG_STS_SHIFT 3 /* HP1R_SC_NEG_STS */
- #define ARIZONA_HP1R_SC_NEG_STS_WIDTH 1 /* HP1R_SC_NEG_STS */
- #define ARIZONA_HP1R_SC_POS_STS 0x0004 /* HP1R_SC_POS_STS */
- #define ARIZONA_HP1R_SC_POS_STS_MASK 0x0004 /* HP1R_SC_POS_STS */
- #define ARIZONA_HP1R_SC_POS_STS_SHIFT 2 /* HP1R_SC_POS_STS */
- #define ARIZONA_HP1R_SC_POS_STS_WIDTH 1 /* HP1R_SC_POS_STS */
- #define ARIZONA_HP1L_SC_NEG_STS 0x0002 /* HP1L_SC_NEG_STS */
- #define ARIZONA_HP1L_SC_NEG_STS_MASK 0x0002 /* HP1L_SC_NEG_STS */
- #define ARIZONA_HP1L_SC_NEG_STS_SHIFT 1 /* HP1L_SC_NEG_STS */
- #define ARIZONA_HP1L_SC_NEG_STS_WIDTH 1 /* HP1L_SC_NEG_STS */
- #define ARIZONA_HP1L_SC_POS_STS 0x0001 /* HP1L_SC_POS_STS */
- #define ARIZONA_HP1L_SC_POS_STS_MASK 0x0001 /* HP1L_SC_POS_STS */
- #define ARIZONA_HP1L_SC_POS_STS_SHIFT 0 /* HP1L_SC_POS_STS */
- #define ARIZONA_HP1L_SC_POS_STS_WIDTH 1 /* HP1L_SC_POS_STS */
- /*
- * R3392 (0xD40) - IRQ Pin Status
- */
- #define ARIZONA_IRQ2_STS 0x0002 /* IRQ2_STS */
- #define ARIZONA_IRQ2_STS_MASK 0x0002 /* IRQ2_STS */
- #define ARIZONA_IRQ2_STS_SHIFT 1 /* IRQ2_STS */
- #define ARIZONA_IRQ2_STS_WIDTH 1 /* IRQ2_STS */
- #define ARIZONA_IRQ1_STS 0x0001 /* IRQ1_STS */
- #define ARIZONA_IRQ1_STS_MASK 0x0001 /* IRQ1_STS */
- #define ARIZONA_IRQ1_STS_SHIFT 0 /* IRQ1_STS */
- #define ARIZONA_IRQ1_STS_WIDTH 1 /* IRQ1_STS */
- /*
- * R3393 (0xD41) - ADSP2 IRQ0
- */
- #define ARIZONA_DSP_IRQ2 0x0002 /* DSP_IRQ2 */
- #define ARIZONA_DSP_IRQ2_MASK 0x0002 /* DSP_IRQ2 */
- #define ARIZONA_DSP_IRQ2_SHIFT 1 /* DSP_IRQ2 */
- #define ARIZONA_DSP_IRQ2_WIDTH 1 /* DSP_IRQ2 */
- #define ARIZONA_DSP_IRQ1 0x0001 /* DSP_IRQ1 */
- #define ARIZONA_DSP_IRQ1_MASK 0x0001 /* DSP_IRQ1 */
- #define ARIZONA_DSP_IRQ1_SHIFT 0 /* DSP_IRQ1 */
- #define ARIZONA_DSP_IRQ1_WIDTH 1 /* DSP_IRQ1 */
- /*
- * R3408 (0xD50) - AOD wkup and trig
- */
- #define ARIZONA_MICD_CLAMP_FALL_TRIG_STS 0x0080 /* MICD_CLAMP_FALL_TRIG_STS */
- #define ARIZONA_MICD_CLAMP_FALL_TRIG_STS_MASK 0x0080 /* MICD_CLAMP_FALL_TRIG_STS */
- #define ARIZONA_MICD_CLAMP_FALL_TRIG_STS_SHIFT 7 /* MICD_CLAMP_FALL_TRIG_STS */
- #define ARIZONA_MICD_CLAMP_FALL_TRIG_STS_WIDTH 1 /* MICD_CLAMP_FALL_TRIG_STS */
- #define ARIZONA_MICD_CLAMP_RISE_TRIG_STS 0x0040 /* MICD_CLAMP_RISE_TRIG_STS */
- #define ARIZONA_MICD_CLAMP_RISE_TRIG_STS_MASK 0x0040 /* MICD_CLAMP_RISE_TRIG_STS */
- #define ARIZONA_MICD_CLAMP_RISE_TRIG_STS_SHIFT 6 /* MICD_CLAMP_RISE_TRIG_STS */
- #define ARIZONA_MICD_CLAMP_RISE_TRIG_STS_WIDTH 1 /* MICD_CLAMP_RISE_TRIG_STS */
- #define ARIZONA_GP5_FALL_TRIG_STS 0x0020 /* GP5_FALL_TRIG_STS */
- #define ARIZONA_GP5_FALL_TRIG_STS_MASK 0x0020 /* GP5_FALL_TRIG_STS */
- #define ARIZONA_GP5_FALL_TRIG_STS_SHIFT 5 /* GP5_FALL_TRIG_STS */
- #define ARIZONA_GP5_FALL_TRIG_STS_WIDTH 1 /* GP5_FALL_TRIG_STS */
- #define ARIZONA_GP5_RISE_TRIG_STS 0x0010 /* GP5_RISE_TRIG_STS */
- #define ARIZONA_GP5_RISE_TRIG_STS_MASK 0x0010 /* GP5_RISE_TRIG_STS */
- #define ARIZONA_GP5_RISE_TRIG_STS_SHIFT 4 /* GP5_RISE_TRIG_STS */
- #define ARIZONA_GP5_RISE_TRIG_STS_WIDTH 1 /* GP5_RISE_TRIG_STS */
- #define ARIZONA_JD1_FALL_TRIG_STS 0x0008 /* JD1_FALL_TRIG_STS */
- #define ARIZONA_JD1_FALL_TRIG_STS_MASK 0x0008 /* JD1_FALL_TRIG_STS */
- #define ARIZONA_JD1_FALL_TRIG_STS_SHIFT 3 /* JD1_FALL_TRIG_STS */
- #define ARIZONA_JD1_FALL_TRIG_STS_WIDTH 1 /* JD1_FALL_TRIG_STS */
- #define ARIZONA_JD1_RISE_TRIG_STS 0x0004 /* JD1_RISE_TRIG_STS */
- #define ARIZONA_JD1_RISE_TRIG_STS_MASK 0x0004 /* JD1_RISE_TRIG_STS */
- #define ARIZONA_JD1_RISE_TRIG_STS_SHIFT 2 /* JD1_RISE_TRIG_STS */
- #define ARIZONA_JD1_RISE_TRIG_STS_WIDTH 1 /* JD1_RISE_TRIG_STS */
- #define ARIZONA_JD2_FALL_TRIG_STS 0x0002 /* JD2_FALL_TRIG_STS */
- #define ARIZONA_JD2_FALL_TRIG_STS_MASK 0x0002 /* JD2_FALL_TRIG_STS */
- #define ARIZONA_JD2_FALL_TRIG_STS_SHIFT 1 /* JD2_FALL_TRIG_STS */
- #define ARIZONA_JD2_FALL_TRIG_STS_WIDTH 1 /* JD2_FALL_TRIG_STS */
- #define ARIZONA_JD2_RISE_TRIG_STS 0x0001 /* JD2_RISE_TRIG_STS */
- #define ARIZONA_JD2_RISE_TRIG_STS_MASK 0x0001 /* JD2_RISE_TRIG_STS */
- #define ARIZONA_JD2_RISE_TRIG_STS_SHIFT 0 /* JD2_RISE_TRIG_STS */
- #define ARIZONA_JD2_RISE_TRIG_STS_WIDTH 1 /* JD2_RISE_TRIG_STS */
- /*
- * R3409 (0xD51) - AOD IRQ1
- */
- #define ARIZONA_MICD_CLAMP_FALL_EINT1 0x0080 /* MICD_CLAMP_FALL_EINT1 */
- #define ARIZONA_MICD_CLAMP_FALL_EINT1_MASK 0x0080 /* MICD_CLAMP_FALL_EINT1 */
- #define ARIZONA_MICD_CLAMP_FALL_EINT1_SHIFT 7 /* MICD_CLAMP_FALL_EINT1 */
- #define ARIZONA_MICD_CLAMP_RISE_EINT1 0x0040 /* MICD_CLAMP_RISE_EINT1 */
- #define ARIZONA_MICD_CLAMP_RISE_EINT1_MASK 0x0040 /* MICD_CLAMP_RISE_EINT1 */
- #define ARIZONA_MICD_CLAMP_RISE_EINT1_SHIFT 6 /* MICD_CLAMP_RISE_EINT1 */
- #define ARIZONA_GP5_FALL_EINT1 0x0020 /* GP5_FALL_EINT1 */
- #define ARIZONA_GP5_FALL_EINT1_MASK 0x0020 /* GP5_FALL_EINT1 */
- #define ARIZONA_GP5_FALL_EINT1_SHIFT 5 /* GP5_FALL_EINT1 */
- #define ARIZONA_GP5_FALL_EINT1_WIDTH 1 /* GP5_FALL_EINT1 */
- #define ARIZONA_GP5_RISE_EINT1 0x0010 /* GP5_RISE_EINT1 */
- #define ARIZONA_GP5_RISE_EINT1_MASK 0x0010 /* GP5_RISE_EINT1 */
- #define ARIZONA_GP5_RISE_EINT1_SHIFT 4 /* GP5_RISE_EINT1 */
- #define ARIZONA_GP5_RISE_EINT1_WIDTH 1 /* GP5_RISE_EINT1 */
- #define ARIZONA_JD1_FALL_EINT1 0x0008 /* JD1_FALL_EINT1 */
- #define ARIZONA_JD1_FALL_EINT1_MASK 0x0008 /* JD1_FALL_EINT1 */
- #define ARIZONA_JD1_FALL_EINT1_SHIFT 3 /* JD1_FALL_EINT1 */
- #define ARIZONA_JD1_FALL_EINT1_WIDTH 1 /* JD1_FALL_EINT1 */
- #define ARIZONA_JD1_RISE_EINT1 0x0004 /* JD1_RISE_EINT1 */
- #define ARIZONA_JD1_RISE_EINT1_MASK 0x0004 /* JD1_RISE_EINT1 */
- #define ARIZONA_JD1_RISE_EINT1_SHIFT 2 /* JD1_RISE_EINT1 */
- #define ARIZONA_JD1_RISE_EINT1_WIDTH 1 /* JD1_RISE_EINT1 */
- #define ARIZONA_JD2_FALL_EINT1 0x0002 /* JD2_FALL_EINT1 */
- #define ARIZONA_JD2_FALL_EINT1_MASK 0x0002 /* JD2_FALL_EINT1 */
- #define ARIZONA_JD2_FALL_EINT1_SHIFT 1 /* JD2_FALL_EINT1 */
- #define ARIZONA_JD2_FALL_EINT1_WIDTH 1 /* JD2_FALL_EINT1 */
- #define ARIZONA_JD2_RISE_EINT1 0x0001 /* JD2_RISE_EINT1 */
- #define ARIZONA_JD2_RISE_EINT1_MASK 0x0001 /* JD2_RISE_EINT1 */
- #define ARIZONA_JD2_RISE_EINT1_SHIFT 0 /* JD2_RISE_EINT1 */
- #define ARIZONA_JD2_RISE_EINT1_WIDTH 1 /* JD2_RISE_EINT1 */
- /*
- * R3410 (0xD52) - AOD IRQ2
- */
- #define ARIZONA_MICD_CLAMP_FALL_EINT2 0x0080 /* MICD_CLAMP_FALL_EINT2 */
- #define ARIZONA_MICD_CLAMP_FALL_EINT2_MASK 0x0080 /* MICD_CLAMP_FALL_EINT2 */
- #define ARIZONA_MICD_CLAMP_FALL_EINT2_SHIFT 7 /* MICD_CLAMP_FALL_EINT2 */
- #define ARIZONA_MICD_CLAMP_RISE_EINT2 0x0040 /* MICD_CLAMP_RISE_EINT2 */
- #define ARIZONA_MICD_CLAMP_RISE_EINT2_MASK 0x0040 /* MICD_CLAMP_RISE_EINT2 */
- #define ARIZONA_MICD_CLAMP_RISE_EINT2_SHIFT 6 /* MICD_CLAMP_RISE_EINT2 */
- #define ARIZONA_GP5_FALL_EINT2 0x0020 /* GP5_FALL_EINT2 */
- #define ARIZONA_GP5_FALL_EINT2_MASK 0x0020 /* GP5_FALL_EINT2 */
- #define ARIZONA_GP5_FALL_EINT2_SHIFT 5 /* GP5_FALL_EINT2 */
- #define ARIZONA_GP5_FALL_EINT2_WIDTH 1 /* GP5_FALL_EINT2 */
- #define ARIZONA_GP5_RISE_EINT2 0x0010 /* GP5_RISE_EINT2 */
- #define ARIZONA_GP5_RISE_EINT2_MASK 0x0010 /* GP5_RISE_EINT2 */
- #define ARIZONA_GP5_RISE_EINT2_SHIFT 4 /* GP5_RISE_EINT2 */
- #define ARIZONA_GP5_RISE_EINT2_WIDTH 1 /* GP5_RISE_EINT2 */
- #define ARIZONA_JD1_FALL_EINT2 0x0008 /* JD1_FALL_EINT2 */
- #define ARIZONA_JD1_FALL_EINT2_MASK 0x0008 /* JD1_FALL_EINT2 */
- #define ARIZONA_JD1_FALL_EINT2_SHIFT 3 /* JD1_FALL_EINT2 */
- #define ARIZONA_JD1_FALL_EINT2_WIDTH 1 /* JD1_FALL_EINT2 */
- #define ARIZONA_JD1_RISE_EINT2 0x0004 /* JD1_RISE_EINT2 */
- #define ARIZONA_JD1_RISE_EINT2_MASK 0x0004 /* JD1_RISE_EINT2 */
- #define ARIZONA_JD1_RISE_EINT2_SHIFT 2 /* JD1_RISE_EINT2 */
- #define ARIZONA_JD1_RISE_EINT2_WIDTH 1 /* JD1_RISE_EINT2 */
- #define ARIZONA_JD2_FALL_EINT2 0x0002 /* JD2_FALL_EINT2 */
- #define ARIZONA_JD2_FALL_EINT2_MASK 0x0002 /* JD2_FALL_EINT2 */
- #define ARIZONA_JD2_FALL_EINT2_SHIFT 1 /* JD2_FALL_EINT2 */
- #define ARIZONA_JD2_FALL_EINT2_WIDTH 1 /* JD2_FALL_EINT2 */
- #define ARIZONA_JD2_RISE_EINT2 0x0001 /* JD2_RISE_EINT2 */
- #define ARIZONA_JD2_RISE_EINT2_MASK 0x0001 /* JD2_RISE_EINT2 */
- #define ARIZONA_JD2_RISE_EINT2_SHIFT 0 /* JD2_RISE_EINT2 */
- #define ARIZONA_JD2_RISE_EINT2_WIDTH 1 /* JD2_RISE_EINT2 */
- /*
- * R3411 (0xD53) - AOD IRQ Mask IRQ1
- */
- #define ARIZONA_IM_GP5_FALL_EINT1 0x0020 /* IM_GP5_FALL_EINT1 */
- #define ARIZONA_IM_GP5_FALL_EINT1_MASK 0x0020 /* IM_GP5_FALL_EINT1 */
- #define ARIZONA_IM_GP5_FALL_EINT1_SHIFT 5 /* IM_GP5_FALL_EINT1 */
- #define ARIZONA_IM_GP5_FALL_EINT1_WIDTH 1 /* IM_GP5_FALL_EINT1 */
- #define ARIZONA_IM_GP5_RISE_EINT1 0x0010 /* IM_GP5_RISE_EINT1 */
- #define ARIZONA_IM_GP5_RISE_EINT1_MASK 0x0010 /* IM_GP5_RISE_EINT1 */
- #define ARIZONA_IM_GP5_RISE_EINT1_SHIFT 4 /* IM_GP5_RISE_EINT1 */
- #define ARIZONA_IM_GP5_RISE_EINT1_WIDTH 1 /* IM_GP5_RISE_EINT1 */
- #define ARIZONA_IM_JD1_FALL_EINT1 0x0008 /* IM_JD1_FALL_EINT1 */
- #define ARIZONA_IM_JD1_FALL_EINT1_MASK 0x0008 /* IM_JD1_FALL_EINT1 */
- #define ARIZONA_IM_JD1_FALL_EINT1_SHIFT 3 /* IM_JD1_FALL_EINT1 */
- #define ARIZONA_IM_JD1_FALL_EINT1_WIDTH 1 /* IM_JD1_FALL_EINT1 */
- #define ARIZONA_IM_JD1_RISE_EINT1 0x0004 /* IM_JD1_RISE_EINT1 */
- #define ARIZONA_IM_JD1_RISE_EINT1_MASK 0x0004 /* IM_JD1_RISE_EINT1 */
- #define ARIZONA_IM_JD1_RISE_EINT1_SHIFT 2 /* IM_JD1_RISE_EINT1 */
- #define ARIZONA_IM_JD1_RISE_EINT1_WIDTH 1 /* IM_JD1_RISE_EINT1 */
- #define ARIZONA_IM_JD2_FALL_EINT1 0x0002 /* IM_JD2_FALL_EINT1 */
- #define ARIZONA_IM_JD2_FALL_EINT1_MASK 0x0002 /* IM_JD2_FALL_EINT1 */
- #define ARIZONA_IM_JD2_FALL_EINT1_SHIFT 1 /* IM_JD2_FALL_EINT1 */
- #define ARIZONA_IM_JD2_FALL_EINT1_WIDTH 1 /* IM_JD2_FALL_EINT1 */
- #define ARIZONA_IM_JD2_RISE_EINT1 0x0001 /* IM_JD2_RISE_EINT1 */
- #define ARIZONA_IM_JD2_RISE_EINT1_MASK 0x0001 /* IM_JD2_RISE_EINT1 */
- #define ARIZONA_IM_JD2_RISE_EINT1_SHIFT 0 /* IM_JD2_RISE_EINT1 */
- #define ARIZONA_IM_JD2_RISE_EINT1_WIDTH 1 /* IM_JD2_RISE_EINT1 */
- /*
- * R3412 (0xD54) - AOD IRQ Mask IRQ2
- */
- #define ARIZONA_IM_GP5_FALL_EINT2 0x0020 /* IM_GP5_FALL_EINT2 */
- #define ARIZONA_IM_GP5_FALL_EINT2_MASK 0x0020 /* IM_GP5_FALL_EINT2 */
- #define ARIZONA_IM_GP5_FALL_EINT2_SHIFT 5 /* IM_GP5_FALL_EINT2 */
- #define ARIZONA_IM_GP5_FALL_EINT2_WIDTH 1 /* IM_GP5_FALL_EINT2 */
- #define ARIZONA_IM_GP5_RISE_EINT2 0x0010 /* IM_GP5_RISE_EINT2 */
- #define ARIZONA_IM_GP5_RISE_EINT2_MASK 0x0010 /* IM_GP5_RISE_EINT2 */
- #define ARIZONA_IM_GP5_RISE_EINT2_SHIFT 4 /* IM_GP5_RISE_EINT2 */
- #define ARIZONA_IM_GP5_RISE_EINT2_WIDTH 1 /* IM_GP5_RISE_EINT2 */
- #define ARIZONA_IM_JD1_FALL_EINT2 0x0008 /* IM_JD1_FALL_EINT2 */
- #define ARIZONA_IM_JD1_FALL_EINT2_MASK 0x0008 /* IM_JD1_FALL_EINT2 */
- #define ARIZONA_IM_JD1_FALL_EINT2_SHIFT 3 /* IM_JD1_FALL_EINT2 */
- #define ARIZONA_IM_JD1_FALL_EINT2_WIDTH 1 /* IM_JD1_FALL_EINT2 */
- #define ARIZONA_IM_JD1_RISE_EINT2 0x0004 /* IM_JD1_RISE_EINT2 */
- #define ARIZONA_IM_JD1_RISE_EINT2_MASK 0x0004 /* IM_JD1_RISE_EINT2 */
- #define ARIZONA_IM_JD1_RISE_EINT2_SHIFT 2 /* IM_JD1_RISE_EINT2 */
- #define ARIZONA_IM_JD1_RISE_EINT2_WIDTH 1 /* IM_JD1_RISE_EINT2 */
- #define ARIZONA_IM_JD2_FALL_EINT2 0x0002 /* IM_JD2_FALL_EINT2 */
- #define ARIZONA_IM_JD2_FALL_EINT2_MASK 0x0002 /* IM_JD2_FALL_EINT2 */
- #define ARIZONA_IM_JD2_FALL_EINT2_SHIFT 1 /* IM_JD2_FALL_EINT2 */
- #define ARIZONA_IM_JD2_FALL_EINT2_WIDTH 1 /* IM_JD2_FALL_EINT2 */
- #define ARIZONA_IM_JD2_RISE_EINT2 0x0001 /* IM_JD2_RISE_EINT2 */
- #define ARIZONA_IM_JD2_RISE_EINT2_MASK 0x0001 /* IM_JD2_RISE_EINT2 */
- #define ARIZONA_IM_JD2_RISE_EINT2_SHIFT 0 /* IM_JD2_RISE_EINT2 */
- #define ARIZONA_IM_JD2_RISE_EINT2_WIDTH 1 /* IM_JD2_RISE_EINT2 */
- /*
- * R3413 (0xD55) - AOD IRQ Raw Status
- */
- #define ARIZONA_MICD_CLAMP_STS 0x0008 /* MICD_CLAMP_STS */
- #define ARIZONA_MICD_CLAMP_STS_MASK 0x0008 /* MICD_CLAMP_STS */
- #define ARIZONA_MICD_CLAMP_STS_SHIFT 3 /* MICD_CLAMP_STS */
- #define ARIZONA_MICD_CLAMP_STS_WIDTH 1 /* MICD_CLAMP_STS */
- #define ARIZONA_GP5_STS 0x0004 /* GP5_STS */
- #define ARIZONA_GP5_STS_MASK 0x0004 /* GP5_STS */
- #define ARIZONA_GP5_STS_SHIFT 2 /* GP5_STS */
- #define ARIZONA_GP5_STS_WIDTH 1 /* GP5_STS */
- #define ARIZONA_JD2_STS 0x0002 /* JD2_STS */
- #define ARIZONA_JD2_STS_MASK 0x0002 /* JD2_STS */
- #define ARIZONA_JD2_STS_SHIFT 1 /* JD2_STS */
- #define ARIZONA_JD2_STS_WIDTH 1 /* JD2_STS */
- #define ARIZONA_JD1_STS 0x0001 /* JD1_STS */
- #define ARIZONA_JD1_STS_MASK 0x0001 /* JD1_STS */
- #define ARIZONA_JD1_STS_SHIFT 0 /* JD1_STS */
- #define ARIZONA_JD1_STS_WIDTH 1 /* JD1_STS */
- /*
- * R3414 (0xD56) - Jack detect debounce
- */
- #define ARIZONA_MICD_CLAMP_DB 0x0008 /* MICD_CLAMP_DB */
- #define ARIZONA_MICD_CLAMP_DB_MASK 0x0008 /* MICD_CLAMP_DB */
- #define ARIZONA_MICD_CLAMP_DB_SHIFT 3 /* MICD_CLAMP_DB */
- #define ARIZONA_MICD_CLAMP_DB_WIDTH 1 /* MICD_CLAMP_DB */
- #define ARIZONA_JD2_DB 0x0002 /* JD2_DB */
- #define ARIZONA_JD2_DB_MASK 0x0002 /* JD2_DB */
- #define ARIZONA_JD2_DB_SHIFT 1 /* JD2_DB */
- #define ARIZONA_JD2_DB_WIDTH 1 /* JD2_DB */
- #define ARIZONA_JD1_DB 0x0001 /* JD1_DB */
- #define ARIZONA_JD1_DB_MASK 0x0001 /* JD1_DB */
- #define ARIZONA_JD1_DB_SHIFT 0 /* JD1_DB */
- #define ARIZONA_JD1_DB_WIDTH 1 /* JD1_DB */
- /*
- * R3584 (0xE00) - FX_Ctrl1
- */
- #define ARIZONA_FX_RATE_MASK 0x7800 /* FX_RATE - [14:11] */
- #define ARIZONA_FX_RATE_SHIFT 11 /* FX_RATE - [14:11] */
- #define ARIZONA_FX_RATE_WIDTH 4 /* FX_RATE - [14:11] */
- /*
- * R3585 (0xE01) - FX_Ctrl2
- */
- #define ARIZONA_FX_STS_MASK 0xFFF0 /* FX_STS - [15:4] */
- #define ARIZONA_FX_STS_SHIFT 4 /* FX_STS - [15:4] */
- #define ARIZONA_FX_STS_WIDTH 12 /* FX_STS - [15:4] */
- /*
- * R3600 (0xE10) - EQ1_1
- */
- #define ARIZONA_EQ1_B1_GAIN_MASK 0xF800 /* EQ1_B1_GAIN - [15:11] */
- #define ARIZONA_EQ1_B1_GAIN_SHIFT 11 /* EQ1_B1_GAIN - [15:11] */
- #define ARIZONA_EQ1_B1_GAIN_WIDTH 5 /* EQ1_B1_GAIN - [15:11] */
- #define ARIZONA_EQ1_B2_GAIN_MASK 0x07C0 /* EQ1_B2_GAIN - [10:6] */
- #define ARIZONA_EQ1_B2_GAIN_SHIFT 6 /* EQ1_B2_GAIN - [10:6] */
- #define ARIZONA_EQ1_B2_GAIN_WIDTH 5 /* EQ1_B2_GAIN - [10:6] */
- #define ARIZONA_EQ1_B3_GAIN_MASK 0x003E /* EQ1_B3_GAIN - [5:1] */
- #define ARIZONA_EQ1_B3_GAIN_SHIFT 1 /* EQ1_B3_GAIN - [5:1] */
- #define ARIZONA_EQ1_B3_GAIN_WIDTH 5 /* EQ1_B3_GAIN - [5:1] */
- #define ARIZONA_EQ1_ENA 0x0001 /* EQ1_ENA */
- #define ARIZONA_EQ1_ENA_MASK 0x0001 /* EQ1_ENA */
- #define ARIZONA_EQ1_ENA_SHIFT 0 /* EQ1_ENA */
- #define ARIZONA_EQ1_ENA_WIDTH 1 /* EQ1_ENA */
- /*
- * R3601 (0xE11) - EQ1_2
- */
- #define ARIZONA_EQ1_B4_GAIN_MASK 0xF800 /* EQ1_B4_GAIN - [15:11] */
- #define ARIZONA_EQ1_B4_GAIN_SHIFT 11 /* EQ1_B4_GAIN - [15:11] */
- #define ARIZONA_EQ1_B4_GAIN_WIDTH 5 /* EQ1_B4_GAIN - [15:11] */
- #define ARIZONA_EQ1_B5_GAIN_MASK 0x07C0 /* EQ1_B5_GAIN - [10:6] */
- #define ARIZONA_EQ1_B5_GAIN_SHIFT 6 /* EQ1_B5_GAIN - [10:6] */
- #define ARIZONA_EQ1_B5_GAIN_WIDTH 5 /* EQ1_B5_GAIN - [10:6] */
- #define ARIZONA_EQ1_B1_MODE 0x0001 /* EQ1_B1_MODE */
- #define ARIZONA_EQ1_B1_MODE_MASK 0x0001 /* EQ1_B1_MODE */
- #define ARIZONA_EQ1_B1_MODE_SHIFT 0 /* EQ1_B1_MODE */
- #define ARIZONA_EQ1_B1_MODE_WIDTH 1 /* EQ1_B1_MODE */
- /*
- * R3602 (0xE12) - EQ1_3
- */
- #define ARIZONA_EQ1_B1_A_MASK 0xFFFF /* EQ1_B1_A - [15:0] */
- #define ARIZONA_EQ1_B1_A_SHIFT 0 /* EQ1_B1_A - [15:0] */
- #define ARIZONA_EQ1_B1_A_WIDTH 16 /* EQ1_B1_A - [15:0] */
- /*
- * R3603 (0xE13) - EQ1_4
- */
- #define ARIZONA_EQ1_B1_B_MASK 0xFFFF /* EQ1_B1_B - [15:0] */
- #define ARIZONA_EQ1_B1_B_SHIFT 0 /* EQ1_B1_B - [15:0] */
- #define ARIZONA_EQ1_B1_B_WIDTH 16 /* EQ1_B1_B - [15:0] */
- /*
- * R3604 (0xE14) - EQ1_5
- */
- #define ARIZONA_EQ1_B1_PG_MASK 0xFFFF /* EQ1_B1_PG - [15:0] */
- #define ARIZONA_EQ1_B1_PG_SHIFT 0 /* EQ1_B1_PG - [15:0] */
- #define ARIZONA_EQ1_B1_PG_WIDTH 16 /* EQ1_B1_PG - [15:0] */
- /*
- * R3605 (0xE15) - EQ1_6
- */
- #define ARIZONA_EQ1_B2_A_MASK 0xFFFF /* EQ1_B2_A - [15:0] */
- #define ARIZONA_EQ1_B2_A_SHIFT 0 /* EQ1_B2_A - [15:0] */
- #define ARIZONA_EQ1_B2_A_WIDTH 16 /* EQ1_B2_A - [15:0] */
- /*
- * R3606 (0xE16) - EQ1_7
- */
- #define ARIZONA_EQ1_B2_B_MASK 0xFFFF /* EQ1_B2_B - [15:0] */
- #define ARIZONA_EQ1_B2_B_SHIFT 0 /* EQ1_B2_B - [15:0] */
- #define ARIZONA_EQ1_B2_B_WIDTH 16 /* EQ1_B2_B - [15:0] */
- /*
- * R3607 (0xE17) - EQ1_8
- */
- #define ARIZONA_EQ1_B2_C_MASK 0xFFFF /* EQ1_B2_C - [15:0] */
- #define ARIZONA_EQ1_B2_C_SHIFT 0 /* EQ1_B2_C - [15:0] */
- #define ARIZONA_EQ1_B2_C_WIDTH 16 /* EQ1_B2_C - [15:0] */
- /*
- * R3608 (0xE18) - EQ1_9
- */
- #define ARIZONA_EQ1_B2_PG_MASK 0xFFFF /* EQ1_B2_PG - [15:0] */
- #define ARIZONA_EQ1_B2_PG_SHIFT 0 /* EQ1_B2_PG - [15:0] */
- #define ARIZONA_EQ1_B2_PG_WIDTH 16 /* EQ1_B2_PG - [15:0] */
- /*
- * R3609 (0xE19) - EQ1_10
- */
- #define ARIZONA_EQ1_B3_A_MASK 0xFFFF /* EQ1_B3_A - [15:0] */
- #define ARIZONA_EQ1_B3_A_SHIFT 0 /* EQ1_B3_A - [15:0] */
- #define ARIZONA_EQ1_B3_A_WIDTH 16 /* EQ1_B3_A - [15:0] */
- /*
- * R3610 (0xE1A) - EQ1_11
- */
- #define ARIZONA_EQ1_B3_B_MASK 0xFFFF /* EQ1_B3_B - [15:0] */
- #define ARIZONA_EQ1_B3_B_SHIFT 0 /* EQ1_B3_B - [15:0] */
- #define ARIZONA_EQ1_B3_B_WIDTH 16 /* EQ1_B3_B - [15:0] */
- /*
- * R3611 (0xE1B) - EQ1_12
- */
- #define ARIZONA_EQ1_B3_C_MASK 0xFFFF /* EQ1_B3_C - [15:0] */
- #define ARIZONA_EQ1_B3_C_SHIFT 0 /* EQ1_B3_C - [15:0] */
- #define ARIZONA_EQ1_B3_C_WIDTH 16 /* EQ1_B3_C - [15:0] */
- /*
- * R3612 (0xE1C) - EQ1_13
- */
- #define ARIZONA_EQ1_B3_PG_MASK 0xFFFF /* EQ1_B3_PG - [15:0] */
- #define ARIZONA_EQ1_B3_PG_SHIFT 0 /* EQ1_B3_PG - [15:0] */
- #define ARIZONA_EQ1_B3_PG_WIDTH 16 /* EQ1_B3_PG - [15:0] */
- /*
- * R3613 (0xE1D) - EQ1_14
- */
- #define ARIZONA_EQ1_B4_A_MASK 0xFFFF /* EQ1_B4_A - [15:0] */
- #define ARIZONA_EQ1_B4_A_SHIFT 0 /* EQ1_B4_A - [15:0] */
- #define ARIZONA_EQ1_B4_A_WIDTH 16 /* EQ1_B4_A - [15:0] */
- /*
- * R3614 (0xE1E) - EQ1_15
- */
- #define ARIZONA_EQ1_B4_B_MASK 0xFFFF /* EQ1_B4_B - [15:0] */
- #define ARIZONA_EQ1_B4_B_SHIFT 0 /* EQ1_B4_B - [15:0] */
- #define ARIZONA_EQ1_B4_B_WIDTH 16 /* EQ1_B4_B - [15:0] */
- /*
- * R3615 (0xE1F) - EQ1_16
- */
- #define ARIZONA_EQ1_B4_C_MASK 0xFFFF /* EQ1_B4_C - [15:0] */
- #define ARIZONA_EQ1_B4_C_SHIFT 0 /* EQ1_B4_C - [15:0] */
- #define ARIZONA_EQ1_B4_C_WIDTH 16 /* EQ1_B4_C - [15:0] */
- /*
- * R3616 (0xE20) - EQ1_17
- */
- #define ARIZONA_EQ1_B4_PG_MASK 0xFFFF /* EQ1_B4_PG - [15:0] */
- #define ARIZONA_EQ1_B4_PG_SHIFT 0 /* EQ1_B4_PG - [15:0] */
- #define ARIZONA_EQ1_B4_PG_WIDTH 16 /* EQ1_B4_PG - [15:0] */
- /*
- * R3617 (0xE21) - EQ1_18
- */
- #define ARIZONA_EQ1_B5_A_MASK 0xFFFF /* EQ1_B5_A - [15:0] */
- #define ARIZONA_EQ1_B5_A_SHIFT 0 /* EQ1_B5_A - [15:0] */
- #define ARIZONA_EQ1_B5_A_WIDTH 16 /* EQ1_B5_A - [15:0] */
- /*
- * R3618 (0xE22) - EQ1_19
- */
- #define ARIZONA_EQ1_B5_B_MASK 0xFFFF /* EQ1_B5_B - [15:0] */
- #define ARIZONA_EQ1_B5_B_SHIFT 0 /* EQ1_B5_B - [15:0] */
- #define ARIZONA_EQ1_B5_B_WIDTH 16 /* EQ1_B5_B - [15:0] */
- /*
- * R3619 (0xE23) - EQ1_20
- */
- #define ARIZONA_EQ1_B5_PG_MASK 0xFFFF /* EQ1_B5_PG - [15:0] */
- #define ARIZONA_EQ1_B5_PG_SHIFT 0 /* EQ1_B5_PG - [15:0] */
- #define ARIZONA_EQ1_B5_PG_WIDTH 16 /* EQ1_B5_PG - [15:0] */
- /*
- * R3620 (0xE24) - EQ1_21
- */
- #define ARIZONA_EQ1_B1_C_MASK 0xFFFF /* EQ1_B1_C - [15:0] */
- #define ARIZONA_EQ1_B1_C_SHIFT 0 /* EQ1_B1_C - [15:0] */
- #define ARIZONA_EQ1_B1_C_WIDTH 16 /* EQ1_B1_C - [15:0] */
- /*
- * R3622 (0xE26) - EQ2_1
- */
- #define ARIZONA_EQ2_B1_GAIN_MASK 0xF800 /* EQ2_B1_GAIN - [15:11] */
- #define ARIZONA_EQ2_B1_GAIN_SHIFT 11 /* EQ2_B1_GAIN - [15:11] */
- #define ARIZONA_EQ2_B1_GAIN_WIDTH 5 /* EQ2_B1_GAIN - [15:11] */
- #define ARIZONA_EQ2_B2_GAIN_MASK 0x07C0 /* EQ2_B2_GAIN - [10:6] */
- #define ARIZONA_EQ2_B2_GAIN_SHIFT 6 /* EQ2_B2_GAIN - [10:6] */
- #define ARIZONA_EQ2_B2_GAIN_WIDTH 5 /* EQ2_B2_GAIN - [10:6] */
- #define ARIZONA_EQ2_B3_GAIN_MASK 0x003E /* EQ2_B3_GAIN - [5:1] */
- #define ARIZONA_EQ2_B3_GAIN_SHIFT 1 /* EQ2_B3_GAIN - [5:1] */
- #define ARIZONA_EQ2_B3_GAIN_WIDTH 5 /* EQ2_B3_GAIN - [5:1] */
- #define ARIZONA_EQ2_ENA 0x0001 /* EQ2_ENA */
- #define ARIZONA_EQ2_ENA_MASK 0x0001 /* EQ2_ENA */
- #define ARIZONA_EQ2_ENA_SHIFT 0 /* EQ2_ENA */
- #define ARIZONA_EQ2_ENA_WIDTH 1 /* EQ2_ENA */
- /*
- * R3623 (0xE27) - EQ2_2
- */
- #define ARIZONA_EQ2_B4_GAIN_MASK 0xF800 /* EQ2_B4_GAIN - [15:11] */
- #define ARIZONA_EQ2_B4_GAIN_SHIFT 11 /* EQ2_B4_GAIN - [15:11] */
- #define ARIZONA_EQ2_B4_GAIN_WIDTH 5 /* EQ2_B4_GAIN - [15:11] */
- #define ARIZONA_EQ2_B5_GAIN_MASK 0x07C0 /* EQ2_B5_GAIN - [10:6] */
- #define ARIZONA_EQ2_B5_GAIN_SHIFT 6 /* EQ2_B5_GAIN - [10:6] */
- #define ARIZONA_EQ2_B5_GAIN_WIDTH 5 /* EQ2_B5_GAIN - [10:6] */
- #define ARIZONA_EQ2_B1_MODE 0x0001 /* EQ2_B1_MODE */
- #define ARIZONA_EQ2_B1_MODE_MASK 0x0001 /* EQ2_B1_MODE */
- #define ARIZONA_EQ2_B1_MODE_SHIFT 0 /* EQ2_B1_MODE */
- #define ARIZONA_EQ2_B1_MODE_WIDTH 1 /* EQ2_B1_MODE */
- /*
- * R3624 (0xE28) - EQ2_3
- */
- #define ARIZONA_EQ2_B1_A_MASK 0xFFFF /* EQ2_B1_A - [15:0] */
- #define ARIZONA_EQ2_B1_A_SHIFT 0 /* EQ2_B1_A - [15:0] */
- #define ARIZONA_EQ2_B1_A_WIDTH 16 /* EQ2_B1_A - [15:0] */
- /*
- * R3625 (0xE29) - EQ2_4
- */
- #define ARIZONA_EQ2_B1_B_MASK 0xFFFF /* EQ2_B1_B - [15:0] */
- #define ARIZONA_EQ2_B1_B_SHIFT 0 /* EQ2_B1_B - [15:0] */
- #define ARIZONA_EQ2_B1_B_WIDTH 16 /* EQ2_B1_B - [15:0] */
- /*
- * R3626 (0xE2A) - EQ2_5
- */
- #define ARIZONA_EQ2_B1_PG_MASK 0xFFFF /* EQ2_B1_PG - [15:0] */
- #define ARIZONA_EQ2_B1_PG_SHIFT 0 /* EQ2_B1_PG - [15:0] */
- #define ARIZONA_EQ2_B1_PG_WIDTH 16 /* EQ2_B1_PG - [15:0] */
- /*
- * R3627 (0xE2B) - EQ2_6
- */
- #define ARIZONA_EQ2_B2_A_MASK 0xFFFF /* EQ2_B2_A - [15:0] */
- #define ARIZONA_EQ2_B2_A_SHIFT 0 /* EQ2_B2_A - [15:0] */
- #define ARIZONA_EQ2_B2_A_WIDTH 16 /* EQ2_B2_A - [15:0] */
- /*
- * R3628 (0xE2C) - EQ2_7
- */
- #define ARIZONA_EQ2_B2_B_MASK 0xFFFF /* EQ2_B2_B - [15:0] */
- #define ARIZONA_EQ2_B2_B_SHIFT 0 /* EQ2_B2_B - [15:0] */
- #define ARIZONA_EQ2_B2_B_WIDTH 16 /* EQ2_B2_B - [15:0] */
- /*
- * R3629 (0xE2D) - EQ2_8
- */
- #define ARIZONA_EQ2_B2_C_MASK 0xFFFF /* EQ2_B2_C - [15:0] */
- #define ARIZONA_EQ2_B2_C_SHIFT 0 /* EQ2_B2_C - [15:0] */
- #define ARIZONA_EQ2_B2_C_WIDTH 16 /* EQ2_B2_C - [15:0] */
- /*
- * R3630 (0xE2E) - EQ2_9
- */
- #define ARIZONA_EQ2_B2_PG_MASK 0xFFFF /* EQ2_B2_PG - [15:0] */
- #define ARIZONA_EQ2_B2_PG_SHIFT 0 /* EQ2_B2_PG - [15:0] */
- #define ARIZONA_EQ2_B2_PG_WIDTH 16 /* EQ2_B2_PG - [15:0] */
- /*
- * R3631 (0xE2F) - EQ2_10
- */
- #define ARIZONA_EQ2_B3_A_MASK 0xFFFF /* EQ2_B3_A - [15:0] */
- #define ARIZONA_EQ2_B3_A_SHIFT 0 /* EQ2_B3_A - [15:0] */
- #define ARIZONA_EQ2_B3_A_WIDTH 16 /* EQ2_B3_A - [15:0] */
- /*
- * R3632 (0xE30) - EQ2_11
- */
- #define ARIZONA_EQ2_B3_B_MASK 0xFFFF /* EQ2_B3_B - [15:0] */
- #define ARIZONA_EQ2_B3_B_SHIFT 0 /* EQ2_B3_B - [15:0] */
- #define ARIZONA_EQ2_B3_B_WIDTH 16 /* EQ2_B3_B - [15:0] */
- /*
- * R3633 (0xE31) - EQ2_12
- */
- #define ARIZONA_EQ2_B3_C_MASK 0xFFFF /* EQ2_B3_C - [15:0] */
- #define ARIZONA_EQ2_B3_C_SHIFT 0 /* EQ2_B3_C - [15:0] */
- #define ARIZONA_EQ2_B3_C_WIDTH 16 /* EQ2_B3_C - [15:0] */
- /*
- * R3634 (0xE32) - EQ2_13
- */
- #define ARIZONA_EQ2_B3_PG_MASK 0xFFFF /* EQ2_B3_PG - [15:0] */
- #define ARIZONA_EQ2_B3_PG_SHIFT 0 /* EQ2_B3_PG - [15:0] */
- #define ARIZONA_EQ2_B3_PG_WIDTH 16 /* EQ2_B3_PG - [15:0] */
- /*
- * R3635 (0xE33) - EQ2_14
- */
- #define ARIZONA_EQ2_B4_A_MASK 0xFFFF /* EQ2_B4_A - [15:0] */
- #define ARIZONA_EQ2_B4_A_SHIFT 0 /* EQ2_B4_A - [15:0] */
- #define ARIZONA_EQ2_B4_A_WIDTH 16 /* EQ2_B4_A - [15:0] */
- /*
- * R3636 (0xE34) - EQ2_15
- */
- #define ARIZONA_EQ2_B4_B_MASK 0xFFFF /* EQ2_B4_B - [15:0] */
- #define ARIZONA_EQ2_B4_B_SHIFT 0 /* EQ2_B4_B - [15:0] */
- #define ARIZONA_EQ2_B4_B_WIDTH 16 /* EQ2_B4_B - [15:0] */
- /*
- * R3637 (0xE35) - EQ2_16
- */
- #define ARIZONA_EQ2_B4_C_MASK 0xFFFF /* EQ2_B4_C - [15:0] */
- #define ARIZONA_EQ2_B4_C_SHIFT 0 /* EQ2_B4_C - [15:0] */
- #define ARIZONA_EQ2_B4_C_WIDTH 16 /* EQ2_B4_C - [15:0] */
- /*
- * R3638 (0xE36) - EQ2_17
- */
- #define ARIZONA_EQ2_B4_PG_MASK 0xFFFF /* EQ2_B4_PG - [15:0] */
- #define ARIZONA_EQ2_B4_PG_SHIFT 0 /* EQ2_B4_PG - [15:0] */
- #define ARIZONA_EQ2_B4_PG_WIDTH 16 /* EQ2_B4_PG - [15:0] */
- /*
- * R3639 (0xE37) - EQ2_18
- */
- #define ARIZONA_EQ2_B5_A_MASK 0xFFFF /* EQ2_B5_A - [15:0] */
- #define ARIZONA_EQ2_B5_A_SHIFT 0 /* EQ2_B5_A - [15:0] */
- #define ARIZONA_EQ2_B5_A_WIDTH 16 /* EQ2_B5_A - [15:0] */
- /*
- * R3640 (0xE38) - EQ2_19
- */
- #define ARIZONA_EQ2_B5_B_MASK 0xFFFF /* EQ2_B5_B - [15:0] */
- #define ARIZONA_EQ2_B5_B_SHIFT 0 /* EQ2_B5_B - [15:0] */
- #define ARIZONA_EQ2_B5_B_WIDTH 16 /* EQ2_B5_B - [15:0] */
- /*
- * R3641 (0xE39) - EQ2_20
- */
- #define ARIZONA_EQ2_B5_PG_MASK 0xFFFF /* EQ2_B5_PG - [15:0] */
- #define ARIZONA_EQ2_B5_PG_SHIFT 0 /* EQ2_B5_PG - [15:0] */
- #define ARIZONA_EQ2_B5_PG_WIDTH 16 /* EQ2_B5_PG - [15:0] */
- /*
- * R3642 (0xE3A) - EQ2_21
- */
- #define ARIZONA_EQ2_B1_C_MASK 0xFFFF /* EQ2_B1_C - [15:0] */
- #define ARIZONA_EQ2_B1_C_SHIFT 0 /* EQ2_B1_C - [15:0] */
- #define ARIZONA_EQ2_B1_C_WIDTH 16 /* EQ2_B1_C - [15:0] */
- /*
- * R3644 (0xE3C) - EQ3_1
- */
- #define ARIZONA_EQ3_B1_GAIN_MASK 0xF800 /* EQ3_B1_GAIN - [15:11] */
- #define ARIZONA_EQ3_B1_GAIN_SHIFT 11 /* EQ3_B1_GAIN - [15:11] */
- #define ARIZONA_EQ3_B1_GAIN_WIDTH 5 /* EQ3_B1_GAIN - [15:11] */
- #define ARIZONA_EQ3_B2_GAIN_MASK 0x07C0 /* EQ3_B2_GAIN - [10:6] */
- #define ARIZONA_EQ3_B2_GAIN_SHIFT 6 /* EQ3_B2_GAIN - [10:6] */
- #define ARIZONA_EQ3_B2_GAIN_WIDTH 5 /* EQ3_B2_GAIN - [10:6] */
- #define ARIZONA_EQ3_B3_GAIN_MASK 0x003E /* EQ3_B3_GAIN - [5:1] */
- #define ARIZONA_EQ3_B3_GAIN_SHIFT 1 /* EQ3_B3_GAIN - [5:1] */
- #define ARIZONA_EQ3_B3_GAIN_WIDTH 5 /* EQ3_B3_GAIN - [5:1] */
- #define ARIZONA_EQ3_ENA 0x0001 /* EQ3_ENA */
- #define ARIZONA_EQ3_ENA_MASK 0x0001 /* EQ3_ENA */
- #define ARIZONA_EQ3_ENA_SHIFT 0 /* EQ3_ENA */
- #define ARIZONA_EQ3_ENA_WIDTH 1 /* EQ3_ENA */
- /*
- * R3645 (0xE3D) - EQ3_2
- */
- #define ARIZONA_EQ3_B4_GAIN_MASK 0xF800 /* EQ3_B4_GAIN - [15:11] */
- #define ARIZONA_EQ3_B4_GAIN_SHIFT 11 /* EQ3_B4_GAIN - [15:11] */
- #define ARIZONA_EQ3_B4_GAIN_WIDTH 5 /* EQ3_B4_GAIN - [15:11] */
- #define ARIZONA_EQ3_B5_GAIN_MASK 0x07C0 /* EQ3_B5_GAIN - [10:6] */
- #define ARIZONA_EQ3_B5_GAIN_SHIFT 6 /* EQ3_B5_GAIN - [10:6] */
- #define ARIZONA_EQ3_B5_GAIN_WIDTH 5 /* EQ3_B5_GAIN - [10:6] */
- #define ARIZONA_EQ3_B1_MODE 0x0001 /* EQ3_B1_MODE */
- #define ARIZONA_EQ3_B1_MODE_MASK 0x0001 /* EQ3_B1_MODE */
- #define ARIZONA_EQ3_B1_MODE_SHIFT 0 /* EQ3_B1_MODE */
- #define ARIZONA_EQ3_B1_MODE_WIDTH 1 /* EQ3_B1_MODE */
- /*
- * R3646 (0xE3E) - EQ3_3
- */
- #define ARIZONA_EQ3_B1_A_MASK 0xFFFF /* EQ3_B1_A - [15:0] */
- #define ARIZONA_EQ3_B1_A_SHIFT 0 /* EQ3_B1_A - [15:0] */
- #define ARIZONA_EQ3_B1_A_WIDTH 16 /* EQ3_B1_A - [15:0] */
- /*
- * R3647 (0xE3F) - EQ3_4
- */
- #define ARIZONA_EQ3_B1_B_MASK 0xFFFF /* EQ3_B1_B - [15:0] */
- #define ARIZONA_EQ3_B1_B_SHIFT 0 /* EQ3_B1_B - [15:0] */
- #define ARIZONA_EQ3_B1_B_WIDTH 16 /* EQ3_B1_B - [15:0] */
- /*
- * R3648 (0xE40) - EQ3_5
- */
- #define ARIZONA_EQ3_B1_PG_MASK 0xFFFF /* EQ3_B1_PG - [15:0] */
- #define ARIZONA_EQ3_B1_PG_SHIFT 0 /* EQ3_B1_PG - [15:0] */
- #define ARIZONA_EQ3_B1_PG_WIDTH 16 /* EQ3_B1_PG - [15:0] */
- /*
- * R3649 (0xE41) - EQ3_6
- */
- #define ARIZONA_EQ3_B2_A_MASK 0xFFFF /* EQ3_B2_A - [15:0] */
- #define ARIZONA_EQ3_B2_A_SHIFT 0 /* EQ3_B2_A - [15:0] */
- #define ARIZONA_EQ3_B2_A_WIDTH 16 /* EQ3_B2_A - [15:0] */
- /*
- * R3650 (0xE42) - EQ3_7
- */
- #define ARIZONA_EQ3_B2_B_MASK 0xFFFF /* EQ3_B2_B - [15:0] */
- #define ARIZONA_EQ3_B2_B_SHIFT 0 /* EQ3_B2_B - [15:0] */
- #define ARIZONA_EQ3_B2_B_WIDTH 16 /* EQ3_B2_B - [15:0] */
- /*
- * R3651 (0xE43) - EQ3_8
- */
- #define ARIZONA_EQ3_B2_C_MASK 0xFFFF /* EQ3_B2_C - [15:0] */
- #define ARIZONA_EQ3_B2_C_SHIFT 0 /* EQ3_B2_C - [15:0] */
- #define ARIZONA_EQ3_B2_C_WIDTH 16 /* EQ3_B2_C - [15:0] */
- /*
- * R3652 (0xE44) - EQ3_9
- */
- #define ARIZONA_EQ3_B2_PG_MASK 0xFFFF /* EQ3_B2_PG - [15:0] */
- #define ARIZONA_EQ3_B2_PG_SHIFT 0 /* EQ3_B2_PG - [15:0] */
- #define ARIZONA_EQ3_B2_PG_WIDTH 16 /* EQ3_B2_PG - [15:0] */
- /*
- * R3653 (0xE45) - EQ3_10
- */
- #define ARIZONA_EQ3_B3_A_MASK 0xFFFF /* EQ3_B3_A - [15:0] */
- #define ARIZONA_EQ3_B3_A_SHIFT 0 /* EQ3_B3_A - [15:0] */
- #define ARIZONA_EQ3_B3_A_WIDTH 16 /* EQ3_B3_A - [15:0] */
- /*
- * R3654 (0xE46) - EQ3_11
- */
- #define ARIZONA_EQ3_B3_B_MASK 0xFFFF /* EQ3_B3_B - [15:0] */
- #define ARIZONA_EQ3_B3_B_SHIFT 0 /* EQ3_B3_B - [15:0] */
- #define ARIZONA_EQ3_B3_B_WIDTH 16 /* EQ3_B3_B - [15:0] */
- /*
- * R3655 (0xE47) - EQ3_12
- */
- #define ARIZONA_EQ3_B3_C_MASK 0xFFFF /* EQ3_B3_C - [15:0] */
- #define ARIZONA_EQ3_B3_C_SHIFT 0 /* EQ3_B3_C - [15:0] */
- #define ARIZONA_EQ3_B3_C_WIDTH 16 /* EQ3_B3_C - [15:0] */
- /*
- * R3656 (0xE48) - EQ3_13
- */
- #define ARIZONA_EQ3_B3_PG_MASK 0xFFFF /* EQ3_B3_PG - [15:0] */
- #define ARIZONA_EQ3_B3_PG_SHIFT 0 /* EQ3_B3_PG - [15:0] */
- #define ARIZONA_EQ3_B3_PG_WIDTH 16 /* EQ3_B3_PG - [15:0] */
- /*
- * R3657 (0xE49) - EQ3_14
- */
- #define ARIZONA_EQ3_B4_A_MASK 0xFFFF /* EQ3_B4_A - [15:0] */
- #define ARIZONA_EQ3_B4_A_SHIFT 0 /* EQ3_B4_A - [15:0] */
- #define ARIZONA_EQ3_B4_A_WIDTH 16 /* EQ3_B4_A - [15:0] */
- /*
- * R3658 (0xE4A) - EQ3_15
- */
- #define ARIZONA_EQ3_B4_B_MASK 0xFFFF /* EQ3_B4_B - [15:0] */
- #define ARIZONA_EQ3_B4_B_SHIFT 0 /* EQ3_B4_B - [15:0] */
- #define ARIZONA_EQ3_B4_B_WIDTH 16 /* EQ3_B4_B - [15:0] */
- /*
- * R3659 (0xE4B) - EQ3_16
- */
- #define ARIZONA_EQ3_B4_C_MASK 0xFFFF /* EQ3_B4_C - [15:0] */
- #define ARIZONA_EQ3_B4_C_SHIFT 0 /* EQ3_B4_C - [15:0] */
- #define ARIZONA_EQ3_B4_C_WIDTH 16 /* EQ3_B4_C - [15:0] */
- /*
- * R3660 (0xE4C) - EQ3_17
- */
- #define ARIZONA_EQ3_B4_PG_MASK 0xFFFF /* EQ3_B4_PG - [15:0] */
- #define ARIZONA_EQ3_B4_PG_SHIFT 0 /* EQ3_B4_PG - [15:0] */
- #define ARIZONA_EQ3_B4_PG_WIDTH 16 /* EQ3_B4_PG - [15:0] */
- /*
- * R3661 (0xE4D) - EQ3_18
- */
- #define ARIZONA_EQ3_B5_A_MASK 0xFFFF /* EQ3_B5_A - [15:0] */
- #define ARIZONA_EQ3_B5_A_SHIFT 0 /* EQ3_B5_A - [15:0] */
- #define ARIZONA_EQ3_B5_A_WIDTH 16 /* EQ3_B5_A - [15:0] */
- /*
- * R3662 (0xE4E) - EQ3_19
- */
- #define ARIZONA_EQ3_B5_B_MASK 0xFFFF /* EQ3_B5_B - [15:0] */
- #define ARIZONA_EQ3_B5_B_SHIFT 0 /* EQ3_B5_B - [15:0] */
- #define ARIZONA_EQ3_B5_B_WIDTH 16 /* EQ3_B5_B - [15:0] */
- /*
- * R3663 (0xE4F) - EQ3_20
- */
- #define ARIZONA_EQ3_B5_PG_MASK 0xFFFF /* EQ3_B5_PG - [15:0] */
- #define ARIZONA_EQ3_B5_PG_SHIFT 0 /* EQ3_B5_PG - [15:0] */
- #define ARIZONA_EQ3_B5_PG_WIDTH 16 /* EQ3_B5_PG - [15:0] */
- /*
- * R3664 (0xE50) - EQ3_21
- */
- #define ARIZONA_EQ3_B1_C_MASK 0xFFFF /* EQ3_B1_C - [15:0] */
- #define ARIZONA_EQ3_B1_C_SHIFT 0 /* EQ3_B1_C - [15:0] */
- #define ARIZONA_EQ3_B1_C_WIDTH 16 /* EQ3_B1_C - [15:0] */
- /*
- * R3666 (0xE52) - EQ4_1
- */
- #define ARIZONA_EQ4_B1_GAIN_MASK 0xF800 /* EQ4_B1_GAIN - [15:11] */
- #define ARIZONA_EQ4_B1_GAIN_SHIFT 11 /* EQ4_B1_GAIN - [15:11] */
- #define ARIZONA_EQ4_B1_GAIN_WIDTH 5 /* EQ4_B1_GAIN - [15:11] */
- #define ARIZONA_EQ4_B2_GAIN_MASK 0x07C0 /* EQ4_B2_GAIN - [10:6] */
- #define ARIZONA_EQ4_B2_GAIN_SHIFT 6 /* EQ4_B2_GAIN - [10:6] */
- #define ARIZONA_EQ4_B2_GAIN_WIDTH 5 /* EQ4_B2_GAIN - [10:6] */
- #define ARIZONA_EQ4_B3_GAIN_MASK 0x003E /* EQ4_B3_GAIN - [5:1] */
- #define ARIZONA_EQ4_B3_GAIN_SHIFT 1 /* EQ4_B3_GAIN - [5:1] */
- #define ARIZONA_EQ4_B3_GAIN_WIDTH 5 /* EQ4_B3_GAIN - [5:1] */
- #define ARIZONA_EQ4_ENA 0x0001 /* EQ4_ENA */
- #define ARIZONA_EQ4_ENA_MASK 0x0001 /* EQ4_ENA */
- #define ARIZONA_EQ4_ENA_SHIFT 0 /* EQ4_ENA */
- #define ARIZONA_EQ4_ENA_WIDTH 1 /* EQ4_ENA */
- /*
- * R3667 (0xE53) - EQ4_2
- */
- #define ARIZONA_EQ4_B4_GAIN_MASK 0xF800 /* EQ4_B4_GAIN - [15:11] */
- #define ARIZONA_EQ4_B4_GAIN_SHIFT 11 /* EQ4_B4_GAIN - [15:11] */
- #define ARIZONA_EQ4_B4_GAIN_WIDTH 5 /* EQ4_B4_GAIN - [15:11] */
- #define ARIZONA_EQ4_B5_GAIN_MASK 0x07C0 /* EQ4_B5_GAIN - [10:6] */
- #define ARIZONA_EQ4_B5_GAIN_SHIFT 6 /* EQ4_B5_GAIN - [10:6] */
- #define ARIZONA_EQ4_B5_GAIN_WIDTH 5 /* EQ4_B5_GAIN - [10:6] */
- #define ARIZONA_EQ4_B1_MODE 0x0001 /* EQ4_B1_MODE */
- #define ARIZONA_EQ4_B1_MODE_MASK 0x0001 /* EQ4_B1_MODE */
- #define ARIZONA_EQ4_B1_MODE_SHIFT 0 /* EQ4_B1_MODE */
- #define ARIZONA_EQ4_B1_MODE_WIDTH 1 /* EQ4_B1_MODE */
- /*
- * R3668 (0xE54) - EQ4_3
- */
- #define ARIZONA_EQ4_B1_A_MASK 0xFFFF /* EQ4_B1_A - [15:0] */
- #define ARIZONA_EQ4_B1_A_SHIFT 0 /* EQ4_B1_A - [15:0] */
- #define ARIZONA_EQ4_B1_A_WIDTH 16 /* EQ4_B1_A - [15:0] */
- /*
- * R3669 (0xE55) - EQ4_4
- */
- #define ARIZONA_EQ4_B1_B_MASK 0xFFFF /* EQ4_B1_B - [15:0] */
- #define ARIZONA_EQ4_B1_B_SHIFT 0 /* EQ4_B1_B - [15:0] */
- #define ARIZONA_EQ4_B1_B_WIDTH 16 /* EQ4_B1_B - [15:0] */
- /*
- * R3670 (0xE56) - EQ4_5
- */
- #define ARIZONA_EQ4_B1_PG_MASK 0xFFFF /* EQ4_B1_PG - [15:0] */
- #define ARIZONA_EQ4_B1_PG_SHIFT 0 /* EQ4_B1_PG - [15:0] */
- #define ARIZONA_EQ4_B1_PG_WIDTH 16 /* EQ4_B1_PG - [15:0] */
- /*
- * R3671 (0xE57) - EQ4_6
- */
- #define ARIZONA_EQ4_B2_A_MASK 0xFFFF /* EQ4_B2_A - [15:0] */
- #define ARIZONA_EQ4_B2_A_SHIFT 0 /* EQ4_B2_A - [15:0] */
- #define ARIZONA_EQ4_B2_A_WIDTH 16 /* EQ4_B2_A - [15:0] */
- /*
- * R3672 (0xE58) - EQ4_7
- */
- #define ARIZONA_EQ4_B2_B_MASK 0xFFFF /* EQ4_B2_B - [15:0] */
- #define ARIZONA_EQ4_B2_B_SHIFT 0 /* EQ4_B2_B - [15:0] */
- #define ARIZONA_EQ4_B2_B_WIDTH 16 /* EQ4_B2_B - [15:0] */
- /*
- * R3673 (0xE59) - EQ4_8
- */
- #define ARIZONA_EQ4_B2_C_MASK 0xFFFF /* EQ4_B2_C - [15:0] */
- #define ARIZONA_EQ4_B2_C_SHIFT 0 /* EQ4_B2_C - [15:0] */
- #define ARIZONA_EQ4_B2_C_WIDTH 16 /* EQ4_B2_C - [15:0] */
- /*
- * R3674 (0xE5A) - EQ4_9
- */
- #define ARIZONA_EQ4_B2_PG_MASK 0xFFFF /* EQ4_B2_PG - [15:0] */
- #define ARIZONA_EQ4_B2_PG_SHIFT 0 /* EQ4_B2_PG - [15:0] */
- #define ARIZONA_EQ4_B2_PG_WIDTH 16 /* EQ4_B2_PG - [15:0] */
- /*
- * R3675 (0xE5B) - EQ4_10
- */
- #define ARIZONA_EQ4_B3_A_MASK 0xFFFF /* EQ4_B3_A - [15:0] */
- #define ARIZONA_EQ4_B3_A_SHIFT 0 /* EQ4_B3_A - [15:0] */
- #define ARIZONA_EQ4_B3_A_WIDTH 16 /* EQ4_B3_A - [15:0] */
- /*
- * R3676 (0xE5C) - EQ4_11
- */
- #define ARIZONA_EQ4_B3_B_MASK 0xFFFF /* EQ4_B3_B - [15:0] */
- #define ARIZONA_EQ4_B3_B_SHIFT 0 /* EQ4_B3_B - [15:0] */
- #define ARIZONA_EQ4_B3_B_WIDTH 16 /* EQ4_B3_B - [15:0] */
- /*
- * R3677 (0xE5D) - EQ4_12
- */
- #define ARIZONA_EQ4_B3_C_MASK 0xFFFF /* EQ4_B3_C - [15:0] */
- #define ARIZONA_EQ4_B3_C_SHIFT 0 /* EQ4_B3_C - [15:0] */
- #define ARIZONA_EQ4_B3_C_WIDTH 16 /* EQ4_B3_C - [15:0] */
- /*
- * R3678 (0xE5E) - EQ4_13
- */
- #define ARIZONA_EQ4_B3_PG_MASK 0xFFFF /* EQ4_B3_PG - [15:0] */
- #define ARIZONA_EQ4_B3_PG_SHIFT 0 /* EQ4_B3_PG - [15:0] */
- #define ARIZONA_EQ4_B3_PG_WIDTH 16 /* EQ4_B3_PG - [15:0] */
- /*
- * R3679 (0xE5F) - EQ4_14
- */
- #define ARIZONA_EQ4_B4_A_MASK 0xFFFF /* EQ4_B4_A - [15:0] */
- #define ARIZONA_EQ4_B4_A_SHIFT 0 /* EQ4_B4_A - [15:0] */
- #define ARIZONA_EQ4_B4_A_WIDTH 16 /* EQ4_B4_A - [15:0] */
- /*
- * R3680 (0xE60) - EQ4_15
- */
- #define ARIZONA_EQ4_B4_B_MASK 0xFFFF /* EQ4_B4_B - [15:0] */
- #define ARIZONA_EQ4_B4_B_SHIFT 0 /* EQ4_B4_B - [15:0] */
- #define ARIZONA_EQ4_B4_B_WIDTH 16 /* EQ4_B4_B - [15:0] */
- /*
- * R3681 (0xE61) - EQ4_16
- */
- #define ARIZONA_EQ4_B4_C_MASK 0xFFFF /* EQ4_B4_C - [15:0] */
- #define ARIZONA_EQ4_B4_C_SHIFT 0 /* EQ4_B4_C - [15:0] */
- #define ARIZONA_EQ4_B4_C_WIDTH 16 /* EQ4_B4_C - [15:0] */
- /*
- * R3682 (0xE62) - EQ4_17
- */
- #define ARIZONA_EQ4_B4_PG_MASK 0xFFFF /* EQ4_B4_PG - [15:0] */
- #define ARIZONA_EQ4_B4_PG_SHIFT 0 /* EQ4_B4_PG - [15:0] */
- #define ARIZONA_EQ4_B4_PG_WIDTH 16 /* EQ4_B4_PG - [15:0] */
- /*
- * R3683 (0xE63) - EQ4_18
- */
- #define ARIZONA_EQ4_B5_A_MASK 0xFFFF /* EQ4_B5_A - [15:0] */
- #define ARIZONA_EQ4_B5_A_SHIFT 0 /* EQ4_B5_A - [15:0] */
- #define ARIZONA_EQ4_B5_A_WIDTH 16 /* EQ4_B5_A - [15:0] */
- /*
- * R3684 (0xE64) - EQ4_19
- */
- #define ARIZONA_EQ4_B5_B_MASK 0xFFFF /* EQ4_B5_B - [15:0] */
- #define ARIZONA_EQ4_B5_B_SHIFT 0 /* EQ4_B5_B - [15:0] */
- #define ARIZONA_EQ4_B5_B_WIDTH 16 /* EQ4_B5_B - [15:0] */
- /*
- * R3685 (0xE65) - EQ4_20
- */
- #define ARIZONA_EQ4_B5_PG_MASK 0xFFFF /* EQ4_B5_PG - [15:0] */
- #define ARIZONA_EQ4_B5_PG_SHIFT 0 /* EQ4_B5_PG - [15:0] */
- #define ARIZONA_EQ4_B5_PG_WIDTH 16 /* EQ4_B5_PG - [15:0] */
- /*
- * R3686 (0xE66) - EQ4_21
- */
- #define ARIZONA_EQ4_B1_C_MASK 0xFFFF /* EQ4_B1_C - [15:0] */
- #define ARIZONA_EQ4_B1_C_SHIFT 0 /* EQ4_B1_C - [15:0] */
- #define ARIZONA_EQ4_B1_C_WIDTH 16 /* EQ4_B1_C - [15:0] */
- /*
- * R3712 (0xE80) - DRC1 ctrl1
- */
- #define ARIZONA_DRC1_SIG_DET_RMS_MASK 0xF800 /* DRC1_SIG_DET_RMS - [15:11] */
- #define ARIZONA_DRC1_SIG_DET_RMS_SHIFT 11 /* DRC1_SIG_DET_RMS - [15:11] */
- #define ARIZONA_DRC1_SIG_DET_RMS_WIDTH 5 /* DRC1_SIG_DET_RMS - [15:11] */
- #define ARIZONA_DRC1_SIG_DET_PK_MASK 0x0600 /* DRC1_SIG_DET_PK - [10:9] */
- #define ARIZONA_DRC1_SIG_DET_PK_SHIFT 9 /* DRC1_SIG_DET_PK - [10:9] */
- #define ARIZONA_DRC1_SIG_DET_PK_WIDTH 2 /* DRC1_SIG_DET_PK - [10:9] */
- #define ARIZONA_DRC1_NG_ENA 0x0100 /* DRC1_NG_ENA */
- #define ARIZONA_DRC1_NG_ENA_MASK 0x0100 /* DRC1_NG_ENA */
- #define ARIZONA_DRC1_NG_ENA_SHIFT 8 /* DRC1_NG_ENA */
- #define ARIZONA_DRC1_NG_ENA_WIDTH 1 /* DRC1_NG_ENA */
- #define ARIZONA_DRC1_SIG_DET_MODE 0x0080 /* DRC1_SIG_DET_MODE */
- #define ARIZONA_DRC1_SIG_DET_MODE_MASK 0x0080 /* DRC1_SIG_DET_MODE */
- #define ARIZONA_DRC1_SIG_DET_MODE_SHIFT 7 /* DRC1_SIG_DET_MODE */
- #define ARIZONA_DRC1_SIG_DET_MODE_WIDTH 1 /* DRC1_SIG_DET_MODE */
- #define ARIZONA_DRC1_SIG_DET 0x0040 /* DRC1_SIG_DET */
- #define ARIZONA_DRC1_SIG_DET_MASK 0x0040 /* DRC1_SIG_DET */
- #define ARIZONA_DRC1_SIG_DET_SHIFT 6 /* DRC1_SIG_DET */
- #define ARIZONA_DRC1_SIG_DET_WIDTH 1 /* DRC1_SIG_DET */
- #define ARIZONA_DRC1_KNEE2_OP_ENA 0x0020 /* DRC1_KNEE2_OP_ENA */
- #define ARIZONA_DRC1_KNEE2_OP_ENA_MASK 0x0020 /* DRC1_KNEE2_OP_ENA */
- #define ARIZONA_DRC1_KNEE2_OP_ENA_SHIFT 5 /* DRC1_KNEE2_OP_ENA */
- #define ARIZONA_DRC1_KNEE2_OP_ENA_WIDTH 1 /* DRC1_KNEE2_OP_ENA */
- #define ARIZONA_DRC1_QR 0x0010 /* DRC1_QR */
- #define ARIZONA_DRC1_QR_MASK 0x0010 /* DRC1_QR */
- #define ARIZONA_DRC1_QR_SHIFT 4 /* DRC1_QR */
- #define ARIZONA_DRC1_QR_WIDTH 1 /* DRC1_QR */
- #define ARIZONA_DRC1_ANTICLIP 0x0008 /* DRC1_ANTICLIP */
- #define ARIZONA_DRC1_ANTICLIP_MASK 0x0008 /* DRC1_ANTICLIP */
- #define ARIZONA_DRC1_ANTICLIP_SHIFT 3 /* DRC1_ANTICLIP */
- #define ARIZONA_DRC1_ANTICLIP_WIDTH 1 /* DRC1_ANTICLIP */
- #define ARIZONA_DRC1L_ENA 0x0002 /* DRC1L_ENA */
- #define ARIZONA_DRC1L_ENA_MASK 0x0002 /* DRC1L_ENA */
- #define ARIZONA_DRC1L_ENA_SHIFT 1 /* DRC1L_ENA */
- #define ARIZONA_DRC1L_ENA_WIDTH 1 /* DRC1L_ENA */
- #define ARIZONA_DRC1R_ENA 0x0001 /* DRC1R_ENA */
- #define ARIZONA_DRC1R_ENA_MASK 0x0001 /* DRC1R_ENA */
- #define ARIZONA_DRC1R_ENA_SHIFT 0 /* DRC1R_ENA */
- #define ARIZONA_DRC1R_ENA_WIDTH 1 /* DRC1R_ENA */
- /*
- * R3713 (0xE81) - DRC1 ctrl2
- */
- #define ARIZONA_DRC1_ATK_MASK 0x1E00 /* DRC1_ATK - [12:9] */
- #define ARIZONA_DRC1_ATK_SHIFT 9 /* DRC1_ATK - [12:9] */
- #define ARIZONA_DRC1_ATK_WIDTH 4 /* DRC1_ATK - [12:9] */
- #define ARIZONA_DRC1_DCY_MASK 0x01E0 /* DRC1_DCY - [8:5] */
- #define ARIZONA_DRC1_DCY_SHIFT 5 /* DRC1_DCY - [8:5] */
- #define ARIZONA_DRC1_DCY_WIDTH 4 /* DRC1_DCY - [8:5] */
- #define ARIZONA_DRC1_MINGAIN_MASK 0x001C /* DRC1_MINGAIN - [4:2] */
- #define ARIZONA_DRC1_MINGAIN_SHIFT 2 /* DRC1_MINGAIN - [4:2] */
- #define ARIZONA_DRC1_MINGAIN_WIDTH 3 /* DRC1_MINGAIN - [4:2] */
- #define ARIZONA_DRC1_MAXGAIN_MASK 0x0003 /* DRC1_MAXGAIN - [1:0] */
- #define ARIZONA_DRC1_MAXGAIN_SHIFT 0 /* DRC1_MAXGAIN - [1:0] */
- #define ARIZONA_DRC1_MAXGAIN_WIDTH 2 /* DRC1_MAXGAIN - [1:0] */
- /*
- * R3714 (0xE82) - DRC1 ctrl3
- */
- #define ARIZONA_DRC1_NG_MINGAIN_MASK 0xF000 /* DRC1_NG_MINGAIN - [15:12] */
- #define ARIZONA_DRC1_NG_MINGAIN_SHIFT 12 /* DRC1_NG_MINGAIN - [15:12] */
- #define ARIZONA_DRC1_NG_MINGAIN_WIDTH 4 /* DRC1_NG_MINGAIN - [15:12] */
- #define ARIZONA_DRC1_NG_EXP_MASK 0x0C00 /* DRC1_NG_EXP - [11:10] */
- #define ARIZONA_DRC1_NG_EXP_SHIFT 10 /* DRC1_NG_EXP - [11:10] */
- #define ARIZONA_DRC1_NG_EXP_WIDTH 2 /* DRC1_NG_EXP - [11:10] */
- #define ARIZONA_DRC1_QR_THR_MASK 0x0300 /* DRC1_QR_THR - [9:8] */
- #define ARIZONA_DRC1_QR_THR_SHIFT 8 /* DRC1_QR_THR - [9:8] */
- #define ARIZONA_DRC1_QR_THR_WIDTH 2 /* DRC1_QR_THR - [9:8] */
- #define ARIZONA_DRC1_QR_DCY_MASK 0x00C0 /* DRC1_QR_DCY - [7:6] */
- #define ARIZONA_DRC1_QR_DCY_SHIFT 6 /* DRC1_QR_DCY - [7:6] */
- #define ARIZONA_DRC1_QR_DCY_WIDTH 2 /* DRC1_QR_DCY - [7:6] */
- #define ARIZONA_DRC1_HI_COMP_MASK 0x0038 /* DRC1_HI_COMP - [5:3] */
- #define ARIZONA_DRC1_HI_COMP_SHIFT 3 /* DRC1_HI_COMP - [5:3] */
- #define ARIZONA_DRC1_HI_COMP_WIDTH 3 /* DRC1_HI_COMP - [5:3] */
- #define ARIZONA_DRC1_LO_COMP_MASK 0x0007 /* DRC1_LO_COMP - [2:0] */
- #define ARIZONA_DRC1_LO_COMP_SHIFT 0 /* DRC1_LO_COMP - [2:0] */
- #define ARIZONA_DRC1_LO_COMP_WIDTH 3 /* DRC1_LO_COMP - [2:0] */
- /*
- * R3715 (0xE83) - DRC1 ctrl4
- */
- #define ARIZONA_DRC1_KNEE_IP_MASK 0x07E0 /* DRC1_KNEE_IP - [10:5] */
- #define ARIZONA_DRC1_KNEE_IP_SHIFT 5 /* DRC1_KNEE_IP - [10:5] */
- #define ARIZONA_DRC1_KNEE_IP_WIDTH 6 /* DRC1_KNEE_IP - [10:5] */
- #define ARIZONA_DRC1_KNEE_OP_MASK 0x001F /* DRC1_KNEE_OP - [4:0] */
- #define ARIZONA_DRC1_KNEE_OP_SHIFT 0 /* DRC1_KNEE_OP - [4:0] */
- #define ARIZONA_DRC1_KNEE_OP_WIDTH 5 /* DRC1_KNEE_OP - [4:0] */
- /*
- * R3716 (0xE84) - DRC1 ctrl5
- */
- #define ARIZONA_DRC1_KNEE2_IP_MASK 0x03E0 /* DRC1_KNEE2_IP - [9:5] */
- #define ARIZONA_DRC1_KNEE2_IP_SHIFT 5 /* DRC1_KNEE2_IP - [9:5] */
- #define ARIZONA_DRC1_KNEE2_IP_WIDTH 5 /* DRC1_KNEE2_IP - [9:5] */
- #define ARIZONA_DRC1_KNEE2_OP_MASK 0x001F /* DRC1_KNEE2_OP - [4:0] */
- #define ARIZONA_DRC1_KNEE2_OP_SHIFT 0 /* DRC1_KNEE2_OP - [4:0] */
- #define ARIZONA_DRC1_KNEE2_OP_WIDTH 5 /* DRC1_KNEE2_OP - [4:0] */
- /*
- * R3721 (0xE89) - DRC2 ctrl1
- */
- #define ARIZONA_DRC2_SIG_DET_RMS_MASK 0xF800 /* DRC2_SIG_DET_RMS - [15:11] */
- #define ARIZONA_DRC2_SIG_DET_RMS_SHIFT 11 /* DRC2_SIG_DET_RMS - [15:11] */
- #define ARIZONA_DRC2_SIG_DET_RMS_WIDTH 5 /* DRC2_SIG_DET_RMS - [15:11] */
- #define ARIZONA_DRC2_SIG_DET_PK_MASK 0x0600 /* DRC2_SIG_DET_PK - [10:9] */
- #define ARIZONA_DRC2_SIG_DET_PK_SHIFT 9 /* DRC2_SIG_DET_PK - [10:9] */
- #define ARIZONA_DRC2_SIG_DET_PK_WIDTH 2 /* DRC2_SIG_DET_PK - [10:9] */
- #define ARIZONA_DRC2_NG_ENA 0x0100 /* DRC2_NG_ENA */
- #define ARIZONA_DRC2_NG_ENA_MASK 0x0100 /* DRC2_NG_ENA */
- #define ARIZONA_DRC2_NG_ENA_SHIFT 8 /* DRC2_NG_ENA */
- #define ARIZONA_DRC2_NG_ENA_WIDTH 1 /* DRC2_NG_ENA */
- #define ARIZONA_DRC2_SIG_DET_MODE 0x0080 /* DRC2_SIG_DET_MODE */
- #define ARIZONA_DRC2_SIG_DET_MODE_MASK 0x0080 /* DRC2_SIG_DET_MODE */
- #define ARIZONA_DRC2_SIG_DET_MODE_SHIFT 7 /* DRC2_SIG_DET_MODE */
- #define ARIZONA_DRC2_SIG_DET_MODE_WIDTH 1 /* DRC2_SIG_DET_MODE */
- #define ARIZONA_DRC2_SIG_DET 0x0040 /* DRC2_SIG_DET */
- #define ARIZONA_DRC2_SIG_DET_MASK 0x0040 /* DRC2_SIG_DET */
- #define ARIZONA_DRC2_SIG_DET_SHIFT 6 /* DRC2_SIG_DET */
- #define ARIZONA_DRC2_SIG_DET_WIDTH 1 /* DRC2_SIG_DET */
- #define ARIZONA_DRC2_KNEE2_OP_ENA 0x0020 /* DRC2_KNEE2_OP_ENA */
- #define ARIZONA_DRC2_KNEE2_OP_ENA_MASK 0x0020 /* DRC2_KNEE2_OP_ENA */
- #define ARIZONA_DRC2_KNEE2_OP_ENA_SHIFT 5 /* DRC2_KNEE2_OP_ENA */
- #define ARIZONA_DRC2_KNEE2_OP_ENA_WIDTH 1 /* DRC2_KNEE2_OP_ENA */
- #define ARIZONA_DRC2_QR 0x0010 /* DRC2_QR */
- #define ARIZONA_DRC2_QR_MASK 0x0010 /* DRC2_QR */
- #define ARIZONA_DRC2_QR_SHIFT 4 /* DRC2_QR */
- #define ARIZONA_DRC2_QR_WIDTH 1 /* DRC2_QR */
- #define ARIZONA_DRC2_ANTICLIP 0x0008 /* DRC2_ANTICLIP */
- #define ARIZONA_DRC2_ANTICLIP_MASK 0x0008 /* DRC2_ANTICLIP */
- #define ARIZONA_DRC2_ANTICLIP_SHIFT 3 /* DRC2_ANTICLIP */
- #define ARIZONA_DRC2_ANTICLIP_WIDTH 1 /* DRC2_ANTICLIP */
- #define ARIZONA_DRC2L_ENA 0x0002 /* DRC2L_ENA */
- #define ARIZONA_DRC2L_ENA_MASK 0x0002 /* DRC2L_ENA */
- #define ARIZONA_DRC2L_ENA_SHIFT 1 /* DRC2L_ENA */
- #define ARIZONA_DRC2L_ENA_WIDTH 1 /* DRC2L_ENA */
- #define ARIZONA_DRC2R_ENA 0x0001 /* DRC2R_ENA */
- #define ARIZONA_DRC2R_ENA_MASK 0x0001 /* DRC2R_ENA */
- #define ARIZONA_DRC2R_ENA_SHIFT 0 /* DRC2R_ENA */
- #define ARIZONA_DRC2R_ENA_WIDTH 1 /* DRC2R_ENA */
- /*
- * R3722 (0xE8A) - DRC2 ctrl2
- */
- #define ARIZONA_DRC2_ATK_MASK 0x1E00 /* DRC2_ATK - [12:9] */
- #define ARIZONA_DRC2_ATK_SHIFT 9 /* DRC2_ATK - [12:9] */
- #define ARIZONA_DRC2_ATK_WIDTH 4 /* DRC2_ATK - [12:9] */
- #define ARIZONA_DRC2_DCY_MASK 0x01E0 /* DRC2_DCY - [8:5] */
- #define ARIZONA_DRC2_DCY_SHIFT 5 /* DRC2_DCY - [8:5] */
- #define ARIZONA_DRC2_DCY_WIDTH 4 /* DRC2_DCY - [8:5] */
- #define ARIZONA_DRC2_MINGAIN_MASK 0x001C /* DRC2_MINGAIN - [4:2] */
- #define ARIZONA_DRC2_MINGAIN_SHIFT 2 /* DRC2_MINGAIN - [4:2] */
- #define ARIZONA_DRC2_MINGAIN_WIDTH 3 /* DRC2_MINGAIN - [4:2] */
- #define ARIZONA_DRC2_MAXGAIN_MASK 0x0003 /* DRC2_MAXGAIN - [1:0] */
- #define ARIZONA_DRC2_MAXGAIN_SHIFT 0 /* DRC2_MAXGAIN - [1:0] */
- #define ARIZONA_DRC2_MAXGAIN_WIDTH 2 /* DRC2_MAXGAIN - [1:0] */
- /*
- * R3723 (0xE8B) - DRC2 ctrl3
- */
- #define ARIZONA_DRC2_NG_MINGAIN_MASK 0xF000 /* DRC2_NG_MINGAIN - [15:12] */
- #define ARIZONA_DRC2_NG_MINGAIN_SHIFT 12 /* DRC2_NG_MINGAIN - [15:12] */
- #define ARIZONA_DRC2_NG_MINGAIN_WIDTH 4 /* DRC2_NG_MINGAIN - [15:12] */
- #define ARIZONA_DRC2_NG_EXP_MASK 0x0C00 /* DRC2_NG_EXP - [11:10] */
- #define ARIZONA_DRC2_NG_EXP_SHIFT 10 /* DRC2_NG_EXP - [11:10] */
- #define ARIZONA_DRC2_NG_EXP_WIDTH 2 /* DRC2_NG_EXP - [11:10] */
- #define ARIZONA_DRC2_QR_THR_MASK 0x0300 /* DRC2_QR_THR - [9:8] */
- #define ARIZONA_DRC2_QR_THR_SHIFT 8 /* DRC2_QR_THR - [9:8] */
- #define ARIZONA_DRC2_QR_THR_WIDTH 2 /* DRC2_QR_THR - [9:8] */
- #define ARIZONA_DRC2_QR_DCY_MASK 0x00C0 /* DRC2_QR_DCY - [7:6] */
- #define ARIZONA_DRC2_QR_DCY_SHIFT 6 /* DRC2_QR_DCY - [7:6] */
- #define ARIZONA_DRC2_QR_DCY_WIDTH 2 /* DRC2_QR_DCY - [7:6] */
- #define ARIZONA_DRC2_HI_COMP_MASK 0x0038 /* DRC2_HI_COMP - [5:3] */
- #define ARIZONA_DRC2_HI_COMP_SHIFT 3 /* DRC2_HI_COMP - [5:3] */
- #define ARIZONA_DRC2_HI_COMP_WIDTH 3 /* DRC2_HI_COMP - [5:3] */
- #define ARIZONA_DRC2_LO_COMP_MASK 0x0007 /* DRC2_LO_COMP - [2:0] */
- #define ARIZONA_DRC2_LO_COMP_SHIFT 0 /* DRC2_LO_COMP - [2:0] */
- #define ARIZONA_DRC2_LO_COMP_WIDTH 3 /* DRC2_LO_COMP - [2:0] */
- /*
- * R3724 (0xE8C) - DRC2 ctrl4
- */
- #define ARIZONA_DRC2_KNEE_IP_MASK 0x07E0 /* DRC2_KNEE_IP - [10:5] */
- #define ARIZONA_DRC2_KNEE_IP_SHIFT 5 /* DRC2_KNEE_IP - [10:5] */
- #define ARIZONA_DRC2_KNEE_IP_WIDTH 6 /* DRC2_KNEE_IP - [10:5] */
- #define ARIZONA_DRC2_KNEE_OP_MASK 0x001F /* DRC2_KNEE_OP - [4:0] */
- #define ARIZONA_DRC2_KNEE_OP_SHIFT 0 /* DRC2_KNEE_OP - [4:0] */
- #define ARIZONA_DRC2_KNEE_OP_WIDTH 5 /* DRC2_KNEE_OP - [4:0] */
- /*
- * R3725 (0xE8D) - DRC2 ctrl5
- */
- #define ARIZONA_DRC2_KNEE2_IP_MASK 0x03E0 /* DRC2_KNEE2_IP - [9:5] */
- #define ARIZONA_DRC2_KNEE2_IP_SHIFT 5 /* DRC2_KNEE2_IP - [9:5] */
- #define ARIZONA_DRC2_KNEE2_IP_WIDTH 5 /* DRC2_KNEE2_IP - [9:5] */
- #define ARIZONA_DRC2_KNEE2_OP_MASK 0x001F /* DRC2_KNEE2_OP - [4:0] */
- #define ARIZONA_DRC2_KNEE2_OP_SHIFT 0 /* DRC2_KNEE2_OP - [4:0] */
- #define ARIZONA_DRC2_KNEE2_OP_WIDTH 5 /* DRC2_KNEE2_OP - [4:0] */
- /*
- * R3776 (0xEC0) - HPLPF1_1
- */
- #define ARIZONA_LHPF1_MODE 0x0002 /* LHPF1_MODE */
- #define ARIZONA_LHPF1_MODE_MASK 0x0002 /* LHPF1_MODE */
- #define ARIZONA_LHPF1_MODE_SHIFT 1 /* LHPF1_MODE */
- #define ARIZONA_LHPF1_MODE_WIDTH 1 /* LHPF1_MODE */
- #define ARIZONA_LHPF1_ENA 0x0001 /* LHPF1_ENA */
- #define ARIZONA_LHPF1_ENA_MASK 0x0001 /* LHPF1_ENA */
- #define ARIZONA_LHPF1_ENA_SHIFT 0 /* LHPF1_ENA */
- #define ARIZONA_LHPF1_ENA_WIDTH 1 /* LHPF1_ENA */
- /*
- * R3777 (0xEC1) - HPLPF1_2
- */
- #define ARIZONA_LHPF1_COEFF_MASK 0xFFFF /* LHPF1_COEFF - [15:0] */
- #define ARIZONA_LHPF1_COEFF_SHIFT 0 /* LHPF1_COEFF - [15:0] */
- #define ARIZONA_LHPF1_COEFF_WIDTH 16 /* LHPF1_COEFF - [15:0] */
- /*
- * R3780 (0xEC4) - HPLPF2_1
- */
- #define ARIZONA_LHPF2_MODE 0x0002 /* LHPF2_MODE */
- #define ARIZONA_LHPF2_MODE_MASK 0x0002 /* LHPF2_MODE */
- #define ARIZONA_LHPF2_MODE_SHIFT 1 /* LHPF2_MODE */
- #define ARIZONA_LHPF2_MODE_WIDTH 1 /* LHPF2_MODE */
- #define ARIZONA_LHPF2_ENA 0x0001 /* LHPF2_ENA */
- #define ARIZONA_LHPF2_ENA_MASK 0x0001 /* LHPF2_ENA */
- #define ARIZONA_LHPF2_ENA_SHIFT 0 /* LHPF2_ENA */
- #define ARIZONA_LHPF2_ENA_WIDTH 1 /* LHPF2_ENA */
- /*
- * R3781 (0xEC5) - HPLPF2_2
- */
- #define ARIZONA_LHPF2_COEFF_MASK 0xFFFF /* LHPF2_COEFF - [15:0] */
- #define ARIZONA_LHPF2_COEFF_SHIFT 0 /* LHPF2_COEFF - [15:0] */
- #define ARIZONA_LHPF2_COEFF_WIDTH 16 /* LHPF2_COEFF - [15:0] */
- /*
- * R3784 (0xEC8) - HPLPF3_1
- */
- #define ARIZONA_LHPF3_MODE 0x0002 /* LHPF3_MODE */
- #define ARIZONA_LHPF3_MODE_MASK 0x0002 /* LHPF3_MODE */
- #define ARIZONA_LHPF3_MODE_SHIFT 1 /* LHPF3_MODE */
- #define ARIZONA_LHPF3_MODE_WIDTH 1 /* LHPF3_MODE */
- #define ARIZONA_LHPF3_ENA 0x0001 /* LHPF3_ENA */
- #define ARIZONA_LHPF3_ENA_MASK 0x0001 /* LHPF3_ENA */
- #define ARIZONA_LHPF3_ENA_SHIFT 0 /* LHPF3_ENA */
- #define ARIZONA_LHPF3_ENA_WIDTH 1 /* LHPF3_ENA */
- /*
- * R3785 (0xEC9) - HPLPF3_2
- */
- #define ARIZONA_LHPF3_COEFF_MASK 0xFFFF /* LHPF3_COEFF - [15:0] */
- #define ARIZONA_LHPF3_COEFF_SHIFT 0 /* LHPF3_COEFF - [15:0] */
- #define ARIZONA_LHPF3_COEFF_WIDTH 16 /* LHPF3_COEFF - [15:0] */
- /*
- * R3788 (0xECC) - HPLPF4_1
- */
- #define ARIZONA_LHPF4_MODE 0x0002 /* LHPF4_MODE */
- #define ARIZONA_LHPF4_MODE_MASK 0x0002 /* LHPF4_MODE */
- #define ARIZONA_LHPF4_MODE_SHIFT 1 /* LHPF4_MODE */
- #define ARIZONA_LHPF4_MODE_WIDTH 1 /* LHPF4_MODE */
- #define ARIZONA_LHPF4_ENA 0x0001 /* LHPF4_ENA */
- #define ARIZONA_LHPF4_ENA_MASK 0x0001 /* LHPF4_ENA */
- #define ARIZONA_LHPF4_ENA_SHIFT 0 /* LHPF4_ENA */
- #define ARIZONA_LHPF4_ENA_WIDTH 1 /* LHPF4_ENA */
- /*
- * R3789 (0xECD) - HPLPF4_2
- */
- #define ARIZONA_LHPF4_COEFF_MASK 0xFFFF /* LHPF4_COEFF - [15:0] */
- #define ARIZONA_LHPF4_COEFF_SHIFT 0 /* LHPF4_COEFF - [15:0] */
- #define ARIZONA_LHPF4_COEFF_WIDTH 16 /* LHPF4_COEFF - [15:0] */
- /*
- * R3808 (0xEE0) - ASRC_ENABLE
- */
- #define ARIZONA_ASRC2L_ENA 0x0008 /* ASRC2L_ENA */
- #define ARIZONA_ASRC2L_ENA_MASK 0x0008 /* ASRC2L_ENA */
- #define ARIZONA_ASRC2L_ENA_SHIFT 3 /* ASRC2L_ENA */
- #define ARIZONA_ASRC2L_ENA_WIDTH 1 /* ASRC2L_ENA */
- #define ARIZONA_ASRC2R_ENA 0x0004 /* ASRC2R_ENA */
- #define ARIZONA_ASRC2R_ENA_MASK 0x0004 /* ASRC2R_ENA */
- #define ARIZONA_ASRC2R_ENA_SHIFT 2 /* ASRC2R_ENA */
- #define ARIZONA_ASRC2R_ENA_WIDTH 1 /* ASRC2R_ENA */
- #define ARIZONA_ASRC1L_ENA 0x0002 /* ASRC1L_ENA */
- #define ARIZONA_ASRC1L_ENA_MASK 0x0002 /* ASRC1L_ENA */
- #define ARIZONA_ASRC1L_ENA_SHIFT 1 /* ASRC1L_ENA */
- #define ARIZONA_ASRC1L_ENA_WIDTH 1 /* ASRC1L_ENA */
- #define ARIZONA_ASRC1R_ENA 0x0001 /* ASRC1R_ENA */
- #define ARIZONA_ASRC1R_ENA_MASK 0x0001 /* ASRC1R_ENA */
- #define ARIZONA_ASRC1R_ENA_SHIFT 0 /* ASRC1R_ENA */
- #define ARIZONA_ASRC1R_ENA_WIDTH 1 /* ASRC1R_ENA */
- /*
- * R3810 (0xEE2) - ASRC_RATE1
- */
- #define ARIZONA_ASRC_RATE1_MASK 0x7800 /* ASRC_RATE1 - [14:11] */
- #define ARIZONA_ASRC_RATE1_SHIFT 11 /* ASRC_RATE1 - [14:11] */
- #define ARIZONA_ASRC_RATE1_WIDTH 4 /* ASRC_RATE1 - [14:11] */
- /*
- * R3811 (0xEE3) - ASRC_RATE2
- */
- #define ARIZONA_ASRC_RATE2_MASK 0x7800 /* ASRC_RATE2 - [14:11] */
- #define ARIZONA_ASRC_RATE2_SHIFT 11 /* ASRC_RATE2 - [14:11] */
- #define ARIZONA_ASRC_RATE2_WIDTH 4 /* ASRC_RATE2 - [14:11] */
- /*
- * R3824 (0xEF0) - ISRC 1 CTRL 1
- */
- #define ARIZONA_ISRC1_FSH_MASK 0x7800 /* ISRC1_FSH - [14:11] */
- #define ARIZONA_ISRC1_FSH_SHIFT 11 /* ISRC1_FSH - [14:11] */
- #define ARIZONA_ISRC1_FSH_WIDTH 4 /* ISRC1_FSH - [14:11] */
- #define ARIZONA_ISRC1_CLK_SEL_MASK 0x0700 /* ISRC1_CLK_SEL - [10:8] */
- #define ARIZONA_ISRC1_CLK_SEL_SHIFT 8 /* ISRC1_CLK_SEL - [10:8] */
- #define ARIZONA_ISRC1_CLK_SEL_WIDTH 3 /* ISRC1_CLK_SEL - [10:8] */
- /*
- * R3825 (0xEF1) - ISRC 1 CTRL 2
- */
- #define ARIZONA_ISRC1_FSL_MASK 0x7800 /* ISRC1_FSL - [14:11] */
- #define ARIZONA_ISRC1_FSL_SHIFT 11 /* ISRC1_FSL - [14:11] */
- #define ARIZONA_ISRC1_FSL_WIDTH 4 /* ISRC1_FSL - [14:11] */
- /*
- * R3826 (0xEF2) - ISRC 1 CTRL 3
- */
- #define ARIZONA_ISRC1_INT0_ENA 0x8000 /* ISRC1_INT0_ENA */
- #define ARIZONA_ISRC1_INT0_ENA_MASK 0x8000 /* ISRC1_INT0_ENA */
- #define ARIZONA_ISRC1_INT0_ENA_SHIFT 15 /* ISRC1_INT0_ENA */
- #define ARIZONA_ISRC1_INT0_ENA_WIDTH 1 /* ISRC1_INT0_ENA */
- #define ARIZONA_ISRC1_INT1_ENA 0x4000 /* ISRC1_INT1_ENA */
- #define ARIZONA_ISRC1_INT1_ENA_MASK 0x4000 /* ISRC1_INT1_ENA */
- #define ARIZONA_ISRC1_INT1_ENA_SHIFT 14 /* ISRC1_INT1_ENA */
- #define ARIZONA_ISRC1_INT1_ENA_WIDTH 1 /* ISRC1_INT1_ENA */
- #define ARIZONA_ISRC1_INT2_ENA 0x2000 /* ISRC1_INT2_ENA */
- #define ARIZONA_ISRC1_INT2_ENA_MASK 0x2000 /* ISRC1_INT2_ENA */
- #define ARIZONA_ISRC1_INT2_ENA_SHIFT 13 /* ISRC1_INT2_ENA */
- #define ARIZONA_ISRC1_INT2_ENA_WIDTH 1 /* ISRC1_INT2_ENA */
- #define ARIZONA_ISRC1_INT3_ENA 0x1000 /* ISRC1_INT3_ENA */
- #define ARIZONA_ISRC1_INT3_ENA_MASK 0x1000 /* ISRC1_INT3_ENA */
- #define ARIZONA_ISRC1_INT3_ENA_SHIFT 12 /* ISRC1_INT3_ENA */
- #define ARIZONA_ISRC1_INT3_ENA_WIDTH 1 /* ISRC1_INT3_ENA */
- #define ARIZONA_ISRC1_DEC0_ENA 0x0200 /* ISRC1_DEC0_ENA */
- #define ARIZONA_ISRC1_DEC0_ENA_MASK 0x0200 /* ISRC1_DEC0_ENA */
- #define ARIZONA_ISRC1_DEC0_ENA_SHIFT 9 /* ISRC1_DEC0_ENA */
- #define ARIZONA_ISRC1_DEC0_ENA_WIDTH 1 /* ISRC1_DEC0_ENA */
- #define ARIZONA_ISRC1_DEC1_ENA 0x0100 /* ISRC1_DEC1_ENA */
- #define ARIZONA_ISRC1_DEC1_ENA_MASK 0x0100 /* ISRC1_DEC1_ENA */
- #define ARIZONA_ISRC1_DEC1_ENA_SHIFT 8 /* ISRC1_DEC1_ENA */
- #define ARIZONA_ISRC1_DEC1_ENA_WIDTH 1 /* ISRC1_DEC1_ENA */
- #define ARIZONA_ISRC1_DEC2_ENA 0x0080 /* ISRC1_DEC2_ENA */
- #define ARIZONA_ISRC1_DEC2_ENA_MASK 0x0080 /* ISRC1_DEC2_ENA */
- #define ARIZONA_ISRC1_DEC2_ENA_SHIFT 7 /* ISRC1_DEC2_ENA */
- #define ARIZONA_ISRC1_DEC2_ENA_WIDTH 1 /* ISRC1_DEC2_ENA */
- #define ARIZONA_ISRC1_DEC3_ENA 0x0040 /* ISRC1_DEC3_ENA */
- #define ARIZONA_ISRC1_DEC3_ENA_MASK 0x0040 /* ISRC1_DEC3_ENA */
- #define ARIZONA_ISRC1_DEC3_ENA_SHIFT 6 /* ISRC1_DEC3_ENA */
- #define ARIZONA_ISRC1_DEC3_ENA_WIDTH 1 /* ISRC1_DEC3_ENA */
- #define ARIZONA_ISRC1_NOTCH_ENA 0x0001 /* ISRC1_NOTCH_ENA */
- #define ARIZONA_ISRC1_NOTCH_ENA_MASK 0x0001 /* ISRC1_NOTCH_ENA */
- #define ARIZONA_ISRC1_NOTCH_ENA_SHIFT 0 /* ISRC1_NOTCH_ENA */
- #define ARIZONA_ISRC1_NOTCH_ENA_WIDTH 1 /* ISRC1_NOTCH_ENA */
- /*
- * R3827 (0xEF3) - ISRC 2 CTRL 1
- */
- #define ARIZONA_ISRC2_FSH_MASK 0x7800 /* ISRC2_FSH - [14:11] */
- #define ARIZONA_ISRC2_FSH_SHIFT 11 /* ISRC2_FSH - [14:11] */
- #define ARIZONA_ISRC2_FSH_WIDTH 4 /* ISRC2_FSH - [14:11] */
- #define ARIZONA_ISRC2_CLK_SEL_MASK 0x0700 /* ISRC2_CLK_SEL - [10:8] */
- #define ARIZONA_ISRC2_CLK_SEL_SHIFT 8 /* ISRC2_CLK_SEL - [10:8] */
- #define ARIZONA_ISRC2_CLK_SEL_WIDTH 3 /* ISRC2_CLK_SEL - [10:8] */
- /*
- * R3828 (0xEF4) - ISRC 2 CTRL 2
- */
- #define ARIZONA_ISRC2_FSL_MASK 0x7800 /* ISRC2_FSL - [14:11] */
- #define ARIZONA_ISRC2_FSL_SHIFT 11 /* ISRC2_FSL - [14:11] */
- #define ARIZONA_ISRC2_FSL_WIDTH 4 /* ISRC2_FSL - [14:11] */
- /*
- * R3829 (0xEF5) - ISRC 2 CTRL 3
- */
- #define ARIZONA_ISRC2_INT0_ENA 0x8000 /* ISRC2_INT0_ENA */
- #define ARIZONA_ISRC2_INT0_ENA_MASK 0x8000 /* ISRC2_INT0_ENA */
- #define ARIZONA_ISRC2_INT0_ENA_SHIFT 15 /* ISRC2_INT0_ENA */
- #define ARIZONA_ISRC2_INT0_ENA_WIDTH 1 /* ISRC2_INT0_ENA */
- #define ARIZONA_ISRC2_INT1_ENA 0x4000 /* ISRC2_INT1_ENA */
- #define ARIZONA_ISRC2_INT1_ENA_MASK 0x4000 /* ISRC2_INT1_ENA */
- #define ARIZONA_ISRC2_INT1_ENA_SHIFT 14 /* ISRC2_INT1_ENA */
- #define ARIZONA_ISRC2_INT1_ENA_WIDTH 1 /* ISRC2_INT1_ENA */
- #define ARIZONA_ISRC2_INT2_ENA 0x2000 /* ISRC2_INT2_ENA */
- #define ARIZONA_ISRC2_INT2_ENA_MASK 0x2000 /* ISRC2_INT2_ENA */
- #define ARIZONA_ISRC2_INT2_ENA_SHIFT 13 /* ISRC2_INT2_ENA */
- #define ARIZONA_ISRC2_INT2_ENA_WIDTH 1 /* ISRC2_INT2_ENA */
- #define ARIZONA_ISRC2_INT3_ENA 0x1000 /* ISRC2_INT3_ENA */
- #define ARIZONA_ISRC2_INT3_ENA_MASK 0x1000 /* ISRC2_INT3_ENA */
- #define ARIZONA_ISRC2_INT3_ENA_SHIFT 12 /* ISRC2_INT3_ENA */
- #define ARIZONA_ISRC2_INT3_ENA_WIDTH 1 /* ISRC2_INT3_ENA */
- #define ARIZONA_ISRC2_DEC0_ENA 0x0200 /* ISRC2_DEC0_ENA */
- #define ARIZONA_ISRC2_DEC0_ENA_MASK 0x0200 /* ISRC2_DEC0_ENA */
- #define ARIZONA_ISRC2_DEC0_ENA_SHIFT 9 /* ISRC2_DEC0_ENA */
- #define ARIZONA_ISRC2_DEC0_ENA_WIDTH 1 /* ISRC2_DEC0_ENA */
- #define ARIZONA_ISRC2_DEC1_ENA 0x0100 /* ISRC2_DEC1_ENA */
- #define ARIZONA_ISRC2_DEC1_ENA_MASK 0x0100 /* ISRC2_DEC1_ENA */
- #define ARIZONA_ISRC2_DEC1_ENA_SHIFT 8 /* ISRC2_DEC1_ENA */
- #define ARIZONA_ISRC2_DEC1_ENA_WIDTH 1 /* ISRC2_DEC1_ENA */
- #define ARIZONA_ISRC2_DEC2_ENA 0x0080 /* ISRC2_DEC2_ENA */
- #define ARIZONA_ISRC2_DEC2_ENA_MASK 0x0080 /* ISRC2_DEC2_ENA */
- #define ARIZONA_ISRC2_DEC2_ENA_SHIFT 7 /* ISRC2_DEC2_ENA */
- #define ARIZONA_ISRC2_DEC2_ENA_WIDTH 1 /* ISRC2_DEC2_ENA */
- #define ARIZONA_ISRC2_DEC3_ENA 0x0040 /* ISRC2_DEC3_ENA */
- #define ARIZONA_ISRC2_DEC3_ENA_MASK 0x0040 /* ISRC2_DEC3_ENA */
- #define ARIZONA_ISRC2_DEC3_ENA_SHIFT 6 /* ISRC2_DEC3_ENA */
- #define ARIZONA_ISRC2_DEC3_ENA_WIDTH 1 /* ISRC2_DEC3_ENA */
- #define ARIZONA_ISRC2_NOTCH_ENA 0x0001 /* ISRC2_NOTCH_ENA */
- #define ARIZONA_ISRC2_NOTCH_ENA_MASK 0x0001 /* ISRC2_NOTCH_ENA */
- #define ARIZONA_ISRC2_NOTCH_ENA_SHIFT 0 /* ISRC2_NOTCH_ENA */
- #define ARIZONA_ISRC2_NOTCH_ENA_WIDTH 1 /* ISRC2_NOTCH_ENA */
- /*
- * R3830 (0xEF6) - ISRC 3 CTRL 1
- */
- #define ARIZONA_ISRC3_FSH_MASK 0x7800 /* ISRC3_FSH - [14:11] */
- #define ARIZONA_ISRC3_FSH_SHIFT 11 /* ISRC3_FSH - [14:11] */
- #define ARIZONA_ISRC3_FSH_WIDTH 4 /* ISRC3_FSH - [14:11] */
- #define ARIZONA_ISRC3_CLK_SEL_MASK 0x0700 /* ISRC3_CLK_SEL - [10:8] */
- #define ARIZONA_ISRC3_CLK_SEL_SHIFT 8 /* ISRC3_CLK_SEL - [10:8] */
- #define ARIZONA_ISRC3_CLK_SEL_WIDTH 3 /* ISRC3_CLK_SEL - [10:8] */
- /*
- * R3831 (0xEF7) - ISRC 3 CTRL 2
- */
- #define ARIZONA_ISRC3_FSL_MASK 0x7800 /* ISRC3_FSL - [14:11] */
- #define ARIZONA_ISRC3_FSL_SHIFT 11 /* ISRC3_FSL - [14:11] */
- #define ARIZONA_ISRC3_FSL_WIDTH 4 /* ISRC3_FSL - [14:11] */
- /*
- * R3832 (0xEF8) - ISRC 3 CTRL 3
- */
- #define ARIZONA_ISRC3_INT0_ENA 0x8000 /* ISRC3_INT0_ENA */
- #define ARIZONA_ISRC3_INT0_ENA_MASK 0x8000 /* ISRC3_INT0_ENA */
- #define ARIZONA_ISRC3_INT0_ENA_SHIFT 15 /* ISRC3_INT0_ENA */
- #define ARIZONA_ISRC3_INT0_ENA_WIDTH 1 /* ISRC3_INT0_ENA */
- #define ARIZONA_ISRC3_INT1_ENA 0x4000 /* ISRC3_INT1_ENA */
- #define ARIZONA_ISRC3_INT1_ENA_MASK 0x4000 /* ISRC3_INT1_ENA */
- #define ARIZONA_ISRC3_INT1_ENA_SHIFT 14 /* ISRC3_INT1_ENA */
- #define ARIZONA_ISRC3_INT1_ENA_WIDTH 1 /* ISRC3_INT1_ENA */
- #define ARIZONA_ISRC3_INT2_ENA 0x2000 /* ISRC3_INT2_ENA */
- #define ARIZONA_ISRC3_INT2_ENA_MASK 0x2000 /* ISRC3_INT2_ENA */
- #define ARIZONA_ISRC3_INT2_ENA_SHIFT 13 /* ISRC3_INT2_ENA */
- #define ARIZONA_ISRC3_INT2_ENA_WIDTH 1 /* ISRC3_INT2_ENA */
- #define ARIZONA_ISRC3_INT3_ENA 0x1000 /* ISRC3_INT3_ENA */
- #define ARIZONA_ISRC3_INT3_ENA_MASK 0x1000 /* ISRC3_INT3_ENA */
- #define ARIZONA_ISRC3_INT3_ENA_SHIFT 12 /* ISRC3_INT3_ENA */
- #define ARIZONA_ISRC3_INT3_ENA_WIDTH 1 /* ISRC3_INT3_ENA */
- #define ARIZONA_ISRC3_DEC0_ENA 0x0200 /* ISRC3_DEC0_ENA */
- #define ARIZONA_ISRC3_DEC0_ENA_MASK 0x0200 /* ISRC3_DEC0_ENA */
- #define ARIZONA_ISRC3_DEC0_ENA_SHIFT 9 /* ISRC3_DEC0_ENA */
- #define ARIZONA_ISRC3_DEC0_ENA_WIDTH 1 /* ISRC3_DEC0_ENA */
- #define ARIZONA_ISRC3_DEC1_ENA 0x0100 /* ISRC3_DEC1_ENA */
- #define ARIZONA_ISRC3_DEC1_ENA_MASK 0x0100 /* ISRC3_DEC1_ENA */
- #define ARIZONA_ISRC3_DEC1_ENA_SHIFT 8 /* ISRC3_DEC1_ENA */
- #define ARIZONA_ISRC3_DEC1_ENA_WIDTH 1 /* ISRC3_DEC1_ENA */
- #define ARIZONA_ISRC3_DEC2_ENA 0x0080 /* ISRC3_DEC2_ENA */
- #define ARIZONA_ISRC3_DEC2_ENA_MASK 0x0080 /* ISRC3_DEC2_ENA */
- #define ARIZONA_ISRC3_DEC2_ENA_SHIFT 7 /* ISRC3_DEC2_ENA */
- #define ARIZONA_ISRC3_DEC2_ENA_WIDTH 1 /* ISRC3_DEC2_ENA */
- #define ARIZONA_ISRC3_DEC3_ENA 0x0040 /* ISRC3_DEC3_ENA */
- #define ARIZONA_ISRC3_DEC3_ENA_MASK 0x0040 /* ISRC3_DEC3_ENA */
- #define ARIZONA_ISRC3_DEC3_ENA_SHIFT 6 /* ISRC3_DEC3_ENA */
- #define ARIZONA_ISRC3_DEC3_ENA_WIDTH 1 /* ISRC3_DEC3_ENA */
- #define ARIZONA_ISRC3_NOTCH_ENA 0x0001 /* ISRC3_NOTCH_ENA */
- #define ARIZONA_ISRC3_NOTCH_ENA_MASK 0x0001 /* ISRC3_NOTCH_ENA */
- #define ARIZONA_ISRC3_NOTCH_ENA_SHIFT 0 /* ISRC3_NOTCH_ENA */
- #define ARIZONA_ISRC3_NOTCH_ENA_WIDTH 1 /* ISRC3_NOTCH_ENA */
- /*
- * R3840 (0xF00) - Clock Control
- */
- #define ARIZONA_EXT_NG_SEL_CLR 0x0080 /* EXT_NG_SEL_CLR */
- #define ARIZONA_EXT_NG_SEL_CLR_MASK 0x0080 /* EXT_NG_SEL_CLR */
- #define ARIZONA_EXT_NG_SEL_CLR_SHIFT 7 /* EXT_NG_SEL_CLR */
- #define ARIZONA_EXT_NG_SEL_CLR_WIDTH 1 /* EXT_NG_SEL_CLR */
- #define ARIZONA_EXT_NG_SEL_SET 0x0040 /* EXT_NG_SEL_SET */
- #define ARIZONA_EXT_NG_SEL_SET_MASK 0x0040 /* EXT_NG_SEL_SET */
- #define ARIZONA_EXT_NG_SEL_SET_SHIFT 6 /* EXT_NG_SEL_SET */
- #define ARIZONA_EXT_NG_SEL_SET_WIDTH 1 /* EXT_NG_SEL_SET */
- #define ARIZONA_CLK_R_ENA_CLR 0x0020 /* CLK_R_ENA_CLR */
- #define ARIZONA_CLK_R_ENA_CLR_MASK 0x0020 /* CLK_R_ENA_CLR */
- #define ARIZONA_CLK_R_ENA_CLR_SHIFT 5 /* CLK_R_ENA_CLR */
- #define ARIZONA_CLK_R_ENA_CLR_WIDTH 1 /* CLK_R_ENA_CLR */
- #define ARIZONA_CLK_R_ENA_SET 0x0010 /* CLK_R_ENA_SET */
- #define ARIZONA_CLK_R_ENA_SET_MASK 0x0010 /* CLK_R_ENA_SET */
- #define ARIZONA_CLK_R_ENA_SET_SHIFT 4 /* CLK_R_ENA_SET */
- #define ARIZONA_CLK_R_ENA_SET_WIDTH 1 /* CLK_R_ENA_SET */
- #define ARIZONA_CLK_NG_ENA_CLR 0x0008 /* CLK_NG_ENA_CLR */
- #define ARIZONA_CLK_NG_ENA_CLR_MASK 0x0008 /* CLK_NG_ENA_CLR */
- #define ARIZONA_CLK_NG_ENA_CLR_SHIFT 3 /* CLK_NG_ENA_CLR */
- #define ARIZONA_CLK_NG_ENA_CLR_WIDTH 1 /* CLK_NG_ENA_CLR */
- #define ARIZONA_CLK_NG_ENA_SET 0x0004 /* CLK_NG_ENA_SET */
- #define ARIZONA_CLK_NG_ENA_SET_MASK 0x0004 /* CLK_NG_ENA_SET */
- #define ARIZONA_CLK_NG_ENA_SET_SHIFT 2 /* CLK_NG_ENA_SET */
- #define ARIZONA_CLK_NG_ENA_SET_WIDTH 1 /* CLK_NG_ENA_SET */
- #define ARIZONA_CLK_L_ENA_CLR 0x0002 /* CLK_L_ENA_CLR */
- #define ARIZONA_CLK_L_ENA_CLR_MASK 0x0002 /* CLK_L_ENA_CLR */
- #define ARIZONA_CLK_L_ENA_CLR_SHIFT 1 /* CLK_L_ENA_CLR */
- #define ARIZONA_CLK_L_ENA_CLR_WIDTH 1 /* CLK_L_ENA_CLR */
- #define ARIZONA_CLK_L_ENA_SET 0x0001 /* CLK_L_ENA_SET */
- #define ARIZONA_CLK_L_ENA_SET_MASK 0x0001 /* CLK_L_ENA_SET */
- #define ARIZONA_CLK_L_ENA_SET_SHIFT 0 /* CLK_L_ENA_SET */
- #define ARIZONA_CLK_L_ENA_SET_WIDTH 1 /* CLK_L_ENA_SET */
- /*
- * R3841 (0xF01) - ANC SRC
- */
- #define ARIZONA_IN_RXANCR_SEL_MASK 0x0070 /* IN_RXANCR_SEL - [4:6] */
- #define ARIZONA_IN_RXANCR_SEL_SHIFT 4 /* IN_RXANCR_SEL - [4:6] */
- #define ARIZONA_IN_RXANCR_SEL_WIDTH 3 /* IN_RXANCR_SEL - [4:6] */
- #define ARIZONA_IN_RXANCL_SEL_MASK 0x0007 /* IN_RXANCL_SEL - [0:2] */
- #define ARIZONA_IN_RXANCL_SEL_SHIFT 0 /* IN_RXANCL_SEL - [0:2] */
- #define ARIZONA_IN_RXANCL_SEL_WIDTH 3 /* IN_RXANCL_SEL - [0:2] */
- /*
- * R3863 (0xF17) - FCL ADC Reformatter Control
- */
- #define ARIZONA_FCL_MIC_MODE_SEL 0x000C /* FCL_MIC_MODE_SEL - [2:3] */
- #define ARIZONA_FCL_MIC_MODE_SEL_SHIFT 2 /* FCL_MIC_MODE_SEL - [2:3] */
- #define ARIZONA_FCL_MIC_MODE_SEL_WIDTH 2 /* FCL_MIC_MODE_SEL - [2:3] */
- /*
- * R3954 (0xF72) - FCR ADC Reformatter Control
- */
- #define ARIZONA_FCR_MIC_MODE_SEL 0x000C /* FCR_MIC_MODE_SEL - [2:3] */
- #define ARIZONA_FCR_MIC_MODE_SEL_SHIFT 2 /* FCR_MIC_MODE_SEL - [2:3] */
- #define ARIZONA_FCR_MIC_MODE_SEL_WIDTH 2 /* FCR_MIC_MODE_SEL - [2:3] */
- /*
- * R4352 (0x1100) - DSP1 Control 1
- */
- #define ARIZONA_DSP1_RATE_MASK 0x7800 /* DSP1_RATE - [14:11] */
- #define ARIZONA_DSP1_RATE_SHIFT 11 /* DSP1_RATE - [14:11] */
- #define ARIZONA_DSP1_RATE_WIDTH 4 /* DSP1_RATE - [14:11] */
- #define ARIZONA_DSP1_MEM_ENA 0x0010 /* DSP1_MEM_ENA */
- #define ARIZONA_DSP1_MEM_ENA_MASK 0x0010 /* DSP1_MEM_ENA */
- #define ARIZONA_DSP1_MEM_ENA_SHIFT 4 /* DSP1_MEM_ENA */
- #define ARIZONA_DSP1_MEM_ENA_WIDTH 1 /* DSP1_MEM_ENA */
- #define ARIZONA_DSP1_SYS_ENA 0x0004 /* DSP1_SYS_ENA */
- #define ARIZONA_DSP1_SYS_ENA_MASK 0x0004 /* DSP1_SYS_ENA */
- #define ARIZONA_DSP1_SYS_ENA_SHIFT 2 /* DSP1_SYS_ENA */
- #define ARIZONA_DSP1_SYS_ENA_WIDTH 1 /* DSP1_SYS_ENA */
- #define ARIZONA_DSP1_CORE_ENA 0x0002 /* DSP1_CORE_ENA */
- #define ARIZONA_DSP1_CORE_ENA_MASK 0x0002 /* DSP1_CORE_ENA */
- #define ARIZONA_DSP1_CORE_ENA_SHIFT 1 /* DSP1_CORE_ENA */
- #define ARIZONA_DSP1_CORE_ENA_WIDTH 1 /* DSP1_CORE_ENA */
- #define ARIZONA_DSP1_START 0x0001 /* DSP1_START */
- #define ARIZONA_DSP1_START_MASK 0x0001 /* DSP1_START */
- #define ARIZONA_DSP1_START_SHIFT 0 /* DSP1_START */
- #define ARIZONA_DSP1_START_WIDTH 1 /* DSP1_START */
- /*
- * R4353 (0x1101) - DSP1 Clocking 1
- */
- #define ARIZONA_DSP1_CLK_SEL_MASK 0x0007 /* DSP1_CLK_SEL - [2:0] */
- #define ARIZONA_DSP1_CLK_SEL_SHIFT 0 /* DSP1_CLK_SEL - [2:0] */
- #define ARIZONA_DSP1_CLK_SEL_WIDTH 3 /* DSP1_CLK_SEL - [2:0] */
- /*
- * R4356 (0x1104) - DSP1 Status 1
- */
- #define ARIZONA_DSP1_RAM_RDY 0x0001 /* DSP1_RAM_RDY */
- #define ARIZONA_DSP1_RAM_RDY_MASK 0x0001 /* DSP1_RAM_RDY */
- #define ARIZONA_DSP1_RAM_RDY_SHIFT 0 /* DSP1_RAM_RDY */
- #define ARIZONA_DSP1_RAM_RDY_WIDTH 1 /* DSP1_RAM_RDY */
- /*
- * R4357 (0x1105) - DSP1 Status 2
- */
- #define ARIZONA_DSP1_PING_FULL 0x8000 /* DSP1_PING_FULL */
- #define ARIZONA_DSP1_PING_FULL_MASK 0x8000 /* DSP1_PING_FULL */
- #define ARIZONA_DSP1_PING_FULL_SHIFT 15 /* DSP1_PING_FULL */
- #define ARIZONA_DSP1_PING_FULL_WIDTH 1 /* DSP1_PING_FULL */
- #define ARIZONA_DSP1_PONG_FULL 0x4000 /* DSP1_PONG_FULL */
- #define ARIZONA_DSP1_PONG_FULL_MASK 0x4000 /* DSP1_PONG_FULL */
- #define ARIZONA_DSP1_PONG_FULL_SHIFT 14 /* DSP1_PONG_FULL */
- #define ARIZONA_DSP1_PONG_FULL_WIDTH 1 /* DSP1_PONG_FULL */
- #define ARIZONA_DSP1_WDMA_ACTIVE_CHANNELS_MASK 0x00FF /* DSP1_WDMA_ACTIVE_CHANNELS - [7:0] */
- #define ARIZONA_DSP1_WDMA_ACTIVE_CHANNELS_SHIFT 0 /* DSP1_WDMA_ACTIVE_CHANNELS - [7:0] */
- #define ARIZONA_DSP1_WDMA_ACTIVE_CHANNELS_WIDTH 8 /* DSP1_WDMA_ACTIVE_CHANNELS - [7:0] */
- #endif
|