ddrphy_csr_all_cdefines.h 264 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944
  1. /*
  2. * Copyright (C) 2021-2024, STMicroelectronics - All Rights Reserved
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. #ifndef DDRPHY_PHYINIT_CSR_ALL_DEFINES_H
  7. #define DDRPHY_PHYINIT_CSR_ALL_DEFINES_H
  8. /* ANIBx register offsets */
  9. #define CSR_MTESTMUXSEL_ADDR 0x1AU
  10. #define CSR_AFORCEDRVCONT_ADDR 0x27U
  11. #define CSR_AFORCETRICONT_ADDR 0x28U
  12. #define CSR_ATXIMPEDANCE_ADDR 0x43U
  13. #define CSR_ATESTPRBSERR_ADDR 0x53U
  14. #define CSR_ATXSLEWRATE_ADDR 0x55U
  15. #define CSR_ATESTPRBSERRCNT_ADDR 0x56U
  16. #define CSR_ATXDLY_ADDR 0x80U
  17. /* DBYTEx register offsets */
  18. #define CSR_DBYTEMISCMODE_ADDR 0x0U
  19. #define CSR_TSMBYTE0_ADDR 0x1U
  20. #define CSR_TRAININGPARAM_ADDR 0x2U
  21. #define CSR_USEDQSENREPLICA_ADDR 0x3U
  22. #define CSR_RXTRAINPATTERNENABLE_ADDR 0x10U
  23. #define CSR_TSMBYTE1_ADDR 0x11U
  24. #define CSR_TSMBYTE2_ADDR 0x12U
  25. #define CSR_TSMBYTE3_ADDR 0x13U
  26. #define CSR_TSMBYTE4_ADDR 0x14U
  27. #define CSR_TESTMODECONFIG_ADDR 0x17U
  28. #define CSR_TSMBYTE5_ADDR 0x18U
  29. /* MTESTMUXSEL already defined in ANIBx section */
  30. #define CSR_DTSMTRAINMODECTRL_ADDR 0x1FU
  31. #define CSR_DFIMRL_ADDR 0x20U
  32. #define CSR_ASYNCDBYTEMODE_ADDR 0x24U
  33. #define CSR_ASYNCDBYTETXEN_ADDR 0x26U
  34. #define CSR_ASYNCDBYTETXDATA_ADDR 0x28U
  35. #define CSR_ASYNCDBYTERXDATA_ADDR 0x2AU
  36. #define CSR_VREFDAC1_ADDR 0x30U
  37. #define CSR_TRAININGCNTR_ADDR 0x32U
  38. #define CSR_VREFDAC0_ADDR 0x40U
  39. #define CSR_TXIMPEDANCECTRL0_ADDR 0x41U
  40. #define CSR_DQDQSRCVCNTRL_ADDR 0x43U
  41. #define CSR_TXEQUALIZATIONMODE_ADDR 0x48U
  42. #define CSR_TXIMPEDANCECTRL1_ADDR 0x49U
  43. #define CSR_DQDQSRCVCNTRL1_ADDR 0x4AU
  44. #define CSR_TXIMPEDANCECTRL2_ADDR 0x4BU
  45. #define CSR_DQDQSRCVCNTRL2_ADDR 0x4CU
  46. #define CSR_TXODTDRVSTREN_ADDR 0x4DU
  47. #define CSR_RXFIFOCHECKSTATUS_ADDR 0x56U
  48. #define CSR_RXFIFOCHECKERRVALUES_ADDR 0x57U
  49. #define CSR_RXFIFOINFO_ADDR 0x58U
  50. #define CSR_RXFIFOVISIBILITY_ADDR 0x59U
  51. #define CSR_RXFIFOCONTENTSDQ3210_ADDR 0x5AU
  52. #define CSR_RXFIFOCONTENTSDQ7654_ADDR 0x5BU
  53. #define CSR_RXFIFOCONTENTSDBI_ADDR 0x5CU
  54. #define CSR_TXSLEWRATE_ADDR 0x5FU
  55. #define CSR_TRAININGINCDECDTSMEN_ADDR 0x62U
  56. #define CSR_RXPBDLYTG0_ADDR 0x68U
  57. #define CSR_RXPBDLYTG1_ADDR 0x69U
  58. #define CSR_RXPBDLYTG2_ADDR 0x6AU
  59. #define CSR_RXPBDLYTG3_ADDR 0x6BU
  60. #define CSR_RXENDLYTG0_ADDR 0x80U
  61. #define CSR_RXENDLYTG1_ADDR 0x81U
  62. #define CSR_RXENDLYTG2_ADDR 0x82U
  63. #define CSR_RXENDLYTG3_ADDR 0x83U
  64. #define CSR_RXCLKDLYTG0_ADDR 0x8CU
  65. #define CSR_RXCLKDLYTG1_ADDR 0x8DU
  66. #define CSR_RXCLKDLYTG2_ADDR 0x8EU
  67. #define CSR_RXCLKDLYTG3_ADDR 0x8FU
  68. #define CSR_RXCLKCDLYTG0_ADDR 0x90U
  69. #define CSR_RXCLKCDLYTG1_ADDR 0x91U
  70. #define CSR_RXCLKCDLYTG2_ADDR 0x92U
  71. #define CSR_RXCLKCDLYTG3_ADDR 0x93U
  72. #define CSR_DQ0LNSEL_ADDR 0xA0U
  73. #define CSR_DQ1LNSEL_ADDR 0xA1U
  74. #define CSR_DQ2LNSEL_ADDR 0xA2U
  75. #define CSR_DQ3LNSEL_ADDR 0xA3U
  76. #define CSR_DQ4LNSEL_ADDR 0xA4U
  77. #define CSR_DQ5LNSEL_ADDR 0xA5U
  78. #define CSR_DQ6LNSEL_ADDR 0xA6U
  79. #define CSR_DQ7LNSEL_ADDR 0xA7U
  80. #define CSR_PPTCTLSTATIC_ADDR 0xAAU
  81. #define CSR_PPTCTLDYN_ADDR 0xABU
  82. #define CSR_PPTINFO_ADDR 0xACU
  83. #define CSR_PPTRXENEVNT_ADDR 0xADU
  84. #define CSR_PPTDQSCNTINVTRNTG0_ADDR 0xAEU
  85. #define CSR_PPTDQSCNTINVTRNTG1_ADDR 0xAFU
  86. #define CSR_DTSMBLANKINGCTRL_ADDR 0xB1U
  87. #define CSR_TSM0_ADDR 0xB2U
  88. #define CSR_TSM1_ADDR 0xB3U
  89. #define CSR_TSM2_ADDR 0xB4U
  90. #define CSR_TSM3_ADDR 0xB5U
  91. #define CSR_TXCHKDATASELECTS_ADDR 0xB6U
  92. #define CSR_DTSMUPTHLDXINGIND_ADDR 0xB7U
  93. #define CSR_DTSMLOTHLDXINGIND_ADDR 0xB8U
  94. #define CSR_DBYTEALLDTSMCTRL0_ADDR 0xB9U
  95. #define CSR_DBYTEALLDTSMCTRL1_ADDR 0xBAU
  96. #define CSR_DBYTEALLDTSMCTRL2_ADDR 0xBBU
  97. #define CSR_TXDQDLYTG0_ADDR 0xC0U
  98. #define CSR_TXDQDLYTG1_ADDR 0xC1U
  99. #define CSR_TXDQDLYTG2_ADDR 0xC2U
  100. #define CSR_TXDQDLYTG3_ADDR 0xC3U
  101. #define CSR_TXDQSDLYTG0_ADDR 0xD0U
  102. #define CSR_TXDQSDLYTG1_ADDR 0xD1U
  103. #define CSR_TXDQSDLYTG2_ADDR 0xD2U
  104. #define CSR_TXDQSDLYTG3_ADDR 0xD3U
  105. #define CSR_DXLCDLSTATUS_ADDR 0xE4U
  106. /* MASTER0 register offsets */
  107. #define CSR_RXFIFOINIT_ADDR 0x0U
  108. #define CSR_FORCECLKDISABLE_ADDR 0x1U
  109. #define CSR_CLOCKINGCTRL_ADDR 0x2U
  110. #define CSR_FORCEINTERNALUPDATE_ADDR 0x3U
  111. #define CSR_PHYCONFIG_ADDR 0x4U
  112. #define CSR_PGCR_ADDR 0x5U
  113. #define CSR_TESTBUMPCNTRL1_ADDR 0x7U
  114. #define CSR_CALUCLKINFO_ADDR 0x8U
  115. #define CSR_TESTBUMPCNTRL_ADDR 0xAU
  116. #define CSR_SEQ0BDLY0_ADDR 0xBU
  117. #define CSR_SEQ0BDLY1_ADDR 0xCU
  118. #define CSR_SEQ0BDLY2_ADDR 0xDU
  119. #define CSR_SEQ0BDLY3_ADDR 0xEU
  120. #define CSR_PHYALERTSTATUS_ADDR 0xFU
  121. #define CSR_PPTTRAINSETUP_ADDR 0x10U
  122. #define CSR_PPTTRAINSETUP2_ADDR 0x11U
  123. #define CSR_ATESTMODE_ADDR 0x12U
  124. #define CSR_TXCALBINP_ADDR 0x14U
  125. #define CSR_TXCALBINN_ADDR 0x15U
  126. #define CSR_TXCALPOVR_ADDR 0x16U
  127. #define CSR_TXCALNOVR_ADDR 0x17U
  128. #define CSR_DFIMODE_ADDR 0x18U
  129. #define CSR_TRISTATEMODECA_ADDR 0x19U
  130. /* MTESTMUXSEL already defined in ANIBx section */
  131. #define CSR_MTESTPGMINFO_ADDR 0x1BU
  132. #define CSR_DYNPWRDNUP_ADDR 0x1CU
  133. #define CSR_PMIENABLE_ADDR 0x1DU
  134. #define CSR_PHYTID_ADDR 0x1EU
  135. #define CSR_HWTMRL_ADDR 0x20U
  136. #define CSR_DFIPHYUPD_ADDR 0x21U
  137. #define CSR_PDAMRSWRITEMODE_ADDR 0x22U
  138. #define CSR_DFIGEARDOWNCTL_ADDR 0x23U
  139. #define CSR_DQSPREAMBLECONTROL_ADDR 0x24U
  140. #define CSR_MASTERX4CONFIG_ADDR 0x25U
  141. #define CSR_WRLEVBITS_ADDR 0x26U
  142. #define CSR_ENABLECSMULTICAST_ADDR 0x27U
  143. #define CSR_HWTLPCSMULTICAST_ADDR 0x28U
  144. #define CSR_ACX4ANIBDIS_ADDR 0x2CU
  145. #define CSR_DMIPINPRESENT_ADDR 0x2DU
  146. #define CSR_ARDPTRINITVAL_ADDR 0x2EU
  147. #define CSR_DB0LCDLCALPHDETOUT_ADDR 0x30U
  148. #define CSR_DB1LCDLCALPHDETOUT_ADDR 0x31U
  149. #define CSR_DB2LCDLCALPHDETOUT_ADDR 0x32U
  150. #define CSR_DB3LCDLCALPHDETOUT_ADDR 0x33U
  151. #define CSR_DB4LCDLCALPHDETOUT_ADDR 0x34U
  152. #define CSR_DB5LCDLCALPHDETOUT_ADDR 0x35U
  153. #define CSR_DB6LCDLCALPHDETOUT_ADDR 0x36U
  154. #define CSR_DB7LCDLCALPHDETOUT_ADDR 0x37U
  155. #define CSR_DB8LCDLCALPHDETOUT_ADDR 0x38U
  156. #define CSR_DB9LCDLCALPHDETOUT_ADDR 0x39U
  157. #define CSR_DBYTEDLLMODECNTRL_ADDR 0x3AU
  158. #define CSR_DBYTERXENTRAIN_ADDR 0x3BU
  159. #define CSR_ANLCDLCALPHDETOUT_ADDR 0x3FU
  160. #define CSR_CALOFFSETS_ADDR 0x45U
  161. #define CSR_SARINITVALS_ADDR 0x47U
  162. #define CSR_CALPEXTOVR_ADDR 0x49U
  163. #define CSR_CALCMPR5OVR_ADDR 0x4AU
  164. #define CSR_CALNINTOVR_ADDR 0x4BU
  165. #define CSR_CALDRVSTR0_ADDR 0x50U
  166. #define CSR_PROCODTCTL_ADDR 0x55U
  167. #define CSR_PROCODTTIMECTL_ADDR 0x56U
  168. #define CSR_MEMALERTCONTROL_ADDR 0x5BU
  169. #define CSR_MEMALERTCONTROL2_ADDR 0x5CU
  170. #define CSR_MEMRESETL_ADDR 0x60U
  171. #define CSR_PUBMODE_ADDR 0x6EU
  172. #define CSR_MISCPHYSTATUS_ADDR 0x6FU
  173. #define CSR_CORELOOPBACKSEL_ADDR 0x70U
  174. #define CSR_DLLTRAINPARAM_ADDR 0x71U
  175. #define CSR_HWTLPCSENA_ADDR 0x72U
  176. #define CSR_HWTLPCSENB_ADDR 0x73U
  177. #define CSR_HWTLPCSENBYPASS_ADDR 0x74U
  178. #define CSR_DFICAMODE_ADDR 0x75U
  179. #define CSR_HWTCACTL_ADDR 0x76U
  180. #define CSR_HWTCAMODE_ADDR 0x77U
  181. #define CSR_DLLCONTROL_ADDR 0x78U
  182. #define CSR_PULSEDLLUPDATEPHASE_ADDR 0x79U
  183. #define CSR_HWTCONTROLOVR0_ADDR 0x7AU
  184. #define CSR_HWTCONTROLOVR1_ADDR 0x7BU
  185. #define CSR_DLLGAINCTL_ADDR 0x7CU
  186. #define CSR_DLLLOCKPARAM_ADDR 0x7DU
  187. #define CSR_HWTCONTROLVAL0_ADDR 0x7EU
  188. #define CSR_HWTCONTROLVAL1_ADDR 0x7FU
  189. #define CSR_ACSMGLBLSTART_ADDR 0x81U
  190. #define CSR_ACSMGLBLSGLSTPCTRL_ADDR 0x82U
  191. #define CSR_LCDLCALPHASE_ADDR 0x84U
  192. #define CSR_LCDLCALCTRL_ADDR 0x85U
  193. #define CSR_CALRATE_ADDR 0x88U
  194. #define CSR_CALZAP_ADDR 0x89U
  195. #define CSR_PSTATE_ADDR 0x8BU
  196. #define CSR_CALPREDRIVEROVERRIDE_ADDR 0x8CU
  197. #define CSR_PLLOUTGATECONTROL_ADDR 0x8DU
  198. #define CSR_UCMEMRESETCONTROL_ADDR 0x8FU
  199. #define CSR_PORCONTROL_ADDR 0x90U
  200. #define CSR_CALBUSY_ADDR 0x97U
  201. #define CSR_CALMISC2_ADDR 0x98U
  202. #define CSR_CALMISC_ADDR 0x9AU
  203. #define CSR_CALVREFS_ADDR 0x9BU
  204. #define CSR_CALCMPR5_ADDR 0x9CU
  205. #define CSR_CALNINT_ADDR 0x9DU
  206. #define CSR_CALPEXT_ADDR 0x9EU
  207. #define CSR_CALCMPINVERT_ADDR 0xA8U
  208. #define CSR_CALCMPANACNTRL_ADDR 0xAEU
  209. #define CSR_DFIRDDATACSDESTMAP_ADDR 0xB0U
  210. #define CSR_VREFINGLOBAL_ADDR 0xB2U
  211. #define CSR_DFIWRDATACSDESTMAP_ADDR 0xB4U
  212. #define CSR_MASUPDGOODCTR_ADDR 0xB5U
  213. #define CSR_PHYUPD0GOODCTR_ADDR 0xB6U
  214. #define CSR_PHYUPD1GOODCTR_ADDR 0xB7U
  215. #define CSR_CTLUPD0GOODCTR_ADDR 0xB8U
  216. #define CSR_CTLUPD1GOODCTR_ADDR 0xB9U
  217. #define CSR_MASUPDFAILCTR_ADDR 0xBAU
  218. #define CSR_PHYUPD0FAILCTR_ADDR 0xBBU
  219. #define CSR_PHYUPD1FAILCTR_ADDR 0xBCU
  220. #define CSR_PHYPERFCTRENABLE_ADDR 0xBDU
  221. #define CSR_DFIWRRDDATACSCONFIG_ADDR 0xBEU
  222. #define CSR_PLLPWRDN_ADDR 0xC3U
  223. #define CSR_PLLRESET_ADDR 0xC4U
  224. #define CSR_PLLCTRL2_ADDR 0xC5U
  225. #define CSR_PLLCTRL0_ADDR 0xC6U
  226. #define CSR_PLLCTRL1_ADDR 0xC7U
  227. #define CSR_PLLTST_ADDR 0xC8U
  228. #define CSR_PLLLOCKSTATUS_ADDR 0xC9U
  229. #define CSR_PLLTESTMODE_ADDR 0xCAU
  230. #define CSR_PLLCTRL3_ADDR 0xCBU
  231. #define CSR_PLLCTRL4_ADDR 0xCCU
  232. #define CSR_PLLENDOFCAL_ADDR 0xCDU
  233. #define CSR_PLLSTANDBYEFF_ADDR 0xCEU
  234. #define CSR_PLLDACVALOUT_ADDR 0xCFU
  235. #define CSR_DLYTESTSEQ_ADDR 0xD0U
  236. #define CSR_DLYTESTRINGSELDB_ADDR 0xD1U
  237. #define CSR_DLYTESTRINGSELAC_ADDR 0xD2U
  238. #define CSR_DLYTESTCNTDFICLKIV_ADDR 0xD3U
  239. #define CSR_DLYTESTCNTDFICLK_ADDR 0xD4U
  240. #define CSR_DLYTESTCNTRINGOSCDB0_ADDR 0xD5U
  241. #define CSR_DLYTESTCNTRINGOSCDB1_ADDR 0xD6U
  242. #define CSR_DLYTESTCNTRINGOSCDB2_ADDR 0xD7U
  243. #define CSR_DLYTESTCNTRINGOSCDB3_ADDR 0xD8U
  244. #define CSR_DLYTESTCNTRINGOSCDB4_ADDR 0xD9U
  245. #define CSR_DLYTESTCNTRINGOSCDB5_ADDR 0xDAU
  246. #define CSR_DLYTESTCNTRINGOSCDB6_ADDR 0xDBU
  247. #define CSR_DLYTESTCNTRINGOSCDB7_ADDR 0xDCU
  248. #define CSR_DLYTESTCNTRINGOSCDB8_ADDR 0xDDU
  249. #define CSR_DLYTESTCNTRINGOSCDB9_ADDR 0xDEU
  250. #define CSR_DLYTESTCNTRINGOSCAC_ADDR 0xDFU
  251. #define CSR_MSTLCDLDBGCNTL_ADDR 0xE0U
  252. #define CSR_MSTLCDL0DBGRES_ADDR 0xE1U
  253. #define CSR_MSTLCDL1DBGRES_ADDR 0xE2U
  254. #define CSR_LCDLDBGCNTL_ADDR 0xE3U
  255. #define CSR_ACLCDLSTATUS_ADDR 0xE4U
  256. #define CSR_CUSTPHYREV_ADDR 0xEDU
  257. #define CSR_PHYREV_ADDR 0xEEU
  258. #define CSR_LP3EXITSEQ0BSTARTVECTOR_ADDR 0xEFU
  259. #define CSR_DFIFREQXLAT0_ADDR 0xF0U
  260. #define CSR_DFIFREQXLAT1_ADDR 0xF1U
  261. #define CSR_DFIFREQXLAT2_ADDR 0xF2U
  262. #define CSR_DFIFREQXLAT3_ADDR 0xF3U
  263. #define CSR_DFIFREQXLAT4_ADDR 0xF4U
  264. #define CSR_DFIFREQXLAT5_ADDR 0xF5U
  265. #define CSR_DFIFREQXLAT6_ADDR 0xF6U
  266. #define CSR_DFIFREQXLAT7_ADDR 0xF7U
  267. #define CSR_TXRDPTRINIT_ADDR 0xF8U
  268. #define CSR_DFIINITCOMPLETE_ADDR 0xF9U
  269. #define CSR_DFIFREQRATIO_ADDR 0xFAU
  270. #define CSR_RXFIFOCHECKS_ADDR 0xFBU
  271. #define CSR_MTESTDTOCTRL_ADDR 0xFFU
  272. #define CSR_MAPCAA0TODFI_ADDR 0x100U
  273. #define CSR_MAPCAA1TODFI_ADDR 0x101U
  274. #define CSR_MAPCAA2TODFI_ADDR 0x102U
  275. #define CSR_MAPCAA3TODFI_ADDR 0x103U
  276. #define CSR_MAPCAA4TODFI_ADDR 0x104U
  277. #define CSR_MAPCAA5TODFI_ADDR 0x105U
  278. #define CSR_MAPCAA6TODFI_ADDR 0x106U
  279. #define CSR_MAPCAA7TODFI_ADDR 0x107U
  280. #define CSR_MAPCAA8TODFI_ADDR 0x108U
  281. #define CSR_MAPCAA9TODFI_ADDR 0x109U
  282. #define CSR_MAPCAB0TODFI_ADDR 0x110U
  283. #define CSR_MAPCAB1TODFI_ADDR 0x111U
  284. #define CSR_MAPCAB2TODFI_ADDR 0x112U
  285. #define CSR_MAPCAB3TODFI_ADDR 0x113U
  286. #define CSR_MAPCAB4TODFI_ADDR 0x114U
  287. #define CSR_MAPCAB5TODFI_ADDR 0x115U
  288. #define CSR_MAPCAB6TODFI_ADDR 0x116U
  289. #define CSR_MAPCAB7TODFI_ADDR 0x117U
  290. #define CSR_MAPCAB8TODFI_ADDR 0x118U
  291. #define CSR_MAPCAB9TODFI_ADDR 0x119U
  292. #define CSR_PHYINTERRUPTENABLE_ADDR 0x11BU
  293. #define CSR_PHYINTERRUPTFWCONTROL_ADDR 0x11CU
  294. #define CSR_PHYINTERRUPTMASK_ADDR 0x11DU
  295. #define CSR_PHYINTERRUPTCLEAR_ADDR 0x11EU
  296. #define CSR_PHYINTERRUPTSTATUS_ADDR 0x11FU
  297. #define CSR_HWTSWIZZLEHWTADDRESS0_ADDR 0x120U
  298. #define CSR_HWTSWIZZLEHWTADDRESS1_ADDR 0x121U
  299. #define CSR_HWTSWIZZLEHWTADDRESS2_ADDR 0x122U
  300. #define CSR_HWTSWIZZLEHWTADDRESS3_ADDR 0x123U
  301. #define CSR_HWTSWIZZLEHWTADDRESS4_ADDR 0x124U
  302. #define CSR_HWTSWIZZLEHWTADDRESS5_ADDR 0x125U
  303. #define CSR_HWTSWIZZLEHWTADDRESS6_ADDR 0x126U
  304. #define CSR_HWTSWIZZLEHWTADDRESS7_ADDR 0x127U
  305. #define CSR_HWTSWIZZLEHWTADDRESS8_ADDR 0x128U
  306. #define CSR_HWTSWIZZLEHWTADDRESS9_ADDR 0x129U
  307. #define CSR_HWTSWIZZLEHWTADDRESS10_ADDR 0x12AU
  308. #define CSR_HWTSWIZZLEHWTADDRESS11_ADDR 0x12BU
  309. #define CSR_HWTSWIZZLEHWTADDRESS12_ADDR 0x12CU
  310. #define CSR_HWTSWIZZLEHWTADDRESS13_ADDR 0x12DU
  311. #define CSR_HWTSWIZZLEHWTADDRESS14_ADDR 0x12EU
  312. #define CSR_HWTSWIZZLEHWTADDRESS15_ADDR 0x12FU
  313. #define CSR_HWTSWIZZLEHWTADDRESS17_ADDR 0x130U
  314. #define CSR_HWTSWIZZLEHWTACTN_ADDR 0x131U
  315. #define CSR_HWTSWIZZLEHWTBANK0_ADDR 0x132U
  316. #define CSR_HWTSWIZZLEHWTBANK1_ADDR 0x133U
  317. #define CSR_HWTSWIZZLEHWTBANK2_ADDR 0x134U
  318. #define CSR_HWTSWIZZLEHWTBG0_ADDR 0x135U
  319. #define CSR_HWTSWIZZLEHWTBG1_ADDR 0x136U
  320. #define CSR_HWTSWIZZLEHWTCASN_ADDR 0x137U
  321. #define CSR_HWTSWIZZLEHWTRASN_ADDR 0x138U
  322. #define CSR_HWTSWIZZLEHWTWEN_ADDR 0x139U
  323. #define CSR_HWTSWIZZLEHWTPARITYIN_ADDR 0x13AU
  324. #define CSR_DFIHANDSHAKEDELAYS0_ADDR 0x13CU
  325. #define CSR_DFIHANDSHAKEDELAYS1_ADDR 0x13DU
  326. #define CSR_REMOTEIMPCAL_ADDR 0x13EU
  327. #define CSR_ACLOOPBACKCTL_ADDR 0x13FU
  328. /* ACSM0 register offsets */
  329. #define CSR_ACSMSEQ0X0_ADDR 0x0U
  330. #define CSR_ACSMSEQ0X1_ADDR 0x1U
  331. #define CSR_ACSMSEQ0X2_ADDR 0x2U
  332. #define CSR_ACSMSEQ0X3_ADDR 0x3U
  333. #define CSR_ACSMSEQ0X4_ADDR 0x4U
  334. #define CSR_ACSMSEQ0X5_ADDR 0x5U
  335. #define CSR_ACSMSEQ0X6_ADDR 0x6U
  336. #define CSR_ACSMSEQ0X7_ADDR 0x7U
  337. #define CSR_ACSMSEQ0X8_ADDR 0x8U
  338. #define CSR_ACSMSEQ0X9_ADDR 0x9U
  339. #define CSR_ACSMSEQ0X10_ADDR 0xAU
  340. #define CSR_ACSMSEQ0X11_ADDR 0xBU
  341. #define CSR_ACSMSEQ0X12_ADDR 0xCU
  342. #define CSR_ACSMSEQ0X13_ADDR 0xDU
  343. #define CSR_ACSMSEQ0X14_ADDR 0xEU
  344. #define CSR_ACSMSEQ0X15_ADDR 0xFU
  345. #define CSR_ACSMSEQ0X16_ADDR 0x10U
  346. #define CSR_ACSMSEQ0X17_ADDR 0x11U
  347. #define CSR_ACSMSEQ0X18_ADDR 0x12U
  348. #define CSR_ACSMSEQ0X19_ADDR 0x13U
  349. #define CSR_ACSMSEQ0X20_ADDR 0x14U
  350. #define CSR_ACSMSEQ0X21_ADDR 0x15U
  351. #define CSR_ACSMSEQ0X22_ADDR 0x16U
  352. #define CSR_ACSMSEQ0X23_ADDR 0x17U
  353. #define CSR_ACSMSEQ0X24_ADDR 0x18U
  354. #define CSR_ACSMSEQ0X25_ADDR 0x19U
  355. #define CSR_ACSMSEQ0X26_ADDR 0x1AU
  356. #define CSR_ACSMSEQ0X27_ADDR 0x1BU
  357. #define CSR_ACSMSEQ0X28_ADDR 0x1CU
  358. #define CSR_ACSMSEQ0X29_ADDR 0x1DU
  359. #define CSR_ACSMSEQ0X30_ADDR 0x1EU
  360. #define CSR_ACSMSEQ0X31_ADDR 0x1FU
  361. #define CSR_ACSMSEQ1X0_ADDR 0x20U
  362. #define CSR_ACSMSEQ1X1_ADDR 0x21U
  363. #define CSR_ACSMSEQ1X2_ADDR 0x22U
  364. #define CSR_ACSMSEQ1X3_ADDR 0x23U
  365. #define CSR_ACSMSEQ1X4_ADDR 0x24U
  366. #define CSR_ACSMSEQ1X5_ADDR 0x25U
  367. #define CSR_ACSMSEQ1X6_ADDR 0x26U
  368. #define CSR_ACSMSEQ1X7_ADDR 0x27U
  369. #define CSR_ACSMSEQ1X8_ADDR 0x28U
  370. #define CSR_ACSMSEQ1X9_ADDR 0x29U
  371. #define CSR_ACSMSEQ1X10_ADDR 0x2AU
  372. #define CSR_ACSMSEQ1X11_ADDR 0x2BU
  373. #define CSR_ACSMSEQ1X12_ADDR 0x2CU
  374. #define CSR_ACSMSEQ1X13_ADDR 0x2DU
  375. #define CSR_ACSMSEQ1X14_ADDR 0x2EU
  376. #define CSR_ACSMSEQ1X15_ADDR 0x2FU
  377. #define CSR_ACSMSEQ1X16_ADDR 0x30U
  378. #define CSR_ACSMSEQ1X17_ADDR 0x31U
  379. #define CSR_ACSMSEQ1X18_ADDR 0x32U
  380. #define CSR_ACSMSEQ1X19_ADDR 0x33U
  381. #define CSR_ACSMSEQ1X20_ADDR 0x34U
  382. #define CSR_ACSMSEQ1X21_ADDR 0x35U
  383. #define CSR_ACSMSEQ1X22_ADDR 0x36U
  384. #define CSR_ACSMSEQ1X23_ADDR 0x37U
  385. #define CSR_ACSMSEQ1X24_ADDR 0x38U
  386. #define CSR_ACSMSEQ1X25_ADDR 0x39U
  387. #define CSR_ACSMSEQ1X26_ADDR 0x3AU
  388. #define CSR_ACSMSEQ1X27_ADDR 0x3BU
  389. #define CSR_ACSMSEQ1X28_ADDR 0x3CU
  390. #define CSR_ACSMSEQ1X29_ADDR 0x3DU
  391. #define CSR_ACSMSEQ1X30_ADDR 0x3EU
  392. #define CSR_ACSMSEQ1X31_ADDR 0x3FU
  393. #define CSR_ACSMSEQ2X0_ADDR 0x40U
  394. #define CSR_ACSMSEQ2X1_ADDR 0x41U
  395. #define CSR_ACSMSEQ2X2_ADDR 0x42U
  396. #define CSR_ACSMSEQ2X3_ADDR 0x43U
  397. #define CSR_ACSMSEQ2X4_ADDR 0x44U
  398. #define CSR_ACSMSEQ2X5_ADDR 0x45U
  399. #define CSR_ACSMSEQ2X6_ADDR 0x46U
  400. #define CSR_ACSMSEQ2X7_ADDR 0x47U
  401. #define CSR_ACSMSEQ2X8_ADDR 0x48U
  402. #define CSR_ACSMSEQ2X9_ADDR 0x49U
  403. #define CSR_ACSMSEQ2X10_ADDR 0x4AU
  404. #define CSR_ACSMSEQ2X11_ADDR 0x4BU
  405. #define CSR_ACSMSEQ2X12_ADDR 0x4CU
  406. #define CSR_ACSMSEQ2X13_ADDR 0x4DU
  407. #define CSR_ACSMSEQ2X14_ADDR 0x4EU
  408. #define CSR_ACSMSEQ2X15_ADDR 0x4FU
  409. #define CSR_ACSMSEQ2X16_ADDR 0x50U
  410. #define CSR_ACSMSEQ2X17_ADDR 0x51U
  411. #define CSR_ACSMSEQ2X18_ADDR 0x52U
  412. #define CSR_ACSMSEQ2X19_ADDR 0x53U
  413. #define CSR_ACSMSEQ2X20_ADDR 0x54U
  414. #define CSR_ACSMSEQ2X21_ADDR 0x55U
  415. #define CSR_ACSMSEQ2X22_ADDR 0x56U
  416. #define CSR_ACSMSEQ2X23_ADDR 0x57U
  417. #define CSR_ACSMSEQ2X24_ADDR 0x58U
  418. #define CSR_ACSMSEQ2X25_ADDR 0x59U
  419. #define CSR_ACSMSEQ2X26_ADDR 0x5AU
  420. #define CSR_ACSMSEQ2X27_ADDR 0x5BU
  421. #define CSR_ACSMSEQ2X28_ADDR 0x5CU
  422. #define CSR_ACSMSEQ2X29_ADDR 0x5DU
  423. #define CSR_ACSMSEQ2X30_ADDR 0x5EU
  424. #define CSR_ACSMSEQ2X31_ADDR 0x5FU
  425. #define CSR_ACSMSEQ3X0_ADDR 0x60U
  426. #define CSR_ACSMSEQ3X1_ADDR 0x61U
  427. #define CSR_ACSMSEQ3X2_ADDR 0x62U
  428. #define CSR_ACSMSEQ3X3_ADDR 0x63U
  429. #define CSR_ACSMSEQ3X4_ADDR 0x64U
  430. #define CSR_ACSMSEQ3X5_ADDR 0x65U
  431. #define CSR_ACSMSEQ3X6_ADDR 0x66U
  432. #define CSR_ACSMSEQ3X7_ADDR 0x67U
  433. #define CSR_ACSMSEQ3X8_ADDR 0x68U
  434. #define CSR_ACSMSEQ3X9_ADDR 0x69U
  435. #define CSR_ACSMSEQ3X10_ADDR 0x6AU
  436. #define CSR_ACSMSEQ3X11_ADDR 0x6BU
  437. #define CSR_ACSMSEQ3X12_ADDR 0x6CU
  438. #define CSR_ACSMSEQ3X13_ADDR 0x6DU
  439. #define CSR_ACSMSEQ3X14_ADDR 0x6EU
  440. #define CSR_ACSMSEQ3X15_ADDR 0x6FU
  441. #define CSR_ACSMSEQ3X16_ADDR 0x70U
  442. #define CSR_ACSMSEQ3X17_ADDR 0x71U
  443. #define CSR_ACSMSEQ3X18_ADDR 0x72U
  444. #define CSR_ACSMSEQ3X19_ADDR 0x73U
  445. #define CSR_ACSMSEQ3X20_ADDR 0x74U
  446. #define CSR_ACSMSEQ3X21_ADDR 0x75U
  447. #define CSR_ACSMSEQ3X22_ADDR 0x76U
  448. #define CSR_ACSMSEQ3X23_ADDR 0x77U
  449. #define CSR_ACSMSEQ3X24_ADDR 0x78U
  450. #define CSR_ACSMSEQ3X25_ADDR 0x79U
  451. #define CSR_ACSMSEQ3X26_ADDR 0x7AU
  452. #define CSR_ACSMSEQ3X27_ADDR 0x7BU
  453. #define CSR_ACSMSEQ3X28_ADDR 0x7CU
  454. #define CSR_ACSMSEQ3X29_ADDR 0x7DU
  455. #define CSR_ACSMSEQ3X30_ADDR 0x7EU
  456. #define CSR_ACSMSEQ3X31_ADDR 0x7FU
  457. #define CSR_ACSMPLAYBACK0X0_ADDR 0x80U
  458. #define CSR_ACSMPLAYBACK1X0_ADDR 0x81U
  459. #define CSR_ACSMPLAYBACK0X1_ADDR 0x82U
  460. #define CSR_ACSMPLAYBACK1X1_ADDR 0x83U
  461. #define CSR_ACSMPLAYBACK0X2_ADDR 0x84U
  462. #define CSR_ACSMPLAYBACK1X2_ADDR 0x85U
  463. #define CSR_ACSMPLAYBACK0X3_ADDR 0x86U
  464. #define CSR_ACSMPLAYBACK1X3_ADDR 0x87U
  465. #define CSR_ACSMPLAYBACK0X4_ADDR 0x88U
  466. #define CSR_ACSMPLAYBACK1X4_ADDR 0x89U
  467. #define CSR_ACSMPLAYBACK0X5_ADDR 0x8AU
  468. #define CSR_ACSMPLAYBACK1X5_ADDR 0x8BU
  469. #define CSR_ACSMPLAYBACK0X6_ADDR 0x8CU
  470. #define CSR_ACSMPLAYBACK1X6_ADDR 0x8DU
  471. #define CSR_ACSMPLAYBACK0X7_ADDR 0x8EU
  472. #define CSR_ACSMPLAYBACK1X7_ADDR 0x8FU
  473. #define CSR_ACSMPSTATEOVREN_ADDR 0x90U
  474. #define CSR_ACSMPSTATEOVRVAL_ADDR 0x91U
  475. #define CSR_ACSMCTRL23_ADDR 0xC0U
  476. #define CSR_ACSMCKEVAL_ADDR 0xC2U
  477. #define CSR_LOWSPEEDCLOCKDIVIDER_ADDR 0xC8U
  478. #define CSR_ACSMCSMAPCTRL0_ADDR 0xD0U
  479. #define CSR_ACSMCSMAPCTRL1_ADDR 0xD1U
  480. #define CSR_ACSMCSMAPCTRL2_ADDR 0xD2U
  481. #define CSR_ACSMCSMAPCTRL3_ADDR 0xD3U
  482. #define CSR_ACSMCSMAPCTRL4_ADDR 0xD4U
  483. #define CSR_ACSMCSMAPCTRL5_ADDR 0xD5U
  484. #define CSR_ACSMCSMAPCTRL6_ADDR 0xD6U
  485. #define CSR_ACSMCSMAPCTRL7_ADDR 0xD7U
  486. #define CSR_ACSMCSMAPCTRL8_ADDR 0xD8U
  487. #define CSR_ACSMCSMAPCTRL9_ADDR 0xD9U
  488. #define CSR_ACSMCSMAPCTRL10_ADDR 0xDAU
  489. #define CSR_ACSMCSMAPCTRL11_ADDR 0xDBU
  490. #define CSR_ACSMCSMAPCTRL12_ADDR 0xDCU
  491. #define CSR_ACSMCSMAPCTRL13_ADDR 0xDDU
  492. #define CSR_ACSMCSMAPCTRL14_ADDR 0xDEU
  493. #define CSR_ACSMCSMAPCTRL15_ADDR 0xDFU
  494. #define CSR_ACSMODTCTRL0_ADDR 0xE0U
  495. #define CSR_ACSMODTCTRL1_ADDR 0xE1U
  496. #define CSR_ACSMODTCTRL2_ADDR 0xE2U
  497. #define CSR_ACSMODTCTRL3_ADDR 0xE3U
  498. #define CSR_ACSMODTCTRL4_ADDR 0xE4U
  499. #define CSR_ACSMODTCTRL5_ADDR 0xE5U
  500. #define CSR_ACSMODTCTRL6_ADDR 0xE6U
  501. #define CSR_ACSMODTCTRL7_ADDR 0xE7U
  502. #define CSR_ACSMODTCTRL8_ADDR 0xE8U
  503. #define CSR_ACSMCTRL16_ADDR 0xE9U
  504. #define CSR_LOWSPEEDCLOCKSTOPVAL_ADDR 0xEAU
  505. #define CSR_ACSMCTRL18_ADDR 0xEBU
  506. #define CSR_ACSMCTRL19_ADDR 0xECU
  507. #define CSR_ACSMCTRL20_ADDR 0xEDU
  508. #define CSR_ACSMCTRL21_ADDR 0xEEU
  509. #define CSR_ACSMCTRL22_ADDR 0xEFU
  510. #define CSR_ACSMCTRL0_ADDR 0xF0U
  511. #define CSR_ACSMCTRL1_ADDR 0xF1U
  512. #define CSR_ACSMCTRL2_ADDR 0xF2U
  513. #define CSR_ACSMCTRL3_ADDR 0xF3U
  514. #define CSR_ACSMCTRL4_ADDR 0xF4U
  515. #define CSR_ACSMCTRL5_ADDR 0xF5U
  516. #define CSR_ACSMCTRL6_ADDR 0xF6U
  517. #define CSR_ACSMCTRL7_ADDR 0xF7U
  518. #define CSR_ACSMCTRL8_ADDR 0xF8U
  519. #define CSR_ACSMCTRL9_ADDR 0xF9U
  520. #define CSR_ACSMCTRL10_ADDR 0xFAU
  521. #define CSR_ACSMCTRL11_ADDR 0xFBU
  522. #define CSR_ACSMCTRL12_ADDR 0xFCU
  523. #define CSR_ACSMCTRL13_ADDR 0xFDU
  524. #define CSR_ACSMCTRL14_ADDR 0xFEU
  525. #define CSR_ACSMCTRL15_ADDR 0xFFU
  526. /* PPGC0 register offsets */
  527. #define CSR_PPGCCTRL1_ADDR 0x11U
  528. #define CSR_PPGCLANE2CRCINMAP0_ADDR 0x15U
  529. #define CSR_PPGCLANE2CRCINMAP1_ADDR 0x16U
  530. #define CSR_PRBSTAPDLY0_ADDR 0x24U
  531. #define CSR_PRBSTAPDLY1_ADDR 0x25U
  532. #define CSR_PRBSTAPDLY2_ADDR 0x26U
  533. #define CSR_PRBSTAPDLY3_ADDR 0x27U
  534. #define CSR_GENPRBSBYTE0_ADDR 0x30U
  535. #define CSR_GENPRBSBYTE1_ADDR 0x31U
  536. #define CSR_GENPRBSBYTE2_ADDR 0x32U
  537. #define CSR_GENPRBSBYTE3_ADDR 0x33U
  538. #define CSR_GENPRBSBYTE4_ADDR 0x34U
  539. #define CSR_GENPRBSBYTE5_ADDR 0x35U
  540. #define CSR_GENPRBSBYTE6_ADDR 0x36U
  541. #define CSR_GENPRBSBYTE7_ADDR 0x37U
  542. #define CSR_GENPRBSBYTE8_ADDR 0x38U
  543. #define CSR_GENPRBSBYTE9_ADDR 0x39U
  544. #define CSR_GENPRBSBYTE10_ADDR 0x3AU
  545. #define CSR_GENPRBSBYTE11_ADDR 0x3BU
  546. #define CSR_GENPRBSBYTE12_ADDR 0x3CU
  547. #define CSR_GENPRBSBYTE13_ADDR 0x3DU
  548. #define CSR_GENPRBSBYTE14_ADDR 0x3EU
  549. #define CSR_GENPRBSBYTE15_ADDR 0x3FU
  550. #define CSR_PRBSGENCTL_ADDR 0x60U
  551. #define CSR_PRBSGENSTATELO_ADDR 0x61U
  552. #define CSR_PRBSGENSTATEHI_ADDR 0x62U
  553. #define CSR_PRBSCHKSTATELO_ADDR 0x63U
  554. #define CSR_PRBSCHKSTATEHI_ADDR 0x64U
  555. #define CSR_PRBSGENCTL1_ADDR 0x65U
  556. #define CSR_PRBSGENCTL2_ADDR 0x66U
  557. /* INITENG0 register offsets */
  558. #define CSR_PRESEQUENCEREG0B0S0_ADDR 0x0U
  559. #define CSR_PRESEQUENCEREG0B0S1_ADDR 0x1U
  560. #define CSR_PRESEQUENCEREG0B0S2_ADDR 0x2U
  561. #define CSR_PRESEQUENCEREG0B1S0_ADDR 0x3U
  562. #define CSR_PRESEQUENCEREG0B1S1_ADDR 0x4U
  563. #define CSR_PRESEQUENCEREG0B1S2_ADDR 0x5U
  564. #define CSR_POSTSEQUENCEREG0B0S0_ADDR 0x6U
  565. #define CSR_POSTSEQUENCEREG0B0S1_ADDR 0x7U
  566. #define CSR_POSTSEQUENCEREG0B0S2_ADDR 0x8U
  567. #define CSR_POSTSEQUENCEREG0B1S0_ADDR 0x9U
  568. #define CSR_POSTSEQUENCEREG0B1S1_ADDR 0xAU
  569. #define CSR_POSTSEQUENCEREG0B1S2_ADDR 0xBU
  570. #define CSR_SEQ0BDISABLEFLAG0_ADDR 0xCU
  571. #define CSR_SEQ0BDISABLEFLAG1_ADDR 0xDU
  572. #define CSR_SEQ0BDISABLEFLAG2_ADDR 0xEU
  573. #define CSR_SEQ0BDISABLEFLAG3_ADDR 0xFU
  574. #define CSR_SEQ0BDISABLEFLAG4_ADDR 0x10U
  575. #define CSR_SEQ0BDISABLEFLAG5_ADDR 0x11U
  576. #define CSR_SEQ0BDISABLEFLAG6_ADDR 0x12U
  577. #define CSR_SEQ0BDISABLEFLAG7_ADDR 0x13U
  578. #define CSR_STARTVECTOR0B0_ADDR 0x17U
  579. #define CSR_STARTVECTOR0B1_ADDR 0x18U
  580. #define CSR_STARTVECTOR0B2_ADDR 0x19U
  581. #define CSR_STARTVECTOR0B3_ADDR 0x1AU
  582. #define CSR_STARTVECTOR0B4_ADDR 0x1BU
  583. #define CSR_STARTVECTOR0B5_ADDR 0x1CU
  584. #define CSR_STARTVECTOR0B6_ADDR 0x1DU
  585. #define CSR_STARTVECTOR0B7_ADDR 0x1EU
  586. #define CSR_STARTVECTOR0B8_ADDR 0x1FU
  587. #define CSR_STARTVECTOR0B9_ADDR 0x20U
  588. #define CSR_STARTVECTOR0B10_ADDR 0x21U
  589. #define CSR_STARTVECTOR0B11_ADDR 0x22U
  590. #define CSR_STARTVECTOR0B12_ADDR 0x23U
  591. #define CSR_STARTVECTOR0B13_ADDR 0x24U
  592. #define CSR_STARTVECTOR0B14_ADDR 0x25U
  593. #define CSR_STARTVECTOR0B15_ADDR 0x26U
  594. #define CSR_SEQ0BWAITCONDSEL_ADDR 0x27U
  595. #define CSR_PHYINLP3_ADDR 0x28U
  596. #define CSR_SEQUENCEREG0B0S0_ADDR 0x29U
  597. #define CSR_SEQUENCEREG0B0S1_ADDR 0x2AU
  598. #define CSR_SEQUENCEREG0B0S2_ADDR 0x2BU
  599. #define CSR_SEQUENCEREG0B1S0_ADDR 0x2CU
  600. #define CSR_SEQUENCEREG0B1S1_ADDR 0x2DU
  601. #define CSR_SEQUENCEREG0B1S2_ADDR 0x2EU
  602. #define CSR_SEQUENCEREG0B2S0_ADDR 0x2FU
  603. #define CSR_SEQUENCEREG0B2S1_ADDR 0x30U
  604. #define CSR_SEQUENCEREG0B2S2_ADDR 0x31U
  605. #define CSR_SEQUENCEREG0B3S0_ADDR 0x32U
  606. #define CSR_SEQUENCEREG0B3S1_ADDR 0x33U
  607. #define CSR_SEQUENCEREG0B3S2_ADDR 0x34U
  608. #define CSR_SEQUENCEREG0B4S0_ADDR 0x35U
  609. #define CSR_SEQUENCEREG0B4S1_ADDR 0x36U
  610. #define CSR_SEQUENCEREG0B4S2_ADDR 0x37U
  611. #define CSR_SEQUENCEREG0B5S0_ADDR 0x38U
  612. #define CSR_SEQUENCEREG0B5S1_ADDR 0x39U
  613. #define CSR_SEQUENCEREG0B5S2_ADDR 0x3AU
  614. #define CSR_SEQUENCEREG0B6S0_ADDR 0x3BU
  615. #define CSR_SEQUENCEREG0B6S1_ADDR 0x3CU
  616. #define CSR_SEQUENCEREG0B6S2_ADDR 0x3DU
  617. #define CSR_SEQUENCEREG0B7S0_ADDR 0x3EU
  618. #define CSR_SEQUENCEREG0B7S1_ADDR 0x3FU
  619. #define CSR_SEQUENCEREG0B7S2_ADDR 0x40U
  620. #define CSR_SEQUENCEREG0B8S0_ADDR 0x41U
  621. #define CSR_SEQUENCEREG0B8S1_ADDR 0x42U
  622. #define CSR_SEQUENCEREG0B8S2_ADDR 0x43U
  623. #define CSR_SEQUENCEREG0B9S0_ADDR 0x44U
  624. #define CSR_SEQUENCEREG0B9S1_ADDR 0x45U
  625. #define CSR_SEQUENCEREG0B9S2_ADDR 0x46U
  626. #define CSR_SEQUENCEREG0B10S0_ADDR 0x47U
  627. #define CSR_SEQUENCEREG0B10S1_ADDR 0x48U
  628. #define CSR_SEQUENCEREG0B10S2_ADDR 0x49U
  629. #define CSR_SEQUENCEREG0B11S0_ADDR 0x4AU
  630. #define CSR_SEQUENCEREG0B11S1_ADDR 0x4BU
  631. #define CSR_SEQUENCEREG0B11S2_ADDR 0x4CU
  632. #define CSR_SEQUENCEREG0B12S0_ADDR 0x4DU
  633. #define CSR_SEQUENCEREG0B12S1_ADDR 0x4EU
  634. #define CSR_SEQUENCEREG0B12S2_ADDR 0x4FU
  635. #define CSR_SEQUENCEREG0B13S0_ADDR 0x50U
  636. #define CSR_SEQUENCEREG0B13S1_ADDR 0x51U
  637. #define CSR_SEQUENCEREG0B13S2_ADDR 0x52U
  638. #define CSR_SEQUENCEREG0B14S0_ADDR 0x53U
  639. #define CSR_SEQUENCEREG0B14S1_ADDR 0x54U
  640. #define CSR_SEQUENCEREG0B14S2_ADDR 0x55U
  641. #define CSR_SEQUENCEREG0B15S0_ADDR 0x56U
  642. #define CSR_SEQUENCEREG0B15S1_ADDR 0x57U
  643. #define CSR_SEQUENCEREG0B15S2_ADDR 0x58U
  644. #define CSR_SEQUENCEREG0B16S0_ADDR 0x59U
  645. #define CSR_SEQUENCEREG0B16S1_ADDR 0x5AU
  646. #define CSR_SEQUENCEREG0B16S2_ADDR 0x5BU
  647. #define CSR_SEQUENCEREG0B17S0_ADDR 0x5CU
  648. #define CSR_SEQUENCEREG0B17S1_ADDR 0x5DU
  649. #define CSR_SEQUENCEREG0B17S2_ADDR 0x5EU
  650. #define CSR_SEQUENCEREG0B18S0_ADDR 0x5FU
  651. #define CSR_SEQUENCEREG0B18S1_ADDR 0x60U
  652. #define CSR_SEQUENCEREG0B18S2_ADDR 0x61U
  653. #define CSR_SEQUENCEREG0B19S0_ADDR 0x62U
  654. #define CSR_SEQUENCEREG0B19S1_ADDR 0x63U
  655. #define CSR_SEQUENCEREG0B19S2_ADDR 0x64U
  656. #define CSR_SEQUENCEREG0B20S0_ADDR 0x65U
  657. #define CSR_SEQUENCEREG0B20S1_ADDR 0x66U
  658. #define CSR_SEQUENCEREG0B20S2_ADDR 0x67U
  659. #define CSR_SEQUENCEREG0B21S0_ADDR 0x68U
  660. #define CSR_SEQUENCEREG0B21S1_ADDR 0x69U
  661. #define CSR_SEQUENCEREG0B21S2_ADDR 0x6AU
  662. #define CSR_SEQUENCEREG0B22S0_ADDR 0x6BU
  663. #define CSR_SEQUENCEREG0B22S1_ADDR 0x6CU
  664. #define CSR_SEQUENCEREG0B22S2_ADDR 0x6DU
  665. #define CSR_SEQUENCEREG0B23S0_ADDR 0x6EU
  666. #define CSR_SEQUENCEREG0B23S1_ADDR 0x6FU
  667. #define CSR_SEQUENCEREG0B23S2_ADDR 0x70U
  668. #define CSR_SEQUENCEREG0B24S0_ADDR 0x71U
  669. #define CSR_SEQUENCEREG0B24S1_ADDR 0x72U
  670. #define CSR_SEQUENCEREG0B24S2_ADDR 0x73U
  671. #define CSR_SEQUENCEREG0B25S0_ADDR 0x74U
  672. #define CSR_SEQUENCEREG0B25S1_ADDR 0x75U
  673. #define CSR_SEQUENCEREG0B25S2_ADDR 0x76U
  674. #define CSR_SEQUENCEREG0B26S0_ADDR 0x77U
  675. #define CSR_SEQUENCEREG0B26S1_ADDR 0x78U
  676. #define CSR_SEQUENCEREG0B26S2_ADDR 0x79U
  677. #define CSR_SEQUENCEREG0B27S0_ADDR 0x7AU
  678. #define CSR_SEQUENCEREG0B27S1_ADDR 0x7BU
  679. #define CSR_SEQUENCEREG0B27S2_ADDR 0x7CU
  680. #define CSR_SEQUENCEREG0B28S0_ADDR 0x7DU
  681. #define CSR_SEQUENCEREG0B28S1_ADDR 0x7EU
  682. #define CSR_SEQUENCEREG0B28S2_ADDR 0x7FU
  683. #define CSR_SEQUENCEREG0B29S0_ADDR 0x80U
  684. #define CSR_SEQUENCEREG0B29S1_ADDR 0x81U
  685. #define CSR_SEQUENCEREG0B29S2_ADDR 0x82U
  686. #define CSR_SEQUENCEREG0B30S0_ADDR 0x83U
  687. #define CSR_SEQUENCEREG0B30S1_ADDR 0x84U
  688. #define CSR_SEQUENCEREG0B30S2_ADDR 0x85U
  689. #define CSR_SEQUENCEREG0B31S0_ADDR 0x86U
  690. #define CSR_SEQUENCEREG0B31S1_ADDR 0x87U
  691. #define CSR_SEQUENCEREG0B31S2_ADDR 0x88U
  692. #define CSR_SEQUENCEREG0B32S0_ADDR 0x89U
  693. #define CSR_SEQUENCEREG0B32S1_ADDR 0x8AU
  694. #define CSR_SEQUENCEREG0B32S2_ADDR 0x8BU
  695. #define CSR_SEQUENCEREG0B33S0_ADDR 0x8CU
  696. #define CSR_SEQUENCEREG0B33S1_ADDR 0x8DU
  697. #define CSR_SEQUENCEREG0B33S2_ADDR 0x8EU
  698. #define CSR_SEQUENCEREG0B34S0_ADDR 0x8FU
  699. #define CSR_SEQUENCEREG0B34S1_ADDR 0x90U
  700. #define CSR_SEQUENCEREG0B34S2_ADDR 0x91U
  701. #define CSR_SEQUENCEREG0B35S0_ADDR 0x92U
  702. #define CSR_SEQUENCEREG0B35S1_ADDR 0x93U
  703. #define CSR_SEQUENCEREG0B35S2_ADDR 0x94U
  704. #define CSR_SEQUENCEREG0B36S0_ADDR 0x95U
  705. #define CSR_SEQUENCEREG0B36S1_ADDR 0x96U
  706. #define CSR_SEQUENCEREG0B36S2_ADDR 0x97U
  707. #define CSR_SEQUENCEREG0B37S0_ADDR 0x98U
  708. #define CSR_SEQUENCEREG0B37S1_ADDR 0x99U
  709. #define CSR_SEQUENCEREG0B37S2_ADDR 0x9AU
  710. #define CSR_SEQUENCEREG0B38S0_ADDR 0x9BU
  711. #define CSR_SEQUENCEREG0B38S1_ADDR 0x9CU
  712. #define CSR_SEQUENCEREG0B38S2_ADDR 0x9DU
  713. #define CSR_SEQUENCEREG0B39S0_ADDR 0x9EU
  714. #define CSR_SEQUENCEREG0B39S1_ADDR 0x9FU
  715. #define CSR_SEQUENCEREG0B39S2_ADDR 0xA0U
  716. #define CSR_SEQUENCEREG0B40S0_ADDR 0xA1U
  717. #define CSR_SEQUENCEREG0B40S1_ADDR 0xA2U
  718. #define CSR_SEQUENCEREG0B40S2_ADDR 0xA3U
  719. #define CSR_SEQUENCEREG0B41S0_ADDR 0xA4U
  720. #define CSR_SEQUENCEREG0B41S1_ADDR 0xA5U
  721. #define CSR_SEQUENCEREG0B41S2_ADDR 0xA6U
  722. #define CSR_SEQUENCEREG0B42S0_ADDR 0xA7U
  723. #define CSR_SEQUENCEREG0B42S1_ADDR 0xA8U
  724. #define CSR_SEQUENCEREG0B42S2_ADDR 0xA9U
  725. #define CSR_SEQUENCEREG0B43S0_ADDR 0xAAU
  726. #define CSR_SEQUENCEREG0B43S1_ADDR 0xABU
  727. #define CSR_SEQUENCEREG0B43S2_ADDR 0xACU
  728. #define CSR_SEQUENCEREG0B44S0_ADDR 0xADU
  729. #define CSR_SEQUENCEREG0B44S1_ADDR 0xAEU
  730. #define CSR_SEQUENCEREG0B44S2_ADDR 0xAFU
  731. #define CSR_SEQUENCEREG0B45S0_ADDR 0xB0U
  732. #define CSR_SEQUENCEREG0B45S1_ADDR 0xB1U
  733. #define CSR_SEQUENCEREG0B45S2_ADDR 0xB2U
  734. #define CSR_SEQUENCEREG0B46S0_ADDR 0xB3U
  735. #define CSR_SEQUENCEREG0B46S1_ADDR 0xB4U
  736. #define CSR_SEQUENCEREG0B46S2_ADDR 0xB5U
  737. #define CSR_SEQUENCEREG0B47S0_ADDR 0xB6U
  738. #define CSR_SEQUENCEREG0B47S1_ADDR 0xB7U
  739. #define CSR_SEQUENCEREG0B47S2_ADDR 0xB8U
  740. #define CSR_SEQUENCEREG0B48S0_ADDR 0xB9U
  741. #define CSR_SEQUENCEREG0B48S1_ADDR 0xBAU
  742. #define CSR_SEQUENCEREG0B48S2_ADDR 0xBBU
  743. #define CSR_SEQUENCEREG0B49S0_ADDR 0xBCU
  744. #define CSR_SEQUENCEREG0B49S1_ADDR 0xBDU
  745. #define CSR_SEQUENCEREG0B49S2_ADDR 0xBEU
  746. #define CSR_SEQUENCEREG0B50S0_ADDR 0xBFU
  747. #define CSR_SEQUENCEREG0B50S1_ADDR 0xC0U
  748. #define CSR_SEQUENCEREG0B50S2_ADDR 0xC1U
  749. #define CSR_SEQUENCEREG0B51S0_ADDR 0xC2U
  750. #define CSR_SEQUENCEREG0B51S1_ADDR 0xC3U
  751. #define CSR_SEQUENCEREG0B51S2_ADDR 0xC4U
  752. #define CSR_SEQUENCEREG0B52S0_ADDR 0xC5U
  753. #define CSR_SEQUENCEREG0B52S1_ADDR 0xC6U
  754. #define CSR_SEQUENCEREG0B52S2_ADDR 0xC7U
  755. #define CSR_SEQUENCEREG0B53S0_ADDR 0xC8U
  756. #define CSR_SEQUENCEREG0B53S1_ADDR 0xC9U
  757. #define CSR_SEQUENCEREG0B53S2_ADDR 0xCAU
  758. #define CSR_SEQUENCEREG0B54S0_ADDR 0xCBU
  759. #define CSR_SEQUENCEREG0B54S1_ADDR 0xCCU
  760. #define CSR_SEQUENCEREG0B54S2_ADDR 0xCDU
  761. #define CSR_SEQUENCEREG0B55S0_ADDR 0xCEU
  762. #define CSR_SEQUENCEREG0B55S1_ADDR 0xCFU
  763. #define CSR_SEQUENCEREG0B55S2_ADDR 0xD0U
  764. #define CSR_SEQUENCEREG0B56S0_ADDR 0xD1U
  765. #define CSR_SEQUENCEREG0B56S1_ADDR 0xD2U
  766. #define CSR_SEQUENCEREG0B56S2_ADDR 0xD3U
  767. #define CSR_SEQUENCEREG0B57S0_ADDR 0xD4U
  768. #define CSR_SEQUENCEREG0B57S1_ADDR 0xD5U
  769. #define CSR_SEQUENCEREG0B57S2_ADDR 0xD6U
  770. #define CSR_SEQUENCEREG0B58S0_ADDR 0xD7U
  771. #define CSR_SEQUENCEREG0B58S1_ADDR 0xD8U
  772. #define CSR_SEQUENCEREG0B58S2_ADDR 0xD9U
  773. #define CSR_SEQUENCEREG0B59S0_ADDR 0xDAU
  774. #define CSR_SEQUENCEREG0B59S1_ADDR 0xDBU
  775. #define CSR_SEQUENCEREG0B59S2_ADDR 0xDCU
  776. #define CSR_SEQUENCEREG0B60S0_ADDR 0xDDU
  777. #define CSR_SEQUENCEREG0B60S1_ADDR 0xDEU
  778. #define CSR_SEQUENCEREG0B60S2_ADDR 0xDFU
  779. #define CSR_SEQUENCEREG0B61S0_ADDR 0xE0U
  780. #define CSR_SEQUENCEREG0B61S1_ADDR 0xE1U
  781. #define CSR_SEQUENCEREG0B61S2_ADDR 0xE2U
  782. #define CSR_SEQUENCEREG0B62S0_ADDR 0xE3U
  783. #define CSR_SEQUENCEREG0B62S1_ADDR 0xE4U
  784. #define CSR_SEQUENCEREG0B62S2_ADDR 0xE5U
  785. #define CSR_SEQUENCEREG0B63S0_ADDR 0xE6U
  786. #define CSR_SEQUENCEREG0B63S1_ADDR 0xE7U
  787. #define CSR_SEQUENCEREG0B63S2_ADDR 0xE8U
  788. #define CSR_SEQUENCEREG0B64S0_ADDR 0xE9U
  789. #define CSR_SEQUENCEREG0B64S1_ADDR 0xEAU
  790. #define CSR_SEQUENCEREG0B64S2_ADDR 0xEBU
  791. #define CSR_SEQUENCEREG0B65S0_ADDR 0xECU
  792. #define CSR_SEQUENCEREG0B65S1_ADDR 0xEDU
  793. #define CSR_SEQUENCEREG0B65S2_ADDR 0xEEU
  794. #define CSR_SEQUENCEREG0B66S0_ADDR 0xEFU
  795. #define CSR_SEQUENCEREG0B66S1_ADDR 0xF0U
  796. #define CSR_SEQUENCEREG0B66S2_ADDR 0xF1U
  797. #define CSR_SEQUENCEREG0B67S0_ADDR 0xF2U
  798. #define CSR_SEQUENCEREG0B67S1_ADDR 0xF3U
  799. #define CSR_SEQUENCEREG0B67S2_ADDR 0xF4U
  800. #define CSR_SEQUENCEREG0B68S0_ADDR 0xF5U
  801. #define CSR_SEQUENCEREG0B68S1_ADDR 0xF6U
  802. #define CSR_SEQUENCEREG0B68S2_ADDR 0xF7U
  803. #define CSR_SEQUENCEREG0B69S0_ADDR 0xF8U
  804. #define CSR_SEQUENCEREG0B69S1_ADDR 0xF9U
  805. #define CSR_SEQUENCEREG0B69S2_ADDR 0xFAU
  806. #define CSR_SEQUENCEREG0B70S0_ADDR 0xFBU
  807. #define CSR_SEQUENCEREG0B70S1_ADDR 0xFCU
  808. #define CSR_SEQUENCEREG0B70S2_ADDR 0xFDU
  809. #define CSR_SEQUENCEREG0B71S0_ADDR 0xFEU
  810. #define CSR_SEQUENCEREG0B71S1_ADDR 0xFFU
  811. #define CSR_SEQUENCEREG0B71S2_ADDR 0x100U
  812. #define CSR_SEQUENCEREG0B72S0_ADDR 0x101U
  813. #define CSR_SEQUENCEREG0B72S1_ADDR 0x102U
  814. #define CSR_SEQUENCEREG0B72S2_ADDR 0x103U
  815. #define CSR_SEQUENCEREG0B73S0_ADDR 0x104U
  816. #define CSR_SEQUENCEREG0B73S1_ADDR 0x105U
  817. #define CSR_SEQUENCEREG0B73S2_ADDR 0x106U
  818. #define CSR_SEQUENCEREG0B74S0_ADDR 0x107U
  819. #define CSR_SEQUENCEREG0B74S1_ADDR 0x108U
  820. #define CSR_SEQUENCEREG0B74S2_ADDR 0x109U
  821. #define CSR_SEQUENCEREG0B75S0_ADDR 0x10AU
  822. #define CSR_SEQUENCEREG0B75S1_ADDR 0x10BU
  823. #define CSR_SEQUENCEREG0B75S2_ADDR 0x10CU
  824. #define CSR_SEQUENCEREG0B76S0_ADDR 0x10DU
  825. #define CSR_SEQUENCEREG0B76S1_ADDR 0x10EU
  826. #define CSR_SEQUENCEREG0B76S2_ADDR 0x10FU
  827. #define CSR_SEQUENCEREG0B77S0_ADDR 0x110U
  828. #define CSR_SEQUENCEREG0B77S1_ADDR 0x111U
  829. #define CSR_SEQUENCEREG0B77S2_ADDR 0x112U
  830. #define CSR_SEQUENCEREG0B78S0_ADDR 0x113U
  831. #define CSR_SEQUENCEREG0B78S1_ADDR 0x114U
  832. #define CSR_SEQUENCEREG0B78S2_ADDR 0x115U
  833. #define CSR_SEQUENCEREG0B79S0_ADDR 0x116U
  834. #define CSR_SEQUENCEREG0B79S1_ADDR 0x117U
  835. #define CSR_SEQUENCEREG0B79S2_ADDR 0x118U
  836. #define CSR_SEQUENCEREG0B80S0_ADDR 0x119U
  837. #define CSR_SEQUENCEREG0B80S1_ADDR 0x11AU
  838. #define CSR_SEQUENCEREG0B80S2_ADDR 0x11BU
  839. #define CSR_SEQUENCEREG0B81S0_ADDR 0x11CU
  840. #define CSR_SEQUENCEREG0B81S1_ADDR 0x11DU
  841. #define CSR_SEQUENCEREG0B81S2_ADDR 0x11EU
  842. #define CSR_SEQUENCEREG0B82S0_ADDR 0x11FU
  843. #define CSR_SEQUENCEREG0B82S1_ADDR 0x120U
  844. #define CSR_SEQUENCEREG0B82S2_ADDR 0x121U
  845. #define CSR_SEQUENCEREG0B83S0_ADDR 0x122U
  846. #define CSR_SEQUENCEREG0B83S1_ADDR 0x123U
  847. #define CSR_SEQUENCEREG0B83S2_ADDR 0x124U
  848. #define CSR_SEQUENCEREG0B84S0_ADDR 0x125U
  849. #define CSR_SEQUENCEREG0B84S1_ADDR 0x126U
  850. #define CSR_SEQUENCEREG0B84S2_ADDR 0x127U
  851. #define CSR_SEQUENCEREG0B85S0_ADDR 0x128U
  852. #define CSR_SEQUENCEREG0B85S1_ADDR 0x129U
  853. #define CSR_SEQUENCEREG0B85S2_ADDR 0x12AU
  854. #define CSR_SEQUENCEREG0B86S0_ADDR 0x12BU
  855. #define CSR_SEQUENCEREG0B86S1_ADDR 0x12CU
  856. #define CSR_SEQUENCEREG0B86S2_ADDR 0x12DU
  857. #define CSR_SEQUENCEREG0B87S0_ADDR 0x12EU
  858. #define CSR_SEQUENCEREG0B87S1_ADDR 0x12FU
  859. #define CSR_SEQUENCEREG0B87S2_ADDR 0x130U
  860. #define CSR_SEQUENCEREG0B88S0_ADDR 0x131U
  861. #define CSR_SEQUENCEREG0B88S1_ADDR 0x132U
  862. #define CSR_SEQUENCEREG0B88S2_ADDR 0x133U
  863. #define CSR_SEQUENCEREG0B89S0_ADDR 0x134U
  864. #define CSR_SEQUENCEREG0B89S1_ADDR 0x135U
  865. #define CSR_SEQUENCEREG0B89S2_ADDR 0x136U
  866. #define CSR_SEQUENCEREG0B90S0_ADDR 0x137U
  867. #define CSR_SEQUENCEREG0B90S1_ADDR 0x138U
  868. #define CSR_SEQUENCEREG0B90S2_ADDR 0x139U
  869. #define CSR_SEQUENCEREG0B91S0_ADDR 0x13AU
  870. #define CSR_SEQUENCEREG0B91S1_ADDR 0x13BU
  871. #define CSR_SEQUENCEREG0B91S2_ADDR 0x13CU
  872. #define CSR_SEQUENCEREG0B92S0_ADDR 0x13DU
  873. #define CSR_SEQUENCEREG0B92S1_ADDR 0x13EU
  874. #define CSR_SEQUENCEREG0B92S2_ADDR 0x13FU
  875. #define CSR_SEQUENCEREG0B93S0_ADDR 0x140U
  876. #define CSR_SEQUENCEREG0B93S1_ADDR 0x141U
  877. #define CSR_SEQUENCEREG0B93S2_ADDR 0x142U
  878. #define CSR_SEQUENCEREG0B94S0_ADDR 0x143U
  879. #define CSR_SEQUENCEREG0B94S1_ADDR 0x144U
  880. #define CSR_SEQUENCEREG0B94S2_ADDR 0x145U
  881. #define CSR_SEQUENCEREG0B95S0_ADDR 0x146U
  882. #define CSR_SEQUENCEREG0B95S1_ADDR 0x147U
  883. #define CSR_SEQUENCEREG0B95S2_ADDR 0x148U
  884. #define CSR_SEQUENCEREG0B96S0_ADDR 0x149U
  885. #define CSR_SEQUENCEREG0B96S1_ADDR 0x14AU
  886. #define CSR_SEQUENCEREG0B96S2_ADDR 0x14BU
  887. #define CSR_SEQUENCEREG0B97S0_ADDR 0x14CU
  888. #define CSR_SEQUENCEREG0B97S1_ADDR 0x14DU
  889. #define CSR_SEQUENCEREG0B97S2_ADDR 0x14EU
  890. #define CSR_SEQUENCEREG0B98S0_ADDR 0x14FU
  891. #define CSR_SEQUENCEREG0B98S1_ADDR 0x150U
  892. #define CSR_SEQUENCEREG0B98S2_ADDR 0x151U
  893. #define CSR_SEQUENCEREG0B99S0_ADDR 0x152U
  894. #define CSR_SEQUENCEREG0B99S1_ADDR 0x153U
  895. #define CSR_SEQUENCEREG0B99S2_ADDR 0x154U
  896. #define CSR_SEQUENCEREG0B100S0_ADDR 0x155U
  897. #define CSR_SEQUENCEREG0B100S1_ADDR 0x156U
  898. #define CSR_SEQUENCEREG0B100S2_ADDR 0x157U
  899. #define CSR_SEQUENCEREG0B101S0_ADDR 0x158U
  900. #define CSR_SEQUENCEREG0B101S1_ADDR 0x159U
  901. #define CSR_SEQUENCEREG0B101S2_ADDR 0x15AU
  902. #define CSR_SEQUENCEREG0B102S0_ADDR 0x15BU
  903. #define CSR_SEQUENCEREG0B102S1_ADDR 0x15CU
  904. #define CSR_SEQUENCEREG0B102S2_ADDR 0x15DU
  905. #define CSR_SEQUENCEREG0B103S0_ADDR 0x15EU
  906. #define CSR_SEQUENCEREG0B103S1_ADDR 0x15FU
  907. #define CSR_SEQUENCEREG0B103S2_ADDR 0x160U
  908. #define CSR_SEQUENCEREG0B104S0_ADDR 0x161U
  909. #define CSR_SEQUENCEREG0B104S1_ADDR 0x162U
  910. #define CSR_SEQUENCEREG0B104S2_ADDR 0x163U
  911. #define CSR_SEQUENCEREG0B105S0_ADDR 0x164U
  912. #define CSR_SEQUENCEREG0B105S1_ADDR 0x165U
  913. #define CSR_SEQUENCEREG0B105S2_ADDR 0x166U
  914. #define CSR_SEQUENCEREG0B106S0_ADDR 0x167U
  915. #define CSR_SEQUENCEREG0B106S1_ADDR 0x168U
  916. #define CSR_SEQUENCEREG0B106S2_ADDR 0x169U
  917. #define CSR_SEQUENCEREG0B107S0_ADDR 0x16AU
  918. #define CSR_SEQUENCEREG0B107S1_ADDR 0x16BU
  919. #define CSR_SEQUENCEREG0B107S2_ADDR 0x16CU
  920. #define CSR_SEQUENCEREG0B108S0_ADDR 0x16DU
  921. #define CSR_SEQUENCEREG0B108S1_ADDR 0x16EU
  922. #define CSR_SEQUENCEREG0B108S2_ADDR 0x16FU
  923. #define CSR_SEQUENCEREG0B109S0_ADDR 0x170U
  924. #define CSR_SEQUENCEREG0B109S1_ADDR 0x171U
  925. #define CSR_SEQUENCEREG0B109S2_ADDR 0x172U
  926. #define CSR_SEQUENCEREG0B110S0_ADDR 0x173U
  927. #define CSR_SEQUENCEREG0B110S1_ADDR 0x174U
  928. #define CSR_SEQUENCEREG0B110S2_ADDR 0x175U
  929. #define CSR_SEQUENCEREG0B111S0_ADDR 0x176U
  930. #define CSR_SEQUENCEREG0B111S1_ADDR 0x177U
  931. #define CSR_SEQUENCEREG0B111S2_ADDR 0x178U
  932. #define CSR_SEQUENCEREG0B112S0_ADDR 0x179U
  933. #define CSR_SEQUENCEREG0B112S1_ADDR 0x17AU
  934. #define CSR_SEQUENCEREG0B112S2_ADDR 0x17BU
  935. #define CSR_SEQUENCEREG0B113S0_ADDR 0x17CU
  936. #define CSR_SEQUENCEREG0B113S1_ADDR 0x17DU
  937. #define CSR_SEQUENCEREG0B113S2_ADDR 0x17EU
  938. #define CSR_SEQUENCEREG0B114S0_ADDR 0x17FU
  939. #define CSR_SEQUENCEREG0B114S1_ADDR 0x180U
  940. #define CSR_SEQUENCEREG0B114S2_ADDR 0x181U
  941. #define CSR_SEQUENCEREG0B115S0_ADDR 0x182U
  942. #define CSR_SEQUENCEREG0B115S1_ADDR 0x183U
  943. #define CSR_SEQUENCEREG0B115S2_ADDR 0x184U
  944. #define CSR_SEQUENCEREG0B116S0_ADDR 0x185U
  945. #define CSR_SEQUENCEREG0B116S1_ADDR 0x186U
  946. #define CSR_SEQUENCEREG0B116S2_ADDR 0x187U
  947. #define CSR_SEQUENCEREG0B117S0_ADDR 0x188U
  948. #define CSR_SEQUENCEREG0B117S1_ADDR 0x189U
  949. #define CSR_SEQUENCEREG0B117S2_ADDR 0x18AU
  950. #define CSR_SEQUENCEREG0B118S0_ADDR 0x18BU
  951. #define CSR_SEQUENCEREG0B118S1_ADDR 0x18CU
  952. #define CSR_SEQUENCEREG0B118S2_ADDR 0x18DU
  953. #define CSR_SEQUENCEREG0B119S0_ADDR 0x18EU
  954. #define CSR_SEQUENCEREG0B119S1_ADDR 0x18FU
  955. #define CSR_SEQUENCEREG0B119S2_ADDR 0x190U
  956. #define CSR_SEQUENCEREG0B120S0_ADDR 0x191U
  957. #define CSR_SEQUENCEREG0B120S1_ADDR 0x192U
  958. #define CSR_SEQUENCEREG0B120S2_ADDR 0x193U
  959. #define CSR_SEQUENCEREG0B121S0_ADDR 0x194U
  960. #define CSR_SEQUENCEREG0B121S1_ADDR 0x195U
  961. #define CSR_SEQUENCEREG0B121S2_ADDR 0x196U
  962. #define CSR_SEQ0BGPR1_ADDR 0x201U
  963. #define CSR_SEQ0BGPR2_ADDR 0x202U
  964. #define CSR_SEQ0BGPR3_ADDR 0x203U
  965. #define CSR_SEQ0BGPR4_ADDR 0x204U
  966. #define CSR_SEQ0BGPR5_ADDR 0x205U
  967. #define CSR_SEQ0BGPR6_ADDR 0x206U
  968. #define CSR_SEQ0BGPR7_ADDR 0x207U
  969. #define CSR_SEQ0BGPR8_ADDR 0x208U
  970. #define CSR_SEQ0BFIXEDADDRBITS_ADDR 0x2FFU
  971. /* DRTUB0 register offsets */
  972. #define CSR_DCTSHADOWREGS_ADDR 0x4U
  973. #define CSR_DCTWRITEONLYSHADOW_ADDR 0x30U
  974. #define CSR_UCTWRITEONLY_ADDR 0x32U
  975. #define CSR_UCTWRITEPROT_ADDR 0x33U
  976. #define CSR_UCTDATWRITEONLY_ADDR 0x34U
  977. #define CSR_UCTDATWRITEPROT_ADDR 0x35U
  978. #define CSR_UCTLERR_ADDR 0x36U
  979. #define CSR_UCCLKHCLKENABLES_ADDR 0x80U
  980. #define CSR_CURPSTATE0B_ADDR 0x81U
  981. #define CSR_CLRWAKEUPSTICKY_ADDR 0x95U
  982. #define CSR_WAKEUPMASK_ADDR 0x96U
  983. #define CSR_CUSTPUBREV_ADDR 0xEDU
  984. #define CSR_PUBREV_ADDR 0xEEU
  985. /* APBONLY0 register offsets */
  986. #define CSR_MICROCONTMUXSEL_ADDR 0x0U
  987. #define CSR_UCTSHADOWREGS_ADDR 0x4U
  988. #define CSR_DCTWRITEONLY_ADDR 0x30U
  989. #define CSR_DCTWRITEPROT_ADDR 0x31U
  990. #define CSR_UCTWRITEONLYSHADOW_ADDR 0x32U
  991. #define CSR_UCTDATWRITEONLYSHADOW_ADDR 0x34U
  992. #define CSR_NEVERGATECSRCLOCK_ADDR 0x35U
  993. #define CSR_DFICFGRDDATAVALIDTICKS_ADDR 0x37U
  994. #define CSR_MICRORESET_ADDR 0x99U
  995. #define CSR_SEQUENCEROVERRIDE_ADDR 0xE7U
  996. #define CSR_DFIINITCOMPLETESHADOW_ADDR 0xFAU
  997. /* ANIBx register bit fields */
  998. /* CSR_MTESTMUXSEL */
  999. #define CSR_MTESTMUXSEL_LSB 0
  1000. #define CSR_MTESTMUXSEL_MASK GENMASK_32(5, 0)
  1001. /* CSR_AFORCEDRVCONT */
  1002. #define CSR_AFORCEDRVCONT_LSB 0
  1003. #define CSR_AFORCEDRVCONT_MASK GENMASK_32(3, 0)
  1004. /* CSR_AFORCETRICONT */
  1005. #define CSR_AFORCETRICONT_LSB 0
  1006. #define CSR_AFORCETRICONT_MASK GENMASK_32(3, 0)
  1007. /* CSR_ATXIMPEDANCE */
  1008. #define CSR_ATXIMPEDANCE_LSB 0
  1009. #define CSR_ATXIMPEDANCE_MASK GENMASK_32(9, 0)
  1010. #define CSR_ADRVSTRENP_LSB 0
  1011. #define CSR_ADRVSTRENP_MASK GENMASK_32(4, 0)
  1012. #define CSR_ADRVSTRENN_LSB 5
  1013. #define CSR_ADRVSTRENN_MASK GENMASK_32(9, 5)
  1014. /* CSR_ATESTPRBSERR */
  1015. #define CSR_ATESTPRBSERR_LSB 0
  1016. #define CSR_ATESTPRBSERR_MASK GENMASK_32(3, 0)
  1017. /* CSR_ATXSLEWRATE */
  1018. #define CSR_ATXSLEWRATE_LSB 0
  1019. #define CSR_ATXSLEWRATE_MASK GENMASK_32(10, 0)
  1020. #define CSR_ATXPREP_LSB 0
  1021. #define CSR_ATXPREP_MASK GENMASK_32(3, 0)
  1022. #define CSR_ATXPREN_LSB 4
  1023. #define CSR_ATXPREN_MASK GENMASK_32(7, 4)
  1024. #define CSR_ATXPREDRVMODE_LSB 8
  1025. #define CSR_ATXPREDRVMODE_MASK GENMASK_32(10, 8)
  1026. /* CSR_ATESTPRBSERRCNT */
  1027. #define CSR_ATESTPRBSERRCNT_LSB 0
  1028. #define CSR_ATESTPRBSERRCNT_MASK GENMASK_32(15, 0)
  1029. /* CSR_ATXDLY */
  1030. #define CSR_ATXDLY_LSB 0
  1031. #define CSR_ATXDLY_MASK GENMASK_32(6, 0)
  1032. /* DBYTEx register bit fields */
  1033. /* CSR_DBYTEMISCMODE */
  1034. #define CSR_DBYTEMISCMODE_LSB 2
  1035. #define CSR_DBYTEMISCMODE_MASK BIT(2)
  1036. #define CSR_DBYTEDISABLE_LSB 2
  1037. #define CSR_DBYTEDISABLE_MASK BIT(2)
  1038. /* CSR_TSMBYTE0 */
  1039. #define CSR_TSMBYTE0_LSB 0
  1040. #define CSR_TSMBYTE0_MASK GENMASK_32(15, 0)
  1041. #define CSR_PERPHTRAINEN_LSB 0
  1042. #define CSR_PERPHTRAINEN_MASK BIT(0)
  1043. #define CSR_EYEINC_LSB 1
  1044. #define CSR_EYEINC_MASK BIT(1)
  1045. #define CSR_EDGEINC_LSB 2
  1046. #define CSR_EDGEINC_MASK BIT(2)
  1047. #define CSR_EDGEEYEMXSEL_LSB 3
  1048. #define CSR_EDGEEYEMXSEL_MASK BIT(3)
  1049. #define CSR_TSMBYTE0RSVD_LSB 4
  1050. #define CSR_TSMBYTE0RSVD_MASK GENMASK_32(5, 4)
  1051. #define CSR_DIMMBROADINC_LSB 6
  1052. #define CSR_DIMMBROADINC_MASK BIT(6)
  1053. #define CSR_DIMMINC_LSB 7
  1054. #define CSR_DIMMINC_MASK GENMASK_32(8, 7)
  1055. #define CSR_COARSEINC_LSB 9
  1056. #define CSR_COARSEINC_MASK BIT(9)
  1057. #define CSR_DELAYINC_LSB 10
  1058. #define CSR_DELAYINC_MASK BIT(10)
  1059. #define CSR_RXINC_LSB 11
  1060. #define CSR_RXINC_MASK BIT(11)
  1061. #define CSR_RXPERTRAIN_LSB 12
  1062. #define CSR_RXPERTRAIN_MASK BIT(12)
  1063. #define CSR_TXPERTRAIN_LSB 13
  1064. #define CSR_TXPERTRAIN_MASK BIT(13)
  1065. #define CSR_DMTRAIN_LSB 14
  1066. #define CSR_DMTRAIN_MASK BIT(14)
  1067. #define CSR_WRLEVTRAIN_LSB 15
  1068. #define CSR_WRLEVTRAIN_MASK BIT(15)
  1069. /* CSR_TRAININGPARAM */
  1070. #define CSR_TRAININGPARAM_LSB 0
  1071. #define CSR_TRAININGPARAM_MASK GENMASK_32(15, 0)
  1072. #define CSR_ENDYNRATEREDUCTION_LSB 0
  1073. #define CSR_ENDYNRATEREDUCTION_MASK BIT(0)
  1074. #define CSR_TRAININGPARAM01RSVD_LSB 1
  1075. #define CSR_TRAININGPARAM01RSVD_MASK BIT(1)
  1076. #define CSR_TRAINENRXCLK_LSB 2
  1077. #define CSR_TRAINENRXCLK_MASK BIT(2)
  1078. #define CSR_TRAINENRXEN_LSB 3
  1079. #define CSR_TRAINENRXEN_MASK BIT(3)
  1080. #define CSR_TRAINENTXDQS_LSB 4
  1081. #define CSR_TRAINENTXDQS_MASK BIT(4)
  1082. #define CSR_TRAINENTXDQ_LSB 5
  1083. #define CSR_TRAINENTXDQ_MASK BIT(5)
  1084. #define CSR_TRAINENVREFDAC1_LSB 6
  1085. #define CSR_TRAINENVREFDAC1_MASK BIT(6)
  1086. #define CSR_TRAINENVREFDAC0_LSB 7
  1087. #define CSR_TRAINENVREFDAC0_MASK BIT(7)
  1088. #define CSR_TRAINENRXPBD_LSB 8
  1089. #define CSR_TRAINENRXPBD_MASK BIT(8)
  1090. #define CSR_ROLLINTOCOARSE_LSB 9
  1091. #define CSR_ROLLINTOCOARSE_MASK BIT(9)
  1092. #define CSR_TRAINUSINGNATIVEDDLCNTL_LSB 10
  1093. #define CSR_TRAINUSINGNATIVEDDLCNTL_MASK BIT(10)
  1094. #define CSR_TRAININGPARAM11RSVD_LSB 11
  1095. #define CSR_TRAININGPARAM11RSVD_MASK BIT(11)
  1096. #define CSR_TRAININGPARAM12RSVD_LSB 12
  1097. #define CSR_TRAININGPARAM12RSVD_MASK BIT(12)
  1098. #define CSR_INCDECRATE_LSB 13
  1099. #define CSR_INCDECRATE_MASK GENMASK_32(15, 13)
  1100. /* CSR_USEDQSENREPLICA */
  1101. #define CSR_USEDQSENREPLICA_LSB 0
  1102. #define CSR_USEDQSENREPLICA_MASK BIT(0)
  1103. /* CSR_RXTRAINPATTERNENABLE */
  1104. #define CSR_RXTRAINPATTERNENABLE_LSB 0
  1105. #define CSR_RXTRAINPATTERNENABLE_MASK BIT(0)
  1106. /* CSR_TSMBYTE1 */
  1107. #define CSR_TSMBYTE1_LSB 0
  1108. #define CSR_TSMBYTE1_MASK GENMASK_32(15, 0)
  1109. #define CSR_DTSMBDSTP_LSB 0
  1110. #define CSR_DTSMBDSTP_MASK GENMASK_32(7, 0)
  1111. #define CSR_DTSMGDSTP_LSB 8
  1112. #define CSR_DTSMGDSTP_MASK GENMASK_32(15, 8)
  1113. /* CSR_TSMBYTE2 */
  1114. #define CSR_TSMBYTE2_LSB 0
  1115. #define CSR_TSMBYTE2_MASK GENMASK_32(15, 0)
  1116. #define CSR_DTSMGDBAR_LSB 0
  1117. #define CSR_DTSMGDBAR_MASK GENMASK_32(15, 0)
  1118. /* CSR_TSMBYTE3 */
  1119. #define CSR_TSMBYTE3_LSB 0
  1120. #define CSR_TSMBYTE3_MASK GENMASK_32(8, 0)
  1121. #define CSR_DTSMINCDECMODE_LSB 0
  1122. #define CSR_DTSMINCDECMODE_MASK BIT(0)
  1123. #define CSR_DTSMINCDECCTRL_LSB 1
  1124. #define CSR_DTSMINCDECCTRL_MASK BIT(1)
  1125. #define CSR_ENBLRXSAMPFLOPS_LSB 2
  1126. #define CSR_ENBLRXSAMPFLOPS_MASK BIT(2)
  1127. #define CSR_SELRXSAMPFLOPS_LSB 3
  1128. #define CSR_SELRXSAMPFLOPS_MASK BIT(3)
  1129. #define CSR_SELRXBYBASS_LSB 4
  1130. #define CSR_SELRXBYBASS_MASK BIT(4)
  1131. #define CSR_DTSMIGNUPDATEACK_LSB 5
  1132. #define CSR_DTSMIGNUPDATEACK_MASK BIT(5)
  1133. #define CSR_ENABLERXDQASYNC_LSB 6
  1134. #define CSR_ENABLERXDQASYNC_MASK BIT(6)
  1135. #define CSR_DTSMSTATICCMPR_LSB 7
  1136. #define CSR_DTSMSTATICCMPR_MASK BIT(7)
  1137. #define CSR_DTSMSTATICCMPRVAL_LSB 8
  1138. #define CSR_DTSMSTATICCMPRVAL_MASK BIT(8)
  1139. /* CSR_TSMBYTE4 */
  1140. #define CSR_TSMBYTE4_LSB 0
  1141. #define CSR_TSMBYTE4_MASK GENMASK_32(3, 0)
  1142. #define CSR_DTSMINCDECPW_LSB 0
  1143. #define CSR_DTSMINCDECPW_MASK GENMASK_32(3, 0)
  1144. /* CSR_TESTMODECONFIG */
  1145. #define CSR_TESTMODECONFIG_LSB 0
  1146. #define CSR_TESTMODECONFIG_MASK GENMASK_32(9, 0)
  1147. #define CSR_LOOPBACKEN_LSB 0
  1148. #define CSR_LOOPBACKEN_MASK BIT(0)
  1149. #define CSR_RSVDTESTDLLEN_LSB 1
  1150. #define CSR_RSVDTESTDLLEN_MASK BIT(1)
  1151. #define CSR_RSVDTWOTCKTXDQSPRE_LSB 2
  1152. #define CSR_RSVDTWOTCKTXDQSPRE_MASK BIT(2)
  1153. #define CSR_TESTMODERSVD_LSB 3
  1154. #define CSR_TESTMODERSVD_MASK GENMASK_32(7, 3)
  1155. #define CSR_LOOPBACKDISDQSTRI_LSB 8
  1156. #define CSR_LOOPBACKDISDQSTRI_MASK BIT(8)
  1157. #define CSR_RSVDDISTXDQEQPREAMBLE_LSB 9
  1158. #define CSR_RSVDDISTXDQEQPREAMBLE_MASK BIT(9)
  1159. /* CSR_TSMBYTE5 */
  1160. #define CSR_TSMBYTE5_LSB 0
  1161. #define CSR_TSMBYTE5_MASK GENMASK_32(15, 0)
  1162. #define CSR_DTSMBDBAR_LSB 0
  1163. #define CSR_DTSMBDBAR_MASK GENMASK_32(15, 0)
  1164. /* MTESTMUXSEL already defined in ANIBx section */
  1165. /* CSR_DTSMTRAINMODECTRL */
  1166. #define CSR_DTSMTRAINMODECTRL_LSB 0
  1167. #define CSR_DTSMTRAINMODECTRL_MASK GENMASK_32(3, 0)
  1168. #define CSR_DTSMSOELANEMODE_LSB 0
  1169. #define CSR_DTSMSOELANEMODE_MASK GENMASK_32(1, 0)
  1170. #define CSR_DTSMBYTEERRANDMODE_LSB 2
  1171. #define CSR_DTSMBYTEERRANDMODE_MASK BIT(2)
  1172. #define CSR_DTSMNIBERRMODE_LSB 3
  1173. #define CSR_DTSMNIBERRMODE_MASK BIT(3)
  1174. /* CSR_DFIMRL */
  1175. #define CSR_DFIMRL_LSB 0
  1176. #define CSR_DFIMRL_MASK GENMASK_32(4, 0)
  1177. /* CSR_ASYNCDBYTEMODE */
  1178. #define CSR_ASYNCDBYTEMODE_LSB 0
  1179. #define CSR_ASYNCDBYTEMODE_MASK GENMASK_32(8, 0)
  1180. /* CSR_ASYNCDBYTETXEN */
  1181. #define CSR_ASYNCDBYTETXEN_LSB 0
  1182. #define CSR_ASYNCDBYTETXEN_MASK GENMASK_32(11, 0)
  1183. /* CSR_ASYNCDBYTETXDATA */
  1184. #define CSR_ASYNCDBYTETXDATA_LSB 0
  1185. #define CSR_ASYNCDBYTETXDATA_MASK GENMASK_32(11, 0)
  1186. /* CSR_ASYNCDBYTERXDATA */
  1187. #define CSR_ASYNCDBYTERXDATA_LSB 0
  1188. #define CSR_ASYNCDBYTERXDATA_MASK GENMASK_32(11, 0)
  1189. /* CSR_VREFDAC1 */
  1190. #define CSR_VREFDAC1_LSB 0
  1191. #define CSR_VREFDAC1_MASK GENMASK_32(6, 0)
  1192. /* CSR_TRAININGCNTR */
  1193. #define CSR_TRAININGCNTR_LSB 0
  1194. #define CSR_TRAININGCNTR_MASK GENMASK_32(15, 0)
  1195. #define CSR_TRAININGCNTRFINE_LSB 0
  1196. #define CSR_TRAININGCNTRFINE_MASK GENMASK_32(9, 0)
  1197. #define CSR_TRAININGCNTRCOARSE_LSB 10
  1198. #define CSR_TRAININGCNTRCOARSE_MASK GENMASK_32(15, 10)
  1199. /* CSR_VREFDAC0 */
  1200. #define CSR_VREFDAC0_LSB 0
  1201. #define CSR_VREFDAC0_MASK GENMASK_32(6, 0)
  1202. /* CSR_TXIMPEDANCECTRL0 */
  1203. #define CSR_TXIMPEDANCECTRL0_LSB 0
  1204. #define CSR_TXIMPEDANCECTRL0_MASK GENMASK_32(11, 0)
  1205. #define CSR_DRVSTRENDQP_LSB 0
  1206. #define CSR_DRVSTRENDQP_MASK GENMASK_32(5, 0)
  1207. #define CSR_DRVSTRENDQN_LSB 6
  1208. #define CSR_DRVSTRENDQN_MASK GENMASK_32(11, 6)
  1209. /* CSR_DQDQSRCVCNTRL */
  1210. #define CSR_DQDQSRCVCNTRL_LSB 0
  1211. #define CSR_DQDQSRCVCNTRL_MASK GENMASK_32(15, 0)
  1212. #define CSR_SELANALOGVREF_LSB 0
  1213. #define CSR_SELANALOGVREF_MASK BIT(0)
  1214. #define CSR_EXTVREFRANGE_LSB 1
  1215. #define CSR_EXTVREFRANGE_MASK BIT(1)
  1216. #define CSR_DFECTRL_LSB 2
  1217. #define CSR_DFECTRL_MASK GENMASK_32(3, 2)
  1218. #define CSR_MAJORMODEDBYTE_LSB 4
  1219. #define CSR_MAJORMODEDBYTE_MASK GENMASK_32(6, 4)
  1220. #define CSR_GAINCURRADJ_LSB 7
  1221. #define CSR_GAINCURRADJ_MASK GENMASK_32(11, 7)
  1222. #define CSR_RESERVED_LSB 12
  1223. #define CSR_RESERVED_MASK GENMASK_32(15, 12)
  1224. /* CSR_TXEQUALIZATIONMODE */
  1225. #define CSR_TXEQUALIZATIONMODE_LSB 0
  1226. #define CSR_TXEQUALIZATIONMODE_MASK GENMASK_32(1, 0)
  1227. #define CSR_TXEQMODE_LSB 0
  1228. #define CSR_TXEQMODE_MASK GENMASK_32(1, 0)
  1229. /* CSR_TXIMPEDANCECTRL1 */
  1230. #define CSR_TXIMPEDANCECTRL1_LSB 0
  1231. #define CSR_TXIMPEDANCECTRL1_MASK GENMASK_32(11, 0)
  1232. #define CSR_DRVSTRENFSDQP_LSB 0
  1233. #define CSR_DRVSTRENFSDQP_MASK GENMASK_32(5, 0)
  1234. #define CSR_DRVSTRENFSDQN_LSB 6
  1235. #define CSR_DRVSTRENFSDQN_MASK GENMASK_32(11, 6)
  1236. /* CSR_DQDQSRCVCNTRL1 */
  1237. #define CSR_DQDQSRCVCNTRL1_LSB 0
  1238. #define CSR_DQDQSRCVCNTRL1_MASK GENMASK_32(11, 0)
  1239. #define CSR_POWERDOWNRCVR_LSB 0
  1240. #define CSR_POWERDOWNRCVR_MASK GENMASK_32(8, 0)
  1241. #define CSR_POWERDOWNRCVRDQS_LSB 9
  1242. #define CSR_POWERDOWNRCVRDQS_MASK BIT(9)
  1243. #define CSR_RXPADSTANDBYEN_LSB 10
  1244. #define CSR_RXPADSTANDBYEN_MASK BIT(10)
  1245. #define CSR_ENLPREQPDR_LSB 11
  1246. #define CSR_ENLPREQPDR_MASK BIT(11)
  1247. /* CSR_TXIMPEDANCECTRL2 */
  1248. #define CSR_TXIMPEDANCECTRL2_LSB 0
  1249. #define CSR_TXIMPEDANCECTRL2_MASK GENMASK_32(11, 0)
  1250. #define CSR_DRVSTRENEQHIDQP_LSB 0
  1251. #define CSR_DRVSTRENEQHIDQP_MASK GENMASK_32(5, 0)
  1252. #define CSR_DRVSTRENEQLODQN_LSB 6
  1253. #define CSR_DRVSTRENEQLODQN_MASK GENMASK_32(11, 6)
  1254. /* CSR_DQDQSRCVCNTRL2 */
  1255. #define CSR_DQDQSRCVCNTRL2_LSB 0
  1256. #define CSR_DQDQSRCVCNTRL2_MASK BIT(0)
  1257. #define CSR_ENRXAGRESSIVEPDR_LSB 0
  1258. #define CSR_ENRXAGRESSIVEPDR_MASK BIT(0)
  1259. /* CSR_TXODTDRVSTREN */
  1260. #define CSR_TXODTDRVSTREN_LSB 0
  1261. #define CSR_TXODTDRVSTREN_MASK GENMASK_32(11, 0)
  1262. #define CSR_ODTSTRENP_LSB 0
  1263. #define CSR_ODTSTRENP_MASK GENMASK_32(5, 0)
  1264. #define CSR_ODTSTRENN_LSB 6
  1265. #define CSR_ODTSTRENN_MASK GENMASK_32(11, 6)
  1266. /* CSR_RXFIFOCHECKSTATUS */
  1267. #define CSR_RXFIFOCHECKSTATUS_LSB 0
  1268. #define CSR_RXFIFOCHECKSTATUS_MASK GENMASK_32(1, 0)
  1269. #define CSR_RXFIFOLOCERR_LSB 0
  1270. #define CSR_RXFIFOLOCERR_MASK BIT(0)
  1271. #define CSR_RXFIFOLOCUERR_LSB 1
  1272. #define CSR_RXFIFOLOCUERR_MASK BIT(1)
  1273. /* CSR_RXFIFOCHECKERRVALUES */
  1274. #define CSR_RXFIFOCHECKERRVALUES_LSB 0
  1275. #define CSR_RXFIFOCHECKERRVALUES_MASK GENMASK_32(15, 0)
  1276. #define CSR_RXFIFORDLOCERRVALUE_LSB 0
  1277. #define CSR_RXFIFORDLOCERRVALUE_MASK GENMASK_32(3, 0)
  1278. #define CSR_RXFIFOWRLOCERRVALUE_LSB 4
  1279. #define CSR_RXFIFOWRLOCERRVALUE_MASK GENMASK_32(7, 4)
  1280. #define CSR_RXFIFORDLOCUERRVALUE_LSB 8
  1281. #define CSR_RXFIFORDLOCUERRVALUE_MASK GENMASK_32(11, 8)
  1282. #define CSR_RXFIFOWRLOCUERRVALUE_LSB 12
  1283. #define CSR_RXFIFOWRLOCUERRVALUE_MASK GENMASK_32(15, 12)
  1284. /* CSR_RXFIFOINFO */
  1285. #define CSR_RXFIFOINFO_LSB 0
  1286. #define CSR_RXFIFOINFO_MASK GENMASK_32(15, 0)
  1287. #define CSR_RXFIFORDLOC_LSB 0
  1288. #define CSR_RXFIFORDLOC_MASK GENMASK_32(3, 0)
  1289. #define CSR_RXFIFOWRLOC_LSB 4
  1290. #define CSR_RXFIFOWRLOC_MASK GENMASK_32(7, 4)
  1291. #define CSR_RXFIFORDLOCU_LSB 8
  1292. #define CSR_RXFIFORDLOCU_MASK GENMASK_32(11, 8)
  1293. #define CSR_RXFIFOWRLOCU_LSB 12
  1294. #define CSR_RXFIFOWRLOCU_MASK GENMASK_32(15, 12)
  1295. /* CSR_RXFIFOVISIBILITY */
  1296. #define CSR_RXFIFOVISIBILITY_LSB 0
  1297. #define CSR_RXFIFOVISIBILITY_MASK GENMASK_32(4, 0)
  1298. #define CSR_RXFIFORDPTR_LSB 0
  1299. #define CSR_RXFIFORDPTR_MASK GENMASK_32(2, 0)
  1300. #define CSR_RXFIFORDPTROVR_LSB 3
  1301. #define CSR_RXFIFORDPTROVR_MASK BIT(3)
  1302. #define CSR_RXFIFORDEN_LSB 4
  1303. #define CSR_RXFIFORDEN_MASK BIT(4)
  1304. /* CSR_RXFIFOCONTENTSDQ3210 */
  1305. #define CSR_RXFIFOCONTENTSDQ3210_LSB 0
  1306. #define CSR_RXFIFOCONTENTSDQ3210_MASK GENMASK_32(15, 0)
  1307. /* CSR_RXFIFOCONTENTSDQ7654 */
  1308. #define CSR_RXFIFOCONTENTSDQ7654_LSB 0
  1309. #define CSR_RXFIFOCONTENTSDQ7654_MASK GENMASK_32(15, 0)
  1310. /* CSR_RXFIFOCONTENTSDBI */
  1311. #define CSR_RXFIFOCONTENTSDBI_LSB 0
  1312. #define CSR_RXFIFOCONTENTSDBI_MASK GENMASK_32(3, 0)
  1313. /* CSR_TXSLEWRATE */
  1314. #define CSR_TXSLEWRATE_LSB 0
  1315. #define CSR_TXSLEWRATE_MASK GENMASK_32(10, 0)
  1316. #define CSR_TXPREP_LSB 0
  1317. #define CSR_TXPREP_MASK GENMASK_32(3, 0)
  1318. #define CSR_TXPREN_LSB 4
  1319. #define CSR_TXPREN_MASK GENMASK_32(7, 4)
  1320. #define CSR_TXPREDRVMODE_LSB 8
  1321. #define CSR_TXPREDRVMODE_MASK GENMASK_32(10, 8)
  1322. /* CSR_TRAININGINCDECDTSMEN */
  1323. #define CSR_TRAININGINCDECDTSMEN_LSB 0
  1324. #define CSR_TRAININGINCDECDTSMEN_MASK GENMASK_32(8, 0)
  1325. /* CSR_RXPBDLYTG0 */
  1326. #define CSR_RXPBDLYTG0_LSB 0
  1327. #define CSR_RXPBDLYTG0_MASK GENMASK_32(6, 0)
  1328. /* CSR_RXPBDLYTG1 */
  1329. #define CSR_RXPBDLYTG1_LSB 0
  1330. #define CSR_RXPBDLYTG1_MASK GENMASK_32(6, 0)
  1331. /* CSR_RXPBDLYTG2 */
  1332. #define CSR_RXPBDLYTG2_LSB 0
  1333. #define CSR_RXPBDLYTG2_MASK GENMASK_32(6, 0)
  1334. /* CSR_RXPBDLYTG3 */
  1335. #define CSR_RXPBDLYTG3_LSB 0
  1336. #define CSR_RXPBDLYTG3_MASK GENMASK_32(6, 0)
  1337. /* CSR_RXENDLYTG0 */
  1338. #define CSR_RXENDLYTG0_LSB 0
  1339. #define CSR_RXENDLYTG0_MASK GENMASK_32(10, 0)
  1340. /* CSR_RXENDLYTG1 */
  1341. #define CSR_RXENDLYTG1_LSB 0
  1342. #define CSR_RXENDLYTG1_MASK GENMASK_32(10, 0)
  1343. /* CSR_RXENDLYTG2 */
  1344. #define CSR_RXENDLYTG2_LSB 0
  1345. #define CSR_RXENDLYTG2_MASK GENMASK_32(10, 0)
  1346. /* CSR_RXENDLYTG3 */
  1347. #define CSR_RXENDLYTG3_LSB 0
  1348. #define CSR_RXENDLYTG3_MASK GENMASK_32(10, 0)
  1349. /* CSR_RXCLKDLYTG0 */
  1350. #define CSR_RXCLKDLYTG0_LSB 0
  1351. #define CSR_RXCLKDLYTG0_MASK GENMASK_32(5, 0)
  1352. /* CSR_RXCLKDLYTG1 */
  1353. #define CSR_RXCLKDLYTG1_LSB 0
  1354. #define CSR_RXCLKDLYTG1_MASK GENMASK_32(5, 0)
  1355. /* CSR_RXCLKDLYTG2 */
  1356. #define CSR_RXCLKDLYTG2_LSB 0
  1357. #define CSR_RXCLKDLYTG2_MASK GENMASK_32(5, 0)
  1358. /* CSR_RXCLKDLYTG3 */
  1359. #define CSR_RXCLKDLYTG3_LSB 0
  1360. #define CSR_RXCLKDLYTG3_MASK GENMASK_32(5, 0)
  1361. /* CSR_RXCLKCDLYTG0 */
  1362. #define CSR_RXCLKCDLYTG0_LSB 0
  1363. #define CSR_RXCLKCDLYTG0_MASK GENMASK_32(5, 0)
  1364. /* CSR_RXCLKCDLYTG1 */
  1365. #define CSR_RXCLKCDLYTG1_LSB 0
  1366. #define CSR_RXCLKCDLYTG1_MASK GENMASK_32(5, 0)
  1367. /* CSR_RXCLKCDLYTG2 */
  1368. #define CSR_RXCLKCDLYTG2_LSB 0
  1369. #define CSR_RXCLKCDLYTG2_MASK GENMASK_32(5, 0)
  1370. /* CSR_RXCLKCDLYTG3 */
  1371. #define CSR_RXCLKCDLYTG3_LSB 0
  1372. #define CSR_RXCLKCDLYTG3_MASK GENMASK_32(5, 0)
  1373. /* CSR_DQ0LNSEL */
  1374. #define CSR_DQ0LNSEL_LSB 0
  1375. #define CSR_DQ0LNSEL_MASK GENMASK_32(2, 0)
  1376. /* CSR_DQ1LNSEL */
  1377. #define CSR_DQ1LNSEL_LSB 0
  1378. #define CSR_DQ1LNSEL_MASK GENMASK_32(2, 0)
  1379. /* CSR_DQ2LNSEL */
  1380. #define CSR_DQ2LNSEL_LSB 0
  1381. #define CSR_DQ2LNSEL_MASK GENMASK_32(2, 0)
  1382. /* CSR_DQ3LNSEL */
  1383. #define CSR_DQ3LNSEL_LSB 0
  1384. #define CSR_DQ3LNSEL_MASK GENMASK_32(2, 0)
  1385. /* CSR_DQ4LNSEL */
  1386. #define CSR_DQ4LNSEL_LSB 0
  1387. #define CSR_DQ4LNSEL_MASK GENMASK_32(2, 0)
  1388. /* CSR_DQ5LNSEL */
  1389. #define CSR_DQ5LNSEL_LSB 0
  1390. #define CSR_DQ5LNSEL_MASK GENMASK_32(2, 0)
  1391. /* CSR_DQ6LNSEL */
  1392. #define CSR_DQ6LNSEL_LSB 0
  1393. #define CSR_DQ6LNSEL_MASK GENMASK_32(2, 0)
  1394. /* CSR_DQ7LNSEL */
  1395. #define CSR_DQ7LNSEL_LSB 0
  1396. #define CSR_DQ7LNSEL_MASK GENMASK_32(2, 0)
  1397. /* CSR_PPTCTLSTATIC */
  1398. #define CSR_PPTCTLSTATIC_LSB 0
  1399. #define CSR_PPTCTLSTATIC_MASK GENMASK_32(11, 0)
  1400. #define CSR_PPTENDQS2DQTG0_LSB 0
  1401. #define CSR_PPTENDQS2DQTG0_MASK BIT(0)
  1402. #define CSR_PPTENDQS2DQTG1_LSB 1
  1403. #define CSR_PPTENDQS2DQTG1_MASK BIT(1)
  1404. #define CSR_DOCBYTESELTG0_LSB 2
  1405. #define CSR_DOCBYTESELTG0_MASK BIT(2)
  1406. #define CSR_DOCBYTESELTG1_LSB 3
  1407. #define CSR_DOCBYTESELTG1_MASK BIT(3)
  1408. #define CSR_PPTINFOSEL_LSB 4
  1409. #define CSR_PPTINFOSEL_MASK GENMASK_32(7, 4)
  1410. #define CSR_PPTENRXENDLYTG0_LSB 8
  1411. #define CSR_PPTENRXENDLYTG0_MASK BIT(8)
  1412. #define CSR_PPTENRXENDLYTG1_LSB 9
  1413. #define CSR_PPTENRXENDLYTG1_MASK BIT(9)
  1414. #define CSR_PPTENRXENBACKOFF_LSB 10
  1415. #define CSR_PPTENRXENBACKOFF_MASK GENMASK_32(11, 10)
  1416. /* CSR_PPTCTLDYN */
  1417. #define CSR_PPTCTLDYN_LSB 0
  1418. #define CSR_PPTCTLDYN_MASK GENMASK_32(1, 0)
  1419. #define CSR_PPTDQS2DQACTIVE_LSB 0
  1420. #define CSR_PPTDQS2DQACTIVE_MASK BIT(0)
  1421. #define CSR_PPTENRXENUSEDQSSAMPVAL_LSB 1
  1422. #define CSR_PPTENRXENUSEDQSSAMPVAL_MASK BIT(1)
  1423. /* CSR_PPTINFO */
  1424. #define CSR_PPTINFO_LSB 0
  1425. #define CSR_PPTINFO_MASK GENMASK_32(15, 0)
  1426. /* CSR_PPTRXENEVNT */
  1427. #define CSR_PPTRXENEVNT_LSB 0
  1428. #define CSR_PPTRXENEVNT_MASK GENMASK_32(1, 0)
  1429. #define CSR_PPTRXENINIT_LSB 0
  1430. #define CSR_PPTRXENINIT_MASK BIT(0)
  1431. #define CSR_PPTRXENMHUI_LSB 1
  1432. #define CSR_PPTRXENMHUI_MASK BIT(1)
  1433. /* CSR_PPTDQSCNTINVTRNTG0 */
  1434. #define CSR_PPTDQSCNTINVTRNTG0_LSB 0
  1435. #define CSR_PPTDQSCNTINVTRNTG0_MASK GENMASK_32(15, 0)
  1436. /* CSR_PPTDQSCNTINVTRNTG1 */
  1437. #define CSR_PPTDQSCNTINVTRNTG1_LSB 0
  1438. #define CSR_PPTDQSCNTINVTRNTG1_MASK GENMASK_32(15, 0)
  1439. /* CSR_DTSMBLANKINGCTRL */
  1440. #define CSR_DTSMBLANKINGCTRL_LSB 0
  1441. #define CSR_DTSMBLANKINGCTRL_MASK GENMASK_32(9, 0)
  1442. #define CSR_DTSMBLANK_LSB 0
  1443. #define CSR_DTSMBLANK_MASK GENMASK_32(9, 0)
  1444. /* CSR_TSM0 */
  1445. #define CSR_TSM0_LSB 0
  1446. #define CSR_TSM0_MASK GENMASK_32(13, 0)
  1447. #define CSR_DTSMENB_LSB 0
  1448. #define CSR_DTSMENB_MASK BIT(0)
  1449. #define CSR_DTSMDIR_LSB 1
  1450. #define CSR_DTSMDIR_MASK BIT(1)
  1451. #define CSR_DTSMIGNFRST_LSB 2
  1452. #define CSR_DTSMIGNFRST_MASK BIT(2)
  1453. #define CSR_DTSMODDPHASE_LSB 3
  1454. #define CSR_DTSMODDPHASE_MASK BIT(3)
  1455. #define CSR_DTSMFLTPRE_LSB 4
  1456. #define CSR_DTSMFLTPRE_MASK BIT(4)
  1457. #define CSR_DTSMFLTCUR_LSB 5
  1458. #define CSR_DTSMFLTCUR_MASK BIT(5)
  1459. #define CSR_DTSMFLTNXT_LSB 6
  1460. #define CSR_DTSMFLTNXT_MASK BIT(6)
  1461. #define CSR_DTSMFLTVAL_LSB 7
  1462. #define CSR_DTSMFLTVAL_MASK GENMASK_32(9, 7)
  1463. #define CSR_DTSMMSKBIT_LSB 10
  1464. #define CSR_DTSMMSKBIT_MASK GENMASK_32(13, 10)
  1465. /* CSR_TSM1 */
  1466. #define CSR_TSM1_LSB 0
  1467. #define CSR_TSM1_MASK GENMASK_32(15, 0)
  1468. #define CSR_DTSMERRCNT_LSB 0
  1469. #define CSR_DTSMERRCNT_MASK GENMASK_32(15, 0)
  1470. /* CSR_TSM2 */
  1471. #define CSR_TSM2_LSB 0
  1472. #define CSR_TSM2_MASK BIT(0)
  1473. #define CSR_DTSMDISERRCHK_LSB 0
  1474. #define CSR_DTSMDISERRCHK_MASK BIT(0)
  1475. /* CSR_TSM3 */
  1476. #define CSR_TSM3_LSB 0
  1477. #define CSR_TSM3_MASK GENMASK_32(9, 0)
  1478. #define CSR_DTSMCLRERRCNTMSK_LSB 0
  1479. #define CSR_DTSMCLRERRCNTMSK_MASK GENMASK_32(8, 0)
  1480. #define CSR_DTSMCLRERRCNT_LSB 9
  1481. #define CSR_DTSMCLRERRCNT_MASK BIT(9)
  1482. /* CSR_TXCHKDATASELECTS */
  1483. #define CSR_TXCHKDATASELECTS_LSB 0
  1484. #define CSR_TXCHKDATASELECTS_MASK GENMASK_32(1, 0)
  1485. #define CSR_SELCHKTOTX_LSB 0
  1486. #define CSR_SELCHKTOTX_MASK BIT(0)
  1487. #define CSR_SELTXTOCHK_LSB 1
  1488. #define CSR_SELTXTOCHK_MASK BIT(1)
  1489. /* CSR_DTSMUPTHLDXINGIND */
  1490. #define CSR_DTSMUPTHLDXINGIND_LSB 0
  1491. #define CSR_DTSMUPTHLDXINGIND_MASK GENMASK_32(8, 0)
  1492. /* CSR_DTSMLOTHLDXINGIND */
  1493. #define CSR_DTSMLOTHLDXINGIND_LSB 0
  1494. #define CSR_DTSMLOTHLDXINGIND_MASK GENMASK_32(8, 0)
  1495. /* CSR_DBYTEALLDTSMCTRL0 */
  1496. #define CSR_DBYTEALLDTSMCTRL0_LSB 0
  1497. #define CSR_DBYTEALLDTSMCTRL0_MASK GENMASK_32(8, 0)
  1498. #define CSR_DTSMINHIBDTSM_LSB 0
  1499. #define CSR_DTSMINHIBDTSM_MASK GENMASK_32(8, 0)
  1500. /* CSR_DBYTEALLDTSMCTRL1 */
  1501. #define CSR_DBYTEALLDTSMCTRL1_LSB 0
  1502. #define CSR_DBYTEALLDTSMCTRL1_MASK GENMASK_32(8, 0)
  1503. #define CSR_DTSMGATEINC_LSB 0
  1504. #define CSR_DTSMGATEINC_MASK GENMASK_32(8, 0)
  1505. /* CSR_DBYTEALLDTSMCTRL2 */
  1506. #define CSR_DBYTEALLDTSMCTRL2_LSB 0
  1507. #define CSR_DBYTEALLDTSMCTRL2_MASK GENMASK_32(8, 0)
  1508. #define CSR_DTSMGATEDEC_LSB 0
  1509. #define CSR_DTSMGATEDEC_MASK GENMASK_32(8, 0)
  1510. /* CSR_TXDQDLYTG0 */
  1511. #define CSR_TXDQDLYTG0_LSB 0
  1512. #define CSR_TXDQDLYTG0_MASK GENMASK_32(8, 0)
  1513. /* CSR_TXDQDLYTG1 */
  1514. #define CSR_TXDQDLYTG1_LSB 0
  1515. #define CSR_TXDQDLYTG1_MASK GENMASK_32(8, 0)
  1516. /* CSR_TXDQDLYTG2 */
  1517. #define CSR_TXDQDLYTG2_LSB 0
  1518. #define CSR_TXDQDLYTG2_MASK GENMASK_32(8, 0)
  1519. /* CSR_TXDQDLYTG3 */
  1520. #define CSR_TXDQDLYTG3_LSB 0
  1521. #define CSR_TXDQDLYTG3_MASK GENMASK_32(8, 0)
  1522. /* CSR_TXDQSDLYTG0 */
  1523. #define CSR_TXDQSDLYTG0_LSB 0
  1524. #define CSR_TXDQSDLYTG0_MASK GENMASK_32(9, 0)
  1525. /* CSR_TXDQSDLYTG1 */
  1526. #define CSR_TXDQSDLYTG1_LSB 0
  1527. #define CSR_TXDQSDLYTG1_MASK GENMASK_32(9, 0)
  1528. /* CSR_TXDQSDLYTG2 */
  1529. #define CSR_TXDQSDLYTG2_LSB 0
  1530. #define CSR_TXDQSDLYTG2_MASK GENMASK_32(9, 0)
  1531. /* CSR_TXDQSDLYTG3 */
  1532. #define CSR_TXDQSDLYTG3_LSB 0
  1533. #define CSR_TXDQSDLYTG3_MASK GENMASK_32(9, 0)
  1534. /* CSR_DXLCDLSTATUS_ADDR */
  1535. #define CSR_DXLCDLSTATUS_LSB 0
  1536. #define CSR_DXLCDLSTATUS_MASK GENMASK_32(13, 0)
  1537. #define CSR_DXLCDLFINESNAPVAL_LSB 0
  1538. #define CSR_DXLCDLFINESNAPVAL_MASK GENMASK_32(9, 0)
  1539. #define CSR_DXLCDLPHDSNAPVAL_LSB 10
  1540. #define CSR_DXLCDLPHDSNAPVAL_MASK BIT(10)
  1541. #define CSR_DXLCDLSTICKYLOCK_LSB 11
  1542. #define CSR_DXLCDLSTICKYLOCK_MASK BIT(11)
  1543. #define CSR_DXLCDLSTICKYUNLOCK_LSB 12
  1544. #define CSR_DXLCDLSTICKYUNLOCK_MASK BIT(12)
  1545. #define CSR_DXLCDLLIVELOCK_LSB 13
  1546. #define CSR_DXLCDLLIVELOCK_MASK BIT(13)
  1547. /* MASTER0 register offsets */
  1548. /* CSR_RXFIFOINIT */
  1549. #define CSR_RXFIFOINIT_LSB 0
  1550. #define CSR_RXFIFOINIT_MASK GENMASK_32(1, 0)
  1551. #define CSR_RXFIFOINITPTR_LSB 0
  1552. #define CSR_RXFIFOINITPTR_MASK BIT(0)
  1553. #define CSR_INHIBITRXFIFORD_LSB 1
  1554. #define CSR_INHIBITRXFIFORD_MASK BIT(1)
  1555. /* CSR_FORCECLKDISABLE */
  1556. #define CSR_FORCECLKDISABLE_LSB 0
  1557. #define CSR_FORCECLKDISABLE_MASK GENMASK_32(3, 0)
  1558. /* CSR_CLOCKINGCTRL */
  1559. #define CSR_CLOCKINGCTRL_LSB 0
  1560. #define CSR_CLOCKINGCTRL_MASK GENMASK_32(1, 0)
  1561. #define CSR_PCLKENASYNCCTRL_LSB 0
  1562. #define CSR_PCLKENASYNCCTRL_MASK BIT(0)
  1563. #define CSR_DLLTRACKENCTRL_LSB 1
  1564. #define CSR_DLLTRACKENCTRL_MASK BIT(1)
  1565. /* CSR_FORCEINTERNALUPDATE */
  1566. #define CSR_FORCEINTERNALUPDATE_LSB 0
  1567. #define CSR_FORCEINTERNALUPDATE_MASK BIT(0)
  1568. /* CSR_PHYCONFIG */
  1569. #define CSR_PHYCONFIG_LSB 0
  1570. #define CSR_PHYCONFIG_MASK GENMASK_32(9, 0)
  1571. #define CSR_PHYCONFIGANIBS_LSB 0
  1572. #define CSR_PHYCONFIGANIBS_MASK GENMASK_32(3, 0)
  1573. #define CSR_PHYCONFIGDBYTES_LSB 4
  1574. #define CSR_PHYCONFIGDBYTES_MASK GENMASK_32(7, 4)
  1575. #define CSR_PHYCONFIGDFI_LSB 8
  1576. #define CSR_PHYCONFIGDFI_MASK GENMASK_32(9, 8)
  1577. /* CSR_PGCR */
  1578. #define CSR_PGCR_LSB 0
  1579. #define CSR_PGCR_MASK BIT(0)
  1580. #define CSR_RXCLKRISEFALLMODE_LSB 0
  1581. #define CSR_RXCLKRISEFALLMODE_MASK BIT(0)
  1582. /* CSR_TESTBUMPCNTRL1 */
  1583. #define CSR_TESTBUMPCNTRL1_LSB 0
  1584. #define CSR_TESTBUMPCNTRL1_MASK GENMASK_32(15, 0)
  1585. #define CSR_TESTMAJORMODE_LSB 0
  1586. #define CSR_TESTMAJORMODE_MASK GENMASK_32(2, 0)
  1587. #define CSR_TESTBIASBYPASSEN_LSB 3
  1588. #define CSR_TESTBIASBYPASSEN_MASK BIT(3)
  1589. #define CSR_TESTANALOGOUTCTRL_LSB 4
  1590. #define CSR_TESTANALOGOUTCTRL_MASK GENMASK_32(7, 4)
  1591. #define CSR_TESTGAINCURRADJ_LSB 8
  1592. #define CSR_TESTGAINCURRADJ_MASK GENMASK_32(12, 8)
  1593. #define CSR_TESTSELEXTERNALVREF_LSB 13
  1594. #define CSR_TESTSELEXTERNALVREF_MASK BIT(13)
  1595. #define CSR_TESTEXTVREFRANGE_LSB 14
  1596. #define CSR_TESTEXTVREFRANGE_MASK BIT(14)
  1597. #define CSR_TESTPOWERGATEEN_LSB 15
  1598. #define CSR_TESTPOWERGATEEN_MASK BIT(15)
  1599. /* CSR_CALUCLKINFO */
  1600. #define CSR_CALUCLKINFO_LSB 0
  1601. #define CSR_CALUCLKINFO_MASK GENMASK_32(10, 0)
  1602. #define CSR_CALUCLKTICKSPER1US_LSB 0
  1603. #define CSR_CALUCLKTICKSPER1US_MASK GENMASK_32(10, 0)
  1604. /* CSR_TESTBUMPCNTRL */
  1605. #define CSR_TESTBUMPCNTRL_LSB 0
  1606. #define CSR_TESTBUMPCNTRL_MASK GENMASK_32(9, 0)
  1607. #define CSR_TESTBUMPEN_LSB 0
  1608. #define CSR_TESTBUMPEN_MASK GENMASK_32(1, 0)
  1609. #define CSR_TESTBUMPTOGGLE_LSB 2
  1610. #define CSR_TESTBUMPTOGGLE_MASK BIT(2)
  1611. #define CSR_TESTBUMPDATASEL_LSB 3
  1612. #define CSR_TESTBUMPDATASEL_MASK GENMASK_32(8, 3)
  1613. #define CSR_FORCEMTESTONALERT_LSB 9
  1614. #define CSR_FORCEMTESTONALERT_MASK BIT(9)
  1615. /* CSR_SEQ0BDLY0 */
  1616. #define CSR_SEQ0BDLY0_LSB 0
  1617. #define CSR_SEQ0BDLY0_MASK GENMASK_32(15, 0)
  1618. /* CSR_SEQ0BDLY1 */
  1619. #define CSR_SEQ0BDLY1_LSB 0
  1620. #define CSR_SEQ0BDLY1_MASK GENMASK_32(15, 0)
  1621. /* CSR_SEQ0BDLY2 */
  1622. #define CSR_SEQ0BDLY2_LSB 0
  1623. #define CSR_SEQ0BDLY2_MASK GENMASK_32(15, 0)
  1624. /* CSR_SEQ0BDLY3 */
  1625. #define CSR_SEQ0BDLY3_LSB 0
  1626. #define CSR_SEQ0BDLY3_MASK GENMASK_32(15, 0)
  1627. /* CSR_PHYALERTSTATUS */
  1628. #define CSR_PHYALERTSTATUS_LSB 0
  1629. #define CSR_PHYALERTSTATUS_MASK BIT(0)
  1630. #define CSR_PHYALERT_LSB 0
  1631. #define CSR_PHYALERT_MASK BIT(0)
  1632. /* CSR_PPTTRAINSETUP */
  1633. #define CSR_PPTTRAINSETUP_LSB 0
  1634. #define CSR_PPTTRAINSETUP_MASK GENMASK_32(6, 0)
  1635. #define CSR_PHYMSTRTRAININTERVAL_LSB 0
  1636. #define CSR_PHYMSTRTRAININTERVAL_MASK GENMASK_32(3, 0)
  1637. #define CSR_PHYMSTRMAXREQTOACK_LSB 4
  1638. #define CSR_PHYMSTRMAXREQTOACK_MASK GENMASK_32(6, 4)
  1639. /* CSR_PPTTRAINSETUP2 */
  1640. #define CSR_PPTTRAINSETUP2_LSB 0
  1641. #define CSR_PPTTRAINSETUP2_MASK GENMASK_32(2, 0)
  1642. #define CSR_PHYMSTRFREQOVERRIDE_LSB 0
  1643. #define CSR_PHYMSTRFREQOVERRIDE_MASK GENMASK_32(2, 0)
  1644. /* CSR_ATESTMODE */
  1645. #define CSR_ATESTMODE_LSB 0
  1646. #define CSR_ATESTMODE_MASK GENMASK_32(4, 0)
  1647. #define CSR_ATESTPRBSEN_LSB 0
  1648. #define CSR_ATESTPRBSEN_MASK BIT(0)
  1649. #define CSR_ATESTCLKEN_LSB 1
  1650. #define CSR_ATESTCLKEN_MASK BIT(1)
  1651. #define CSR_ATESTMODESEL_LSB 2
  1652. #define CSR_ATESTMODESEL_MASK GENMASK_32(4, 2)
  1653. /* CSR_TXCALBINP */
  1654. #define CSR_TXCALBINP_LSB 0
  1655. #define CSR_TXCALBINP_MASK GENMASK_32(4, 0)
  1656. /* CSR_TXCALBINN */
  1657. #define CSR_TXCALBINN_LSB 0
  1658. #define CSR_TXCALBINN_MASK GENMASK_32(4, 0)
  1659. /* CSR_TXCALPOVR */
  1660. #define CSR_TXCALPOVR_LSB 0
  1661. #define CSR_TXCALPOVR_MASK GENMASK_32(5, 0)
  1662. #define CSR_TXCALBINPOVRVAL_LSB 0
  1663. #define CSR_TXCALBINPOVRVAL_MASK GENMASK_32(4, 0)
  1664. #define CSR_TXCALBINPOVREN_LSB 5
  1665. #define CSR_TXCALBINPOVREN_MASK BIT(5)
  1666. /* CSR_TXCALNOVR */
  1667. #define CSR_TXCALNOVR_LSB 0
  1668. #define CSR_TXCALNOVR_MASK GENMASK_32(5, 0)
  1669. #define CSR_TXCALBINNOVRVAL_LSB 0
  1670. #define CSR_TXCALBINNOVRVAL_MASK GENMASK_32(4, 0)
  1671. #define CSR_TXCALBINNOVREN_LSB 5
  1672. #define CSR_TXCALBINNOVREN_MASK BIT(5)
  1673. /* CSR_DFIMODE */
  1674. #define CSR_DFIMODE_LSB 0
  1675. #define CSR_DFIMODE_MASK GENMASK_32(2, 0)
  1676. #define CSR_DFI0ENABLE_LSB 0
  1677. #define CSR_DFI0ENABLE_MASK BIT(0)
  1678. #define CSR_DFI1ENABLE_LSB 1
  1679. #define CSR_DFI1ENABLE_MASK BIT(1)
  1680. #define CSR_DFI1OVERRIDE_LSB 2
  1681. #define CSR_DFI1OVERRIDE_MASK BIT(2)
  1682. /* CSR_TRISTATEMODECA */
  1683. #define CSR_TRISTATEMODECA_LSB 0
  1684. #define CSR_TRISTATEMODECA_MASK GENMASK_32(3, 0)
  1685. #define CSR_DISDYNADRTRI_LSB 0
  1686. #define CSR_DISDYNADRTRI_MASK BIT(0)
  1687. #define CSR_DDR2TMODE_LSB 1
  1688. #define CSR_DDR2TMODE_MASK BIT(1)
  1689. #define CSR_CKDISVAL_LSB 2
  1690. #define CSR_CKDISVAL_MASK GENMASK_32(3, 2)
  1691. /* MTESTMUXSEL already defined in ANIBx section */
  1692. /* CSR_MTESTPGMINFO */
  1693. #define CSR_MTESTPGMINFO_LSB 0
  1694. #define CSR_MTESTPGMINFO_MASK BIT(0)
  1695. /* CSR_DYNPWRDNUP */
  1696. #define CSR_DYNPWRDNUP_LSB 0
  1697. #define CSR_DYNPWRDNUP_MASK BIT(0)
  1698. #define CSR_DYNPOWERDOWN_LSB 0
  1699. #define CSR_DYNPOWERDOWN_MASK BIT(0)
  1700. /* CSR_PMIENABLE */
  1701. #define CSR_PMIENABLE_LSB 0
  1702. #define CSR_PMIENABLE_MASK BIT(0)
  1703. /* CSR_PHYTID */
  1704. #define CSR_PHYTID_LSB 0
  1705. #define CSR_PHYTID_MASK GENMASK_32(15, 0)
  1706. /* CSR_HWTMRL */
  1707. #define CSR_HWTMRL_LSB 0
  1708. #define CSR_HWTMRL_MASK GENMASK_32(4, 0)
  1709. /* CSR_DFIPHYUPD */
  1710. #define CSR_DFIPHYUPD_LSB 0
  1711. #define CSR_DFIPHYUPD_MASK GENMASK_32(15, 0)
  1712. #define CSR_DFIPHYUPDCNT_LSB 0
  1713. #define CSR_DFIPHYUPDCNT_MASK GENMASK_32(3, 0)
  1714. #define CSR_DFIPHYUPDRESP_LSB 4
  1715. #define CSR_DFIPHYUPDRESP_MASK GENMASK_32(6, 4)
  1716. #define CSR_DFIPHYUPDMODE_LSB 7
  1717. #define CSR_DFIPHYUPDMODE_MASK BIT(7)
  1718. #define CSR_DFIPHYUPDTHRESHOLD_LSB 8
  1719. #define CSR_DFIPHYUPDTHRESHOLD_MASK GENMASK_32(11, 8)
  1720. #define CSR_DFIPHYUPDINTTHRESHOLD_LSB 12
  1721. #define CSR_DFIPHYUPDINTTHRESHOLD_MASK GENMASK_32(15, 12)
  1722. /* CSR_PDAMRSWRITEMODE */
  1723. #define CSR_PDAMRSWRITEMODE_LSB 0
  1724. #define CSR_PDAMRSWRITEMODE_MASK BIT(0)
  1725. /* CSR_DFIGEARDOWNCTL */
  1726. #define CSR_DFIGEARDOWNCTL_LSB 0
  1727. #define CSR_DFIGEARDOWNCTL_MASK GENMASK_32(1, 0)
  1728. /* CSR_DQSPREAMBLECONTROL */
  1729. #define CSR_DQSPREAMBLECONTROL_LSB 0
  1730. #define CSR_DQSPREAMBLECONTROL_MASK GENMASK_32(8, 0)
  1731. #define CSR_TWOTCKRXDQSPRE_LSB 0
  1732. #define CSR_TWOTCKRXDQSPRE_MASK BIT(0)
  1733. #define CSR_TWOTCKTXDQSPRE_LSB 1
  1734. #define CSR_TWOTCKTXDQSPRE_MASK BIT(1)
  1735. #define CSR_POSITIONDFEINIT_LSB 2
  1736. #define CSR_POSITIONDFEINIT_MASK GENMASK_32(4, 2)
  1737. #define CSR_LP4TGLTWOTCKTXDQSPRE_LSB 5
  1738. #define CSR_LP4TGLTWOTCKTXDQSPRE_MASK BIT(5)
  1739. #define CSR_LP4POSTAMBLEEXT_LSB 6
  1740. #define CSR_LP4POSTAMBLEEXT_MASK BIT(6)
  1741. #define CSR_LP4STTCPREBRIDGERXEN_LSB 7
  1742. #define CSR_LP4STTCPREBRIDGERXEN_MASK BIT(7)
  1743. #define CSR_WDQSEXTENSION_LSB 8
  1744. #define CSR_WDQSEXTENSION_MASK BIT(8)
  1745. /* CSR_MASTERX4CONFIG */
  1746. #define CSR_MASTERX4CONFIG_LSB 0
  1747. #define CSR_MASTERX4CONFIG_MASK GENMASK_32(3, 0)
  1748. #define CSR_X4TG_LSB 0
  1749. #define CSR_X4TG_MASK GENMASK_32(3, 0)
  1750. /* CSR_WRLEVBITS */
  1751. #define CSR_WRLEVBITS_LSB 0
  1752. #define CSR_WRLEVBITS_MASK GENMASK_32(7, 0)
  1753. #define CSR_WRLEVFORDQSL_LSB 0
  1754. #define CSR_WRLEVFORDQSL_MASK GENMASK_32(3, 0)
  1755. #define CSR_WRLEVFORDQSU_LSB 4
  1756. #define CSR_WRLEVFORDQSU_MASK GENMASK_32(7, 4)
  1757. /* CSR_ENABLECSMULTICAST */
  1758. #define CSR_ENABLECSMULTICAST_LSB 0
  1759. #define CSR_ENABLECSMULTICAST_MASK BIT(0)
  1760. /* CSR_HWTLPCSMULTICAST */
  1761. #define CSR_HWTLPCSMULTICAST_LSB 0
  1762. #define CSR_HWTLPCSMULTICAST_MASK BIT(0)
  1763. /* CSR_ACX4ANIBDIS */
  1764. #define CSR_ACX4ANIBDIS_LSB 0
  1765. #define CSR_ACX4ANIBDIS_MASK GENMASK_32(11, 0)
  1766. /* CSR_DMIPINPRESENT */
  1767. #define CSR_DMIPINPRESENT_LSB 0
  1768. #define CSR_DMIPINPRESENT_MASK BIT(0)
  1769. #define CSR_RDDBIENABLED_LSB 0
  1770. #define CSR_RDDBIENABLED_MASK BIT(0)
  1771. /* CSR_ARDPTRINITVAL */
  1772. #define CSR_ARDPTRINITVAL_LSB 0
  1773. #define CSR_ARDPTRINITVAL_MASK GENMASK_32(3, 0)
  1774. /* CSR_DB0LCDLCALPHDETOUT */
  1775. #define CSR_DB0LCDLCALPHDETOUT_LSB 0
  1776. #define CSR_DB0LCDLCALPHDETOUT_MASK GENMASK_32(15, 0)
  1777. /* CSR_DB1LCDLCALPHDETOUT */
  1778. #define CSR_DB1LCDLCALPHDETOUT_LSB 0
  1779. #define CSR_DB1LCDLCALPHDETOUT_MASK GENMASK_32(15, 0)
  1780. /* CSR_DB2LCDLCALPHDETOUT */
  1781. #define CSR_DB2LCDLCALPHDETOUT_LSB 0
  1782. #define CSR_DB2LCDLCALPHDETOUT_MASK GENMASK_32(15, 0)
  1783. /* CSR_DB3LCDLCALPHDETOUT */
  1784. #define CSR_DB3LCDLCALPHDETOUT_LSB 0
  1785. #define CSR_DB3LCDLCALPHDETOUT_MASK GENMASK_32(15, 0)
  1786. /* CSR_DB4LCDLCALPHDETOUT */
  1787. #define CSR_DB4LCDLCALPHDETOUT_LSB 0
  1788. #define CSR_DB4LCDLCALPHDETOUT_MASK GENMASK_32(15, 0)
  1789. /* CSR_DB5LCDLCALPHDETOUT */
  1790. #define CSR_DB5LCDLCALPHDETOUT_LSB 0
  1791. #define CSR_DB5LCDLCALPHDETOUT_MASK GENMASK_32(15, 0)
  1792. /* CSR_DB6LCDLCALPHDETOUT */
  1793. #define CSR_DB6LCDLCALPHDETOUT_LSB 0
  1794. #define CSR_DB6LCDLCALPHDETOUT_MASK GENMASK_32(15, 0)
  1795. /* CSR_DB7LCDLCALPHDETOUT */
  1796. #define CSR_DB7LCDLCALPHDETOUT_LSB 0
  1797. #define CSR_DB7LCDLCALPHDETOUT_MASK GENMASK_32(15, 0)
  1798. /* CSR_DB8LCDLCALPHDETOUT */
  1799. #define CSR_DB8LCDLCALPHDETOUT_LSB 0
  1800. #define CSR_DB8LCDLCALPHDETOUT_MASK GENMASK_32(15, 0)
  1801. /* CSR_DB9LCDLCALPHDETOUT */
  1802. #define CSR_DB9LCDLCALPHDETOUT_LSB 0
  1803. #define CSR_DB9LCDLCALPHDETOUT_MASK GENMASK_32(15, 0)
  1804. /* CSR_DBYTEDLLMODECNTRL */
  1805. #define CSR_DBYTEDLLMODECNTRL_LSB 1
  1806. #define CSR_DBYTEDLLMODECNTRL_MASK BIT(1)
  1807. #define CSR_DLLRXPREAMBLEMODE_LSB 1
  1808. #define CSR_DLLRXPREAMBLEMODE_MASK BIT(1)
  1809. /* CSR_DBYTERXENTRAIN */
  1810. #define CSR_DBYTERXENTRAIN_LSB 0
  1811. #define CSR_DBYTERXENTRAIN_MASK BIT(0)
  1812. #define CSR_RXENTRAIN_LSB 0
  1813. #define CSR_RXENTRAIN_MASK BIT(0)
  1814. /* CSR_ANLCDLCALPHDETOUT */
  1815. #define CSR_ANLCDLCALPHDETOUT_LSB 0
  1816. #define CSR_ANLCDLCALPHDETOUT_MASK GENMASK_32(11, 0)
  1817. /* CSR_CALOFFSETS */
  1818. #define CSR_CALOFFSETS_LSB 0
  1819. #define CSR_CALOFFSETS_MASK GENMASK_32(13, 0)
  1820. #define CSR_CALCMPR5OFFSET_LSB 0
  1821. #define CSR_CALCMPR5OFFSET_MASK GENMASK_32(5, 0)
  1822. #define CSR_CALDRVPDTHOFFSET_LSB 6
  1823. #define CSR_CALDRVPDTHOFFSET_MASK GENMASK_32(9, 6)
  1824. #define CSR_CALDRVPUTHOFFSET_LSB 10
  1825. #define CSR_CALDRVPUTHOFFSET_MASK GENMASK_32(13, 10)
  1826. /* CSR_SARINITVALS */
  1827. #define CSR_SARINITVALS_LSB 0
  1828. #define CSR_SARINITVALS_MASK GENMASK_32(8, 0)
  1829. #define CSR_SARINITOFFSET05_LSB 0
  1830. #define CSR_SARINITOFFSET05_MASK GENMASK_32(2, 0)
  1831. #define CSR_SARINITNINT_LSB 3
  1832. #define CSR_SARINITNINT_MASK GENMASK_32(5, 3)
  1833. #define CSR_SARINITPEXT_LSB 6
  1834. #define CSR_SARINITPEXT_MASK GENMASK_32(8, 6)
  1835. /* CSR_CALPEXTOVR */
  1836. #define CSR_CALPEXTOVR_LSB 0
  1837. #define CSR_CALPEXTOVR_MASK GENMASK_32(4, 0)
  1838. /* CSR_CALCMPR5OVR */
  1839. #define CSR_CALCMPR5OVR_LSB 0
  1840. #define CSR_CALCMPR5OVR_MASK GENMASK_32(7, 0)
  1841. /* CSR_CALNINTOVR */
  1842. #define CSR_CALNINTOVR_LSB 0
  1843. #define CSR_CALNINTOVR_MASK GENMASK_32(4, 0)
  1844. /* CSR_CALDRVSTR0 */
  1845. #define CSR_CALDRVSTR0_LSB 0
  1846. #define CSR_CALDRVSTR0_MASK GENMASK_32(7, 0)
  1847. #define CSR_CALDRVSTRPD50_LSB 0
  1848. #define CSR_CALDRVSTRPD50_MASK GENMASK_32(3, 0)
  1849. #define CSR_CALDRVSTRPU50_LSB 4
  1850. #define CSR_CALDRVSTRPU50_MASK GENMASK_32(7, 4)
  1851. /* CSR_PROCODTCTL */
  1852. #define CSR_PROCODTCTL_LSB 0
  1853. #define CSR_PROCODTCTL_MASK GENMASK_32(1, 0)
  1854. #define CSR_PROCODTALWAYSOFF_LSB 0
  1855. #define CSR_PROCODTALWAYSOFF_MASK BIT(0)
  1856. #define CSR_PROCODTALWAYSON_LSB 1
  1857. #define CSR_PROCODTALWAYSON_MASK BIT(1)
  1858. /* CSR_PROCODTTIMECTL */
  1859. #define CSR_PROCODTTIMECTL_LSB 0
  1860. #define CSR_PROCODTTIMECTL_MASK GENMASK_32(5, 0)
  1861. #define CSR_PODTTAILWIDTH_LSB 0
  1862. #define CSR_PODTTAILWIDTH_MASK GENMASK_32(1, 0)
  1863. #define CSR_PODTSTARTDELAY_LSB 2
  1864. #define CSR_PODTSTARTDELAY_MASK GENMASK_32(3, 2)
  1865. #define CSR_PODTTAILWIDTHEXT_LSB 4
  1866. #define CSR_PODTTAILWIDTHEXT_MASK GENMASK_32(5, 4)
  1867. /* CSR_MEMALERTCONTROL */
  1868. #define CSR_MEMALERTCONTROL_LSB 0
  1869. #define CSR_MEMALERTCONTROL_MASK GENMASK_32(15, 0)
  1870. #define CSR_MALERTVREFLEVEL_LSB 0
  1871. #define CSR_MALERTVREFLEVEL_MASK GENMASK_32(6, 0)
  1872. #define CSR_MALERTVREFEXTEN_LSB 7
  1873. #define CSR_MALERTVREFEXTEN_MASK BIT(7)
  1874. #define CSR_MALERTPUSTREN_LSB 8
  1875. #define CSR_MALERTPUSTREN_MASK GENMASK_32(11, 8)
  1876. #define CSR_MALERTPUEN_LSB 12
  1877. #define CSR_MALERTPUEN_MASK BIT(12)
  1878. #define CSR_MALERTRXEN_LSB 13
  1879. #define CSR_MALERTRXEN_MASK BIT(13)
  1880. #define CSR_MALERTDISABLEVAL_LSB 14
  1881. #define CSR_MALERTDISABLEVAL_MASK BIT(14)
  1882. #define CSR_MALERTFORCEERROR_LSB 15
  1883. #define CSR_MALERTFORCEERROR_MASK BIT(15)
  1884. /* CSR_MEMALERTCONTROL2 */
  1885. #define CSR_MEMALERTCONTROL2_LSB 0
  1886. #define CSR_MEMALERTCONTROL2_MASK BIT(0)
  1887. #define CSR_MALERTSYNCBYPASS_LSB 0
  1888. #define CSR_MALERTSYNCBYPASS_MASK BIT(0)
  1889. /* CSR_MEMRESETL */
  1890. #define CSR_MEMRESETL_LSB 0
  1891. #define CSR_MEMRESETL_MASK GENMASK_32(1, 0)
  1892. #define CSR_MEMRESETLVALUE_LSB 0
  1893. #define CSR_MEMRESETLVALUE_MASK BIT(0)
  1894. #define CSR_PROTECTMEMRESET_LSB 1
  1895. #define CSR_PROTECTMEMRESET_MASK BIT(1)
  1896. /* CSR_PUBMODE */
  1897. #define CSR_PUBMODE_LSB 0
  1898. #define CSR_PUBMODE_MASK BIT(0)
  1899. #define CSR_HWTMEMSRC_LSB 0
  1900. #define CSR_HWTMEMSRC_MASK BIT(0)
  1901. /* CSR_MISCPHYSTATUS */
  1902. #define CSR_MISCPHYSTATUS_LSB 0
  1903. #define CSR_MISCPHYSTATUS_MASK GENMASK_32(1, 0)
  1904. #define CSR_DCTSANE_LSB 0
  1905. #define CSR_DCTSANE_MASK BIT(0)
  1906. #define CSR_PORMEMRESET_LSB 1
  1907. #define CSR_PORMEMRESET_MASK BIT(1)
  1908. /* CSR_CORELOOPBACKSEL */
  1909. #define CSR_CORELOOPBACKSEL_LSB 0
  1910. #define CSR_CORELOOPBACKSEL_MASK BIT(0)
  1911. /* CSR_DLLTRAINPARAM */
  1912. #define CSR_DLLTRAINPARAM_LSB 0
  1913. #define CSR_DLLTRAINPARAM_MASK GENMASK_32(1, 0)
  1914. #define CSR_EXTENDPHDTIME_LSB 0
  1915. #define CSR_EXTENDPHDTIME_MASK GENMASK_32(1, 0)
  1916. /* CSR_HWTLPCSENA */
  1917. #define CSR_HWTLPCSENA_LSB 0
  1918. #define CSR_HWTLPCSENA_MASK GENMASK_32(1, 0)
  1919. /* CSR_HWTLPCSENB */
  1920. #define CSR_HWTLPCSENB_LSB 0
  1921. #define CSR_HWTLPCSENB_MASK GENMASK_32(1, 0)
  1922. /* CSR_HWTLPCSENBYPASS */
  1923. #define CSR_HWTLPCSENBYPASS_LSB 0
  1924. #define CSR_HWTLPCSENBYPASS_MASK BIT(0)
  1925. /* CSR_DFICAMODE */
  1926. #define CSR_DFICAMODE_LSB 0
  1927. #define CSR_DFICAMODE_MASK GENMASK_32(3, 0)
  1928. #define CSR_DFILP3CAMODE_LSB 0
  1929. #define CSR_DFILP3CAMODE_MASK BIT(0)
  1930. #define CSR_DFID4CAMODE_LSB 1
  1931. #define CSR_DFID4CAMODE_MASK BIT(1)
  1932. #define CSR_DFILP4CAMODE_LSB 2
  1933. #define CSR_DFILP4CAMODE_MASK BIT(2)
  1934. #define CSR_DFID4ALTCAMODE_LSB 3
  1935. #define CSR_DFID4ALTCAMODE_MASK BIT(3)
  1936. /* CSR_HWTCACTL */
  1937. #define CSR_HWTCACTL_LSB 0
  1938. #define CSR_HWTCACTL_MASK BIT(0)
  1939. #define CSR_HWTDISDYNADRTRI_LSB 0
  1940. #define CSR_HWTDISDYNADRTRI_MASK BIT(0)
  1941. /* CSR_HWTCAMODE */
  1942. #define CSR_HWTCAMODE_LSB 0
  1943. #define CSR_HWTCAMODE_MASK GENMASK_32(5, 0)
  1944. #define CSR_HWTLP3CAMODE_LSB 0
  1945. #define CSR_HWTLP3CAMODE_MASK BIT(0)
  1946. #define CSR_HWTD4CAMODE_LSB 1
  1947. #define CSR_HWTD4CAMODE_MASK BIT(1)
  1948. #define CSR_HWTLP4CAMODE_LSB 2
  1949. #define CSR_HWTLP4CAMODE_MASK BIT(2)
  1950. #define CSR_HWTD4ALTCAMODE_LSB 3
  1951. #define CSR_HWTD4ALTCAMODE_MASK BIT(3)
  1952. #define CSR_HWTCSINVERT_LSB 4
  1953. #define CSR_HWTCSINVERT_MASK BIT(4)
  1954. #define CSR_HWTDBIINVERT_LSB 5
  1955. #define CSR_HWTDBIINVERT_MASK BIT(5)
  1956. /* CSR_DLLCONTROL */
  1957. #define CSR_DLLCONTROL_LSB 0
  1958. #define CSR_DLLCONTROL_MASK GENMASK_32(2, 0)
  1959. #define CSR_DLLRESETRELOCK_LSB 0
  1960. #define CSR_DLLRESETRELOCK_MASK BIT(0)
  1961. #define CSR_DLLRESETSLAVE_LSB 1
  1962. #define CSR_DLLRESETSLAVE_MASK BIT(1)
  1963. #define CSR_DLLRESETRSVD_LSB 2
  1964. #define CSR_DLLRESETRSVD_MASK BIT(2)
  1965. /* CSR_PULSEDLLUPDATEPHASE */
  1966. #define CSR_PULSEDLLUPDATEPHASE_LSB 0
  1967. #define CSR_PULSEDLLUPDATEPHASE_MASK GENMASK_32(7, 0)
  1968. #define CSR_PULSEDBYTEDLLUPDATEPHASE_LSB 0
  1969. #define CSR_PULSEDBYTEDLLUPDATEPHASE_MASK BIT(0)
  1970. #define CSR_PULSEACKDLLUPDATEPHASE_LSB 1
  1971. #define CSR_PULSEACKDLLUPDATEPHASE_MASK BIT(1)
  1972. #define CSR_PULSEACADLLUPDATEPHASE_LSB 2
  1973. #define CSR_PULSEACADLLUPDATEPHASE_MASK BIT(2)
  1974. #define CSR_UPDATEPHASEDESTRESERVED_LSB 3
  1975. #define CSR_UPDATEPHASEDESTRESERVED_MASK GENMASK_32(5, 3)
  1976. #define CSR_TRAINUPDATEPHASEONLONGBUBBLE_LSB 6
  1977. #define CSR_TRAINUPDATEPHASEONLONGBUBBLE_MASK BIT(6)
  1978. #define CSR_ALWAYSUPDATELCDLPHASE_LSB 7
  1979. #define CSR_ALWAYSUPDATELCDLPHASE_MASK BIT(7)
  1980. /* CSR_HWTCONTROLOVR0 */
  1981. #define CSR_HWTCONTROLOVR0_LSB 0
  1982. #define CSR_HWTCONTROLOVR0_MASK GENMASK_32(12, 0)
  1983. #define CSR_HWTCS0OVR0_LSB 0
  1984. #define CSR_HWTCS0OVR0_MASK BIT(0)
  1985. #define CSR_HWTCS1OVR0_LSB 1
  1986. #define CSR_HWTCS1OVR0_MASK BIT(1)
  1987. #define CSR_HWTCS2OVR0_LSB 2
  1988. #define CSR_HWTCS2OVR0_MASK BIT(2)
  1989. #define CSR_HWTCS3OVR0_LSB 3
  1990. #define CSR_HWTCS3OVR0_MASK BIT(3)
  1991. #define CSR_HWTCKE0OVR0_LSB 4
  1992. #define CSR_HWTCKE0OVR0_MASK BIT(4)
  1993. #define CSR_HWTCKE1OVR0_LSB 5
  1994. #define CSR_HWTCKE1OVR0_MASK BIT(5)
  1995. #define CSR_HWTCKE2OVR0_LSB 6
  1996. #define CSR_HWTCKE2OVR0_MASK BIT(6)
  1997. #define CSR_HWTCKE3OVR0_LSB 7
  1998. #define CSR_HWTCKE3OVR0_MASK BIT(7)
  1999. #define CSR_HWTODT0OVR0_LSB 8
  2000. #define CSR_HWTODT0OVR0_MASK BIT(8)
  2001. #define CSR_HWTODT1OVR0_LSB 9
  2002. #define CSR_HWTODT1OVR0_MASK BIT(9)
  2003. #define CSR_HWTODT2OVR0_LSB 10
  2004. #define CSR_HWTODT2OVR0_MASK BIT(10)
  2005. #define CSR_HWTODT3OVR0_LSB 11
  2006. #define CSR_HWTODT3OVR0_MASK BIT(11)
  2007. #define CSR_HWTPARITYOVR0_LSB 12
  2008. #define CSR_HWTPARITYOVR0_MASK BIT(12)
  2009. /* CSR_HWTCONTROLOVR1 */
  2010. #define CSR_HWTCONTROLOVR1_LSB 0
  2011. #define CSR_HWTCONTROLOVR1_MASK GENMASK_32(12, 0)
  2012. #define CSR_HWTCS0OVR1_LSB 0
  2013. #define CSR_HWTCS0OVR1_MASK BIT(0)
  2014. #define CSR_HWTCS1OVR1_LSB 1
  2015. #define CSR_HWTCS1OVR1_MASK BIT(1)
  2016. #define CSR_HWTCS2OVR1_LSB 2
  2017. #define CSR_HWTCS2OVR1_MASK BIT(2)
  2018. #define CSR_HWTCS3OVR1_LSB 3
  2019. #define CSR_HWTCS3OVR1_MASK BIT(3)
  2020. #define CSR_HWTCKE0OVR1_LSB 4
  2021. #define CSR_HWTCKE0OVR1_MASK BIT(4)
  2022. #define CSR_HWTCKE1OVR1_LSB 5
  2023. #define CSR_HWTCKE1OVR1_MASK BIT(5)
  2024. #define CSR_HWTCKE2OVR1_LSB 6
  2025. #define CSR_HWTCKE2OVR1_MASK BIT(6)
  2026. #define CSR_HWTCKE3OVR1_LSB 7
  2027. #define CSR_HWTCKE3OVR1_MASK BIT(7)
  2028. #define CSR_HWTODT0OVR1_LSB 8
  2029. #define CSR_HWTODT0OVR1_MASK BIT(8)
  2030. #define CSR_HWTODT1OVR1_LSB 9
  2031. #define CSR_HWTODT1OVR1_MASK BIT(9)
  2032. #define CSR_HWTODT2OVR1_LSB 10
  2033. #define CSR_HWTODT2OVR1_MASK BIT(10)
  2034. #define CSR_HWTODT3OVR1_LSB 11
  2035. #define CSR_HWTODT3OVR1_MASK BIT(11)
  2036. #define CSR_HWTPARITYOVR1_LSB 12
  2037. #define CSR_HWTPARITYOVR1_MASK BIT(12)
  2038. /* CSR_DLLGAINCTL */
  2039. #define CSR_DLLGAINCTL_LSB 0
  2040. #define CSR_DLLGAINCTL_MASK GENMASK_32(11, 0)
  2041. #define CSR_DLLGAINIV_LSB 0
  2042. #define CSR_DLLGAINIV_MASK GENMASK_32(3, 0)
  2043. #define CSR_DLLGAINTV_LSB 4
  2044. #define CSR_DLLGAINTV_MASK GENMASK_32(7, 4)
  2045. #define CSR_DLLSEEDSEL_LSB 8
  2046. #define CSR_DLLSEEDSEL_MASK GENMASK_32(11, 8)
  2047. /* CSR_DLLLOCKPARAM */
  2048. #define CSR_DLLLOCKPARAM_LSB 0
  2049. #define CSR_DLLLOCKPARAM_MASK GENMASK_32(12, 0)
  2050. #define CSR_DISDLLSEEDSEL_LSB 0
  2051. #define CSR_DISDLLSEEDSEL_MASK BIT(0)
  2052. #define CSR_DISDLLGAINIVSEED_LSB 1
  2053. #define CSR_DISDLLGAINIVSEED_MASK BIT(1)
  2054. #define CSR_DLLLOCKPARAMSPARE_LSB 2
  2055. #define CSR_DLLLOCKPARAMSPARE_MASK GENMASK_32(3, 2)
  2056. #define CSR_LCDLSEED0_LSB 4
  2057. #define CSR_LCDLSEED0_MASK GENMASK_32(12, 4)
  2058. /* CSR_HWTCONTROLVAL0 */
  2059. #define CSR_HWTCONTROLVAL0_LSB 0
  2060. #define CSR_HWTCONTROLVAL0_MASK GENMASK_32(12, 0)
  2061. #define CSR_HWTCS0VAL0_LSB 0
  2062. #define CSR_HWTCS0VAL0_MASK BIT(0)
  2063. #define CSR_HWTCS1VAL0_LSB 1
  2064. #define CSR_HWTCS1VAL0_MASK BIT(1)
  2065. #define CSR_HWTCS2VAL0_LSB 2
  2066. #define CSR_HWTCS2VAL0_MASK BIT(2)
  2067. #define CSR_HWTCS3VAL0_LSB 3
  2068. #define CSR_HWTCS3VAL0_MASK BIT(3)
  2069. #define CSR_HWTCKE0VAL0_LSB 4
  2070. #define CSR_HWTCKE0VAL0_MASK BIT(4)
  2071. #define CSR_HWTCKE1VAL0_LSB 5
  2072. #define CSR_HWTCKE1VAL0_MASK BIT(5)
  2073. #define CSR_HWTCKE2VAL0_LSB 6
  2074. #define CSR_HWTCKE2VAL0_MASK BIT(6)
  2075. #define CSR_HWTCKE3VAL0_LSB 7
  2076. #define CSR_HWTCKE3VAL0_MASK BIT(7)
  2077. #define CSR_HWTODT0VAL0_LSB 8
  2078. #define CSR_HWTODT0VAL0_MASK BIT(8)
  2079. #define CSR_HWTODT1VAL0_LSB 9
  2080. #define CSR_HWTODT1VAL0_MASK BIT(9)
  2081. #define CSR_HWTODT2VAL0_LSB 10
  2082. #define CSR_HWTODT2VAL0_MASK BIT(10)
  2083. #define CSR_HWTODT3VAL0_LSB 11
  2084. #define CSR_HWTODT3VAL0_MASK BIT(11)
  2085. #define CSR_HWTPARITYVAL0_LSB 12
  2086. #define CSR_HWTPARITYVAL0_MASK BIT(12)
  2087. /* CSR_HWTCONTROLVAL1 */
  2088. #define CSR_HWTCONTROLVAL1_LSB 0
  2089. #define CSR_HWTCONTROLVAL1_MASK GENMASK_32(12, 0)
  2090. #define CSR_HWTCS0VAL1_LSB 0
  2091. #define CSR_HWTCS0VAL1_MASK BIT(0)
  2092. #define CSR_HWTCS1VAL1_LSB 1
  2093. #define CSR_HWTCS1VAL1_MASK BIT(1)
  2094. #define CSR_HWTCS2VAL1_LSB 2
  2095. #define CSR_HWTCS2VAL1_MASK BIT(2)
  2096. #define CSR_HWTCS3VAL1_LSB 3
  2097. #define CSR_HWTCS3VAL1_MASK BIT(3)
  2098. #define CSR_HWTCKE0VAL1_LSB 4
  2099. #define CSR_HWTCKE0VAL1_MASK BIT(4)
  2100. #define CSR_HWTCKE1VAL1_LSB 5
  2101. #define CSR_HWTCKE1VAL1_MASK BIT(5)
  2102. #define CSR_HWTCKE2VAL1_LSB 6
  2103. #define CSR_HWTCKE2VAL1_MASK BIT(6)
  2104. #define CSR_HWTCKE3VAL1_LSB 7
  2105. #define CSR_HWTCKE3VAL1_MASK BIT(7)
  2106. #define CSR_HWTODT0VAL1_LSB 8
  2107. #define CSR_HWTODT0VAL1_MASK BIT(8)
  2108. #define CSR_HWTODT1VAL1_LSB 9
  2109. #define CSR_HWTODT1VAL1_MASK BIT(9)
  2110. #define CSR_HWTODT2VAL1_LSB 10
  2111. #define CSR_HWTODT2VAL1_MASK BIT(10)
  2112. #define CSR_HWTODT3VAL1_LSB 11
  2113. #define CSR_HWTODT3VAL1_MASK BIT(11)
  2114. #define CSR_HWTPARITYVAL1_LSB 12
  2115. #define CSR_HWTPARITYVAL1_MASK BIT(12)
  2116. /* CSR_ACSMGLBLSTART */
  2117. #define CSR_ACSMGLBLSTART_LSB 0
  2118. #define CSR_ACSMGLBLSTART_MASK BIT(0)
  2119. /* CSR_ACSMGLBLSGLSTPCTRL */
  2120. #define CSR_ACSMGLBLSGLSTPCTRL_LSB 0
  2121. #define CSR_ACSMGLBLSGLSTPCTRL_MASK GENMASK_32(1, 0)
  2122. #define CSR_ACSMSGLSTPMODE_LSB 0
  2123. #define CSR_ACSMSGLSTPMODE_MASK BIT(0)
  2124. #define CSR_ACSMSGLSTP_LSB 1
  2125. #define CSR_ACSMSGLSTP_MASK BIT(1)
  2126. /* CSR_LCDLCALPHASE */
  2127. #define CSR_LCDLCALPHASE_LSB 0
  2128. #define CSR_LCDLCALPHASE_MASK GENMASK_32(8, 0)
  2129. /* CSR_LCDLCALCTRL */
  2130. #define CSR_LCDLCALCTRL_LSB 0
  2131. #define CSR_LCDLCALCTRL_MASK GENMASK_32(6, 0)
  2132. #define CSR_LCDLCALMODE_LSB 0
  2133. #define CSR_LCDLCALMODE_MASK BIT(0)
  2134. #define CSR_LCDLCALSLOWCLKSEL_LSB 1
  2135. #define CSR_LCDLCALSLOWCLKSEL_MASK BIT(1)
  2136. #define CSR_LCDLCALEN_LSB 2
  2137. #define CSR_LCDLCALEN_MASK BIT(2)
  2138. #define CSR_LCDLCALPHASEUPDATE_LSB 3
  2139. #define CSR_LCDLCALPHASEUPDATE_MASK BIT(3)
  2140. #define CSR_LCDLCALCLKEN_LSB 4
  2141. #define CSR_LCDLCALCLKEN_MASK BIT(4)
  2142. #define CSR_LCDLCALSAMPEN_LSB 5
  2143. #define CSR_LCDLCALSAMPEN_MASK BIT(5)
  2144. #define CSR_LCDLCALSLOWCLKEN_LSB 6
  2145. #define CSR_LCDLCALSLOWCLKEN_MASK BIT(6)
  2146. /* CSR_CALRATE */
  2147. #define CSR_CALRATE_LSB 0
  2148. #define CSR_CALRATE_MASK GENMASK_32(6, 0)
  2149. #define CSR_CALINTERVAL_LSB 0
  2150. #define CSR_CALINTERVAL_MASK GENMASK_32(3, 0)
  2151. #define CSR_CALRUN_LSB 4
  2152. #define CSR_CALRUN_MASK BIT(4)
  2153. #define CSR_CALONCE_LSB 5
  2154. #define CSR_CALONCE_MASK BIT(5)
  2155. #define CSR_DISABLEBACKGROUNDZQUPDATES_LSB 6
  2156. #define CSR_DISABLEBACKGROUNDZQUPDATES_MASK BIT(6)
  2157. /* CSR_CALZAP */
  2158. #define CSR_CALZAP_LSB 0
  2159. #define CSR_CALZAP_MASK BIT(0)
  2160. /* CSR_PSTATE */
  2161. #define CSR_PSTATE_LSB 0
  2162. #define CSR_PSTATE_MASK GENMASK_32(3, 0)
  2163. /* CSR_CALPREDRIVEROVERRIDE */
  2164. #define CSR_CALPREDRIVEROVERRIDE_LSB 0
  2165. #define CSR_CALPREDRIVEROVERRIDE_MASK GENMASK_32(7, 0)
  2166. #define CSR_TXPREOVN_LSB 0
  2167. #define CSR_TXPREOVN_MASK GENMASK_32(3, 0)
  2168. #define CSR_TXPREOVP_LSB 4
  2169. #define CSR_TXPREOVP_MASK GENMASK_32(7, 4)
  2170. /* CSR_PLLOUTGATECONTROL */
  2171. #define CSR_PLLOUTGATECONTROL_LSB 0
  2172. #define CSR_PLLOUTGATECONTROL_MASK GENMASK_32(1, 0)
  2173. #define CSR_PCLKGATEEN_LSB 0
  2174. #define CSR_PCLKGATEEN_MASK BIT(0)
  2175. #define CSR_RESERVED2X1_LSB 1
  2176. #define CSR_RESERVED2X1_MASK BIT(1)
  2177. /* CSR_UCMEMRESETCONTROL */
  2178. #define CSR_UCMEMRESETCONTROL_LSB 0
  2179. #define CSR_UCMEMRESETCONTROL_MASK BIT(0)
  2180. #define CSR_UCDCTSANE_LSB 0
  2181. #define CSR_UCDCTSANE_MASK BIT(0)
  2182. /* CSR_PORCONTROL */
  2183. #define CSR_PORCONTROL_LSB 0
  2184. #define CSR_PORCONTROL_MASK BIT(0)
  2185. #define CSR_PLLDLLLOCKDONE_LSB 0
  2186. #define CSR_PLLDLLLOCKDONE_MASK BIT(0)
  2187. /* CSR_CALBUSY */
  2188. #define CSR_CALBUSY_LSB 0
  2189. #define CSR_CALBUSY_MASK BIT(0)
  2190. /* CSR_CALMISC2 */
  2191. #define CSR_CALMISC2_LSB 0
  2192. #define CSR_CALMISC2_MASK GENMASK_32(15, 0)
  2193. #define CSR_CALNUMVOTES_LSB 0
  2194. #define CSR_CALNUMVOTES_MASK GENMASK_32(2, 0)
  2195. #define CSR_RESERVED10X3_LSB 3
  2196. #define CSR_RESERVED10X3_MASK GENMASK_32(10, 3)
  2197. #define CSR_RESERVED11_LSB 11
  2198. #define CSR_RESERVED11_MASK BIT(11)
  2199. #define CSR_CALCMPTRRESTRIM_LSB 12
  2200. #define CSR_CALCMPTRRESTRIM_MASK BIT(12)
  2201. #define CSR_CALCANCELROUNDERRDIS_LSB 13
  2202. #define CSR_CALCANCELROUNDERRDIS_MASK BIT(13)
  2203. #define CSR_CALSLOWCMPANA_LSB 14
  2204. #define CSR_CALSLOWCMPANA_MASK BIT(14)
  2205. #define CSR_RESERVED15_LSB 15
  2206. #define CSR_RESERVED15_MASK BIT(15)
  2207. /* CSR_CALMISC */
  2208. #define CSR_CALMISC_LSB 0
  2209. #define CSR_CALMISC_MASK GENMASK_32(2, 0)
  2210. #define CSR_CALCMPR5DIS_LSB 0
  2211. #define CSR_CALCMPR5DIS_MASK BIT(0)
  2212. #define CSR_CALNINTDIS_LSB 1
  2213. #define CSR_CALNINTDIS_MASK BIT(1)
  2214. #define CSR_CALPEXTDIS_LSB 2
  2215. #define CSR_CALPEXTDIS_MASK BIT(2)
  2216. /* CSR_CALVREFS */
  2217. #define CSR_CALVREFS_LSB 0
  2218. #define CSR_CALVREFS_MASK GENMASK_32(1, 0)
  2219. /* CSR_CALCMPR5 */
  2220. #define CSR_CALCMPR5_LSB 0
  2221. #define CSR_CALCMPR5_MASK GENMASK_32(7, 0)
  2222. /* CSR_CALNINT */
  2223. #define CSR_CALNINT_LSB 0
  2224. #define CSR_CALNINT_MASK GENMASK_32(4, 0)
  2225. #define CSR_CALNINTTHB_LSB 0
  2226. #define CSR_CALNINTTHB_MASK GENMASK_32(4, 0)
  2227. /* CSR_CALPEXT */
  2228. #define CSR_CALPEXT_LSB 0
  2229. #define CSR_CALPEXT_MASK GENMASK_32(4, 0)
  2230. #define CSR_CALPEXTTHB_LSB 0
  2231. #define CSR_CALPEXTTHB_MASK GENMASK_32(4, 0)
  2232. /* CSR_CALCMPINVERT */
  2233. #define CSR_CALCMPINVERT_LSB 0
  2234. #define CSR_CALCMPINVERT_MASK GENMASK_32(4, 0)
  2235. #define CSR_CMPINVERTCALDAC50_LSB 0
  2236. #define CSR_CMPINVERTCALDAC50_MASK BIT(0)
  2237. #define CSR_CMPINVERTCALDRVPD50_LSB 1
  2238. #define CSR_CMPINVERTCALDRVPD50_MASK BIT(1)
  2239. #define CSR_CMPINVERTCALDRVPU50_LSB 2
  2240. #define CSR_CMPINVERTCALDRVPU50_MASK BIT(2)
  2241. #define CSR_CMPINVERTCALODTPD_LSB 3
  2242. #define CSR_CMPINVERTCALODTPD_MASK BIT(3)
  2243. #define CSR_CMPINVERTCALODTPU_LSB 4
  2244. #define CSR_CMPINVERTCALODTPU_MASK BIT(4)
  2245. /* CSR_CALCMPANACNTRL */
  2246. #define CSR_CALCMPANACNTRL_LSB 0
  2247. #define CSR_CALCMPANACNTRL_MASK GENMASK_32(9, 0)
  2248. #define CSR_CMPRGAINCURRADJ_LSB 0
  2249. #define CSR_CMPRGAINCURRADJ_MASK GENMASK_32(7, 0)
  2250. #define CSR_CMPRGAINRESADJ_LSB 8
  2251. #define CSR_CMPRGAINRESADJ_MASK BIT(8)
  2252. #define CSR_CMPRBIASBYPASSEN_LSB 9
  2253. #define CSR_CMPRBIASBYPASSEN_MASK BIT(9)
  2254. /* CSR_DFIRDDATACSDESTMAP */
  2255. #define CSR_DFIRDDATACSDESTMAP_LSB 0
  2256. #define CSR_DFIRDDATACSDESTMAP_MASK GENMASK_32(7, 0)
  2257. #define CSR_DFIRDDESTM0_LSB 0
  2258. #define CSR_DFIRDDESTM0_MASK GENMASK_32(1, 0)
  2259. #define CSR_DFIRDDESTM1_LSB 2
  2260. #define CSR_DFIRDDESTM1_MASK GENMASK_32(3, 2)
  2261. #define CSR_DFIRDDESTM2_LSB 4
  2262. #define CSR_DFIRDDESTM2_MASK GENMASK_32(5, 4)
  2263. #define CSR_DFIRDDESTM3_LSB 6
  2264. #define CSR_DFIRDDESTM3_MASK GENMASK_32(7, 6)
  2265. /* CSR_VREFINGLOBAL */
  2266. #define CSR_VREFINGLOBAL_LSB 0
  2267. #define CSR_VREFINGLOBAL_MASK GENMASK_32(14, 0)
  2268. #define CSR_GLOBALVREFINSEL_LSB 0
  2269. #define CSR_GLOBALVREFINSEL_MASK GENMASK_32(2, 0)
  2270. #define CSR_GLOBALVREFINDAC_LSB 3
  2271. #define CSR_GLOBALVREFINDAC_MASK GENMASK_32(9, 3)
  2272. #define CSR_GLOBALVREFINTRIM_LSB 10
  2273. #define CSR_GLOBALVREFINTRIM_MASK GENMASK_32(13, 10)
  2274. #define CSR_GLOBALVREFINMODE_LSB 14
  2275. #define CSR_GLOBALVREFINMODE_MASK BIT(14)
  2276. /* CSR_DFIWRDATACSDESTMAP */
  2277. #define CSR_DFIWRDATACSDESTMAP_LSB 0
  2278. #define CSR_DFIWRDATACSDESTMAP_MASK GENMASK_32(7, 0)
  2279. #define CSR_DFIWRDESTM0_LSB 0
  2280. #define CSR_DFIWRDESTM0_MASK GENMASK_32(1, 0)
  2281. #define CSR_DFIWRDESTM1_LSB 2
  2282. #define CSR_DFIWRDESTM1_MASK GENMASK_32(3, 2)
  2283. #define CSR_DFIWRDESTM2_LSB 4
  2284. #define CSR_DFIWRDESTM2_MASK GENMASK_32(5, 4)
  2285. #define CSR_DFIWRDESTM3_LSB 6
  2286. #define CSR_DFIWRDESTM3_MASK GENMASK_32(7, 6)
  2287. /* CSR_MASUPDGOODCTR */
  2288. #define CSR_MASUPDGOODCTR_LSB 0
  2289. #define CSR_MASUPDGOODCTR_MASK GENMASK_32(15, 0)
  2290. /* CSR_PHYUPD0GOODCTR */
  2291. #define CSR_PHYUPD0GOODCTR_LSB 0
  2292. #define CSR_PHYUPD0GOODCTR_MASK GENMASK_32(15, 0)
  2293. /* CSR_PHYUPD1GOODCTR */
  2294. #define CSR_PHYUPD1GOODCTR_LSB 0
  2295. #define CSR_PHYUPD1GOODCTR_MASK GENMASK_32(15, 0)
  2296. /* CSR_CTLUPD0GOODCTR */
  2297. #define CSR_CTLUPD0GOODCTR_LSB 0
  2298. #define CSR_CTLUPD0GOODCTR_MASK GENMASK_32(15, 0)
  2299. /* CSR_CTLUPD1GOODCTR */
  2300. #define CSR_CTLUPD1GOODCTR_LSB 0
  2301. #define CSR_CTLUPD1GOODCTR_MASK GENMASK_32(15, 0)
  2302. /* CSR_MASUPDFAILCTR */
  2303. #define CSR_MASUPDFAILCTR_LSB 0
  2304. #define CSR_MASUPDFAILCTR_MASK GENMASK_32(15, 0)
  2305. /* CSR_PHYUPD0FAILCTR */
  2306. #define CSR_PHYUPD0FAILCTR_LSB 0
  2307. #define CSR_PHYUPD0FAILCTR_MASK GENMASK_32(15, 0)
  2308. /* CSR_PHYUPD1FAILCTR */
  2309. #define CSR_PHYUPD1FAILCTR_LSB 0
  2310. #define CSR_PHYUPD1FAILCTR_MASK GENMASK_32(15, 0)
  2311. /* CSR_PHYPERFCTRENABLE */
  2312. #define CSR_PHYPERFCTRENABLE_LSB 0
  2313. #define CSR_PHYPERFCTRENABLE_MASK GENMASK_32(7, 0)
  2314. #define CSR_MASUPDGOODCTL_LSB 0
  2315. #define CSR_MASUPDGOODCTL_MASK BIT(0)
  2316. #define CSR_PHYUPD0GOODCTL_LSB 1
  2317. #define CSR_PHYUPD0GOODCTL_MASK BIT(1)
  2318. #define CSR_PHYUPD1GOODCTL_LSB 2
  2319. #define CSR_PHYUPD1GOODCTL_MASK BIT(2)
  2320. #define CSR_CTLUPD0GOODCTL_LSB 3
  2321. #define CSR_CTLUPD0GOODCTL_MASK BIT(3)
  2322. #define CSR_CTLUPD1GOODCTL_LSB 4
  2323. #define CSR_CTLUPD1GOODCTL_MASK BIT(4)
  2324. #define CSR_MASUPDFAILCTL_LSB 5
  2325. #define CSR_MASUPDFAILCTL_MASK BIT(5)
  2326. #define CSR_PHYUPD0FAILCTL_LSB 6
  2327. #define CSR_PHYUPD0FAILCTL_MASK BIT(6)
  2328. #define CSR_PHYUPD1FAILCTL_LSB 7
  2329. #define CSR_PHYUPD1FAILCTL_MASK BIT(7)
  2330. /* CSR_DFIWRRDDATACSCONFIG */
  2331. #define CSR_DFIWRRDDATACSCONFIG_LSB 0
  2332. #define CSR_DFIWRRDDATACSCONFIG_MASK GENMASK_32(1, 0)
  2333. #define CSR_DFIWRDATACSPOLARITY_LSB 0
  2334. #define CSR_DFIWRDATACSPOLARITY_MASK BIT(0)
  2335. #define CSR_DFIRDDATACSPOLARITY_LSB 1
  2336. #define CSR_DFIRDDATACSPOLARITY_MASK BIT(1)
  2337. /* CSR_PLLPWRDN */
  2338. #define CSR_PLLPWRDN_LSB 0
  2339. #define CSR_PLLPWRDN_MASK BIT(0)
  2340. /* CSR_PLLRESET */
  2341. #define CSR_PLLRESET_LSB 0
  2342. #define CSR_PLLRESET_MASK BIT(0)
  2343. /* CSR_PLLCTRL2 */
  2344. #define CSR_PLLCTRL2_LSB 0
  2345. #define CSR_PLLCTRL2_MASK GENMASK_32(4, 0)
  2346. #define CSR_PLLFREQSEL_LSB 0
  2347. #define CSR_PLLFREQSEL_MASK GENMASK_32(4, 0)
  2348. /* CSR_PLLCTRL0 */
  2349. #define CSR_PLLCTRL0_LSB 0
  2350. #define CSR_PLLCTRL0_MASK GENMASK_32(15, 0)
  2351. #define CSR_PLLSTANDBY_LSB 0
  2352. #define CSR_PLLSTANDBY_MASK BIT(0)
  2353. #define CSR_PLLBYPSEL_LSB 1
  2354. #define CSR_PLLBYPSEL_MASK BIT(1)
  2355. #define CSR_PLLX2MODE_LSB 2
  2356. #define CSR_PLLX2MODE_MASK BIT(2)
  2357. #define CSR_PLLOUTBYPEN_LSB 3
  2358. #define CSR_PLLOUTBYPEN_MASK BIT(3)
  2359. #define CSR_PLLPRESET_LSB 4
  2360. #define CSR_PLLPRESET_MASK BIT(4)
  2361. #define CSR_PLLBYPASSMODE_LSB 5
  2362. #define CSR_PLLBYPASSMODE_MASK BIT(5)
  2363. #define CSR_PLLSELDFIFREQRATIO_LSB 6
  2364. #define CSR_PLLSELDFIFREQRATIO_MASK BIT(6)
  2365. #define CSR_PLLSYNCBUSFLUSH_LSB 7
  2366. #define CSR_PLLSYNCBUSFLUSH_MASK BIT(7)
  2367. #define CSR_PLLSYNCBUSBYP_LSB 8
  2368. #define CSR_PLLSYNCBUSBYP_MASK BIT(8)
  2369. #define CSR_PLLRESERVED10X9_LSB 9
  2370. #define CSR_PLLRESERVED10X9_MASK GENMASK_32(10, 9)
  2371. #define CSR_PLLGEARSHIFT_LSB 11
  2372. #define CSR_PLLGEARSHIFT_MASK BIT(11)
  2373. #define CSR_PLLLOCKCNTSEL_LSB 12
  2374. #define CSR_PLLLOCKCNTSEL_MASK BIT(12)
  2375. #define CSR_PLLLOCKPHSEL_LSB 13
  2376. #define CSR_PLLLOCKPHSEL_MASK GENMASK_32(14, 13)
  2377. #define CSR_PLLSPARECTRL0_LSB 15
  2378. #define CSR_PLLSPARECTRL0_MASK BIT(15)
  2379. /* CSR_PLLCTRL1 */
  2380. #define CSR_PLLCTRL1_LSB 0
  2381. #define CSR_PLLCTRL1_MASK GENMASK_32(8, 0)
  2382. #define CSR_PLLCPINTCTRL_LSB 0
  2383. #define CSR_PLLCPINTCTRL_MASK GENMASK_32(4, 0)
  2384. #define CSR_PLLCPPROPCTRL_LSB 5
  2385. #define CSR_PLLCPPROPCTRL_MASK GENMASK_32(8, 5)
  2386. /* CSR_PLLTST */
  2387. #define CSR_PLLTST_LSB 0
  2388. #define CSR_PLLTST_MASK GENMASK_32(8, 0)
  2389. #define CSR_PLLANATSTEN_LSB 0
  2390. #define CSR_PLLANATSTEN_MASK BIT(0)
  2391. #define CSR_PLLANATSTSEL_LSB 1
  2392. #define CSR_PLLANATSTSEL_MASK GENMASK_32(4, 1)
  2393. #define CSR_PLLDIGTSTSEL_LSB 5
  2394. #define CSR_PLLDIGTSTSEL_MASK GENMASK_32(8, 5)
  2395. /* CSR_PLLLOCKSTATUS */
  2396. #define CSR_PLLLOCKSTATUS_LSB 0
  2397. #define CSR_PLLLOCKSTATUS_MASK BIT(0)
  2398. /* CSR_PLLTESTMODE */
  2399. #define CSR_PLLTESTMODE_LSB 0
  2400. #define CSR_PLLTESTMODE_MASK GENMASK_32(15, 0)
  2401. /* CSR_PLLCTRL3 */
  2402. #define CSR_PLLCTRL3_LSB 0
  2403. #define CSR_PLLCTRL3_MASK GENMASK_32(15, 0)
  2404. #define CSR_PLLSPARE_LSB 0
  2405. #define CSR_PLLSPARE_MASK GENMASK_32(3, 0)
  2406. #define CSR_PLLMAXRANGE_LSB 4
  2407. #define CSR_PLLMAXRANGE_MASK GENMASK_32(8, 4)
  2408. #define CSR_PLLDACVALIN_LSB 9
  2409. #define CSR_PLLDACVALIN_MASK GENMASK_32(13, 9)
  2410. #define CSR_PLLFORCECAL_LSB 14
  2411. #define CSR_PLLFORCECAL_MASK BIT(14)
  2412. #define CSR_PLLENCAL_LSB 15
  2413. #define CSR_PLLENCAL_MASK BIT(15)
  2414. /* CSR_PLLCTRL4 */
  2415. #define CSR_PLLCTRL4_LSB 0
  2416. #define CSR_PLLCTRL4_MASK GENMASK_32(8, 0)
  2417. #define CSR_PLLCPINTGSCTRL_LSB 0
  2418. #define CSR_PLLCPINTGSCTRL_MASK GENMASK_32(4, 0)
  2419. #define CSR_PLLCPPROPGSCTRL_LSB 5
  2420. #define CSR_PLLCPPROPGSCTRL_MASK GENMASK_32(8, 5)
  2421. /* CSR_PLLENDOFCAL */
  2422. #define CSR_PLLENDOFCAL_LSB 0
  2423. #define CSR_PLLENDOFCAL_MASK BIT(0)
  2424. /* CSR_PLLSTANDBYEFF */
  2425. #define CSR_PLLSTANDBYEFF_LSB 0
  2426. #define CSR_PLLSTANDBYEFF_MASK BIT(0)
  2427. /* CSR_PLLDACVALOUT */
  2428. #define CSR_PLLDACVALOUT_LSB 0
  2429. #define CSR_PLLDACVALOUT_MASK GENMASK_32(4, 0)
  2430. /* CSR_DLYTESTSEQ */
  2431. #define CSR_DLYTESTSEQ_LSB 0
  2432. #define CSR_DLYTESTSEQ_MASK GENMASK_32(5, 0)
  2433. #define CSR_DLYTESTEN_LSB 0
  2434. #define CSR_DLYTESTEN_MASK BIT(0)
  2435. #define CSR_DLYTESTCNTINIT_LSB 1
  2436. #define CSR_DLYTESTCNTINIT_MASK BIT(1)
  2437. #define CSR_DLYTESTENOVERRIDE1_LSB 2
  2438. #define CSR_DLYTESTENOVERRIDE1_MASK BIT(2)
  2439. #define CSR_DLYTESTENOVERRIDE2_LSB 3
  2440. #define CSR_DLYTESTENOVERRIDE2_MASK BIT(3)
  2441. #define CSR_SYNCDLYMULTIPLIER_LSB 4
  2442. #define CSR_SYNCDLYMULTIPLIER_MASK GENMASK_32(5, 4)
  2443. /* CSR_DLYTESTRINGSELDB */
  2444. #define CSR_DLYTESTRINGSELDB_LSB 0
  2445. #define CSR_DLYTESTRINGSELDB_MASK GENMASK_32(4, 0)
  2446. #define CSR_DLYTESTCUTDB_LSB 0
  2447. #define CSR_DLYTESTCUTDB_MASK GENMASK_32(4, 0)
  2448. /* CSR_DLYTESTRINGSELAC */
  2449. #define CSR_DLYTESTRINGSELAC_LSB 0
  2450. #define CSR_DLYTESTRINGSELAC_MASK GENMASK_32(4, 0)
  2451. #define CSR_DLYTESTCUTAC_LSB 0
  2452. #define CSR_DLYTESTCUTAC_MASK GENMASK_32(4, 0)
  2453. /* CSR_DLYTESTCNTDFICLKIV */
  2454. #define CSR_DLYTESTCNTDFICLKIV_LSB 0
  2455. #define CSR_DLYTESTCNTDFICLKIV_MASK GENMASK_32(15, 0)
  2456. /* CSR_DLYTESTCNTDFICLK */
  2457. #define CSR_DLYTESTCNTDFICLK_LSB 0
  2458. #define CSR_DLYTESTCNTDFICLK_MASK GENMASK_32(15, 0)
  2459. /* CSR_DLYTESTCNTRINGOSCDB0 */
  2460. #define CSR_DLYTESTCNTRINGOSCDB0_LSB 0
  2461. #define CSR_DLYTESTCNTRINGOSCDB0_MASK GENMASK_32(15, 0)
  2462. /* CSR_DLYTESTCNTRINGOSCDB1 */
  2463. #define CSR_DLYTESTCNTRINGOSCDB1_LSB 0
  2464. #define CSR_DLYTESTCNTRINGOSCDB1_MASK GENMASK_32(15, 0)
  2465. /* CSR_DLYTESTCNTRINGOSCDB2 */
  2466. #define CSR_DLYTESTCNTRINGOSCDB2_LSB 0
  2467. #define CSR_DLYTESTCNTRINGOSCDB2_MASK GENMASK_32(15, 0)
  2468. /* CSR_DLYTESTCNTRINGOSCDB3 */
  2469. #define CSR_DLYTESTCNTRINGOSCDB3_LSB 0
  2470. #define CSR_DLYTESTCNTRINGOSCDB3_MASK GENMASK_32(15, 0)
  2471. /* CSR_DLYTESTCNTRINGOSCDB4 */
  2472. #define CSR_DLYTESTCNTRINGOSCDB4_LSB 0
  2473. #define CSR_DLYTESTCNTRINGOSCDB4_MASK GENMASK_32(15, 0)
  2474. /* CSR_DLYTESTCNTRINGOSCDB5 */
  2475. #define CSR_DLYTESTCNTRINGOSCDB5_LSB 0
  2476. #define CSR_DLYTESTCNTRINGOSCDB5_MASK GENMASK_32(15, 0)
  2477. /* CSR_DLYTESTCNTRINGOSCDB6 */
  2478. #define CSR_DLYTESTCNTRINGOSCDB6_LSB 0
  2479. #define CSR_DLYTESTCNTRINGOSCDB6_MASK GENMASK_32(15, 0)
  2480. /* CSR_DLYTESTCNTRINGOSCDB7 */
  2481. #define CSR_DLYTESTCNTRINGOSCDB7_LSB 0
  2482. #define CSR_DLYTESTCNTRINGOSCDB7_MASK GENMASK_32(15, 0)
  2483. /* CSR_DLYTESTCNTRINGOSCDB8 */
  2484. #define CSR_DLYTESTCNTRINGOSCDB8_LSB 0
  2485. #define CSR_DLYTESTCNTRINGOSCDB8_MASK GENMASK_32(15, 0)
  2486. /* CSR_DLYTESTCNTRINGOSCDB9 */
  2487. #define CSR_DLYTESTCNTRINGOSCDB9_LSB 0
  2488. #define CSR_DLYTESTCNTRINGOSCDB9_MASK GENMASK_32(15, 0)
  2489. /* CSR_DLYTESTCNTRINGOSCAC */
  2490. #define CSR_DLYTESTCNTRINGOSCAC_LSB 0
  2491. #define CSR_DLYTESTCNTRINGOSCAC_MASK GENMASK_32(15, 0)
  2492. /* CSR_MSTLCDLDBGCNTL */
  2493. #define CSR_MSTLCDLDBGCNTL_LSB 0
  2494. #define CSR_MSTLCDLDBGCNTL_MASK GENMASK_32(11, 0)
  2495. #define CSR_MSTLCDLFINEOVRVAL_LSB 0
  2496. #define CSR_MSTLCDLFINEOVRVAL_MASK GENMASK_32(8, 0)
  2497. #define CSR_MSTLCDLFINEOVR_LSB 9
  2498. #define CSR_MSTLCDLFINEOVR_MASK BIT(9)
  2499. #define CSR_MSTLCDLFINESNAP_LSB 10
  2500. #define CSR_MSTLCDLFINESNAP_MASK BIT(10)
  2501. #define CSR_MSTLCDLTSTENABLE_LSB 11
  2502. #define CSR_MSTLCDLTSTENABLE_MASK BIT(11)
  2503. /* CSR_MSTLCDL0DBGRES */
  2504. #define CSR_MSTLCDL0DBGRES_LSB 0
  2505. #define CSR_MSTLCDL0DBGRES_MASK GENMASK_32(12, 0)
  2506. #define CSR_MSTLCDL0FINESNAPVAL_LSB 0
  2507. #define CSR_MSTLCDL0FINESNAPVAL_MASK GENMASK_32(8, 0)
  2508. #define CSR_MSTLCDL0PHDSNAPVAL_LSB 9
  2509. #define CSR_MSTLCDL0PHDSNAPVAL_MASK BIT(9)
  2510. #define CSR_MSTLCDL0STICKYLOCK_LSB 10
  2511. #define CSR_MSTLCDL0STICKYLOCK_MASK BIT(10)
  2512. #define CSR_MSTLCDL0STICKYUNLOCK_LSB 11
  2513. #define CSR_MSTLCDL0STICKYUNLOCK_MASK BIT(11)
  2514. #define CSR_MSTLCDL0LIVELOCK_LSB 12
  2515. #define CSR_MSTLCDL0LIVELOCK_MASK BIT(12)
  2516. /* CSR_MSTLCDL1DBGRES */
  2517. #define CSR_MSTLCDL1DBGRES_LSB 0
  2518. #define CSR_MSTLCDL1DBGRES_MASK GENMASK_32(12, 0)
  2519. #define CSR_MSTLCDL1FINESNAPVAL_LSB 0
  2520. #define CSR_MSTLCDL1FINESNAPVAL_MASK GENMASK_32(8, 0)
  2521. #define CSR_MSTLCDL1PHDSNAPVAL_LSB 9
  2522. #define CSR_MSTLCDL1PHDSNAPVAL_MASK BIT(9)
  2523. #define CSR_MSTLCDL1STICKYLOCK_LSB 10
  2524. #define CSR_MSTLCDL1STICKYLOCK_MASK BIT(10)
  2525. #define CSR_MSTLCDL1STICKYUNLOCK_LSB 11
  2526. #define CSR_MSTLCDL1STICKYUNLOCK_MASK BIT(11)
  2527. #define CSR_MSTLCDL1LIVELOCK_LSB 12
  2528. #define CSR_MSTLCDL1LIVELOCK_MASK BIT(12)
  2529. /* CSR_LCDLDBGCNTL */
  2530. #define CSR_LCDLDBGCNTL_LSB 0
  2531. #define CSR_LCDLDBGCNTL_MASK GENMASK_32(15, 0)
  2532. #define CSR_LCDLFINEOVRVAL_LSB 0
  2533. #define CSR_LCDLFINEOVRVAL_MASK GENMASK_32(8, 0)
  2534. #define CSR_LCDLFINEOVR_LSB 9
  2535. #define CSR_LCDLFINEOVR_MASK BIT(9)
  2536. #define CSR_LCDLFINESNAP_LSB 10
  2537. #define CSR_LCDLFINESNAP_MASK BIT(10)
  2538. #define CSR_LCDLTSTENABLE_LSB 11
  2539. #define CSR_LCDLTSTENABLE_MASK BIT(11)
  2540. #define CSR_LCDLSTATUSSEL_LSB 12
  2541. #define CSR_LCDLSTATUSSEL_MASK GENMASK_32(15, 12)
  2542. /* CSR_ACLCDLSTATUS */
  2543. #define CSR_ACLCDLSTATUS_LSB 0
  2544. #define CSR_ACLCDLSTATUS_MASK GENMASK_32(13, 0)
  2545. #define CSR_ACLCDLFINESNAPVAL_LSB 0
  2546. #define CSR_ACLCDLFINESNAPVAL_MASK GENMASK_32(9, 0)
  2547. #define CSR_ACLCDLPHDSNAPVAL_LSB 10
  2548. #define CSR_ACLCDLPHDSNAPVAL_MASK BIT(10)
  2549. #define CSR_ACLCDLSTICKYLOCK_LSB 11
  2550. #define CSR_ACLCDLSTICKYLOCK_MASK BIT(11)
  2551. #define CSR_ACLCDLSTICKYUNLOCK_LSB 12
  2552. #define CSR_ACLCDLSTICKYUNLOCK_MASK BIT(12)
  2553. #define CSR_ACLCDLLIVELOCK_LSB 13
  2554. #define CSR_ACLCDLLIVELOCK_MASK BIT(13)
  2555. /* CSR_CUSTPHYREV */
  2556. #define CSR_CUSTPHYREV_LSB 0
  2557. #define CSR_CUSTPHYREV_MASK GENMASK_32(5, 0)
  2558. /* CSR_PHYREV */
  2559. #define CSR_PHYREV_LSB 0
  2560. #define CSR_PHYREV_MASK GENMASK_32(15, 0)
  2561. #define CSR_PHYMNR_LSB 0
  2562. #define CSR_PHYMNR_MASK GENMASK_32(3, 0)
  2563. #define CSR_PHYMDR_LSB 4
  2564. #define CSR_PHYMDR_MASK GENMASK_32(7, 4)
  2565. #define CSR_PHYMJR_LSB 8
  2566. #define CSR_PHYMJR_MASK GENMASK_32(15, 8)
  2567. /* CSR_LP3EXITSEQ0BSTARTVECTOR */
  2568. #define CSR_LP3EXITSEQ0BSTARTVECTOR_LSB 0
  2569. #define CSR_LP3EXITSEQ0BSTARTVECTOR_MASK GENMASK_32(7, 0)
  2570. #define CSR_LP3EXITSEQ0BSTARTVECPLLENABLED_LSB 0
  2571. #define CSR_LP3EXITSEQ0BSTARTVECPLLENABLED_MASK GENMASK_32(3, 0)
  2572. #define CSR_LP3EXITSEQ0BSTARTVECPLLBYPASSED_LSB 4
  2573. #define CSR_LP3EXITSEQ0BSTARTVECPLLBYPASSED_MASK GENMASK_32(7, 4)
  2574. /* CSR_DFIFREQXLAT0 */
  2575. #define CSR_DFIFREQXLAT0_LSB 0
  2576. #define CSR_DFIFREQXLAT0_MASK GENMASK_32(15, 0)
  2577. #define CSR_DFIFREQXLATVAL0_LSB 0
  2578. #define CSR_DFIFREQXLATVAL0_MASK GENMASK_32(3, 0)
  2579. #define CSR_DFIFREQXLATVAL1_LSB 4
  2580. #define CSR_DFIFREQXLATVAL1_MASK GENMASK_32(7, 4)
  2581. #define CSR_DFIFREQXLATVAL2_LSB 8
  2582. #define CSR_DFIFREQXLATVAL2_MASK GENMASK_32(11, 8)
  2583. #define CSR_DFIFREQXLATVAL3_LSB 12
  2584. #define CSR_DFIFREQXLATVAL3_MASK GENMASK_32(15, 12)
  2585. /* CSR_DFIFREQXLAT1 */
  2586. #define CSR_DFIFREQXLAT1_LSB 0
  2587. #define CSR_DFIFREQXLAT1_MASK GENMASK_32(15, 0)
  2588. #define CSR_DFIFREQXLATVAL4_LSB 0
  2589. #define CSR_DFIFREQXLATVAL4_MASK GENMASK_32(3, 0)
  2590. #define CSR_DFIFREQXLATVAL5_LSB 4
  2591. #define CSR_DFIFREQXLATVAL5_MASK GENMASK_32(7, 4)
  2592. #define CSR_DFIFREQXLATVAL6_LSB 8
  2593. #define CSR_DFIFREQXLATVAL6_MASK GENMASK_32(11, 8)
  2594. #define CSR_DFIFREQXLATVAL7_LSB 12
  2595. #define CSR_DFIFREQXLATVAL7_MASK GENMASK_32(15, 12)
  2596. /* CSR_DFIFREQXLAT2 */
  2597. #define CSR_DFIFREQXLAT2_LSB 0
  2598. #define CSR_DFIFREQXLAT2_MASK GENMASK_32(15, 0)
  2599. #define CSR_DFIFREQXLATVAL8_LSB 0
  2600. #define CSR_DFIFREQXLATVAL8_MASK GENMASK_32(3, 0)
  2601. #define CSR_DFIFREQXLATVAL9_LSB 4
  2602. #define CSR_DFIFREQXLATVAL9_MASK GENMASK_32(7, 4)
  2603. #define CSR_DFIFREQXLATVAL10_LSB 8
  2604. #define CSR_DFIFREQXLATVAL10_MASK GENMASK_32(11, 8)
  2605. #define CSR_DFIFREQXLATVAL11_LSB 12
  2606. #define CSR_DFIFREQXLATVAL11_MASK GENMASK_32(15, 12)
  2607. /* CSR_DFIFREQXLAT3 */
  2608. #define CSR_DFIFREQXLAT3_LSB 0
  2609. #define CSR_DFIFREQXLAT3_MASK GENMASK_32(15, 0)
  2610. #define CSR_DFIFREQXLATVAL12_LSB 0
  2611. #define CSR_DFIFREQXLATVAL12_MASK GENMASK_32(3, 0)
  2612. #define CSR_DFIFREQXLATVAL13_LSB 4
  2613. #define CSR_DFIFREQXLATVAL13_MASK GENMASK_32(7, 4)
  2614. #define CSR_DFIFREQXLATVAL14_LSB 8
  2615. #define CSR_DFIFREQXLATVAL14_MASK GENMASK_32(11, 8)
  2616. #define CSR_DFIFREQXLATVAL15_LSB 12
  2617. #define CSR_DFIFREQXLATVAL15_MASK GENMASK_32(15, 12)
  2618. /* CSR_DFIFREQXLAT4 */
  2619. #define CSR_DFIFREQXLAT4_LSB 0
  2620. #define CSR_DFIFREQXLAT4_MASK GENMASK_32(15, 0)
  2621. #define CSR_DFIFREQXLATVAL16_LSB 0
  2622. #define CSR_DFIFREQXLATVAL16_MASK GENMASK_32(3, 0)
  2623. #define CSR_DFIFREQXLATVAL17_LSB 4
  2624. #define CSR_DFIFREQXLATVAL17_MASK GENMASK_32(7, 4)
  2625. #define CSR_DFIFREQXLATVAL18_LSB 8
  2626. #define CSR_DFIFREQXLATVAL18_MASK GENMASK_32(11, 8)
  2627. #define CSR_DFIFREQXLATVAL19_LSB 12
  2628. #define CSR_DFIFREQXLATVAL19_MASK GENMASK_32(15, 12)
  2629. /* CSR_DFIFREQXLAT5 */
  2630. #define CSR_DFIFREQXLAT5_LSB 0
  2631. #define CSR_DFIFREQXLAT5_MASK GENMASK_32(15, 0)
  2632. #define CSR_DFIFREQXLATVAL20_LSB 0
  2633. #define CSR_DFIFREQXLATVAL20_MASK GENMASK_32(3, 0)
  2634. #define CSR_DFIFREQXLATVAL21_LSB 4
  2635. #define CSR_DFIFREQXLATVAL21_MASK GENMASK_32(7, 4)
  2636. #define CSR_DFIFREQXLATVAL22_LSB 8
  2637. #define CSR_DFIFREQXLATVAL22_MASK GENMASK_32(11, 8)
  2638. #define CSR_DFIFREQXLATVAL23_LSB 12
  2639. #define CSR_DFIFREQXLATVAL23_MASK GENMASK_32(15, 12)
  2640. /* CSR_DFIFREQXLAT6 */
  2641. #define CSR_DFIFREQXLAT6_LSB 0
  2642. #define CSR_DFIFREQXLAT6_MASK GENMASK_32(15, 0)
  2643. #define CSR_DFIFREQXLATVAL24_LSB 0
  2644. #define CSR_DFIFREQXLATVAL24_MASK GENMASK_32(3, 0)
  2645. #define CSR_DFIFREQXLATVAL25_LSB 4
  2646. #define CSR_DFIFREQXLATVAL25_MASK GENMASK_32(7, 4)
  2647. #define CSR_DFIFREQXLATVAL26_LSB 8
  2648. #define CSR_DFIFREQXLATVAL26_MASK GENMASK_32(11, 8)
  2649. #define CSR_DFIFREQXLATVAL27_LSB 12
  2650. #define CSR_DFIFREQXLATVAL27_MASK GENMASK_32(15, 12)
  2651. /* CSR_DFIFREQXLAT7 */
  2652. #define CSR_DFIFREQXLAT7_LSB 0
  2653. #define CSR_DFIFREQXLAT7_MASK GENMASK_32(15, 0)
  2654. #define CSR_DFIFREQXLATVAL28_LSB 0
  2655. #define CSR_DFIFREQXLATVAL28_MASK GENMASK_32(3, 0)
  2656. #define CSR_DFIFREQXLATVAL29_LSB 4
  2657. #define CSR_DFIFREQXLATVAL29_MASK GENMASK_32(7, 4)
  2658. #define CSR_DFIFREQXLATVAL30_LSB 8
  2659. #define CSR_DFIFREQXLATVAL30_MASK GENMASK_32(11, 8)
  2660. #define CSR_DFIFREQXLATVAL31_LSB 12
  2661. #define CSR_DFIFREQXLATVAL31_MASK GENMASK_32(15, 12)
  2662. /* CSR_TXRDPTRINIT */
  2663. #define CSR_TXRDPTRINIT_LSB 0
  2664. #define CSR_TXRDPTRINIT_MASK BIT(0)
  2665. /* CSR_DFIINITCOMPLETE */
  2666. #define CSR_DFIINITCOMPLETE_LSB 0
  2667. #define CSR_DFIINITCOMPLETE_MASK BIT(0)
  2668. /* CSR_DFIFREQRATIO */
  2669. #define CSR_DFIFREQRATIO_LSB 0
  2670. #define CSR_DFIFREQRATIO_MASK GENMASK_32(1, 0)
  2671. /* CSR_RXFIFOCHECKS */
  2672. #define CSR_RXFIFOCHECKS_LSB 0
  2673. #define CSR_RXFIFOCHECKS_MASK BIT(0)
  2674. #define CSR_DOFREQUENTRXFIFOCHECKS_LSB 0
  2675. #define CSR_DOFREQUENTRXFIFOCHECKS_MASK BIT(0)
  2676. /* CSR_MTESTDTOCTRL */
  2677. #define CSR_MTESTDTOCTRL_LSB 0
  2678. #define CSR_MTESTDTOCTRL_MASK BIT(0)
  2679. #define CSR_MTESTDTOEN_LSB 0
  2680. #define CSR_MTESTDTOEN_MASK BIT(0)
  2681. /* CSR_MAPCAA0TODFI */
  2682. #define CSR_MAPCAA0TODFI_LSB 0
  2683. #define CSR_MAPCAA0TODFI_MASK GENMASK_32(3, 0)
  2684. /* CSR_MAPCAA1TODFI */
  2685. #define CSR_MAPCAA1TODFI_LSB 0
  2686. #define CSR_MAPCAA1TODFI_MASK GENMASK_32(3, 0)
  2687. /* CSR_MAPCAA2TODFI */
  2688. #define CSR_MAPCAA2TODFI_LSB 0
  2689. #define CSR_MAPCAA2TODFI_MASK GENMASK_32(3, 0)
  2690. /* CSR_MAPCAA3TODFI */
  2691. #define CSR_MAPCAA3TODFI_LSB 0
  2692. #define CSR_MAPCAA3TODFI_MASK GENMASK_32(3, 0)
  2693. /* CSR_MAPCAA4TODFI */
  2694. #define CSR_MAPCAA4TODFI_LSB 0
  2695. #define CSR_MAPCAA4TODFI_MASK GENMASK_32(3, 0)
  2696. /* CSR_MAPCAA5TODFI */
  2697. #define CSR_MAPCAA5TODFI_LSB 0
  2698. #define CSR_MAPCAA5TODFI_MASK GENMASK_32(3, 0)
  2699. /* CSR_MAPCAA6TODFI */
  2700. #define CSR_MAPCAA6TODFI_LSB 0
  2701. #define CSR_MAPCAA6TODFI_MASK GENMASK_32(3, 0)
  2702. /* CSR_MAPCAA7TODFI */
  2703. #define CSR_MAPCAA7TODFI_LSB 0
  2704. #define CSR_MAPCAA7TODFI_MASK GENMASK_32(3, 0)
  2705. /* CSR_MAPCAA8TODFI */
  2706. #define CSR_MAPCAA8TODFI_LSB 0
  2707. #define CSR_MAPCAA8TODFI_MASK GENMASK_32(3, 0)
  2708. /* CSR_MAPCAA9TODFI */
  2709. #define CSR_MAPCAA9TODFI_LSB 0
  2710. #define CSR_MAPCAA9TODFI_MASK GENMASK_32(3, 0)
  2711. /* CSR_MAPCAB0TODFI */
  2712. #define CSR_MAPCAB0TODFI_LSB 0
  2713. #define CSR_MAPCAB0TODFI_MASK GENMASK_32(3, 0)
  2714. /* CSR_MAPCAB1TODFI */
  2715. #define CSR_MAPCAB1TODFI_LSB 0
  2716. #define CSR_MAPCAB1TODFI_MASK GENMASK_32(3, 0)
  2717. /* CSR_MAPCAB2TODFI */
  2718. #define CSR_MAPCAB2TODFI_LSB 0
  2719. #define CSR_MAPCAB2TODFI_MASK GENMASK_32(3, 0)
  2720. /* CSR_MAPCAB3TODFI */
  2721. #define CSR_MAPCAB3TODFI_LSB 0
  2722. #define CSR_MAPCAB3TODFI_MASK GENMASK_32(3, 0)
  2723. /* CSR_MAPCAB4TODFI */
  2724. #define CSR_MAPCAB4TODFI_LSB 0
  2725. #define CSR_MAPCAB4TODFI_MASK GENMASK_32(3, 0)
  2726. /* CSR_MAPCAB5TODFI */
  2727. #define CSR_MAPCAB5TODFI_LSB 0
  2728. #define CSR_MAPCAB5TODFI_MASK GENMASK_32(3, 0)
  2729. /* CSR_MAPCAB6TODFI */
  2730. #define CSR_MAPCAB6TODFI_LSB 0
  2731. #define CSR_MAPCAB6TODFI_MASK GENMASK_32(3, 0)
  2732. /* CSR_MAPCAB7TODFI */
  2733. #define CSR_MAPCAB7TODFI_LSB 0
  2734. #define CSR_MAPCAB7TODFI_MASK GENMASK_32(3, 0)
  2735. /* CSR_MAPCAB8TODFI */
  2736. #define CSR_MAPCAB8TODFI_LSB 0
  2737. #define CSR_MAPCAB8TODFI_MASK GENMASK_32(3, 0)
  2738. /* CSR_MAPCAB9TODFI */
  2739. #define CSR_MAPCAB9TODFI_LSB 0
  2740. #define CSR_MAPCAB9TODFI_MASK GENMASK_32(3, 0)
  2741. /* CSR_PHYINTERRUPTENABLE */
  2742. #define CSR_PHYINTERRUPTENABLE_LSB 0
  2743. #define CSR_PHYINTERRUPTENABLE_MASK GENMASK_32(15, 0)
  2744. #define CSR_PHYTRNGCMPLTEN_LSB 0
  2745. #define CSR_PHYTRNGCMPLTEN_MASK BIT(0)
  2746. #define CSR_PHYINITCMPLTEN_LSB 1
  2747. #define CSR_PHYINITCMPLTEN_MASK BIT(1)
  2748. #define CSR_PHYTRNGFAILEN_LSB 2
  2749. #define CSR_PHYTRNGFAILEN_MASK BIT(2)
  2750. #define CSR_PHYFWRESERVEDEN_LSB 3
  2751. #define CSR_PHYFWRESERVEDEN_MASK GENMASK_32(7, 3)
  2752. #define CSR_PHYVTDRIFTALARMEN_LSB 8
  2753. #define CSR_PHYVTDRIFTALARMEN_MASK GENMASK_32(9, 8)
  2754. #define CSR_PHYRXFIFOCHECKEN_LSB 10
  2755. #define CSR_PHYRXFIFOCHECKEN_MASK BIT(10)
  2756. #define CSR_PHYHWRESERVEDEN_LSB 11
  2757. #define CSR_PHYHWRESERVEDEN_MASK GENMASK_32(15, 11)
  2758. /* CSR_PHYINTERRUPTFWCONTROL */
  2759. #define CSR_PHYINTERRUPTFWCONTROL_LSB 0
  2760. #define CSR_PHYINTERRUPTFWCONTROL_MASK GENMASK_32(7, 0)
  2761. #define CSR_PHYTRNGCMPLTFW_LSB 0
  2762. #define CSR_PHYTRNGCMPLTFW_MASK BIT(0)
  2763. #define CSR_PHYINITCMPLTFW_LSB 1
  2764. #define CSR_PHYINITCMPLTFW_MASK BIT(1)
  2765. #define CSR_PHYTRNGFAILFW_LSB 2
  2766. #define CSR_PHYTRNGFAILFW_MASK BIT(2)
  2767. #define CSR_PHYFWRESERVEDFW_LSB 3
  2768. #define CSR_PHYFWRESERVEDFW_MASK GENMASK_32(7, 3)
  2769. /* CSR_PHYINTERRUPTMASK */
  2770. #define CSR_PHYINTERRUPTMASK_LSB 0
  2771. #define CSR_PHYINTERRUPTMASK_MASK GENMASK_32(15, 0)
  2772. #define CSR_PHYTRNGCMPLTMSK_LSB 0
  2773. #define CSR_PHYTRNGCMPLTMSK_MASK BIT(0)
  2774. #define CSR_PHYINITCMPLTMSK_LSB 1
  2775. #define CSR_PHYINITCMPLTMSK_MASK BIT(1)
  2776. #define CSR_PHYTRNGFAILMSK_LSB 2
  2777. #define CSR_PHYTRNGFAILMSK_MASK BIT(2)
  2778. #define CSR_PHYFWRESERVEDMSK_LSB 3
  2779. #define CSR_PHYFWRESERVEDMSK_MASK GENMASK_32(7, 3)
  2780. #define CSR_PHYVTDRIFTALARMMSK_LSB 8
  2781. #define CSR_PHYVTDRIFTALARMMSK_MASK GENMASK_32(9, 8)
  2782. #define CSR_PHYRXFIFOCHECKMSK_LSB 10
  2783. #define CSR_PHYRXFIFOCHECKMSK_MASK BIT(10)
  2784. #define CSR_PHYHWRESERVEDMSK_LSB 11
  2785. #define CSR_PHYHWRESERVEDMSK_MASK GENMASK_32(15, 11)
  2786. /* CSR_PHYINTERRUPTCLEAR */
  2787. #define CSR_PHYINTERRUPTCLEAR_LSB 0
  2788. #define CSR_PHYINTERRUPTCLEAR_MASK GENMASK_32(15, 0)
  2789. #define CSR_PHYTRNGCMPLTCLR_LSB 0
  2790. #define CSR_PHYTRNGCMPLTCLR_MASK BIT(0)
  2791. #define CSR_PHYINITCMPLTCLR_LSB 1
  2792. #define CSR_PHYINITCMPLTCLR_MASK BIT(1)
  2793. #define CSR_PHYTRNGFAILCLR_LSB 2
  2794. #define CSR_PHYTRNGFAILCLR_MASK BIT(2)
  2795. #define CSR_PHYFWRESERVEDCLR_LSB 3
  2796. #define CSR_PHYFWRESERVEDCLR_MASK GENMASK_32(7, 3)
  2797. #define CSR_PHYVTDRIFTALARMCLR_LSB 8
  2798. #define CSR_PHYVTDRIFTALARMCLR_MASK GENMASK_32(9, 8)
  2799. #define CSR_PHYRXFIFOCHECKCLR_LSB 10
  2800. #define CSR_PHYRXFIFOCHECKCLR_MASK BIT(10)
  2801. #define CSR_PHYHWRESERVEDCLR_LSB 11
  2802. #define CSR_PHYHWRESERVEDCLR_MASK GENMASK_32(15, 11)
  2803. /* CSR_PHYINTERRUPTSTATUS */
  2804. #define CSR_PHYINTERRUPTSTATUS_LSB 0
  2805. #define CSR_PHYINTERRUPTSTATUS_MASK GENMASK_32(15, 0)
  2806. #define CSR_PHYTRNGCMPLT_LSB 0
  2807. #define CSR_PHYTRNGCMPLT_MASK BIT(0)
  2808. #define CSR_PHYINITCMPLT_LSB 1
  2809. #define CSR_PHYINITCMPLT_MASK BIT(1)
  2810. #define CSR_PHYTRNGFAIL_LSB 2
  2811. #define CSR_PHYTRNGFAIL_MASK BIT(2)
  2812. #define CSR_PHYFWRESERVED_LSB 3
  2813. #define CSR_PHYFWRESERVED_MASK GENMASK_32(7, 3)
  2814. #define CSR_VTDRIFTALARM_LSB 8
  2815. #define CSR_VTDRIFTALARM_MASK GENMASK_32(9, 8)
  2816. #define CSR_PHYRXFIFOCHECK_LSB 10
  2817. #define CSR_PHYRXFIFOCHECK_MASK BIT(10)
  2818. #define CSR_PHYHWRESERVED_LSB 11
  2819. #define CSR_PHYHWRESERVED_MASK GENMASK_32(15, 11)
  2820. /* CSR_HWTSWIZZLEHWTADDRESS0 */
  2821. #define CSR_HWTSWIZZLEHWTADDRESS0_LSB 0
  2822. #define CSR_HWTSWIZZLEHWTADDRESS0_MASK GENMASK_32(4, 0)
  2823. /* CSR_HWTSWIZZLEHWTADDRESS1 */
  2824. #define CSR_HWTSWIZZLEHWTADDRESS1_LSB 0
  2825. #define CSR_HWTSWIZZLEHWTADDRESS1_MASK GENMASK_32(4, 0)
  2826. /* CSR_HWTSWIZZLEHWTADDRESS2 */
  2827. #define CSR_HWTSWIZZLEHWTADDRESS2_LSB 0
  2828. #define CSR_HWTSWIZZLEHWTADDRESS2_MASK GENMASK_32(4, 0)
  2829. /* CSR_HWTSWIZZLEHWTADDRESS3 */
  2830. #define CSR_HWTSWIZZLEHWTADDRESS3_LSB 0
  2831. #define CSR_HWTSWIZZLEHWTADDRESS3_MASK GENMASK_32(4, 0)
  2832. /* CSR_HWTSWIZZLEHWTADDRESS4 */
  2833. #define CSR_HWTSWIZZLEHWTADDRESS4_LSB 0
  2834. #define CSR_HWTSWIZZLEHWTADDRESS4_MASK GENMASK_32(4, 0)
  2835. /* CSR_HWTSWIZZLEHWTADDRESS5 */
  2836. #define CSR_HWTSWIZZLEHWTADDRESS5_LSB 0
  2837. #define CSR_HWTSWIZZLEHWTADDRESS5_MASK GENMASK_32(4, 0)
  2838. /* CSR_HWTSWIZZLEHWTADDRESS6 */
  2839. #define CSR_HWTSWIZZLEHWTADDRESS6_LSB 0
  2840. #define CSR_HWTSWIZZLEHWTADDRESS6_MASK GENMASK_32(4, 0)
  2841. /* CSR_HWTSWIZZLEHWTADDRESS7 */
  2842. #define CSR_HWTSWIZZLEHWTADDRESS7_LSB 0
  2843. #define CSR_HWTSWIZZLEHWTADDRESS7_MASK GENMASK_32(4, 0)
  2844. /* CSR_HWTSWIZZLEHWTADDRESS8 */
  2845. #define CSR_HWTSWIZZLEHWTADDRESS8_LSB 0
  2846. #define CSR_HWTSWIZZLEHWTADDRESS8_MASK GENMASK_32(4, 0)
  2847. /* CSR_HWTSWIZZLEHWTADDRESS9 */
  2848. #define CSR_HWTSWIZZLEHWTADDRESS9_LSB 0
  2849. #define CSR_HWTSWIZZLEHWTADDRESS9_MASK GENMASK_32(4, 0)
  2850. /* CSR_HWTSWIZZLEHWTADDRESS10 */
  2851. #define CSR_HWTSWIZZLEHWTADDRESS10_LSB 0
  2852. #define CSR_HWTSWIZZLEHWTADDRESS10_MASK GENMASK_32(4, 0)
  2853. /* CSR_HWTSWIZZLEHWTADDRESS11 */
  2854. #define CSR_HWTSWIZZLEHWTADDRESS11_LSB 0
  2855. #define CSR_HWTSWIZZLEHWTADDRESS11_MASK GENMASK_32(4, 0)
  2856. /* CSR_HWTSWIZZLEHWTADDRESS12 */
  2857. #define CSR_HWTSWIZZLEHWTADDRESS12_LSB 0
  2858. #define CSR_HWTSWIZZLEHWTADDRESS12_MASK GENMASK_32(4, 0)
  2859. /* CSR_HWTSWIZZLEHWTADDRESS13 */
  2860. #define CSR_HWTSWIZZLEHWTADDRESS13_LSB 0
  2861. #define CSR_HWTSWIZZLEHWTADDRESS13_MASK GENMASK_32(4, 0)
  2862. /* CSR_HWTSWIZZLEHWTADDRESS14 */
  2863. #define CSR_HWTSWIZZLEHWTADDRESS14_LSB 0
  2864. #define CSR_HWTSWIZZLEHWTADDRESS14_MASK GENMASK_32(4, 0)
  2865. /* CSR_HWTSWIZZLEHWTADDRESS15 */
  2866. #define CSR_HWTSWIZZLEHWTADDRESS15_LSB 0
  2867. #define CSR_HWTSWIZZLEHWTADDRESS15_MASK GENMASK_32(4, 0)
  2868. /* CSR_HWTSWIZZLEHWTADDRESS17 */
  2869. #define CSR_HWTSWIZZLEHWTADDRESS17_LSB 0
  2870. #define CSR_HWTSWIZZLEHWTADDRESS17_MASK GENMASK_32(4, 0)
  2871. /* CSR_HWTSWIZZLEHWTACTN */
  2872. #define CSR_HWTSWIZZLEHWTACTN_LSB 0
  2873. #define CSR_HWTSWIZZLEHWTACTN_MASK GENMASK_32(4, 0)
  2874. /* CSR_HWTSWIZZLEHWTBANK0 */
  2875. #define CSR_HWTSWIZZLEHWTBANK0_LSB 0
  2876. #define CSR_HWTSWIZZLEHWTBANK0_MASK GENMASK_32(4, 0)
  2877. /* CSR_HWTSWIZZLEHWTBANK1 */
  2878. #define CSR_HWTSWIZZLEHWTBANK1_LSB 0
  2879. #define CSR_HWTSWIZZLEHWTBANK1_MASK GENMASK_32(4, 0)
  2880. /* CSR_HWTSWIZZLEHWTBANK2 */
  2881. #define CSR_HWTSWIZZLEHWTBANK2_LSB 0
  2882. #define CSR_HWTSWIZZLEHWTBANK2_MASK GENMASK_32(4, 0)
  2883. /* CSR_HWTSWIZZLEHWTBG0 */
  2884. #define CSR_HWTSWIZZLEHWTBG0_LSB 0
  2885. #define CSR_HWTSWIZZLEHWTBG0_MASK GENMASK_32(4, 0)
  2886. /* CSR_HWTSWIZZLEHWTBG1 */
  2887. #define CSR_HWTSWIZZLEHWTBG1_LSB 0
  2888. #define CSR_HWTSWIZZLEHWTBG1_MASK GENMASK_32(4, 0)
  2889. /* CSR_HWTSWIZZLEHWTCASN */
  2890. #define CSR_HWTSWIZZLEHWTCASN_LSB 0
  2891. #define CSR_HWTSWIZZLEHWTCASN_MASK GENMASK_32(4, 0)
  2892. /* CSR_HWTSWIZZLEHWTRASN */
  2893. #define CSR_HWTSWIZZLEHWTRASN_LSB 0
  2894. #define CSR_HWTSWIZZLEHWTRASN_MASK GENMASK_32(4, 0)
  2895. /* CSR_HWTSWIZZLEHWTWEN */
  2896. #define CSR_HWTSWIZZLEHWTWEN_LSB 0
  2897. #define CSR_HWTSWIZZLEHWTWEN_MASK GENMASK_32(4, 0)
  2898. /* CSR_HWTSWIZZLEHWTPARITYIN */
  2899. #define CSR_HWTSWIZZLEHWTPARITYIN_LSB 0
  2900. #define CSR_HWTSWIZZLEHWTPARITYIN_MASK GENMASK_32(4, 0)
  2901. /* CSR_DFIHANDSHAKEDELAYS0 */
  2902. #define CSR_DFIHANDSHAKEDELAYS0_LSB 0
  2903. #define CSR_DFIHANDSHAKEDELAYS0_MASK GENMASK_32(15, 0)
  2904. #define CSR_PHYUPDACKDELAY0_LSB 0
  2905. #define CSR_PHYUPDACKDELAY0_MASK GENMASK_32(3, 0)
  2906. #define CSR_PHYUPDREQDELAY0_LSB 4
  2907. #define CSR_PHYUPDREQDELAY0_MASK GENMASK_32(7, 4)
  2908. #define CSR_CTRLUPDACKDELAY0_LSB 8
  2909. #define CSR_CTRLUPDACKDELAY0_MASK GENMASK_32(11, 8)
  2910. #define CSR_CTRLUPDREQDELAY0_LSB 12
  2911. #define CSR_CTRLUPDREQDELAY0_MASK GENMASK_32(15, 12)
  2912. /* CSR_DFIHANDSHAKEDELAYS1 */
  2913. #define CSR_DFIHANDSHAKEDELAYS1_LSB 0
  2914. #define CSR_DFIHANDSHAKEDELAYS1_MASK GENMASK_32(15, 0)
  2915. #define CSR_PHYUPDACKDELAY1_LSB 0
  2916. #define CSR_PHYUPDACKDELAY1_MASK GENMASK_32(3, 0)
  2917. #define CSR_PHYUPDREQDELAY1_LSB 4
  2918. #define CSR_PHYUPDREQDELAY1_MASK GENMASK_32(7, 4)
  2919. #define CSR_CTRLUPDACKDELAY1_LSB 8
  2920. #define CSR_CTRLUPDACKDELAY1_MASK GENMASK_32(11, 8)
  2921. #define CSR_CTRLUPDREQDELAY1_LSB 12
  2922. #define CSR_CTRLUPDREQDELAY1_MASK GENMASK_32(15, 12)
  2923. /* CSR_REMOTEIMPCAL */
  2924. #define CSR_REMOTEIMPCAL_LSB 0
  2925. #define CSR_REMOTEIMPCAL_MASK GENMASK_32(1, 0)
  2926. #define CSR_CALIBSLAVE_LSB 0
  2927. #define CSR_CALIBSLAVE_MASK BIT(0)
  2928. #define CSR_SLAVECODEUPDATED_LSB 1
  2929. #define CSR_SLAVECODEUPDATED_MASK BIT(1)
  2930. /* CSR_ACLOOPBACKCTL */
  2931. #define CSR_ACLOOPBACKCTL_LSB 0
  2932. #define CSR_ACLOOPBACKCTL_MASK GENMASK_32(1, 0)
  2933. #define CSR_TERMINATION_LSB 0
  2934. #define CSR_TERMINATION_MASK BIT(0)
  2935. #define CSR_NOISECANCEL_LSB 1
  2936. #define CSR_NOISECANCEL_MASK BIT(1)
  2937. /* ACSM0 register offsets */
  2938. /* CSR_ACSMSEQ0X0 */
  2939. #define CSR_ACSMSEQ0X0_LSB 0
  2940. #define CSR_ACSMSEQ0X0_MASK GENMASK_32(15, 0)
  2941. #define CSR_ACSMMCLKDLY0_LSB 0
  2942. #define CSR_ACSMMCLKDLY0_MASK GENMASK_32(7, 0)
  2943. #define CSR_ACSMDDRWE0_LSB 8
  2944. #define CSR_ACSMDDRWE0_MASK BIT(8)
  2945. #define CSR_ACSMDDRCAS0_LSB 9
  2946. #define CSR_ACSMDDRCAS0_MASK BIT(9)
  2947. #define CSR_ACSMDDRRAS0_LSB 10
  2948. #define CSR_ACSMDDRRAS0_MASK BIT(10)
  2949. #define CSR_ACSMDDRCKESET0_LSB 11
  2950. #define CSR_ACSMDDRCKESET0_MASK BIT(11)
  2951. #define CSR_ACSMDDRCKECLR0_LSB 12
  2952. #define CSR_ACSMDDRCKECLR0_MASK BIT(12)
  2953. #define CSR_ACSMSEQGATECMD0_LSB 13
  2954. #define CSR_ACSMSEQGATECMD0_MASK BIT(13)
  2955. #define CSR_ACSMSEQTERM0_LSB 14
  2956. #define CSR_ACSMSEQTERM0_MASK BIT(14)
  2957. #define CSR_ACSMLP3CA30_LSB 15
  2958. #define CSR_ACSMLP3CA30_MASK BIT(15)
  2959. /* CSR_ACSMSEQ0X1 */
  2960. #define CSR_ACSMSEQ0X1_LSB 0
  2961. #define CSR_ACSMSEQ0X1_MASK GENMASK_32(15, 0)
  2962. #define CSR_ACSMMCLKDLY1_LSB 0
  2963. #define CSR_ACSMMCLKDLY1_MASK GENMASK_32(7, 0)
  2964. #define CSR_ACSMDDRWE1_LSB 8
  2965. #define CSR_ACSMDDRWE1_MASK BIT(8)
  2966. #define CSR_ACSMDDRCAS1_LSB 9
  2967. #define CSR_ACSMDDRCAS1_MASK BIT(9)
  2968. #define CSR_ACSMDDRRAS1_LSB 10
  2969. #define CSR_ACSMDDRRAS1_MASK BIT(10)
  2970. #define CSR_ACSMDDRCKESET1_LSB 11
  2971. #define CSR_ACSMDDRCKESET1_MASK BIT(11)
  2972. #define CSR_ACSMDDRCKECLR1_LSB 12
  2973. #define CSR_ACSMDDRCKECLR1_MASK BIT(12)
  2974. #define CSR_ACSMSEQGATECMD1_LSB 13
  2975. #define CSR_ACSMSEQGATECMD1_MASK BIT(13)
  2976. #define CSR_ACSMSEQTERM1_LSB 14
  2977. #define CSR_ACSMSEQTERM1_MASK BIT(14)
  2978. #define CSR_ACSMLP3CA31_LSB 15
  2979. #define CSR_ACSMLP3CA31_MASK BIT(15)
  2980. /* CSR_ACSMSEQ0X2 */
  2981. #define CSR_ACSMSEQ0X2_LSB 0
  2982. #define CSR_ACSMSEQ0X2_MASK GENMASK_32(15, 0)
  2983. #define CSR_ACSMMCLKDLY2_LSB 0
  2984. #define CSR_ACSMMCLKDLY2_MASK GENMASK_32(7, 0)
  2985. #define CSR_ACSMDDRWE2_LSB 8
  2986. #define CSR_ACSMDDRWE2_MASK BIT(8)
  2987. #define CSR_ACSMDDRCAS2_LSB 9
  2988. #define CSR_ACSMDDRCAS2_MASK BIT(9)
  2989. #define CSR_ACSMDDRRAS2_LSB 10
  2990. #define CSR_ACSMDDRRAS2_MASK BIT(10)
  2991. #define CSR_ACSMDDRCKESET2_LSB 11
  2992. #define CSR_ACSMDDRCKESET2_MASK BIT(11)
  2993. #define CSR_ACSMDDRCKECLR2_LSB 12
  2994. #define CSR_ACSMDDRCKECLR2_MASK BIT(12)
  2995. #define CSR_ACSMSEQGATECMD2_LSB 13
  2996. #define CSR_ACSMSEQGATECMD2_MASK BIT(13)
  2997. #define CSR_ACSMSEQTERM2_LSB 14
  2998. #define CSR_ACSMSEQTERM2_MASK BIT(14)
  2999. #define CSR_ACSMLP3CA32_LSB 15
  3000. #define CSR_ACSMLP3CA32_MASK BIT(15)
  3001. /* CSR_ACSMSEQ0X3 */
  3002. #define CSR_ACSMSEQ0X3_LSB 0
  3003. #define CSR_ACSMSEQ0X3_MASK GENMASK_32(15, 0)
  3004. #define CSR_ACSMMCLKDLY3_LSB 0
  3005. #define CSR_ACSMMCLKDLY3_MASK GENMASK_32(7, 0)
  3006. #define CSR_ACSMDDRWE3_LSB 8
  3007. #define CSR_ACSMDDRWE3_MASK BIT(8)
  3008. #define CSR_ACSMDDRCAS3_LSB 9
  3009. #define CSR_ACSMDDRCAS3_MASK BIT(9)
  3010. #define CSR_ACSMDDRRAS3_LSB 10
  3011. #define CSR_ACSMDDRRAS3_MASK BIT(10)
  3012. #define CSR_ACSMDDRCKESET3_LSB 11
  3013. #define CSR_ACSMDDRCKESET3_MASK BIT(11)
  3014. #define CSR_ACSMDDRCKECLR3_LSB 12
  3015. #define CSR_ACSMDDRCKECLR3_MASK BIT(12)
  3016. #define CSR_ACSMSEQGATECMD3_LSB 13
  3017. #define CSR_ACSMSEQGATECMD3_MASK BIT(13)
  3018. #define CSR_ACSMSEQTERM3_LSB 14
  3019. #define CSR_ACSMSEQTERM3_MASK BIT(14)
  3020. #define CSR_ACSMLP3CA33_LSB 15
  3021. #define CSR_ACSMLP3CA33_MASK BIT(15)
  3022. /* CSR_ACSMSEQ0X4 */
  3023. #define CSR_ACSMSEQ0X4_LSB 0
  3024. #define CSR_ACSMSEQ0X4_MASK GENMASK_32(15, 0)
  3025. #define CSR_ACSMMCLKDLY4_LSB 0
  3026. #define CSR_ACSMMCLKDLY4_MASK GENMASK_32(7, 0)
  3027. #define CSR_ACSMDDRWE4_LSB 8
  3028. #define CSR_ACSMDDRWE4_MASK BIT(8)
  3029. #define CSR_ACSMDDRCAS4_LSB 9
  3030. #define CSR_ACSMDDRCAS4_MASK BIT(9)
  3031. #define CSR_ACSMDDRRAS4_LSB 10
  3032. #define CSR_ACSMDDRRAS4_MASK BIT(10)
  3033. #define CSR_ACSMDDRCKESET4_LSB 11
  3034. #define CSR_ACSMDDRCKESET4_MASK BIT(11)
  3035. #define CSR_ACSMDDRCKECLR4_LSB 12
  3036. #define CSR_ACSMDDRCKECLR4_MASK BIT(12)
  3037. #define CSR_ACSMSEQGATECMD4_LSB 13
  3038. #define CSR_ACSMSEQGATECMD4_MASK BIT(13)
  3039. #define CSR_ACSMSEQTERM4_LSB 14
  3040. #define CSR_ACSMSEQTERM4_MASK BIT(14)
  3041. #define CSR_ACSMLP3CA34_LSB 15
  3042. #define CSR_ACSMLP3CA34_MASK BIT(15)
  3043. /* CSR_ACSMSEQ0X5 */
  3044. #define CSR_ACSMSEQ0X5_LSB 0
  3045. #define CSR_ACSMSEQ0X5_MASK GENMASK_32(15, 0)
  3046. #define CSR_ACSMMCLKDLY5_LSB 0
  3047. #define CSR_ACSMMCLKDLY5_MASK GENMASK_32(7, 0)
  3048. #define CSR_ACSMDDRWE5_LSB 8
  3049. #define CSR_ACSMDDRWE5_MASK BIT(8)
  3050. #define CSR_ACSMDDRCAS5_LSB 9
  3051. #define CSR_ACSMDDRCAS5_MASK BIT(9)
  3052. #define CSR_ACSMDDRRAS5_LSB 10
  3053. #define CSR_ACSMDDRRAS5_MASK BIT(10)
  3054. #define CSR_ACSMDDRCKESET5_LSB 11
  3055. #define CSR_ACSMDDRCKESET5_MASK BIT(11)
  3056. #define CSR_ACSMDDRCKECLR5_LSB 12
  3057. #define CSR_ACSMDDRCKECLR5_MASK BIT(12)
  3058. #define CSR_ACSMSEQGATECMD5_LSB 13
  3059. #define CSR_ACSMSEQGATECMD5_MASK BIT(13)
  3060. #define CSR_ACSMSEQTERM5_LSB 14
  3061. #define CSR_ACSMSEQTERM5_MASK BIT(14)
  3062. #define CSR_ACSMLP3CA35_LSB 15
  3063. #define CSR_ACSMLP3CA35_MASK BIT(15)
  3064. /* CSR_ACSMSEQ0X6 */
  3065. #define CSR_ACSMSEQ0X6_LSB 0
  3066. #define CSR_ACSMSEQ0X6_MASK GENMASK_32(15, 0)
  3067. #define CSR_ACSMMCLKDLY6_LSB 0
  3068. #define CSR_ACSMMCLKDLY6_MASK GENMASK_32(7, 0)
  3069. #define CSR_ACSMDDRWE6_LSB 8
  3070. #define CSR_ACSMDDRWE6_MASK BIT(8)
  3071. #define CSR_ACSMDDRCAS6_LSB 9
  3072. #define CSR_ACSMDDRCAS6_MASK BIT(9)
  3073. #define CSR_ACSMDDRRAS6_LSB 10
  3074. #define CSR_ACSMDDRRAS6_MASK BIT(10)
  3075. #define CSR_ACSMDDRCKESET6_LSB 11
  3076. #define CSR_ACSMDDRCKESET6_MASK BIT(11)
  3077. #define CSR_ACSMDDRCKECLR6_LSB 12
  3078. #define CSR_ACSMDDRCKECLR6_MASK BIT(12)
  3079. #define CSR_ACSMSEQGATECMD6_LSB 13
  3080. #define CSR_ACSMSEQGATECMD6_MASK BIT(13)
  3081. #define CSR_ACSMSEQTERM6_LSB 14
  3082. #define CSR_ACSMSEQTERM6_MASK BIT(14)
  3083. #define CSR_ACSMLP3CA36_LSB 15
  3084. #define CSR_ACSMLP3CA36_MASK BIT(15)
  3085. /* CSR_ACSMSEQ0X7 */
  3086. #define CSR_ACSMSEQ0X7_LSB 0
  3087. #define CSR_ACSMSEQ0X7_MASK GENMASK_32(15, 0)
  3088. #define CSR_ACSMMCLKDLY7_LSB 0
  3089. #define CSR_ACSMMCLKDLY7_MASK GENMASK_32(7, 0)
  3090. #define CSR_ACSMDDRWE7_LSB 8
  3091. #define CSR_ACSMDDRWE7_MASK BIT(8)
  3092. #define CSR_ACSMDDRCAS7_LSB 9
  3093. #define CSR_ACSMDDRCAS7_MASK BIT(9)
  3094. #define CSR_ACSMDDRRAS7_LSB 10
  3095. #define CSR_ACSMDDRRAS7_MASK BIT(10)
  3096. #define CSR_ACSMDDRCKESET7_LSB 11
  3097. #define CSR_ACSMDDRCKESET7_MASK BIT(11)
  3098. #define CSR_ACSMDDRCKECLR7_LSB 12
  3099. #define CSR_ACSMDDRCKECLR7_MASK BIT(12)
  3100. #define CSR_ACSMSEQGATECMD7_LSB 13
  3101. #define CSR_ACSMSEQGATECMD7_MASK BIT(13)
  3102. #define CSR_ACSMSEQTERM7_LSB 14
  3103. #define CSR_ACSMSEQTERM7_MASK BIT(14)
  3104. #define CSR_ACSMLP3CA37_LSB 15
  3105. #define CSR_ACSMLP3CA37_MASK BIT(15)
  3106. /* CSR_ACSMSEQ0X8 */
  3107. #define CSR_ACSMSEQ0X8_LSB 0
  3108. #define CSR_ACSMSEQ0X8_MASK GENMASK_32(15, 0)
  3109. #define CSR_ACSMMCLKDLY8_LSB 0
  3110. #define CSR_ACSMMCLKDLY8_MASK GENMASK_32(7, 0)
  3111. #define CSR_ACSMDDRWE8_LSB 8
  3112. #define CSR_ACSMDDRWE8_MASK BIT(8)
  3113. #define CSR_ACSMDDRCAS8_LSB 9
  3114. #define CSR_ACSMDDRCAS8_MASK BIT(9)
  3115. #define CSR_ACSMDDRRAS8_LSB 10
  3116. #define CSR_ACSMDDRRAS8_MASK BIT(10)
  3117. #define CSR_ACSMDDRCKESET8_LSB 11
  3118. #define CSR_ACSMDDRCKESET8_MASK BIT(11)
  3119. #define CSR_ACSMDDRCKECLR8_LSB 12
  3120. #define CSR_ACSMDDRCKECLR8_MASK BIT(12)
  3121. #define CSR_ACSMSEQGATECMD8_LSB 13
  3122. #define CSR_ACSMSEQGATECMD8_MASK BIT(13)
  3123. #define CSR_ACSMSEQTERM8_LSB 14
  3124. #define CSR_ACSMSEQTERM8_MASK BIT(14)
  3125. #define CSR_ACSMLP3CA38_LSB 15
  3126. #define CSR_ACSMLP3CA38_MASK BIT(15)
  3127. /* CSR_ACSMSEQ0X9 */
  3128. #define CSR_ACSMSEQ0X9_LSB 0
  3129. #define CSR_ACSMSEQ0X9_MASK GENMASK_32(15, 0)
  3130. #define CSR_ACSMMCLKDLY9_LSB 0
  3131. #define CSR_ACSMMCLKDLY9_MASK GENMASK_32(7, 0)
  3132. #define CSR_ACSMDDRWE9_LSB 8
  3133. #define CSR_ACSMDDRWE9_MASK BIT(8)
  3134. #define CSR_ACSMDDRCAS9_LSB 9
  3135. #define CSR_ACSMDDRCAS9_MASK BIT(9)
  3136. #define CSR_ACSMDDRRAS9_LSB 10
  3137. #define CSR_ACSMDDRRAS9_MASK BIT(10)
  3138. #define CSR_ACSMDDRCKESET9_LSB 11
  3139. #define CSR_ACSMDDRCKESET9_MASK BIT(11)
  3140. #define CSR_ACSMDDRCKECLR9_LSB 12
  3141. #define CSR_ACSMDDRCKECLR9_MASK BIT(12)
  3142. #define CSR_ACSMSEQGATECMD9_LSB 13
  3143. #define CSR_ACSMSEQGATECMD9_MASK BIT(13)
  3144. #define CSR_ACSMSEQTERM9_LSB 14
  3145. #define CSR_ACSMSEQTERM9_MASK BIT(14)
  3146. #define CSR_ACSMLP3CA39_LSB 15
  3147. #define CSR_ACSMLP3CA39_MASK BIT(15)
  3148. /* CSR_ACSMSEQ0X10 */
  3149. #define CSR_ACSMSEQ0X10_LSB 0
  3150. #define CSR_ACSMSEQ0X10_MASK GENMASK_32(15, 0)
  3151. #define CSR_ACSMMCLKDLY10_LSB 0
  3152. #define CSR_ACSMMCLKDLY10_MASK GENMASK_32(7, 0)
  3153. #define CSR_ACSMDDRWE10_LSB 8
  3154. #define CSR_ACSMDDRWE10_MASK BIT(8)
  3155. #define CSR_ACSMDDRCAS10_LSB 9
  3156. #define CSR_ACSMDDRCAS10_MASK BIT(9)
  3157. #define CSR_ACSMDDRRAS10_LSB 10
  3158. #define CSR_ACSMDDRRAS10_MASK BIT(10)
  3159. #define CSR_ACSMDDRCKESET10_LSB 11
  3160. #define CSR_ACSMDDRCKESET10_MASK BIT(11)
  3161. #define CSR_ACSMDDRCKECLR10_LSB 12
  3162. #define CSR_ACSMDDRCKECLR10_MASK BIT(12)
  3163. #define CSR_ACSMSEQGATECMD10_LSB 13
  3164. #define CSR_ACSMSEQGATECMD10_MASK BIT(13)
  3165. #define CSR_ACSMSEQTERM10_LSB 14
  3166. #define CSR_ACSMSEQTERM10_MASK BIT(14)
  3167. #define CSR_ACSMLP3CA310_LSB 15
  3168. #define CSR_ACSMLP3CA310_MASK BIT(15)
  3169. /* CSR_ACSMSEQ0X11 */
  3170. #define CSR_ACSMSEQ0X11_LSB 0
  3171. #define CSR_ACSMSEQ0X11_MASK GENMASK_32(15, 0)
  3172. #define CSR_ACSMMCLKDLY11_LSB 0
  3173. #define CSR_ACSMMCLKDLY11_MASK GENMASK_32(7, 0)
  3174. #define CSR_ACSMDDRWE11_LSB 8
  3175. #define CSR_ACSMDDRWE11_MASK BIT(8)
  3176. #define CSR_ACSMDDRCAS11_LSB 9
  3177. #define CSR_ACSMDDRCAS11_MASK BIT(9)
  3178. #define CSR_ACSMDDRRAS11_LSB 10
  3179. #define CSR_ACSMDDRRAS11_MASK BIT(10)
  3180. #define CSR_ACSMDDRCKESET11_LSB 11
  3181. #define CSR_ACSMDDRCKESET11_MASK BIT(11)
  3182. #define CSR_ACSMDDRCKECLR11_LSB 12
  3183. #define CSR_ACSMDDRCKECLR11_MASK BIT(12)
  3184. #define CSR_ACSMSEQGATECMD11_LSB 13
  3185. #define CSR_ACSMSEQGATECMD11_MASK BIT(13)
  3186. #define CSR_ACSMSEQTERM11_LSB 14
  3187. #define CSR_ACSMSEQTERM11_MASK BIT(14)
  3188. #define CSR_ACSMLP3CA311_LSB 15
  3189. #define CSR_ACSMLP3CA311_MASK BIT(15)
  3190. /* CSR_ACSMSEQ0X12 */
  3191. #define CSR_ACSMSEQ0X12_LSB 0
  3192. #define CSR_ACSMSEQ0X12_MASK GENMASK_32(15, 0)
  3193. #define CSR_ACSMMCLKDLY12_LSB 0
  3194. #define CSR_ACSMMCLKDLY12_MASK GENMASK_32(7, 0)
  3195. #define CSR_ACSMDDRWE12_LSB 8
  3196. #define CSR_ACSMDDRWE12_MASK BIT(8)
  3197. #define CSR_ACSMDDRCAS12_LSB 9
  3198. #define CSR_ACSMDDRCAS12_MASK BIT(9)
  3199. #define CSR_ACSMDDRRAS12_LSB 10
  3200. #define CSR_ACSMDDRRAS12_MASK BIT(10)
  3201. #define CSR_ACSMDDRCKESET12_LSB 11
  3202. #define CSR_ACSMDDRCKESET12_MASK BIT(11)
  3203. #define CSR_ACSMDDRCKECLR12_LSB 12
  3204. #define CSR_ACSMDDRCKECLR12_MASK BIT(12)
  3205. #define CSR_ACSMSEQGATECMD12_LSB 13
  3206. #define CSR_ACSMSEQGATECMD12_MASK BIT(13)
  3207. #define CSR_ACSMSEQTERM12_LSB 14
  3208. #define CSR_ACSMSEQTERM12_MASK BIT(14)
  3209. #define CSR_ACSMLP3CA312_LSB 15
  3210. #define CSR_ACSMLP3CA312_MASK BIT(15)
  3211. /* CSR_ACSMSEQ0X13 */
  3212. #define CSR_ACSMSEQ0X13_LSB 0
  3213. #define CSR_ACSMSEQ0X13_MASK GENMASK_32(15, 0)
  3214. #define CSR_ACSMMCLKDLY13_LSB 0
  3215. #define CSR_ACSMMCLKDLY13_MASK GENMASK_32(7, 0)
  3216. #define CSR_ACSMDDRWE13_LSB 8
  3217. #define CSR_ACSMDDRWE13_MASK BIT(8)
  3218. #define CSR_ACSMDDRCAS13_LSB 9
  3219. #define CSR_ACSMDDRCAS13_MASK BIT(9)
  3220. #define CSR_ACSMDDRRAS13_LSB 10
  3221. #define CSR_ACSMDDRRAS13_MASK BIT(10)
  3222. #define CSR_ACSMDDRCKESET13_LSB 11
  3223. #define CSR_ACSMDDRCKESET13_MASK BIT(11)
  3224. #define CSR_ACSMDDRCKECLR13_LSB 12
  3225. #define CSR_ACSMDDRCKECLR13_MASK BIT(12)
  3226. #define CSR_ACSMSEQGATECMD13_LSB 13
  3227. #define CSR_ACSMSEQGATECMD13_MASK BIT(13)
  3228. #define CSR_ACSMSEQTERM13_LSB 14
  3229. #define CSR_ACSMSEQTERM13_MASK BIT(14)
  3230. #define CSR_ACSMLP3CA313_LSB 15
  3231. #define CSR_ACSMLP3CA313_MASK BIT(15)
  3232. /* CSR_ACSMSEQ0X14 */
  3233. #define CSR_ACSMSEQ0X14_LSB 0
  3234. #define CSR_ACSMSEQ0X14_MASK GENMASK_32(15, 0)
  3235. #define CSR_ACSMMCLKDLY14_LSB 0
  3236. #define CSR_ACSMMCLKDLY14_MASK GENMASK_32(7, 0)
  3237. #define CSR_ACSMDDRWE14_LSB 8
  3238. #define CSR_ACSMDDRWE14_MASK BIT(8)
  3239. #define CSR_ACSMDDRCAS14_LSB 9
  3240. #define CSR_ACSMDDRCAS14_MASK BIT(9)
  3241. #define CSR_ACSMDDRRAS14_LSB 10
  3242. #define CSR_ACSMDDRRAS14_MASK BIT(10)
  3243. #define CSR_ACSMDDRCKESET14_LSB 11
  3244. #define CSR_ACSMDDRCKESET14_MASK BIT(11)
  3245. #define CSR_ACSMDDRCKECLR14_LSB 12
  3246. #define CSR_ACSMDDRCKECLR14_MASK BIT(12)
  3247. #define CSR_ACSMSEQGATECMD14_LSB 13
  3248. #define CSR_ACSMSEQGATECMD14_MASK BIT(13)
  3249. #define CSR_ACSMSEQTERM14_LSB 14
  3250. #define CSR_ACSMSEQTERM14_MASK BIT(14)
  3251. #define CSR_ACSMLP3CA314_LSB 15
  3252. #define CSR_ACSMLP3CA314_MASK BIT(15)
  3253. /* CSR_ACSMSEQ0X15 */
  3254. #define CSR_ACSMSEQ0X15_LSB 0
  3255. #define CSR_ACSMSEQ0X15_MASK GENMASK_32(15, 0)
  3256. #define CSR_ACSMMCLKDLY15_LSB 0
  3257. #define CSR_ACSMMCLKDLY15_MASK GENMASK_32(7, 0)
  3258. #define CSR_ACSMDDRWE15_LSB 8
  3259. #define CSR_ACSMDDRWE15_MASK BIT(8)
  3260. #define CSR_ACSMDDRCAS15_LSB 9
  3261. #define CSR_ACSMDDRCAS15_MASK BIT(9)
  3262. #define CSR_ACSMDDRRAS15_LSB 10
  3263. #define CSR_ACSMDDRRAS15_MASK BIT(10)
  3264. #define CSR_ACSMDDRCKESET15_LSB 11
  3265. #define CSR_ACSMDDRCKESET15_MASK BIT(11)
  3266. #define CSR_ACSMDDRCKECLR15_LSB 12
  3267. #define CSR_ACSMDDRCKECLR15_MASK BIT(12)
  3268. #define CSR_ACSMSEQGATECMD15_LSB 13
  3269. #define CSR_ACSMSEQGATECMD15_MASK BIT(13)
  3270. #define CSR_ACSMSEQTERM15_LSB 14
  3271. #define CSR_ACSMSEQTERM15_MASK BIT(14)
  3272. #define CSR_ACSMLP3CA315_LSB 15
  3273. #define CSR_ACSMLP3CA315_MASK BIT(15)
  3274. /* CSR_ACSMSEQ0X16 */
  3275. #define CSR_ACSMSEQ0X16_LSB 0
  3276. #define CSR_ACSMSEQ0X16_MASK GENMASK_32(15, 0)
  3277. #define CSR_ACSMMCLKDLY16_LSB 0
  3278. #define CSR_ACSMMCLKDLY16_MASK GENMASK_32(7, 0)
  3279. #define CSR_ACSMDDRWE16_LSB 8
  3280. #define CSR_ACSMDDRWE16_MASK BIT(8)
  3281. #define CSR_ACSMDDRCAS16_LSB 9
  3282. #define CSR_ACSMDDRCAS16_MASK BIT(9)
  3283. #define CSR_ACSMDDRRAS16_LSB 10
  3284. #define CSR_ACSMDDRRAS16_MASK BIT(10)
  3285. #define CSR_ACSMDDRCKESET16_LSB 11
  3286. #define CSR_ACSMDDRCKESET16_MASK BIT(11)
  3287. #define CSR_ACSMDDRCKECLR16_LSB 12
  3288. #define CSR_ACSMDDRCKECLR16_MASK BIT(12)
  3289. #define CSR_ACSMSEQGATECMD16_LSB 13
  3290. #define CSR_ACSMSEQGATECMD16_MASK BIT(13)
  3291. #define CSR_ACSMSEQTERM16_LSB 14
  3292. #define CSR_ACSMSEQTERM16_MASK BIT(14)
  3293. #define CSR_ACSMLP3CA316_LSB 15
  3294. #define CSR_ACSMLP3CA316_MASK BIT(15)
  3295. /* CSR_ACSMSEQ0X17 */
  3296. #define CSR_ACSMSEQ0X17_LSB 0
  3297. #define CSR_ACSMSEQ0X17_MASK GENMASK_32(15, 0)
  3298. #define CSR_ACSMMCLKDLY17_LSB 0
  3299. #define CSR_ACSMMCLKDLY17_MASK GENMASK_32(7, 0)
  3300. #define CSR_ACSMDDRWE17_LSB 8
  3301. #define CSR_ACSMDDRWE17_MASK BIT(8)
  3302. #define CSR_ACSMDDRCAS17_LSB 9
  3303. #define CSR_ACSMDDRCAS17_MASK BIT(9)
  3304. #define CSR_ACSMDDRRAS17_LSB 10
  3305. #define CSR_ACSMDDRRAS17_MASK BIT(10)
  3306. #define CSR_ACSMDDRCKESET17_LSB 11
  3307. #define CSR_ACSMDDRCKESET17_MASK BIT(11)
  3308. #define CSR_ACSMDDRCKECLR17_LSB 12
  3309. #define CSR_ACSMDDRCKECLR17_MASK BIT(12)
  3310. #define CSR_ACSMSEQGATECMD17_LSB 13
  3311. #define CSR_ACSMSEQGATECMD17_MASK BIT(13)
  3312. #define CSR_ACSMSEQTERM17_LSB 14
  3313. #define CSR_ACSMSEQTERM17_MASK BIT(14)
  3314. #define CSR_ACSMLP3CA317_LSB 15
  3315. #define CSR_ACSMLP3CA317_MASK BIT(15)
  3316. /* CSR_ACSMSEQ0X18 */
  3317. #define CSR_ACSMSEQ0X18_LSB 0
  3318. #define CSR_ACSMSEQ0X18_MASK GENMASK_32(15, 0)
  3319. #define CSR_ACSMMCLKDLY18_LSB 0
  3320. #define CSR_ACSMMCLKDLY18_MASK GENMASK_32(7, 0)
  3321. #define CSR_ACSMDDRWE18_LSB 8
  3322. #define CSR_ACSMDDRWE18_MASK BIT(8)
  3323. #define CSR_ACSMDDRCAS18_LSB 9
  3324. #define CSR_ACSMDDRCAS18_MASK BIT(9)
  3325. #define CSR_ACSMDDRRAS18_LSB 10
  3326. #define CSR_ACSMDDRRAS18_MASK BIT(10)
  3327. #define CSR_ACSMDDRCKESET18_LSB 11
  3328. #define CSR_ACSMDDRCKESET18_MASK BIT(11)
  3329. #define CSR_ACSMDDRCKECLR18_LSB 12
  3330. #define CSR_ACSMDDRCKECLR18_MASK BIT(12)
  3331. #define CSR_ACSMSEQGATECMD18_LSB 13
  3332. #define CSR_ACSMSEQGATECMD18_MASK BIT(13)
  3333. #define CSR_ACSMSEQTERM18_LSB 14
  3334. #define CSR_ACSMSEQTERM18_MASK BIT(14)
  3335. #define CSR_ACSMLP3CA318_LSB 15
  3336. #define CSR_ACSMLP3CA318_MASK BIT(15)
  3337. /* CSR_ACSMSEQ0X19 */
  3338. #define CSR_ACSMSEQ0X19_LSB 0
  3339. #define CSR_ACSMSEQ0X19_MASK GENMASK_32(15, 0)
  3340. #define CSR_ACSMMCLKDLY19_LSB 0
  3341. #define CSR_ACSMMCLKDLY19_MASK GENMASK_32(7, 0)
  3342. #define CSR_ACSMDDRWE19_LSB 8
  3343. #define CSR_ACSMDDRWE19_MASK BIT(8)
  3344. #define CSR_ACSMDDRCAS19_LSB 9
  3345. #define CSR_ACSMDDRCAS19_MASK BIT(9)
  3346. #define CSR_ACSMDDRRAS19_LSB 10
  3347. #define CSR_ACSMDDRRAS19_MASK BIT(10)
  3348. #define CSR_ACSMDDRCKESET19_LSB 11
  3349. #define CSR_ACSMDDRCKESET19_MASK BIT(11)
  3350. #define CSR_ACSMDDRCKECLR19_LSB 12
  3351. #define CSR_ACSMDDRCKECLR19_MASK BIT(12)
  3352. #define CSR_ACSMSEQGATECMD19_LSB 13
  3353. #define CSR_ACSMSEQGATECMD19_MASK BIT(13)
  3354. #define CSR_ACSMSEQTERM19_LSB 14
  3355. #define CSR_ACSMSEQTERM19_MASK BIT(14)
  3356. #define CSR_ACSMLP3CA319_LSB 15
  3357. #define CSR_ACSMLP3CA319_MASK BIT(15)
  3358. /* CSR_ACSMSEQ0X20 */
  3359. #define CSR_ACSMSEQ0X20_LSB 0
  3360. #define CSR_ACSMSEQ0X20_MASK GENMASK_32(15, 0)
  3361. #define CSR_ACSMMCLKDLY20_LSB 0
  3362. #define CSR_ACSMMCLKDLY20_MASK GENMASK_32(7, 0)
  3363. #define CSR_ACSMDDRWE20_LSB 8
  3364. #define CSR_ACSMDDRWE20_MASK BIT(8)
  3365. #define CSR_ACSMDDRCAS20_LSB 9
  3366. #define CSR_ACSMDDRCAS20_MASK BIT(9)
  3367. #define CSR_ACSMDDRRAS20_LSB 10
  3368. #define CSR_ACSMDDRRAS20_MASK BIT(10)
  3369. #define CSR_ACSMDDRCKESET20_LSB 11
  3370. #define CSR_ACSMDDRCKESET20_MASK BIT(11)
  3371. #define CSR_ACSMDDRCKECLR20_LSB 12
  3372. #define CSR_ACSMDDRCKECLR20_MASK BIT(12)
  3373. #define CSR_ACSMSEQGATECMD20_LSB 13
  3374. #define CSR_ACSMSEQGATECMD20_MASK BIT(13)
  3375. #define CSR_ACSMSEQTERM20_LSB 14
  3376. #define CSR_ACSMSEQTERM20_MASK BIT(14)
  3377. #define CSR_ACSMLP3CA320_LSB 15
  3378. #define CSR_ACSMLP3CA320_MASK BIT(15)
  3379. /* CSR_ACSMSEQ0X21 */
  3380. #define CSR_ACSMSEQ0X21_LSB 0
  3381. #define CSR_ACSMSEQ0X21_MASK GENMASK_32(15, 0)
  3382. #define CSR_ACSMMCLKDLY21_LSB 0
  3383. #define CSR_ACSMMCLKDLY21_MASK GENMASK_32(7, 0)
  3384. #define CSR_ACSMDDRWE21_LSB 8
  3385. #define CSR_ACSMDDRWE21_MASK BIT(8)
  3386. #define CSR_ACSMDDRCAS21_LSB 9
  3387. #define CSR_ACSMDDRCAS21_MASK BIT(9)
  3388. #define CSR_ACSMDDRRAS21_LSB 10
  3389. #define CSR_ACSMDDRRAS21_MASK BIT(10)
  3390. #define CSR_ACSMDDRCKESET21_LSB 11
  3391. #define CSR_ACSMDDRCKESET21_MASK BIT(11)
  3392. #define CSR_ACSMDDRCKECLR21_LSB 12
  3393. #define CSR_ACSMDDRCKECLR21_MASK BIT(12)
  3394. #define CSR_ACSMSEQGATECMD21_LSB 13
  3395. #define CSR_ACSMSEQGATECMD21_MASK BIT(13)
  3396. #define CSR_ACSMSEQTERM21_LSB 14
  3397. #define CSR_ACSMSEQTERM21_MASK BIT(14)
  3398. #define CSR_ACSMLP3CA321_LSB 15
  3399. #define CSR_ACSMLP3CA321_MASK BIT(15)
  3400. /* CSR_ACSMSEQ0X22 */
  3401. #define CSR_ACSMSEQ0X22_LSB 0
  3402. #define CSR_ACSMSEQ0X22_MASK GENMASK_32(15, 0)
  3403. #define CSR_ACSMMCLKDLY22_LSB 0
  3404. #define CSR_ACSMMCLKDLY22_MASK GENMASK_32(7, 0)
  3405. #define CSR_ACSMDDRWE22_LSB 8
  3406. #define CSR_ACSMDDRWE22_MASK BIT(8)
  3407. #define CSR_ACSMDDRCAS22_LSB 9
  3408. #define CSR_ACSMDDRCAS22_MASK BIT(9)
  3409. #define CSR_ACSMDDRRAS22_LSB 10
  3410. #define CSR_ACSMDDRRAS22_MASK BIT(10)
  3411. #define CSR_ACSMDDRCKESET22_LSB 11
  3412. #define CSR_ACSMDDRCKESET22_MASK BIT(11)
  3413. #define CSR_ACSMDDRCKECLR22_LSB 12
  3414. #define CSR_ACSMDDRCKECLR22_MASK BIT(12)
  3415. #define CSR_ACSMSEQGATECMD22_LSB 13
  3416. #define CSR_ACSMSEQGATECMD22_MASK BIT(13)
  3417. #define CSR_ACSMSEQTERM22_LSB 14
  3418. #define CSR_ACSMSEQTERM22_MASK BIT(14)
  3419. #define CSR_ACSMLP3CA322_LSB 15
  3420. #define CSR_ACSMLP3CA322_MASK BIT(15)
  3421. /* CSR_ACSMSEQ0X23 */
  3422. #define CSR_ACSMSEQ0X23_LSB 0
  3423. #define CSR_ACSMSEQ0X23_MASK GENMASK_32(15, 0)
  3424. #define CSR_ACSMMCLKDLY23_LSB 0
  3425. #define CSR_ACSMMCLKDLY23_MASK GENMASK_32(7, 0)
  3426. #define CSR_ACSMDDRWE23_LSB 8
  3427. #define CSR_ACSMDDRWE23_MASK BIT(8)
  3428. #define CSR_ACSMDDRCAS23_LSB 9
  3429. #define CSR_ACSMDDRCAS23_MASK BIT(9)
  3430. #define CSR_ACSMDDRRAS23_LSB 10
  3431. #define CSR_ACSMDDRRAS23_MASK BIT(10)
  3432. #define CSR_ACSMDDRCKESET23_LSB 11
  3433. #define CSR_ACSMDDRCKESET23_MASK BIT(11)
  3434. #define CSR_ACSMDDRCKECLR23_LSB 12
  3435. #define CSR_ACSMDDRCKECLR23_MASK BIT(12)
  3436. #define CSR_ACSMSEQGATECMD23_LSB 13
  3437. #define CSR_ACSMSEQGATECMD23_MASK BIT(13)
  3438. #define CSR_ACSMSEQTERM23_LSB 14
  3439. #define CSR_ACSMSEQTERM23_MASK BIT(14)
  3440. #define CSR_ACSMLP3CA323_LSB 15
  3441. #define CSR_ACSMLP3CA323_MASK BIT(15)
  3442. /* CSR_ACSMSEQ0X24 */
  3443. #define CSR_ACSMSEQ0X24_LSB 0
  3444. #define CSR_ACSMSEQ0X24_MASK GENMASK_32(15, 0)
  3445. #define CSR_ACSMMCLKDLY24_LSB 0
  3446. #define CSR_ACSMMCLKDLY24_MASK GENMASK_32(7, 0)
  3447. #define CSR_ACSMDDRWE24_LSB 8
  3448. #define CSR_ACSMDDRWE24_MASK BIT(8)
  3449. #define CSR_ACSMDDRCAS24_LSB 9
  3450. #define CSR_ACSMDDRCAS24_MASK BIT(9)
  3451. #define CSR_ACSMDDRRAS24_LSB 10
  3452. #define CSR_ACSMDDRRAS24_MASK BIT(10)
  3453. #define CSR_ACSMDDRCKESET24_LSB 11
  3454. #define CSR_ACSMDDRCKESET24_MASK BIT(11)
  3455. #define CSR_ACSMDDRCKECLR24_LSB 12
  3456. #define CSR_ACSMDDRCKECLR24_MASK BIT(12)
  3457. #define CSR_ACSMSEQGATECMD24_LSB 13
  3458. #define CSR_ACSMSEQGATECMD24_MASK BIT(13)
  3459. #define CSR_ACSMSEQTERM24_LSB 14
  3460. #define CSR_ACSMSEQTERM24_MASK BIT(14)
  3461. #define CSR_ACSMLP3CA324_LSB 15
  3462. #define CSR_ACSMLP3CA324_MASK BIT(15)
  3463. /* CSR_ACSMSEQ0X25 */
  3464. #define CSR_ACSMSEQ0X25_LSB 0
  3465. #define CSR_ACSMSEQ0X25_MASK GENMASK_32(15, 0)
  3466. #define CSR_ACSMMCLKDLY25_LSB 0
  3467. #define CSR_ACSMMCLKDLY25_MASK GENMASK_32(7, 0)
  3468. #define CSR_ACSMDDRWE25_LSB 8
  3469. #define CSR_ACSMDDRWE25_MASK BIT(8)
  3470. #define CSR_ACSMDDRCAS25_LSB 9
  3471. #define CSR_ACSMDDRCAS25_MASK BIT(9)
  3472. #define CSR_ACSMDDRRAS25_LSB 10
  3473. #define CSR_ACSMDDRRAS25_MASK BIT(10)
  3474. #define CSR_ACSMDDRCKESET25_LSB 11
  3475. #define CSR_ACSMDDRCKESET25_MASK BIT(11)
  3476. #define CSR_ACSMDDRCKECLR25_LSB 12
  3477. #define CSR_ACSMDDRCKECLR25_MASK BIT(12)
  3478. #define CSR_ACSMSEQGATECMD25_LSB 13
  3479. #define CSR_ACSMSEQGATECMD25_MASK BIT(13)
  3480. #define CSR_ACSMSEQTERM25_LSB 14
  3481. #define CSR_ACSMSEQTERM25_MASK BIT(14)
  3482. #define CSR_ACSMLP3CA325_LSB 15
  3483. #define CSR_ACSMLP3CA325_MASK BIT(15)
  3484. /* CSR_ACSMSEQ0X26 */
  3485. #define CSR_ACSMSEQ0X26_LSB 0
  3486. #define CSR_ACSMSEQ0X26_MASK GENMASK_32(15, 0)
  3487. #define CSR_ACSMMCLKDLY26_LSB 0
  3488. #define CSR_ACSMMCLKDLY26_MASK GENMASK_32(7, 0)
  3489. #define CSR_ACSMDDRWE26_LSB 8
  3490. #define CSR_ACSMDDRWE26_MASK BIT(8)
  3491. #define CSR_ACSMDDRCAS26_LSB 9
  3492. #define CSR_ACSMDDRCAS26_MASK BIT(9)
  3493. #define CSR_ACSMDDRRAS26_LSB 10
  3494. #define CSR_ACSMDDRRAS26_MASK BIT(10)
  3495. #define CSR_ACSMDDRCKESET26_LSB 11
  3496. #define CSR_ACSMDDRCKESET26_MASK BIT(11)
  3497. #define CSR_ACSMDDRCKECLR26_LSB 12
  3498. #define CSR_ACSMDDRCKECLR26_MASK BIT(12)
  3499. #define CSR_ACSMSEQGATECMD26_LSB 13
  3500. #define CSR_ACSMSEQGATECMD26_MASK BIT(13)
  3501. #define CSR_ACSMSEQTERM26_LSB 14
  3502. #define CSR_ACSMSEQTERM26_MASK BIT(14)
  3503. #define CSR_ACSMLP3CA326_LSB 15
  3504. #define CSR_ACSMLP3CA326_MASK BIT(15)
  3505. /* CSR_ACSMSEQ0X27 */
  3506. #define CSR_ACSMSEQ0X27_LSB 0
  3507. #define CSR_ACSMSEQ0X27_MASK GENMASK_32(15, 0)
  3508. #define CSR_ACSMMCLKDLY27_LSB 0
  3509. #define CSR_ACSMMCLKDLY27_MASK GENMASK_32(7, 0)
  3510. #define CSR_ACSMDDRWE27_LSB 8
  3511. #define CSR_ACSMDDRWE27_MASK BIT(8)
  3512. #define CSR_ACSMDDRCAS27_LSB 9
  3513. #define CSR_ACSMDDRCAS27_MASK BIT(9)
  3514. #define CSR_ACSMDDRRAS27_LSB 10
  3515. #define CSR_ACSMDDRRAS27_MASK BIT(10)
  3516. #define CSR_ACSMDDRCKESET27_LSB 11
  3517. #define CSR_ACSMDDRCKESET27_MASK BIT(11)
  3518. #define CSR_ACSMDDRCKECLR27_LSB 12
  3519. #define CSR_ACSMDDRCKECLR27_MASK BIT(12)
  3520. #define CSR_ACSMSEQGATECMD27_LSB 13
  3521. #define CSR_ACSMSEQGATECMD27_MASK BIT(13)
  3522. #define CSR_ACSMSEQTERM27_LSB 14
  3523. #define CSR_ACSMSEQTERM27_MASK BIT(14)
  3524. #define CSR_ACSMLP3CA327_LSB 15
  3525. #define CSR_ACSMLP3CA327_MASK BIT(15)
  3526. /* CSR_ACSMSEQ0X28 */
  3527. #define CSR_ACSMSEQ0X28_LSB 0
  3528. #define CSR_ACSMSEQ0X28_MASK GENMASK_32(15, 0)
  3529. #define CSR_ACSMMCLKDLY28_LSB 0
  3530. #define CSR_ACSMMCLKDLY28_MASK GENMASK_32(7, 0)
  3531. #define CSR_ACSMDDRWE28_LSB 8
  3532. #define CSR_ACSMDDRWE28_MASK BIT(8)
  3533. #define CSR_ACSMDDRCAS28_LSB 9
  3534. #define CSR_ACSMDDRCAS28_MASK BIT(9)
  3535. #define CSR_ACSMDDRRAS28_LSB 10
  3536. #define CSR_ACSMDDRRAS28_MASK BIT(10)
  3537. #define CSR_ACSMDDRCKESET28_LSB 11
  3538. #define CSR_ACSMDDRCKESET28_MASK BIT(11)
  3539. #define CSR_ACSMDDRCKECLR28_LSB 12
  3540. #define CSR_ACSMDDRCKECLR28_MASK BIT(12)
  3541. #define CSR_ACSMSEQGATECMD28_LSB 13
  3542. #define CSR_ACSMSEQGATECMD28_MASK BIT(13)
  3543. #define CSR_ACSMSEQTERM28_LSB 14
  3544. #define CSR_ACSMSEQTERM28_MASK BIT(14)
  3545. #define CSR_ACSMLP3CA328_LSB 15
  3546. #define CSR_ACSMLP3CA328_MASK BIT(15)
  3547. /* CSR_ACSMSEQ0X29 */
  3548. #define CSR_ACSMSEQ0X29_LSB 0
  3549. #define CSR_ACSMSEQ0X29_MASK GENMASK_32(15, 0)
  3550. #define CSR_ACSMMCLKDLY29_LSB 0
  3551. #define CSR_ACSMMCLKDLY29_MASK GENMASK_32(7, 0)
  3552. #define CSR_ACSMDDRWE29_LSB 8
  3553. #define CSR_ACSMDDRWE29_MASK BIT(8)
  3554. #define CSR_ACSMDDRCAS29_LSB 9
  3555. #define CSR_ACSMDDRCAS29_MASK BIT(9)
  3556. #define CSR_ACSMDDRRAS29_LSB 10
  3557. #define CSR_ACSMDDRRAS29_MASK BIT(10)
  3558. #define CSR_ACSMDDRCKESET29_LSB 11
  3559. #define CSR_ACSMDDRCKESET29_MASK BIT(11)
  3560. #define CSR_ACSMDDRCKECLR29_LSB 12
  3561. #define CSR_ACSMDDRCKECLR29_MASK BIT(12)
  3562. #define CSR_ACSMSEQGATECMD29_LSB 13
  3563. #define CSR_ACSMSEQGATECMD29_MASK BIT(13)
  3564. #define CSR_ACSMSEQTERM29_LSB 14
  3565. #define CSR_ACSMSEQTERM29_MASK BIT(14)
  3566. #define CSR_ACSMLP3CA329_LSB 15
  3567. #define CSR_ACSMLP3CA329_MASK BIT(15)
  3568. /* CSR_ACSMSEQ0X30 */
  3569. #define CSR_ACSMSEQ0X30_LSB 0
  3570. #define CSR_ACSMSEQ0X30_MASK GENMASK_32(15, 0)
  3571. #define CSR_ACSMMCLKDLY30_LSB 0
  3572. #define CSR_ACSMMCLKDLY30_MASK GENMASK_32(7, 0)
  3573. #define CSR_ACSMDDRWE30_LSB 8
  3574. #define CSR_ACSMDDRWE30_MASK BIT(8)
  3575. #define CSR_ACSMDDRCAS30_LSB 9
  3576. #define CSR_ACSMDDRCAS30_MASK BIT(9)
  3577. #define CSR_ACSMDDRRAS30_LSB 10
  3578. #define CSR_ACSMDDRRAS30_MASK BIT(10)
  3579. #define CSR_ACSMDDRCKESET30_LSB 11
  3580. #define CSR_ACSMDDRCKESET30_MASK BIT(11)
  3581. #define CSR_ACSMDDRCKECLR30_LSB 12
  3582. #define CSR_ACSMDDRCKECLR30_MASK BIT(12)
  3583. #define CSR_ACSMSEQGATECMD30_LSB 13
  3584. #define CSR_ACSMSEQGATECMD30_MASK BIT(13)
  3585. #define CSR_ACSMSEQTERM30_LSB 14
  3586. #define CSR_ACSMSEQTERM30_MASK BIT(14)
  3587. #define CSR_ACSMLP3CA330_LSB 15
  3588. #define CSR_ACSMLP3CA330_MASK BIT(15)
  3589. /* CSR_ACSMSEQ0X31 */
  3590. #define CSR_ACSMSEQ0X31_LSB 0
  3591. #define CSR_ACSMSEQ0X31_MASK GENMASK_32(15, 0)
  3592. #define CSR_ACSMMCLKDLY31_LSB 0
  3593. #define CSR_ACSMMCLKDLY31_MASK GENMASK_32(7, 0)
  3594. #define CSR_ACSMDDRWE31_LSB 8
  3595. #define CSR_ACSMDDRWE31_MASK BIT(8)
  3596. #define CSR_ACSMDDRCAS31_LSB 9
  3597. #define CSR_ACSMDDRCAS31_MASK BIT(9)
  3598. #define CSR_ACSMDDRRAS31_LSB 10
  3599. #define CSR_ACSMDDRRAS31_MASK BIT(10)
  3600. #define CSR_ACSMDDRCKESET31_LSB 11
  3601. #define CSR_ACSMDDRCKESET31_MASK BIT(11)
  3602. #define CSR_ACSMDDRCKECLR31_LSB 12
  3603. #define CSR_ACSMDDRCKECLR31_MASK BIT(12)
  3604. #define CSR_ACSMSEQGATECMD31_LSB 13
  3605. #define CSR_ACSMSEQGATECMD31_MASK BIT(13)
  3606. #define CSR_ACSMSEQTERM31_LSB 14
  3607. #define CSR_ACSMSEQTERM31_MASK BIT(14)
  3608. #define CSR_ACSMLP3CA331_LSB 15
  3609. #define CSR_ACSMLP3CA331_MASK BIT(15)
  3610. /* CSR_ACSMSEQ1X0 */
  3611. #define CSR_ACSMSEQ1X0_LSB 0
  3612. #define CSR_ACSMSEQ1X0_MASK GENMASK_32(15, 0)
  3613. #define CSR_ACSMDDRCS0_LSB 0
  3614. #define CSR_ACSMDDRCS0_MASK GENMASK_32(7, 0)
  3615. #define CSR_ACSMSAVEGEN0_LSB 8
  3616. #define CSR_ACSMSAVEGEN0_MASK BIT(8)
  3617. #define CSR_ACSMLOADCHK0_LSB 9
  3618. #define CSR_ACSMLOADCHK0_MASK BIT(9)
  3619. #define CSR_ACSMNORXENB0_LSB 10
  3620. #define CSR_ACSMNORXENB0_MASK BIT(10)
  3621. #define CSR_ACSMNORXVAL0_LSB 11
  3622. #define CSR_ACSMNORXVAL0_MASK BIT(11)
  3623. #define CSR_ACSMDDRBNK0_LSB 12
  3624. #define CSR_ACSMDDRBNK0_MASK GENMASK_32(15, 12)
  3625. /* CSR_ACSMSEQ1X1 */
  3626. #define CSR_ACSMSEQ1X1_LSB 0
  3627. #define CSR_ACSMSEQ1X1_MASK GENMASK_32(15, 0)
  3628. #define CSR_ACSMDDRCS1_LSB 0
  3629. #define CSR_ACSMDDRCS1_MASK GENMASK_32(7, 0)
  3630. #define CSR_ACSMSAVEGEN1_LSB 8
  3631. #define CSR_ACSMSAVEGEN1_MASK BIT(8)
  3632. #define CSR_ACSMLOADCHK1_LSB 9
  3633. #define CSR_ACSMLOADCHK1_MASK BIT(9)
  3634. #define CSR_ACSMNORXENB1_LSB 10
  3635. #define CSR_ACSMNORXENB1_MASK BIT(10)
  3636. #define CSR_ACSMNORXVAL1_LSB 11
  3637. #define CSR_ACSMNORXVAL1_MASK BIT(11)
  3638. #define CSR_ACSMDDRBNK1_LSB 12
  3639. #define CSR_ACSMDDRBNK1_MASK GENMASK_32(15, 12)
  3640. /* CSR_ACSMSEQ1X2 */
  3641. #define CSR_ACSMSEQ1X2_LSB 0
  3642. #define CSR_ACSMSEQ1X2_MASK GENMASK_32(15, 0)
  3643. #define CSR_ACSMDDRCS2_LSB 0
  3644. #define CSR_ACSMDDRCS2_MASK GENMASK_32(7, 0)
  3645. #define CSR_ACSMSAVEGEN2_LSB 8
  3646. #define CSR_ACSMSAVEGEN2_MASK BIT(8)
  3647. #define CSR_ACSMLOADCHK2_LSB 9
  3648. #define CSR_ACSMLOADCHK2_MASK BIT(9)
  3649. #define CSR_ACSMNORXENB2_LSB 10
  3650. #define CSR_ACSMNORXENB2_MASK BIT(10)
  3651. #define CSR_ACSMNORXVAL2_LSB 11
  3652. #define CSR_ACSMNORXVAL2_MASK BIT(11)
  3653. #define CSR_ACSMDDRBNK2_LSB 12
  3654. #define CSR_ACSMDDRBNK2_MASK GENMASK_32(15, 12)
  3655. /* CSR_ACSMSEQ1X3 */
  3656. #define CSR_ACSMSEQ1X3_LSB 0
  3657. #define CSR_ACSMSEQ1X3_MASK GENMASK_32(15, 0)
  3658. #define CSR_ACSMDDRCS3_LSB 0
  3659. #define CSR_ACSMDDRCS3_MASK GENMASK_32(7, 0)
  3660. #define CSR_ACSMSAVEGEN3_LSB 8
  3661. #define CSR_ACSMSAVEGEN3_MASK BIT(8)
  3662. #define CSR_ACSMLOADCHK3_LSB 9
  3663. #define CSR_ACSMLOADCHK3_MASK BIT(9)
  3664. #define CSR_ACSMNORXENB3_LSB 10
  3665. #define CSR_ACSMNORXENB3_MASK BIT(10)
  3666. #define CSR_ACSMNORXVAL3_LSB 11
  3667. #define CSR_ACSMNORXVAL3_MASK BIT(11)
  3668. #define CSR_ACSMDDRBNK3_LSB 12
  3669. #define CSR_ACSMDDRBNK3_MASK GENMASK_32(15, 12)
  3670. /* CSR_ACSMSEQ1X4 */
  3671. #define CSR_ACSMSEQ1X4_LSB 0
  3672. #define CSR_ACSMSEQ1X4_MASK GENMASK_32(15, 0)
  3673. #define CSR_ACSMDDRCS4_LSB 0
  3674. #define CSR_ACSMDDRCS4_MASK GENMASK_32(7, 0)
  3675. #define CSR_ACSMSAVEGEN4_LSB 8
  3676. #define CSR_ACSMSAVEGEN4_MASK BIT(8)
  3677. #define CSR_ACSMLOADCHK4_LSB 9
  3678. #define CSR_ACSMLOADCHK4_MASK BIT(9)
  3679. #define CSR_ACSMNORXENB4_LSB 10
  3680. #define CSR_ACSMNORXENB4_MASK BIT(10)
  3681. #define CSR_ACSMNORXVAL4_LSB 11
  3682. #define CSR_ACSMNORXVAL4_MASK BIT(11)
  3683. #define CSR_ACSMDDRBNK4_LSB 12
  3684. #define CSR_ACSMDDRBNK4_MASK GENMASK_32(15, 12)
  3685. /* CSR_ACSMSEQ1X5 */
  3686. #define CSR_ACSMSEQ1X5_LSB 0
  3687. #define CSR_ACSMSEQ1X5_MASK GENMASK_32(15, 0)
  3688. #define CSR_ACSMDDRCS5_LSB 0
  3689. #define CSR_ACSMDDRCS5_MASK GENMASK_32(7, 0)
  3690. #define CSR_ACSMSAVEGEN5_LSB 8
  3691. #define CSR_ACSMSAVEGEN5_MASK BIT(8)
  3692. #define CSR_ACSMLOADCHK5_LSB 9
  3693. #define CSR_ACSMLOADCHK5_MASK BIT(9)
  3694. #define CSR_ACSMNORXENB5_LSB 10
  3695. #define CSR_ACSMNORXENB5_MASK BIT(10)
  3696. #define CSR_ACSMNORXVAL5_LSB 11
  3697. #define CSR_ACSMNORXVAL5_MASK BIT(11)
  3698. #define CSR_ACSMDDRBNK5_LSB 12
  3699. #define CSR_ACSMDDRBNK5_MASK GENMASK_32(15, 12)
  3700. /* CSR_ACSMSEQ1X6 */
  3701. #define CSR_ACSMSEQ1X6_LSB 0
  3702. #define CSR_ACSMSEQ1X6_MASK GENMASK_32(15, 0)
  3703. #define CSR_ACSMDDRCS6_LSB 0
  3704. #define CSR_ACSMDDRCS6_MASK GENMASK_32(7, 0)
  3705. #define CSR_ACSMSAVEGEN6_LSB 8
  3706. #define CSR_ACSMSAVEGEN6_MASK BIT(8)
  3707. #define CSR_ACSMLOADCHK6_LSB 9
  3708. #define CSR_ACSMLOADCHK6_MASK BIT(9)
  3709. #define CSR_ACSMNORXENB6_LSB 10
  3710. #define CSR_ACSMNORXENB6_MASK BIT(10)
  3711. #define CSR_ACSMNORXVAL6_LSB 11
  3712. #define CSR_ACSMNORXVAL6_MASK BIT(11)
  3713. #define CSR_ACSMDDRBNK6_LSB 12
  3714. #define CSR_ACSMDDRBNK6_MASK GENMASK_32(15, 12)
  3715. /* CSR_ACSMSEQ1X7 */
  3716. #define CSR_ACSMSEQ1X7_LSB 0
  3717. #define CSR_ACSMSEQ1X7_MASK GENMASK_32(15, 0)
  3718. #define CSR_ACSMDDRCS7_LSB 0
  3719. #define CSR_ACSMDDRCS7_MASK GENMASK_32(7, 0)
  3720. #define CSR_ACSMSAVEGEN7_LSB 8
  3721. #define CSR_ACSMSAVEGEN7_MASK BIT(8)
  3722. #define CSR_ACSMLOADCHK7_LSB 9
  3723. #define CSR_ACSMLOADCHK7_MASK BIT(9)
  3724. #define CSR_ACSMNORXENB7_LSB 10
  3725. #define CSR_ACSMNORXENB7_MASK BIT(10)
  3726. #define CSR_ACSMNORXVAL7_LSB 11
  3727. #define CSR_ACSMNORXVAL7_MASK BIT(11)
  3728. #define CSR_ACSMDDRBNK7_LSB 12
  3729. #define CSR_ACSMDDRBNK7_MASK GENMASK_32(15, 12)
  3730. /* CSR_ACSMSEQ1X8 */
  3731. #define CSR_ACSMSEQ1X8_LSB 0
  3732. #define CSR_ACSMSEQ1X8_MASK GENMASK_32(15, 0)
  3733. #define CSR_ACSMDDRCS8_LSB 0
  3734. #define CSR_ACSMDDRCS8_MASK GENMASK_32(7, 0)
  3735. #define CSR_ACSMSAVEGEN8_LSB 8
  3736. #define CSR_ACSMSAVEGEN8_MASK BIT(8)
  3737. #define CSR_ACSMLOADCHK8_LSB 9
  3738. #define CSR_ACSMLOADCHK8_MASK BIT(9)
  3739. #define CSR_ACSMNORXENB8_LSB 10
  3740. #define CSR_ACSMNORXENB8_MASK BIT(10)
  3741. #define CSR_ACSMNORXVAL8_LSB 11
  3742. #define CSR_ACSMNORXVAL8_MASK BIT(11)
  3743. #define CSR_ACSMDDRBNK8_LSB 12
  3744. #define CSR_ACSMDDRBNK8_MASK GENMASK_32(15, 12)
  3745. /* CSR_ACSMSEQ1X9 */
  3746. #define CSR_ACSMSEQ1X9_LSB 0
  3747. #define CSR_ACSMSEQ1X9_MASK GENMASK_32(15, 0)
  3748. #define CSR_ACSMDDRCS9_LSB 0
  3749. #define CSR_ACSMDDRCS9_MASK GENMASK_32(7, 0)
  3750. #define CSR_ACSMSAVEGEN9_LSB 8
  3751. #define CSR_ACSMSAVEGEN9_MASK BIT(8)
  3752. #define CSR_ACSMLOADCHK9_LSB 9
  3753. #define CSR_ACSMLOADCHK9_MASK BIT(9)
  3754. #define CSR_ACSMNORXENB9_LSB 10
  3755. #define CSR_ACSMNORXENB9_MASK BIT(10)
  3756. #define CSR_ACSMNORXVAL9_LSB 11
  3757. #define CSR_ACSMNORXVAL9_MASK BIT(11)
  3758. #define CSR_ACSMDDRBNK9_LSB 12
  3759. #define CSR_ACSMDDRBNK9_MASK GENMASK_32(15, 12)
  3760. /* CSR_ACSMSEQ1X10 */
  3761. #define CSR_ACSMSEQ1X10_LSB 0
  3762. #define CSR_ACSMSEQ1X10_MASK GENMASK_32(15, 0)
  3763. #define CSR_ACSMDDRCS10_LSB 0
  3764. #define CSR_ACSMDDRCS10_MASK GENMASK_32(7, 0)
  3765. #define CSR_ACSMSAVEGEN10_LSB 8
  3766. #define CSR_ACSMSAVEGEN10_MASK BIT(8)
  3767. #define CSR_ACSMLOADCHK10_LSB 9
  3768. #define CSR_ACSMLOADCHK10_MASK BIT(9)
  3769. #define CSR_ACSMNORXENB10_LSB 10
  3770. #define CSR_ACSMNORXENB10_MASK BIT(10)
  3771. #define CSR_ACSMNORXVAL10_LSB 11
  3772. #define CSR_ACSMNORXVAL10_MASK BIT(11)
  3773. #define CSR_ACSMDDRBNK10_LSB 12
  3774. #define CSR_ACSMDDRBNK10_MASK GENMASK_32(15, 12)
  3775. /* CSR_ACSMSEQ1X11 */
  3776. #define CSR_ACSMSEQ1X11_LSB 0
  3777. #define CSR_ACSMSEQ1X11_MASK GENMASK_32(15, 0)
  3778. #define CSR_ACSMDDRCS11_LSB 0
  3779. #define CSR_ACSMDDRCS11_MASK GENMASK_32(7, 0)
  3780. #define CSR_ACSMSAVEGEN11_LSB 8
  3781. #define CSR_ACSMSAVEGEN11_MASK BIT(8)
  3782. #define CSR_ACSMLOADCHK11_LSB 9
  3783. #define CSR_ACSMLOADCHK11_MASK BIT(9)
  3784. #define CSR_ACSMNORXENB11_LSB 10
  3785. #define CSR_ACSMNORXENB11_MASK BIT(10)
  3786. #define CSR_ACSMNORXVAL11_LSB 11
  3787. #define CSR_ACSMNORXVAL11_MASK BIT(11)
  3788. #define CSR_ACSMDDRBNK11_LSB 12
  3789. #define CSR_ACSMDDRBNK11_MASK GENMASK_32(15, 12)
  3790. /* CSR_ACSMSEQ1X12 */
  3791. #define CSR_ACSMSEQ1X12_LSB 0
  3792. #define CSR_ACSMSEQ1X12_MASK GENMASK_32(15, 0)
  3793. #define CSR_ACSMDDRCS12_LSB 0
  3794. #define CSR_ACSMDDRCS12_MASK GENMASK_32(7, 0)
  3795. #define CSR_ACSMSAVEGEN12_LSB 8
  3796. #define CSR_ACSMSAVEGEN12_MASK BIT(8)
  3797. #define CSR_ACSMLOADCHK12_LSB 9
  3798. #define CSR_ACSMLOADCHK12_MASK BIT(9)
  3799. #define CSR_ACSMNORXENB12_LSB 10
  3800. #define CSR_ACSMNORXENB12_MASK BIT(10)
  3801. #define CSR_ACSMNORXVAL12_LSB 11
  3802. #define CSR_ACSMNORXVAL12_MASK BIT(11)
  3803. #define CSR_ACSMDDRBNK12_LSB 12
  3804. #define CSR_ACSMDDRBNK12_MASK GENMASK_32(15, 12)
  3805. /* CSR_ACSMSEQ1X13 */
  3806. #define CSR_ACSMSEQ1X13_LSB 0
  3807. #define CSR_ACSMSEQ1X13_MASK GENMASK_32(15, 0)
  3808. #define CSR_ACSMDDRCS13_LSB 0
  3809. #define CSR_ACSMDDRCS13_MASK GENMASK_32(7, 0)
  3810. #define CSR_ACSMSAVEGEN13_LSB 8
  3811. #define CSR_ACSMSAVEGEN13_MASK BIT(8)
  3812. #define CSR_ACSMLOADCHK13_LSB 9
  3813. #define CSR_ACSMLOADCHK13_MASK BIT(9)
  3814. #define CSR_ACSMNORXENB13_LSB 10
  3815. #define CSR_ACSMNORXENB13_MASK BIT(10)
  3816. #define CSR_ACSMNORXVAL13_LSB 11
  3817. #define CSR_ACSMNORXVAL13_MASK BIT(11)
  3818. #define CSR_ACSMDDRBNK13_LSB 12
  3819. #define CSR_ACSMDDRBNK13_MASK GENMASK_32(15, 12)
  3820. /* CSR_ACSMSEQ1X14 */
  3821. #define CSR_ACSMSEQ1X14_LSB 0
  3822. #define CSR_ACSMSEQ1X14_MASK GENMASK_32(15, 0)
  3823. #define CSR_ACSMDDRCS14_LSB 0
  3824. #define CSR_ACSMDDRCS14_MASK GENMASK_32(7, 0)
  3825. #define CSR_ACSMSAVEGEN14_LSB 8
  3826. #define CSR_ACSMSAVEGEN14_MASK BIT(8)
  3827. #define CSR_ACSMLOADCHK14_LSB 9
  3828. #define CSR_ACSMLOADCHK14_MASK BIT(9)
  3829. #define CSR_ACSMNORXENB14_LSB 10
  3830. #define CSR_ACSMNORXENB14_MASK BIT(10)
  3831. #define CSR_ACSMNORXVAL14_LSB 11
  3832. #define CSR_ACSMNORXVAL14_MASK BIT(11)
  3833. #define CSR_ACSMDDRBNK14_LSB 12
  3834. #define CSR_ACSMDDRBNK14_MASK GENMASK_32(15, 12)
  3835. /* CSR_ACSMSEQ1X15 */
  3836. #define CSR_ACSMSEQ1X15_LSB 0
  3837. #define CSR_ACSMSEQ1X15_MASK GENMASK_32(15, 0)
  3838. #define CSR_ACSMDDRCS15_LSB 0
  3839. #define CSR_ACSMDDRCS15_MASK GENMASK_32(7, 0)
  3840. #define CSR_ACSMSAVEGEN15_LSB 8
  3841. #define CSR_ACSMSAVEGEN15_MASK BIT(8)
  3842. #define CSR_ACSMLOADCHK15_LSB 9
  3843. #define CSR_ACSMLOADCHK15_MASK BIT(9)
  3844. #define CSR_ACSMNORXENB15_LSB 10
  3845. #define CSR_ACSMNORXENB15_MASK BIT(10)
  3846. #define CSR_ACSMNORXVAL15_LSB 11
  3847. #define CSR_ACSMNORXVAL15_MASK BIT(11)
  3848. #define CSR_ACSMDDRBNK15_LSB 12
  3849. #define CSR_ACSMDDRBNK15_MASK GENMASK_32(15, 12)
  3850. /* CSR_ACSMSEQ1X16 */
  3851. #define CSR_ACSMSEQ1X16_LSB 0
  3852. #define CSR_ACSMSEQ1X16_MASK GENMASK_32(15, 0)
  3853. #define CSR_ACSMDDRCS16_LSB 0
  3854. #define CSR_ACSMDDRCS16_MASK GENMASK_32(7, 0)
  3855. #define CSR_ACSMSAVEGEN16_LSB 8
  3856. #define CSR_ACSMSAVEGEN16_MASK BIT(8)
  3857. #define CSR_ACSMLOADCHK16_LSB 9
  3858. #define CSR_ACSMLOADCHK16_MASK BIT(9)
  3859. #define CSR_ACSMNORXENB16_LSB 10
  3860. #define CSR_ACSMNORXENB16_MASK BIT(10)
  3861. #define CSR_ACSMNORXVAL16_LSB 11
  3862. #define CSR_ACSMNORXVAL16_MASK BIT(11)
  3863. #define CSR_ACSMDDRBNK16_LSB 12
  3864. #define CSR_ACSMDDRBNK16_MASK GENMASK_32(15, 12)
  3865. /* CSR_ACSMSEQ1X17 */
  3866. #define CSR_ACSMSEQ1X17_LSB 0
  3867. #define CSR_ACSMSEQ1X17_MASK GENMASK_32(15, 0)
  3868. #define CSR_ACSMDDRCS17_LSB 0
  3869. #define CSR_ACSMDDRCS17_MASK GENMASK_32(7, 0)
  3870. #define CSR_ACSMSAVEGEN17_LSB 8
  3871. #define CSR_ACSMSAVEGEN17_MASK BIT(8)
  3872. #define CSR_ACSMLOADCHK17_LSB 9
  3873. #define CSR_ACSMLOADCHK17_MASK BIT(9)
  3874. #define CSR_ACSMNORXENB17_LSB 10
  3875. #define CSR_ACSMNORXENB17_MASK BIT(10)
  3876. #define CSR_ACSMNORXVAL17_LSB 11
  3877. #define CSR_ACSMNORXVAL17_MASK BIT(11)
  3878. #define CSR_ACSMDDRBNK17_LSB 12
  3879. #define CSR_ACSMDDRBNK17_MASK GENMASK_32(15, 12)
  3880. /* CSR_ACSMSEQ1X18 */
  3881. #define CSR_ACSMSEQ1X18_LSB 0
  3882. #define CSR_ACSMSEQ1X18_MASK GENMASK_32(15, 0)
  3883. #define CSR_ACSMDDRCS18_LSB 0
  3884. #define CSR_ACSMDDRCS18_MASK GENMASK_32(7, 0)
  3885. #define CSR_ACSMSAVEGEN18_LSB 8
  3886. #define CSR_ACSMSAVEGEN18_MASK BIT(8)
  3887. #define CSR_ACSMLOADCHK18_LSB 9
  3888. #define CSR_ACSMLOADCHK18_MASK BIT(9)
  3889. #define CSR_ACSMNORXENB18_LSB 10
  3890. #define CSR_ACSMNORXENB18_MASK BIT(10)
  3891. #define CSR_ACSMNORXVAL18_LSB 11
  3892. #define CSR_ACSMNORXVAL18_MASK BIT(11)
  3893. #define CSR_ACSMDDRBNK18_LSB 12
  3894. #define CSR_ACSMDDRBNK18_MASK GENMASK_32(15, 12)
  3895. /* CSR_ACSMSEQ1X19 */
  3896. #define CSR_ACSMSEQ1X19_LSB 0
  3897. #define CSR_ACSMSEQ1X19_MASK GENMASK_32(15, 0)
  3898. #define CSR_ACSMDDRCS19_LSB 0
  3899. #define CSR_ACSMDDRCS19_MASK GENMASK_32(7, 0)
  3900. #define CSR_ACSMSAVEGEN19_LSB 8
  3901. #define CSR_ACSMSAVEGEN19_MASK BIT(8)
  3902. #define CSR_ACSMLOADCHK19_LSB 9
  3903. #define CSR_ACSMLOADCHK19_MASK BIT(9)
  3904. #define CSR_ACSMNORXENB19_LSB 10
  3905. #define CSR_ACSMNORXENB19_MASK BIT(10)
  3906. #define CSR_ACSMNORXVAL19_LSB 11
  3907. #define CSR_ACSMNORXVAL19_MASK BIT(11)
  3908. #define CSR_ACSMDDRBNK19_LSB 12
  3909. #define CSR_ACSMDDRBNK19_MASK GENMASK_32(15, 12)
  3910. /* CSR_ACSMSEQ1X20 */
  3911. #define CSR_ACSMSEQ1X20_LSB 0
  3912. #define CSR_ACSMSEQ1X20_MASK GENMASK_32(15, 0)
  3913. #define CSR_ACSMDDRCS20_LSB 0
  3914. #define CSR_ACSMDDRCS20_MASK GENMASK_32(7, 0)
  3915. #define CSR_ACSMSAVEGEN20_LSB 8
  3916. #define CSR_ACSMSAVEGEN20_MASK BIT(8)
  3917. #define CSR_ACSMLOADCHK20_LSB 9
  3918. #define CSR_ACSMLOADCHK20_MASK BIT(9)
  3919. #define CSR_ACSMNORXENB20_LSB 10
  3920. #define CSR_ACSMNORXENB20_MASK BIT(10)
  3921. #define CSR_ACSMNORXVAL20_LSB 11
  3922. #define CSR_ACSMNORXVAL20_MASK BIT(11)
  3923. #define CSR_ACSMDDRBNK20_LSB 12
  3924. #define CSR_ACSMDDRBNK20_MASK GENMASK_32(15, 12)
  3925. /* CSR_ACSMSEQ1X21 */
  3926. #define CSR_ACSMSEQ1X21_LSB 0
  3927. #define CSR_ACSMSEQ1X21_MASK GENMASK_32(15, 0)
  3928. #define CSR_ACSMDDRCS21_LSB 0
  3929. #define CSR_ACSMDDRCS21_MASK GENMASK_32(7, 0)
  3930. #define CSR_ACSMSAVEGEN21_LSB 8
  3931. #define CSR_ACSMSAVEGEN21_MASK BIT(8)
  3932. #define CSR_ACSMLOADCHK21_LSB 9
  3933. #define CSR_ACSMLOADCHK21_MASK BIT(9)
  3934. #define CSR_ACSMNORXENB21_LSB 10
  3935. #define CSR_ACSMNORXENB21_MASK BIT(10)
  3936. #define CSR_ACSMNORXVAL21_LSB 11
  3937. #define CSR_ACSMNORXVAL21_MASK BIT(11)
  3938. #define CSR_ACSMDDRBNK21_LSB 12
  3939. #define CSR_ACSMDDRBNK21_MASK GENMASK_32(15, 12)
  3940. /* CSR_ACSMSEQ1X22 */
  3941. #define CSR_ACSMSEQ1X22_LSB 0
  3942. #define CSR_ACSMSEQ1X22_MASK GENMASK_32(15, 0)
  3943. #define CSR_ACSMDDRCS22_LSB 0
  3944. #define CSR_ACSMDDRCS22_MASK GENMASK_32(7, 0)
  3945. #define CSR_ACSMSAVEGEN22_LSB 8
  3946. #define CSR_ACSMSAVEGEN22_MASK BIT(8)
  3947. #define CSR_ACSMLOADCHK22_LSB 9
  3948. #define CSR_ACSMLOADCHK22_MASK BIT(9)
  3949. #define CSR_ACSMNORXENB22_LSB 10
  3950. #define CSR_ACSMNORXENB22_MASK BIT(10)
  3951. #define CSR_ACSMNORXVAL22_LSB 11
  3952. #define CSR_ACSMNORXVAL22_MASK BIT(11)
  3953. #define CSR_ACSMDDRBNK22_LSB 12
  3954. #define CSR_ACSMDDRBNK22_MASK GENMASK_32(15, 12)
  3955. /* CSR_ACSMSEQ1X23 */
  3956. #define CSR_ACSMSEQ1X23_LSB 0
  3957. #define CSR_ACSMSEQ1X23_MASK GENMASK_32(15, 0)
  3958. #define CSR_ACSMDDRCS23_LSB 0
  3959. #define CSR_ACSMDDRCS23_MASK GENMASK_32(7, 0)
  3960. #define CSR_ACSMSAVEGEN23_LSB 8
  3961. #define CSR_ACSMSAVEGEN23_MASK BIT(8)
  3962. #define CSR_ACSMLOADCHK23_LSB 9
  3963. #define CSR_ACSMLOADCHK23_MASK BIT(9)
  3964. #define CSR_ACSMNORXENB23_LSB 10
  3965. #define CSR_ACSMNORXENB23_MASK BIT(10)
  3966. #define CSR_ACSMNORXVAL23_LSB 11
  3967. #define CSR_ACSMNORXVAL23_MASK BIT(11)
  3968. #define CSR_ACSMDDRBNK23_LSB 12
  3969. #define CSR_ACSMDDRBNK23_MASK GENMASK_32(15, 12)
  3970. /* CSR_ACSMSEQ1X24 */
  3971. #define CSR_ACSMSEQ1X24_LSB 0
  3972. #define CSR_ACSMSEQ1X24_MASK GENMASK_32(15, 0)
  3973. #define CSR_ACSMDDRCS24_LSB 0
  3974. #define CSR_ACSMDDRCS24_MASK GENMASK_32(7, 0)
  3975. #define CSR_ACSMSAVEGEN24_LSB 8
  3976. #define CSR_ACSMSAVEGEN24_MASK BIT(8)
  3977. #define CSR_ACSMLOADCHK24_LSB 9
  3978. #define CSR_ACSMLOADCHK24_MASK BIT(9)
  3979. #define CSR_ACSMNORXENB24_LSB 10
  3980. #define CSR_ACSMNORXENB24_MASK BIT(10)
  3981. #define CSR_ACSMNORXVAL24_LSB 11
  3982. #define CSR_ACSMNORXVAL24_MASK BIT(11)
  3983. #define CSR_ACSMDDRBNK24_LSB 12
  3984. #define CSR_ACSMDDRBNK24_MASK GENMASK_32(15, 12)
  3985. /* CSR_ACSMSEQ1X25 */
  3986. #define CSR_ACSMSEQ1X25_LSB 0
  3987. #define CSR_ACSMSEQ1X25_MASK GENMASK_32(15, 0)
  3988. #define CSR_ACSMDDRCS25_LSB 0
  3989. #define CSR_ACSMDDRCS25_MASK GENMASK_32(7, 0)
  3990. #define CSR_ACSMSAVEGEN25_LSB 8
  3991. #define CSR_ACSMSAVEGEN25_MASK BIT(8)
  3992. #define CSR_ACSMLOADCHK25_LSB 9
  3993. #define CSR_ACSMLOADCHK25_MASK BIT(9)
  3994. #define CSR_ACSMNORXENB25_LSB 10
  3995. #define CSR_ACSMNORXENB25_MASK BIT(10)
  3996. #define CSR_ACSMNORXVAL25_LSB 11
  3997. #define CSR_ACSMNORXVAL25_MASK BIT(11)
  3998. #define CSR_ACSMDDRBNK25_LSB 12
  3999. #define CSR_ACSMDDRBNK25_MASK GENMASK_32(15, 12)
  4000. /* CSR_ACSMSEQ1X26 */
  4001. #define CSR_ACSMSEQ1X26_LSB 0
  4002. #define CSR_ACSMSEQ1X26_MASK GENMASK_32(15, 0)
  4003. #define CSR_ACSMDDRCS26_LSB 0
  4004. #define CSR_ACSMDDRCS26_MASK GENMASK_32(7, 0)
  4005. #define CSR_ACSMSAVEGEN26_LSB 8
  4006. #define CSR_ACSMSAVEGEN26_MASK BIT(8)
  4007. #define CSR_ACSMLOADCHK26_LSB 9
  4008. #define CSR_ACSMLOADCHK26_MASK BIT(9)
  4009. #define CSR_ACSMNORXENB26_LSB 10
  4010. #define CSR_ACSMNORXENB26_MASK BIT(10)
  4011. #define CSR_ACSMNORXVAL26_LSB 11
  4012. #define CSR_ACSMNORXVAL26_MASK BIT(11)
  4013. #define CSR_ACSMDDRBNK26_LSB 12
  4014. #define CSR_ACSMDDRBNK26_MASK GENMASK_32(15, 12)
  4015. /* CSR_ACSMSEQ1X27 */
  4016. #define CSR_ACSMSEQ1X27_LSB 0
  4017. #define CSR_ACSMSEQ1X27_MASK GENMASK_32(15, 0)
  4018. #define CSR_ACSMDDRCS27_LSB 0
  4019. #define CSR_ACSMDDRCS27_MASK GENMASK_32(7, 0)
  4020. #define CSR_ACSMSAVEGEN27_LSB 8
  4021. #define CSR_ACSMSAVEGEN27_MASK BIT(8)
  4022. #define CSR_ACSMLOADCHK27_LSB 9
  4023. #define CSR_ACSMLOADCHK27_MASK BIT(9)
  4024. #define CSR_ACSMNORXENB27_LSB 10
  4025. #define CSR_ACSMNORXENB27_MASK BIT(10)
  4026. #define CSR_ACSMNORXVAL27_LSB 11
  4027. #define CSR_ACSMNORXVAL27_MASK BIT(11)
  4028. #define CSR_ACSMDDRBNK27_LSB 12
  4029. #define CSR_ACSMDDRBNK27_MASK GENMASK_32(15, 12)
  4030. /* CSR_ACSMSEQ1X28 */
  4031. #define CSR_ACSMSEQ1X28_LSB 0
  4032. #define CSR_ACSMSEQ1X28_MASK GENMASK_32(15, 0)
  4033. #define CSR_ACSMDDRCS28_LSB 0
  4034. #define CSR_ACSMDDRCS28_MASK GENMASK_32(7, 0)
  4035. #define CSR_ACSMSAVEGEN28_LSB 8
  4036. #define CSR_ACSMSAVEGEN28_MASK BIT(8)
  4037. #define CSR_ACSMLOADCHK28_LSB 9
  4038. #define CSR_ACSMLOADCHK28_MASK BIT(9)
  4039. #define CSR_ACSMNORXENB28_LSB 10
  4040. #define CSR_ACSMNORXENB28_MASK BIT(10)
  4041. #define CSR_ACSMNORXVAL28_LSB 11
  4042. #define CSR_ACSMNORXVAL28_MASK BIT(11)
  4043. #define CSR_ACSMDDRBNK28_LSB 12
  4044. #define CSR_ACSMDDRBNK28_MASK GENMASK_32(15, 12)
  4045. /* CSR_ACSMSEQ1X29 */
  4046. #define CSR_ACSMSEQ1X29_LSB 0
  4047. #define CSR_ACSMSEQ1X29_MASK GENMASK_32(15, 0)
  4048. #define CSR_ACSMDDRCS29_LSB 0
  4049. #define CSR_ACSMDDRCS29_MASK GENMASK_32(7, 0)
  4050. #define CSR_ACSMSAVEGEN29_LSB 8
  4051. #define CSR_ACSMSAVEGEN29_MASK BIT(8)
  4052. #define CSR_ACSMLOADCHK29_LSB 9
  4053. #define CSR_ACSMLOADCHK29_MASK BIT(9)
  4054. #define CSR_ACSMNORXENB29_LSB 10
  4055. #define CSR_ACSMNORXENB29_MASK BIT(10)
  4056. #define CSR_ACSMNORXVAL29_LSB 11
  4057. #define CSR_ACSMNORXVAL29_MASK BIT(11)
  4058. #define CSR_ACSMDDRBNK29_LSB 12
  4059. #define CSR_ACSMDDRBNK29_MASK GENMASK_32(15, 12)
  4060. /* CSR_ACSMSEQ1X30 */
  4061. #define CSR_ACSMSEQ1X30_LSB 0
  4062. #define CSR_ACSMSEQ1X30_MASK GENMASK_32(15, 0)
  4063. #define CSR_ACSMDDRCS30_LSB 0
  4064. #define CSR_ACSMDDRCS30_MASK GENMASK_32(7, 0)
  4065. #define CSR_ACSMSAVEGEN30_LSB 8
  4066. #define CSR_ACSMSAVEGEN30_MASK BIT(8)
  4067. #define CSR_ACSMLOADCHK30_LSB 9
  4068. #define CSR_ACSMLOADCHK30_MASK BIT(9)
  4069. #define CSR_ACSMNORXENB30_LSB 10
  4070. #define CSR_ACSMNORXENB30_MASK BIT(10)
  4071. #define CSR_ACSMNORXVAL30_LSB 11
  4072. #define CSR_ACSMNORXVAL30_MASK BIT(11)
  4073. #define CSR_ACSMDDRBNK30_LSB 12
  4074. #define CSR_ACSMDDRBNK30_MASK GENMASK_32(15, 12)
  4075. /* CSR_ACSMSEQ1X31 */
  4076. #define CSR_ACSMSEQ1X31_LSB 0
  4077. #define CSR_ACSMSEQ1X31_MASK GENMASK_32(15, 0)
  4078. #define CSR_ACSMDDRCS31_LSB 0
  4079. #define CSR_ACSMDDRCS31_MASK GENMASK_32(7, 0)
  4080. #define CSR_ACSMSAVEGEN31_LSB 8
  4081. #define CSR_ACSMSAVEGEN31_MASK BIT(8)
  4082. #define CSR_ACSMLOADCHK31_LSB 9
  4083. #define CSR_ACSMLOADCHK31_MASK BIT(9)
  4084. #define CSR_ACSMNORXENB31_LSB 10
  4085. #define CSR_ACSMNORXENB31_MASK BIT(10)
  4086. #define CSR_ACSMNORXVAL31_LSB 11
  4087. #define CSR_ACSMNORXVAL31_MASK BIT(11)
  4088. #define CSR_ACSMDDRBNK31_LSB 12
  4089. #define CSR_ACSMDDRBNK31_MASK GENMASK_32(15, 12)
  4090. /* CSR_ACSMSEQ2X0 */
  4091. #define CSR_ACSMSEQ2X0_LSB 0
  4092. #define CSR_ACSMSEQ2X0_MASK GENMASK_32(15, 0)
  4093. #define CSR_ACSMDDRADRX15X0X0_LSB 0
  4094. #define CSR_ACSMDDRADRX15X0X0_MASK GENMASK_32(15, 0)
  4095. /* CSR_ACSMSEQ2X1 */
  4096. #define CSR_ACSMSEQ2X1_LSB 0
  4097. #define CSR_ACSMSEQ2X1_MASK GENMASK_32(15, 0)
  4098. #define CSR_ACSMDDRADRX15X0X1_LSB 0
  4099. #define CSR_ACSMDDRADRX15X0X1_MASK GENMASK_32(15, 0)
  4100. /* CSR_ACSMSEQ2X2 */
  4101. #define CSR_ACSMSEQ2X2_LSB 0
  4102. #define CSR_ACSMSEQ2X2_MASK GENMASK_32(15, 0)
  4103. #define CSR_ACSMDDRADRX15X0X2_LSB 0
  4104. #define CSR_ACSMDDRADRX15X0X2_MASK GENMASK_32(15, 0)
  4105. /* CSR_ACSMSEQ2X3 */
  4106. #define CSR_ACSMSEQ2X3_LSB 0
  4107. #define CSR_ACSMSEQ2X3_MASK GENMASK_32(15, 0)
  4108. #define CSR_ACSMDDRADRX15X0X3_LSB 0
  4109. #define CSR_ACSMDDRADRX15X0X3_MASK GENMASK_32(15, 0)
  4110. /* CSR_ACSMSEQ2X4 */
  4111. #define CSR_ACSMSEQ2X4_LSB 0
  4112. #define CSR_ACSMSEQ2X4_MASK GENMASK_32(15, 0)
  4113. #define CSR_ACSMDDRADRX15X0X4_LSB 0
  4114. #define CSR_ACSMDDRADRX15X0X4_MASK GENMASK_32(15, 0)
  4115. /* CSR_ACSMSEQ2X5 */
  4116. #define CSR_ACSMSEQ2X5_LSB 0
  4117. #define CSR_ACSMSEQ2X5_MASK GENMASK_32(15, 0)
  4118. #define CSR_ACSMDDRADRX15X0X5_LSB 0
  4119. #define CSR_ACSMDDRADRX15X0X5_MASK GENMASK_32(15, 0)
  4120. /* CSR_ACSMSEQ2X6 */
  4121. #define CSR_ACSMSEQ2X6_LSB 0
  4122. #define CSR_ACSMSEQ2X6_MASK GENMASK_32(15, 0)
  4123. #define CSR_ACSMDDRADRX15X0X6_LSB 0
  4124. #define CSR_ACSMDDRADRX15X0X6_MASK GENMASK_32(15, 0)
  4125. /* CSR_ACSMSEQ2X7 */
  4126. #define CSR_ACSMSEQ2X7_LSB 0
  4127. #define CSR_ACSMSEQ2X7_MASK GENMASK_32(15, 0)
  4128. #define CSR_ACSMDDRADRX15X0X7_LSB 0
  4129. #define CSR_ACSMDDRADRX15X0X7_MASK GENMASK_32(15, 0)
  4130. /* CSR_ACSMSEQ2X8 */
  4131. #define CSR_ACSMSEQ2X8_LSB 0
  4132. #define CSR_ACSMSEQ2X8_MASK GENMASK_32(15, 0)
  4133. #define CSR_ACSMDDRADRX15X0X8_LSB 0
  4134. #define CSR_ACSMDDRADRX15X0X8_MASK GENMASK_32(15, 0)
  4135. /* CSR_ACSMSEQ2X9 */
  4136. #define CSR_ACSMSEQ2X9_LSB 0
  4137. #define CSR_ACSMSEQ2X9_MASK GENMASK_32(15, 0)
  4138. #define CSR_ACSMDDRADRX15X0X9_LSB 0
  4139. #define CSR_ACSMDDRADRX15X0X9_MASK GENMASK_32(15, 0)
  4140. /* CSR_ACSMSEQ2X10 */
  4141. #define CSR_ACSMSEQ2X10_LSB 0
  4142. #define CSR_ACSMSEQ2X10_MASK GENMASK_32(15, 0)
  4143. #define CSR_ACSMDDRADRX15X0X10_LSB 0
  4144. #define CSR_ACSMDDRADRX15X0X10_MASK GENMASK_32(15, 0)
  4145. /* CSR_ACSMSEQ2X11 */
  4146. #define CSR_ACSMSEQ2X11_LSB 0
  4147. #define CSR_ACSMSEQ2X11_MASK GENMASK_32(15, 0)
  4148. #define CSR_ACSMDDRADRX15X0X11_LSB 0
  4149. #define CSR_ACSMDDRADRX15X0X11_MASK GENMASK_32(15, 0)
  4150. /* CSR_ACSMSEQ2X12 */
  4151. #define CSR_ACSMSEQ2X12_LSB 0
  4152. #define CSR_ACSMSEQ2X12_MASK GENMASK_32(15, 0)
  4153. #define CSR_ACSMDDRADRX15X0X12_LSB 0
  4154. #define CSR_ACSMDDRADRX15X0X12_MASK GENMASK_32(15, 0)
  4155. /* CSR_ACSMSEQ2X13 */
  4156. #define CSR_ACSMSEQ2X13_LSB 0
  4157. #define CSR_ACSMSEQ2X13_MASK GENMASK_32(15, 0)
  4158. #define CSR_ACSMDDRADRX15X0X13_LSB 0
  4159. #define CSR_ACSMDDRADRX15X0X13_MASK GENMASK_32(15, 0)
  4160. /* CSR_ACSMSEQ2X14 */
  4161. #define CSR_ACSMSEQ2X14_LSB 0
  4162. #define CSR_ACSMSEQ2X14_MASK GENMASK_32(15, 0)
  4163. #define CSR_ACSMDDRADRX15X0X14_LSB 0
  4164. #define CSR_ACSMDDRADRX15X0X14_MASK GENMASK_32(15, 0)
  4165. /* CSR_ACSMSEQ2X15 */
  4166. #define CSR_ACSMSEQ2X15_LSB 0
  4167. #define CSR_ACSMSEQ2X15_MASK GENMASK_32(15, 0)
  4168. #define CSR_ACSMDDRADRX15X0X15_LSB 0
  4169. #define CSR_ACSMDDRADRX15X0X15_MASK GENMASK_32(15, 0)
  4170. /* CSR_ACSMSEQ2X16 */
  4171. #define CSR_ACSMSEQ2X16_LSB 0
  4172. #define CSR_ACSMSEQ2X16_MASK GENMASK_32(15, 0)
  4173. #define CSR_ACSMDDRADRX15X0X16_LSB 0
  4174. #define CSR_ACSMDDRADRX15X0X16_MASK GENMASK_32(15, 0)
  4175. /* CSR_ACSMSEQ2X17 */
  4176. #define CSR_ACSMSEQ2X17_LSB 0
  4177. #define CSR_ACSMSEQ2X17_MASK GENMASK_32(15, 0)
  4178. #define CSR_ACSMDDRADRX15X0X17_LSB 0
  4179. #define CSR_ACSMDDRADRX15X0X17_MASK GENMASK_32(15, 0)
  4180. /* CSR_ACSMSEQ2X18 */
  4181. #define CSR_ACSMSEQ2X18_LSB 0
  4182. #define CSR_ACSMSEQ2X18_MASK GENMASK_32(15, 0)
  4183. #define CSR_ACSMDDRADRX15X0X18_LSB 0
  4184. #define CSR_ACSMDDRADRX15X0X18_MASK GENMASK_32(15, 0)
  4185. /* CSR_ACSMSEQ2X19 */
  4186. #define CSR_ACSMSEQ2X19_LSB 0
  4187. #define CSR_ACSMSEQ2X19_MASK GENMASK_32(15, 0)
  4188. #define CSR_ACSMDDRADRX15X0X19_LSB 0
  4189. #define CSR_ACSMDDRADRX15X0X19_MASK GENMASK_32(15, 0)
  4190. /* CSR_ACSMSEQ2X20 */
  4191. #define CSR_ACSMSEQ2X20_LSB 0
  4192. #define CSR_ACSMSEQ2X20_MASK GENMASK_32(15, 0)
  4193. #define CSR_ACSMDDRADRX15X0X20_LSB 0
  4194. #define CSR_ACSMDDRADRX15X0X20_MASK GENMASK_32(15, 0)
  4195. /* CSR_ACSMSEQ2X21 */
  4196. #define CSR_ACSMSEQ2X21_LSB 0
  4197. #define CSR_ACSMSEQ2X21_MASK GENMASK_32(15, 0)
  4198. #define CSR_ACSMDDRADRX15X0X21_LSB 0
  4199. #define CSR_ACSMDDRADRX15X0X21_MASK GENMASK_32(15, 0)
  4200. /* CSR_ACSMSEQ2X22 */
  4201. #define CSR_ACSMSEQ2X22_LSB 0
  4202. #define CSR_ACSMSEQ2X22_MASK GENMASK_32(15, 0)
  4203. #define CSR_ACSMDDRADRX15X0X22_LSB 0
  4204. #define CSR_ACSMDDRADRX15X0X22_MASK GENMASK_32(15, 0)
  4205. /* CSR_ACSMSEQ2X23 */
  4206. #define CSR_ACSMSEQ2X23_LSB 0
  4207. #define CSR_ACSMSEQ2X23_MASK GENMASK_32(15, 0)
  4208. #define CSR_ACSMDDRADRX15X0X23_LSB 0
  4209. #define CSR_ACSMDDRADRX15X0X23_MASK GENMASK_32(15, 0)
  4210. /* CSR_ACSMSEQ2X24 */
  4211. #define CSR_ACSMSEQ2X24_LSB 0
  4212. #define CSR_ACSMSEQ2X24_MASK GENMASK_32(15, 0)
  4213. #define CSR_ACSMDDRADRX15X0X24_LSB 0
  4214. #define CSR_ACSMDDRADRX15X0X24_MASK GENMASK_32(15, 0)
  4215. /* CSR_ACSMSEQ2X25 */
  4216. #define CSR_ACSMSEQ2X25_LSB 0
  4217. #define CSR_ACSMSEQ2X25_MASK GENMASK_32(15, 0)
  4218. #define CSR_ACSMDDRADRX15X0X25_LSB 0
  4219. #define CSR_ACSMDDRADRX15X0X25_MASK GENMASK_32(15, 0)
  4220. /* CSR_ACSMSEQ2X26 */
  4221. #define CSR_ACSMSEQ2X26_LSB 0
  4222. #define CSR_ACSMSEQ2X26_MASK GENMASK_32(15, 0)
  4223. #define CSR_ACSMDDRADRX15X0X26_LSB 0
  4224. #define CSR_ACSMDDRADRX15X0X26_MASK GENMASK_32(15, 0)
  4225. /* CSR_ACSMSEQ2X27 */
  4226. #define CSR_ACSMSEQ2X27_LSB 0
  4227. #define CSR_ACSMSEQ2X27_MASK GENMASK_32(15, 0)
  4228. #define CSR_ACSMDDRADRX15X0X27_LSB 0
  4229. #define CSR_ACSMDDRADRX15X0X27_MASK GENMASK_32(15, 0)
  4230. /* CSR_ACSMSEQ2X28 */
  4231. #define CSR_ACSMSEQ2X28_LSB 0
  4232. #define CSR_ACSMSEQ2X28_MASK GENMASK_32(15, 0)
  4233. #define CSR_ACSMDDRADRX15X0X28_LSB 0
  4234. #define CSR_ACSMDDRADRX15X0X28_MASK GENMASK_32(15, 0)
  4235. /* CSR_ACSMSEQ2X29 */
  4236. #define CSR_ACSMSEQ2X29_LSB 0
  4237. #define CSR_ACSMSEQ2X29_MASK GENMASK_32(15, 0)
  4238. #define CSR_ACSMDDRADRX15X0X29_LSB 0
  4239. #define CSR_ACSMDDRADRX15X0X29_MASK GENMASK_32(15, 0)
  4240. /* CSR_ACSMSEQ2X30 */
  4241. #define CSR_ACSMSEQ2X30_LSB 0
  4242. #define CSR_ACSMSEQ2X30_MASK GENMASK_32(15, 0)
  4243. #define CSR_ACSMDDRADRX15X0X30_LSB 0
  4244. #define CSR_ACSMDDRADRX15X0X30_MASK GENMASK_32(15, 0)
  4245. /* CSR_ACSMSEQ2X31 */
  4246. #define CSR_ACSMSEQ2X31_LSB 0
  4247. #define CSR_ACSMSEQ2X31_MASK GENMASK_32(15, 0)
  4248. #define CSR_ACSMDDRADRX15X0X31_LSB 0
  4249. #define CSR_ACSMDDRADRX15X0X31_MASK GENMASK_32(15, 0)
  4250. /* CSR_ACSMSEQ3X0 */
  4251. #define CSR_ACSMSEQ3X0_LSB 0
  4252. #define CSR_ACSMSEQ3X0_MASK GENMASK_32(15, 0)
  4253. #define CSR_ACSMCMDREPCNT0_LSB 0
  4254. #define CSR_ACSMCMDREPCNT0_MASK GENMASK_32(7, 0)
  4255. #define CSR_ACSMADRADV0_LSB 8
  4256. #define CSR_ACSMADRADV0_MASK GENMASK_32(9, 8)
  4257. #define CSR_ACSMBNKADV0_LSB 10
  4258. #define CSR_ACSMBNKADV0_MASK GENMASK_32(11, 10)
  4259. #define CSR_ACSMADRSELLOAD0_LSB 12
  4260. #define CSR_ACSMADRSELLOAD0_MASK GENMASK_32(13, 12)
  4261. #define CSR_ACSMBNKSELLOAD0_LSB 14
  4262. #define CSR_ACSMBNKSELLOAD0_MASK BIT(14)
  4263. #define CSR_ACSMLONGBUBBLE0_LSB 15
  4264. #define CSR_ACSMLONGBUBBLE0_MASK BIT(15)
  4265. /* CSR_ACSMSEQ3X1 */
  4266. #define CSR_ACSMSEQ3X1_LSB 0
  4267. #define CSR_ACSMSEQ3X1_MASK GENMASK_32(15, 0)
  4268. #define CSR_ACSMCMDREPCNT1_LSB 0
  4269. #define CSR_ACSMCMDREPCNT1_MASK GENMASK_32(7, 0)
  4270. #define CSR_ACSMADRADV1_LSB 8
  4271. #define CSR_ACSMADRADV1_MASK GENMASK_32(9, 8)
  4272. #define CSR_ACSMBNKADV1_LSB 10
  4273. #define CSR_ACSMBNKADV1_MASK GENMASK_32(11, 10)
  4274. #define CSR_ACSMADRSELLOAD1_LSB 12
  4275. #define CSR_ACSMADRSELLOAD1_MASK GENMASK_32(13, 12)
  4276. #define CSR_ACSMBNKSELLOAD1_LSB 14
  4277. #define CSR_ACSMBNKSELLOAD1_MASK BIT(14)
  4278. #define CSR_ACSMLONGBUBBLE1_LSB 15
  4279. #define CSR_ACSMLONGBUBBLE1_MASK BIT(15)
  4280. /* CSR_ACSMSEQ3X2 */
  4281. #define CSR_ACSMSEQ3X2_LSB 0
  4282. #define CSR_ACSMSEQ3X2_MASK GENMASK_32(15, 0)
  4283. #define CSR_ACSMCMDREPCNT2_LSB 0
  4284. #define CSR_ACSMCMDREPCNT2_MASK GENMASK_32(7, 0)
  4285. #define CSR_ACSMADRADV2_LSB 8
  4286. #define CSR_ACSMADRADV2_MASK GENMASK_32(9, 8)
  4287. #define CSR_ACSMBNKADV2_LSB 10
  4288. #define CSR_ACSMBNKADV2_MASK GENMASK_32(11, 10)
  4289. #define CSR_ACSMADRSELLOAD2_LSB 12
  4290. #define CSR_ACSMADRSELLOAD2_MASK GENMASK_32(13, 12)
  4291. #define CSR_ACSMBNKSELLOAD2_LSB 14
  4292. #define CSR_ACSMBNKSELLOAD2_MASK BIT(14)
  4293. #define CSR_ACSMLONGBUBBLE2_LSB 15
  4294. #define CSR_ACSMLONGBUBBLE2_MASK BIT(15)
  4295. /* CSR_ACSMSEQ3X3 */
  4296. #define CSR_ACSMSEQ3X3_LSB 0
  4297. #define CSR_ACSMSEQ3X3_MASK GENMASK_32(15, 0)
  4298. #define CSR_ACSMCMDREPCNT3_LSB 0
  4299. #define CSR_ACSMCMDREPCNT3_MASK GENMASK_32(7, 0)
  4300. #define CSR_ACSMADRADV3_LSB 8
  4301. #define CSR_ACSMADRADV3_MASK GENMASK_32(9, 8)
  4302. #define CSR_ACSMBNKADV3_LSB 10
  4303. #define CSR_ACSMBNKADV3_MASK GENMASK_32(11, 10)
  4304. #define CSR_ACSMADRSELLOAD3_LSB 12
  4305. #define CSR_ACSMADRSELLOAD3_MASK GENMASK_32(13, 12)
  4306. #define CSR_ACSMBNKSELLOAD3_LSB 14
  4307. #define CSR_ACSMBNKSELLOAD3_MASK BIT(14)
  4308. #define CSR_ACSMLONGBUBBLE3_LSB 15
  4309. #define CSR_ACSMLONGBUBBLE3_MASK BIT(15)
  4310. /* CSR_ACSMSEQ3X4 */
  4311. #define CSR_ACSMSEQ3X4_LSB 0
  4312. #define CSR_ACSMSEQ3X4_MASK GENMASK_32(15, 0)
  4313. #define CSR_ACSMCMDREPCNT4_LSB 0
  4314. #define CSR_ACSMCMDREPCNT4_MASK GENMASK_32(7, 0)
  4315. #define CSR_ACSMADRADV4_LSB 8
  4316. #define CSR_ACSMADRADV4_MASK GENMASK_32(9, 8)
  4317. #define CSR_ACSMBNKADV4_LSB 10
  4318. #define CSR_ACSMBNKADV4_MASK GENMASK_32(11, 10)
  4319. #define CSR_ACSMADRSELLOAD4_LSB 12
  4320. #define CSR_ACSMADRSELLOAD4_MASK GENMASK_32(13, 12)
  4321. #define CSR_ACSMBNKSELLOAD4_LSB 14
  4322. #define CSR_ACSMBNKSELLOAD4_MASK BIT(14)
  4323. #define CSR_ACSMLONGBUBBLE4_LSB 15
  4324. #define CSR_ACSMLONGBUBBLE4_MASK BIT(15)
  4325. /* CSR_ACSMSEQ3X5 */
  4326. #define CSR_ACSMSEQ3X5_LSB 0
  4327. #define CSR_ACSMSEQ3X5_MASK GENMASK_32(15, 0)
  4328. #define CSR_ACSMCMDREPCNT5_LSB 0
  4329. #define CSR_ACSMCMDREPCNT5_MASK GENMASK_32(7, 0)
  4330. #define CSR_ACSMADRADV5_LSB 8
  4331. #define CSR_ACSMADRADV5_MASK GENMASK_32(9, 8)
  4332. #define CSR_ACSMBNKADV5_LSB 10
  4333. #define CSR_ACSMBNKADV5_MASK GENMASK_32(11, 10)
  4334. #define CSR_ACSMADRSELLOAD5_LSB 12
  4335. #define CSR_ACSMADRSELLOAD5_MASK GENMASK_32(13, 12)
  4336. #define CSR_ACSMBNKSELLOAD5_LSB 14
  4337. #define CSR_ACSMBNKSELLOAD5_MASK BIT(14)
  4338. #define CSR_ACSMLONGBUBBLE5_LSB 15
  4339. #define CSR_ACSMLONGBUBBLE5_MASK BIT(15)
  4340. /* CSR_ACSMSEQ3X6 */
  4341. #define CSR_ACSMSEQ3X6_LSB 0
  4342. #define CSR_ACSMSEQ3X6_MASK GENMASK_32(15, 0)
  4343. #define CSR_ACSMCMDREPCNT6_LSB 0
  4344. #define CSR_ACSMCMDREPCNT6_MASK GENMASK_32(7, 0)
  4345. #define CSR_ACSMADRADV6_LSB 8
  4346. #define CSR_ACSMADRADV6_MASK GENMASK_32(9, 8)
  4347. #define CSR_ACSMBNKADV6_LSB 10
  4348. #define CSR_ACSMBNKADV6_MASK GENMASK_32(11, 10)
  4349. #define CSR_ACSMADRSELLOAD6_LSB 12
  4350. #define CSR_ACSMADRSELLOAD6_MASK GENMASK_32(13, 12)
  4351. #define CSR_ACSMBNKSELLOAD6_LSB 14
  4352. #define CSR_ACSMBNKSELLOAD6_MASK BIT(14)
  4353. #define CSR_ACSMLONGBUBBLE6_LSB 15
  4354. #define CSR_ACSMLONGBUBBLE6_MASK BIT(15)
  4355. /* CSR_ACSMSEQ3X7 */
  4356. #define CSR_ACSMSEQ3X7_LSB 0
  4357. #define CSR_ACSMSEQ3X7_MASK GENMASK_32(15, 0)
  4358. #define CSR_ACSMCMDREPCNT7_LSB 0
  4359. #define CSR_ACSMCMDREPCNT7_MASK GENMASK_32(7, 0)
  4360. #define CSR_ACSMADRADV7_LSB 8
  4361. #define CSR_ACSMADRADV7_MASK GENMASK_32(9, 8)
  4362. #define CSR_ACSMBNKADV7_LSB 10
  4363. #define CSR_ACSMBNKADV7_MASK GENMASK_32(11, 10)
  4364. #define CSR_ACSMADRSELLOAD7_LSB 12
  4365. #define CSR_ACSMADRSELLOAD7_MASK GENMASK_32(13, 12)
  4366. #define CSR_ACSMBNKSELLOAD7_LSB 14
  4367. #define CSR_ACSMBNKSELLOAD7_MASK BIT(14)
  4368. #define CSR_ACSMLONGBUBBLE7_LSB 15
  4369. #define CSR_ACSMLONGBUBBLE7_MASK BIT(15)
  4370. /* CSR_ACSMSEQ3X8 */
  4371. #define CSR_ACSMSEQ3X8_LSB 0
  4372. #define CSR_ACSMSEQ3X8_MASK GENMASK_32(15, 0)
  4373. #define CSR_ACSMCMDREPCNT8_LSB 0
  4374. #define CSR_ACSMCMDREPCNT8_MASK GENMASK_32(7, 0)
  4375. #define CSR_ACSMADRADV8_LSB 8
  4376. #define CSR_ACSMADRADV8_MASK GENMASK_32(9, 8)
  4377. #define CSR_ACSMBNKADV8_LSB 10
  4378. #define CSR_ACSMBNKADV8_MASK GENMASK_32(11, 10)
  4379. #define CSR_ACSMADRSELLOAD8_LSB 12
  4380. #define CSR_ACSMADRSELLOAD8_MASK GENMASK_32(13, 12)
  4381. #define CSR_ACSMBNKSELLOAD8_LSB 14
  4382. #define CSR_ACSMBNKSELLOAD8_MASK BIT(14)
  4383. #define CSR_ACSMLONGBUBBLE8_LSB 15
  4384. #define CSR_ACSMLONGBUBBLE8_MASK BIT(15)
  4385. /* CSR_ACSMSEQ3X9 */
  4386. #define CSR_ACSMSEQ3X9_LSB 0
  4387. #define CSR_ACSMSEQ3X9_MASK GENMASK_32(15, 0)
  4388. #define CSR_ACSMCMDREPCNT9_LSB 0
  4389. #define CSR_ACSMCMDREPCNT9_MASK GENMASK_32(7, 0)
  4390. #define CSR_ACSMADRADV9_LSB 8
  4391. #define CSR_ACSMADRADV9_MASK GENMASK_32(9, 8)
  4392. #define CSR_ACSMBNKADV9_LSB 10
  4393. #define CSR_ACSMBNKADV9_MASK GENMASK_32(11, 10)
  4394. #define CSR_ACSMADRSELLOAD9_LSB 12
  4395. #define CSR_ACSMADRSELLOAD9_MASK GENMASK_32(13, 12)
  4396. #define CSR_ACSMBNKSELLOAD9_LSB 14
  4397. #define CSR_ACSMBNKSELLOAD9_MASK BIT(14)
  4398. #define CSR_ACSMLONGBUBBLE9_LSB 15
  4399. #define CSR_ACSMLONGBUBBLE9_MASK BIT(15)
  4400. /* CSR_ACSMSEQ3X10 */
  4401. #define CSR_ACSMSEQ3X10_LSB 0
  4402. #define CSR_ACSMSEQ3X10_MASK GENMASK_32(15, 0)
  4403. #define CSR_ACSMCMDREPCNT10_LSB 0
  4404. #define CSR_ACSMCMDREPCNT10_MASK GENMASK_32(7, 0)
  4405. #define CSR_ACSMADRADV10_LSB 8
  4406. #define CSR_ACSMADRADV10_MASK GENMASK_32(9, 8)
  4407. #define CSR_ACSMBNKADV10_LSB 10
  4408. #define CSR_ACSMBNKADV10_MASK GENMASK_32(11, 10)
  4409. #define CSR_ACSMADRSELLOAD10_LSB 12
  4410. #define CSR_ACSMADRSELLOAD10_MASK GENMASK_32(13, 12)
  4411. #define CSR_ACSMBNKSELLOAD10_LSB 14
  4412. #define CSR_ACSMBNKSELLOAD10_MASK BIT(14)
  4413. #define CSR_ACSMLONGBUBBLE10_LSB 15
  4414. #define CSR_ACSMLONGBUBBLE10_MASK BIT(15)
  4415. /* CSR_ACSMSEQ3X11 */
  4416. #define CSR_ACSMSEQ3X11_LSB 0
  4417. #define CSR_ACSMSEQ3X11_MASK GENMASK_32(15, 0)
  4418. #define CSR_ACSMCMDREPCNT11_LSB 0
  4419. #define CSR_ACSMCMDREPCNT11_MASK GENMASK_32(7, 0)
  4420. #define CSR_ACSMADRADV11_LSB 8
  4421. #define CSR_ACSMADRADV11_MASK GENMASK_32(9, 8)
  4422. #define CSR_ACSMBNKADV11_LSB 10
  4423. #define CSR_ACSMBNKADV11_MASK GENMASK_32(11, 10)
  4424. #define CSR_ACSMADRSELLOAD11_LSB 12
  4425. #define CSR_ACSMADRSELLOAD11_MASK GENMASK_32(13, 12)
  4426. #define CSR_ACSMBNKSELLOAD11_LSB 14
  4427. #define CSR_ACSMBNKSELLOAD11_MASK BIT(14)
  4428. #define CSR_ACSMLONGBUBBLE11_LSB 15
  4429. #define CSR_ACSMLONGBUBBLE11_MASK BIT(15)
  4430. /* CSR_ACSMSEQ3X12 */
  4431. #define CSR_ACSMSEQ3X12_LSB 0
  4432. #define CSR_ACSMSEQ3X12_MASK GENMASK_32(15, 0)
  4433. #define CSR_ACSMCMDREPCNT12_LSB 0
  4434. #define CSR_ACSMCMDREPCNT12_MASK GENMASK_32(7, 0)
  4435. #define CSR_ACSMADRADV12_LSB 8
  4436. #define CSR_ACSMADRADV12_MASK GENMASK_32(9, 8)
  4437. #define CSR_ACSMBNKADV12_LSB 10
  4438. #define CSR_ACSMBNKADV12_MASK GENMASK_32(11, 10)
  4439. #define CSR_ACSMADRSELLOAD12_LSB 12
  4440. #define CSR_ACSMADRSELLOAD12_MASK GENMASK_32(13, 12)
  4441. #define CSR_ACSMBNKSELLOAD12_LSB 14
  4442. #define CSR_ACSMBNKSELLOAD12_MASK BIT(14)
  4443. #define CSR_ACSMLONGBUBBLE12_LSB 15
  4444. #define CSR_ACSMLONGBUBBLE12_MASK BIT(15)
  4445. /* CSR_ACSMSEQ3X13 */
  4446. #define CSR_ACSMSEQ3X13_LSB 0
  4447. #define CSR_ACSMSEQ3X13_MASK GENMASK_32(15, 0)
  4448. #define CSR_ACSMCMDREPCNT13_LSB 0
  4449. #define CSR_ACSMCMDREPCNT13_MASK GENMASK_32(7, 0)
  4450. #define CSR_ACSMADRADV13_LSB 8
  4451. #define CSR_ACSMADRADV13_MASK GENMASK_32(9, 8)
  4452. #define CSR_ACSMBNKADV13_LSB 10
  4453. #define CSR_ACSMBNKADV13_MASK GENMASK_32(11, 10)
  4454. #define CSR_ACSMADRSELLOAD13_LSB 12
  4455. #define CSR_ACSMADRSELLOAD13_MASK GENMASK_32(13, 12)
  4456. #define CSR_ACSMBNKSELLOAD13_LSB 14
  4457. #define CSR_ACSMBNKSELLOAD13_MASK BIT(14)
  4458. #define CSR_ACSMLONGBUBBLE13_LSB 15
  4459. #define CSR_ACSMLONGBUBBLE13_MASK BIT(15)
  4460. /* CSR_ACSMSEQ3X14 */
  4461. #define CSR_ACSMSEQ3X14_LSB 0
  4462. #define CSR_ACSMSEQ3X14_MASK GENMASK_32(15, 0)
  4463. #define CSR_ACSMCMDREPCNT14_LSB 0
  4464. #define CSR_ACSMCMDREPCNT14_MASK GENMASK_32(7, 0)
  4465. #define CSR_ACSMADRADV14_LSB 8
  4466. #define CSR_ACSMADRADV14_MASK GENMASK_32(9, 8)
  4467. #define CSR_ACSMBNKADV14_LSB 10
  4468. #define CSR_ACSMBNKADV14_MASK GENMASK_32(11, 10)
  4469. #define CSR_ACSMADRSELLOAD14_LSB 12
  4470. #define CSR_ACSMADRSELLOAD14_MASK GENMASK_32(13, 12)
  4471. #define CSR_ACSMBNKSELLOAD14_LSB 14
  4472. #define CSR_ACSMBNKSELLOAD14_MASK BIT(14)
  4473. #define CSR_ACSMLONGBUBBLE14_LSB 15
  4474. #define CSR_ACSMLONGBUBBLE14_MASK BIT(15)
  4475. /* CSR_ACSMSEQ3X15 */
  4476. #define CSR_ACSMSEQ3X15_LSB 0
  4477. #define CSR_ACSMSEQ3X15_MASK GENMASK_32(15, 0)
  4478. #define CSR_ACSMCMDREPCNT15_LSB 0
  4479. #define CSR_ACSMCMDREPCNT15_MASK GENMASK_32(7, 0)
  4480. #define CSR_ACSMADRADV15_LSB 8
  4481. #define CSR_ACSMADRADV15_MASK GENMASK_32(9, 8)
  4482. #define CSR_ACSMBNKADV15_LSB 10
  4483. #define CSR_ACSMBNKADV15_MASK GENMASK_32(11, 10)
  4484. #define CSR_ACSMADRSELLOAD15_LSB 12
  4485. #define CSR_ACSMADRSELLOAD15_MASK GENMASK_32(13, 12)
  4486. #define CSR_ACSMBNKSELLOAD15_LSB 14
  4487. #define CSR_ACSMBNKSELLOAD15_MASK BIT(14)
  4488. #define CSR_ACSMLONGBUBBLE15_LSB 15
  4489. #define CSR_ACSMLONGBUBBLE15_MASK BIT(15)
  4490. /* CSR_ACSMSEQ3X16 */
  4491. #define CSR_ACSMSEQ3X16_LSB 0
  4492. #define CSR_ACSMSEQ3X16_MASK GENMASK_32(15, 0)
  4493. #define CSR_ACSMCMDREPCNT16_LSB 0
  4494. #define CSR_ACSMCMDREPCNT16_MASK GENMASK_32(7, 0)
  4495. #define CSR_ACSMADRADV16_LSB 8
  4496. #define CSR_ACSMADRADV16_MASK GENMASK_32(9, 8)
  4497. #define CSR_ACSMBNKADV16_LSB 10
  4498. #define CSR_ACSMBNKADV16_MASK GENMASK_32(11, 10)
  4499. #define CSR_ACSMADRSELLOAD16_LSB 12
  4500. #define CSR_ACSMADRSELLOAD16_MASK GENMASK_32(13, 12)
  4501. #define CSR_ACSMBNKSELLOAD16_LSB 14
  4502. #define CSR_ACSMBNKSELLOAD16_MASK BIT(14)
  4503. #define CSR_ACSMLONGBUBBLE16_LSB 15
  4504. #define CSR_ACSMLONGBUBBLE16_MASK BIT(15)
  4505. /* CSR_ACSMSEQ3X17 */
  4506. #define CSR_ACSMSEQ3X17_LSB 0
  4507. #define CSR_ACSMSEQ3X17_MASK GENMASK_32(15, 0)
  4508. #define CSR_ACSMCMDREPCNT17_LSB 0
  4509. #define CSR_ACSMCMDREPCNT17_MASK GENMASK_32(7, 0)
  4510. #define CSR_ACSMADRADV17_LSB 8
  4511. #define CSR_ACSMADRADV17_MASK GENMASK_32(9, 8)
  4512. #define CSR_ACSMBNKADV17_LSB 10
  4513. #define CSR_ACSMBNKADV17_MASK GENMASK_32(11, 10)
  4514. #define CSR_ACSMADRSELLOAD17_LSB 12
  4515. #define CSR_ACSMADRSELLOAD17_MASK GENMASK_32(13, 12)
  4516. #define CSR_ACSMBNKSELLOAD17_LSB 14
  4517. #define CSR_ACSMBNKSELLOAD17_MASK BIT(14)
  4518. #define CSR_ACSMLONGBUBBLE17_LSB 15
  4519. #define CSR_ACSMLONGBUBBLE17_MASK BIT(15)
  4520. /* CSR_ACSMSEQ3X18 */
  4521. #define CSR_ACSMSEQ3X18_LSB 0
  4522. #define CSR_ACSMSEQ3X18_MASK GENMASK_32(15, 0)
  4523. #define CSR_ACSMCMDREPCNT18_LSB 0
  4524. #define CSR_ACSMCMDREPCNT18_MASK GENMASK_32(7, 0)
  4525. #define CSR_ACSMADRADV18_LSB 8
  4526. #define CSR_ACSMADRADV18_MASK GENMASK_32(9, 8)
  4527. #define CSR_ACSMBNKADV18_LSB 10
  4528. #define CSR_ACSMBNKADV18_MASK GENMASK_32(11, 10)
  4529. #define CSR_ACSMADRSELLOAD18_LSB 12
  4530. #define CSR_ACSMADRSELLOAD18_MASK GENMASK_32(13, 12)
  4531. #define CSR_ACSMBNKSELLOAD18_LSB 14
  4532. #define CSR_ACSMBNKSELLOAD18_MASK BIT(14)
  4533. #define CSR_ACSMLONGBUBBLE18_LSB 15
  4534. #define CSR_ACSMLONGBUBBLE18_MASK BIT(15)
  4535. /* CSR_ACSMSEQ3X19 */
  4536. #define CSR_ACSMSEQ3X19_LSB 0
  4537. #define CSR_ACSMSEQ3X19_MASK GENMASK_32(15, 0)
  4538. #define CSR_ACSMCMDREPCNT19_LSB 0
  4539. #define CSR_ACSMCMDREPCNT19_MASK GENMASK_32(7, 0)
  4540. #define CSR_ACSMADRADV19_LSB 8
  4541. #define CSR_ACSMADRADV19_MASK GENMASK_32(9, 8)
  4542. #define CSR_ACSMBNKADV19_LSB 10
  4543. #define CSR_ACSMBNKADV19_MASK GENMASK_32(11, 10)
  4544. #define CSR_ACSMADRSELLOAD19_LSB 12
  4545. #define CSR_ACSMADRSELLOAD19_MASK GENMASK_32(13, 12)
  4546. #define CSR_ACSMBNKSELLOAD19_LSB 14
  4547. #define CSR_ACSMBNKSELLOAD19_MASK BIT(14)
  4548. #define CSR_ACSMLONGBUBBLE19_LSB 15
  4549. #define CSR_ACSMLONGBUBBLE19_MASK BIT(15)
  4550. /* CSR_ACSMSEQ3X20 */
  4551. #define CSR_ACSMSEQ3X20_LSB 0
  4552. #define CSR_ACSMSEQ3X20_MASK GENMASK_32(15, 0)
  4553. #define CSR_ACSMCMDREPCNT20_LSB 0
  4554. #define CSR_ACSMCMDREPCNT20_MASK GENMASK_32(7, 0)
  4555. #define CSR_ACSMADRADV20_LSB 8
  4556. #define CSR_ACSMADRADV20_MASK GENMASK_32(9, 8)
  4557. #define CSR_ACSMBNKADV20_LSB 10
  4558. #define CSR_ACSMBNKADV20_MASK GENMASK_32(11, 10)
  4559. #define CSR_ACSMADRSELLOAD20_LSB 12
  4560. #define CSR_ACSMADRSELLOAD20_MASK GENMASK_32(13, 12)
  4561. #define CSR_ACSMBNKSELLOAD20_LSB 14
  4562. #define CSR_ACSMBNKSELLOAD20_MASK BIT(14)
  4563. #define CSR_ACSMLONGBUBBLE20_LSB 15
  4564. #define CSR_ACSMLONGBUBBLE20_MASK BIT(15)
  4565. /* CSR_ACSMSEQ3X21 */
  4566. #define CSR_ACSMSEQ3X21_LSB 0
  4567. #define CSR_ACSMSEQ3X21_MASK GENMASK_32(15, 0)
  4568. #define CSR_ACSMCMDREPCNT21_LSB 0
  4569. #define CSR_ACSMCMDREPCNT21_MASK GENMASK_32(7, 0)
  4570. #define CSR_ACSMADRADV21_LSB 8
  4571. #define CSR_ACSMADRADV21_MASK GENMASK_32(9, 8)
  4572. #define CSR_ACSMBNKADV21_LSB 10
  4573. #define CSR_ACSMBNKADV21_MASK GENMASK_32(11, 10)
  4574. #define CSR_ACSMADRSELLOAD21_LSB 12
  4575. #define CSR_ACSMADRSELLOAD21_MASK GENMASK_32(13, 12)
  4576. #define CSR_ACSMBNKSELLOAD21_LSB 14
  4577. #define CSR_ACSMBNKSELLOAD21_MASK BIT(14)
  4578. #define CSR_ACSMLONGBUBBLE21_LSB 15
  4579. #define CSR_ACSMLONGBUBBLE21_MASK BIT(15)
  4580. /* CSR_ACSMSEQ3X22 */
  4581. #define CSR_ACSMSEQ3X22_LSB 0
  4582. #define CSR_ACSMSEQ3X22_MASK GENMASK_32(15, 0)
  4583. #define CSR_ACSMCMDREPCNT22_LSB 0
  4584. #define CSR_ACSMCMDREPCNT22_MASK GENMASK_32(7, 0)
  4585. #define CSR_ACSMADRADV22_LSB 8
  4586. #define CSR_ACSMADRADV22_MASK GENMASK_32(9, 8)
  4587. #define CSR_ACSMBNKADV22_LSB 10
  4588. #define CSR_ACSMBNKADV22_MASK GENMASK_32(11, 10)
  4589. #define CSR_ACSMADRSELLOAD22_LSB 12
  4590. #define CSR_ACSMADRSELLOAD22_MASK GENMASK_32(13, 12)
  4591. #define CSR_ACSMBNKSELLOAD22_LSB 14
  4592. #define CSR_ACSMBNKSELLOAD22_MASK BIT(14)
  4593. #define CSR_ACSMLONGBUBBLE22_LSB 15
  4594. #define CSR_ACSMLONGBUBBLE22_MASK BIT(15)
  4595. /* CSR_ACSMSEQ3X23 */
  4596. #define CSR_ACSMSEQ3X23_LSB 0
  4597. #define CSR_ACSMSEQ3X23_MASK GENMASK_32(15, 0)
  4598. #define CSR_ACSMCMDREPCNT23_LSB 0
  4599. #define CSR_ACSMCMDREPCNT23_MASK GENMASK_32(7, 0)
  4600. #define CSR_ACSMADRADV23_LSB 8
  4601. #define CSR_ACSMADRADV23_MASK GENMASK_32(9, 8)
  4602. #define CSR_ACSMBNKADV23_LSB 10
  4603. #define CSR_ACSMBNKADV23_MASK GENMASK_32(11, 10)
  4604. #define CSR_ACSMADRSELLOAD23_LSB 12
  4605. #define CSR_ACSMADRSELLOAD23_MASK GENMASK_32(13, 12)
  4606. #define CSR_ACSMBNKSELLOAD23_LSB 14
  4607. #define CSR_ACSMBNKSELLOAD23_MASK BIT(14)
  4608. #define CSR_ACSMLONGBUBBLE23_LSB 15
  4609. #define CSR_ACSMLONGBUBBLE23_MASK BIT(15)
  4610. /* CSR_ACSMSEQ3X24 */
  4611. #define CSR_ACSMSEQ3X24_LSB 0
  4612. #define CSR_ACSMSEQ3X24_MASK GENMASK_32(15, 0)
  4613. #define CSR_ACSMCMDREPCNT24_LSB 0
  4614. #define CSR_ACSMCMDREPCNT24_MASK GENMASK_32(7, 0)
  4615. #define CSR_ACSMADRADV24_LSB 8
  4616. #define CSR_ACSMADRADV24_MASK GENMASK_32(9, 8)
  4617. #define CSR_ACSMBNKADV24_LSB 10
  4618. #define CSR_ACSMBNKADV24_MASK GENMASK_32(11, 10)
  4619. #define CSR_ACSMADRSELLOAD24_LSB 12
  4620. #define CSR_ACSMADRSELLOAD24_MASK GENMASK_32(13, 12)
  4621. #define CSR_ACSMBNKSELLOAD24_LSB 14
  4622. #define CSR_ACSMBNKSELLOAD24_MASK BIT(14)
  4623. #define CSR_ACSMLONGBUBBLE24_LSB 15
  4624. #define CSR_ACSMLONGBUBBLE24_MASK BIT(15)
  4625. /* CSR_ACSMSEQ3X25 */
  4626. #define CSR_ACSMSEQ3X25_LSB 0
  4627. #define CSR_ACSMSEQ3X25_MASK GENMASK_32(15, 0)
  4628. #define CSR_ACSMCMDREPCNT25_LSB 0
  4629. #define CSR_ACSMCMDREPCNT25_MASK GENMASK_32(7, 0)
  4630. #define CSR_ACSMADRADV25_LSB 8
  4631. #define CSR_ACSMADRADV25_MASK GENMASK_32(9, 8)
  4632. #define CSR_ACSMBNKADV25_LSB 10
  4633. #define CSR_ACSMBNKADV25_MASK GENMASK_32(11, 10)
  4634. #define CSR_ACSMADRSELLOAD25_LSB 12
  4635. #define CSR_ACSMADRSELLOAD25_MASK GENMASK_32(13, 12)
  4636. #define CSR_ACSMBNKSELLOAD25_LSB 14
  4637. #define CSR_ACSMBNKSELLOAD25_MASK BIT(14)
  4638. #define CSR_ACSMLONGBUBBLE25_LSB 15
  4639. #define CSR_ACSMLONGBUBBLE25_MASK BIT(15)
  4640. /* CSR_ACSMSEQ3X26 */
  4641. #define CSR_ACSMSEQ3X26_LSB 0
  4642. #define CSR_ACSMSEQ3X26_MASK GENMASK_32(15, 0)
  4643. #define CSR_ACSMCMDREPCNT26_LSB 0
  4644. #define CSR_ACSMCMDREPCNT26_MASK GENMASK_32(7, 0)
  4645. #define CSR_ACSMADRADV26_LSB 8
  4646. #define CSR_ACSMADRADV26_MASK GENMASK_32(9, 8)
  4647. #define CSR_ACSMBNKADV26_LSB 10
  4648. #define CSR_ACSMBNKADV26_MASK GENMASK_32(11, 10)
  4649. #define CSR_ACSMADRSELLOAD26_LSB 12
  4650. #define CSR_ACSMADRSELLOAD26_MASK GENMASK_32(13, 12)
  4651. #define CSR_ACSMBNKSELLOAD26_LSB 14
  4652. #define CSR_ACSMBNKSELLOAD26_MASK BIT(14)
  4653. #define CSR_ACSMLONGBUBBLE26_LSB 15
  4654. #define CSR_ACSMLONGBUBBLE26_MASK BIT(15)
  4655. /* CSR_ACSMSEQ3X27 */
  4656. #define CSR_ACSMSEQ3X27_LSB 0
  4657. #define CSR_ACSMSEQ3X27_MASK GENMASK_32(15, 0)
  4658. #define CSR_ACSMCMDREPCNT27_LSB 0
  4659. #define CSR_ACSMCMDREPCNT27_MASK GENMASK_32(7, 0)
  4660. #define CSR_ACSMADRADV27_LSB 8
  4661. #define CSR_ACSMADRADV27_MASK GENMASK_32(9, 8)
  4662. #define CSR_ACSMBNKADV27_LSB 10
  4663. #define CSR_ACSMBNKADV27_MASK GENMASK_32(11, 10)
  4664. #define CSR_ACSMADRSELLOAD27_LSB 12
  4665. #define CSR_ACSMADRSELLOAD27_MASK GENMASK_32(13, 12)
  4666. #define CSR_ACSMBNKSELLOAD27_LSB 14
  4667. #define CSR_ACSMBNKSELLOAD27_MASK BIT(14)
  4668. #define CSR_ACSMLONGBUBBLE27_LSB 15
  4669. #define CSR_ACSMLONGBUBBLE27_MASK BIT(15)
  4670. /* CSR_ACSMSEQ3X28 */
  4671. #define CSR_ACSMSEQ3X28_LSB 0
  4672. #define CSR_ACSMSEQ3X28_MASK GENMASK_32(15, 0)
  4673. #define CSR_ACSMCMDREPCNT28_LSB 0
  4674. #define CSR_ACSMCMDREPCNT28_MASK GENMASK_32(7, 0)
  4675. #define CSR_ACSMADRADV28_LSB 8
  4676. #define CSR_ACSMADRADV28_MASK GENMASK_32(9, 8)
  4677. #define CSR_ACSMBNKADV28_LSB 10
  4678. #define CSR_ACSMBNKADV28_MASK GENMASK_32(11, 10)
  4679. #define CSR_ACSMADRSELLOAD28_LSB 12
  4680. #define CSR_ACSMADRSELLOAD28_MASK GENMASK_32(13, 12)
  4681. #define CSR_ACSMBNKSELLOAD28_LSB 14
  4682. #define CSR_ACSMBNKSELLOAD28_MASK BIT(14)
  4683. #define CSR_ACSMLONGBUBBLE28_LSB 15
  4684. #define CSR_ACSMLONGBUBBLE28_MASK BIT(15)
  4685. /* CSR_ACSMSEQ3X29 */
  4686. #define CSR_ACSMSEQ3X29_LSB 0
  4687. #define CSR_ACSMSEQ3X29_MASK GENMASK_32(15, 0)
  4688. #define CSR_ACSMCMDREPCNT29_LSB 0
  4689. #define CSR_ACSMCMDREPCNT29_MASK GENMASK_32(7, 0)
  4690. #define CSR_ACSMADRADV29_LSB 8
  4691. #define CSR_ACSMADRADV29_MASK GENMASK_32(9, 8)
  4692. #define CSR_ACSMBNKADV29_LSB 10
  4693. #define CSR_ACSMBNKADV29_MASK GENMASK_32(11, 10)
  4694. #define CSR_ACSMADRSELLOAD29_LSB 12
  4695. #define CSR_ACSMADRSELLOAD29_MASK GENMASK_32(13, 12)
  4696. #define CSR_ACSMBNKSELLOAD29_LSB 14
  4697. #define CSR_ACSMBNKSELLOAD29_MASK BIT(14)
  4698. #define CSR_ACSMLONGBUBBLE29_LSB 15
  4699. #define CSR_ACSMLONGBUBBLE29_MASK BIT(15)
  4700. /* CSR_ACSMSEQ3X30 */
  4701. #define CSR_ACSMSEQ3X30_LSB 0
  4702. #define CSR_ACSMSEQ3X30_MASK GENMASK_32(15, 0)
  4703. #define CSR_ACSMCMDREPCNT30_LSB 0
  4704. #define CSR_ACSMCMDREPCNT30_MASK GENMASK_32(7, 0)
  4705. #define CSR_ACSMADRADV30_LSB 8
  4706. #define CSR_ACSMADRADV30_MASK GENMASK_32(9, 8)
  4707. #define CSR_ACSMBNKADV30_LSB 10
  4708. #define CSR_ACSMBNKADV30_MASK GENMASK_32(11, 10)
  4709. #define CSR_ACSMADRSELLOAD30_LSB 12
  4710. #define CSR_ACSMADRSELLOAD30_MASK GENMASK_32(13, 12)
  4711. #define CSR_ACSMBNKSELLOAD30_LSB 14
  4712. #define CSR_ACSMBNKSELLOAD30_MASK BIT(14)
  4713. #define CSR_ACSMLONGBUBBLE30_LSB 15
  4714. #define CSR_ACSMLONGBUBBLE30_MASK BIT(15)
  4715. /* CSR_ACSMSEQ3X31 */
  4716. #define CSR_ACSMSEQ3X31_LSB 0
  4717. #define CSR_ACSMSEQ3X31_MASK GENMASK_32(15, 0)
  4718. #define CSR_ACSMCMDREPCNT31_LSB 0
  4719. #define CSR_ACSMCMDREPCNT31_MASK GENMASK_32(7, 0)
  4720. #define CSR_ACSMADRADV31_LSB 8
  4721. #define CSR_ACSMADRADV31_MASK GENMASK_32(9, 8)
  4722. #define CSR_ACSMBNKADV31_LSB 10
  4723. #define CSR_ACSMBNKADV31_MASK GENMASK_32(11, 10)
  4724. #define CSR_ACSMADRSELLOAD31_LSB 12
  4725. #define CSR_ACSMADRSELLOAD31_MASK GENMASK_32(13, 12)
  4726. #define CSR_ACSMBNKSELLOAD31_LSB 14
  4727. #define CSR_ACSMBNKSELLOAD31_MASK BIT(14)
  4728. #define CSR_ACSMLONGBUBBLE31_LSB 15
  4729. #define CSR_ACSMLONGBUBBLE31_MASK BIT(15)
  4730. /* CSR_ACSMPLAYBACK0X0 */
  4731. #define CSR_ACSMPLAYBACK0X0_LSB 0
  4732. #define CSR_ACSMPLAYBACK0X0_MASK GENMASK_32(11, 0)
  4733. /* CSR_ACSMPLAYBACK1X0 */
  4734. #define CSR_ACSMPLAYBACK1X0_LSB 0
  4735. #define CSR_ACSMPLAYBACK1X0_MASK GENMASK_32(11, 0)
  4736. /* CSR_ACSMPLAYBACK0X1 */
  4737. #define CSR_ACSMPLAYBACK0X1_LSB 0
  4738. #define CSR_ACSMPLAYBACK0X1_MASK GENMASK_32(11, 0)
  4739. /* CSR_ACSMPLAYBACK1X1 */
  4740. #define CSR_ACSMPLAYBACK1X1_LSB 0
  4741. #define CSR_ACSMPLAYBACK1X1_MASK GENMASK_32(11, 0)
  4742. /* CSR_ACSMPLAYBACK0X2 */
  4743. #define CSR_ACSMPLAYBACK0X2_LSB 0
  4744. #define CSR_ACSMPLAYBACK0X2_MASK GENMASK_32(11, 0)
  4745. /* CSR_ACSMPLAYBACK1X2 */
  4746. #define CSR_ACSMPLAYBACK1X2_LSB 0
  4747. #define CSR_ACSMPLAYBACK1X2_MASK GENMASK_32(11, 0)
  4748. /* CSR_ACSMPLAYBACK0X3 */
  4749. #define CSR_ACSMPLAYBACK0X3_LSB 0
  4750. #define CSR_ACSMPLAYBACK0X3_MASK GENMASK_32(11, 0)
  4751. /* CSR_ACSMPLAYBACK1X3 */
  4752. #define CSR_ACSMPLAYBACK1X3_LSB 0
  4753. #define CSR_ACSMPLAYBACK1X3_MASK GENMASK_32(11, 0)
  4754. /* CSR_ACSMPLAYBACK0X4 */
  4755. #define CSR_ACSMPLAYBACK0X4_LSB 0
  4756. #define CSR_ACSMPLAYBACK0X4_MASK GENMASK_32(11, 0)
  4757. /* CSR_ACSMPLAYBACK1X4 */
  4758. #define CSR_ACSMPLAYBACK1X4_LSB 0
  4759. #define CSR_ACSMPLAYBACK1X4_MASK GENMASK_32(11, 0)
  4760. /* CSR_ACSMPLAYBACK0X5 */
  4761. #define CSR_ACSMPLAYBACK0X5_LSB 0
  4762. #define CSR_ACSMPLAYBACK0X5_MASK GENMASK_32(11, 0)
  4763. /* CSR_ACSMPLAYBACK1X5 */
  4764. #define CSR_ACSMPLAYBACK1X5_LSB 0
  4765. #define CSR_ACSMPLAYBACK1X5_MASK GENMASK_32(11, 0)
  4766. /* CSR_ACSMPLAYBACK0X6 */
  4767. #define CSR_ACSMPLAYBACK0X6_LSB 0
  4768. #define CSR_ACSMPLAYBACK0X6_MASK GENMASK_32(11, 0)
  4769. /* CSR_ACSMPLAYBACK1X6 */
  4770. #define CSR_ACSMPLAYBACK1X6_LSB 0
  4771. #define CSR_ACSMPLAYBACK1X6_MASK GENMASK_32(11, 0)
  4772. /* CSR_ACSMPLAYBACK0X7 */
  4773. #define CSR_ACSMPLAYBACK0X7_LSB 0
  4774. #define CSR_ACSMPLAYBACK0X7_MASK GENMASK_32(11, 0)
  4775. /* CSR_ACSMPLAYBACK1X7 */
  4776. #define CSR_ACSMPLAYBACK1X7_LSB 0
  4777. #define CSR_ACSMPLAYBACK1X7_MASK GENMASK_32(11, 0)
  4778. /* CSR_ACSMPSTATEOVREN */
  4779. #define CSR_ACSMPSTATEOVREN_LSB 0
  4780. #define CSR_ACSMPSTATEOVREN_MASK BIT(0)
  4781. /* CSR_ACSMPSTATEOVRVAL */
  4782. #define CSR_ACSMPSTATEOVRVAL_LSB 0
  4783. #define CSR_ACSMPSTATEOVRVAL_MASK GENMASK_32(3, 0)
  4784. /* CSR_ACSMCTRL23 */
  4785. #define CSR_ACSMCTRL23_LSB 0
  4786. #define CSR_ACSMCTRL23_MASK GENMASK_32(12, 0)
  4787. #define CSR_ACSMCSMASK_LSB 0
  4788. #define CSR_ACSMCSMASK_MASK GENMASK_32(7, 0)
  4789. #define CSR_ACSMCSMODE_LSB 8
  4790. #define CSR_ACSMCSMODE_MASK BIT(8)
  4791. #define CSR_ACSMPARMASK_LSB 9
  4792. #define CSR_ACSMPARMASK_MASK GENMASK_32(12, 9)
  4793. /* CSR_ACSMCKEVAL */
  4794. #define CSR_ACSMCKEVAL_LSB 0
  4795. #define CSR_ACSMCKEVAL_MASK GENMASK_32(3, 0)
  4796. /* CSR_LOWSPEEDCLOCKDIVIDER */
  4797. #define CSR_LOWSPEEDCLOCKDIVIDER_LSB 0
  4798. #define CSR_LOWSPEEDCLOCKDIVIDER_MASK GENMASK_32(5, 0)
  4799. /* CSR_ACSMCSMAPCTRL0 */
  4800. #define CSR_ACSMCSMAPCTRL0_LSB 0
  4801. #define CSR_ACSMCSMAPCTRL0_MASK GENMASK_32(14, 0)
  4802. #define CSR_ACSMCSMAP0_LSB 0
  4803. #define CSR_ACSMCSMAP0_MASK GENMASK_32(7, 0)
  4804. #define CSR_ACSMDESTMAP0_LSB 8
  4805. #define CSR_ACSMDESTMAP0_MASK GENMASK_32(11, 8)
  4806. #define CSR_ACSMODTMAP0_LSB 12
  4807. #define CSR_ACSMODTMAP0_MASK GENMASK_32(14, 12)
  4808. /* CSR_ACSMCSMAPCTRL1 */
  4809. #define CSR_ACSMCSMAPCTRL1_LSB 0
  4810. #define CSR_ACSMCSMAPCTRL1_MASK GENMASK_32(14, 0)
  4811. #define CSR_ACSMCSMAP1_LSB 0
  4812. #define CSR_ACSMCSMAP1_MASK GENMASK_32(7, 0)
  4813. #define CSR_ACSMDESTMAP1_LSB 8
  4814. #define CSR_ACSMDESTMAP1_MASK GENMASK_32(11, 8)
  4815. #define CSR_ACSMODTMAP1_LSB 12
  4816. #define CSR_ACSMODTMAP1_MASK GENMASK_32(14, 12)
  4817. /* CSR_ACSMCSMAPCTRL2 */
  4818. #define CSR_ACSMCSMAPCTRL2_LSB 0
  4819. #define CSR_ACSMCSMAPCTRL2_MASK GENMASK_32(14, 0)
  4820. #define CSR_ACSMCSMAP2_LSB 0
  4821. #define CSR_ACSMCSMAP2_MASK GENMASK_32(7, 0)
  4822. #define CSR_ACSMDESTMAP2_LSB 8
  4823. #define CSR_ACSMDESTMAP2_MASK GENMASK_32(11, 8)
  4824. #define CSR_ACSMODTMAP2_LSB 12
  4825. #define CSR_ACSMODTMAP2_MASK GENMASK_32(14, 12)
  4826. /* CSR_ACSMCSMAPCTRL3 */
  4827. #define CSR_ACSMCSMAPCTRL3_LSB 0
  4828. #define CSR_ACSMCSMAPCTRL3_MASK GENMASK_32(14, 0)
  4829. #define CSR_ACSMCSMAP3_LSB 0
  4830. #define CSR_ACSMCSMAP3_MASK GENMASK_32(7, 0)
  4831. #define CSR_ACSMDESTMAP3_LSB 8
  4832. #define CSR_ACSMDESTMAP3_MASK GENMASK_32(11, 8)
  4833. #define CSR_ACSMODTMAP3_LSB 12
  4834. #define CSR_ACSMODTMAP3_MASK GENMASK_32(14, 12)
  4835. /* CSR_ACSMCSMAPCTRL4 */
  4836. #define CSR_ACSMCSMAPCTRL4_LSB 0
  4837. #define CSR_ACSMCSMAPCTRL4_MASK GENMASK_32(14, 0)
  4838. #define CSR_ACSMCSMAP4_LSB 0
  4839. #define CSR_ACSMCSMAP4_MASK GENMASK_32(7, 0)
  4840. #define CSR_ACSMDESTMAP4_LSB 8
  4841. #define CSR_ACSMDESTMAP4_MASK GENMASK_32(11, 8)
  4842. #define CSR_ACSMODTMAP4_LSB 12
  4843. #define CSR_ACSMODTMAP4_MASK GENMASK_32(14, 12)
  4844. /* CSR_ACSMCSMAPCTRL5 */
  4845. #define CSR_ACSMCSMAPCTRL5_LSB 0
  4846. #define CSR_ACSMCSMAPCTRL5_MASK GENMASK_32(14, 0)
  4847. #define CSR_ACSMCSMAP5_LSB 0
  4848. #define CSR_ACSMCSMAP5_MASK GENMASK_32(7, 0)
  4849. #define CSR_ACSMDESTMAP5_LSB 8
  4850. #define CSR_ACSMDESTMAP5_MASK GENMASK_32(11, 8)
  4851. #define CSR_ACSMODTMAP5_LSB 12
  4852. #define CSR_ACSMODTMAP5_MASK GENMASK_32(14, 12)
  4853. /* CSR_ACSMCSMAPCTRL6 */
  4854. #define CSR_ACSMCSMAPCTRL6_LSB 0
  4855. #define CSR_ACSMCSMAPCTRL6_MASK GENMASK_32(14, 0)
  4856. #define CSR_ACSMCSMAP6_LSB 0
  4857. #define CSR_ACSMCSMAP6_MASK GENMASK_32(7, 0)
  4858. #define CSR_ACSMDESTMAP6_LSB 8
  4859. #define CSR_ACSMDESTMAP6_MASK GENMASK_32(11, 8)
  4860. #define CSR_ACSMODTMAP6_LSB 12
  4861. #define CSR_ACSMODTMAP6_MASK GENMASK_32(14, 12)
  4862. /* CSR_ACSMCSMAPCTRL7 */
  4863. #define CSR_ACSMCSMAPCTRL7_LSB 0
  4864. #define CSR_ACSMCSMAPCTRL7_MASK GENMASK_32(14, 0)
  4865. #define CSR_ACSMCSMAP7_LSB 0
  4866. #define CSR_ACSMCSMAP7_MASK GENMASK_32(7, 0)
  4867. #define CSR_ACSMDESTMAP7_LSB 8
  4868. #define CSR_ACSMDESTMAP7_MASK GENMASK_32(11, 8)
  4869. #define CSR_ACSMODTMAP7_LSB 12
  4870. #define CSR_ACSMODTMAP7_MASK GENMASK_32(14, 12)
  4871. /* CSR_ACSMCSMAPCTRL8 */
  4872. #define CSR_ACSMCSMAPCTRL8_LSB 0
  4873. #define CSR_ACSMCSMAPCTRL8_MASK GENMASK_32(14, 0)
  4874. #define CSR_ACSMCSMAP8_LSB 0
  4875. #define CSR_ACSMCSMAP8_MASK GENMASK_32(7, 0)
  4876. #define CSR_ACSMDESTMAP8_LSB 8
  4877. #define CSR_ACSMDESTMAP8_MASK GENMASK_32(11, 8)
  4878. #define CSR_ACSMODTMAP8_LSB 12
  4879. #define CSR_ACSMODTMAP8_MASK GENMASK_32(14, 12)
  4880. /* CSR_ACSMCSMAPCTRL9 */
  4881. #define CSR_ACSMCSMAPCTRL9_LSB 0
  4882. #define CSR_ACSMCSMAPCTRL9_MASK GENMASK_32(14, 0)
  4883. #define CSR_ACSMCSMAP9_LSB 0
  4884. #define CSR_ACSMCSMAP9_MASK GENMASK_32(7, 0)
  4885. #define CSR_ACSMDESTMAP9_LSB 8
  4886. #define CSR_ACSMDESTMAP9_MASK GENMASK_32(11, 8)
  4887. #define CSR_ACSMODTMAP9_LSB 12
  4888. #define CSR_ACSMODTMAP9_MASK GENMASK_32(14, 12)
  4889. /* CSR_ACSMCSMAPCTRL10 */
  4890. #define CSR_ACSMCSMAPCTRL10_LSB 0
  4891. #define CSR_ACSMCSMAPCTRL10_MASK GENMASK_32(14, 0)
  4892. #define CSR_ACSMCSMAP10_LSB 0
  4893. #define CSR_ACSMCSMAP10_MASK GENMASK_32(7, 0)
  4894. #define CSR_ACSMDESTMAP10_LSB 8
  4895. #define CSR_ACSMDESTMAP10_MASK GENMASK_32(11, 8)
  4896. #define CSR_ACSMODTMAP10_LSB 12
  4897. #define CSR_ACSMODTMAP10_MASK GENMASK_32(14, 12)
  4898. /* CSR_ACSMCSMAPCTRL11 */
  4899. #define CSR_ACSMCSMAPCTRL11_LSB 0
  4900. #define CSR_ACSMCSMAPCTRL11_MASK GENMASK_32(14, 0)
  4901. #define CSR_ACSMCSMAP11_LSB 0
  4902. #define CSR_ACSMCSMAP11_MASK GENMASK_32(7, 0)
  4903. #define CSR_ACSMDESTMAP11_LSB 8
  4904. #define CSR_ACSMDESTMAP11_MASK GENMASK_32(11, 8)
  4905. #define CSR_ACSMODTMAP11_LSB 12
  4906. #define CSR_ACSMODTMAP11_MASK GENMASK_32(14, 12)
  4907. /* CSR_ACSMCSMAPCTRL12 */
  4908. #define CSR_ACSMCSMAPCTRL12_LSB 0
  4909. #define CSR_ACSMCSMAPCTRL12_MASK GENMASK_32(14, 0)
  4910. #define CSR_ACSMCSMAP12_LSB 0
  4911. #define CSR_ACSMCSMAP12_MASK GENMASK_32(7, 0)
  4912. #define CSR_ACSMDESTMAP12_LSB 8
  4913. #define CSR_ACSMDESTMAP12_MASK GENMASK_32(11, 8)
  4914. #define CSR_ACSMODTMAP12_LSB 12
  4915. #define CSR_ACSMODTMAP12_MASK GENMASK_32(14, 12)
  4916. /* CSR_ACSMCSMAPCTRL13 */
  4917. #define CSR_ACSMCSMAPCTRL13_LSB 0
  4918. #define CSR_ACSMCSMAPCTRL13_MASK GENMASK_32(14, 0)
  4919. #define CSR_ACSMCSMAP13_LSB 0
  4920. #define CSR_ACSMCSMAP13_MASK GENMASK_32(7, 0)
  4921. #define CSR_ACSMDESTMAP13_LSB 8
  4922. #define CSR_ACSMDESTMAP13_MASK GENMASK_32(11, 8)
  4923. #define CSR_ACSMODTMAP13_LSB 12
  4924. #define CSR_ACSMODTMAP13_MASK GENMASK_32(14, 12)
  4925. /* CSR_ACSMCSMAPCTRL14 */
  4926. #define CSR_ACSMCSMAPCTRL14_LSB 0
  4927. #define CSR_ACSMCSMAPCTRL14_MASK GENMASK_32(14, 0)
  4928. #define CSR_ACSMCSMAP14_LSB 0
  4929. #define CSR_ACSMCSMAP14_MASK GENMASK_32(7, 0)
  4930. #define CSR_ACSMDESTMAP14_LSB 8
  4931. #define CSR_ACSMDESTMAP14_MASK GENMASK_32(11, 8)
  4932. #define CSR_ACSMODTMAP14_LSB 12
  4933. #define CSR_ACSMODTMAP14_MASK GENMASK_32(14, 12)
  4934. /* CSR_ACSMCSMAPCTRL15 */
  4935. #define CSR_ACSMCSMAPCTRL15_LSB 0
  4936. #define CSR_ACSMCSMAPCTRL15_MASK GENMASK_32(14, 0)
  4937. #define CSR_ACSMCSMAP15_LSB 0
  4938. #define CSR_ACSMCSMAP15_MASK GENMASK_32(7, 0)
  4939. #define CSR_ACSMDESTMAP15_LSB 8
  4940. #define CSR_ACSMDESTMAP15_MASK GENMASK_32(11, 8)
  4941. #define CSR_ACSMODTMAP15_LSB 12
  4942. #define CSR_ACSMODTMAP15_MASK GENMASK_32(14, 12)
  4943. /* CSR_ACSMODTCTRL0 */
  4944. #define CSR_ACSMODTCTRL0_LSB 0
  4945. #define CSR_ACSMODTCTRL0_MASK GENMASK_32(7, 0)
  4946. #define CSR_ACSMODTWRPATCS0_LSB 0
  4947. #define CSR_ACSMODTWRPATCS0_MASK GENMASK_32(3, 0)
  4948. #define CSR_ACSMODTRDPATCS0_LSB 4
  4949. #define CSR_ACSMODTRDPATCS0_MASK GENMASK_32(7, 4)
  4950. /* CSR_ACSMODTCTRL1 */
  4951. #define CSR_ACSMODTCTRL1_LSB 0
  4952. #define CSR_ACSMODTCTRL1_MASK GENMASK_32(7, 0)
  4953. #define CSR_ACSMODTWRPATCS1_LSB 0
  4954. #define CSR_ACSMODTWRPATCS1_MASK GENMASK_32(3, 0)
  4955. #define CSR_ACSMODTRDPATCS1_LSB 4
  4956. #define CSR_ACSMODTRDPATCS1_MASK GENMASK_32(7, 4)
  4957. /* CSR_ACSMODTCTRL2 */
  4958. #define CSR_ACSMODTCTRL2_LSB 0
  4959. #define CSR_ACSMODTCTRL2_MASK GENMASK_32(7, 0)
  4960. #define CSR_ACSMODTWRPATCS2_LSB 0
  4961. #define CSR_ACSMODTWRPATCS2_MASK GENMASK_32(3, 0)
  4962. #define CSR_ACSMODTRDPATCS2_LSB 4
  4963. #define CSR_ACSMODTRDPATCS2_MASK GENMASK_32(7, 4)
  4964. /* CSR_ACSMODTCTRL3 */
  4965. #define CSR_ACSMODTCTRL3_LSB 0
  4966. #define CSR_ACSMODTCTRL3_MASK GENMASK_32(7, 0)
  4967. #define CSR_ACSMODTWRPATCS3_LSB 0
  4968. #define CSR_ACSMODTWRPATCS3_MASK GENMASK_32(3, 0)
  4969. #define CSR_ACSMODTRDPATCS3_LSB 4
  4970. #define CSR_ACSMODTRDPATCS3_MASK GENMASK_32(7, 4)
  4971. /* CSR_ACSMODTCTRL4 */
  4972. #define CSR_ACSMODTCTRL4_LSB 0
  4973. #define CSR_ACSMODTCTRL4_MASK GENMASK_32(7, 0)
  4974. #define CSR_ACSMODTWRPATCS4_LSB 0
  4975. #define CSR_ACSMODTWRPATCS4_MASK GENMASK_32(3, 0)
  4976. #define CSR_ACSMODTRDPATCS4_LSB 4
  4977. #define CSR_ACSMODTRDPATCS4_MASK GENMASK_32(7, 4)
  4978. /* CSR_ACSMODTCTRL5 */
  4979. #define CSR_ACSMODTCTRL5_LSB 0
  4980. #define CSR_ACSMODTCTRL5_MASK GENMASK_32(7, 0)
  4981. #define CSR_ACSMODTWRPATCS5_LSB 0
  4982. #define CSR_ACSMODTWRPATCS5_MASK GENMASK_32(3, 0)
  4983. #define CSR_ACSMODTRDPATCS5_LSB 4
  4984. #define CSR_ACSMODTRDPATCS5_MASK GENMASK_32(7, 4)
  4985. /* CSR_ACSMODTCTRL6 */
  4986. #define CSR_ACSMODTCTRL6_LSB 0
  4987. #define CSR_ACSMODTCTRL6_MASK GENMASK_32(7, 0)
  4988. #define CSR_ACSMODTWRPATCS6_LSB 0
  4989. #define CSR_ACSMODTWRPATCS6_MASK GENMASK_32(3, 0)
  4990. #define CSR_ACSMODTRDPATCS6_LSB 4
  4991. #define CSR_ACSMODTRDPATCS6_MASK GENMASK_32(7, 4)
  4992. /* CSR_ACSMODTCTRL7 */
  4993. #define CSR_ACSMODTCTRL7_LSB 0
  4994. #define CSR_ACSMODTCTRL7_MASK GENMASK_32(7, 0)
  4995. #define CSR_ACSMODTWRPATCS7_LSB 0
  4996. #define CSR_ACSMODTWRPATCS7_MASK GENMASK_32(3, 0)
  4997. #define CSR_ACSMODTRDPATCS7_LSB 4
  4998. #define CSR_ACSMODTRDPATCS7_MASK GENMASK_32(7, 4)
  4999. /* CSR_ACSMODTCTRL8 */
  5000. #define CSR_ACSMODTCTRL8_LSB 0
  5001. #define CSR_ACSMODTCTRL8_MASK GENMASK_32(15, 0)
  5002. #define CSR_ACSMODTWRDURCTRL_LSB 0
  5003. #define CSR_ACSMODTWRDURCTRL_MASK GENMASK_32(3, 0)
  5004. #define CSR_ACSMODTRDDURCTRL_LSB 4
  5005. #define CSR_ACSMODTRDDURCTRL_MASK GENMASK_32(7, 4)
  5006. #define CSR_ACSMODTWRSTRTCTRL_LSB 8
  5007. #define CSR_ACSMODTWRSTRTCTRL_MASK GENMASK_32(11, 8)
  5008. #define CSR_ACSMODTRDSTRTCTRL_LSB 12
  5009. #define CSR_ACSMODTRDSTRTCTRL_MASK GENMASK_32(15, 12)
  5010. /* CSR_ACSMCTRL16 */
  5011. #define CSR_ACSMCTRL16_LSB 0
  5012. #define CSR_ACSMCTRL16_MASK GENMASK_32(15, 0)
  5013. #define CSR_ACSMDDRADRUP_LSB 0
  5014. #define CSR_ACSMDDRADRUP_MASK GENMASK_32(3, 0)
  5015. #define CSR_ACSMHIGHADDR_LSB 4
  5016. #define CSR_ACSMHIGHADDR_MASK BIT(4)
  5017. #define CSR_ACSMADR13PLUGHOLE_LSB 5
  5018. #define CSR_ACSMADR13PLUGHOLE_MASK BIT(5)
  5019. #define CSR_ACSMCTRL16RSVD_LSB 6
  5020. #define CSR_ACSMCTRL16RSVD_MASK BIT(6)
  5021. #define CSR_ACSMWRTLVLODTCTRL_LSB 7
  5022. #define CSR_ACSMWRTLVLODTCTRL_MASK BIT(7)
  5023. #define CSR_ACSMWRTLVLODT_LSB 8
  5024. #define CSR_ACSMWRTLVLODT_MASK GENMASK_32(11, 8)
  5025. #define CSR_ACSM2TGRPINHIBIT_LSB 12
  5026. #define CSR_ACSM2TGRPINHIBIT_MASK GENMASK_32(15, 12)
  5027. /* CSR_LOWSPEEDCLOCKSTOPVAL */
  5028. #define CSR_LOWSPEEDCLOCKSTOPVAL_LSB 0
  5029. #define CSR_LOWSPEEDCLOCKSTOPVAL_MASK BIT(0)
  5030. /* CSR_ACSMCTRL18 */
  5031. #define CSR_ACSMCTRL18_LSB 0
  5032. #define CSR_ACSMCTRL18_MASK GENMASK_32(1, 0)
  5033. #define CSR_ACSMLOCALDONE_LSB 0
  5034. #define CSR_ACSMLOCALDONE_MASK BIT(0)
  5035. #define CSR_ACSMSTOPONERRASRTD_LSB 1
  5036. #define CSR_ACSMSTOPONERRASRTD_MASK BIT(1)
  5037. /* CSR_ACSMCTRL19 */
  5038. #define CSR_ACSMCTRL19_LSB 0
  5039. #define CSR_ACSMCTRL19_MASK GENMASK_32(2, 0)
  5040. #define CSR_ACSMVISSEL_LSB 0
  5041. #define CSR_ACSMVISSEL_MASK GENMASK_32(2, 0)
  5042. /* CSR_ACSMCTRL20 */
  5043. #define CSR_ACSMCTRL20_LSB 0
  5044. #define CSR_ACSMCTRL20_MASK GENMASK_32(15, 0)
  5045. #define CSR_ACSMVISVAL_LSB 0
  5046. #define CSR_ACSMVISVAL_MASK GENMASK_32(15, 0)
  5047. /* CSR_ACSMCTRL21 */
  5048. #define CSR_ACSMCTRL21_LSB 0
  5049. #define CSR_ACSMCTRL21_MASK GENMASK_32(11, 0)
  5050. #define CSR_ACSMMAPDIMMCS0_LSB 0
  5051. #define CSR_ACSMMAPDIMMCS0_MASK GENMASK_32(2, 0)
  5052. #define CSR_ACSMMAPDIMMCS1_LSB 3
  5053. #define CSR_ACSMMAPDIMMCS1_MASK GENMASK_32(5, 3)
  5054. #define CSR_ACSMMAPDIMMCS2_LSB 6
  5055. #define CSR_ACSMMAPDIMMCS2_MASK GENMASK_32(8, 6)
  5056. #define CSR_ACSMMAPDIMMCS3_LSB 9
  5057. #define CSR_ACSMMAPDIMMCS3_MASK GENMASK_32(11, 9)
  5058. /* CSR_ACSMCTRL22 */
  5059. #define CSR_ACSMCTRL22_LSB 0
  5060. #define CSR_ACSMCTRL22_MASK GENMASK_32(11, 0)
  5061. #define CSR_ACSMMAPDIMMCS4_LSB 0
  5062. #define CSR_ACSMMAPDIMMCS4_MASK GENMASK_32(2, 0)
  5063. #define CSR_ACSMMAPDIMMCS5_LSB 3
  5064. #define CSR_ACSMMAPDIMMCS5_MASK GENMASK_32(5, 3)
  5065. #define CSR_ACSMMAPDIMMCS6_LSB 6
  5066. #define CSR_ACSMMAPDIMMCS6_MASK GENMASK_32(8, 6)
  5067. #define CSR_ACSMMAPDIMMCS7_LSB 9
  5068. #define CSR_ACSMMAPDIMMCS7_MASK GENMASK_32(11, 9)
  5069. /* CSR_ACSMCTRL0 */
  5070. #define CSR_ACSMCTRL0_LSB 0
  5071. #define CSR_ACSMCTRL0_MASK GENMASK_32(15, 0)
  5072. #define CSR_ACSMRSVDCTRL00_LSB 0
  5073. #define CSR_ACSMRSVDCTRL00_MASK BIT(0)
  5074. #define CSR_ACSMDYNBLMODE_LSB 1
  5075. #define CSR_ACSMDYNBLMODE_MASK BIT(1)
  5076. #define CSR_ACSMBURSTLEN_LSB 2
  5077. #define CSR_ACSMBURSTLEN_MASK BIT(2)
  5078. #define CSR_ACSMINFLOOP_LSB 3
  5079. #define CSR_ACSMINFLOOP_MASK BIT(3)
  5080. #define CSR_ACSMRXVALMODE_LSB 4
  5081. #define CSR_ACSMRXVALMODE_MASK BIT(4)
  5082. #define CSR_ACSMSTPONERRMODE_LSB 5
  5083. #define CSR_ACSMSTPONERRMODE_MASK BIT(5)
  5084. #define CSR_ACSM2TMODE_LSB 6
  5085. #define CSR_ACSM2TMODE_MASK BIT(6)
  5086. #define CSR_ACSMTRAINSOEMODE_LSB 7
  5087. #define CSR_ACSMTRAINSOEMODE_MASK BIT(7)
  5088. #define CSR_ACSMGATEDDRCMD_LSB 8
  5089. #define CSR_ACSMGATEDDRCMD_MASK BIT(8)
  5090. #define CSR_ACSMGEARDOWNMODE_LSB 9
  5091. #define CSR_ACSMGEARDOWNMODE_MASK BIT(9)
  5092. #define CSR_ACSMGEARDOWNPHASE_LSB 10
  5093. #define CSR_ACSMGEARDOWNPHASE_MASK BIT(10)
  5094. #define CSR_ACSMGEARDOWNSYNC_LSB 11
  5095. #define CSR_ACSMGEARDOWNSYNC_MASK BIT(11)
  5096. #define CSR_ACSMCAPRBSMODE_LSB 12
  5097. #define CSR_ACSMCAPRBSMODE_MASK BIT(12)
  5098. #define CSR_ACSMGATERXFIFOWRITE_LSB 13
  5099. #define CSR_ACSMGATERXFIFOWRITE_MASK BIT(13)
  5100. #define CSR_ACSMPARMODE_LSB 14
  5101. #define CSR_ACSMPARMODE_MASK BIT(14)
  5102. #define CSR_ACSMTDSMODE_LSB 15
  5103. #define CSR_ACSMTDSMODE_MASK BIT(15)
  5104. /* CSR_ACSMCTRL1 */
  5105. #define CSR_ACSMCTRL1_LSB 0
  5106. #define CSR_ACSMCTRL1_MASK GENMASK_32(15, 0)
  5107. #define CSR_ACSMREPCNT_LSB 0
  5108. #define CSR_ACSMREPCNT_MASK GENMASK_32(15, 0)
  5109. /* CSR_ACSMCTRL2 */
  5110. #define CSR_ACSMCTRL2_LSB 0
  5111. #define CSR_ACSMCTRL2_MASK GENMASK_32(4, 0)
  5112. #define CSR_ACSMSTARTPTR_LSB 0
  5113. #define CSR_ACSMSTARTPTR_MASK GENMASK_32(4, 0)
  5114. /* CSR_ACSMCTRL3 */
  5115. #define CSR_ACSMCTRL3_LSB 0
  5116. #define CSR_ACSMCTRL3_MASK GENMASK_32(4, 0)
  5117. #define CSR_ACSMLOOPPTR_LSB 0
  5118. #define CSR_ACSMLOOPPTR_MASK GENMASK_32(4, 0)
  5119. /* CSR_ACSMCTRL4 */
  5120. #define CSR_ACSMCTRL4_LSB 0
  5121. #define CSR_ACSMCTRL4_MASK GENMASK_32(4, 0)
  5122. #define CSR_ACSMENDPTR_LSB 0
  5123. #define CSR_ACSMENDPTR_MASK GENMASK_32(4, 0)
  5124. /* CSR_ACSMCTRL5 */
  5125. #define CSR_ACSMCTRL5_LSB 0
  5126. #define CSR_ACSMCTRL5_MASK GENMASK_32(13, 0)
  5127. #define CSR_ACSMMXRDLAT_LSB 0
  5128. #define CSR_ACSMMXRDLAT_MASK GENMASK_32(7, 0)
  5129. #define CSR_ACSMRCASLAT_LSB 8
  5130. #define CSR_ACSMRCASLAT_MASK GENMASK_32(13, 8)
  5131. /* CSR_ACSMCTRL6 */
  5132. #define CSR_ACSMCTRL6_LSB 0
  5133. #define CSR_ACSMCTRL6_MASK GENMASK_32(10, 0)
  5134. #define CSR_ACSMWCASLAT_LSB 0
  5135. #define CSR_ACSMWCASLAT_MASK GENMASK_32(5, 0)
  5136. #define CSR_ACSMWRRSVD_LSB 6
  5137. #define CSR_ACSMWRRSVD_MASK GENMASK_32(7, 6)
  5138. #define CSR_ACSMWRDATLAT_LSB 8
  5139. #define CSR_ACSMWRDATLAT_MASK GENMASK_32(10, 8)
  5140. /* CSR_ACSMCTRL7 */
  5141. #define CSR_ACSMCTRL7_LSB 0
  5142. #define CSR_ACSMCTRL7_MASK GENMASK_32(15, 0)
  5143. #define CSR_ACSMRASPCFG_LSB 0
  5144. #define CSR_ACSMRASPCFG_MASK GENMASK_32(15, 0)
  5145. /* CSR_ACSMCTRL8 */
  5146. #define CSR_ACSMCTRL8_LSB 0
  5147. #define CSR_ACSMCTRL8_MASK GENMASK_32(15, 0)
  5148. #define CSR_ACSMRASPSEED_LSB 0
  5149. #define CSR_ACSMRASPSEED_MASK GENMASK_32(15, 0)
  5150. /* CSR_ACSMCTRL9 */
  5151. #define CSR_ACSMCTRL9_LSB 0
  5152. #define CSR_ACSMCTRL9_MASK GENMASK_32(15, 0)
  5153. #define CSR_ACSMCASPCFG_LSB 0
  5154. #define CSR_ACSMCASPCFG_MASK GENMASK_32(15, 0)
  5155. /* CSR_ACSMCTRL10 */
  5156. #define CSR_ACSMCTRL10_LSB 0
  5157. #define CSR_ACSMCTRL10_MASK GENMASK_32(15, 0)
  5158. #define CSR_ACSMCASPSEED_LSB 0
  5159. #define CSR_ACSMCASPSEED_MASK GENMASK_32(15, 0)
  5160. /* CSR_ACSMCTRL11 */
  5161. #define CSR_ACSMCTRL11_LSB 0
  5162. #define CSR_ACSMCTRL11_MASK GENMASK_32(15, 0)
  5163. #define CSR_ACSMRASADRINC_LSB 0
  5164. #define CSR_ACSMRASADRINC_MASK GENMASK_32(7, 0)
  5165. #define CSR_ACSMCASADRINC_LSB 8
  5166. #define CSR_ACSMCASADRINC_MASK GENMASK_32(15, 8)
  5167. /* CSR_ACSMCTRL12 */
  5168. #define CSR_ACSMCTRL12_LSB 0
  5169. #define CSR_ACSMCTRL12_MASK GENMASK_32(11, 0)
  5170. #define CSR_ACSMBNKPCFG_LSB 0
  5171. #define CSR_ACSMBNKPCFG_MASK GENMASK_32(3, 0)
  5172. #define CSR_ACSMBNKPSEED_LSB 4
  5173. #define CSR_ACSMBNKPSEED_MASK GENMASK_32(7, 4)
  5174. #define CSR_ACSMBNKADRINC_LSB 8
  5175. #define CSR_ACSMBNKADRINC_MASK GENMASK_32(11, 8)
  5176. /* CSR_ACSMCTRL13 */
  5177. #define CSR_ACSMCTRL13_LSB 0
  5178. #define CSR_ACSMCTRL13_MASK GENMASK_32(3, 0)
  5179. #define CSR_ACSMCKEENB_LSB 0
  5180. #define CSR_ACSMCKEENB_MASK GENMASK_32(3, 0)
  5181. /* CSR_ACSMCTRL14 */
  5182. #define CSR_ACSMCTRL14_LSB 0
  5183. #define CSR_ACSMCTRL14_MASK GENMASK_32(3, 0)
  5184. #define CSR_ACSMRASPCFGUP_LSB 0
  5185. #define CSR_ACSMRASPCFGUP_MASK GENMASK_32(3, 0)
  5186. /* CSR_ACSMCTRL15 */
  5187. #define CSR_ACSMCTRL15_LSB 0
  5188. #define CSR_ACSMCTRL15_MASK GENMASK_32(3, 0)
  5189. #define CSR_ACSMRASPSEEDUP_LSB 0
  5190. #define CSR_ACSMRASPSEEDUP_MASK GENMASK_32(3, 0)
  5191. /* PPGC0 register offsets */
  5192. /* CSR_PPGCCTRL1 */
  5193. #define CSR_PPGCCTRL1_LSB 1
  5194. #define CSR_PPGCCTRL1_MASK GENMASK_32(4, 1)
  5195. #define CSR_HWTTXDBIEN_LSB 1
  5196. #define CSR_HWTTXDBIEN_MASK BIT(1)
  5197. #define CSR_HWTRXDBIEN_LSB 2
  5198. #define CSR_HWTRXDBIEN_MASK BIT(2)
  5199. #define CSR_HWTTXDMDBIVAL_LSB 3
  5200. #define CSR_HWTTXDMDBIVAL_MASK BIT(3)
  5201. #define CSR_HWTTXDMDBISEL_LSB 4
  5202. #define CSR_HWTTXDMDBISEL_MASK BIT(4)
  5203. /* CSR_PPGCLANE2CRCINMAP0 */
  5204. #define CSR_PPGCLANE2CRCINMAP0_LSB 0
  5205. #define CSR_PPGCLANE2CRCINMAP0_MASK GENMASK_32(11, 0)
  5206. #define CSR_PPGCCRCLANEMAP0_LSB 0
  5207. #define CSR_PPGCCRCLANEMAP0_MASK GENMASK_32(2, 0)
  5208. #define CSR_PPGCCRCLANEMAP1_LSB 3
  5209. #define CSR_PPGCCRCLANEMAP1_MASK GENMASK_32(5, 3)
  5210. #define CSR_PPGCCRCLANEMAP2_LSB 6
  5211. #define CSR_PPGCCRCLANEMAP2_MASK GENMASK_32(8, 6)
  5212. #define CSR_PPGCCRCLANEMAP3_LSB 9
  5213. #define CSR_PPGCCRCLANEMAP3_MASK GENMASK_32(11, 9)
  5214. /* CSR_PPGCLANE2CRCINMAP1 */
  5215. #define CSR_PPGCLANE2CRCINMAP1_LSB 0
  5216. #define CSR_PPGCLANE2CRCINMAP1_MASK GENMASK_32(11, 0)
  5217. #define CSR_PPGCCRCLANEMAP4_LSB 0
  5218. #define CSR_PPGCCRCLANEMAP4_MASK GENMASK_32(2, 0)
  5219. #define CSR_PPGCCRCLANEMAP5_LSB 3
  5220. #define CSR_PPGCCRCLANEMAP5_MASK GENMASK_32(5, 3)
  5221. #define CSR_PPGCCRCLANEMAP6_LSB 6
  5222. #define CSR_PPGCCRCLANEMAP6_MASK GENMASK_32(8, 6)
  5223. #define CSR_PPGCCRCLANEMAP7_LSB 9
  5224. #define CSR_PPGCCRCLANEMAP7_MASK GENMASK_32(11, 9)
  5225. /* CSR_PRBSTAPDLY0 */
  5226. #define CSR_PRBSTAPDLY0_LSB 0
  5227. #define CSR_PRBSTAPDLY0_MASK GENMASK_32(15, 0)
  5228. /* CSR_PRBSTAPDLY1 */
  5229. #define CSR_PRBSTAPDLY1_LSB 0
  5230. #define CSR_PRBSTAPDLY1_MASK GENMASK_32(15, 0)
  5231. /* CSR_PRBSTAPDLY2 */
  5232. #define CSR_PRBSTAPDLY2_LSB 0
  5233. #define CSR_PRBSTAPDLY2_MASK GENMASK_32(15, 0)
  5234. /* CSR_PRBSTAPDLY3 */
  5235. #define CSR_PRBSTAPDLY3_LSB 0
  5236. #define CSR_PRBSTAPDLY3_MASK GENMASK_32(15, 0)
  5237. /* CSR_GENPRBSBYTE0 */
  5238. #define CSR_GENPRBSBYTE0_LSB 0
  5239. #define CSR_GENPRBSBYTE0_MASK GENMASK_32(15, 0)
  5240. /* CSR_GENPRBSBYTE1² */
  5241. #define CSR_GENPRBSBYTE1_LSB 0
  5242. #define CSR_GENPRBSBYTE1_MASK GENMASK_32(15, 0)
  5243. /* CSR_GENPRBSBYTE2 */
  5244. #define CSR_GENPRBSBYTE2_LSB 0
  5245. #define CSR_GENPRBSBYTE2_MASK GENMASK_32(15, 0)
  5246. /* CSR_GENPRBSBYTE3 */
  5247. #define CSR_GENPRBSBYTE3_LSB 0
  5248. #define CSR_GENPRBSBYTE3_MASK GENMASK_32(15, 0)
  5249. /* CSR_GENPRBSBYTE4 */
  5250. #define CSR_GENPRBSBYTE4_LSB 0
  5251. #define CSR_GENPRBSBYTE4_MASK GENMASK_32(15, 0)
  5252. /* CSR_GENPRBSBYTE5 */
  5253. #define CSR_GENPRBSBYTE5_LSB 0
  5254. #define CSR_GENPRBSBYTE5_MASK GENMASK_32(15, 0)
  5255. /* CSR_GENPRBSBYTE6 */
  5256. #define CSR_GENPRBSBYTE6_LSB 0
  5257. #define CSR_GENPRBSBYTE6_MASK GENMASK_32(15, 0)
  5258. /* CSR_GENPRBSBYTE7 */
  5259. #define CSR_GENPRBSBYTE7_LSB 0
  5260. #define CSR_GENPRBSBYTE7_MASK GENMASK_32(15, 0)
  5261. /* CSR_GENPRBSBYTE8 */
  5262. #define CSR_GENPRBSBYTE8_LSB 0
  5263. #define CSR_GENPRBSBYTE8_MASK GENMASK_32(15, 0)
  5264. /* CSR_GENPRBSBYTE9 */
  5265. #define CSR_GENPRBSBYTE9_LSB 0
  5266. #define CSR_GENPRBSBYTE9_MASK GENMASK_32(15, 0)
  5267. /* CSR_GENPRBSBYTE10 */
  5268. #define CSR_GENPRBSBYTE10_LSB 0
  5269. #define CSR_GENPRBSBYTE10_MASK GENMASK_32(15, 0)
  5270. /* CSR_GENPRBSBYTE11 */
  5271. #define CSR_GENPRBSBYTE11_LSB 0
  5272. #define CSR_GENPRBSBYTE11_MASK GENMASK_32(15, 0)
  5273. /* CSR_GENPRBSBYTE12 */
  5274. #define CSR_GENPRBSBYTE12_LSB 0
  5275. #define CSR_GENPRBSBYTE12_MASK GENMASK_32(15, 0)
  5276. /* CSR_GENPRBSBYTE13 */
  5277. #define CSR_GENPRBSBYTE13_LSB 0
  5278. #define CSR_GENPRBSBYTE13_MASK GENMASK_32(15, 0)
  5279. /* CSR_GENPRBSBYTE14 */
  5280. #define CSR_GENPRBSBYTE14_LSB 0
  5281. #define CSR_GENPRBSBYTE14_MASK GENMASK_32(15, 0)
  5282. /* CSR_GENPRBSBYTE15 */
  5283. #define CSR_GENPRBSBYTE15_LSB 0
  5284. #define CSR_GENPRBSBYTE15_MASK GENMASK_32(15, 0)
  5285. /* CSR_PRBSGENCTL */
  5286. #define CSR_PRBSGENCTL_LSB 0
  5287. #define CSR_PRBSGENCTL_MASK GENMASK_32(6, 0)
  5288. #define CSR_PPGCMODE_LSB 0
  5289. #define CSR_PPGCMODE_MASK BIT(0)
  5290. #define CSR_PPGCDMMODE_LSB 1
  5291. #define CSR_PPGCDMMODE_MASK BIT(1)
  5292. #define CSR_PPGCLDFFMODE_LSB 2
  5293. #define CSR_PPGCLDFFMODE_MASK BIT(2)
  5294. #define CSR_PPGCSEL23BPRBS_LSB 3
  5295. #define CSR_PPGCSEL23BPRBS_MASK BIT(3)
  5296. #define CSR_PPGCPATADV_LSB 4
  5297. #define CSR_PPGCPATADV_MASK GENMASK_32(5, 4)
  5298. #define CSR_PPGCENBPATSTRESSMODE_LSB 6
  5299. #define CSR_PPGCENBPATSTRESSMODE_MASK BIT(6)
  5300. /* CSR_PRBSGENSTATELO */
  5301. #define CSR_PRBSGENSTATELO_LSB 0
  5302. #define CSR_PRBSGENSTATELO_MASK GENMASK_32(15, 0)
  5303. /* CSR_PRBSGENSTATEHI */
  5304. #define CSR_PRBSGENSTATEHI_LSB 0
  5305. #define CSR_PRBSGENSTATEHI_MASK GENMASK_32(6, 0)
  5306. /* CSR_PRBSCHKSTATELO */
  5307. #define CSR_PRBSCHKSTATELO_LSB 0
  5308. #define CSR_PRBSCHKSTATELO_MASK GENMASK_32(15, 0)
  5309. /* CSR_PRBSCHKSTATEHI */
  5310. #define CSR_PRBSCHKSTATEHI_LSB 0
  5311. #define CSR_PRBSCHKSTATEHI_MASK GENMASK_32(6, 0)
  5312. /* CSR_PRBSGENCTL1 */
  5313. #define CSR_PRBSGENCTL1_LSB 0
  5314. #define CSR_PRBSGENCTL1_MASK GENMASK_32(8, 0)
  5315. #define CSR_PPGCMODELANE_LSB 0
  5316. #define CSR_PPGCMODELANE_MASK GENMASK_32(8, 0)
  5317. /* CSR_PRBSGENCTL2 */
  5318. #define CSR_PRBSGENCTL2_LSB 0
  5319. #define CSR_PRBSGENCTL2_MASK GENMASK_32(15, 0)
  5320. #define CSR_PPGCMSKPERIODLIM_LSB 0
  5321. #define CSR_PPGCMSKPERIODLIM_MASK GENMASK_32(15, 0)
  5322. /* INITENG0 register offsets */
  5323. /* CSR_PRESEQUENCEREG0B0S0 */
  5324. #define CSR_PRESEQUENCEREG0B0S0_LSB 0
  5325. #define CSR_PRESEQUENCEREG0B0S0_MASK GENMASK_32(15, 0)
  5326. /* CSR_PRESEQUENCEREG0B0S1 */
  5327. #define CSR_PRESEQUENCEREG0B0S1_LSB 0
  5328. #define CSR_PRESEQUENCEREG0B0S1_MASK GENMASK_32(15, 0)
  5329. /* CSR_PRESEQUENCEREG0B0S2 */
  5330. #define CSR_PRESEQUENCEREG0B0S2_LSB 0
  5331. #define CSR_PRESEQUENCEREG0B0S2_MASK GENMASK_32(8, 0)
  5332. /* CSR_PRESEQUENCEREG0B1S0 */
  5333. #define CSR_PRESEQUENCEREG0B1S0_LSB 0
  5334. #define CSR_PRESEQUENCEREG0B1S0_MASK GENMASK_32(15, 0)
  5335. /* CSR_PRESEQUENCEREG0B1S1 */
  5336. #define CSR_PRESEQUENCEREG0B1S1_LSB 0
  5337. #define CSR_PRESEQUENCEREG0B1S1_MASK GENMASK_32(15, 0)
  5338. /* CSR_PRESEQUENCEREG0B1S2 */
  5339. #define CSR_PRESEQUENCEREG0B1S2_LSB 0
  5340. #define CSR_PRESEQUENCEREG0B1S2_MASK GENMASK_32(8, 0)
  5341. /* CSR_POSTSEQUENCEREG0B0S0 */
  5342. #define CSR_POSTSEQUENCEREG0B0S0_LSB 0
  5343. #define CSR_POSTSEQUENCEREG0B0S0_MASK GENMASK_32(15, 0)
  5344. /* CSR_POSTSEQUENCEREG0B0S1 */
  5345. #define CSR_POSTSEQUENCEREG0B0S1_LSB 0
  5346. #define CSR_POSTSEQUENCEREG0B0S1_MASK GENMASK_32(15, 0)
  5347. /* CSR_POSTSEQUENCEREG0B0S2 */
  5348. #define CSR_POSTSEQUENCEREG0B0S2_LSB 0
  5349. #define CSR_POSTSEQUENCEREG0B0S2_MASK GENMASK_32(8, 0)
  5350. /* CSR_POSTSEQUENCEREG0B1S0 */
  5351. #define CSR_POSTSEQUENCEREG0B1S0_LSB 0
  5352. #define CSR_POSTSEQUENCEREG0B1S0_MASK GENMASK_32(15, 0)
  5353. /* CSR_POSTSEQUENCEREG0B1S1 */
  5354. #define CSR_POSTSEQUENCEREG0B1S1_LSB 0
  5355. #define CSR_POSTSEQUENCEREG0B1S1_MASK GENMASK_32(15, 0)
  5356. /* CSR_POSTSEQUENCEREG0B1S2 */
  5357. #define CSR_POSTSEQUENCEREG0B1S2_LSB 0
  5358. #define CSR_POSTSEQUENCEREG0B1S2_MASK GENMASK_32(8, 0)
  5359. /* CSR_SEQ0BDISABLEFLAG0 */
  5360. #define CSR_SEQ0BDISABLEFLAG0_LSB 0
  5361. #define CSR_SEQ0BDISABLEFLAG0_MASK GENMASK_32(15, 0)
  5362. /* CSR_SEQ0BDISABLEFLAG1 */
  5363. #define CSR_SEQ0BDISABLEFLAG1_LSB 0
  5364. #define CSR_SEQ0BDISABLEFLAG1_MASK GENMASK_32(15, 0)
  5365. /* CSR_SEQ0BDISABLEFLAG2 */
  5366. #define CSR_SEQ0BDISABLEFLAG2_LSB 0
  5367. #define CSR_SEQ0BDISABLEFLAG2_MASK GENMASK_32(15, 0)
  5368. /* CSR_SEQ0BDISABLEFLAG3 */
  5369. #define CSR_SEQ0BDISABLEFLAG3_LSB 0
  5370. #define CSR_SEQ0BDISABLEFLAG3_MASK GENMASK_32(15, 0)
  5371. /* CSR_SEQ0BDISABLEFLAG4 */
  5372. #define CSR_SEQ0BDISABLEFLAG4_LSB 0
  5373. #define CSR_SEQ0BDISABLEFLAG4_MASK GENMASK_32(15, 0)
  5374. /* CSR_SEQ0BDISABLEFLAG5 */
  5375. #define CSR_SEQ0BDISABLEFLAG5_LSB 0
  5376. #define CSR_SEQ0BDISABLEFLAG5_MASK GENMASK_32(15, 0)
  5377. /* CSR_SEQ0BDISABLEFLAG6 */
  5378. #define CSR_SEQ0BDISABLEFLAG6_LSB 0
  5379. #define CSR_SEQ0BDISABLEFLAG6_MASK GENMASK_32(15, 0)
  5380. /* CSR_SEQ0BDISABLEFLAG7 */
  5381. #define CSR_SEQ0BDISABLEFLAG7_LSB 0
  5382. #define CSR_SEQ0BDISABLEFLAG7_MASK GENMASK_32(15, 0)
  5383. /* CSR_STARTVECTOR0B0 */
  5384. #define CSR_STARTVECTOR0B0_LSB 0
  5385. #define CSR_STARTVECTOR0B0_MASK GENMASK_32(6, 0)
  5386. #define CSR_SEQ0BSTARTVEC0_LSB 0
  5387. #define CSR_SEQ0BSTARTVEC0_MASK GENMASK_32(6, 0)
  5388. /* CSR_STARTVECTOR0B1 */
  5389. #define CSR_STARTVECTOR0B1_LSB 0
  5390. #define CSR_STARTVECTOR0B1_MASK GENMASK_32(6, 0)
  5391. #define CSR_SEQ0BSTARTVEC1_LSB 0
  5392. #define CSR_SEQ0BSTARTVEC1_MASK GENMASK_32(6, 0)
  5393. /* CSR_STARTVECTOR0B2 */
  5394. #define CSR_STARTVECTOR0B2_LSB 0
  5395. #define CSR_STARTVECTOR0B2_MASK GENMASK_32(6, 0)
  5396. #define CSR_SEQ0BSTARTVEC2_LSB 0
  5397. #define CSR_SEQ0BSTARTVEC2_MASK GENMASK_32(6, 0)
  5398. /* CSR_STARTVECTOR0B3 */
  5399. #define CSR_STARTVECTOR0B3_LSB 0
  5400. #define CSR_STARTVECTOR0B3_MASK GENMASK_32(6, 0)
  5401. #define CSR_SEQ0BSTARTVEC3_LSB 0
  5402. #define CSR_SEQ0BSTARTVEC3_MASK GENMASK_32(6, 0)
  5403. /* CSR_STARTVECTOR0B4 */
  5404. #define CSR_STARTVECTOR0B4_LSB 0
  5405. #define CSR_STARTVECTOR0B4_MASK GENMASK_32(6, 0)
  5406. #define CSR_SEQ0BSTARTVEC4_LSB 0
  5407. #define CSR_SEQ0BSTARTVEC4_MASK GENMASK_32(6, 0)
  5408. /* CSR_STARTVECTOR0B5 */
  5409. #define CSR_STARTVECTOR0B5_LSB 0
  5410. #define CSR_STARTVECTOR0B5_MASK GENMASK_32(6, 0)
  5411. #define CSR_SEQ0BSTARTVEC5_LSB 0
  5412. #define CSR_SEQ0BSTARTVEC5_MASK GENMASK_32(6, 0)
  5413. /* CSR_STARTVECTOR0B6 */
  5414. #define CSR_STARTVECTOR0B6_LSB 0
  5415. #define CSR_STARTVECTOR0B6_MASK GENMASK_32(6, 0)
  5416. #define CSR_SEQ0BSTARTVEC6_LSB 0
  5417. #define CSR_SEQ0BSTARTVEC6_MASK GENMASK_32(6, 0)
  5418. /* CSR_STARTVECTOR0B7 */
  5419. #define CSR_STARTVECTOR0B7_LSB 0
  5420. #define CSR_STARTVECTOR0B7_MASK GENMASK_32(6, 0)
  5421. #define CSR_SEQ0BSTARTVEC7_LSB 0
  5422. #define CSR_SEQ0BSTARTVEC7_MASK GENMASK_32(6, 0)
  5423. /* CSR_STARTVECTOR0B8 */
  5424. #define CSR_STARTVECTOR0B8_LSB 0
  5425. #define CSR_STARTVECTOR0B8_MASK GENMASK_32(6, 0)
  5426. #define CSR_SEQ0BSTARTVEC8_LSB 0
  5427. #define CSR_SEQ0BSTARTVEC8_MASK GENMASK_32(6, 0)
  5428. /* CSR_STARTVECTOR0B9 */
  5429. #define CSR_STARTVECTOR0B9_LSB 0
  5430. #define CSR_STARTVECTOR0B9_MASK GENMASK_32(6, 0)
  5431. #define CSR_SEQ0BSTARTVEC9_LSB 0
  5432. #define CSR_SEQ0BSTARTVEC9_MASK GENMASK_32(6, 0)
  5433. /* CSR_STARTVECTOR0B10 */
  5434. #define CSR_STARTVECTOR0B10_LSB 0
  5435. #define CSR_STARTVECTOR0B10_MASK GENMASK_32(6, 0)
  5436. #define CSR_SEQ0BSTARTVEC10_LSB 0
  5437. #define CSR_SEQ0BSTARTVEC10_MASK GENMASK_32(6, 0)
  5438. /* CSR_STARTVECTOR0B11 */
  5439. #define CSR_STARTVECTOR0B11_LSB 0
  5440. #define CSR_STARTVECTOR0B11_MASK GENMASK_32(6, 0)
  5441. #define CSR_SEQ0BSTARTVEC11_LSB 0
  5442. #define CSR_SEQ0BSTARTVEC11_MASK GENMASK_32(6, 0)
  5443. /* CSR_STARTVECTOR0B12 */
  5444. #define CSR_STARTVECTOR0B12_LSB 0
  5445. #define CSR_STARTVECTOR0B12_MASK GENMASK_32(6, 0)
  5446. #define CSR_SEQ0BSTARTVEC12_LSB 0
  5447. #define CSR_SEQ0BSTARTVEC12_MASK GENMASK_32(6, 0)
  5448. /* CSR_STARTVECTOR0B13 */
  5449. #define CSR_STARTVECTOR0B13_LSB 0
  5450. #define CSR_STARTVECTOR0B13_MASK GENMASK_32(6, 0)
  5451. #define CSR_SEQ0BSTARTVEC13_LSB 0
  5452. #define CSR_SEQ0BSTARTVEC13_MASK GENMASK_32(6, 0)
  5453. /* CSR_STARTVECTOR0B14 */
  5454. #define CSR_STARTVECTOR0B14_LSB 0
  5455. #define CSR_STARTVECTOR0B14_MASK GENMASK_32(6, 0)
  5456. #define CSR_SEQ0BSTARTVEC14_LSB 0
  5457. #define CSR_SEQ0BSTARTVEC14_MASK GENMASK_32(6, 0)
  5458. /* CSR_STARTVECTOR0B15 */
  5459. #define CSR_STARTVECTOR0B15_LSB 0
  5460. #define CSR_STARTVECTOR0B15_MASK GENMASK_32(6, 0)
  5461. #define CSR_SEQ0BSTARTVEC15_LSB 0
  5462. #define CSR_SEQ0BSTARTVEC15_MASK GENMASK_32(6, 0)
  5463. /* CSR_SEQ0BWAITCONDSEL */
  5464. #define CSR_SEQ0BWAITCONDSEL_LSB 0
  5465. #define CSR_SEQ0BWAITCONDSEL_MASK GENMASK_32(2, 0)
  5466. /* CSR_PHYINLP3 */
  5467. #define CSR_PHYINLP3_LSB 0
  5468. #define CSR_PHYINLP3_MASK BIT(0)
  5469. /* CSR_SEQUENCEREG0B0S0 */
  5470. #define CSR_SEQUENCEREG0B0S0_LSB 0
  5471. #define CSR_SEQUENCEREG0B0S0_MASK GENMASK_32(15, 0)
  5472. /* CSR_SEQUENCEREG0B0S1 */
  5473. #define CSR_SEQUENCEREG0B0S1_LSB 0
  5474. #define CSR_SEQUENCEREG0B0S1_MASK GENMASK_32(15, 0)
  5475. /* CSR_SEQUENCEREG0B0S2 */
  5476. #define CSR_SEQUENCEREG0B0S2_LSB 0
  5477. #define CSR_SEQUENCEREG0B0S2_MASK GENMASK_32(8, 0)
  5478. /* CSR_SEQUENCEREG0B1S0 */
  5479. #define CSR_SEQUENCEREG0B1S0_LSB 0
  5480. #define CSR_SEQUENCEREG0B1S0_MASK GENMASK_32(15, 0)
  5481. /* CSR_SEQUENCEREG0B1S1 */
  5482. #define CSR_SEQUENCEREG0B1S1_LSB 0
  5483. #define CSR_SEQUENCEREG0B1S1_MASK GENMASK_32(15, 0)
  5484. /* CSR_SEQUENCEREG0B1S2 */
  5485. #define CSR_SEQUENCEREG0B1S2_LSB 0
  5486. #define CSR_SEQUENCEREG0B1S2_MASK GENMASK_32(8, 0)
  5487. /* CSR_SEQUENCEREG0B2S0 */
  5488. #define CSR_SEQUENCEREG0B2S0_LSB 0
  5489. #define CSR_SEQUENCEREG0B2S0_MASK GENMASK_32(15, 0)
  5490. /* CSR_SEQUENCEREG0B2S1 */
  5491. #define CSR_SEQUENCEREG0B2S1_LSB 0
  5492. #define CSR_SEQUENCEREG0B2S1_MASK GENMASK_32(15, 0)
  5493. /* CSR_SEQUENCEREG0B2S2 */
  5494. #define CSR_SEQUENCEREG0B2S2_LSB 0
  5495. #define CSR_SEQUENCEREG0B2S2_MASK GENMASK_32(8, 0)
  5496. /* CSR_SEQUENCEREG0B3S0 */
  5497. #define CSR_SEQUENCEREG0B3S0_LSB 0
  5498. #define CSR_SEQUENCEREG0B3S0_MASK GENMASK_32(15, 0)
  5499. /* CSR_SEQUENCEREG0B3S1 */
  5500. #define CSR_SEQUENCEREG0B3S1_LSB 0
  5501. #define CSR_SEQUENCEREG0B3S1_MASK GENMASK_32(15, 0)
  5502. /* CSR_SEQUENCEREG0B3S2 */
  5503. #define CSR_SEQUENCEREG0B3S2_LSB 0
  5504. #define CSR_SEQUENCEREG0B3S2_MASK GENMASK_32(8, 0)
  5505. /* CSR_SEQUENCEREG0B4S0 */
  5506. #define CSR_SEQUENCEREG0B4S0_LSB 0
  5507. #define CSR_SEQUENCEREG0B4S0_MASK GENMASK_32(15, 0)
  5508. /* CSR_SEQUENCEREG0B4S1 */
  5509. #define CSR_SEQUENCEREG0B4S1_LSB 0
  5510. #define CSR_SEQUENCEREG0B4S1_MASK GENMASK_32(15, 0)
  5511. /* CSR_SEQUENCEREG0B4S2 */
  5512. #define CSR_SEQUENCEREG0B4S2_LSB 0
  5513. #define CSR_SEQUENCEREG0B4S2_MASK GENMASK_32(8, 0)
  5514. /* CSR_SEQUENCEREG0B5S0 */
  5515. #define CSR_SEQUENCEREG0B5S0_LSB 0
  5516. #define CSR_SEQUENCEREG0B5S0_MASK GENMASK_32(15, 0)
  5517. /* CSR_SEQUENCEREG0B5S1 */
  5518. #define CSR_SEQUENCEREG0B5S1_LSB 0
  5519. #define CSR_SEQUENCEREG0B5S1_MASK GENMASK_32(15, 0)
  5520. /* CSR_SEQUENCEREG0B5S2 */
  5521. #define CSR_SEQUENCEREG0B5S2_LSB 0
  5522. #define CSR_SEQUENCEREG0B5S2_MASK GENMASK_32(8, 0)
  5523. /* CSR_SEQUENCEREG0B6S0 */
  5524. #define CSR_SEQUENCEREG0B6S0_LSB 0
  5525. #define CSR_SEQUENCEREG0B6S0_MASK GENMASK_32(15, 0)
  5526. /* CSR_SEQUENCEREG0B6S1 */
  5527. #define CSR_SEQUENCEREG0B6S1_LSB 0
  5528. #define CSR_SEQUENCEREG0B6S1_MASK GENMASK_32(15, 0)
  5529. /* CSR_SEQUENCEREG0B6S2 */
  5530. #define CSR_SEQUENCEREG0B6S2_LSB 0
  5531. #define CSR_SEQUENCEREG0B6S2_MASK GENMASK_32(8, 0)
  5532. /* CSR_SEQUENCEREG0B7S0 */
  5533. #define CSR_SEQUENCEREG0B7S0_LSB 0
  5534. #define CSR_SEQUENCEREG0B7S0_MASK GENMASK_32(15, 0)
  5535. /* CSR_SEQUENCEREG0B7S1 */
  5536. #define CSR_SEQUENCEREG0B7S1_LSB 0
  5537. #define CSR_SEQUENCEREG0B7S1_MASK GENMASK_32(15, 0)
  5538. /* CSR_SEQUENCEREG0B7S2 */
  5539. #define CSR_SEQUENCEREG0B7S2_LSB 0
  5540. #define CSR_SEQUENCEREG0B7S2_MASK GENMASK_32(8, 0)
  5541. /* CSR_SEQUENCEREG0B8S0 */
  5542. #define CSR_SEQUENCEREG0B8S0_LSB 0
  5543. #define CSR_SEQUENCEREG0B8S0_MASK GENMASK_32(15, 0)
  5544. /* CSR_SEQUENCEREG0B8S1 */
  5545. #define CSR_SEQUENCEREG0B8S1_LSB 0
  5546. #define CSR_SEQUENCEREG0B8S1_MASK GENMASK_32(15, 0)
  5547. /* CSR_SEQUENCEREG0B8S2 */
  5548. #define CSR_SEQUENCEREG0B8S2_LSB 0
  5549. #define CSR_SEQUENCEREG0B8S2_MASK GENMASK_32(8, 0)
  5550. /* CSR_SEQUENCEREG0B9S0 */
  5551. #define CSR_SEQUENCEREG0B9S0_LSB 0
  5552. #define CSR_SEQUENCEREG0B9S0_MASK GENMASK_32(15, 0)
  5553. /* CSR_SEQUENCEREG0B9S1 */
  5554. #define CSR_SEQUENCEREG0B9S1_LSB 0
  5555. #define CSR_SEQUENCEREG0B9S1_MASK GENMASK_32(15, 0)
  5556. /* CSR_SEQUENCEREG0B9S2 */
  5557. #define CSR_SEQUENCEREG0B9S2_LSB 0
  5558. #define CSR_SEQUENCEREG0B9S2_MASK GENMASK_32(8, 0)
  5559. /* CSR_SEQUENCEREG0B10S0 */
  5560. #define CSR_SEQUENCEREG0B10S0_LSB 0
  5561. #define CSR_SEQUENCEREG0B10S0_MASK GENMASK_32(15, 0)
  5562. /* CSR_SEQUENCEREG0B10S1 */
  5563. #define CSR_SEQUENCEREG0B10S1_LSB 0
  5564. #define CSR_SEQUENCEREG0B10S1_MASK GENMASK_32(15, 0)
  5565. /* CSR_SEQUENCEREG0B10S2 */
  5566. #define CSR_SEQUENCEREG0B10S2_LSB 0
  5567. #define CSR_SEQUENCEREG0B10S2_MASK GENMASK_32(8, 0)
  5568. /* CSR_SEQUENCEREG0B11S0 */
  5569. #define CSR_SEQUENCEREG0B11S0_LSB 0
  5570. #define CSR_SEQUENCEREG0B11S0_MASK GENMASK_32(15, 0)
  5571. /* CSR_SEQUENCEREG0B11S1 */
  5572. #define CSR_SEQUENCEREG0B11S1_LSB 0
  5573. #define CSR_SEQUENCEREG0B11S1_MASK GENMASK_32(15, 0)
  5574. /* CSR_SEQUENCEREG0B11S2 */
  5575. #define CSR_SEQUENCEREG0B11S2_LSB 0
  5576. #define CSR_SEQUENCEREG0B11S2_MASK GENMASK_32(8, 0)
  5577. /* CSR_SEQUENCEREG0B12S0 */
  5578. #define CSR_SEQUENCEREG0B12S0_LSB 0
  5579. #define CSR_SEQUENCEREG0B12S0_MASK GENMASK_32(15, 0)
  5580. /* CSR_SEQUENCEREG0B12S1 */
  5581. #define CSR_SEQUENCEREG0B12S1_LSB 0
  5582. #define CSR_SEQUENCEREG0B12S1_MASK GENMASK_32(15, 0)
  5583. /* CSR_SEQUENCEREG0B12S2 */
  5584. #define CSR_SEQUENCEREG0B12S2_LSB 0
  5585. #define CSR_SEQUENCEREG0B12S2_MASK GENMASK_32(8, 0)
  5586. /* CSR_SEQUENCEREG0B13S0 */
  5587. #define CSR_SEQUENCEREG0B13S0_LSB 0
  5588. #define CSR_SEQUENCEREG0B13S0_MASK GENMASK_32(15, 0)
  5589. /* CSR_SEQUENCEREG0B13S1 */
  5590. #define CSR_SEQUENCEREG0B13S1_LSB 0
  5591. #define CSR_SEQUENCEREG0B13S1_MASK GENMASK_32(15, 0)
  5592. /* CSR_SEQUENCEREG0B13S2 */
  5593. #define CSR_SEQUENCEREG0B13S2_LSB 0
  5594. #define CSR_SEQUENCEREG0B13S2_MASK GENMASK_32(8, 0)
  5595. /* CSR_SEQUENCEREG0B14S0 */
  5596. #define CSR_SEQUENCEREG0B14S0_LSB 0
  5597. #define CSR_SEQUENCEREG0B14S0_MASK GENMASK_32(15, 0)
  5598. /* CSR_SEQUENCEREG0B14S1 */
  5599. #define CSR_SEQUENCEREG0B14S1_LSB 0
  5600. #define CSR_SEQUENCEREG0B14S1_MASK GENMASK_32(15, 0)
  5601. /* CSR_SEQUENCEREG0B14S2 */
  5602. #define CSR_SEQUENCEREG0B14S2_LSB 0
  5603. #define CSR_SEQUENCEREG0B14S2_MASK GENMASK_32(8, 0)
  5604. /* CSR_SEQUENCEREG0B15S0 */
  5605. #define CSR_SEQUENCEREG0B15S0_LSB 0
  5606. #define CSR_SEQUENCEREG0B15S0_MASK GENMASK_32(15, 0)
  5607. /* CSR_SEQUENCEREG0B15S1 */
  5608. #define CSR_SEQUENCEREG0B15S1_LSB 0
  5609. #define CSR_SEQUENCEREG0B15S1_MASK GENMASK_32(15, 0)
  5610. /* CSR_SEQUENCEREG0B15S2 */
  5611. #define CSR_SEQUENCEREG0B15S2_LSB 0
  5612. #define CSR_SEQUENCEREG0B15S2_MASK GENMASK_32(8, 0)
  5613. /* CSR_SEQUENCEREG0B16S0 */
  5614. #define CSR_SEQUENCEREG0B16S0_LSB 0
  5615. #define CSR_SEQUENCEREG0B16S0_MASK GENMASK_32(15, 0)
  5616. /* CSR_SEQUENCEREG0B16S1 */
  5617. #define CSR_SEQUENCEREG0B16S1_LSB 0
  5618. #define CSR_SEQUENCEREG0B16S1_MASK GENMASK_32(15, 0)
  5619. /* CSR_SEQUENCEREG0B16S2 */
  5620. #define CSR_SEQUENCEREG0B16S2_LSB 0
  5621. #define CSR_SEQUENCEREG0B16S2_MASK GENMASK_32(8, 0)
  5622. /* CSR_SEQUENCEREG0B17S0 */
  5623. #define CSR_SEQUENCEREG0B17S0_LSB 0
  5624. #define CSR_SEQUENCEREG0B17S0_MASK GENMASK_32(15, 0)
  5625. /* CSR_SEQUENCEREG0B17S1 */
  5626. #define CSR_SEQUENCEREG0B17S1_LSB 0
  5627. #define CSR_SEQUENCEREG0B17S1_MASK GENMASK_32(15, 0)
  5628. /* CSR_SEQUENCEREG0B17S2 */
  5629. #define CSR_SEQUENCEREG0B17S2_LSB 0
  5630. #define CSR_SEQUENCEREG0B17S2_MASK GENMASK_32(8, 0)
  5631. /* CSR_SEQUENCEREG0B18S0 */
  5632. #define CSR_SEQUENCEREG0B18S0_LSB 0
  5633. #define CSR_SEQUENCEREG0B18S0_MASK GENMASK_32(15, 0)
  5634. /* CSR_SEQUENCEREG0B18S1 */
  5635. #define CSR_SEQUENCEREG0B18S1_LSB 0
  5636. #define CSR_SEQUENCEREG0B18S1_MASK GENMASK_32(15, 0)
  5637. /* CSR_SEQUENCEREG0B18S2 */
  5638. #define CSR_SEQUENCEREG0B18S2_LSB 0
  5639. #define CSR_SEQUENCEREG0B18S2_MASK GENMASK_32(8, 0)
  5640. /* CSR_SEQUENCEREG0B19S0 */
  5641. #define CSR_SEQUENCEREG0B19S0_LSB 0
  5642. #define CSR_SEQUENCEREG0B19S0_MASK GENMASK_32(15, 0)
  5643. /* CSR_SEQUENCEREG0B19S1 */
  5644. #define CSR_SEQUENCEREG0B19S1_LSB 0
  5645. #define CSR_SEQUENCEREG0B19S1_MASK GENMASK_32(15, 0)
  5646. /* CSR_SEQUENCEREG0B19S2 */
  5647. #define CSR_SEQUENCEREG0B19S2_LSB 0
  5648. #define CSR_SEQUENCEREG0B19S2_MASK GENMASK_32(8, 0)
  5649. /* CSR_SEQUENCEREG0B20S0 */
  5650. #define CSR_SEQUENCEREG0B20S0_LSB 0
  5651. #define CSR_SEQUENCEREG0B20S0_MASK GENMASK_32(15, 0)
  5652. /* CSR_SEQUENCEREG0B20S1 */
  5653. #define CSR_SEQUENCEREG0B20S1_LSB 0
  5654. #define CSR_SEQUENCEREG0B20S1_MASK GENMASK_32(15, 0)
  5655. /* CSR_SEQUENCEREG0B20S2 */
  5656. #define CSR_SEQUENCEREG0B20S2_LSB 0
  5657. #define CSR_SEQUENCEREG0B20S2_MASK GENMASK_32(8, 0)
  5658. /* CSR_SEQUENCEREG0B21S0 */
  5659. #define CSR_SEQUENCEREG0B21S0_LSB 0
  5660. #define CSR_SEQUENCEREG0B21S0_MASK GENMASK_32(15, 0)
  5661. /* CSR_SEQUENCEREG0B21S1 */
  5662. #define CSR_SEQUENCEREG0B21S1_LSB 0
  5663. #define CSR_SEQUENCEREG0B21S1_MASK GENMASK_32(15, 0)
  5664. /* CSR_SEQUENCEREG0B21S2 */
  5665. #define CSR_SEQUENCEREG0B21S2_LSB 0
  5666. #define CSR_SEQUENCEREG0B21S2_MASK GENMASK_32(8, 0)
  5667. /* CSR_SEQUENCEREG0B22S0 */
  5668. #define CSR_SEQUENCEREG0B22S0_LSB 0
  5669. #define CSR_SEQUENCEREG0B22S0_MASK GENMASK_32(15, 0)
  5670. /* CSR_SEQUENCEREG0B22S1 */
  5671. #define CSR_SEQUENCEREG0B22S1_LSB 0
  5672. #define CSR_SEQUENCEREG0B22S1_MASK GENMASK_32(15, 0)
  5673. /* CSR_SEQUENCEREG0B22S2 */
  5674. #define CSR_SEQUENCEREG0B22S2_LSB 0
  5675. #define CSR_SEQUENCEREG0B22S2_MASK GENMASK_32(8, 0)
  5676. /* CSR_SEQUENCEREG0B23S0 */
  5677. #define CSR_SEQUENCEREG0B23S0_LSB 0
  5678. #define CSR_SEQUENCEREG0B23S0_MASK GENMASK_32(15, 0)
  5679. /* CSR_SEQUENCEREG0B23S1 */
  5680. #define CSR_SEQUENCEREG0B23S1_LSB 0
  5681. #define CSR_SEQUENCEREG0B23S1_MASK GENMASK_32(15, 0)
  5682. /* CSR_SEQUENCEREG0B23S2 */
  5683. #define CSR_SEQUENCEREG0B23S2_LSB 0
  5684. #define CSR_SEQUENCEREG0B23S2_MASK GENMASK_32(8, 0)
  5685. /* CSR_SEQUENCEREG0B24S0 */
  5686. #define CSR_SEQUENCEREG0B24S0_LSB 0
  5687. #define CSR_SEQUENCEREG0B24S0_MASK GENMASK_32(15, 0)
  5688. /* CSR_SEQUENCEREG0B24S1 */
  5689. #define CSR_SEQUENCEREG0B24S1_LSB 0
  5690. #define CSR_SEQUENCEREG0B24S1_MASK GENMASK_32(15, 0)
  5691. /* CSR_SEQUENCEREG0B24S2 */
  5692. #define CSR_SEQUENCEREG0B24S2_LSB 0
  5693. #define CSR_SEQUENCEREG0B24S2_MASK GENMASK_32(8, 0)
  5694. /* CSR_SEQUENCEREG0B25S0 */
  5695. #define CSR_SEQUENCEREG0B25S0_LSB 0
  5696. #define CSR_SEQUENCEREG0B25S0_MASK GENMASK_32(15, 0)
  5697. /* CSR_SEQUENCEREG0B25S1 */
  5698. #define CSR_SEQUENCEREG0B25S1_LSB 0
  5699. #define CSR_SEQUENCEREG0B25S1_MASK GENMASK_32(15, 0)
  5700. /* CSR_SEQUENCEREG0B25S2 */
  5701. #define CSR_SEQUENCEREG0B25S2_LSB 0
  5702. #define CSR_SEQUENCEREG0B25S2_MASK GENMASK_32(8, 0)
  5703. /* CSR_SEQUENCEREG0B26S0 */
  5704. #define CSR_SEQUENCEREG0B26S0_LSB 0
  5705. #define CSR_SEQUENCEREG0B26S0_MASK GENMASK_32(15, 0)
  5706. /* CSR_SEQUENCEREG0B26S1 */
  5707. #define CSR_SEQUENCEREG0B26S1_LSB 0
  5708. #define CSR_SEQUENCEREG0B26S1_MASK GENMASK_32(15, 0)
  5709. /* CSR_SEQUENCEREG0B26S2 */
  5710. #define CSR_SEQUENCEREG0B26S2_LSB 0
  5711. #define CSR_SEQUENCEREG0B26S2_MASK GENMASK_32(8, 0)
  5712. /* CSR_SEQUENCEREG0B27S0 */
  5713. #define CSR_SEQUENCEREG0B27S0_LSB 0
  5714. #define CSR_SEQUENCEREG0B27S0_MASK GENMASK_32(15, 0)
  5715. /* CSR_SEQUENCEREG0B27S1 */
  5716. #define CSR_SEQUENCEREG0B27S1_LSB 0
  5717. #define CSR_SEQUENCEREG0B27S1_MASK GENMASK_32(15, 0)
  5718. /* CSR_SEQUENCEREG0B27S2 */
  5719. #define CSR_SEQUENCEREG0B27S2_LSB 0
  5720. #define CSR_SEQUENCEREG0B27S2_MASK GENMASK_32(8, 0)
  5721. /* CSR_SEQUENCEREG0B28S0 */
  5722. #define CSR_SEQUENCEREG0B28S0_LSB 0
  5723. #define CSR_SEQUENCEREG0B28S0_MASK GENMASK_32(15, 0)
  5724. /* CSR_SEQUENCEREG0B28S1 */
  5725. #define CSR_SEQUENCEREG0B28S1_LSB 0
  5726. #define CSR_SEQUENCEREG0B28S1_MASK GENMASK_32(15, 0)
  5727. /* CSR_SEQUENCEREG0B28S2 */
  5728. #define CSR_SEQUENCEREG0B28S2_LSB 0
  5729. #define CSR_SEQUENCEREG0B28S2_MASK GENMASK_32(8, 0)
  5730. /* CSR_SEQUENCEREG0B29S0 */
  5731. #define CSR_SEQUENCEREG0B29S0_LSB 0
  5732. #define CSR_SEQUENCEREG0B29S0_MASK GENMASK_32(15, 0)
  5733. /* CSR_SEQUENCEREG0B29S1 */
  5734. #define CSR_SEQUENCEREG0B29S1_LSB 0
  5735. #define CSR_SEQUENCEREG0B29S1_MASK GENMASK_32(15, 0)
  5736. /* CSR_SEQUENCEREG0B29S2 */
  5737. #define CSR_SEQUENCEREG0B29S2_LSB 0
  5738. #define CSR_SEQUENCEREG0B29S2_MASK GENMASK_32(8, 0)
  5739. /* CSR_SEQUENCEREG0B30S0 */
  5740. #define CSR_SEQUENCEREG0B30S0_LSB 0
  5741. #define CSR_SEQUENCEREG0B30S0_MASK GENMASK_32(15, 0)
  5742. /* CSR_SEQUENCEREG0B30S1 */
  5743. #define CSR_SEQUENCEREG0B30S1_LSB 0
  5744. #define CSR_SEQUENCEREG0B30S1_MASK GENMASK_32(15, 0)
  5745. /* CSR_SEQUENCEREG0B30S2 */
  5746. #define CSR_SEQUENCEREG0B30S2_LSB 0
  5747. #define CSR_SEQUENCEREG0B30S2_MASK GENMASK_32(8, 0)
  5748. /* CSR_SEQUENCEREG0B31S0 */
  5749. #define CSR_SEQUENCEREG0B31S0_LSB 0
  5750. #define CSR_SEQUENCEREG0B31S0_MASK GENMASK_32(15, 0)
  5751. /* CSR_SEQUENCEREG0B31S1 */
  5752. #define CSR_SEQUENCEREG0B31S1_LSB 0
  5753. #define CSR_SEQUENCEREG0B31S1_MASK GENMASK_32(15, 0)
  5754. /* CSR_SEQUENCEREG0B31S2 */
  5755. #define CSR_SEQUENCEREG0B31S2_LSB 0
  5756. #define CSR_SEQUENCEREG0B31S2_MASK GENMASK_32(8, 0)
  5757. /* CSR_SEQUENCEREG0B32S0 */
  5758. #define CSR_SEQUENCEREG0B32S0_LSB 0
  5759. #define CSR_SEQUENCEREG0B32S0_MASK GENMASK_32(15, 0)
  5760. /* CSR_SEQUENCEREG0B32S1 */
  5761. #define CSR_SEQUENCEREG0B32S1_LSB 0
  5762. #define CSR_SEQUENCEREG0B32S1_MASK GENMASK_32(15, 0)
  5763. /* CSR_SEQUENCEREG0B32S2 */
  5764. #define CSR_SEQUENCEREG0B32S2_LSB 0
  5765. #define CSR_SEQUENCEREG0B32S2_MASK GENMASK_32(8, 0)
  5766. /* CSR_SEQUENCEREG0B33S0 */
  5767. #define CSR_SEQUENCEREG0B33S0_LSB 0
  5768. #define CSR_SEQUENCEREG0B33S0_MASK GENMASK_32(15, 0)
  5769. /* CSR_SEQUENCEREG0B33S1 */
  5770. #define CSR_SEQUENCEREG0B33S1_LSB 0
  5771. #define CSR_SEQUENCEREG0B33S1_MASK GENMASK_32(15, 0)
  5772. /* CSR_SEQUENCEREG0B33S2 */
  5773. #define CSR_SEQUENCEREG0B33S2_LSB 0
  5774. #define CSR_SEQUENCEREG0B33S2_MASK GENMASK_32(8, 0)
  5775. /* CSR_SEQUENCEREG0B34S0 */
  5776. #define CSR_SEQUENCEREG0B34S0_LSB 0
  5777. #define CSR_SEQUENCEREG0B34S0_MASK GENMASK_32(15, 0)
  5778. /* CSR_SEQUENCEREG0B34S1 */
  5779. #define CSR_SEQUENCEREG0B34S1_LSB 0
  5780. #define CSR_SEQUENCEREG0B34S1_MASK GENMASK_32(15, 0)
  5781. /* CSR_SEQUENCEREG0B34S2 */
  5782. #define CSR_SEQUENCEREG0B34S2_LSB 0
  5783. #define CSR_SEQUENCEREG0B34S2_MASK GENMASK_32(8, 0)
  5784. /* CSR_SEQUENCEREG0B35S0 */
  5785. #define CSR_SEQUENCEREG0B35S0_LSB 0
  5786. #define CSR_SEQUENCEREG0B35S0_MASK GENMASK_32(15, 0)
  5787. /* CSR_SEQUENCEREG0B35S1 */
  5788. #define CSR_SEQUENCEREG0B35S1_LSB 0
  5789. #define CSR_SEQUENCEREG0B35S1_MASK GENMASK_32(15, 0)
  5790. /* CSR_SEQUENCEREG0B35S2 */
  5791. #define CSR_SEQUENCEREG0B35S2_LSB 0
  5792. #define CSR_SEQUENCEREG0B35S2_MASK GENMASK_32(8, 0)
  5793. /* CSR_SEQUENCEREG0B36S0 */
  5794. #define CSR_SEQUENCEREG0B36S0_LSB 0
  5795. #define CSR_SEQUENCEREG0B36S0_MASK GENMASK_32(15, 0)
  5796. /* CSR_SEQUENCEREG0B36S1 */
  5797. #define CSR_SEQUENCEREG0B36S1_LSB 0
  5798. #define CSR_SEQUENCEREG0B36S1_MASK GENMASK_32(15, 0)
  5799. /* CSR_SEQUENCEREG0B36S2 */
  5800. #define CSR_SEQUENCEREG0B36S2_LSB 0
  5801. #define CSR_SEQUENCEREG0B36S2_MASK GENMASK_32(8, 0)
  5802. /* CSR_SEQUENCEREG0B37S0 */
  5803. #define CSR_SEQUENCEREG0B37S0_LSB 0
  5804. #define CSR_SEQUENCEREG0B37S0_MASK GENMASK_32(15, 0)
  5805. /* CSR_SEQUENCEREG0B37S1 */
  5806. #define CSR_SEQUENCEREG0B37S1_LSB 0
  5807. #define CSR_SEQUENCEREG0B37S1_MASK GENMASK_32(15, 0)
  5808. /* CSR_SEQUENCEREG0B37S2 */
  5809. #define CSR_SEQUENCEREG0B37S2_LSB 0
  5810. #define CSR_SEQUENCEREG0B37S2_MASK GENMASK_32(8, 0)
  5811. /* CSR_SEQUENCEREG0B38S0 */
  5812. #define CSR_SEQUENCEREG0B38S0_LSB 0
  5813. #define CSR_SEQUENCEREG0B38S0_MASK GENMASK_32(15, 0)
  5814. /* CSR_SEQUENCEREG0B38S1 */
  5815. #define CSR_SEQUENCEREG0B38S1_LSB 0
  5816. #define CSR_SEQUENCEREG0B38S1_MASK GENMASK_32(15, 0)
  5817. /* CSR_SEQUENCEREG0B38S2 */
  5818. #define CSR_SEQUENCEREG0B38S2_LSB 0
  5819. #define CSR_SEQUENCEREG0B38S2_MASK GENMASK_32(8, 0)
  5820. /* CSR_SEQUENCEREG0B39S0 */
  5821. #define CSR_SEQUENCEREG0B39S0_LSB 0
  5822. #define CSR_SEQUENCEREG0B39S0_MASK GENMASK_32(15, 0)
  5823. /* CSR_SEQUENCEREG0B39S1 */
  5824. #define CSR_SEQUENCEREG0B39S1_LSB 0
  5825. #define CSR_SEQUENCEREG0B39S1_MASK GENMASK_32(15, 0)
  5826. /* CSR_SEQUENCEREG0B39S2 */
  5827. #define CSR_SEQUENCEREG0B39S2_LSB 0
  5828. #define CSR_SEQUENCEREG0B39S2_MASK GENMASK_32(8, 0)
  5829. /* CSR_SEQUENCEREG0B40S0 */
  5830. #define CSR_SEQUENCEREG0B40S0_LSB 0
  5831. #define CSR_SEQUENCEREG0B40S0_MASK GENMASK_32(15, 0)
  5832. /* CSR_SEQUENCEREG0B40S1 */
  5833. #define CSR_SEQUENCEREG0B40S1_LSB 0
  5834. #define CSR_SEQUENCEREG0B40S1_MASK GENMASK_32(15, 0)
  5835. /* CSR_SEQUENCEREG0B40S2 */
  5836. #define CSR_SEQUENCEREG0B40S2_LSB 0
  5837. #define CSR_SEQUENCEREG0B40S2_MASK GENMASK_32(8, 0)
  5838. /* CSR_SEQUENCEREG0B41S0 */
  5839. #define CSR_SEQUENCEREG0B41S0_LSB 0
  5840. #define CSR_SEQUENCEREG0B41S0_MASK GENMASK_32(15, 0)
  5841. /* CSR_SEQUENCEREG0B41S1 */
  5842. #define CSR_SEQUENCEREG0B41S1_LSB 0
  5843. #define CSR_SEQUENCEREG0B41S1_MASK GENMASK_32(15, 0)
  5844. /* CSR_SEQUENCEREG0B41S2 */
  5845. #define CSR_SEQUENCEREG0B41S2_LSB 0
  5846. #define CSR_SEQUENCEREG0B41S2_MASK GENMASK_32(8, 0)
  5847. /* CSR_SEQUENCEREG0B42S0 */
  5848. #define CSR_SEQUENCEREG0B42S0_LSB 0
  5849. #define CSR_SEQUENCEREG0B42S0_MASK GENMASK_32(15, 0)
  5850. /* CSR_SEQUENCEREG0B42S1 */
  5851. #define CSR_SEQUENCEREG0B42S1_LSB 0
  5852. #define CSR_SEQUENCEREG0B42S1_MASK GENMASK_32(15, 0)
  5853. /* CSR_SEQUENCEREG0B42S2 */
  5854. #define CSR_SEQUENCEREG0B42S2_LSB 0
  5855. #define CSR_SEQUENCEREG0B42S2_MASK GENMASK_32(8, 0)
  5856. /* CSR_SEQUENCEREG0B43S0 */
  5857. #define CSR_SEQUENCEREG0B43S0_LSB 0
  5858. #define CSR_SEQUENCEREG0B43S0_MASK GENMASK_32(15, 0)
  5859. /* CSR_SEQUENCEREG0B43S1 */
  5860. #define CSR_SEQUENCEREG0B43S1_LSB 0
  5861. #define CSR_SEQUENCEREG0B43S1_MASK GENMASK_32(15, 0)
  5862. /* CSR_SEQUENCEREG0B43S2 */
  5863. #define CSR_SEQUENCEREG0B43S2_LSB 0
  5864. #define CSR_SEQUENCEREG0B43S2_MASK GENMASK_32(8, 0)
  5865. /* CSR_SEQUENCEREG0B44S0 */
  5866. #define CSR_SEQUENCEREG0B44S0_LSB 0
  5867. #define CSR_SEQUENCEREG0B44S0_MASK GENMASK_32(15, 0)
  5868. /* CSR_SEQUENCEREG0B44S1 */
  5869. #define CSR_SEQUENCEREG0B44S1_LSB 0
  5870. #define CSR_SEQUENCEREG0B44S1_MASK GENMASK_32(15, 0)
  5871. /* CSR_SEQUENCEREG0B44S2 */
  5872. #define CSR_SEQUENCEREG0B44S2_LSB 0
  5873. #define CSR_SEQUENCEREG0B44S2_MASK GENMASK_32(8, 0)
  5874. /* CSR_SEQUENCEREG0B45S0 */
  5875. #define CSR_SEQUENCEREG0B45S0_LSB 0
  5876. #define CSR_SEQUENCEREG0B45S0_MASK GENMASK_32(15, 0)
  5877. /* CSR_SEQUENCEREG0B45S1 */
  5878. #define CSR_SEQUENCEREG0B45S1_LSB 0
  5879. #define CSR_SEQUENCEREG0B45S1_MASK GENMASK_32(15, 0)
  5880. /* CSR_SEQUENCEREG0B45S2 */
  5881. #define CSR_SEQUENCEREG0B45S2_LSB 0
  5882. #define CSR_SEQUENCEREG0B45S2_MASK GENMASK_32(8, 0)
  5883. /* CSR_SEQUENCEREG0B46S0 */
  5884. #define CSR_SEQUENCEREG0B46S0_LSB 0
  5885. #define CSR_SEQUENCEREG0B46S0_MASK GENMASK_32(15, 0)
  5886. /* CSR_SEQUENCEREG0B46S1 */
  5887. #define CSR_SEQUENCEREG0B46S1_LSB 0
  5888. #define CSR_SEQUENCEREG0B46S1_MASK GENMASK_32(15, 0)
  5889. /* CSR_SEQUENCEREG0B46S2 */
  5890. #define CSR_SEQUENCEREG0B46S2_LSB 0
  5891. #define CSR_SEQUENCEREG0B46S2_MASK GENMASK_32(8, 0)
  5892. /* CSR_SEQUENCEREG0B47S0 */
  5893. #define CSR_SEQUENCEREG0B47S0_LSB 0
  5894. #define CSR_SEQUENCEREG0B47S0_MASK GENMASK_32(15, 0)
  5895. /* CSR_SEQUENCEREG0B47S1 */
  5896. #define CSR_SEQUENCEREG0B47S1_LSB 0
  5897. #define CSR_SEQUENCEREG0B47S1_MASK GENMASK_32(15, 0)
  5898. /* CSR_SEQUENCEREG0B47S2 */
  5899. #define CSR_SEQUENCEREG0B47S2_LSB 0
  5900. #define CSR_SEQUENCEREG0B47S2_MASK GENMASK_32(8, 0)
  5901. /* CSR_SEQUENCEREG0B48S0 */
  5902. #define CSR_SEQUENCEREG0B48S0_LSB 0
  5903. #define CSR_SEQUENCEREG0B48S0_MASK GENMASK_32(15, 0)
  5904. /* CSR_SEQUENCEREG0B48S1 */
  5905. #define CSR_SEQUENCEREG0B48S1_LSB 0
  5906. #define CSR_SEQUENCEREG0B48S1_MASK GENMASK_32(15, 0)
  5907. /* CSR_SEQUENCEREG0B48S2 */
  5908. #define CSR_SEQUENCEREG0B48S2_LSB 0
  5909. #define CSR_SEQUENCEREG0B48S2_MASK GENMASK_32(8, 0)
  5910. /* CSR_SEQUENCEREG0B49S0 */
  5911. #define CSR_SEQUENCEREG0B49S0_LSB 0
  5912. #define CSR_SEQUENCEREG0B49S0_MASK GENMASK_32(15, 0)
  5913. /* CSR_SEQUENCEREG0B49S1 */
  5914. #define CSR_SEQUENCEREG0B49S1_LSB 0
  5915. #define CSR_SEQUENCEREG0B49S1_MASK GENMASK_32(15, 0)
  5916. /* CSR_SEQUENCEREG0B49S2 */
  5917. #define CSR_SEQUENCEREG0B49S2_LSB 0
  5918. #define CSR_SEQUENCEREG0B49S2_MASK GENMASK_32(8, 0)
  5919. /* CSR_SEQUENCEREG0B50S0 */
  5920. #define CSR_SEQUENCEREG0B50S0_LSB 0
  5921. #define CSR_SEQUENCEREG0B50S0_MASK GENMASK_32(15, 0)
  5922. /* CSR_SEQUENCEREG0B50S1 */
  5923. #define CSR_SEQUENCEREG0B50S1_LSB 0
  5924. #define CSR_SEQUENCEREG0B50S1_MASK GENMASK_32(15, 0)
  5925. /* CSR_SEQUENCEREG0B50S2 */
  5926. #define CSR_SEQUENCEREG0B50S2_LSB 0
  5927. #define CSR_SEQUENCEREG0B50S2_MASK GENMASK_32(8, 0)
  5928. /* CSR_SEQUENCEREG0B51S0 */
  5929. #define CSR_SEQUENCEREG0B51S0_LSB 0
  5930. #define CSR_SEQUENCEREG0B51S0_MASK GENMASK_32(15, 0)
  5931. /* CSR_SEQUENCEREG0B51S1 */
  5932. #define CSR_SEQUENCEREG0B51S1_LSB 0
  5933. #define CSR_SEQUENCEREG0B51S1_MASK GENMASK_32(15, 0)
  5934. /* CSR_SEQUENCEREG0B51S2 */
  5935. #define CSR_SEQUENCEREG0B51S2_LSB 0
  5936. #define CSR_SEQUENCEREG0B51S2_MASK GENMASK_32(8, 0)
  5937. /* CSR_SEQUENCEREG0B52S0 */
  5938. #define CSR_SEQUENCEREG0B52S0_LSB 0
  5939. #define CSR_SEQUENCEREG0B52S0_MASK GENMASK_32(15, 0)
  5940. /* CSR_SEQUENCEREG0B52S1 */
  5941. #define CSR_SEQUENCEREG0B52S1_LSB 0
  5942. #define CSR_SEQUENCEREG0B52S1_MASK GENMASK_32(15, 0)
  5943. /* CSR_SEQUENCEREG0B52S2 */
  5944. #define CSR_SEQUENCEREG0B52S2_LSB 0
  5945. #define CSR_SEQUENCEREG0B52S2_MASK GENMASK_32(8, 0)
  5946. /* CSR_SEQUENCEREG0B53S0 */
  5947. #define CSR_SEQUENCEREG0B53S0_LSB 0
  5948. #define CSR_SEQUENCEREG0B53S0_MASK GENMASK_32(15, 0)
  5949. /* CSR_SEQUENCEREG0B53S1 */
  5950. #define CSR_SEQUENCEREG0B53S1_LSB 0
  5951. #define CSR_SEQUENCEREG0B53S1_MASK GENMASK_32(15, 0)
  5952. /* CSR_SEQUENCEREG0B53S2 */
  5953. #define CSR_SEQUENCEREG0B53S2_LSB 0
  5954. #define CSR_SEQUENCEREG0B53S2_MASK GENMASK_32(8, 0)
  5955. /* CSR_SEQUENCEREG0B54S0 */
  5956. #define CSR_SEQUENCEREG0B54S0_LSB 0
  5957. #define CSR_SEQUENCEREG0B54S0_MASK GENMASK_32(15, 0)
  5958. /* CSR_SEQUENCEREG0B54S1 */
  5959. #define CSR_SEQUENCEREG0B54S1_LSB 0
  5960. #define CSR_SEQUENCEREG0B54S1_MASK GENMASK_32(15, 0)
  5961. /* CSR_SEQUENCEREG0B54S2 */
  5962. #define CSR_SEQUENCEREG0B54S2_LSB 0
  5963. #define CSR_SEQUENCEREG0B54S2_MASK GENMASK_32(8, 0)
  5964. /* CSR_SEQUENCEREG0B55S0 */
  5965. #define CSR_SEQUENCEREG0B55S0_LSB 0
  5966. #define CSR_SEQUENCEREG0B55S0_MASK GENMASK_32(15, 0)
  5967. /* CSR_SEQUENCEREG0B55S1 */
  5968. #define CSR_SEQUENCEREG0B55S1_LSB 0
  5969. #define CSR_SEQUENCEREG0B55S1_MASK GENMASK_32(15, 0)
  5970. /* CSR_SEQUENCEREG0B55S2 */
  5971. #define CSR_SEQUENCEREG0B55S2_LSB 0
  5972. #define CSR_SEQUENCEREG0B55S2_MASK GENMASK_32(8, 0)
  5973. /* CSR_SEQUENCEREG0B56S0 */
  5974. #define CSR_SEQUENCEREG0B56S0_LSB 0
  5975. #define CSR_SEQUENCEREG0B56S0_MASK GENMASK_32(15, 0)
  5976. /* CSR_SEQUENCEREG0B56S1 */
  5977. #define CSR_SEQUENCEREG0B56S1_LSB 0
  5978. #define CSR_SEQUENCEREG0B56S1_MASK GENMASK_32(15, 0)
  5979. /* CSR_SEQUENCEREG0B56S2 */
  5980. #define CSR_SEQUENCEREG0B56S2_LSB 0
  5981. #define CSR_SEQUENCEREG0B56S2_MASK GENMASK_32(8, 0)
  5982. /* CSR_SEQUENCEREG0B57S0 */
  5983. #define CSR_SEQUENCEREG0B57S0_LSB 0
  5984. #define CSR_SEQUENCEREG0B57S0_MASK GENMASK_32(15, 0)
  5985. /* CSR_SEQUENCEREG0B57S1 */
  5986. #define CSR_SEQUENCEREG0B57S1_LSB 0
  5987. #define CSR_SEQUENCEREG0B57S1_MASK GENMASK_32(15, 0)
  5988. /* CSR_SEQUENCEREG0B57S2 */
  5989. #define CSR_SEQUENCEREG0B57S2_LSB 0
  5990. #define CSR_SEQUENCEREG0B57S2_MASK GENMASK_32(8, 0)
  5991. /* CSR_SEQUENCEREG0B58S0 */
  5992. #define CSR_SEQUENCEREG0B58S0_LSB 0
  5993. #define CSR_SEQUENCEREG0B58S0_MASK GENMASK_32(15, 0)
  5994. /* CSR_SEQUENCEREG0B58S1 */
  5995. #define CSR_SEQUENCEREG0B58S1_LSB 0
  5996. #define CSR_SEQUENCEREG0B58S1_MASK GENMASK_32(15, 0)
  5997. /* CSR_SEQUENCEREG0B58S2 */
  5998. #define CSR_SEQUENCEREG0B58S2_LSB 0
  5999. #define CSR_SEQUENCEREG0B58S2_MASK GENMASK_32(8, 0)
  6000. /* CSR_SEQUENCEREG0B59S0 */
  6001. #define CSR_SEQUENCEREG0B59S0_LSB 0
  6002. #define CSR_SEQUENCEREG0B59S0_MASK GENMASK_32(15, 0)
  6003. /* CSR_SEQUENCEREG0B59S1 */
  6004. #define CSR_SEQUENCEREG0B59S1_LSB 0
  6005. #define CSR_SEQUENCEREG0B59S1_MASK GENMASK_32(15, 0)
  6006. /* CSR_SEQUENCEREG0B59S2 */
  6007. #define CSR_SEQUENCEREG0B59S2_LSB 0
  6008. #define CSR_SEQUENCEREG0B59S2_MASK GENMASK_32(8, 0)
  6009. /* CSR_SEQUENCEREG0B60S0 */
  6010. #define CSR_SEQUENCEREG0B60S0_LSB 0
  6011. #define CSR_SEQUENCEREG0B60S0_MASK GENMASK_32(15, 0)
  6012. /* CSR_SEQUENCEREG0B60S1 */
  6013. #define CSR_SEQUENCEREG0B60S1_LSB 0
  6014. #define CSR_SEQUENCEREG0B60S1_MASK GENMASK_32(15, 0)
  6015. /* CSR_SEQUENCEREG0B60S2 */
  6016. #define CSR_SEQUENCEREG0B60S2_LSB 0
  6017. #define CSR_SEQUENCEREG0B60S2_MASK GENMASK_32(8, 0)
  6018. /* CSR_SEQUENCEREG0B61S0 */
  6019. #define CSR_SEQUENCEREG0B61S0_LSB 0
  6020. #define CSR_SEQUENCEREG0B61S0_MASK GENMASK_32(15, 0)
  6021. /* CSR_SEQUENCEREG0B61S1 */
  6022. #define CSR_SEQUENCEREG0B61S1_LSB 0
  6023. #define CSR_SEQUENCEREG0B61S1_MASK GENMASK_32(15, 0)
  6024. /* CSR_SEQUENCEREG0B61S2 */
  6025. #define CSR_SEQUENCEREG0B61S2_LSB 0
  6026. #define CSR_SEQUENCEREG0B61S2_MASK GENMASK_32(8, 0)
  6027. /* CSR_SEQUENCEREG0B62S0 */
  6028. #define CSR_SEQUENCEREG0B62S0_LSB 0
  6029. #define CSR_SEQUENCEREG0B62S0_MASK GENMASK_32(15, 0)
  6030. /* CSR_SEQUENCEREG0B62S1 */
  6031. #define CSR_SEQUENCEREG0B62S1_LSB 0
  6032. #define CSR_SEQUENCEREG0B62S1_MASK GENMASK_32(15, 0)
  6033. /* CSR_SEQUENCEREG0B62S2 */
  6034. #define CSR_SEQUENCEREG0B62S2_LSB 0
  6035. #define CSR_SEQUENCEREG0B62S2_MASK GENMASK_32(8, 0)
  6036. /* CSR_SEQUENCEREG0B63S0 */
  6037. #define CSR_SEQUENCEREG0B63S0_LSB 0
  6038. #define CSR_SEQUENCEREG0B63S0_MASK GENMASK_32(15, 0)
  6039. /* CSR_SEQUENCEREG0B63S1 */
  6040. #define CSR_SEQUENCEREG0B63S1_LSB 0
  6041. #define CSR_SEQUENCEREG0B63S1_MASK GENMASK_32(15, 0)
  6042. /* CSR_SEQUENCEREG0B63S2 */
  6043. #define CSR_SEQUENCEREG0B63S2_LSB 0
  6044. #define CSR_SEQUENCEREG0B63S2_MASK GENMASK_32(8, 0)
  6045. /* CSR_SEQUENCEREG0B64S0 */
  6046. #define CSR_SEQUENCEREG0B64S0_LSB 0
  6047. #define CSR_SEQUENCEREG0B64S0_MASK GENMASK_32(15, 0)
  6048. /* CSR_SEQUENCEREG0B64S1 */
  6049. #define CSR_SEQUENCEREG0B64S1_LSB 0
  6050. #define CSR_SEQUENCEREG0B64S1_MASK GENMASK_32(15, 0)
  6051. /* CSR_SEQUENCEREG0B64S2 */
  6052. #define CSR_SEQUENCEREG0B64S2_LSB 0
  6053. #define CSR_SEQUENCEREG0B64S2_MASK GENMASK_32(8, 0)
  6054. /* CSR_SEQUENCEREG0B65S0 */
  6055. #define CSR_SEQUENCEREG0B65S0_LSB 0
  6056. #define CSR_SEQUENCEREG0B65S0_MASK GENMASK_32(15, 0)
  6057. /* CSR_SEQUENCEREG0B65S1 */
  6058. #define CSR_SEQUENCEREG0B65S1_LSB 0
  6059. #define CSR_SEQUENCEREG0B65S1_MASK GENMASK_32(15, 0)
  6060. /* CSR_SEQUENCEREG0B65S2 */
  6061. #define CSR_SEQUENCEREG0B65S2_LSB 0
  6062. #define CSR_SEQUENCEREG0B65S2_MASK GENMASK_32(8, 0)
  6063. /* CSR_SEQUENCEREG0B66S0 */
  6064. #define CSR_SEQUENCEREG0B66S0_LSB 0
  6065. #define CSR_SEQUENCEREG0B66S0_MASK GENMASK_32(15, 0)
  6066. /* CSR_SEQUENCEREG0B66S1 */
  6067. #define CSR_SEQUENCEREG0B66S1_LSB 0
  6068. #define CSR_SEQUENCEREG0B66S1_MASK GENMASK_32(15, 0)
  6069. /* CSR_SEQUENCEREG0B66S2 */
  6070. #define CSR_SEQUENCEREG0B66S2_LSB 0
  6071. #define CSR_SEQUENCEREG0B66S2_MASK GENMASK_32(8, 0)
  6072. /* CSR_SEQUENCEREG0B67S0 */
  6073. #define CSR_SEQUENCEREG0B67S0_LSB 0
  6074. #define CSR_SEQUENCEREG0B67S0_MASK GENMASK_32(15, 0)
  6075. /* CSR_SEQUENCEREG0B67S1 */
  6076. #define CSR_SEQUENCEREG0B67S1_LSB 0
  6077. #define CSR_SEQUENCEREG0B67S1_MASK GENMASK_32(15, 0)
  6078. /* CSR_SEQUENCEREG0B67S2 */
  6079. #define CSR_SEQUENCEREG0B67S2_LSB 0
  6080. #define CSR_SEQUENCEREG0B67S2_MASK GENMASK_32(8, 0)
  6081. /* CSR_SEQUENCEREG0B68S0 */
  6082. #define CSR_SEQUENCEREG0B68S0_LSB 0
  6083. #define CSR_SEQUENCEREG0B68S0_MASK GENMASK_32(15, 0)
  6084. /* CSR_SEQUENCEREG0B68S1 */
  6085. #define CSR_SEQUENCEREG0B68S1_LSB 0
  6086. #define CSR_SEQUENCEREG0B68S1_MASK GENMASK_32(15, 0)
  6087. /* CSR_SEQUENCEREG0B68S2 */
  6088. #define CSR_SEQUENCEREG0B68S2_LSB 0
  6089. #define CSR_SEQUENCEREG0B68S2_MASK GENMASK_32(8, 0)
  6090. /* CSR_SEQUENCEREG0B69S0 */
  6091. #define CSR_SEQUENCEREG0B69S0_LSB 0
  6092. #define CSR_SEQUENCEREG0B69S0_MASK GENMASK_32(15, 0)
  6093. /* CSR_SEQUENCEREG0B69S1 */
  6094. #define CSR_SEQUENCEREG0B69S1_LSB 0
  6095. #define CSR_SEQUENCEREG0B69S1_MASK GENMASK_32(15, 0)
  6096. /* CSR_SEQUENCEREG0B69S2 */
  6097. #define CSR_SEQUENCEREG0B69S2_LSB 0
  6098. #define CSR_SEQUENCEREG0B69S2_MASK GENMASK_32(8, 0)
  6099. /* CSR_SEQUENCEREG0B70S0 */
  6100. #define CSR_SEQUENCEREG0B70S0_LSB 0
  6101. #define CSR_SEQUENCEREG0B70S0_MASK GENMASK_32(15, 0)
  6102. /* CSR_SEQUENCEREG0B70S1 */
  6103. #define CSR_SEQUENCEREG0B70S1_LSB 0
  6104. #define CSR_SEQUENCEREG0B70S1_MASK GENMASK_32(15, 0)
  6105. /* CSR_SEQUENCEREG0B70S2 */
  6106. #define CSR_SEQUENCEREG0B70S2_LSB 0
  6107. #define CSR_SEQUENCEREG0B70S2_MASK GENMASK_32(8, 0)
  6108. /* CSR_SEQUENCEREG0B71S0 */
  6109. #define CSR_SEQUENCEREG0B71S0_LSB 0
  6110. #define CSR_SEQUENCEREG0B71S0_MASK GENMASK_32(15, 0)
  6111. /* CSR_SEQUENCEREG0B71S1 */
  6112. #define CSR_SEQUENCEREG0B71S1_LSB 0
  6113. #define CSR_SEQUENCEREG0B71S1_MASK GENMASK_32(15, 0)
  6114. /* CSR_SEQUENCEREG0B71S2 */
  6115. #define CSR_SEQUENCEREG0B71S2_LSB 0
  6116. #define CSR_SEQUENCEREG0B71S2_MASK GENMASK_32(8, 0)
  6117. /* CSR_SEQUENCEREG0B72S0 */
  6118. #define CSR_SEQUENCEREG0B72S0_LSB 0
  6119. #define CSR_SEQUENCEREG0B72S0_MASK GENMASK_32(15, 0)
  6120. /* CSR_SEQUENCEREG0B72S1 */
  6121. #define CSR_SEQUENCEREG0B72S1_LSB 0
  6122. #define CSR_SEQUENCEREG0B72S1_MASK GENMASK_32(15, 0)
  6123. /* CSR_SEQUENCEREG0B72S2 */
  6124. #define CSR_SEQUENCEREG0B72S2_LSB 0
  6125. #define CSR_SEQUENCEREG0B72S2_MASK GENMASK_32(8, 0)
  6126. /* CSR_SEQUENCEREG0B73S0 */
  6127. #define CSR_SEQUENCEREG0B73S0_LSB 0
  6128. #define CSR_SEQUENCEREG0B73S0_MASK GENMASK_32(15, 0)
  6129. /* CSR_SEQUENCEREG0B73S1 */
  6130. #define CSR_SEQUENCEREG0B73S1_LSB 0
  6131. #define CSR_SEQUENCEREG0B73S1_MASK GENMASK_32(15, 0)
  6132. /* CSR_SEQUENCEREG0B73S2 */
  6133. #define CSR_SEQUENCEREG0B73S2_LSB 0
  6134. #define CSR_SEQUENCEREG0B73S2_MASK GENMASK_32(8, 0)
  6135. /* CSR_SEQUENCEREG0B74S0 */
  6136. #define CSR_SEQUENCEREG0B74S0_LSB 0
  6137. #define CSR_SEQUENCEREG0B74S0_MASK GENMASK_32(15, 0)
  6138. /* CSR_SEQUENCEREG0B74S1 */
  6139. #define CSR_SEQUENCEREG0B74S1_LSB 0
  6140. #define CSR_SEQUENCEREG0B74S1_MASK GENMASK_32(15, 0)
  6141. /* CSR_SEQUENCEREG0B74S2 */
  6142. #define CSR_SEQUENCEREG0B74S2_LSB 0
  6143. #define CSR_SEQUENCEREG0B74S2_MASK GENMASK_32(8, 0)
  6144. /* CSR_SEQUENCEREG0B75S0 */
  6145. #define CSR_SEQUENCEREG0B75S0_LSB 0
  6146. #define CSR_SEQUENCEREG0B75S0_MASK GENMASK_32(15, 0)
  6147. /* CSR_SEQUENCEREG0B75S1 */
  6148. #define CSR_SEQUENCEREG0B75S1_LSB 0
  6149. #define CSR_SEQUENCEREG0B75S1_MASK GENMASK_32(15, 0)
  6150. /* CSR_SEQUENCEREG0B75S2 */
  6151. #define CSR_SEQUENCEREG0B75S2_LSB 0
  6152. #define CSR_SEQUENCEREG0B75S2_MASK GENMASK_32(8, 0)
  6153. /* CSR_SEQUENCEREG0B76S0 */
  6154. #define CSR_SEQUENCEREG0B76S0_LSB 0
  6155. #define CSR_SEQUENCEREG0B76S0_MASK GENMASK_32(15, 0)
  6156. /* CSR_SEQUENCEREG0B76S1 */
  6157. #define CSR_SEQUENCEREG0B76S1_LSB 0
  6158. #define CSR_SEQUENCEREG0B76S1_MASK GENMASK_32(15, 0)
  6159. /* CSR_SEQUENCEREG0B76S2 */
  6160. #define CSR_SEQUENCEREG0B76S2_LSB 0
  6161. #define CSR_SEQUENCEREG0B76S2_MASK GENMASK_32(8, 0)
  6162. /* CSR_SEQUENCEREG0B77S0 */
  6163. #define CSR_SEQUENCEREG0B77S0_LSB 0
  6164. #define CSR_SEQUENCEREG0B77S0_MASK GENMASK_32(15, 0)
  6165. /* CSR_SEQUENCEREG0B77S1 */
  6166. #define CSR_SEQUENCEREG0B77S1_LSB 0
  6167. #define CSR_SEQUENCEREG0B77S1_MASK GENMASK_32(15, 0)
  6168. /* CSR_SEQUENCEREG0B77S2 */
  6169. #define CSR_SEQUENCEREG0B77S2_LSB 0
  6170. #define CSR_SEQUENCEREG0B77S2_MASK GENMASK_32(8, 0)
  6171. /* CSR_SEQUENCEREG0B78S0 */
  6172. #define CSR_SEQUENCEREG0B78S0_LSB 0
  6173. #define CSR_SEQUENCEREG0B78S0_MASK GENMASK_32(15, 0)
  6174. /* CSR_SEQUENCEREG0B78S1 */
  6175. #define CSR_SEQUENCEREG0B78S1_LSB 0
  6176. #define CSR_SEQUENCEREG0B78S1_MASK GENMASK_32(15, 0)
  6177. /* CSR_SEQUENCEREG0B78S2 */
  6178. #define CSR_SEQUENCEREG0B78S2_LSB 0
  6179. #define CSR_SEQUENCEREG0B78S2_MASK GENMASK_32(8, 0)
  6180. /* CSR_SEQUENCEREG0B79S0 */
  6181. #define CSR_SEQUENCEREG0B79S0_LSB 0
  6182. #define CSR_SEQUENCEREG0B79S0_MASK GENMASK_32(15, 0)
  6183. /* CSR_SEQUENCEREG0B79S1 */
  6184. #define CSR_SEQUENCEREG0B79S1_LSB 0
  6185. #define CSR_SEQUENCEREG0B79S1_MASK GENMASK_32(15, 0)
  6186. /* CSR_SEQUENCEREG0B79S2 */
  6187. #define CSR_SEQUENCEREG0B79S2_LSB 0
  6188. #define CSR_SEQUENCEREG0B79S2_MASK GENMASK_32(8, 0)
  6189. /* CSR_SEQUENCEREG0B80S0 */
  6190. #define CSR_SEQUENCEREG0B80S0_LSB 0
  6191. #define CSR_SEQUENCEREG0B80S0_MASK GENMASK_32(15, 0)
  6192. /* CSR_SEQUENCEREG0B80S1 */
  6193. #define CSR_SEQUENCEREG0B80S1_LSB 0
  6194. #define CSR_SEQUENCEREG0B80S1_MASK GENMASK_32(15, 0)
  6195. /* CSR_SEQUENCEREG0B80S2 */
  6196. #define CSR_SEQUENCEREG0B80S2_LSB 0
  6197. #define CSR_SEQUENCEREG0B80S2_MASK GENMASK_32(8, 0)
  6198. /* CSR_SEQUENCEREG0B81S0 */
  6199. #define CSR_SEQUENCEREG0B81S0_LSB 0
  6200. #define CSR_SEQUENCEREG0B81S0_MASK GENMASK_32(15, 0)
  6201. /* CSR_SEQUENCEREG0B81S1 */
  6202. #define CSR_SEQUENCEREG0B81S1_LSB 0
  6203. #define CSR_SEQUENCEREG0B81S1_MASK GENMASK_32(15, 0)
  6204. /* CSR_SEQUENCEREG0B81S2 */
  6205. #define CSR_SEQUENCEREG0B81S2_LSB 0
  6206. #define CSR_SEQUENCEREG0B81S2_MASK GENMASK_32(8, 0)
  6207. /* CSR_SEQUENCEREG0B82S0 */
  6208. #define CSR_SEQUENCEREG0B82S0_LSB 0
  6209. #define CSR_SEQUENCEREG0B82S0_MASK GENMASK_32(15, 0)
  6210. /* CSR_SEQUENCEREG0B82S1 */
  6211. #define CSR_SEQUENCEREG0B82S1_LSB 0
  6212. #define CSR_SEQUENCEREG0B82S1_MASK GENMASK_32(15, 0)
  6213. /* CSR_SEQUENCEREG0B82S2 */
  6214. #define CSR_SEQUENCEREG0B82S2_LSB 0
  6215. #define CSR_SEQUENCEREG0B82S2_MASK GENMASK_32(8, 0)
  6216. /* CSR_SEQUENCEREG0B83S0 */
  6217. #define CSR_SEQUENCEREG0B83S0_LSB 0
  6218. #define CSR_SEQUENCEREG0B83S0_MASK GENMASK_32(15, 0)
  6219. /* CSR_SEQUENCEREG0B83S1 */
  6220. #define CSR_SEQUENCEREG0B83S1_LSB 0
  6221. #define CSR_SEQUENCEREG0B83S1_MASK GENMASK_32(15, 0)
  6222. /* CSR_SEQUENCEREG0B83S2 */
  6223. #define CSR_SEQUENCEREG0B83S2_LSB 0
  6224. #define CSR_SEQUENCEREG0B83S2_MASK GENMASK_32(8, 0)
  6225. /* CSR_SEQUENCEREG0B84S0 */
  6226. #define CSR_SEQUENCEREG0B84S0_LSB 0
  6227. #define CSR_SEQUENCEREG0B84S0_MASK GENMASK_32(15, 0)
  6228. /* CSR_SEQUENCEREG0B84S1 */
  6229. #define CSR_SEQUENCEREG0B84S1_LSB 0
  6230. #define CSR_SEQUENCEREG0B84S1_MASK GENMASK_32(15, 0)
  6231. /* CSR_SEQUENCEREG0B84S2 */
  6232. #define CSR_SEQUENCEREG0B84S2_LSB 0
  6233. #define CSR_SEQUENCEREG0B84S2_MASK GENMASK_32(8, 0)
  6234. /* CSR_SEQUENCEREG0B85S0 */
  6235. #define CSR_SEQUENCEREG0B85S0_LSB 0
  6236. #define CSR_SEQUENCEREG0B85S0_MASK GENMASK_32(15, 0)
  6237. /* CSR_SEQUENCEREG0B85S1 */
  6238. #define CSR_SEQUENCEREG0B85S1_LSB 0
  6239. #define CSR_SEQUENCEREG0B85S1_MASK GENMASK_32(15, 0)
  6240. /* CSR_SEQUENCEREG0B85S2 */
  6241. #define CSR_SEQUENCEREG0B85S2_LSB 0
  6242. #define CSR_SEQUENCEREG0B85S2_MASK GENMASK_32(8, 0)
  6243. /* CSR_SEQUENCEREG0B86S0 */
  6244. #define CSR_SEQUENCEREG0B86S0_LSB 0
  6245. #define CSR_SEQUENCEREG0B86S0_MASK GENMASK_32(15, 0)
  6246. /* CSR_SEQUENCEREG0B86S1 */
  6247. #define CSR_SEQUENCEREG0B86S1_LSB 0
  6248. #define CSR_SEQUENCEREG0B86S1_MASK GENMASK_32(15, 0)
  6249. /* CSR_SEQUENCEREG0B86S2 */
  6250. #define CSR_SEQUENCEREG0B86S2_LSB 0
  6251. #define CSR_SEQUENCEREG0B86S2_MASK GENMASK_32(8, 0)
  6252. /* CSR_SEQUENCEREG0B87S0 */
  6253. #define CSR_SEQUENCEREG0B87S0_LSB 0
  6254. #define CSR_SEQUENCEREG0B87S0_MASK GENMASK_32(15, 0)
  6255. /* CSR_SEQUENCEREG0B87S1 */
  6256. #define CSR_SEQUENCEREG0B87S1_LSB 0
  6257. #define CSR_SEQUENCEREG0B87S1_MASK GENMASK_32(15, 0)
  6258. /* CSR_SEQUENCEREG0B87S2 */
  6259. #define CSR_SEQUENCEREG0B87S2_LSB 0
  6260. #define CSR_SEQUENCEREG0B87S2_MASK GENMASK_32(8, 0)
  6261. /* CSR_SEQUENCEREG0B88S0 */
  6262. #define CSR_SEQUENCEREG0B88S0_LSB 0
  6263. #define CSR_SEQUENCEREG0B88S0_MASK GENMASK_32(15, 0)
  6264. /* CSR_SEQUENCEREG0B88S1 */
  6265. #define CSR_SEQUENCEREG0B88S1_LSB 0
  6266. #define CSR_SEQUENCEREG0B88S1_MASK GENMASK_32(15, 0)
  6267. /* CSR_SEQUENCEREG0B88S2 */
  6268. #define CSR_SEQUENCEREG0B88S2_LSB 0
  6269. #define CSR_SEQUENCEREG0B88S2_MASK GENMASK_32(8, 0)
  6270. /* CSR_SEQUENCEREG0B89S0 */
  6271. #define CSR_SEQUENCEREG0B89S0_LSB 0
  6272. #define CSR_SEQUENCEREG0B89S0_MASK GENMASK_32(15, 0)
  6273. /* CSR_SEQUENCEREG0B89S1 */
  6274. #define CSR_SEQUENCEREG0B89S1_LSB 0
  6275. #define CSR_SEQUENCEREG0B89S1_MASK GENMASK_32(15, 0)
  6276. /* CSR_SEQUENCEREG0B89S2 */
  6277. #define CSR_SEQUENCEREG0B89S2_LSB 0
  6278. #define CSR_SEQUENCEREG0B89S2_MASK GENMASK_32(8, 0)
  6279. /* CSR_SEQUENCEREG0B90S0 */
  6280. #define CSR_SEQUENCEREG0B90S0_LSB 0
  6281. #define CSR_SEQUENCEREG0B90S0_MASK GENMASK_32(15, 0)
  6282. /* CSR_SEQUENCEREG0B90S1 */
  6283. #define CSR_SEQUENCEREG0B90S1_LSB 0
  6284. #define CSR_SEQUENCEREG0B90S1_MASK GENMASK_32(15, 0)
  6285. /* CSR_SEQUENCEREG0B90S2 */
  6286. #define CSR_SEQUENCEREG0B90S2_LSB 0
  6287. #define CSR_SEQUENCEREG0B90S2_MASK GENMASK_32(8, 0)
  6288. /* CSR_SEQUENCEREG0B91S0 */
  6289. #define CSR_SEQUENCEREG0B91S0_LSB 0
  6290. #define CSR_SEQUENCEREG0B91S0_MASK GENMASK_32(15, 0)
  6291. /* CSR_SEQUENCEREG0B91S1 */
  6292. #define CSR_SEQUENCEREG0B91S1_LSB 0
  6293. #define CSR_SEQUENCEREG0B91S1_MASK GENMASK_32(15, 0)
  6294. /* CSR_SEQUENCEREG0B91S2 */
  6295. #define CSR_SEQUENCEREG0B91S2_LSB 0
  6296. #define CSR_SEQUENCEREG0B91S2_MASK GENMASK_32(8, 0)
  6297. /* CSR_SEQUENCEREG0B92S0 */
  6298. #define CSR_SEQUENCEREG0B92S0_LSB 0
  6299. #define CSR_SEQUENCEREG0B92S0_MASK GENMASK_32(15, 0)
  6300. /* CSR_SEQUENCEREG0B92S1 */
  6301. #define CSR_SEQUENCEREG0B92S1_LSB 0
  6302. #define CSR_SEQUENCEREG0B92S1_MASK GENMASK_32(15, 0)
  6303. /* CSR_SEQUENCEREG0B92S2 */
  6304. #define CSR_SEQUENCEREG0B92S2_LSB 0
  6305. #define CSR_SEQUENCEREG0B92S2_MASK GENMASK_32(8, 0)
  6306. /* CSR_SEQUENCEREG0B93S0 */
  6307. #define CSR_SEQUENCEREG0B93S0_LSB 0
  6308. #define CSR_SEQUENCEREG0B93S0_MASK GENMASK_32(15, 0)
  6309. /* CSR_SEQUENCEREG0B93S1 */
  6310. #define CSR_SEQUENCEREG0B93S1_LSB 0
  6311. #define CSR_SEQUENCEREG0B93S1_MASK GENMASK_32(15, 0)
  6312. /* CSR_SEQUENCEREG0B93S2 */
  6313. #define CSR_SEQUENCEREG0B93S2_LSB 0
  6314. #define CSR_SEQUENCEREG0B93S2_MASK GENMASK_32(8, 0)
  6315. /* CSR_SEQUENCEREG0B94S0 */
  6316. #define CSR_SEQUENCEREG0B94S0_LSB 0
  6317. #define CSR_SEQUENCEREG0B94S0_MASK GENMASK_32(15, 0)
  6318. /* CSR_SEQUENCEREG0B94S1 */
  6319. #define CSR_SEQUENCEREG0B94S1_LSB 0
  6320. #define CSR_SEQUENCEREG0B94S1_MASK GENMASK_32(15, 0)
  6321. /* CSR_SEQUENCEREG0B94S2 */
  6322. #define CSR_SEQUENCEREG0B94S2_LSB 0
  6323. #define CSR_SEQUENCEREG0B94S2_MASK GENMASK_32(8, 0)
  6324. /* CSR_SEQUENCEREG0B95S0 */
  6325. #define CSR_SEQUENCEREG0B95S0_LSB 0
  6326. #define CSR_SEQUENCEREG0B95S0_MASK GENMASK_32(15, 0)
  6327. /* CSR_SEQUENCEREG0B95S1 */
  6328. #define CSR_SEQUENCEREG0B95S1_LSB 0
  6329. #define CSR_SEQUENCEREG0B95S1_MASK GENMASK_32(15, 0)
  6330. /* CSR_SEQUENCEREG0B95S2 */
  6331. #define CSR_SEQUENCEREG0B95S2_LSB 0
  6332. #define CSR_SEQUENCEREG0B95S2_MASK GENMASK_32(8, 0)
  6333. /* CSR_SEQUENCEREG0B96S0 */
  6334. #define CSR_SEQUENCEREG0B96S0_LSB 0
  6335. #define CSR_SEQUENCEREG0B96S0_MASK GENMASK_32(15, 0)
  6336. /* CSR_SEQUENCEREG0B96S1 */
  6337. #define CSR_SEQUENCEREG0B96S1_LSB 0
  6338. #define CSR_SEQUENCEREG0B96S1_MASK GENMASK_32(15, 0)
  6339. /* CSR_SEQUENCEREG0B96S2 */
  6340. #define CSR_SEQUENCEREG0B96S2_LSB 0
  6341. #define CSR_SEQUENCEREG0B96S2_MASK GENMASK_32(8, 0)
  6342. /* CSR_SEQUENCEREG0B97S0 */
  6343. #define CSR_SEQUENCEREG0B97S0_LSB 0
  6344. #define CSR_SEQUENCEREG0B97S0_MASK GENMASK_32(15, 0)
  6345. /* CSR_SEQUENCEREG0B97S1 */
  6346. #define CSR_SEQUENCEREG0B97S1_LSB 0
  6347. #define CSR_SEQUENCEREG0B97S1_MASK GENMASK_32(15, 0)
  6348. /* CSR_SEQUENCEREG0B97S2 */
  6349. #define CSR_SEQUENCEREG0B97S2_LSB 0
  6350. #define CSR_SEQUENCEREG0B97S2_MASK GENMASK_32(8, 0)
  6351. /* CSR_SEQUENCEREG0B98S0 */
  6352. #define CSR_SEQUENCEREG0B98S0_LSB 0
  6353. #define CSR_SEQUENCEREG0B98S0_MASK GENMASK_32(15, 0)
  6354. /* CSR_SEQUENCEREG0B98S1 */
  6355. #define CSR_SEQUENCEREG0B98S1_LSB 0
  6356. #define CSR_SEQUENCEREG0B98S1_MASK GENMASK_32(15, 0)
  6357. /* CSR_SEQUENCEREG0B98S2 */
  6358. #define CSR_SEQUENCEREG0B98S2_LSB 0
  6359. #define CSR_SEQUENCEREG0B98S2_MASK GENMASK_32(8, 0)
  6360. /* CSR_SEQUENCEREG0B99S0 */
  6361. #define CSR_SEQUENCEREG0B99S0_LSB 0
  6362. #define CSR_SEQUENCEREG0B99S0_MASK GENMASK_32(15, 0)
  6363. /* CSR_SEQUENCEREG0B99S1 */
  6364. #define CSR_SEQUENCEREG0B99S1_LSB 0
  6365. #define CSR_SEQUENCEREG0B99S1_MASK GENMASK_32(15, 0)
  6366. /* CSR_SEQUENCEREG0B99S2 */
  6367. #define CSR_SEQUENCEREG0B99S2_LSB 0
  6368. #define CSR_SEQUENCEREG0B99S2_MASK GENMASK_32(8, 0)
  6369. /* CSR_SEQUENCEREG0B100S0 */
  6370. #define CSR_SEQUENCEREG0B100S0_LSB 0
  6371. #define CSR_SEQUENCEREG0B100S0_MASK GENMASK_32(15, 0)
  6372. /* CSR_SEQUENCEREG0B100S1 */
  6373. #define CSR_SEQUENCEREG0B100S1_LSB 0
  6374. #define CSR_SEQUENCEREG0B100S1_MASK GENMASK_32(15, 0)
  6375. /* CSR_SEQUENCEREG0B100S2 */
  6376. #define CSR_SEQUENCEREG0B100S2_LSB 0
  6377. #define CSR_SEQUENCEREG0B100S2_MASK GENMASK_32(8, 0)
  6378. /* CSR_SEQUENCEREG0B101S0 */
  6379. #define CSR_SEQUENCEREG0B101S0_LSB 0
  6380. #define CSR_SEQUENCEREG0B101S0_MASK GENMASK_32(15, 0)
  6381. /* CSR_SEQUENCEREG0B101S1 */
  6382. #define CSR_SEQUENCEREG0B101S1_LSB 0
  6383. #define CSR_SEQUENCEREG0B101S1_MASK GENMASK_32(15, 0)
  6384. /* CSR_SEQUENCEREG0B101S2 */
  6385. #define CSR_SEQUENCEREG0B101S2_LSB 0
  6386. #define CSR_SEQUENCEREG0B101S2_MASK GENMASK_32(8, 0)
  6387. /* CSR_SEQUENCEREG0B102S0 */
  6388. #define CSR_SEQUENCEREG0B102S0_LSB 0
  6389. #define CSR_SEQUENCEREG0B102S0_MASK GENMASK_32(15, 0)
  6390. /* CSR_SEQUENCEREG0B102S1 */
  6391. #define CSR_SEQUENCEREG0B102S1_LSB 0
  6392. #define CSR_SEQUENCEREG0B102S1_MASK GENMASK_32(15, 0)
  6393. /* CSR_SEQUENCEREG0B102S2 */
  6394. #define CSR_SEQUENCEREG0B102S2_LSB 0
  6395. #define CSR_SEQUENCEREG0B102S2_MASK GENMASK_32(8, 0)
  6396. /* CSR_SEQUENCEREG0B103S0 */
  6397. #define CSR_SEQUENCEREG0B103S0_LSB 0
  6398. #define CSR_SEQUENCEREG0B103S0_MASK GENMASK_32(15, 0)
  6399. /* CSR_SEQUENCEREG0B103S1 */
  6400. #define CSR_SEQUENCEREG0B103S1_LSB 0
  6401. #define CSR_SEQUENCEREG0B103S1_MASK GENMASK_32(15, 0)
  6402. /* CSR_SEQUENCEREG0B103S2 */
  6403. #define CSR_SEQUENCEREG0B103S2_LSB 0
  6404. #define CSR_SEQUENCEREG0B103S2_MASK GENMASK_32(8, 0)
  6405. /* CSR_SEQUENCEREG0B104S0 */
  6406. #define CSR_SEQUENCEREG0B104S0_LSB 0
  6407. #define CSR_SEQUENCEREG0B104S0_MASK GENMASK_32(15, 0)
  6408. /* CSR_SEQUENCEREG0B104S1 */
  6409. #define CSR_SEQUENCEREG0B104S1_LSB 0
  6410. #define CSR_SEQUENCEREG0B104S1_MASK GENMASK_32(15, 0)
  6411. /* CSR_SEQUENCEREG0B104S2 */
  6412. #define CSR_SEQUENCEREG0B104S2_LSB 0
  6413. #define CSR_SEQUENCEREG0B104S2_MASK GENMASK_32(8, 0)
  6414. /* CSR_SEQUENCEREG0B105S0 */
  6415. #define CSR_SEQUENCEREG0B105S0_LSB 0
  6416. #define CSR_SEQUENCEREG0B105S0_MASK GENMASK_32(15, 0)
  6417. /* CSR_SEQUENCEREG0B105S1 */
  6418. #define CSR_SEQUENCEREG0B105S1_LSB 0
  6419. #define CSR_SEQUENCEREG0B105S1_MASK GENMASK_32(15, 0)
  6420. /* CSR_SEQUENCEREG0B105S2 */
  6421. #define CSR_SEQUENCEREG0B105S2_LSB 0
  6422. #define CSR_SEQUENCEREG0B105S2_MASK GENMASK_32(8, 0)
  6423. /* CSR_SEQUENCEREG0B106S0 */
  6424. #define CSR_SEQUENCEREG0B106S0_LSB 0
  6425. #define CSR_SEQUENCEREG0B106S0_MASK GENMASK_32(15, 0)
  6426. /* CSR_SEQUENCEREG0B106S1 */
  6427. #define CSR_SEQUENCEREG0B106S1_LSB 0
  6428. #define CSR_SEQUENCEREG0B106S1_MASK GENMASK_32(15, 0)
  6429. /* CSR_SEQUENCEREG0B106S2 */
  6430. #define CSR_SEQUENCEREG0B106S2_LSB 0
  6431. #define CSR_SEQUENCEREG0B106S2_MASK GENMASK_32(8, 0)
  6432. /* CSR_SEQUENCEREG0B107S0 */
  6433. #define CSR_SEQUENCEREG0B107S0_LSB 0
  6434. #define CSR_SEQUENCEREG0B107S0_MASK GENMASK_32(15, 0)
  6435. /* CSR_SEQUENCEREG0B107S1 */
  6436. #define CSR_SEQUENCEREG0B107S1_LSB 0
  6437. #define CSR_SEQUENCEREG0B107S1_MASK GENMASK_32(15, 0)
  6438. /* CSR_SEQUENCEREG0B107S2 */
  6439. #define CSR_SEQUENCEREG0B107S2_LSB 0
  6440. #define CSR_SEQUENCEREG0B107S2_MASK GENMASK_32(8, 0)
  6441. /* CSR_SEQUENCEREG0B108S0 */
  6442. #define CSR_SEQUENCEREG0B108S0_LSB 0
  6443. #define CSR_SEQUENCEREG0B108S0_MASK GENMASK_32(15, 0)
  6444. /* CSR_SEQUENCEREG0B108S1 */
  6445. #define CSR_SEQUENCEREG0B108S1_LSB 0
  6446. #define CSR_SEQUENCEREG0B108S1_MASK GENMASK_32(15, 0)
  6447. /* CSR_SEQUENCEREG0B108S2 */
  6448. #define CSR_SEQUENCEREG0B108S2_LSB 0
  6449. #define CSR_SEQUENCEREG0B108S2_MASK GENMASK_32(8, 0)
  6450. /* CSR_SEQUENCEREG0B109S0 */
  6451. #define CSR_SEQUENCEREG0B109S0_LSB 0
  6452. #define CSR_SEQUENCEREG0B109S0_MASK GENMASK_32(15, 0)
  6453. /* CSR_SEQUENCEREG0B109S1 */
  6454. #define CSR_SEQUENCEREG0B109S1_LSB 0
  6455. #define CSR_SEQUENCEREG0B109S1_MASK GENMASK_32(15, 0)
  6456. /* CSR_SEQUENCEREG0B109S2 */
  6457. #define CSR_SEQUENCEREG0B109S2_LSB 0
  6458. #define CSR_SEQUENCEREG0B109S2_MASK GENMASK_32(8, 0)
  6459. /* CSR_SEQUENCEREG0B110S0 */
  6460. #define CSR_SEQUENCEREG0B110S0_LSB 0
  6461. #define CSR_SEQUENCEREG0B110S0_MASK GENMASK_32(15, 0)
  6462. /* CSR_SEQUENCEREG0B110S1 */
  6463. #define CSR_SEQUENCEREG0B110S1_LSB 0
  6464. #define CSR_SEQUENCEREG0B110S1_MASK GENMASK_32(15, 0)
  6465. /* CSR_SEQUENCEREG0B110S2 */
  6466. #define CSR_SEQUENCEREG0B110S2_LSB 0
  6467. #define CSR_SEQUENCEREG0B110S2_MASK GENMASK_32(8, 0)
  6468. /* CSR_SEQUENCEREG0B111S0 */
  6469. #define CSR_SEQUENCEREG0B111S0_LSB 0
  6470. #define CSR_SEQUENCEREG0B111S0_MASK GENMASK_32(15, 0)
  6471. /* CSR_SEQUENCEREG0B111S1 */
  6472. #define CSR_SEQUENCEREG0B111S1_LSB 0
  6473. #define CSR_SEQUENCEREG0B111S1_MASK GENMASK_32(15, 0)
  6474. /* CSR_SEQUENCEREG0B111S2 */
  6475. #define CSR_SEQUENCEREG0B111S2_LSB 0
  6476. #define CSR_SEQUENCEREG0B111S2_MASK GENMASK_32(8, 0)
  6477. /* CSR_SEQUENCEREG0B112S0 */
  6478. #define CSR_SEQUENCEREG0B112S0_LSB 0
  6479. #define CSR_SEQUENCEREG0B112S0_MASK GENMASK_32(15, 0)
  6480. /* CSR_SEQUENCEREG0B112S1 */
  6481. #define CSR_SEQUENCEREG0B112S1_LSB 0
  6482. #define CSR_SEQUENCEREG0B112S1_MASK GENMASK_32(15, 0)
  6483. /* CSR_SEQUENCEREG0B112S2 */
  6484. #define CSR_SEQUENCEREG0B112S2_LSB 0
  6485. #define CSR_SEQUENCEREG0B112S2_MASK GENMASK_32(8, 0)
  6486. /* CSR_SEQUENCEREG0B113S0 */
  6487. #define CSR_SEQUENCEREG0B113S0_LSB 0
  6488. #define CSR_SEQUENCEREG0B113S0_MASK GENMASK_32(15, 0)
  6489. /* CSR_SEQUENCEREG0B113S1 */
  6490. #define CSR_SEQUENCEREG0B113S1_LSB 0
  6491. #define CSR_SEQUENCEREG0B113S1_MASK GENMASK_32(15, 0)
  6492. /* CSR_SEQUENCEREG0B113S2 */
  6493. #define CSR_SEQUENCEREG0B113S2_LSB 0
  6494. #define CSR_SEQUENCEREG0B113S2_MASK GENMASK_32(8, 0)
  6495. /* CSR_SEQUENCEREG0B114S0 */
  6496. #define CSR_SEQUENCEREG0B114S0_LSB 0
  6497. #define CSR_SEQUENCEREG0B114S0_MASK GENMASK_32(15, 0)
  6498. /* CSR_SEQUENCEREG0B114S1 */
  6499. #define CSR_SEQUENCEREG0B114S1_LSB 0
  6500. #define CSR_SEQUENCEREG0B114S1_MASK GENMASK_32(15, 0)
  6501. /* CSR_SEQUENCEREG0B114S2 */
  6502. #define CSR_SEQUENCEREG0B114S2_LSB 0
  6503. #define CSR_SEQUENCEREG0B114S2_MASK GENMASK_32(8, 0)
  6504. /* CSR_SEQUENCEREG0B115S0 */
  6505. #define CSR_SEQUENCEREG0B115S0_LSB 0
  6506. #define CSR_SEQUENCEREG0B115S0_MASK GENMASK_32(15, 0)
  6507. /* CSR_SEQUENCEREG0B115S1 */
  6508. #define CSR_SEQUENCEREG0B115S1_LSB 0
  6509. #define CSR_SEQUENCEREG0B115S1_MASK GENMASK_32(15, 0)
  6510. /* CSR_SEQUENCEREG0B115S2 */
  6511. #define CSR_SEQUENCEREG0B115S2_LSB 0
  6512. #define CSR_SEQUENCEREG0B115S2_MASK GENMASK_32(8, 0)
  6513. /* CSR_SEQUENCEREG0B116S0 */
  6514. #define CSR_SEQUENCEREG0B116S0_LSB 0
  6515. #define CSR_SEQUENCEREG0B116S0_MASK GENMASK_32(15, 0)
  6516. /* CSR_SEQUENCEREG0B116S1 */
  6517. #define CSR_SEQUENCEREG0B116S1_LSB 0
  6518. #define CSR_SEQUENCEREG0B116S1_MASK GENMASK_32(15, 0)
  6519. /* CSR_SEQUENCEREG0B116S2 */
  6520. #define CSR_SEQUENCEREG0B116S2_LSB 0
  6521. #define CSR_SEQUENCEREG0B116S2_MASK GENMASK_32(8, 0)
  6522. /* CSR_SEQUENCEREG0B117S0 */
  6523. #define CSR_SEQUENCEREG0B117S0_LSB 0
  6524. #define CSR_SEQUENCEREG0B117S0_MASK GENMASK_32(15, 0)
  6525. /* CSR_SEQUENCEREG0B117S1 */
  6526. #define CSR_SEQUENCEREG0B117S1_LSB 0
  6527. #define CSR_SEQUENCEREG0B117S1_MASK GENMASK_32(15, 0)
  6528. /* CSR_SEQUENCEREG0B117S2 */
  6529. #define CSR_SEQUENCEREG0B117S2_LSB 0
  6530. #define CSR_SEQUENCEREG0B117S2_MASK GENMASK_32(8, 0)
  6531. /* CSR_SEQUENCEREG0B118S0 */
  6532. #define CSR_SEQUENCEREG0B118S0_LSB 0
  6533. #define CSR_SEQUENCEREG0B118S0_MASK GENMASK_32(15, 0)
  6534. /* CSR_SEQUENCEREG0B118S1 */
  6535. #define CSR_SEQUENCEREG0B118S1_LSB 0
  6536. #define CSR_SEQUENCEREG0B118S1_MASK GENMASK_32(15, 0)
  6537. /* CSR_SEQUENCEREG0B118S2 */
  6538. #define CSR_SEQUENCEREG0B118S2_LSB 0
  6539. #define CSR_SEQUENCEREG0B118S2_MASK GENMASK_32(8, 0)
  6540. /* CSR_SEQUENCEREG0B119S0 */
  6541. #define CSR_SEQUENCEREG0B119S0_LSB 0
  6542. #define CSR_SEQUENCEREG0B119S0_MASK GENMASK_32(15, 0)
  6543. /* CSR_SEQUENCEREG0B119S1 */
  6544. #define CSR_SEQUENCEREG0B119S1_LSB 0
  6545. #define CSR_SEQUENCEREG0B119S1_MASK GENMASK_32(15, 0)
  6546. /* CSR_SEQUENCEREG0B119S2 */
  6547. #define CSR_SEQUENCEREG0B119S2_LSB 0
  6548. #define CSR_SEQUENCEREG0B119S2_MASK GENMASK_32(8, 0)
  6549. /* CSR_SEQUENCEREG0B120S0 */
  6550. #define CSR_SEQUENCEREG0B120S0_LSB 0
  6551. #define CSR_SEQUENCEREG0B120S0_MASK GENMASK_32(15, 0)
  6552. /* CSR_SEQUENCEREG0B120S1 */
  6553. #define CSR_SEQUENCEREG0B120S1_LSB 0
  6554. #define CSR_SEQUENCEREG0B120S1_MASK GENMASK_32(15, 0)
  6555. /* CSR_SEQUENCEREG0B120S2 */
  6556. #define CSR_SEQUENCEREG0B120S2_LSB 0
  6557. #define CSR_SEQUENCEREG0B120S2_MASK GENMASK_32(8, 0)
  6558. /* CSR_SEQUENCEREG0B121S0 */
  6559. #define CSR_SEQUENCEREG0B121S0_LSB 0
  6560. #define CSR_SEQUENCEREG0B121S0_MASK GENMASK_32(15, 0)
  6561. /* CSR_SEQUENCEREG0B121S1 */
  6562. #define CSR_SEQUENCEREG0B121S1_LSB 0
  6563. #define CSR_SEQUENCEREG0B121S1_MASK GENMASK_32(15, 0)
  6564. /* CSR_SEQUENCEREG0B121S2 */
  6565. #define CSR_SEQUENCEREG0B121S2_LSB 0
  6566. #define CSR_SEQUENCEREG0B121S2_MASK GENMASK_32(8, 0)
  6567. /* CSR_SEQ0BGPR1 */
  6568. #define CSR_SEQ0BGPR1_LSB 0
  6569. #define CSR_SEQ0BGPR1_MASK GENMASK_32(15, 0)
  6570. /* CSR_SEQ0BGPR2 */
  6571. #define CSR_SEQ0BGPR2_LSB 0
  6572. #define CSR_SEQ0BGPR2_MASK GENMASK_32(15, 0)
  6573. /* CSR_SEQ0BGPR3 */
  6574. #define CSR_SEQ0BGPR3_LSB 0
  6575. #define CSR_SEQ0BGPR3_MASK GENMASK_32(15, 0)
  6576. /* CSR_SEQ0BGPR4 */
  6577. #define CSR_SEQ0BGPR4_LSB 0
  6578. #define CSR_SEQ0BGPR4_MASK GENMASK_32(15, 0)
  6579. /* CSR_SEQ0BGPR5 */
  6580. #define CSR_SEQ0BGPR5_LSB 0
  6581. #define CSR_SEQ0BGPR5_MASK GENMASK_32(15, 0)
  6582. /* CSR_SEQ0BGPR6 */
  6583. #define CSR_SEQ0BGPR6_LSB 0
  6584. #define CSR_SEQ0BGPR6_MASK GENMASK_32(15, 0)
  6585. /* CSR_SEQ0BGPR7 */
  6586. #define CSR_SEQ0BGPR7_LSB 0
  6587. #define CSR_SEQ0BGPR7_MASK GENMASK_32(15, 0)
  6588. /* CSR_SEQ0BGPR8 */
  6589. #define CSR_SEQ0BGPR8_LSB 0
  6590. #define CSR_SEQ0BGPR8_MASK GENMASK_32(15, 0)
  6591. /* CSR_SEQ0BFIXEDADDRBITS */
  6592. #define CSR_SEQ0BFIXEDADDRBITS_LSB 0
  6593. #define CSR_SEQ0BFIXEDADDRBITS_MASK GENMASK_32(6, 0)
  6594. #define CSR_SEQ0BCHIPLETBITS_LSB 0
  6595. #define CSR_SEQ0BCHIPLETBITS_MASK GENMASK_32(3, 0)
  6596. #define CSR_SEQ0BPSTATEBITS_LSB 4
  6597. #define CSR_SEQ0BPSTATEBITS_MASK GENMASK_32(6, 4)
  6598. /* DRTUB0 register offsets */
  6599. /* CSR_DCTSHADOWREGS */
  6600. #define CSR_DCTSHADOWREGS_LSB 0
  6601. #define CSR_DCTSHADOWREGS_MASK BIT(0)
  6602. #define CSR_DCTWRITEPROTSHADOW_LSB 0
  6603. #define CSR_DCTWRITEPROTSHADOW_MASK BIT(0)
  6604. /* CSR_DCTWRITEONLYSHADOW */
  6605. #define CSR_DCTWRITEONLYSHADOW_LSB 0
  6606. #define CSR_DCTWRITEONLYSHADOW_MASK GENMASK_32(15, 0)
  6607. /* CSR_UCTWRITEONLY */
  6608. #define CSR_UCTWRITEONLY_LSB 0
  6609. #define CSR_UCTWRITEONLY_MASK GENMASK_32(15, 0)
  6610. /* CSR_UCTWRITEPROT */
  6611. #define CSR_UCTWRITEPROT_LSB 0
  6612. #define CSR_UCTWRITEPROT_MASK BIT(0)
  6613. /* CSR_UCTDATWRITEONLY */
  6614. #define CSR_UCTDATWRITEONLY_LSB 0
  6615. #define CSR_UCTDATWRITEONLY_MASK GENMASK_32(15, 0)
  6616. /* CSR_UCTDATWRITEPROT */
  6617. #define CSR_UCTDATWRITEPROT_LSB 0
  6618. #define CSR_UCTDATWRITEPROT_MASK BIT(0)
  6619. /* CSR_UCTLERR */
  6620. #define CSR_UCTLERR_LSB 0
  6621. #define CSR_UCTLERR_MASK BIT(0)
  6622. /* CSR_UCCLKHCLKENABLES */
  6623. #define CSR_UCCLKHCLKENABLES_LSB 0
  6624. #define CSR_UCCLKHCLKENABLES_MASK GENMASK_32(1, 0)
  6625. #define CSR_UCCLKEN_LSB 0
  6626. #define CSR_UCCLKEN_MASK BIT(0)
  6627. #define CSR_HCLKEN_LSB 1
  6628. #define CSR_HCLKEN_MASK BIT(1)
  6629. /* CSR_CURPSTATE0B */
  6630. #define CSR_CURPSTATE0B_LSB 0
  6631. #define CSR_CURPSTATE0B_MASK GENMASK_32(3, 0)
  6632. /* CSR_CLRWAKEUPSTICKY */
  6633. #define CSR_CLRWAKEUPSTICKY_LSB 0
  6634. #define CSR_CLRWAKEUPSTICKY_MASK GENMASK_32(3, 0)
  6635. /* CSR_WAKEUPMASK */
  6636. #define CSR_WAKEUPMASK_LSB 0
  6637. #define CSR_WAKEUPMASK_MASK GENMASK_32(3, 0)
  6638. /* CSR_CUSTPUBREV */
  6639. #define CSR_CUSTPUBREV_LSB 0
  6640. #define CSR_CUSTPUBREV_MASK GENMASK_32(5, 0)
  6641. /* CSR_PUBREV */
  6642. #define CSR_PUBREV_LSB 0
  6643. #define CSR_PUBREV_MASK GENMASK_32(15, 0)
  6644. #define CSR_RESERVEDPUBREV_LSB 0
  6645. #define CSR_RESERVEDPUBREV_MASK GENMASK_32(3, 0)
  6646. #define CSR_PUBMNR_LSB 4
  6647. #define CSR_PUBMNR_MASK GENMASK_32(7, 4)
  6648. #define CSR_PUBMDR_LSB 8
  6649. #define CSR_PUBMDR_MASK GENMASK_32(11, 8)
  6650. #define CSR_PUBMJR_LSB 12
  6651. #define CSR_PUBMJR_MASK GENMASK_32(15, 12)
  6652. /* APBONLY0 register offsets */
  6653. /* CSR_MICROCONTMUXSEL */
  6654. #define CSR_MICROCONTMUXSEL_LSB 0
  6655. #define CSR_MICROCONTMUXSEL_MASK BIT(0)
  6656. /* CSR_UCTSHADOWREGS */
  6657. #define CSR_UCTSHADOWREGS_LSB 0
  6658. #define CSR_UCTSHADOWREGS_MASK GENMASK_32(1, 0)
  6659. #define CSR_UCTWRITEPROTSHADOW_LSB 0
  6660. #define CSR_UCTWRITEPROTSHADOW_MASK BIT(0)
  6661. #define CSR_UCTDATWRITEPROTSHADOW_LSB 1
  6662. #define CSR_UCTDATWRITEPROTSHADOW_MASK BIT(1)
  6663. /* CSR_DCTWRITEONLY */
  6664. #define CSR_DCTWRITEONLY_LSB 0
  6665. #define CSR_DCTWRITEONLY_MASK GENMASK_32(15, 0)
  6666. /* CSR_DCTWRITEPROT */
  6667. #define CSR_DCTWRITEPROT_LSB 0
  6668. #define CSR_DCTWRITEPROT_MASK BIT(0)
  6669. /* CSR_UCTWRITEONLYSHADOW */
  6670. #define CSR_UCTWRITEONLYSHADOW_LSB 0
  6671. #define CSR_UCTWRITEONLYSHADOW_MASK GENMASK_32(15, 0)
  6672. /* CSR_UCTDATWRITEONLYSHADOW */
  6673. #define CSR_UCTDATWRITEONLYSHADOW_LSB 0
  6674. #define CSR_UCTDATWRITEONLYSHADOW_MASK GENMASK_32(15, 0)
  6675. /* CSR_NEVERGATECSRCLOCK */
  6676. #define CSR_NEVERGATECSRCLOCK_LSB 0
  6677. #define CSR_NEVERGATECSRCLOCK_MASK BIT(0)
  6678. /* CSR_DFICFGRDDATAVALIDTICKS */
  6679. #define CSR_DFICFGRDDATAVALIDTICKS_LSB 0
  6680. #define CSR_DFICFGRDDATAVALIDTICKS_MASK GENMASK_32(5, 0)
  6681. /* CSR_MICRORESET */
  6682. #define CSR_MICRORESET_LSB 0
  6683. #define CSR_MICRORESET_MASK GENMASK_32(3, 0)
  6684. #define CSR_STALLTOMICRO_LSB 0
  6685. #define CSR_STALLTOMICRO_MASK BIT(0)
  6686. #define CSR_TESTWAKEUP_LSB 1
  6687. #define CSR_TESTWAKEUP_MASK BIT(1)
  6688. #define CSR_RSVDMICRO_LSB 2
  6689. #define CSR_RSVDMICRO_MASK BIT(2)
  6690. #define CSR_RESETTOMICRO_LSB 3
  6691. #define CSR_RESETTOMICRO_MASK BIT(3)
  6692. /* CSR_SEQUENCEROVERRIDE */
  6693. #define CSR_SEQUENCEROVERRIDE_LSB 0
  6694. #define CSR_SEQUENCEROVERRIDE_MASK GENMASK_32(10, 0)
  6695. #define CSR_FORCESEQ0BDFIFREQ_LSB 0
  6696. #define CSR_FORCESEQ0BDFIFREQ_MASK GENMASK_32(4, 0)
  6697. #define CSR_FORCESEQ0BSTART_LSB 5
  6698. #define CSR_FORCESEQ0BSTART_MASK BIT(5)
  6699. #define CSR_FORCESEQ0BSTOP_LSB 6
  6700. #define CSR_FORCESEQ0BSTOP_MASK BIT(6)
  6701. #define CSR_BLOCKSEQ0BREQUESTS_LSB 7
  6702. #define CSR_BLOCKSEQ0BREQUESTS_MASK BIT(7)
  6703. #define CSR_BLOCKSEQ0BACK_LSB 8
  6704. #define CSR_BLOCKSEQ0BACK_MASK BIT(8)
  6705. #define CSR_DISABLETERMINATEFLAG_LSB 9
  6706. #define CSR_DISABLETERMINATEFLAG_MASK BIT(9)
  6707. #define CSR_SELECTDFIFREQTOGPRMUX_LSB 10
  6708. #define CSR_SELECTDFIFREQTOGPRMUX_MASK BIT(10)
  6709. /* CSR_DFIINITCOMPLETESHADOW */
  6710. #define CSR_DFIINITCOMPLETESHADOW_LSB 0
  6711. #define CSR_DFIINITCOMPLETESHADOW_MASK BIT(0)
  6712. /* Fields brought to you by the letter B */
  6713. #define B_MIN 0U
  6714. #define B_MAX 1U
  6715. #define B0 0x0U
  6716. #define B1 0x100U
  6717. #define BBRD 0xF00U
  6718. #define BB_MIN 0U
  6719. #define BB_MAX 15U
  6720. #define BB0 0x0U
  6721. #define BB1 0x1000U
  6722. #define BB2 0x2000U
  6723. #define BB3 0x3000U
  6724. #define BB4 0x4000U
  6725. #define BB5 0x5000U
  6726. #define BB6 0x6000U
  6727. #define BB7 0x7000U
  6728. #define BB8 0x8000U
  6729. #define BB9 0x9000U
  6730. #define BB10 0xA000U
  6731. #define BB11 0xB000U
  6732. #define BB12 0xC000U
  6733. #define BB13 0xD000U
  6734. #define BB14 0xE000U
  6735. #define BB15 0xF000U
  6736. #define BBBRD 0xF000U
  6737. /* Fields brought to you by the letter C */
  6738. #define C_MIN 0U
  6739. #define C_MAX 15U
  6740. #define C0 0x0U
  6741. #define C1 0x1000U
  6742. #define C2 0x2000U
  6743. #define C3 0x3000U
  6744. #define C4 0x4000U
  6745. #define C5 0x5000U
  6746. #define C6 0x6000U
  6747. #define C7 0x7000U
  6748. #define C8 0x8000U
  6749. #define C9 0x9000U
  6750. #define C10 0xA000U
  6751. #define C11 0xB000U
  6752. #define C12 0xC000U
  6753. #define C13 0xD000U
  6754. #define C14 0xE000U
  6755. #define C15 0xF000U
  6756. #define CBRD 0xF000U
  6757. /* Fields brought to you by the letter D */
  6758. #define D_MIN 0U
  6759. #define D_MAX 3U
  6760. #define D0 0x0U
  6761. #define D1 0x100U
  6762. #define D2 0x200U
  6763. #define D3 0x300U
  6764. #define DBRD 0xF00U
  6765. /* Fields brought to you by the letter I */
  6766. #define I_MIN 0U
  6767. #define I_MAX 8U
  6768. #define I0 0x0U
  6769. #define I1 0x100U
  6770. #define I2 0x200U
  6771. #define I3 0x300U
  6772. #define I4 0x400U
  6773. #define I5 0x500U
  6774. #define I6 0x600U
  6775. #define I7 0x700U
  6776. #define I8 0x800U
  6777. #define IBRD 0xF00U
  6778. /* Fields brought to you by the letter J */
  6779. #define J_MIN 0U
  6780. #define J_MAX 0U
  6781. #define J0 0x0U
  6782. #define JBRD 0xF00U
  6783. /* Fields brought to you by the letter L */
  6784. #define L_MIN 0U
  6785. #define L_MAX 13U
  6786. #define L0 0x0U
  6787. #define L1 0x100U
  6788. #define L2 0x200U
  6789. #define L3 0x300U
  6790. #define L4 0x400U
  6791. #define L5 0x500U
  6792. #define L6 0x600U
  6793. #define L7 0x700U
  6794. #define L8 0x800U
  6795. #define L9 0x900U
  6796. #define L10 0xA00U
  6797. #define L11 0xB00U
  6798. #define L12 0xC00U
  6799. #define L13 0xD00U
  6800. #define LBRD 0xF00U
  6801. /* Fields brought to you by the letter M */
  6802. #define M_MIN 0U
  6803. #define M_MAX 8U
  6804. #define M0 0x0U
  6805. #define M1 0x100U
  6806. #define M2 0x200U
  6807. #define M3 0x300U
  6808. #define M4 0x400U
  6809. #define M5 0x500U
  6810. #define M6 0x600U
  6811. #define M7 0x700U
  6812. #define M8 0x800U
  6813. #define MBRD 0xF00U
  6814. /* Fields brought to you by the letter N */
  6815. #define N_MIN 0U
  6816. #define N_MAX 15U
  6817. #define N0 0x0U
  6818. #define N1 0x100U
  6819. #define N2 0x200U
  6820. #define N3 0x300U
  6821. #define N4 0x400U
  6822. #define N5 0x500U
  6823. #define N6 0x600U
  6824. #define N7 0x700U
  6825. #define N8 0x800U
  6826. #define N9 0x900U
  6827. #define N10 0xA00U
  6828. #define N11 0xB00U
  6829. #define N12 0xC00U
  6830. #define N13 0xD00U
  6831. #define N14 0xE00U
  6832. #define N15 0xF00U
  6833. #define NBRD 0xF00U
  6834. /* Fields brought to you by the letter P */
  6835. #define P_MIN 0U
  6836. #define P_MAX 3U
  6837. #define P0 0x0U
  6838. #define P1 0x100000U
  6839. #define P2 0x200000U
  6840. #define P3 0x300000U
  6841. #define PBRD 0x700000U
  6842. #define PP_MIN 0U
  6843. #define PP_MAX 3U
  6844. #define PP0 0x0U
  6845. #define PP1 0x100000U
  6846. #define PP2 0x200000U
  6847. #define PP3 0x300000U
  6848. #define PPBRD 0x700000U
  6849. /* Fields brought to you by the letter Q */
  6850. #define Q_MIN 0U
  6851. #define Q_MAX 3U
  6852. #define Q0 0x0U
  6853. #define Q1 0x100000U
  6854. #define Q2 0x200000U
  6855. #define Q3 0x300000U
  6856. #define QBRD 0x700000U
  6857. /* Fields brought to you by the letter R */
  6858. #define R_MIN 0U
  6859. #define R_MAX 8U
  6860. #define R0 0x0U
  6861. #define R1 0x100U
  6862. #define R2 0x200U
  6863. #define R3 0x300U
  6864. #define R4 0x400U
  6865. #define R5 0x500U
  6866. #define R6 0x600U
  6867. #define R7 0x700U
  6868. #define R8 0x800U
  6869. #define RBRD 0xF00U
  6870. /* Fields brought to you by the letter T */
  6871. #define T_MIN 0U
  6872. #define T_MAX 15U
  6873. #define T0 0x0U
  6874. #define T1 0x10000U
  6875. #define T2 0x20000U
  6876. #define T3 0x30000U
  6877. #define T4 0x40000U
  6878. #define T5 0x50000U
  6879. #define T6 0x60000U
  6880. #define T7 0x70000U
  6881. #define T8 0x80000U
  6882. #define T9 0x90000U
  6883. #define T10 0xA0000U
  6884. #define T11 0xB0000U
  6885. #define T12 0xC0000U
  6886. #define T13 0xD0000U
  6887. #define T14 0xE0000U
  6888. #define T15 0xF0000U
  6889. #define TBRD 0xF0000U
  6890. /* Fields brought to you by the letter U */
  6891. #define U_MIN 0U
  6892. #define U_MAX 1U
  6893. #define U0 0x0U
  6894. #define U1 0x100U
  6895. #define UBRD 0xF00U
  6896. /* Fields brought to you by the letter Y */
  6897. #define Y_MIN 0U
  6898. #define Y_MAX 0U
  6899. #define Y0 0x0U
  6900. #define YBRD 0xF000000U
  6901. #define TACSM 0x40000U
  6902. #define TACSMBRD 0x4F000U
  6903. #define TALL 0xF0000U
  6904. #define TALLBRD 0xFF000U
  6905. #define TANIB 0x0U
  6906. #define TANIBBRD 0xF000U
  6907. #define TAPBONLY 0xD0000U
  6908. #define TAPBONLYBRD 0xDF000U
  6909. #define TDBYTE 0x10000U
  6910. #define TDBYTEBRD 0x1F000U
  6911. #define TDRTUB 0xC0000U
  6912. #define TDRTUBBRD 0xCF000U
  6913. #define TINITENG 0x90000U
  6914. #define TINITENGBRD 0x9F000U
  6915. #define TMASTER 0x20000U
  6916. #define TMASTERBRD 0x2F000U
  6917. #define TPPGC 0x70000U
  6918. #define TPPGCBRD 0x7F000U
  6919. #define TUCTL_MEM 0x50000U
  6920. #define TUCTL_MEMBRD 0x5F000U
  6921. #define DBYTE_NUM 9U
  6922. #define ANIB_NUM 12U
  6923. #endif /* DDRPHY_PHYINIT_CSR_ALL_DEFINES_H */