cvmx-npei-defs.h 95 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221
  1. /***********************license start***************
  2. * Author: Cavium Networks
  3. *
  4. * Contact: support@caviumnetworks.com
  5. * This file is part of the OCTEON SDK
  6. *
  7. * Copyright (c) 2003-2012 Cavium Networks
  8. *
  9. * This file is free software; you can redistribute it and/or modify
  10. * it under the terms of the GNU General Public License, Version 2, as
  11. * published by the Free Software Foundation.
  12. *
  13. * This file is distributed in the hope that it will be useful, but
  14. * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty
  15. * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE, TITLE, or
  16. * NONINFRINGEMENT. See the GNU General Public License for more
  17. * details.
  18. *
  19. * You should have received a copy of the GNU General Public License
  20. * along with this file; if not, write to the Free Software
  21. * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  22. * or visit http://www.gnu.org/licenses/.
  23. *
  24. * This file may also be available under a different license from Cavium.
  25. * Contact Cavium Networks for more information
  26. ***********************license end**************************************/
  27. #ifndef __CVMX_NPEI_DEFS_H__
  28. #define __CVMX_NPEI_DEFS_H__
  29. #define CVMX_NPEI_BAR1_INDEXX(offset) (0x0000000000000000ull + ((offset) & 31) * 16)
  30. #define CVMX_NPEI_BIST_STATUS (0x0000000000000580ull)
  31. #define CVMX_NPEI_BIST_STATUS2 (0x0000000000000680ull)
  32. #define CVMX_NPEI_CTL_PORT0 (0x0000000000000250ull)
  33. #define CVMX_NPEI_CTL_PORT1 (0x0000000000000260ull)
  34. #define CVMX_NPEI_CTL_STATUS (0x0000000000000570ull)
  35. #define CVMX_NPEI_CTL_STATUS2 (0x0000000000003C00ull)
  36. #define CVMX_NPEI_DATA_OUT_CNT (0x00000000000005F0ull)
  37. #define CVMX_NPEI_DBG_DATA (0x0000000000000510ull)
  38. #define CVMX_NPEI_DBG_SELECT (0x0000000000000500ull)
  39. #define CVMX_NPEI_DMA0_INT_LEVEL (0x00000000000005C0ull)
  40. #define CVMX_NPEI_DMA1_INT_LEVEL (0x00000000000005D0ull)
  41. #define CVMX_NPEI_DMAX_COUNTS(offset) (0x0000000000000450ull + ((offset) & 7) * 16)
  42. #define CVMX_NPEI_DMAX_DBELL(offset) (0x00000000000003B0ull + ((offset) & 7) * 16)
  43. #define CVMX_NPEI_DMAX_IBUFF_SADDR(offset) (0x0000000000000400ull + ((offset) & 7) * 16)
  44. #define CVMX_NPEI_DMAX_NADDR(offset) (0x00000000000004A0ull + ((offset) & 7) * 16)
  45. #define CVMX_NPEI_DMA_CNTS (0x00000000000005E0ull)
  46. #define CVMX_NPEI_DMA_CONTROL (0x00000000000003A0ull)
  47. #define CVMX_NPEI_DMA_PCIE_REQ_NUM (0x00000000000005B0ull)
  48. #define CVMX_NPEI_DMA_STATE1 (0x00000000000006C0ull)
  49. #define CVMX_NPEI_DMA_STATE1_P1 (0x0000000000000680ull)
  50. #define CVMX_NPEI_DMA_STATE2 (0x00000000000006D0ull)
  51. #define CVMX_NPEI_DMA_STATE2_P1 (0x0000000000000690ull)
  52. #define CVMX_NPEI_DMA_STATE3_P1 (0x00000000000006A0ull)
  53. #define CVMX_NPEI_DMA_STATE4_P1 (0x00000000000006B0ull)
  54. #define CVMX_NPEI_DMA_STATE5_P1 (0x00000000000006C0ull)
  55. #define CVMX_NPEI_INT_A_ENB (0x0000000000000560ull)
  56. #define CVMX_NPEI_INT_A_ENB2 (0x0000000000003CE0ull)
  57. #define CVMX_NPEI_INT_A_SUM (0x0000000000000550ull)
  58. #define CVMX_NPEI_INT_ENB (0x0000000000000540ull)
  59. #define CVMX_NPEI_INT_ENB2 (0x0000000000003CD0ull)
  60. #define CVMX_NPEI_INT_INFO (0x0000000000000590ull)
  61. #define CVMX_NPEI_INT_SUM (0x0000000000000530ull)
  62. #define CVMX_NPEI_INT_SUM2 (0x0000000000003CC0ull)
  63. #define CVMX_NPEI_LAST_WIN_RDATA0 (0x0000000000000600ull)
  64. #define CVMX_NPEI_LAST_WIN_RDATA1 (0x0000000000000610ull)
  65. #define CVMX_NPEI_MEM_ACCESS_CTL (0x00000000000004F0ull)
  66. #define CVMX_NPEI_MEM_ACCESS_SUBIDX(offset) (0x0000000000000280ull + ((offset) & 31) * 16 - 16*12)
  67. #define CVMX_NPEI_MSI_ENB0 (0x0000000000003C50ull)
  68. #define CVMX_NPEI_MSI_ENB1 (0x0000000000003C60ull)
  69. #define CVMX_NPEI_MSI_ENB2 (0x0000000000003C70ull)
  70. #define CVMX_NPEI_MSI_ENB3 (0x0000000000003C80ull)
  71. #define CVMX_NPEI_MSI_RCV0 (0x0000000000003C10ull)
  72. #define CVMX_NPEI_MSI_RCV1 (0x0000000000003C20ull)
  73. #define CVMX_NPEI_MSI_RCV2 (0x0000000000003C30ull)
  74. #define CVMX_NPEI_MSI_RCV3 (0x0000000000003C40ull)
  75. #define CVMX_NPEI_MSI_RD_MAP (0x0000000000003CA0ull)
  76. #define CVMX_NPEI_MSI_W1C_ENB0 (0x0000000000003CF0ull)
  77. #define CVMX_NPEI_MSI_W1C_ENB1 (0x0000000000003D00ull)
  78. #define CVMX_NPEI_MSI_W1C_ENB2 (0x0000000000003D10ull)
  79. #define CVMX_NPEI_MSI_W1C_ENB3 (0x0000000000003D20ull)
  80. #define CVMX_NPEI_MSI_W1S_ENB0 (0x0000000000003D30ull)
  81. #define CVMX_NPEI_MSI_W1S_ENB1 (0x0000000000003D40ull)
  82. #define CVMX_NPEI_MSI_W1S_ENB2 (0x0000000000003D50ull)
  83. #define CVMX_NPEI_MSI_W1S_ENB3 (0x0000000000003D60ull)
  84. #define CVMX_NPEI_MSI_WR_MAP (0x0000000000003C90ull)
  85. #define CVMX_NPEI_PCIE_CREDIT_CNT (0x0000000000003D70ull)
  86. #define CVMX_NPEI_PCIE_MSI_RCV (0x0000000000003CB0ull)
  87. #define CVMX_NPEI_PCIE_MSI_RCV_B1 (0x0000000000000650ull)
  88. #define CVMX_NPEI_PCIE_MSI_RCV_B2 (0x0000000000000660ull)
  89. #define CVMX_NPEI_PCIE_MSI_RCV_B3 (0x0000000000000670ull)
  90. #define CVMX_NPEI_PKTX_CNTS(offset) (0x0000000000002400ull + ((offset) & 31) * 16)
  91. #define CVMX_NPEI_PKTX_INSTR_BADDR(offset) (0x0000000000002800ull + ((offset) & 31) * 16)
  92. #define CVMX_NPEI_PKTX_INSTR_BAOFF_DBELL(offset) (0x0000000000002C00ull + ((offset) & 31) * 16)
  93. #define CVMX_NPEI_PKTX_INSTR_FIFO_RSIZE(offset) (0x0000000000003000ull + ((offset) & 31) * 16)
  94. #define CVMX_NPEI_PKTX_INSTR_HEADER(offset) (0x0000000000003400ull + ((offset) & 31) * 16)
  95. #define CVMX_NPEI_PKTX_IN_BP(offset) (0x0000000000003800ull + ((offset) & 31) * 16)
  96. #define CVMX_NPEI_PKTX_SLIST_BADDR(offset) (0x0000000000001400ull + ((offset) & 31) * 16)
  97. #define CVMX_NPEI_PKTX_SLIST_BAOFF_DBELL(offset) (0x0000000000001800ull + ((offset) & 31) * 16)
  98. #define CVMX_NPEI_PKTX_SLIST_FIFO_RSIZE(offset) (0x0000000000001C00ull + ((offset) & 31) * 16)
  99. #define CVMX_NPEI_PKT_CNT_INT (0x0000000000001110ull)
  100. #define CVMX_NPEI_PKT_CNT_INT_ENB (0x0000000000001130ull)
  101. #define CVMX_NPEI_PKT_DATA_OUT_ES (0x00000000000010B0ull)
  102. #define CVMX_NPEI_PKT_DATA_OUT_NS (0x00000000000010A0ull)
  103. #define CVMX_NPEI_PKT_DATA_OUT_ROR (0x0000000000001090ull)
  104. #define CVMX_NPEI_PKT_DPADDR (0x0000000000001080ull)
  105. #define CVMX_NPEI_PKT_INPUT_CONTROL (0x0000000000001150ull)
  106. #define CVMX_NPEI_PKT_INSTR_ENB (0x0000000000001000ull)
  107. #define CVMX_NPEI_PKT_INSTR_RD_SIZE (0x0000000000001190ull)
  108. #define CVMX_NPEI_PKT_INSTR_SIZE (0x0000000000001020ull)
  109. #define CVMX_NPEI_PKT_INT_LEVELS (0x0000000000001100ull)
  110. #define CVMX_NPEI_PKT_IN_BP (0x00000000000006B0ull)
  111. #define CVMX_NPEI_PKT_IN_DONEX_CNTS(offset) (0x0000000000002000ull + ((offset) & 31) * 16)
  112. #define CVMX_NPEI_PKT_IN_INSTR_COUNTS (0x00000000000006A0ull)
  113. #define CVMX_NPEI_PKT_IN_PCIE_PORT (0x00000000000011A0ull)
  114. #define CVMX_NPEI_PKT_IPTR (0x0000000000001070ull)
  115. #define CVMX_NPEI_PKT_OUTPUT_WMARK (0x0000000000001160ull)
  116. #define CVMX_NPEI_PKT_OUT_BMODE (0x00000000000010D0ull)
  117. #define CVMX_NPEI_PKT_OUT_ENB (0x0000000000001010ull)
  118. #define CVMX_NPEI_PKT_PCIE_PORT (0x00000000000010E0ull)
  119. #define CVMX_NPEI_PKT_PORT_IN_RST (0x0000000000000690ull)
  120. #define CVMX_NPEI_PKT_SLIST_ES (0x0000000000001050ull)
  121. #define CVMX_NPEI_PKT_SLIST_ID_SIZE (0x0000000000001180ull)
  122. #define CVMX_NPEI_PKT_SLIST_NS (0x0000000000001040ull)
  123. #define CVMX_NPEI_PKT_SLIST_ROR (0x0000000000001030ull)
  124. #define CVMX_NPEI_PKT_TIME_INT (0x0000000000001120ull)
  125. #define CVMX_NPEI_PKT_TIME_INT_ENB (0x0000000000001140ull)
  126. #define CVMX_NPEI_RSL_INT_BLOCKS (0x0000000000000520ull)
  127. #define CVMX_NPEI_SCRATCH_1 (0x0000000000000270ull)
  128. #define CVMX_NPEI_STATE1 (0x0000000000000620ull)
  129. #define CVMX_NPEI_STATE2 (0x0000000000000630ull)
  130. #define CVMX_NPEI_STATE3 (0x0000000000000640ull)
  131. #define CVMX_NPEI_WINDOW_CTL (0x0000000000000380ull)
  132. #define CVMX_NPEI_WIN_RD_ADDR (0x0000000000000210ull)
  133. #define CVMX_NPEI_WIN_RD_DATA (0x0000000000000240ull)
  134. #define CVMX_NPEI_WIN_WR_ADDR (0x0000000000000200ull)
  135. #define CVMX_NPEI_WIN_WR_DATA (0x0000000000000220ull)
  136. #define CVMX_NPEI_WIN_WR_MASK (0x0000000000000230ull)
  137. union cvmx_npei_bar1_indexx {
  138. uint32_t u32;
  139. struct cvmx_npei_bar1_indexx_s {
  140. #ifdef __BIG_ENDIAN_BITFIELD
  141. uint32_t reserved_18_31:14;
  142. uint32_t addr_idx:14;
  143. uint32_t ca:1;
  144. uint32_t end_swp:2;
  145. uint32_t addr_v:1;
  146. #else
  147. uint32_t addr_v:1;
  148. uint32_t end_swp:2;
  149. uint32_t ca:1;
  150. uint32_t addr_idx:14;
  151. uint32_t reserved_18_31:14;
  152. #endif
  153. } s;
  154. struct cvmx_npei_bar1_indexx_s cn52xx;
  155. struct cvmx_npei_bar1_indexx_s cn52xxp1;
  156. struct cvmx_npei_bar1_indexx_s cn56xx;
  157. struct cvmx_npei_bar1_indexx_s cn56xxp1;
  158. };
  159. union cvmx_npei_bist_status {
  160. uint64_t u64;
  161. struct cvmx_npei_bist_status_s {
  162. #ifdef __BIG_ENDIAN_BITFIELD
  163. uint64_t pkt_rdf:1;
  164. uint64_t reserved_60_62:3;
  165. uint64_t pcr_gim:1;
  166. uint64_t pkt_pif:1;
  167. uint64_t pcsr_int:1;
  168. uint64_t pcsr_im:1;
  169. uint64_t pcsr_cnt:1;
  170. uint64_t pcsr_id:1;
  171. uint64_t pcsr_sl:1;
  172. uint64_t reserved_50_52:3;
  173. uint64_t pkt_ind:1;
  174. uint64_t pkt_slm:1;
  175. uint64_t reserved_36_47:12;
  176. uint64_t d0_pst:1;
  177. uint64_t d1_pst:1;
  178. uint64_t d2_pst:1;
  179. uint64_t d3_pst:1;
  180. uint64_t reserved_31_31:1;
  181. uint64_t n2p0_c:1;
  182. uint64_t n2p0_o:1;
  183. uint64_t n2p1_c:1;
  184. uint64_t n2p1_o:1;
  185. uint64_t cpl_p0:1;
  186. uint64_t cpl_p1:1;
  187. uint64_t p2n1_po:1;
  188. uint64_t p2n1_no:1;
  189. uint64_t p2n1_co:1;
  190. uint64_t p2n0_po:1;
  191. uint64_t p2n0_no:1;
  192. uint64_t p2n0_co:1;
  193. uint64_t p2n0_c0:1;
  194. uint64_t p2n0_c1:1;
  195. uint64_t p2n0_n:1;
  196. uint64_t p2n0_p0:1;
  197. uint64_t p2n0_p1:1;
  198. uint64_t p2n1_c0:1;
  199. uint64_t p2n1_c1:1;
  200. uint64_t p2n1_n:1;
  201. uint64_t p2n1_p0:1;
  202. uint64_t p2n1_p1:1;
  203. uint64_t csm0:1;
  204. uint64_t csm1:1;
  205. uint64_t dif0:1;
  206. uint64_t dif1:1;
  207. uint64_t dif2:1;
  208. uint64_t dif3:1;
  209. uint64_t reserved_2_2:1;
  210. uint64_t msi:1;
  211. uint64_t ncb_cmd:1;
  212. #else
  213. uint64_t ncb_cmd:1;
  214. uint64_t msi:1;
  215. uint64_t reserved_2_2:1;
  216. uint64_t dif3:1;
  217. uint64_t dif2:1;
  218. uint64_t dif1:1;
  219. uint64_t dif0:1;
  220. uint64_t csm1:1;
  221. uint64_t csm0:1;
  222. uint64_t p2n1_p1:1;
  223. uint64_t p2n1_p0:1;
  224. uint64_t p2n1_n:1;
  225. uint64_t p2n1_c1:1;
  226. uint64_t p2n1_c0:1;
  227. uint64_t p2n0_p1:1;
  228. uint64_t p2n0_p0:1;
  229. uint64_t p2n0_n:1;
  230. uint64_t p2n0_c1:1;
  231. uint64_t p2n0_c0:1;
  232. uint64_t p2n0_co:1;
  233. uint64_t p2n0_no:1;
  234. uint64_t p2n0_po:1;
  235. uint64_t p2n1_co:1;
  236. uint64_t p2n1_no:1;
  237. uint64_t p2n1_po:1;
  238. uint64_t cpl_p1:1;
  239. uint64_t cpl_p0:1;
  240. uint64_t n2p1_o:1;
  241. uint64_t n2p1_c:1;
  242. uint64_t n2p0_o:1;
  243. uint64_t n2p0_c:1;
  244. uint64_t reserved_31_31:1;
  245. uint64_t d3_pst:1;
  246. uint64_t d2_pst:1;
  247. uint64_t d1_pst:1;
  248. uint64_t d0_pst:1;
  249. uint64_t reserved_36_47:12;
  250. uint64_t pkt_slm:1;
  251. uint64_t pkt_ind:1;
  252. uint64_t reserved_50_52:3;
  253. uint64_t pcsr_sl:1;
  254. uint64_t pcsr_id:1;
  255. uint64_t pcsr_cnt:1;
  256. uint64_t pcsr_im:1;
  257. uint64_t pcsr_int:1;
  258. uint64_t pkt_pif:1;
  259. uint64_t pcr_gim:1;
  260. uint64_t reserved_60_62:3;
  261. uint64_t pkt_rdf:1;
  262. #endif
  263. } s;
  264. struct cvmx_npei_bist_status_cn52xx {
  265. #ifdef __BIG_ENDIAN_BITFIELD
  266. uint64_t pkt_rdf:1;
  267. uint64_t reserved_60_62:3;
  268. uint64_t pcr_gim:1;
  269. uint64_t pkt_pif:1;
  270. uint64_t pcsr_int:1;
  271. uint64_t pcsr_im:1;
  272. uint64_t pcsr_cnt:1;
  273. uint64_t pcsr_id:1;
  274. uint64_t pcsr_sl:1;
  275. uint64_t pkt_imem:1;
  276. uint64_t pkt_pfm:1;
  277. uint64_t pkt_pof:1;
  278. uint64_t reserved_48_49:2;
  279. uint64_t pkt_pop0:1;
  280. uint64_t pkt_pop1:1;
  281. uint64_t d0_mem:1;
  282. uint64_t d1_mem:1;
  283. uint64_t d2_mem:1;
  284. uint64_t d3_mem:1;
  285. uint64_t d4_mem:1;
  286. uint64_t ds_mem:1;
  287. uint64_t reserved_36_39:4;
  288. uint64_t d0_pst:1;
  289. uint64_t d1_pst:1;
  290. uint64_t d2_pst:1;
  291. uint64_t d3_pst:1;
  292. uint64_t d4_pst:1;
  293. uint64_t n2p0_c:1;
  294. uint64_t n2p0_o:1;
  295. uint64_t n2p1_c:1;
  296. uint64_t n2p1_o:1;
  297. uint64_t cpl_p0:1;
  298. uint64_t cpl_p1:1;
  299. uint64_t p2n1_po:1;
  300. uint64_t p2n1_no:1;
  301. uint64_t p2n1_co:1;
  302. uint64_t p2n0_po:1;
  303. uint64_t p2n0_no:1;
  304. uint64_t p2n0_co:1;
  305. uint64_t p2n0_c0:1;
  306. uint64_t p2n0_c1:1;
  307. uint64_t p2n0_n:1;
  308. uint64_t p2n0_p0:1;
  309. uint64_t p2n0_p1:1;
  310. uint64_t p2n1_c0:1;
  311. uint64_t p2n1_c1:1;
  312. uint64_t p2n1_n:1;
  313. uint64_t p2n1_p0:1;
  314. uint64_t p2n1_p1:1;
  315. uint64_t csm0:1;
  316. uint64_t csm1:1;
  317. uint64_t dif0:1;
  318. uint64_t dif1:1;
  319. uint64_t dif2:1;
  320. uint64_t dif3:1;
  321. uint64_t dif4:1;
  322. uint64_t msi:1;
  323. uint64_t ncb_cmd:1;
  324. #else
  325. uint64_t ncb_cmd:1;
  326. uint64_t msi:1;
  327. uint64_t dif4:1;
  328. uint64_t dif3:1;
  329. uint64_t dif2:1;
  330. uint64_t dif1:1;
  331. uint64_t dif0:1;
  332. uint64_t csm1:1;
  333. uint64_t csm0:1;
  334. uint64_t p2n1_p1:1;
  335. uint64_t p2n1_p0:1;
  336. uint64_t p2n1_n:1;
  337. uint64_t p2n1_c1:1;
  338. uint64_t p2n1_c0:1;
  339. uint64_t p2n0_p1:1;
  340. uint64_t p2n0_p0:1;
  341. uint64_t p2n0_n:1;
  342. uint64_t p2n0_c1:1;
  343. uint64_t p2n0_c0:1;
  344. uint64_t p2n0_co:1;
  345. uint64_t p2n0_no:1;
  346. uint64_t p2n0_po:1;
  347. uint64_t p2n1_co:1;
  348. uint64_t p2n1_no:1;
  349. uint64_t p2n1_po:1;
  350. uint64_t cpl_p1:1;
  351. uint64_t cpl_p0:1;
  352. uint64_t n2p1_o:1;
  353. uint64_t n2p1_c:1;
  354. uint64_t n2p0_o:1;
  355. uint64_t n2p0_c:1;
  356. uint64_t d4_pst:1;
  357. uint64_t d3_pst:1;
  358. uint64_t d2_pst:1;
  359. uint64_t d1_pst:1;
  360. uint64_t d0_pst:1;
  361. uint64_t reserved_36_39:4;
  362. uint64_t ds_mem:1;
  363. uint64_t d4_mem:1;
  364. uint64_t d3_mem:1;
  365. uint64_t d2_mem:1;
  366. uint64_t d1_mem:1;
  367. uint64_t d0_mem:1;
  368. uint64_t pkt_pop1:1;
  369. uint64_t pkt_pop0:1;
  370. uint64_t reserved_48_49:2;
  371. uint64_t pkt_pof:1;
  372. uint64_t pkt_pfm:1;
  373. uint64_t pkt_imem:1;
  374. uint64_t pcsr_sl:1;
  375. uint64_t pcsr_id:1;
  376. uint64_t pcsr_cnt:1;
  377. uint64_t pcsr_im:1;
  378. uint64_t pcsr_int:1;
  379. uint64_t pkt_pif:1;
  380. uint64_t pcr_gim:1;
  381. uint64_t reserved_60_62:3;
  382. uint64_t pkt_rdf:1;
  383. #endif
  384. } cn52xx;
  385. struct cvmx_npei_bist_status_cn52xxp1 {
  386. #ifdef __BIG_ENDIAN_BITFIELD
  387. uint64_t reserved_46_63:18;
  388. uint64_t d0_mem0:1;
  389. uint64_t d1_mem1:1;
  390. uint64_t d2_mem2:1;
  391. uint64_t d3_mem3:1;
  392. uint64_t dr0_mem:1;
  393. uint64_t d0_mem:1;
  394. uint64_t d1_mem:1;
  395. uint64_t d2_mem:1;
  396. uint64_t d3_mem:1;
  397. uint64_t dr1_mem:1;
  398. uint64_t d0_pst:1;
  399. uint64_t d1_pst:1;
  400. uint64_t d2_pst:1;
  401. uint64_t d3_pst:1;
  402. uint64_t dr2_mem:1;
  403. uint64_t n2p0_c:1;
  404. uint64_t n2p0_o:1;
  405. uint64_t n2p1_c:1;
  406. uint64_t n2p1_o:1;
  407. uint64_t cpl_p0:1;
  408. uint64_t cpl_p1:1;
  409. uint64_t p2n1_po:1;
  410. uint64_t p2n1_no:1;
  411. uint64_t p2n1_co:1;
  412. uint64_t p2n0_po:1;
  413. uint64_t p2n0_no:1;
  414. uint64_t p2n0_co:1;
  415. uint64_t p2n0_c0:1;
  416. uint64_t p2n0_c1:1;
  417. uint64_t p2n0_n:1;
  418. uint64_t p2n0_p0:1;
  419. uint64_t p2n0_p1:1;
  420. uint64_t p2n1_c0:1;
  421. uint64_t p2n1_c1:1;
  422. uint64_t p2n1_n:1;
  423. uint64_t p2n1_p0:1;
  424. uint64_t p2n1_p1:1;
  425. uint64_t csm0:1;
  426. uint64_t csm1:1;
  427. uint64_t dif0:1;
  428. uint64_t dif1:1;
  429. uint64_t dif2:1;
  430. uint64_t dif3:1;
  431. uint64_t dr3_mem:1;
  432. uint64_t msi:1;
  433. uint64_t ncb_cmd:1;
  434. #else
  435. uint64_t ncb_cmd:1;
  436. uint64_t msi:1;
  437. uint64_t dr3_mem:1;
  438. uint64_t dif3:1;
  439. uint64_t dif2:1;
  440. uint64_t dif1:1;
  441. uint64_t dif0:1;
  442. uint64_t csm1:1;
  443. uint64_t csm0:1;
  444. uint64_t p2n1_p1:1;
  445. uint64_t p2n1_p0:1;
  446. uint64_t p2n1_n:1;
  447. uint64_t p2n1_c1:1;
  448. uint64_t p2n1_c0:1;
  449. uint64_t p2n0_p1:1;
  450. uint64_t p2n0_p0:1;
  451. uint64_t p2n0_n:1;
  452. uint64_t p2n0_c1:1;
  453. uint64_t p2n0_c0:1;
  454. uint64_t p2n0_co:1;
  455. uint64_t p2n0_no:1;
  456. uint64_t p2n0_po:1;
  457. uint64_t p2n1_co:1;
  458. uint64_t p2n1_no:1;
  459. uint64_t p2n1_po:1;
  460. uint64_t cpl_p1:1;
  461. uint64_t cpl_p0:1;
  462. uint64_t n2p1_o:1;
  463. uint64_t n2p1_c:1;
  464. uint64_t n2p0_o:1;
  465. uint64_t n2p0_c:1;
  466. uint64_t dr2_mem:1;
  467. uint64_t d3_pst:1;
  468. uint64_t d2_pst:1;
  469. uint64_t d1_pst:1;
  470. uint64_t d0_pst:1;
  471. uint64_t dr1_mem:1;
  472. uint64_t d3_mem:1;
  473. uint64_t d2_mem:1;
  474. uint64_t d1_mem:1;
  475. uint64_t d0_mem:1;
  476. uint64_t dr0_mem:1;
  477. uint64_t d3_mem3:1;
  478. uint64_t d2_mem2:1;
  479. uint64_t d1_mem1:1;
  480. uint64_t d0_mem0:1;
  481. uint64_t reserved_46_63:18;
  482. #endif
  483. } cn52xxp1;
  484. struct cvmx_npei_bist_status_cn52xx cn56xx;
  485. struct cvmx_npei_bist_status_cn56xxp1 {
  486. #ifdef __BIG_ENDIAN_BITFIELD
  487. uint64_t reserved_58_63:6;
  488. uint64_t pcsr_int:1;
  489. uint64_t pcsr_im:1;
  490. uint64_t pcsr_cnt:1;
  491. uint64_t pcsr_id:1;
  492. uint64_t pcsr_sl:1;
  493. uint64_t pkt_pout:1;
  494. uint64_t pkt_imem:1;
  495. uint64_t pkt_cntm:1;
  496. uint64_t pkt_ind:1;
  497. uint64_t pkt_slm:1;
  498. uint64_t pkt_odf:1;
  499. uint64_t pkt_oif:1;
  500. uint64_t pkt_out:1;
  501. uint64_t pkt_i0:1;
  502. uint64_t pkt_i1:1;
  503. uint64_t pkt_s0:1;
  504. uint64_t pkt_s1:1;
  505. uint64_t d0_mem:1;
  506. uint64_t d1_mem:1;
  507. uint64_t d2_mem:1;
  508. uint64_t d3_mem:1;
  509. uint64_t d4_mem:1;
  510. uint64_t d0_pst:1;
  511. uint64_t d1_pst:1;
  512. uint64_t d2_pst:1;
  513. uint64_t d3_pst:1;
  514. uint64_t d4_pst:1;
  515. uint64_t n2p0_c:1;
  516. uint64_t n2p0_o:1;
  517. uint64_t n2p1_c:1;
  518. uint64_t n2p1_o:1;
  519. uint64_t cpl_p0:1;
  520. uint64_t cpl_p1:1;
  521. uint64_t p2n1_po:1;
  522. uint64_t p2n1_no:1;
  523. uint64_t p2n1_co:1;
  524. uint64_t p2n0_po:1;
  525. uint64_t p2n0_no:1;
  526. uint64_t p2n0_co:1;
  527. uint64_t p2n0_c0:1;
  528. uint64_t p2n0_c1:1;
  529. uint64_t p2n0_n:1;
  530. uint64_t p2n0_p0:1;
  531. uint64_t p2n0_p1:1;
  532. uint64_t p2n1_c0:1;
  533. uint64_t p2n1_c1:1;
  534. uint64_t p2n1_n:1;
  535. uint64_t p2n1_p0:1;
  536. uint64_t p2n1_p1:1;
  537. uint64_t csm0:1;
  538. uint64_t csm1:1;
  539. uint64_t dif0:1;
  540. uint64_t dif1:1;
  541. uint64_t dif2:1;
  542. uint64_t dif3:1;
  543. uint64_t dif4:1;
  544. uint64_t msi:1;
  545. uint64_t ncb_cmd:1;
  546. #else
  547. uint64_t ncb_cmd:1;
  548. uint64_t msi:1;
  549. uint64_t dif4:1;
  550. uint64_t dif3:1;
  551. uint64_t dif2:1;
  552. uint64_t dif1:1;
  553. uint64_t dif0:1;
  554. uint64_t csm1:1;
  555. uint64_t csm0:1;
  556. uint64_t p2n1_p1:1;
  557. uint64_t p2n1_p0:1;
  558. uint64_t p2n1_n:1;
  559. uint64_t p2n1_c1:1;
  560. uint64_t p2n1_c0:1;
  561. uint64_t p2n0_p1:1;
  562. uint64_t p2n0_p0:1;
  563. uint64_t p2n0_n:1;
  564. uint64_t p2n0_c1:1;
  565. uint64_t p2n0_c0:1;
  566. uint64_t p2n0_co:1;
  567. uint64_t p2n0_no:1;
  568. uint64_t p2n0_po:1;
  569. uint64_t p2n1_co:1;
  570. uint64_t p2n1_no:1;
  571. uint64_t p2n1_po:1;
  572. uint64_t cpl_p1:1;
  573. uint64_t cpl_p0:1;
  574. uint64_t n2p1_o:1;
  575. uint64_t n2p1_c:1;
  576. uint64_t n2p0_o:1;
  577. uint64_t n2p0_c:1;
  578. uint64_t d4_pst:1;
  579. uint64_t d3_pst:1;
  580. uint64_t d2_pst:1;
  581. uint64_t d1_pst:1;
  582. uint64_t d0_pst:1;
  583. uint64_t d4_mem:1;
  584. uint64_t d3_mem:1;
  585. uint64_t d2_mem:1;
  586. uint64_t d1_mem:1;
  587. uint64_t d0_mem:1;
  588. uint64_t pkt_s1:1;
  589. uint64_t pkt_s0:1;
  590. uint64_t pkt_i1:1;
  591. uint64_t pkt_i0:1;
  592. uint64_t pkt_out:1;
  593. uint64_t pkt_oif:1;
  594. uint64_t pkt_odf:1;
  595. uint64_t pkt_slm:1;
  596. uint64_t pkt_ind:1;
  597. uint64_t pkt_cntm:1;
  598. uint64_t pkt_imem:1;
  599. uint64_t pkt_pout:1;
  600. uint64_t pcsr_sl:1;
  601. uint64_t pcsr_id:1;
  602. uint64_t pcsr_cnt:1;
  603. uint64_t pcsr_im:1;
  604. uint64_t pcsr_int:1;
  605. uint64_t reserved_58_63:6;
  606. #endif
  607. } cn56xxp1;
  608. };
  609. union cvmx_npei_bist_status2 {
  610. uint64_t u64;
  611. struct cvmx_npei_bist_status2_s {
  612. #ifdef __BIG_ENDIAN_BITFIELD
  613. uint64_t reserved_14_63:50;
  614. uint64_t prd_tag:1;
  615. uint64_t prd_st0:1;
  616. uint64_t prd_st1:1;
  617. uint64_t prd_err:1;
  618. uint64_t nrd_st:1;
  619. uint64_t nwe_st:1;
  620. uint64_t nwe_wr0:1;
  621. uint64_t nwe_wr1:1;
  622. uint64_t pkt_rd:1;
  623. uint64_t psc_p0:1;
  624. uint64_t psc_p1:1;
  625. uint64_t pkt_gd:1;
  626. uint64_t pkt_gl:1;
  627. uint64_t pkt_blk:1;
  628. #else
  629. uint64_t pkt_blk:1;
  630. uint64_t pkt_gl:1;
  631. uint64_t pkt_gd:1;
  632. uint64_t psc_p1:1;
  633. uint64_t psc_p0:1;
  634. uint64_t pkt_rd:1;
  635. uint64_t nwe_wr1:1;
  636. uint64_t nwe_wr0:1;
  637. uint64_t nwe_st:1;
  638. uint64_t nrd_st:1;
  639. uint64_t prd_err:1;
  640. uint64_t prd_st1:1;
  641. uint64_t prd_st0:1;
  642. uint64_t prd_tag:1;
  643. uint64_t reserved_14_63:50;
  644. #endif
  645. } s;
  646. struct cvmx_npei_bist_status2_s cn52xx;
  647. struct cvmx_npei_bist_status2_s cn56xx;
  648. };
  649. union cvmx_npei_ctl_port0 {
  650. uint64_t u64;
  651. struct cvmx_npei_ctl_port0_s {
  652. #ifdef __BIG_ENDIAN_BITFIELD
  653. uint64_t reserved_21_63:43;
  654. uint64_t waitl_com:1;
  655. uint64_t intd:1;
  656. uint64_t intc:1;
  657. uint64_t intb:1;
  658. uint64_t inta:1;
  659. uint64_t intd_map:2;
  660. uint64_t intc_map:2;
  661. uint64_t intb_map:2;
  662. uint64_t inta_map:2;
  663. uint64_t ctlp_ro:1;
  664. uint64_t reserved_6_6:1;
  665. uint64_t ptlp_ro:1;
  666. uint64_t bar2_enb:1;
  667. uint64_t bar2_esx:2;
  668. uint64_t bar2_cax:1;
  669. uint64_t wait_com:1;
  670. #else
  671. uint64_t wait_com:1;
  672. uint64_t bar2_cax:1;
  673. uint64_t bar2_esx:2;
  674. uint64_t bar2_enb:1;
  675. uint64_t ptlp_ro:1;
  676. uint64_t reserved_6_6:1;
  677. uint64_t ctlp_ro:1;
  678. uint64_t inta_map:2;
  679. uint64_t intb_map:2;
  680. uint64_t intc_map:2;
  681. uint64_t intd_map:2;
  682. uint64_t inta:1;
  683. uint64_t intb:1;
  684. uint64_t intc:1;
  685. uint64_t intd:1;
  686. uint64_t waitl_com:1;
  687. uint64_t reserved_21_63:43;
  688. #endif
  689. } s;
  690. struct cvmx_npei_ctl_port0_s cn52xx;
  691. struct cvmx_npei_ctl_port0_s cn52xxp1;
  692. struct cvmx_npei_ctl_port0_s cn56xx;
  693. struct cvmx_npei_ctl_port0_s cn56xxp1;
  694. };
  695. union cvmx_npei_ctl_port1 {
  696. uint64_t u64;
  697. struct cvmx_npei_ctl_port1_s {
  698. #ifdef __BIG_ENDIAN_BITFIELD
  699. uint64_t reserved_21_63:43;
  700. uint64_t waitl_com:1;
  701. uint64_t intd:1;
  702. uint64_t intc:1;
  703. uint64_t intb:1;
  704. uint64_t inta:1;
  705. uint64_t intd_map:2;
  706. uint64_t intc_map:2;
  707. uint64_t intb_map:2;
  708. uint64_t inta_map:2;
  709. uint64_t ctlp_ro:1;
  710. uint64_t reserved_6_6:1;
  711. uint64_t ptlp_ro:1;
  712. uint64_t bar2_enb:1;
  713. uint64_t bar2_esx:2;
  714. uint64_t bar2_cax:1;
  715. uint64_t wait_com:1;
  716. #else
  717. uint64_t wait_com:1;
  718. uint64_t bar2_cax:1;
  719. uint64_t bar2_esx:2;
  720. uint64_t bar2_enb:1;
  721. uint64_t ptlp_ro:1;
  722. uint64_t reserved_6_6:1;
  723. uint64_t ctlp_ro:1;
  724. uint64_t inta_map:2;
  725. uint64_t intb_map:2;
  726. uint64_t intc_map:2;
  727. uint64_t intd_map:2;
  728. uint64_t inta:1;
  729. uint64_t intb:1;
  730. uint64_t intc:1;
  731. uint64_t intd:1;
  732. uint64_t waitl_com:1;
  733. uint64_t reserved_21_63:43;
  734. #endif
  735. } s;
  736. struct cvmx_npei_ctl_port1_s cn52xx;
  737. struct cvmx_npei_ctl_port1_s cn52xxp1;
  738. struct cvmx_npei_ctl_port1_s cn56xx;
  739. struct cvmx_npei_ctl_port1_s cn56xxp1;
  740. };
  741. union cvmx_npei_ctl_status {
  742. uint64_t u64;
  743. struct cvmx_npei_ctl_status_s {
  744. #ifdef __BIG_ENDIAN_BITFIELD
  745. uint64_t reserved_44_63:20;
  746. uint64_t p1_ntags:6;
  747. uint64_t p0_ntags:6;
  748. uint64_t cfg_rtry:16;
  749. uint64_t ring_en:1;
  750. uint64_t lnk_rst:1;
  751. uint64_t arb:1;
  752. uint64_t pkt_bp:4;
  753. uint64_t host_mode:1;
  754. uint64_t chip_rev:8;
  755. #else
  756. uint64_t chip_rev:8;
  757. uint64_t host_mode:1;
  758. uint64_t pkt_bp:4;
  759. uint64_t arb:1;
  760. uint64_t lnk_rst:1;
  761. uint64_t ring_en:1;
  762. uint64_t cfg_rtry:16;
  763. uint64_t p0_ntags:6;
  764. uint64_t p1_ntags:6;
  765. uint64_t reserved_44_63:20;
  766. #endif
  767. } s;
  768. struct cvmx_npei_ctl_status_s cn52xx;
  769. struct cvmx_npei_ctl_status_cn52xxp1 {
  770. #ifdef __BIG_ENDIAN_BITFIELD
  771. uint64_t reserved_44_63:20;
  772. uint64_t p1_ntags:6;
  773. uint64_t p0_ntags:6;
  774. uint64_t cfg_rtry:16;
  775. uint64_t reserved_15_15:1;
  776. uint64_t lnk_rst:1;
  777. uint64_t arb:1;
  778. uint64_t reserved_9_12:4;
  779. uint64_t host_mode:1;
  780. uint64_t chip_rev:8;
  781. #else
  782. uint64_t chip_rev:8;
  783. uint64_t host_mode:1;
  784. uint64_t reserved_9_12:4;
  785. uint64_t arb:1;
  786. uint64_t lnk_rst:1;
  787. uint64_t reserved_15_15:1;
  788. uint64_t cfg_rtry:16;
  789. uint64_t p0_ntags:6;
  790. uint64_t p1_ntags:6;
  791. uint64_t reserved_44_63:20;
  792. #endif
  793. } cn52xxp1;
  794. struct cvmx_npei_ctl_status_s cn56xx;
  795. struct cvmx_npei_ctl_status_cn56xxp1 {
  796. #ifdef __BIG_ENDIAN_BITFIELD
  797. uint64_t reserved_15_63:49;
  798. uint64_t lnk_rst:1;
  799. uint64_t arb:1;
  800. uint64_t pkt_bp:4;
  801. uint64_t host_mode:1;
  802. uint64_t chip_rev:8;
  803. #else
  804. uint64_t chip_rev:8;
  805. uint64_t host_mode:1;
  806. uint64_t pkt_bp:4;
  807. uint64_t arb:1;
  808. uint64_t lnk_rst:1;
  809. uint64_t reserved_15_63:49;
  810. #endif
  811. } cn56xxp1;
  812. };
  813. union cvmx_npei_ctl_status2 {
  814. uint64_t u64;
  815. struct cvmx_npei_ctl_status2_s {
  816. #ifdef __BIG_ENDIAN_BITFIELD
  817. uint64_t reserved_16_63:48;
  818. uint64_t mps:1;
  819. uint64_t mrrs:3;
  820. uint64_t c1_w_flt:1;
  821. uint64_t c0_w_flt:1;
  822. uint64_t c1_b1_s:3;
  823. uint64_t c0_b1_s:3;
  824. uint64_t c1_wi_d:1;
  825. uint64_t c1_b0_d:1;
  826. uint64_t c0_wi_d:1;
  827. uint64_t c0_b0_d:1;
  828. #else
  829. uint64_t c0_b0_d:1;
  830. uint64_t c0_wi_d:1;
  831. uint64_t c1_b0_d:1;
  832. uint64_t c1_wi_d:1;
  833. uint64_t c0_b1_s:3;
  834. uint64_t c1_b1_s:3;
  835. uint64_t c0_w_flt:1;
  836. uint64_t c1_w_flt:1;
  837. uint64_t mrrs:3;
  838. uint64_t mps:1;
  839. uint64_t reserved_16_63:48;
  840. #endif
  841. } s;
  842. struct cvmx_npei_ctl_status2_s cn52xx;
  843. struct cvmx_npei_ctl_status2_s cn52xxp1;
  844. struct cvmx_npei_ctl_status2_s cn56xx;
  845. struct cvmx_npei_ctl_status2_s cn56xxp1;
  846. };
  847. union cvmx_npei_data_out_cnt {
  848. uint64_t u64;
  849. struct cvmx_npei_data_out_cnt_s {
  850. #ifdef __BIG_ENDIAN_BITFIELD
  851. uint64_t reserved_44_63:20;
  852. uint64_t p1_ucnt:16;
  853. uint64_t p1_fcnt:6;
  854. uint64_t p0_ucnt:16;
  855. uint64_t p0_fcnt:6;
  856. #else
  857. uint64_t p0_fcnt:6;
  858. uint64_t p0_ucnt:16;
  859. uint64_t p1_fcnt:6;
  860. uint64_t p1_ucnt:16;
  861. uint64_t reserved_44_63:20;
  862. #endif
  863. } s;
  864. struct cvmx_npei_data_out_cnt_s cn52xx;
  865. struct cvmx_npei_data_out_cnt_s cn52xxp1;
  866. struct cvmx_npei_data_out_cnt_s cn56xx;
  867. struct cvmx_npei_data_out_cnt_s cn56xxp1;
  868. };
  869. union cvmx_npei_dbg_data {
  870. uint64_t u64;
  871. struct cvmx_npei_dbg_data_s {
  872. #ifdef __BIG_ENDIAN_BITFIELD
  873. uint64_t reserved_28_63:36;
  874. uint64_t qlm0_rev_lanes:1;
  875. uint64_t reserved_25_26:2;
  876. uint64_t qlm1_spd:2;
  877. uint64_t c_mul:5;
  878. uint64_t dsel_ext:1;
  879. uint64_t data:17;
  880. #else
  881. uint64_t data:17;
  882. uint64_t dsel_ext:1;
  883. uint64_t c_mul:5;
  884. uint64_t qlm1_spd:2;
  885. uint64_t reserved_25_26:2;
  886. uint64_t qlm0_rev_lanes:1;
  887. uint64_t reserved_28_63:36;
  888. #endif
  889. } s;
  890. struct cvmx_npei_dbg_data_cn52xx {
  891. #ifdef __BIG_ENDIAN_BITFIELD
  892. uint64_t reserved_29_63:35;
  893. uint64_t qlm0_link_width:1;
  894. uint64_t qlm0_rev_lanes:1;
  895. uint64_t qlm1_mode:2;
  896. uint64_t qlm1_spd:2;
  897. uint64_t c_mul:5;
  898. uint64_t dsel_ext:1;
  899. uint64_t data:17;
  900. #else
  901. uint64_t data:17;
  902. uint64_t dsel_ext:1;
  903. uint64_t c_mul:5;
  904. uint64_t qlm1_spd:2;
  905. uint64_t qlm1_mode:2;
  906. uint64_t qlm0_rev_lanes:1;
  907. uint64_t qlm0_link_width:1;
  908. uint64_t reserved_29_63:35;
  909. #endif
  910. } cn52xx;
  911. struct cvmx_npei_dbg_data_cn52xx cn52xxp1;
  912. struct cvmx_npei_dbg_data_cn56xx {
  913. #ifdef __BIG_ENDIAN_BITFIELD
  914. uint64_t reserved_29_63:35;
  915. uint64_t qlm2_rev_lanes:1;
  916. uint64_t qlm0_rev_lanes:1;
  917. uint64_t qlm3_spd:2;
  918. uint64_t qlm1_spd:2;
  919. uint64_t c_mul:5;
  920. uint64_t dsel_ext:1;
  921. uint64_t data:17;
  922. #else
  923. uint64_t data:17;
  924. uint64_t dsel_ext:1;
  925. uint64_t c_mul:5;
  926. uint64_t qlm1_spd:2;
  927. uint64_t qlm3_spd:2;
  928. uint64_t qlm0_rev_lanes:1;
  929. uint64_t qlm2_rev_lanes:1;
  930. uint64_t reserved_29_63:35;
  931. #endif
  932. } cn56xx;
  933. struct cvmx_npei_dbg_data_cn56xx cn56xxp1;
  934. };
  935. union cvmx_npei_dbg_select {
  936. uint64_t u64;
  937. struct cvmx_npei_dbg_select_s {
  938. #ifdef __BIG_ENDIAN_BITFIELD
  939. uint64_t reserved_16_63:48;
  940. uint64_t dbg_sel:16;
  941. #else
  942. uint64_t dbg_sel:16;
  943. uint64_t reserved_16_63:48;
  944. #endif
  945. } s;
  946. struct cvmx_npei_dbg_select_s cn52xx;
  947. struct cvmx_npei_dbg_select_s cn52xxp1;
  948. struct cvmx_npei_dbg_select_s cn56xx;
  949. struct cvmx_npei_dbg_select_s cn56xxp1;
  950. };
  951. union cvmx_npei_dmax_counts {
  952. uint64_t u64;
  953. struct cvmx_npei_dmax_counts_s {
  954. #ifdef __BIG_ENDIAN_BITFIELD
  955. uint64_t reserved_39_63:25;
  956. uint64_t fcnt:7;
  957. uint64_t dbell:32;
  958. #else
  959. uint64_t dbell:32;
  960. uint64_t fcnt:7;
  961. uint64_t reserved_39_63:25;
  962. #endif
  963. } s;
  964. struct cvmx_npei_dmax_counts_s cn52xx;
  965. struct cvmx_npei_dmax_counts_s cn52xxp1;
  966. struct cvmx_npei_dmax_counts_s cn56xx;
  967. struct cvmx_npei_dmax_counts_s cn56xxp1;
  968. };
  969. union cvmx_npei_dmax_dbell {
  970. uint32_t u32;
  971. struct cvmx_npei_dmax_dbell_s {
  972. #ifdef __BIG_ENDIAN_BITFIELD
  973. uint32_t reserved_16_31:16;
  974. uint32_t dbell:16;
  975. #else
  976. uint32_t dbell:16;
  977. uint32_t reserved_16_31:16;
  978. #endif
  979. } s;
  980. struct cvmx_npei_dmax_dbell_s cn52xx;
  981. struct cvmx_npei_dmax_dbell_s cn52xxp1;
  982. struct cvmx_npei_dmax_dbell_s cn56xx;
  983. struct cvmx_npei_dmax_dbell_s cn56xxp1;
  984. };
  985. union cvmx_npei_dmax_ibuff_saddr {
  986. uint64_t u64;
  987. struct cvmx_npei_dmax_ibuff_saddr_s {
  988. #ifdef __BIG_ENDIAN_BITFIELD
  989. uint64_t reserved_37_63:27;
  990. uint64_t idle:1;
  991. uint64_t saddr:29;
  992. uint64_t reserved_0_6:7;
  993. #else
  994. uint64_t reserved_0_6:7;
  995. uint64_t saddr:29;
  996. uint64_t idle:1;
  997. uint64_t reserved_37_63:27;
  998. #endif
  999. } s;
  1000. struct cvmx_npei_dmax_ibuff_saddr_s cn52xx;
  1001. struct cvmx_npei_dmax_ibuff_saddr_cn52xxp1 {
  1002. #ifdef __BIG_ENDIAN_BITFIELD
  1003. uint64_t reserved_36_63:28;
  1004. uint64_t saddr:29;
  1005. uint64_t reserved_0_6:7;
  1006. #else
  1007. uint64_t reserved_0_6:7;
  1008. uint64_t saddr:29;
  1009. uint64_t reserved_36_63:28;
  1010. #endif
  1011. } cn52xxp1;
  1012. struct cvmx_npei_dmax_ibuff_saddr_s cn56xx;
  1013. struct cvmx_npei_dmax_ibuff_saddr_cn52xxp1 cn56xxp1;
  1014. };
  1015. union cvmx_npei_dmax_naddr {
  1016. uint64_t u64;
  1017. struct cvmx_npei_dmax_naddr_s {
  1018. #ifdef __BIG_ENDIAN_BITFIELD
  1019. uint64_t reserved_36_63:28;
  1020. uint64_t addr:36;
  1021. #else
  1022. uint64_t addr:36;
  1023. uint64_t reserved_36_63:28;
  1024. #endif
  1025. } s;
  1026. struct cvmx_npei_dmax_naddr_s cn52xx;
  1027. struct cvmx_npei_dmax_naddr_s cn52xxp1;
  1028. struct cvmx_npei_dmax_naddr_s cn56xx;
  1029. struct cvmx_npei_dmax_naddr_s cn56xxp1;
  1030. };
  1031. union cvmx_npei_dma0_int_level {
  1032. uint64_t u64;
  1033. struct cvmx_npei_dma0_int_level_s {
  1034. #ifdef __BIG_ENDIAN_BITFIELD
  1035. uint64_t time:32;
  1036. uint64_t cnt:32;
  1037. #else
  1038. uint64_t cnt:32;
  1039. uint64_t time:32;
  1040. #endif
  1041. } s;
  1042. struct cvmx_npei_dma0_int_level_s cn52xx;
  1043. struct cvmx_npei_dma0_int_level_s cn52xxp1;
  1044. struct cvmx_npei_dma0_int_level_s cn56xx;
  1045. struct cvmx_npei_dma0_int_level_s cn56xxp1;
  1046. };
  1047. union cvmx_npei_dma1_int_level {
  1048. uint64_t u64;
  1049. struct cvmx_npei_dma1_int_level_s {
  1050. #ifdef __BIG_ENDIAN_BITFIELD
  1051. uint64_t time:32;
  1052. uint64_t cnt:32;
  1053. #else
  1054. uint64_t cnt:32;
  1055. uint64_t time:32;
  1056. #endif
  1057. } s;
  1058. struct cvmx_npei_dma1_int_level_s cn52xx;
  1059. struct cvmx_npei_dma1_int_level_s cn52xxp1;
  1060. struct cvmx_npei_dma1_int_level_s cn56xx;
  1061. struct cvmx_npei_dma1_int_level_s cn56xxp1;
  1062. };
  1063. union cvmx_npei_dma_cnts {
  1064. uint64_t u64;
  1065. struct cvmx_npei_dma_cnts_s {
  1066. #ifdef __BIG_ENDIAN_BITFIELD
  1067. uint64_t dma1:32;
  1068. uint64_t dma0:32;
  1069. #else
  1070. uint64_t dma0:32;
  1071. uint64_t dma1:32;
  1072. #endif
  1073. } s;
  1074. struct cvmx_npei_dma_cnts_s cn52xx;
  1075. struct cvmx_npei_dma_cnts_s cn52xxp1;
  1076. struct cvmx_npei_dma_cnts_s cn56xx;
  1077. struct cvmx_npei_dma_cnts_s cn56xxp1;
  1078. };
  1079. union cvmx_npei_dma_control {
  1080. uint64_t u64;
  1081. struct cvmx_npei_dma_control_s {
  1082. #ifdef __BIG_ENDIAN_BITFIELD
  1083. uint64_t reserved_40_63:24;
  1084. uint64_t p_32b_m:1;
  1085. uint64_t dma4_enb:1;
  1086. uint64_t dma3_enb:1;
  1087. uint64_t dma2_enb:1;
  1088. uint64_t dma1_enb:1;
  1089. uint64_t dma0_enb:1;
  1090. uint64_t b0_lend:1;
  1091. uint64_t dwb_denb:1;
  1092. uint64_t dwb_ichk:9;
  1093. uint64_t fpa_que:3;
  1094. uint64_t o_add1:1;
  1095. uint64_t o_ro:1;
  1096. uint64_t o_ns:1;
  1097. uint64_t o_es:2;
  1098. uint64_t o_mode:1;
  1099. uint64_t csize:14;
  1100. #else
  1101. uint64_t csize:14;
  1102. uint64_t o_mode:1;
  1103. uint64_t o_es:2;
  1104. uint64_t o_ns:1;
  1105. uint64_t o_ro:1;
  1106. uint64_t o_add1:1;
  1107. uint64_t fpa_que:3;
  1108. uint64_t dwb_ichk:9;
  1109. uint64_t dwb_denb:1;
  1110. uint64_t b0_lend:1;
  1111. uint64_t dma0_enb:1;
  1112. uint64_t dma1_enb:1;
  1113. uint64_t dma2_enb:1;
  1114. uint64_t dma3_enb:1;
  1115. uint64_t dma4_enb:1;
  1116. uint64_t p_32b_m:1;
  1117. uint64_t reserved_40_63:24;
  1118. #endif
  1119. } s;
  1120. struct cvmx_npei_dma_control_s cn52xx;
  1121. struct cvmx_npei_dma_control_cn52xxp1 {
  1122. #ifdef __BIG_ENDIAN_BITFIELD
  1123. uint64_t reserved_38_63:26;
  1124. uint64_t dma3_enb:1;
  1125. uint64_t dma2_enb:1;
  1126. uint64_t dma1_enb:1;
  1127. uint64_t dma0_enb:1;
  1128. uint64_t b0_lend:1;
  1129. uint64_t dwb_denb:1;
  1130. uint64_t dwb_ichk:9;
  1131. uint64_t fpa_que:3;
  1132. uint64_t o_add1:1;
  1133. uint64_t o_ro:1;
  1134. uint64_t o_ns:1;
  1135. uint64_t o_es:2;
  1136. uint64_t o_mode:1;
  1137. uint64_t csize:14;
  1138. #else
  1139. uint64_t csize:14;
  1140. uint64_t o_mode:1;
  1141. uint64_t o_es:2;
  1142. uint64_t o_ns:1;
  1143. uint64_t o_ro:1;
  1144. uint64_t o_add1:1;
  1145. uint64_t fpa_que:3;
  1146. uint64_t dwb_ichk:9;
  1147. uint64_t dwb_denb:1;
  1148. uint64_t b0_lend:1;
  1149. uint64_t dma0_enb:1;
  1150. uint64_t dma1_enb:1;
  1151. uint64_t dma2_enb:1;
  1152. uint64_t dma3_enb:1;
  1153. uint64_t reserved_38_63:26;
  1154. #endif
  1155. } cn52xxp1;
  1156. struct cvmx_npei_dma_control_s cn56xx;
  1157. struct cvmx_npei_dma_control_cn56xxp1 {
  1158. #ifdef __BIG_ENDIAN_BITFIELD
  1159. uint64_t reserved_39_63:25;
  1160. uint64_t dma4_enb:1;
  1161. uint64_t dma3_enb:1;
  1162. uint64_t dma2_enb:1;
  1163. uint64_t dma1_enb:1;
  1164. uint64_t dma0_enb:1;
  1165. uint64_t b0_lend:1;
  1166. uint64_t dwb_denb:1;
  1167. uint64_t dwb_ichk:9;
  1168. uint64_t fpa_que:3;
  1169. uint64_t o_add1:1;
  1170. uint64_t o_ro:1;
  1171. uint64_t o_ns:1;
  1172. uint64_t o_es:2;
  1173. uint64_t o_mode:1;
  1174. uint64_t csize:14;
  1175. #else
  1176. uint64_t csize:14;
  1177. uint64_t o_mode:1;
  1178. uint64_t o_es:2;
  1179. uint64_t o_ns:1;
  1180. uint64_t o_ro:1;
  1181. uint64_t o_add1:1;
  1182. uint64_t fpa_que:3;
  1183. uint64_t dwb_ichk:9;
  1184. uint64_t dwb_denb:1;
  1185. uint64_t b0_lend:1;
  1186. uint64_t dma0_enb:1;
  1187. uint64_t dma1_enb:1;
  1188. uint64_t dma2_enb:1;
  1189. uint64_t dma3_enb:1;
  1190. uint64_t dma4_enb:1;
  1191. uint64_t reserved_39_63:25;
  1192. #endif
  1193. } cn56xxp1;
  1194. };
  1195. union cvmx_npei_dma_pcie_req_num {
  1196. uint64_t u64;
  1197. struct cvmx_npei_dma_pcie_req_num_s {
  1198. #ifdef __BIG_ENDIAN_BITFIELD
  1199. uint64_t dma_arb:1;
  1200. uint64_t reserved_53_62:10;
  1201. uint64_t pkt_cnt:5;
  1202. uint64_t reserved_45_47:3;
  1203. uint64_t dma4_cnt:5;
  1204. uint64_t reserved_37_39:3;
  1205. uint64_t dma3_cnt:5;
  1206. uint64_t reserved_29_31:3;
  1207. uint64_t dma2_cnt:5;
  1208. uint64_t reserved_21_23:3;
  1209. uint64_t dma1_cnt:5;
  1210. uint64_t reserved_13_15:3;
  1211. uint64_t dma0_cnt:5;
  1212. uint64_t reserved_5_7:3;
  1213. uint64_t dma_cnt:5;
  1214. #else
  1215. uint64_t dma_cnt:5;
  1216. uint64_t reserved_5_7:3;
  1217. uint64_t dma0_cnt:5;
  1218. uint64_t reserved_13_15:3;
  1219. uint64_t dma1_cnt:5;
  1220. uint64_t reserved_21_23:3;
  1221. uint64_t dma2_cnt:5;
  1222. uint64_t reserved_29_31:3;
  1223. uint64_t dma3_cnt:5;
  1224. uint64_t reserved_37_39:3;
  1225. uint64_t dma4_cnt:5;
  1226. uint64_t reserved_45_47:3;
  1227. uint64_t pkt_cnt:5;
  1228. uint64_t reserved_53_62:10;
  1229. uint64_t dma_arb:1;
  1230. #endif
  1231. } s;
  1232. struct cvmx_npei_dma_pcie_req_num_s cn52xx;
  1233. struct cvmx_npei_dma_pcie_req_num_s cn56xx;
  1234. };
  1235. union cvmx_npei_dma_state1 {
  1236. uint64_t u64;
  1237. struct cvmx_npei_dma_state1_s {
  1238. #ifdef __BIG_ENDIAN_BITFIELD
  1239. uint64_t reserved_40_63:24;
  1240. uint64_t d4_dwe:8;
  1241. uint64_t d3_dwe:8;
  1242. uint64_t d2_dwe:8;
  1243. uint64_t d1_dwe:8;
  1244. uint64_t d0_dwe:8;
  1245. #else
  1246. uint64_t d0_dwe:8;
  1247. uint64_t d1_dwe:8;
  1248. uint64_t d2_dwe:8;
  1249. uint64_t d3_dwe:8;
  1250. uint64_t d4_dwe:8;
  1251. uint64_t reserved_40_63:24;
  1252. #endif
  1253. } s;
  1254. struct cvmx_npei_dma_state1_s cn52xx;
  1255. };
  1256. union cvmx_npei_dma_state1_p1 {
  1257. uint64_t u64;
  1258. struct cvmx_npei_dma_state1_p1_s {
  1259. #ifdef __BIG_ENDIAN_BITFIELD
  1260. uint64_t reserved_60_63:4;
  1261. uint64_t d0_difst:7;
  1262. uint64_t d1_difst:7;
  1263. uint64_t d2_difst:7;
  1264. uint64_t d3_difst:7;
  1265. uint64_t d4_difst:7;
  1266. uint64_t d0_reqst:5;
  1267. uint64_t d1_reqst:5;
  1268. uint64_t d2_reqst:5;
  1269. uint64_t d3_reqst:5;
  1270. uint64_t d4_reqst:5;
  1271. #else
  1272. uint64_t d4_reqst:5;
  1273. uint64_t d3_reqst:5;
  1274. uint64_t d2_reqst:5;
  1275. uint64_t d1_reqst:5;
  1276. uint64_t d0_reqst:5;
  1277. uint64_t d4_difst:7;
  1278. uint64_t d3_difst:7;
  1279. uint64_t d2_difst:7;
  1280. uint64_t d1_difst:7;
  1281. uint64_t d0_difst:7;
  1282. uint64_t reserved_60_63:4;
  1283. #endif
  1284. } s;
  1285. struct cvmx_npei_dma_state1_p1_cn52xxp1 {
  1286. #ifdef __BIG_ENDIAN_BITFIELD
  1287. uint64_t reserved_60_63:4;
  1288. uint64_t d0_difst:7;
  1289. uint64_t d1_difst:7;
  1290. uint64_t d2_difst:7;
  1291. uint64_t d3_difst:7;
  1292. uint64_t reserved_25_31:7;
  1293. uint64_t d0_reqst:5;
  1294. uint64_t d1_reqst:5;
  1295. uint64_t d2_reqst:5;
  1296. uint64_t d3_reqst:5;
  1297. uint64_t reserved_0_4:5;
  1298. #else
  1299. uint64_t reserved_0_4:5;
  1300. uint64_t d3_reqst:5;
  1301. uint64_t d2_reqst:5;
  1302. uint64_t d1_reqst:5;
  1303. uint64_t d0_reqst:5;
  1304. uint64_t reserved_25_31:7;
  1305. uint64_t d3_difst:7;
  1306. uint64_t d2_difst:7;
  1307. uint64_t d1_difst:7;
  1308. uint64_t d0_difst:7;
  1309. uint64_t reserved_60_63:4;
  1310. #endif
  1311. } cn52xxp1;
  1312. struct cvmx_npei_dma_state1_p1_s cn56xxp1;
  1313. };
  1314. union cvmx_npei_dma_state2 {
  1315. uint64_t u64;
  1316. struct cvmx_npei_dma_state2_s {
  1317. #ifdef __BIG_ENDIAN_BITFIELD
  1318. uint64_t reserved_28_63:36;
  1319. uint64_t ndwe:4;
  1320. uint64_t reserved_21_23:3;
  1321. uint64_t ndre:5;
  1322. uint64_t reserved_10_15:6;
  1323. uint64_t prd:10;
  1324. #else
  1325. uint64_t prd:10;
  1326. uint64_t reserved_10_15:6;
  1327. uint64_t ndre:5;
  1328. uint64_t reserved_21_23:3;
  1329. uint64_t ndwe:4;
  1330. uint64_t reserved_28_63:36;
  1331. #endif
  1332. } s;
  1333. struct cvmx_npei_dma_state2_s cn52xx;
  1334. };
  1335. union cvmx_npei_dma_state2_p1 {
  1336. uint64_t u64;
  1337. struct cvmx_npei_dma_state2_p1_s {
  1338. #ifdef __BIG_ENDIAN_BITFIELD
  1339. uint64_t reserved_45_63:19;
  1340. uint64_t d0_dffst:9;
  1341. uint64_t d1_dffst:9;
  1342. uint64_t d2_dffst:9;
  1343. uint64_t d3_dffst:9;
  1344. uint64_t d4_dffst:9;
  1345. #else
  1346. uint64_t d4_dffst:9;
  1347. uint64_t d3_dffst:9;
  1348. uint64_t d2_dffst:9;
  1349. uint64_t d1_dffst:9;
  1350. uint64_t d0_dffst:9;
  1351. uint64_t reserved_45_63:19;
  1352. #endif
  1353. } s;
  1354. struct cvmx_npei_dma_state2_p1_cn52xxp1 {
  1355. #ifdef __BIG_ENDIAN_BITFIELD
  1356. uint64_t reserved_45_63:19;
  1357. uint64_t d0_dffst:9;
  1358. uint64_t d1_dffst:9;
  1359. uint64_t d2_dffst:9;
  1360. uint64_t d3_dffst:9;
  1361. uint64_t reserved_0_8:9;
  1362. #else
  1363. uint64_t reserved_0_8:9;
  1364. uint64_t d3_dffst:9;
  1365. uint64_t d2_dffst:9;
  1366. uint64_t d1_dffst:9;
  1367. uint64_t d0_dffst:9;
  1368. uint64_t reserved_45_63:19;
  1369. #endif
  1370. } cn52xxp1;
  1371. struct cvmx_npei_dma_state2_p1_s cn56xxp1;
  1372. };
  1373. union cvmx_npei_dma_state3_p1 {
  1374. uint64_t u64;
  1375. struct cvmx_npei_dma_state3_p1_s {
  1376. #ifdef __BIG_ENDIAN_BITFIELD
  1377. uint64_t reserved_60_63:4;
  1378. uint64_t d0_drest:15;
  1379. uint64_t d1_drest:15;
  1380. uint64_t d2_drest:15;
  1381. uint64_t d3_drest:15;
  1382. #else
  1383. uint64_t d3_drest:15;
  1384. uint64_t d2_drest:15;
  1385. uint64_t d1_drest:15;
  1386. uint64_t d0_drest:15;
  1387. uint64_t reserved_60_63:4;
  1388. #endif
  1389. } s;
  1390. struct cvmx_npei_dma_state3_p1_s cn52xxp1;
  1391. struct cvmx_npei_dma_state3_p1_s cn56xxp1;
  1392. };
  1393. union cvmx_npei_dma_state4_p1 {
  1394. uint64_t u64;
  1395. struct cvmx_npei_dma_state4_p1_s {
  1396. #ifdef __BIG_ENDIAN_BITFIELD
  1397. uint64_t reserved_52_63:12;
  1398. uint64_t d0_dwest:13;
  1399. uint64_t d1_dwest:13;
  1400. uint64_t d2_dwest:13;
  1401. uint64_t d3_dwest:13;
  1402. #else
  1403. uint64_t d3_dwest:13;
  1404. uint64_t d2_dwest:13;
  1405. uint64_t d1_dwest:13;
  1406. uint64_t d0_dwest:13;
  1407. uint64_t reserved_52_63:12;
  1408. #endif
  1409. } s;
  1410. struct cvmx_npei_dma_state4_p1_s cn52xxp1;
  1411. struct cvmx_npei_dma_state4_p1_s cn56xxp1;
  1412. };
  1413. union cvmx_npei_dma_state5_p1 {
  1414. uint64_t u64;
  1415. struct cvmx_npei_dma_state5_p1_s {
  1416. #ifdef __BIG_ENDIAN_BITFIELD
  1417. uint64_t reserved_28_63:36;
  1418. uint64_t d4_drest:15;
  1419. uint64_t d4_dwest:13;
  1420. #else
  1421. uint64_t d4_dwest:13;
  1422. uint64_t d4_drest:15;
  1423. uint64_t reserved_28_63:36;
  1424. #endif
  1425. } s;
  1426. struct cvmx_npei_dma_state5_p1_s cn56xxp1;
  1427. };
  1428. union cvmx_npei_int_a_enb {
  1429. uint64_t u64;
  1430. struct cvmx_npei_int_a_enb_s {
  1431. #ifdef __BIG_ENDIAN_BITFIELD
  1432. uint64_t reserved_10_63:54;
  1433. uint64_t pout_err:1;
  1434. uint64_t pin_bp:1;
  1435. uint64_t p1_rdlk:1;
  1436. uint64_t p0_rdlk:1;
  1437. uint64_t pgl_err:1;
  1438. uint64_t pdi_err:1;
  1439. uint64_t pop_err:1;
  1440. uint64_t pins_err:1;
  1441. uint64_t dma1_cpl:1;
  1442. uint64_t dma0_cpl:1;
  1443. #else
  1444. uint64_t dma0_cpl:1;
  1445. uint64_t dma1_cpl:1;
  1446. uint64_t pins_err:1;
  1447. uint64_t pop_err:1;
  1448. uint64_t pdi_err:1;
  1449. uint64_t pgl_err:1;
  1450. uint64_t p0_rdlk:1;
  1451. uint64_t p1_rdlk:1;
  1452. uint64_t pin_bp:1;
  1453. uint64_t pout_err:1;
  1454. uint64_t reserved_10_63:54;
  1455. #endif
  1456. } s;
  1457. struct cvmx_npei_int_a_enb_s cn52xx;
  1458. struct cvmx_npei_int_a_enb_cn52xxp1 {
  1459. #ifdef __BIG_ENDIAN_BITFIELD
  1460. uint64_t reserved_2_63:62;
  1461. uint64_t dma1_cpl:1;
  1462. uint64_t dma0_cpl:1;
  1463. #else
  1464. uint64_t dma0_cpl:1;
  1465. uint64_t dma1_cpl:1;
  1466. uint64_t reserved_2_63:62;
  1467. #endif
  1468. } cn52xxp1;
  1469. struct cvmx_npei_int_a_enb_s cn56xx;
  1470. };
  1471. union cvmx_npei_int_a_enb2 {
  1472. uint64_t u64;
  1473. struct cvmx_npei_int_a_enb2_s {
  1474. #ifdef __BIG_ENDIAN_BITFIELD
  1475. uint64_t reserved_10_63:54;
  1476. uint64_t pout_err:1;
  1477. uint64_t pin_bp:1;
  1478. uint64_t p1_rdlk:1;
  1479. uint64_t p0_rdlk:1;
  1480. uint64_t pgl_err:1;
  1481. uint64_t pdi_err:1;
  1482. uint64_t pop_err:1;
  1483. uint64_t pins_err:1;
  1484. uint64_t dma1_cpl:1;
  1485. uint64_t dma0_cpl:1;
  1486. #else
  1487. uint64_t dma0_cpl:1;
  1488. uint64_t dma1_cpl:1;
  1489. uint64_t pins_err:1;
  1490. uint64_t pop_err:1;
  1491. uint64_t pdi_err:1;
  1492. uint64_t pgl_err:1;
  1493. uint64_t p0_rdlk:1;
  1494. uint64_t p1_rdlk:1;
  1495. uint64_t pin_bp:1;
  1496. uint64_t pout_err:1;
  1497. uint64_t reserved_10_63:54;
  1498. #endif
  1499. } s;
  1500. struct cvmx_npei_int_a_enb2_s cn52xx;
  1501. struct cvmx_npei_int_a_enb2_cn52xxp1 {
  1502. #ifdef __BIG_ENDIAN_BITFIELD
  1503. uint64_t reserved_2_63:62;
  1504. uint64_t dma1_cpl:1;
  1505. uint64_t dma0_cpl:1;
  1506. #else
  1507. uint64_t dma0_cpl:1;
  1508. uint64_t dma1_cpl:1;
  1509. uint64_t reserved_2_63:62;
  1510. #endif
  1511. } cn52xxp1;
  1512. struct cvmx_npei_int_a_enb2_s cn56xx;
  1513. };
  1514. union cvmx_npei_int_a_sum {
  1515. uint64_t u64;
  1516. struct cvmx_npei_int_a_sum_s {
  1517. #ifdef __BIG_ENDIAN_BITFIELD
  1518. uint64_t reserved_10_63:54;
  1519. uint64_t pout_err:1;
  1520. uint64_t pin_bp:1;
  1521. uint64_t p1_rdlk:1;
  1522. uint64_t p0_rdlk:1;
  1523. uint64_t pgl_err:1;
  1524. uint64_t pdi_err:1;
  1525. uint64_t pop_err:1;
  1526. uint64_t pins_err:1;
  1527. uint64_t dma1_cpl:1;
  1528. uint64_t dma0_cpl:1;
  1529. #else
  1530. uint64_t dma0_cpl:1;
  1531. uint64_t dma1_cpl:1;
  1532. uint64_t pins_err:1;
  1533. uint64_t pop_err:1;
  1534. uint64_t pdi_err:1;
  1535. uint64_t pgl_err:1;
  1536. uint64_t p0_rdlk:1;
  1537. uint64_t p1_rdlk:1;
  1538. uint64_t pin_bp:1;
  1539. uint64_t pout_err:1;
  1540. uint64_t reserved_10_63:54;
  1541. #endif
  1542. } s;
  1543. struct cvmx_npei_int_a_sum_s cn52xx;
  1544. struct cvmx_npei_int_a_sum_cn52xxp1 {
  1545. #ifdef __BIG_ENDIAN_BITFIELD
  1546. uint64_t reserved_2_63:62;
  1547. uint64_t dma1_cpl:1;
  1548. uint64_t dma0_cpl:1;
  1549. #else
  1550. uint64_t dma0_cpl:1;
  1551. uint64_t dma1_cpl:1;
  1552. uint64_t reserved_2_63:62;
  1553. #endif
  1554. } cn52xxp1;
  1555. struct cvmx_npei_int_a_sum_s cn56xx;
  1556. };
  1557. union cvmx_npei_int_enb {
  1558. uint64_t u64;
  1559. struct cvmx_npei_int_enb_s {
  1560. #ifdef __BIG_ENDIAN_BITFIELD
  1561. uint64_t mio_inta:1;
  1562. uint64_t reserved_62_62:1;
  1563. uint64_t int_a:1;
  1564. uint64_t c1_ldwn:1;
  1565. uint64_t c0_ldwn:1;
  1566. uint64_t c1_exc:1;
  1567. uint64_t c0_exc:1;
  1568. uint64_t c1_up_wf:1;
  1569. uint64_t c0_up_wf:1;
  1570. uint64_t c1_un_wf:1;
  1571. uint64_t c0_un_wf:1;
  1572. uint64_t c1_un_bx:1;
  1573. uint64_t c1_un_wi:1;
  1574. uint64_t c1_un_b2:1;
  1575. uint64_t c1_un_b1:1;
  1576. uint64_t c1_un_b0:1;
  1577. uint64_t c1_up_bx:1;
  1578. uint64_t c1_up_wi:1;
  1579. uint64_t c1_up_b2:1;
  1580. uint64_t c1_up_b1:1;
  1581. uint64_t c1_up_b0:1;
  1582. uint64_t c0_un_bx:1;
  1583. uint64_t c0_un_wi:1;
  1584. uint64_t c0_un_b2:1;
  1585. uint64_t c0_un_b1:1;
  1586. uint64_t c0_un_b0:1;
  1587. uint64_t c0_up_bx:1;
  1588. uint64_t c0_up_wi:1;
  1589. uint64_t c0_up_b2:1;
  1590. uint64_t c0_up_b1:1;
  1591. uint64_t c0_up_b0:1;
  1592. uint64_t c1_hpint:1;
  1593. uint64_t c1_pmei:1;
  1594. uint64_t c1_wake:1;
  1595. uint64_t crs1_dr:1;
  1596. uint64_t c1_se:1;
  1597. uint64_t crs1_er:1;
  1598. uint64_t c1_aeri:1;
  1599. uint64_t c0_hpint:1;
  1600. uint64_t c0_pmei:1;
  1601. uint64_t c0_wake:1;
  1602. uint64_t crs0_dr:1;
  1603. uint64_t c0_se:1;
  1604. uint64_t crs0_er:1;
  1605. uint64_t c0_aeri:1;
  1606. uint64_t ptime:1;
  1607. uint64_t pcnt:1;
  1608. uint64_t pidbof:1;
  1609. uint64_t psldbof:1;
  1610. uint64_t dtime1:1;
  1611. uint64_t dtime0:1;
  1612. uint64_t dcnt1:1;
  1613. uint64_t dcnt0:1;
  1614. uint64_t dma1fi:1;
  1615. uint64_t dma0fi:1;
  1616. uint64_t dma4dbo:1;
  1617. uint64_t dma3dbo:1;
  1618. uint64_t dma2dbo:1;
  1619. uint64_t dma1dbo:1;
  1620. uint64_t dma0dbo:1;
  1621. uint64_t iob2big:1;
  1622. uint64_t bar0_to:1;
  1623. uint64_t rml_wto:1;
  1624. uint64_t rml_rto:1;
  1625. #else
  1626. uint64_t rml_rto:1;
  1627. uint64_t rml_wto:1;
  1628. uint64_t bar0_to:1;
  1629. uint64_t iob2big:1;
  1630. uint64_t dma0dbo:1;
  1631. uint64_t dma1dbo:1;
  1632. uint64_t dma2dbo:1;
  1633. uint64_t dma3dbo:1;
  1634. uint64_t dma4dbo:1;
  1635. uint64_t dma0fi:1;
  1636. uint64_t dma1fi:1;
  1637. uint64_t dcnt0:1;
  1638. uint64_t dcnt1:1;
  1639. uint64_t dtime0:1;
  1640. uint64_t dtime1:1;
  1641. uint64_t psldbof:1;
  1642. uint64_t pidbof:1;
  1643. uint64_t pcnt:1;
  1644. uint64_t ptime:1;
  1645. uint64_t c0_aeri:1;
  1646. uint64_t crs0_er:1;
  1647. uint64_t c0_se:1;
  1648. uint64_t crs0_dr:1;
  1649. uint64_t c0_wake:1;
  1650. uint64_t c0_pmei:1;
  1651. uint64_t c0_hpint:1;
  1652. uint64_t c1_aeri:1;
  1653. uint64_t crs1_er:1;
  1654. uint64_t c1_se:1;
  1655. uint64_t crs1_dr:1;
  1656. uint64_t c1_wake:1;
  1657. uint64_t c1_pmei:1;
  1658. uint64_t c1_hpint:1;
  1659. uint64_t c0_up_b0:1;
  1660. uint64_t c0_up_b1:1;
  1661. uint64_t c0_up_b2:1;
  1662. uint64_t c0_up_wi:1;
  1663. uint64_t c0_up_bx:1;
  1664. uint64_t c0_un_b0:1;
  1665. uint64_t c0_un_b1:1;
  1666. uint64_t c0_un_b2:1;
  1667. uint64_t c0_un_wi:1;
  1668. uint64_t c0_un_bx:1;
  1669. uint64_t c1_up_b0:1;
  1670. uint64_t c1_up_b1:1;
  1671. uint64_t c1_up_b2:1;
  1672. uint64_t c1_up_wi:1;
  1673. uint64_t c1_up_bx:1;
  1674. uint64_t c1_un_b0:1;
  1675. uint64_t c1_un_b1:1;
  1676. uint64_t c1_un_b2:1;
  1677. uint64_t c1_un_wi:1;
  1678. uint64_t c1_un_bx:1;
  1679. uint64_t c0_un_wf:1;
  1680. uint64_t c1_un_wf:1;
  1681. uint64_t c0_up_wf:1;
  1682. uint64_t c1_up_wf:1;
  1683. uint64_t c0_exc:1;
  1684. uint64_t c1_exc:1;
  1685. uint64_t c0_ldwn:1;
  1686. uint64_t c1_ldwn:1;
  1687. uint64_t int_a:1;
  1688. uint64_t reserved_62_62:1;
  1689. uint64_t mio_inta:1;
  1690. #endif
  1691. } s;
  1692. struct cvmx_npei_int_enb_s cn52xx;
  1693. struct cvmx_npei_int_enb_cn52xxp1 {
  1694. #ifdef __BIG_ENDIAN_BITFIELD
  1695. uint64_t mio_inta:1;
  1696. uint64_t reserved_62_62:1;
  1697. uint64_t int_a:1;
  1698. uint64_t c1_ldwn:1;
  1699. uint64_t c0_ldwn:1;
  1700. uint64_t c1_exc:1;
  1701. uint64_t c0_exc:1;
  1702. uint64_t c1_up_wf:1;
  1703. uint64_t c0_up_wf:1;
  1704. uint64_t c1_un_wf:1;
  1705. uint64_t c0_un_wf:1;
  1706. uint64_t c1_un_bx:1;
  1707. uint64_t c1_un_wi:1;
  1708. uint64_t c1_un_b2:1;
  1709. uint64_t c1_un_b1:1;
  1710. uint64_t c1_un_b0:1;
  1711. uint64_t c1_up_bx:1;
  1712. uint64_t c1_up_wi:1;
  1713. uint64_t c1_up_b2:1;
  1714. uint64_t c1_up_b1:1;
  1715. uint64_t c1_up_b0:1;
  1716. uint64_t c0_un_bx:1;
  1717. uint64_t c0_un_wi:1;
  1718. uint64_t c0_un_b2:1;
  1719. uint64_t c0_un_b1:1;
  1720. uint64_t c0_un_b0:1;
  1721. uint64_t c0_up_bx:1;
  1722. uint64_t c0_up_wi:1;
  1723. uint64_t c0_up_b2:1;
  1724. uint64_t c0_up_b1:1;
  1725. uint64_t c0_up_b0:1;
  1726. uint64_t c1_hpint:1;
  1727. uint64_t c1_pmei:1;
  1728. uint64_t c1_wake:1;
  1729. uint64_t crs1_dr:1;
  1730. uint64_t c1_se:1;
  1731. uint64_t crs1_er:1;
  1732. uint64_t c1_aeri:1;
  1733. uint64_t c0_hpint:1;
  1734. uint64_t c0_pmei:1;
  1735. uint64_t c0_wake:1;
  1736. uint64_t crs0_dr:1;
  1737. uint64_t c0_se:1;
  1738. uint64_t crs0_er:1;
  1739. uint64_t c0_aeri:1;
  1740. uint64_t ptime:1;
  1741. uint64_t pcnt:1;
  1742. uint64_t pidbof:1;
  1743. uint64_t psldbof:1;
  1744. uint64_t dtime1:1;
  1745. uint64_t dtime0:1;
  1746. uint64_t dcnt1:1;
  1747. uint64_t dcnt0:1;
  1748. uint64_t dma1fi:1;
  1749. uint64_t dma0fi:1;
  1750. uint64_t reserved_8_8:1;
  1751. uint64_t dma3dbo:1;
  1752. uint64_t dma2dbo:1;
  1753. uint64_t dma1dbo:1;
  1754. uint64_t dma0dbo:1;
  1755. uint64_t iob2big:1;
  1756. uint64_t bar0_to:1;
  1757. uint64_t rml_wto:1;
  1758. uint64_t rml_rto:1;
  1759. #else
  1760. uint64_t rml_rto:1;
  1761. uint64_t rml_wto:1;
  1762. uint64_t bar0_to:1;
  1763. uint64_t iob2big:1;
  1764. uint64_t dma0dbo:1;
  1765. uint64_t dma1dbo:1;
  1766. uint64_t dma2dbo:1;
  1767. uint64_t dma3dbo:1;
  1768. uint64_t reserved_8_8:1;
  1769. uint64_t dma0fi:1;
  1770. uint64_t dma1fi:1;
  1771. uint64_t dcnt0:1;
  1772. uint64_t dcnt1:1;
  1773. uint64_t dtime0:1;
  1774. uint64_t dtime1:1;
  1775. uint64_t psldbof:1;
  1776. uint64_t pidbof:1;
  1777. uint64_t pcnt:1;
  1778. uint64_t ptime:1;
  1779. uint64_t c0_aeri:1;
  1780. uint64_t crs0_er:1;
  1781. uint64_t c0_se:1;
  1782. uint64_t crs0_dr:1;
  1783. uint64_t c0_wake:1;
  1784. uint64_t c0_pmei:1;
  1785. uint64_t c0_hpint:1;
  1786. uint64_t c1_aeri:1;
  1787. uint64_t crs1_er:1;
  1788. uint64_t c1_se:1;
  1789. uint64_t crs1_dr:1;
  1790. uint64_t c1_wake:1;
  1791. uint64_t c1_pmei:1;
  1792. uint64_t c1_hpint:1;
  1793. uint64_t c0_up_b0:1;
  1794. uint64_t c0_up_b1:1;
  1795. uint64_t c0_up_b2:1;
  1796. uint64_t c0_up_wi:1;
  1797. uint64_t c0_up_bx:1;
  1798. uint64_t c0_un_b0:1;
  1799. uint64_t c0_un_b1:1;
  1800. uint64_t c0_un_b2:1;
  1801. uint64_t c0_un_wi:1;
  1802. uint64_t c0_un_bx:1;
  1803. uint64_t c1_up_b0:1;
  1804. uint64_t c1_up_b1:1;
  1805. uint64_t c1_up_b2:1;
  1806. uint64_t c1_up_wi:1;
  1807. uint64_t c1_up_bx:1;
  1808. uint64_t c1_un_b0:1;
  1809. uint64_t c1_un_b1:1;
  1810. uint64_t c1_un_b2:1;
  1811. uint64_t c1_un_wi:1;
  1812. uint64_t c1_un_bx:1;
  1813. uint64_t c0_un_wf:1;
  1814. uint64_t c1_un_wf:1;
  1815. uint64_t c0_up_wf:1;
  1816. uint64_t c1_up_wf:1;
  1817. uint64_t c0_exc:1;
  1818. uint64_t c1_exc:1;
  1819. uint64_t c0_ldwn:1;
  1820. uint64_t c1_ldwn:1;
  1821. uint64_t int_a:1;
  1822. uint64_t reserved_62_62:1;
  1823. uint64_t mio_inta:1;
  1824. #endif
  1825. } cn52xxp1;
  1826. struct cvmx_npei_int_enb_s cn56xx;
  1827. struct cvmx_npei_int_enb_cn56xxp1 {
  1828. #ifdef __BIG_ENDIAN_BITFIELD
  1829. uint64_t mio_inta:1;
  1830. uint64_t reserved_61_62:2;
  1831. uint64_t c1_ldwn:1;
  1832. uint64_t c0_ldwn:1;
  1833. uint64_t c1_exc:1;
  1834. uint64_t c0_exc:1;
  1835. uint64_t c1_up_wf:1;
  1836. uint64_t c0_up_wf:1;
  1837. uint64_t c1_un_wf:1;
  1838. uint64_t c0_un_wf:1;
  1839. uint64_t c1_un_bx:1;
  1840. uint64_t c1_un_wi:1;
  1841. uint64_t c1_un_b2:1;
  1842. uint64_t c1_un_b1:1;
  1843. uint64_t c1_un_b0:1;
  1844. uint64_t c1_up_bx:1;
  1845. uint64_t c1_up_wi:1;
  1846. uint64_t c1_up_b2:1;
  1847. uint64_t c1_up_b1:1;
  1848. uint64_t c1_up_b0:1;
  1849. uint64_t c0_un_bx:1;
  1850. uint64_t c0_un_wi:1;
  1851. uint64_t c0_un_b2:1;
  1852. uint64_t c0_un_b1:1;
  1853. uint64_t c0_un_b0:1;
  1854. uint64_t c0_up_bx:1;
  1855. uint64_t c0_up_wi:1;
  1856. uint64_t c0_up_b2:1;
  1857. uint64_t c0_up_b1:1;
  1858. uint64_t c0_up_b0:1;
  1859. uint64_t c1_hpint:1;
  1860. uint64_t c1_pmei:1;
  1861. uint64_t c1_wake:1;
  1862. uint64_t reserved_29_29:1;
  1863. uint64_t c1_se:1;
  1864. uint64_t reserved_27_27:1;
  1865. uint64_t c1_aeri:1;
  1866. uint64_t c0_hpint:1;
  1867. uint64_t c0_pmei:1;
  1868. uint64_t c0_wake:1;
  1869. uint64_t reserved_22_22:1;
  1870. uint64_t c0_se:1;
  1871. uint64_t reserved_20_20:1;
  1872. uint64_t c0_aeri:1;
  1873. uint64_t ptime:1;
  1874. uint64_t pcnt:1;
  1875. uint64_t pidbof:1;
  1876. uint64_t psldbof:1;
  1877. uint64_t dtime1:1;
  1878. uint64_t dtime0:1;
  1879. uint64_t dcnt1:1;
  1880. uint64_t dcnt0:1;
  1881. uint64_t dma1fi:1;
  1882. uint64_t dma0fi:1;
  1883. uint64_t dma4dbo:1;
  1884. uint64_t dma3dbo:1;
  1885. uint64_t dma2dbo:1;
  1886. uint64_t dma1dbo:1;
  1887. uint64_t dma0dbo:1;
  1888. uint64_t iob2big:1;
  1889. uint64_t bar0_to:1;
  1890. uint64_t rml_wto:1;
  1891. uint64_t rml_rto:1;
  1892. #else
  1893. uint64_t rml_rto:1;
  1894. uint64_t rml_wto:1;
  1895. uint64_t bar0_to:1;
  1896. uint64_t iob2big:1;
  1897. uint64_t dma0dbo:1;
  1898. uint64_t dma1dbo:1;
  1899. uint64_t dma2dbo:1;
  1900. uint64_t dma3dbo:1;
  1901. uint64_t dma4dbo:1;
  1902. uint64_t dma0fi:1;
  1903. uint64_t dma1fi:1;
  1904. uint64_t dcnt0:1;
  1905. uint64_t dcnt1:1;
  1906. uint64_t dtime0:1;
  1907. uint64_t dtime1:1;
  1908. uint64_t psldbof:1;
  1909. uint64_t pidbof:1;
  1910. uint64_t pcnt:1;
  1911. uint64_t ptime:1;
  1912. uint64_t c0_aeri:1;
  1913. uint64_t reserved_20_20:1;
  1914. uint64_t c0_se:1;
  1915. uint64_t reserved_22_22:1;
  1916. uint64_t c0_wake:1;
  1917. uint64_t c0_pmei:1;
  1918. uint64_t c0_hpint:1;
  1919. uint64_t c1_aeri:1;
  1920. uint64_t reserved_27_27:1;
  1921. uint64_t c1_se:1;
  1922. uint64_t reserved_29_29:1;
  1923. uint64_t c1_wake:1;
  1924. uint64_t c1_pmei:1;
  1925. uint64_t c1_hpint:1;
  1926. uint64_t c0_up_b0:1;
  1927. uint64_t c0_up_b1:1;
  1928. uint64_t c0_up_b2:1;
  1929. uint64_t c0_up_wi:1;
  1930. uint64_t c0_up_bx:1;
  1931. uint64_t c0_un_b0:1;
  1932. uint64_t c0_un_b1:1;
  1933. uint64_t c0_un_b2:1;
  1934. uint64_t c0_un_wi:1;
  1935. uint64_t c0_un_bx:1;
  1936. uint64_t c1_up_b0:1;
  1937. uint64_t c1_up_b1:1;
  1938. uint64_t c1_up_b2:1;
  1939. uint64_t c1_up_wi:1;
  1940. uint64_t c1_up_bx:1;
  1941. uint64_t c1_un_b0:1;
  1942. uint64_t c1_un_b1:1;
  1943. uint64_t c1_un_b2:1;
  1944. uint64_t c1_un_wi:1;
  1945. uint64_t c1_un_bx:1;
  1946. uint64_t c0_un_wf:1;
  1947. uint64_t c1_un_wf:1;
  1948. uint64_t c0_up_wf:1;
  1949. uint64_t c1_up_wf:1;
  1950. uint64_t c0_exc:1;
  1951. uint64_t c1_exc:1;
  1952. uint64_t c0_ldwn:1;
  1953. uint64_t c1_ldwn:1;
  1954. uint64_t reserved_61_62:2;
  1955. uint64_t mio_inta:1;
  1956. #endif
  1957. } cn56xxp1;
  1958. };
  1959. union cvmx_npei_int_enb2 {
  1960. uint64_t u64;
  1961. struct cvmx_npei_int_enb2_s {
  1962. #ifdef __BIG_ENDIAN_BITFIELD
  1963. uint64_t reserved_62_63:2;
  1964. uint64_t int_a:1;
  1965. uint64_t c1_ldwn:1;
  1966. uint64_t c0_ldwn:1;
  1967. uint64_t c1_exc:1;
  1968. uint64_t c0_exc:1;
  1969. uint64_t c1_up_wf:1;
  1970. uint64_t c0_up_wf:1;
  1971. uint64_t c1_un_wf:1;
  1972. uint64_t c0_un_wf:1;
  1973. uint64_t c1_un_bx:1;
  1974. uint64_t c1_un_wi:1;
  1975. uint64_t c1_un_b2:1;
  1976. uint64_t c1_un_b1:1;
  1977. uint64_t c1_un_b0:1;
  1978. uint64_t c1_up_bx:1;
  1979. uint64_t c1_up_wi:1;
  1980. uint64_t c1_up_b2:1;
  1981. uint64_t c1_up_b1:1;
  1982. uint64_t c1_up_b0:1;
  1983. uint64_t c0_un_bx:1;
  1984. uint64_t c0_un_wi:1;
  1985. uint64_t c0_un_b2:1;
  1986. uint64_t c0_un_b1:1;
  1987. uint64_t c0_un_b0:1;
  1988. uint64_t c0_up_bx:1;
  1989. uint64_t c0_up_wi:1;
  1990. uint64_t c0_up_b2:1;
  1991. uint64_t c0_up_b1:1;
  1992. uint64_t c0_up_b0:1;
  1993. uint64_t c1_hpint:1;
  1994. uint64_t c1_pmei:1;
  1995. uint64_t c1_wake:1;
  1996. uint64_t crs1_dr:1;
  1997. uint64_t c1_se:1;
  1998. uint64_t crs1_er:1;
  1999. uint64_t c1_aeri:1;
  2000. uint64_t c0_hpint:1;
  2001. uint64_t c0_pmei:1;
  2002. uint64_t c0_wake:1;
  2003. uint64_t crs0_dr:1;
  2004. uint64_t c0_se:1;
  2005. uint64_t crs0_er:1;
  2006. uint64_t c0_aeri:1;
  2007. uint64_t ptime:1;
  2008. uint64_t pcnt:1;
  2009. uint64_t pidbof:1;
  2010. uint64_t psldbof:1;
  2011. uint64_t dtime1:1;
  2012. uint64_t dtime0:1;
  2013. uint64_t dcnt1:1;
  2014. uint64_t dcnt0:1;
  2015. uint64_t dma1fi:1;
  2016. uint64_t dma0fi:1;
  2017. uint64_t dma4dbo:1;
  2018. uint64_t dma3dbo:1;
  2019. uint64_t dma2dbo:1;
  2020. uint64_t dma1dbo:1;
  2021. uint64_t dma0dbo:1;
  2022. uint64_t iob2big:1;
  2023. uint64_t bar0_to:1;
  2024. uint64_t rml_wto:1;
  2025. uint64_t rml_rto:1;
  2026. #else
  2027. uint64_t rml_rto:1;
  2028. uint64_t rml_wto:1;
  2029. uint64_t bar0_to:1;
  2030. uint64_t iob2big:1;
  2031. uint64_t dma0dbo:1;
  2032. uint64_t dma1dbo:1;
  2033. uint64_t dma2dbo:1;
  2034. uint64_t dma3dbo:1;
  2035. uint64_t dma4dbo:1;
  2036. uint64_t dma0fi:1;
  2037. uint64_t dma1fi:1;
  2038. uint64_t dcnt0:1;
  2039. uint64_t dcnt1:1;
  2040. uint64_t dtime0:1;
  2041. uint64_t dtime1:1;
  2042. uint64_t psldbof:1;
  2043. uint64_t pidbof:1;
  2044. uint64_t pcnt:1;
  2045. uint64_t ptime:1;
  2046. uint64_t c0_aeri:1;
  2047. uint64_t crs0_er:1;
  2048. uint64_t c0_se:1;
  2049. uint64_t crs0_dr:1;
  2050. uint64_t c0_wake:1;
  2051. uint64_t c0_pmei:1;
  2052. uint64_t c0_hpint:1;
  2053. uint64_t c1_aeri:1;
  2054. uint64_t crs1_er:1;
  2055. uint64_t c1_se:1;
  2056. uint64_t crs1_dr:1;
  2057. uint64_t c1_wake:1;
  2058. uint64_t c1_pmei:1;
  2059. uint64_t c1_hpint:1;
  2060. uint64_t c0_up_b0:1;
  2061. uint64_t c0_up_b1:1;
  2062. uint64_t c0_up_b2:1;
  2063. uint64_t c0_up_wi:1;
  2064. uint64_t c0_up_bx:1;
  2065. uint64_t c0_un_b0:1;
  2066. uint64_t c0_un_b1:1;
  2067. uint64_t c0_un_b2:1;
  2068. uint64_t c0_un_wi:1;
  2069. uint64_t c0_un_bx:1;
  2070. uint64_t c1_up_b0:1;
  2071. uint64_t c1_up_b1:1;
  2072. uint64_t c1_up_b2:1;
  2073. uint64_t c1_up_wi:1;
  2074. uint64_t c1_up_bx:1;
  2075. uint64_t c1_un_b0:1;
  2076. uint64_t c1_un_b1:1;
  2077. uint64_t c1_un_b2:1;
  2078. uint64_t c1_un_wi:1;
  2079. uint64_t c1_un_bx:1;
  2080. uint64_t c0_un_wf:1;
  2081. uint64_t c1_un_wf:1;
  2082. uint64_t c0_up_wf:1;
  2083. uint64_t c1_up_wf:1;
  2084. uint64_t c0_exc:1;
  2085. uint64_t c1_exc:1;
  2086. uint64_t c0_ldwn:1;
  2087. uint64_t c1_ldwn:1;
  2088. uint64_t int_a:1;
  2089. uint64_t reserved_62_63:2;
  2090. #endif
  2091. } s;
  2092. struct cvmx_npei_int_enb2_s cn52xx;
  2093. struct cvmx_npei_int_enb2_cn52xxp1 {
  2094. #ifdef __BIG_ENDIAN_BITFIELD
  2095. uint64_t reserved_62_63:2;
  2096. uint64_t int_a:1;
  2097. uint64_t c1_ldwn:1;
  2098. uint64_t c0_ldwn:1;
  2099. uint64_t c1_exc:1;
  2100. uint64_t c0_exc:1;
  2101. uint64_t c1_up_wf:1;
  2102. uint64_t c0_up_wf:1;
  2103. uint64_t c1_un_wf:1;
  2104. uint64_t c0_un_wf:1;
  2105. uint64_t c1_un_bx:1;
  2106. uint64_t c1_un_wi:1;
  2107. uint64_t c1_un_b2:1;
  2108. uint64_t c1_un_b1:1;
  2109. uint64_t c1_un_b0:1;
  2110. uint64_t c1_up_bx:1;
  2111. uint64_t c1_up_wi:1;
  2112. uint64_t c1_up_b2:1;
  2113. uint64_t c1_up_b1:1;
  2114. uint64_t c1_up_b0:1;
  2115. uint64_t c0_un_bx:1;
  2116. uint64_t c0_un_wi:1;
  2117. uint64_t c0_un_b2:1;
  2118. uint64_t c0_un_b1:1;
  2119. uint64_t c0_un_b0:1;
  2120. uint64_t c0_up_bx:1;
  2121. uint64_t c0_up_wi:1;
  2122. uint64_t c0_up_b2:1;
  2123. uint64_t c0_up_b1:1;
  2124. uint64_t c0_up_b0:1;
  2125. uint64_t c1_hpint:1;
  2126. uint64_t c1_pmei:1;
  2127. uint64_t c1_wake:1;
  2128. uint64_t crs1_dr:1;
  2129. uint64_t c1_se:1;
  2130. uint64_t crs1_er:1;
  2131. uint64_t c1_aeri:1;
  2132. uint64_t c0_hpint:1;
  2133. uint64_t c0_pmei:1;
  2134. uint64_t c0_wake:1;
  2135. uint64_t crs0_dr:1;
  2136. uint64_t c0_se:1;
  2137. uint64_t crs0_er:1;
  2138. uint64_t c0_aeri:1;
  2139. uint64_t ptime:1;
  2140. uint64_t pcnt:1;
  2141. uint64_t pidbof:1;
  2142. uint64_t psldbof:1;
  2143. uint64_t dtime1:1;
  2144. uint64_t dtime0:1;
  2145. uint64_t dcnt1:1;
  2146. uint64_t dcnt0:1;
  2147. uint64_t dma1fi:1;
  2148. uint64_t dma0fi:1;
  2149. uint64_t reserved_8_8:1;
  2150. uint64_t dma3dbo:1;
  2151. uint64_t dma2dbo:1;
  2152. uint64_t dma1dbo:1;
  2153. uint64_t dma0dbo:1;
  2154. uint64_t iob2big:1;
  2155. uint64_t bar0_to:1;
  2156. uint64_t rml_wto:1;
  2157. uint64_t rml_rto:1;
  2158. #else
  2159. uint64_t rml_rto:1;
  2160. uint64_t rml_wto:1;
  2161. uint64_t bar0_to:1;
  2162. uint64_t iob2big:1;
  2163. uint64_t dma0dbo:1;
  2164. uint64_t dma1dbo:1;
  2165. uint64_t dma2dbo:1;
  2166. uint64_t dma3dbo:1;
  2167. uint64_t reserved_8_8:1;
  2168. uint64_t dma0fi:1;
  2169. uint64_t dma1fi:1;
  2170. uint64_t dcnt0:1;
  2171. uint64_t dcnt1:1;
  2172. uint64_t dtime0:1;
  2173. uint64_t dtime1:1;
  2174. uint64_t psldbof:1;
  2175. uint64_t pidbof:1;
  2176. uint64_t pcnt:1;
  2177. uint64_t ptime:1;
  2178. uint64_t c0_aeri:1;
  2179. uint64_t crs0_er:1;
  2180. uint64_t c0_se:1;
  2181. uint64_t crs0_dr:1;
  2182. uint64_t c0_wake:1;
  2183. uint64_t c0_pmei:1;
  2184. uint64_t c0_hpint:1;
  2185. uint64_t c1_aeri:1;
  2186. uint64_t crs1_er:1;
  2187. uint64_t c1_se:1;
  2188. uint64_t crs1_dr:1;
  2189. uint64_t c1_wake:1;
  2190. uint64_t c1_pmei:1;
  2191. uint64_t c1_hpint:1;
  2192. uint64_t c0_up_b0:1;
  2193. uint64_t c0_up_b1:1;
  2194. uint64_t c0_up_b2:1;
  2195. uint64_t c0_up_wi:1;
  2196. uint64_t c0_up_bx:1;
  2197. uint64_t c0_un_b0:1;
  2198. uint64_t c0_un_b1:1;
  2199. uint64_t c0_un_b2:1;
  2200. uint64_t c0_un_wi:1;
  2201. uint64_t c0_un_bx:1;
  2202. uint64_t c1_up_b0:1;
  2203. uint64_t c1_up_b1:1;
  2204. uint64_t c1_up_b2:1;
  2205. uint64_t c1_up_wi:1;
  2206. uint64_t c1_up_bx:1;
  2207. uint64_t c1_un_b0:1;
  2208. uint64_t c1_un_b1:1;
  2209. uint64_t c1_un_b2:1;
  2210. uint64_t c1_un_wi:1;
  2211. uint64_t c1_un_bx:1;
  2212. uint64_t c0_un_wf:1;
  2213. uint64_t c1_un_wf:1;
  2214. uint64_t c0_up_wf:1;
  2215. uint64_t c1_up_wf:1;
  2216. uint64_t c0_exc:1;
  2217. uint64_t c1_exc:1;
  2218. uint64_t c0_ldwn:1;
  2219. uint64_t c1_ldwn:1;
  2220. uint64_t int_a:1;
  2221. uint64_t reserved_62_63:2;
  2222. #endif
  2223. } cn52xxp1;
  2224. struct cvmx_npei_int_enb2_s cn56xx;
  2225. struct cvmx_npei_int_enb2_cn56xxp1 {
  2226. #ifdef __BIG_ENDIAN_BITFIELD
  2227. uint64_t reserved_61_63:3;
  2228. uint64_t c1_ldwn:1;
  2229. uint64_t c0_ldwn:1;
  2230. uint64_t c1_exc:1;
  2231. uint64_t c0_exc:1;
  2232. uint64_t c1_up_wf:1;
  2233. uint64_t c0_up_wf:1;
  2234. uint64_t c1_un_wf:1;
  2235. uint64_t c0_un_wf:1;
  2236. uint64_t c1_un_bx:1;
  2237. uint64_t c1_un_wi:1;
  2238. uint64_t c1_un_b2:1;
  2239. uint64_t c1_un_b1:1;
  2240. uint64_t c1_un_b0:1;
  2241. uint64_t c1_up_bx:1;
  2242. uint64_t c1_up_wi:1;
  2243. uint64_t c1_up_b2:1;
  2244. uint64_t c1_up_b1:1;
  2245. uint64_t c1_up_b0:1;
  2246. uint64_t c0_un_bx:1;
  2247. uint64_t c0_un_wi:1;
  2248. uint64_t c0_un_b2:1;
  2249. uint64_t c0_un_b1:1;
  2250. uint64_t c0_un_b0:1;
  2251. uint64_t c0_up_bx:1;
  2252. uint64_t c0_up_wi:1;
  2253. uint64_t c0_up_b2:1;
  2254. uint64_t c0_up_b1:1;
  2255. uint64_t c0_up_b0:1;
  2256. uint64_t c1_hpint:1;
  2257. uint64_t c1_pmei:1;
  2258. uint64_t c1_wake:1;
  2259. uint64_t reserved_29_29:1;
  2260. uint64_t c1_se:1;
  2261. uint64_t reserved_27_27:1;
  2262. uint64_t c1_aeri:1;
  2263. uint64_t c0_hpint:1;
  2264. uint64_t c0_pmei:1;
  2265. uint64_t c0_wake:1;
  2266. uint64_t reserved_22_22:1;
  2267. uint64_t c0_se:1;
  2268. uint64_t reserved_20_20:1;
  2269. uint64_t c0_aeri:1;
  2270. uint64_t ptime:1;
  2271. uint64_t pcnt:1;
  2272. uint64_t pidbof:1;
  2273. uint64_t psldbof:1;
  2274. uint64_t dtime1:1;
  2275. uint64_t dtime0:1;
  2276. uint64_t dcnt1:1;
  2277. uint64_t dcnt0:1;
  2278. uint64_t dma1fi:1;
  2279. uint64_t dma0fi:1;
  2280. uint64_t dma4dbo:1;
  2281. uint64_t dma3dbo:1;
  2282. uint64_t dma2dbo:1;
  2283. uint64_t dma1dbo:1;
  2284. uint64_t dma0dbo:1;
  2285. uint64_t iob2big:1;
  2286. uint64_t bar0_to:1;
  2287. uint64_t rml_wto:1;
  2288. uint64_t rml_rto:1;
  2289. #else
  2290. uint64_t rml_rto:1;
  2291. uint64_t rml_wto:1;
  2292. uint64_t bar0_to:1;
  2293. uint64_t iob2big:1;
  2294. uint64_t dma0dbo:1;
  2295. uint64_t dma1dbo:1;
  2296. uint64_t dma2dbo:1;
  2297. uint64_t dma3dbo:1;
  2298. uint64_t dma4dbo:1;
  2299. uint64_t dma0fi:1;
  2300. uint64_t dma1fi:1;
  2301. uint64_t dcnt0:1;
  2302. uint64_t dcnt1:1;
  2303. uint64_t dtime0:1;
  2304. uint64_t dtime1:1;
  2305. uint64_t psldbof:1;
  2306. uint64_t pidbof:1;
  2307. uint64_t pcnt:1;
  2308. uint64_t ptime:1;
  2309. uint64_t c0_aeri:1;
  2310. uint64_t reserved_20_20:1;
  2311. uint64_t c0_se:1;
  2312. uint64_t reserved_22_22:1;
  2313. uint64_t c0_wake:1;
  2314. uint64_t c0_pmei:1;
  2315. uint64_t c0_hpint:1;
  2316. uint64_t c1_aeri:1;
  2317. uint64_t reserved_27_27:1;
  2318. uint64_t c1_se:1;
  2319. uint64_t reserved_29_29:1;
  2320. uint64_t c1_wake:1;
  2321. uint64_t c1_pmei:1;
  2322. uint64_t c1_hpint:1;
  2323. uint64_t c0_up_b0:1;
  2324. uint64_t c0_up_b1:1;
  2325. uint64_t c0_up_b2:1;
  2326. uint64_t c0_up_wi:1;
  2327. uint64_t c0_up_bx:1;
  2328. uint64_t c0_un_b0:1;
  2329. uint64_t c0_un_b1:1;
  2330. uint64_t c0_un_b2:1;
  2331. uint64_t c0_un_wi:1;
  2332. uint64_t c0_un_bx:1;
  2333. uint64_t c1_up_b0:1;
  2334. uint64_t c1_up_b1:1;
  2335. uint64_t c1_up_b2:1;
  2336. uint64_t c1_up_wi:1;
  2337. uint64_t c1_up_bx:1;
  2338. uint64_t c1_un_b0:1;
  2339. uint64_t c1_un_b1:1;
  2340. uint64_t c1_un_b2:1;
  2341. uint64_t c1_un_wi:1;
  2342. uint64_t c1_un_bx:1;
  2343. uint64_t c0_un_wf:1;
  2344. uint64_t c1_un_wf:1;
  2345. uint64_t c0_up_wf:1;
  2346. uint64_t c1_up_wf:1;
  2347. uint64_t c0_exc:1;
  2348. uint64_t c1_exc:1;
  2349. uint64_t c0_ldwn:1;
  2350. uint64_t c1_ldwn:1;
  2351. uint64_t reserved_61_63:3;
  2352. #endif
  2353. } cn56xxp1;
  2354. };
  2355. union cvmx_npei_int_info {
  2356. uint64_t u64;
  2357. struct cvmx_npei_int_info_s {
  2358. #ifdef __BIG_ENDIAN_BITFIELD
  2359. uint64_t reserved_12_63:52;
  2360. uint64_t pidbof:6;
  2361. uint64_t psldbof:6;
  2362. #else
  2363. uint64_t psldbof:6;
  2364. uint64_t pidbof:6;
  2365. uint64_t reserved_12_63:52;
  2366. #endif
  2367. } s;
  2368. struct cvmx_npei_int_info_s cn52xx;
  2369. struct cvmx_npei_int_info_s cn56xx;
  2370. struct cvmx_npei_int_info_s cn56xxp1;
  2371. };
  2372. union cvmx_npei_int_sum {
  2373. uint64_t u64;
  2374. struct cvmx_npei_int_sum_s {
  2375. #ifdef __BIG_ENDIAN_BITFIELD
  2376. uint64_t mio_inta:1;
  2377. uint64_t reserved_62_62:1;
  2378. uint64_t int_a:1;
  2379. uint64_t c1_ldwn:1;
  2380. uint64_t c0_ldwn:1;
  2381. uint64_t c1_exc:1;
  2382. uint64_t c0_exc:1;
  2383. uint64_t c1_up_wf:1;
  2384. uint64_t c0_up_wf:1;
  2385. uint64_t c1_un_wf:1;
  2386. uint64_t c0_un_wf:1;
  2387. uint64_t c1_un_bx:1;
  2388. uint64_t c1_un_wi:1;
  2389. uint64_t c1_un_b2:1;
  2390. uint64_t c1_un_b1:1;
  2391. uint64_t c1_un_b0:1;
  2392. uint64_t c1_up_bx:1;
  2393. uint64_t c1_up_wi:1;
  2394. uint64_t c1_up_b2:1;
  2395. uint64_t c1_up_b1:1;
  2396. uint64_t c1_up_b0:1;
  2397. uint64_t c0_un_bx:1;
  2398. uint64_t c0_un_wi:1;
  2399. uint64_t c0_un_b2:1;
  2400. uint64_t c0_un_b1:1;
  2401. uint64_t c0_un_b0:1;
  2402. uint64_t c0_up_bx:1;
  2403. uint64_t c0_up_wi:1;
  2404. uint64_t c0_up_b2:1;
  2405. uint64_t c0_up_b1:1;
  2406. uint64_t c0_up_b0:1;
  2407. uint64_t c1_hpint:1;
  2408. uint64_t c1_pmei:1;
  2409. uint64_t c1_wake:1;
  2410. uint64_t crs1_dr:1;
  2411. uint64_t c1_se:1;
  2412. uint64_t crs1_er:1;
  2413. uint64_t c1_aeri:1;
  2414. uint64_t c0_hpint:1;
  2415. uint64_t c0_pmei:1;
  2416. uint64_t c0_wake:1;
  2417. uint64_t crs0_dr:1;
  2418. uint64_t c0_se:1;
  2419. uint64_t crs0_er:1;
  2420. uint64_t c0_aeri:1;
  2421. uint64_t ptime:1;
  2422. uint64_t pcnt:1;
  2423. uint64_t pidbof:1;
  2424. uint64_t psldbof:1;
  2425. uint64_t dtime1:1;
  2426. uint64_t dtime0:1;
  2427. uint64_t dcnt1:1;
  2428. uint64_t dcnt0:1;
  2429. uint64_t dma1fi:1;
  2430. uint64_t dma0fi:1;
  2431. uint64_t dma4dbo:1;
  2432. uint64_t dma3dbo:1;
  2433. uint64_t dma2dbo:1;
  2434. uint64_t dma1dbo:1;
  2435. uint64_t dma0dbo:1;
  2436. uint64_t iob2big:1;
  2437. uint64_t bar0_to:1;
  2438. uint64_t rml_wto:1;
  2439. uint64_t rml_rto:1;
  2440. #else
  2441. uint64_t rml_rto:1;
  2442. uint64_t rml_wto:1;
  2443. uint64_t bar0_to:1;
  2444. uint64_t iob2big:1;
  2445. uint64_t dma0dbo:1;
  2446. uint64_t dma1dbo:1;
  2447. uint64_t dma2dbo:1;
  2448. uint64_t dma3dbo:1;
  2449. uint64_t dma4dbo:1;
  2450. uint64_t dma0fi:1;
  2451. uint64_t dma1fi:1;
  2452. uint64_t dcnt0:1;
  2453. uint64_t dcnt1:1;
  2454. uint64_t dtime0:1;
  2455. uint64_t dtime1:1;
  2456. uint64_t psldbof:1;
  2457. uint64_t pidbof:1;
  2458. uint64_t pcnt:1;
  2459. uint64_t ptime:1;
  2460. uint64_t c0_aeri:1;
  2461. uint64_t crs0_er:1;
  2462. uint64_t c0_se:1;
  2463. uint64_t crs0_dr:1;
  2464. uint64_t c0_wake:1;
  2465. uint64_t c0_pmei:1;
  2466. uint64_t c0_hpint:1;
  2467. uint64_t c1_aeri:1;
  2468. uint64_t crs1_er:1;
  2469. uint64_t c1_se:1;
  2470. uint64_t crs1_dr:1;
  2471. uint64_t c1_wake:1;
  2472. uint64_t c1_pmei:1;
  2473. uint64_t c1_hpint:1;
  2474. uint64_t c0_up_b0:1;
  2475. uint64_t c0_up_b1:1;
  2476. uint64_t c0_up_b2:1;
  2477. uint64_t c0_up_wi:1;
  2478. uint64_t c0_up_bx:1;
  2479. uint64_t c0_un_b0:1;
  2480. uint64_t c0_un_b1:1;
  2481. uint64_t c0_un_b2:1;
  2482. uint64_t c0_un_wi:1;
  2483. uint64_t c0_un_bx:1;
  2484. uint64_t c1_up_b0:1;
  2485. uint64_t c1_up_b1:1;
  2486. uint64_t c1_up_b2:1;
  2487. uint64_t c1_up_wi:1;
  2488. uint64_t c1_up_bx:1;
  2489. uint64_t c1_un_b0:1;
  2490. uint64_t c1_un_b1:1;
  2491. uint64_t c1_un_b2:1;
  2492. uint64_t c1_un_wi:1;
  2493. uint64_t c1_un_bx:1;
  2494. uint64_t c0_un_wf:1;
  2495. uint64_t c1_un_wf:1;
  2496. uint64_t c0_up_wf:1;
  2497. uint64_t c1_up_wf:1;
  2498. uint64_t c0_exc:1;
  2499. uint64_t c1_exc:1;
  2500. uint64_t c0_ldwn:1;
  2501. uint64_t c1_ldwn:1;
  2502. uint64_t int_a:1;
  2503. uint64_t reserved_62_62:1;
  2504. uint64_t mio_inta:1;
  2505. #endif
  2506. } s;
  2507. struct cvmx_npei_int_sum_s cn52xx;
  2508. struct cvmx_npei_int_sum_cn52xxp1 {
  2509. #ifdef __BIG_ENDIAN_BITFIELD
  2510. uint64_t mio_inta:1;
  2511. uint64_t reserved_62_62:1;
  2512. uint64_t int_a:1;
  2513. uint64_t c1_ldwn:1;
  2514. uint64_t c0_ldwn:1;
  2515. uint64_t c1_exc:1;
  2516. uint64_t c0_exc:1;
  2517. uint64_t c1_up_wf:1;
  2518. uint64_t c0_up_wf:1;
  2519. uint64_t c1_un_wf:1;
  2520. uint64_t c0_un_wf:1;
  2521. uint64_t c1_un_bx:1;
  2522. uint64_t c1_un_wi:1;
  2523. uint64_t c1_un_b2:1;
  2524. uint64_t c1_un_b1:1;
  2525. uint64_t c1_un_b0:1;
  2526. uint64_t c1_up_bx:1;
  2527. uint64_t c1_up_wi:1;
  2528. uint64_t c1_up_b2:1;
  2529. uint64_t c1_up_b1:1;
  2530. uint64_t c1_up_b0:1;
  2531. uint64_t c0_un_bx:1;
  2532. uint64_t c0_un_wi:1;
  2533. uint64_t c0_un_b2:1;
  2534. uint64_t c0_un_b1:1;
  2535. uint64_t c0_un_b0:1;
  2536. uint64_t c0_up_bx:1;
  2537. uint64_t c0_up_wi:1;
  2538. uint64_t c0_up_b2:1;
  2539. uint64_t c0_up_b1:1;
  2540. uint64_t c0_up_b0:1;
  2541. uint64_t c1_hpint:1;
  2542. uint64_t c1_pmei:1;
  2543. uint64_t c1_wake:1;
  2544. uint64_t crs1_dr:1;
  2545. uint64_t c1_se:1;
  2546. uint64_t crs1_er:1;
  2547. uint64_t c1_aeri:1;
  2548. uint64_t c0_hpint:1;
  2549. uint64_t c0_pmei:1;
  2550. uint64_t c0_wake:1;
  2551. uint64_t crs0_dr:1;
  2552. uint64_t c0_se:1;
  2553. uint64_t crs0_er:1;
  2554. uint64_t c0_aeri:1;
  2555. uint64_t reserved_15_18:4;
  2556. uint64_t dtime1:1;
  2557. uint64_t dtime0:1;
  2558. uint64_t dcnt1:1;
  2559. uint64_t dcnt0:1;
  2560. uint64_t dma1fi:1;
  2561. uint64_t dma0fi:1;
  2562. uint64_t reserved_8_8:1;
  2563. uint64_t dma3dbo:1;
  2564. uint64_t dma2dbo:1;
  2565. uint64_t dma1dbo:1;
  2566. uint64_t dma0dbo:1;
  2567. uint64_t iob2big:1;
  2568. uint64_t bar0_to:1;
  2569. uint64_t rml_wto:1;
  2570. uint64_t rml_rto:1;
  2571. #else
  2572. uint64_t rml_rto:1;
  2573. uint64_t rml_wto:1;
  2574. uint64_t bar0_to:1;
  2575. uint64_t iob2big:1;
  2576. uint64_t dma0dbo:1;
  2577. uint64_t dma1dbo:1;
  2578. uint64_t dma2dbo:1;
  2579. uint64_t dma3dbo:1;
  2580. uint64_t reserved_8_8:1;
  2581. uint64_t dma0fi:1;
  2582. uint64_t dma1fi:1;
  2583. uint64_t dcnt0:1;
  2584. uint64_t dcnt1:1;
  2585. uint64_t dtime0:1;
  2586. uint64_t dtime1:1;
  2587. uint64_t reserved_15_18:4;
  2588. uint64_t c0_aeri:1;
  2589. uint64_t crs0_er:1;
  2590. uint64_t c0_se:1;
  2591. uint64_t crs0_dr:1;
  2592. uint64_t c0_wake:1;
  2593. uint64_t c0_pmei:1;
  2594. uint64_t c0_hpint:1;
  2595. uint64_t c1_aeri:1;
  2596. uint64_t crs1_er:1;
  2597. uint64_t c1_se:1;
  2598. uint64_t crs1_dr:1;
  2599. uint64_t c1_wake:1;
  2600. uint64_t c1_pmei:1;
  2601. uint64_t c1_hpint:1;
  2602. uint64_t c0_up_b0:1;
  2603. uint64_t c0_up_b1:1;
  2604. uint64_t c0_up_b2:1;
  2605. uint64_t c0_up_wi:1;
  2606. uint64_t c0_up_bx:1;
  2607. uint64_t c0_un_b0:1;
  2608. uint64_t c0_un_b1:1;
  2609. uint64_t c0_un_b2:1;
  2610. uint64_t c0_un_wi:1;
  2611. uint64_t c0_un_bx:1;
  2612. uint64_t c1_up_b0:1;
  2613. uint64_t c1_up_b1:1;
  2614. uint64_t c1_up_b2:1;
  2615. uint64_t c1_up_wi:1;
  2616. uint64_t c1_up_bx:1;
  2617. uint64_t c1_un_b0:1;
  2618. uint64_t c1_un_b1:1;
  2619. uint64_t c1_un_b2:1;
  2620. uint64_t c1_un_wi:1;
  2621. uint64_t c1_un_bx:1;
  2622. uint64_t c0_un_wf:1;
  2623. uint64_t c1_un_wf:1;
  2624. uint64_t c0_up_wf:1;
  2625. uint64_t c1_up_wf:1;
  2626. uint64_t c0_exc:1;
  2627. uint64_t c1_exc:1;
  2628. uint64_t c0_ldwn:1;
  2629. uint64_t c1_ldwn:1;
  2630. uint64_t int_a:1;
  2631. uint64_t reserved_62_62:1;
  2632. uint64_t mio_inta:1;
  2633. #endif
  2634. } cn52xxp1;
  2635. struct cvmx_npei_int_sum_s cn56xx;
  2636. struct cvmx_npei_int_sum_cn56xxp1 {
  2637. #ifdef __BIG_ENDIAN_BITFIELD
  2638. uint64_t mio_inta:1;
  2639. uint64_t reserved_61_62:2;
  2640. uint64_t c1_ldwn:1;
  2641. uint64_t c0_ldwn:1;
  2642. uint64_t c1_exc:1;
  2643. uint64_t c0_exc:1;
  2644. uint64_t c1_up_wf:1;
  2645. uint64_t c0_up_wf:1;
  2646. uint64_t c1_un_wf:1;
  2647. uint64_t c0_un_wf:1;
  2648. uint64_t c1_un_bx:1;
  2649. uint64_t c1_un_wi:1;
  2650. uint64_t c1_un_b2:1;
  2651. uint64_t c1_un_b1:1;
  2652. uint64_t c1_un_b0:1;
  2653. uint64_t c1_up_bx:1;
  2654. uint64_t c1_up_wi:1;
  2655. uint64_t c1_up_b2:1;
  2656. uint64_t c1_up_b1:1;
  2657. uint64_t c1_up_b0:1;
  2658. uint64_t c0_un_bx:1;
  2659. uint64_t c0_un_wi:1;
  2660. uint64_t c0_un_b2:1;
  2661. uint64_t c0_un_b1:1;
  2662. uint64_t c0_un_b0:1;
  2663. uint64_t c0_up_bx:1;
  2664. uint64_t c0_up_wi:1;
  2665. uint64_t c0_up_b2:1;
  2666. uint64_t c0_up_b1:1;
  2667. uint64_t c0_up_b0:1;
  2668. uint64_t c1_hpint:1;
  2669. uint64_t c1_pmei:1;
  2670. uint64_t c1_wake:1;
  2671. uint64_t reserved_29_29:1;
  2672. uint64_t c1_se:1;
  2673. uint64_t reserved_27_27:1;
  2674. uint64_t c1_aeri:1;
  2675. uint64_t c0_hpint:1;
  2676. uint64_t c0_pmei:1;
  2677. uint64_t c0_wake:1;
  2678. uint64_t reserved_22_22:1;
  2679. uint64_t c0_se:1;
  2680. uint64_t reserved_20_20:1;
  2681. uint64_t c0_aeri:1;
  2682. uint64_t reserved_15_18:4;
  2683. uint64_t dtime1:1;
  2684. uint64_t dtime0:1;
  2685. uint64_t dcnt1:1;
  2686. uint64_t dcnt0:1;
  2687. uint64_t dma1fi:1;
  2688. uint64_t dma0fi:1;
  2689. uint64_t dma4dbo:1;
  2690. uint64_t dma3dbo:1;
  2691. uint64_t dma2dbo:1;
  2692. uint64_t dma1dbo:1;
  2693. uint64_t dma0dbo:1;
  2694. uint64_t iob2big:1;
  2695. uint64_t bar0_to:1;
  2696. uint64_t rml_wto:1;
  2697. uint64_t rml_rto:1;
  2698. #else
  2699. uint64_t rml_rto:1;
  2700. uint64_t rml_wto:1;
  2701. uint64_t bar0_to:1;
  2702. uint64_t iob2big:1;
  2703. uint64_t dma0dbo:1;
  2704. uint64_t dma1dbo:1;
  2705. uint64_t dma2dbo:1;
  2706. uint64_t dma3dbo:1;
  2707. uint64_t dma4dbo:1;
  2708. uint64_t dma0fi:1;
  2709. uint64_t dma1fi:1;
  2710. uint64_t dcnt0:1;
  2711. uint64_t dcnt1:1;
  2712. uint64_t dtime0:1;
  2713. uint64_t dtime1:1;
  2714. uint64_t reserved_15_18:4;
  2715. uint64_t c0_aeri:1;
  2716. uint64_t reserved_20_20:1;
  2717. uint64_t c0_se:1;
  2718. uint64_t reserved_22_22:1;
  2719. uint64_t c0_wake:1;
  2720. uint64_t c0_pmei:1;
  2721. uint64_t c0_hpint:1;
  2722. uint64_t c1_aeri:1;
  2723. uint64_t reserved_27_27:1;
  2724. uint64_t c1_se:1;
  2725. uint64_t reserved_29_29:1;
  2726. uint64_t c1_wake:1;
  2727. uint64_t c1_pmei:1;
  2728. uint64_t c1_hpint:1;
  2729. uint64_t c0_up_b0:1;
  2730. uint64_t c0_up_b1:1;
  2731. uint64_t c0_up_b2:1;
  2732. uint64_t c0_up_wi:1;
  2733. uint64_t c0_up_bx:1;
  2734. uint64_t c0_un_b0:1;
  2735. uint64_t c0_un_b1:1;
  2736. uint64_t c0_un_b2:1;
  2737. uint64_t c0_un_wi:1;
  2738. uint64_t c0_un_bx:1;
  2739. uint64_t c1_up_b0:1;
  2740. uint64_t c1_up_b1:1;
  2741. uint64_t c1_up_b2:1;
  2742. uint64_t c1_up_wi:1;
  2743. uint64_t c1_up_bx:1;
  2744. uint64_t c1_un_b0:1;
  2745. uint64_t c1_un_b1:1;
  2746. uint64_t c1_un_b2:1;
  2747. uint64_t c1_un_wi:1;
  2748. uint64_t c1_un_bx:1;
  2749. uint64_t c0_un_wf:1;
  2750. uint64_t c1_un_wf:1;
  2751. uint64_t c0_up_wf:1;
  2752. uint64_t c1_up_wf:1;
  2753. uint64_t c0_exc:1;
  2754. uint64_t c1_exc:1;
  2755. uint64_t c0_ldwn:1;
  2756. uint64_t c1_ldwn:1;
  2757. uint64_t reserved_61_62:2;
  2758. uint64_t mio_inta:1;
  2759. #endif
  2760. } cn56xxp1;
  2761. };
  2762. union cvmx_npei_int_sum2 {
  2763. uint64_t u64;
  2764. struct cvmx_npei_int_sum2_s {
  2765. #ifdef __BIG_ENDIAN_BITFIELD
  2766. uint64_t mio_inta:1;
  2767. uint64_t reserved_62_62:1;
  2768. uint64_t int_a:1;
  2769. uint64_t c1_ldwn:1;
  2770. uint64_t c0_ldwn:1;
  2771. uint64_t c1_exc:1;
  2772. uint64_t c0_exc:1;
  2773. uint64_t c1_up_wf:1;
  2774. uint64_t c0_up_wf:1;
  2775. uint64_t c1_un_wf:1;
  2776. uint64_t c0_un_wf:1;
  2777. uint64_t c1_un_bx:1;
  2778. uint64_t c1_un_wi:1;
  2779. uint64_t c1_un_b2:1;
  2780. uint64_t c1_un_b1:1;
  2781. uint64_t c1_un_b0:1;
  2782. uint64_t c1_up_bx:1;
  2783. uint64_t c1_up_wi:1;
  2784. uint64_t c1_up_b2:1;
  2785. uint64_t c1_up_b1:1;
  2786. uint64_t c1_up_b0:1;
  2787. uint64_t c0_un_bx:1;
  2788. uint64_t c0_un_wi:1;
  2789. uint64_t c0_un_b2:1;
  2790. uint64_t c0_un_b1:1;
  2791. uint64_t c0_un_b0:1;
  2792. uint64_t c0_up_bx:1;
  2793. uint64_t c0_up_wi:1;
  2794. uint64_t c0_up_b2:1;
  2795. uint64_t c0_up_b1:1;
  2796. uint64_t c0_up_b0:1;
  2797. uint64_t c1_hpint:1;
  2798. uint64_t c1_pmei:1;
  2799. uint64_t c1_wake:1;
  2800. uint64_t crs1_dr:1;
  2801. uint64_t c1_se:1;
  2802. uint64_t crs1_er:1;
  2803. uint64_t c1_aeri:1;
  2804. uint64_t c0_hpint:1;
  2805. uint64_t c0_pmei:1;
  2806. uint64_t c0_wake:1;
  2807. uint64_t crs0_dr:1;
  2808. uint64_t c0_se:1;
  2809. uint64_t crs0_er:1;
  2810. uint64_t c0_aeri:1;
  2811. uint64_t reserved_15_18:4;
  2812. uint64_t dtime1:1;
  2813. uint64_t dtime0:1;
  2814. uint64_t dcnt1:1;
  2815. uint64_t dcnt0:1;
  2816. uint64_t dma1fi:1;
  2817. uint64_t dma0fi:1;
  2818. uint64_t reserved_8_8:1;
  2819. uint64_t dma3dbo:1;
  2820. uint64_t dma2dbo:1;
  2821. uint64_t dma1dbo:1;
  2822. uint64_t dma0dbo:1;
  2823. uint64_t iob2big:1;
  2824. uint64_t bar0_to:1;
  2825. uint64_t rml_wto:1;
  2826. uint64_t rml_rto:1;
  2827. #else
  2828. uint64_t rml_rto:1;
  2829. uint64_t rml_wto:1;
  2830. uint64_t bar0_to:1;
  2831. uint64_t iob2big:1;
  2832. uint64_t dma0dbo:1;
  2833. uint64_t dma1dbo:1;
  2834. uint64_t dma2dbo:1;
  2835. uint64_t dma3dbo:1;
  2836. uint64_t reserved_8_8:1;
  2837. uint64_t dma0fi:1;
  2838. uint64_t dma1fi:1;
  2839. uint64_t dcnt0:1;
  2840. uint64_t dcnt1:1;
  2841. uint64_t dtime0:1;
  2842. uint64_t dtime1:1;
  2843. uint64_t reserved_15_18:4;
  2844. uint64_t c0_aeri:1;
  2845. uint64_t crs0_er:1;
  2846. uint64_t c0_se:1;
  2847. uint64_t crs0_dr:1;
  2848. uint64_t c0_wake:1;
  2849. uint64_t c0_pmei:1;
  2850. uint64_t c0_hpint:1;
  2851. uint64_t c1_aeri:1;
  2852. uint64_t crs1_er:1;
  2853. uint64_t c1_se:1;
  2854. uint64_t crs1_dr:1;
  2855. uint64_t c1_wake:1;
  2856. uint64_t c1_pmei:1;
  2857. uint64_t c1_hpint:1;
  2858. uint64_t c0_up_b0:1;
  2859. uint64_t c0_up_b1:1;
  2860. uint64_t c0_up_b2:1;
  2861. uint64_t c0_up_wi:1;
  2862. uint64_t c0_up_bx:1;
  2863. uint64_t c0_un_b0:1;
  2864. uint64_t c0_un_b1:1;
  2865. uint64_t c0_un_b2:1;
  2866. uint64_t c0_un_wi:1;
  2867. uint64_t c0_un_bx:1;
  2868. uint64_t c1_up_b0:1;
  2869. uint64_t c1_up_b1:1;
  2870. uint64_t c1_up_b2:1;
  2871. uint64_t c1_up_wi:1;
  2872. uint64_t c1_up_bx:1;
  2873. uint64_t c1_un_b0:1;
  2874. uint64_t c1_un_b1:1;
  2875. uint64_t c1_un_b2:1;
  2876. uint64_t c1_un_wi:1;
  2877. uint64_t c1_un_bx:1;
  2878. uint64_t c0_un_wf:1;
  2879. uint64_t c1_un_wf:1;
  2880. uint64_t c0_up_wf:1;
  2881. uint64_t c1_up_wf:1;
  2882. uint64_t c0_exc:1;
  2883. uint64_t c1_exc:1;
  2884. uint64_t c0_ldwn:1;
  2885. uint64_t c1_ldwn:1;
  2886. uint64_t int_a:1;
  2887. uint64_t reserved_62_62:1;
  2888. uint64_t mio_inta:1;
  2889. #endif
  2890. } s;
  2891. struct cvmx_npei_int_sum2_s cn52xx;
  2892. struct cvmx_npei_int_sum2_s cn52xxp1;
  2893. struct cvmx_npei_int_sum2_s cn56xx;
  2894. };
  2895. union cvmx_npei_last_win_rdata0 {
  2896. uint64_t u64;
  2897. struct cvmx_npei_last_win_rdata0_s {
  2898. #ifdef __BIG_ENDIAN_BITFIELD
  2899. uint64_t data:64;
  2900. #else
  2901. uint64_t data:64;
  2902. #endif
  2903. } s;
  2904. struct cvmx_npei_last_win_rdata0_s cn52xx;
  2905. struct cvmx_npei_last_win_rdata0_s cn52xxp1;
  2906. struct cvmx_npei_last_win_rdata0_s cn56xx;
  2907. struct cvmx_npei_last_win_rdata0_s cn56xxp1;
  2908. };
  2909. union cvmx_npei_last_win_rdata1 {
  2910. uint64_t u64;
  2911. struct cvmx_npei_last_win_rdata1_s {
  2912. #ifdef __BIG_ENDIAN_BITFIELD
  2913. uint64_t data:64;
  2914. #else
  2915. uint64_t data:64;
  2916. #endif
  2917. } s;
  2918. struct cvmx_npei_last_win_rdata1_s cn52xx;
  2919. struct cvmx_npei_last_win_rdata1_s cn52xxp1;
  2920. struct cvmx_npei_last_win_rdata1_s cn56xx;
  2921. struct cvmx_npei_last_win_rdata1_s cn56xxp1;
  2922. };
  2923. union cvmx_npei_mem_access_ctl {
  2924. uint64_t u64;
  2925. struct cvmx_npei_mem_access_ctl_s {
  2926. #ifdef __BIG_ENDIAN_BITFIELD
  2927. uint64_t reserved_14_63:50;
  2928. uint64_t max_word:4;
  2929. uint64_t timer:10;
  2930. #else
  2931. uint64_t timer:10;
  2932. uint64_t max_word:4;
  2933. uint64_t reserved_14_63:50;
  2934. #endif
  2935. } s;
  2936. struct cvmx_npei_mem_access_ctl_s cn52xx;
  2937. struct cvmx_npei_mem_access_ctl_s cn52xxp1;
  2938. struct cvmx_npei_mem_access_ctl_s cn56xx;
  2939. struct cvmx_npei_mem_access_ctl_s cn56xxp1;
  2940. };
  2941. union cvmx_npei_mem_access_subidx {
  2942. uint64_t u64;
  2943. struct cvmx_npei_mem_access_subidx_s {
  2944. #ifdef __BIG_ENDIAN_BITFIELD
  2945. uint64_t reserved_42_63:22;
  2946. uint64_t zero:1;
  2947. uint64_t port:2;
  2948. uint64_t nmerge:1;
  2949. uint64_t esr:2;
  2950. uint64_t esw:2;
  2951. uint64_t nsr:1;
  2952. uint64_t nsw:1;
  2953. uint64_t ror:1;
  2954. uint64_t row:1;
  2955. uint64_t ba:30;
  2956. #else
  2957. uint64_t ba:30;
  2958. uint64_t row:1;
  2959. uint64_t ror:1;
  2960. uint64_t nsw:1;
  2961. uint64_t nsr:1;
  2962. uint64_t esw:2;
  2963. uint64_t esr:2;
  2964. uint64_t nmerge:1;
  2965. uint64_t port:2;
  2966. uint64_t zero:1;
  2967. uint64_t reserved_42_63:22;
  2968. #endif
  2969. } s;
  2970. struct cvmx_npei_mem_access_subidx_s cn52xx;
  2971. struct cvmx_npei_mem_access_subidx_s cn52xxp1;
  2972. struct cvmx_npei_mem_access_subidx_s cn56xx;
  2973. struct cvmx_npei_mem_access_subidx_s cn56xxp1;
  2974. };
  2975. union cvmx_npei_msi_enb0 {
  2976. uint64_t u64;
  2977. struct cvmx_npei_msi_enb0_s {
  2978. #ifdef __BIG_ENDIAN_BITFIELD
  2979. uint64_t enb:64;
  2980. #else
  2981. uint64_t enb:64;
  2982. #endif
  2983. } s;
  2984. struct cvmx_npei_msi_enb0_s cn52xx;
  2985. struct cvmx_npei_msi_enb0_s cn52xxp1;
  2986. struct cvmx_npei_msi_enb0_s cn56xx;
  2987. struct cvmx_npei_msi_enb0_s cn56xxp1;
  2988. };
  2989. union cvmx_npei_msi_enb1 {
  2990. uint64_t u64;
  2991. struct cvmx_npei_msi_enb1_s {
  2992. #ifdef __BIG_ENDIAN_BITFIELD
  2993. uint64_t enb:64;
  2994. #else
  2995. uint64_t enb:64;
  2996. #endif
  2997. } s;
  2998. struct cvmx_npei_msi_enb1_s cn52xx;
  2999. struct cvmx_npei_msi_enb1_s cn52xxp1;
  3000. struct cvmx_npei_msi_enb1_s cn56xx;
  3001. struct cvmx_npei_msi_enb1_s cn56xxp1;
  3002. };
  3003. union cvmx_npei_msi_enb2 {
  3004. uint64_t u64;
  3005. struct cvmx_npei_msi_enb2_s {
  3006. #ifdef __BIG_ENDIAN_BITFIELD
  3007. uint64_t enb:64;
  3008. #else
  3009. uint64_t enb:64;
  3010. #endif
  3011. } s;
  3012. struct cvmx_npei_msi_enb2_s cn52xx;
  3013. struct cvmx_npei_msi_enb2_s cn52xxp1;
  3014. struct cvmx_npei_msi_enb2_s cn56xx;
  3015. struct cvmx_npei_msi_enb2_s cn56xxp1;
  3016. };
  3017. union cvmx_npei_msi_enb3 {
  3018. uint64_t u64;
  3019. struct cvmx_npei_msi_enb3_s {
  3020. #ifdef __BIG_ENDIAN_BITFIELD
  3021. uint64_t enb:64;
  3022. #else
  3023. uint64_t enb:64;
  3024. #endif
  3025. } s;
  3026. struct cvmx_npei_msi_enb3_s cn52xx;
  3027. struct cvmx_npei_msi_enb3_s cn52xxp1;
  3028. struct cvmx_npei_msi_enb3_s cn56xx;
  3029. struct cvmx_npei_msi_enb3_s cn56xxp1;
  3030. };
  3031. union cvmx_npei_msi_rcv0 {
  3032. uint64_t u64;
  3033. struct cvmx_npei_msi_rcv0_s {
  3034. #ifdef __BIG_ENDIAN_BITFIELD
  3035. uint64_t intr:64;
  3036. #else
  3037. uint64_t intr:64;
  3038. #endif
  3039. } s;
  3040. struct cvmx_npei_msi_rcv0_s cn52xx;
  3041. struct cvmx_npei_msi_rcv0_s cn52xxp1;
  3042. struct cvmx_npei_msi_rcv0_s cn56xx;
  3043. struct cvmx_npei_msi_rcv0_s cn56xxp1;
  3044. };
  3045. union cvmx_npei_msi_rcv1 {
  3046. uint64_t u64;
  3047. struct cvmx_npei_msi_rcv1_s {
  3048. #ifdef __BIG_ENDIAN_BITFIELD
  3049. uint64_t intr:64;
  3050. #else
  3051. uint64_t intr:64;
  3052. #endif
  3053. } s;
  3054. struct cvmx_npei_msi_rcv1_s cn52xx;
  3055. struct cvmx_npei_msi_rcv1_s cn52xxp1;
  3056. struct cvmx_npei_msi_rcv1_s cn56xx;
  3057. struct cvmx_npei_msi_rcv1_s cn56xxp1;
  3058. };
  3059. union cvmx_npei_msi_rcv2 {
  3060. uint64_t u64;
  3061. struct cvmx_npei_msi_rcv2_s {
  3062. #ifdef __BIG_ENDIAN_BITFIELD
  3063. uint64_t intr:64;
  3064. #else
  3065. uint64_t intr:64;
  3066. #endif
  3067. } s;
  3068. struct cvmx_npei_msi_rcv2_s cn52xx;
  3069. struct cvmx_npei_msi_rcv2_s cn52xxp1;
  3070. struct cvmx_npei_msi_rcv2_s cn56xx;
  3071. struct cvmx_npei_msi_rcv2_s cn56xxp1;
  3072. };
  3073. union cvmx_npei_msi_rcv3 {
  3074. uint64_t u64;
  3075. struct cvmx_npei_msi_rcv3_s {
  3076. #ifdef __BIG_ENDIAN_BITFIELD
  3077. uint64_t intr:64;
  3078. #else
  3079. uint64_t intr:64;
  3080. #endif
  3081. } s;
  3082. struct cvmx_npei_msi_rcv3_s cn52xx;
  3083. struct cvmx_npei_msi_rcv3_s cn52xxp1;
  3084. struct cvmx_npei_msi_rcv3_s cn56xx;
  3085. struct cvmx_npei_msi_rcv3_s cn56xxp1;
  3086. };
  3087. union cvmx_npei_msi_rd_map {
  3088. uint64_t u64;
  3089. struct cvmx_npei_msi_rd_map_s {
  3090. #ifdef __BIG_ENDIAN_BITFIELD
  3091. uint64_t reserved_16_63:48;
  3092. uint64_t rd_int:8;
  3093. uint64_t msi_int:8;
  3094. #else
  3095. uint64_t msi_int:8;
  3096. uint64_t rd_int:8;
  3097. uint64_t reserved_16_63:48;
  3098. #endif
  3099. } s;
  3100. struct cvmx_npei_msi_rd_map_s cn52xx;
  3101. struct cvmx_npei_msi_rd_map_s cn52xxp1;
  3102. struct cvmx_npei_msi_rd_map_s cn56xx;
  3103. struct cvmx_npei_msi_rd_map_s cn56xxp1;
  3104. };
  3105. union cvmx_npei_msi_w1c_enb0 {
  3106. uint64_t u64;
  3107. struct cvmx_npei_msi_w1c_enb0_s {
  3108. #ifdef __BIG_ENDIAN_BITFIELD
  3109. uint64_t clr:64;
  3110. #else
  3111. uint64_t clr:64;
  3112. #endif
  3113. } s;
  3114. struct cvmx_npei_msi_w1c_enb0_s cn52xx;
  3115. struct cvmx_npei_msi_w1c_enb0_s cn56xx;
  3116. };
  3117. union cvmx_npei_msi_w1c_enb1 {
  3118. uint64_t u64;
  3119. struct cvmx_npei_msi_w1c_enb1_s {
  3120. #ifdef __BIG_ENDIAN_BITFIELD
  3121. uint64_t clr:64;
  3122. #else
  3123. uint64_t clr:64;
  3124. #endif
  3125. } s;
  3126. struct cvmx_npei_msi_w1c_enb1_s cn52xx;
  3127. struct cvmx_npei_msi_w1c_enb1_s cn56xx;
  3128. };
  3129. union cvmx_npei_msi_w1c_enb2 {
  3130. uint64_t u64;
  3131. struct cvmx_npei_msi_w1c_enb2_s {
  3132. #ifdef __BIG_ENDIAN_BITFIELD
  3133. uint64_t clr:64;
  3134. #else
  3135. uint64_t clr:64;
  3136. #endif
  3137. } s;
  3138. struct cvmx_npei_msi_w1c_enb2_s cn52xx;
  3139. struct cvmx_npei_msi_w1c_enb2_s cn56xx;
  3140. };
  3141. union cvmx_npei_msi_w1c_enb3 {
  3142. uint64_t u64;
  3143. struct cvmx_npei_msi_w1c_enb3_s {
  3144. #ifdef __BIG_ENDIAN_BITFIELD
  3145. uint64_t clr:64;
  3146. #else
  3147. uint64_t clr:64;
  3148. #endif
  3149. } s;
  3150. struct cvmx_npei_msi_w1c_enb3_s cn52xx;
  3151. struct cvmx_npei_msi_w1c_enb3_s cn56xx;
  3152. };
  3153. union cvmx_npei_msi_w1s_enb0 {
  3154. uint64_t u64;
  3155. struct cvmx_npei_msi_w1s_enb0_s {
  3156. #ifdef __BIG_ENDIAN_BITFIELD
  3157. uint64_t set:64;
  3158. #else
  3159. uint64_t set:64;
  3160. #endif
  3161. } s;
  3162. struct cvmx_npei_msi_w1s_enb0_s cn52xx;
  3163. struct cvmx_npei_msi_w1s_enb0_s cn56xx;
  3164. };
  3165. union cvmx_npei_msi_w1s_enb1 {
  3166. uint64_t u64;
  3167. struct cvmx_npei_msi_w1s_enb1_s {
  3168. #ifdef __BIG_ENDIAN_BITFIELD
  3169. uint64_t set:64;
  3170. #else
  3171. uint64_t set:64;
  3172. #endif
  3173. } s;
  3174. struct cvmx_npei_msi_w1s_enb1_s cn52xx;
  3175. struct cvmx_npei_msi_w1s_enb1_s cn56xx;
  3176. };
  3177. union cvmx_npei_msi_w1s_enb2 {
  3178. uint64_t u64;
  3179. struct cvmx_npei_msi_w1s_enb2_s {
  3180. #ifdef __BIG_ENDIAN_BITFIELD
  3181. uint64_t set:64;
  3182. #else
  3183. uint64_t set:64;
  3184. #endif
  3185. } s;
  3186. struct cvmx_npei_msi_w1s_enb2_s cn52xx;
  3187. struct cvmx_npei_msi_w1s_enb2_s cn56xx;
  3188. };
  3189. union cvmx_npei_msi_w1s_enb3 {
  3190. uint64_t u64;
  3191. struct cvmx_npei_msi_w1s_enb3_s {
  3192. #ifdef __BIG_ENDIAN_BITFIELD
  3193. uint64_t set:64;
  3194. #else
  3195. uint64_t set:64;
  3196. #endif
  3197. } s;
  3198. struct cvmx_npei_msi_w1s_enb3_s cn52xx;
  3199. struct cvmx_npei_msi_w1s_enb3_s cn56xx;
  3200. };
  3201. union cvmx_npei_msi_wr_map {
  3202. uint64_t u64;
  3203. struct cvmx_npei_msi_wr_map_s {
  3204. #ifdef __BIG_ENDIAN_BITFIELD
  3205. uint64_t reserved_16_63:48;
  3206. uint64_t ciu_int:8;
  3207. uint64_t msi_int:8;
  3208. #else
  3209. uint64_t msi_int:8;
  3210. uint64_t ciu_int:8;
  3211. uint64_t reserved_16_63:48;
  3212. #endif
  3213. } s;
  3214. struct cvmx_npei_msi_wr_map_s cn52xx;
  3215. struct cvmx_npei_msi_wr_map_s cn52xxp1;
  3216. struct cvmx_npei_msi_wr_map_s cn56xx;
  3217. struct cvmx_npei_msi_wr_map_s cn56xxp1;
  3218. };
  3219. union cvmx_npei_pcie_credit_cnt {
  3220. uint64_t u64;
  3221. struct cvmx_npei_pcie_credit_cnt_s {
  3222. #ifdef __BIG_ENDIAN_BITFIELD
  3223. uint64_t reserved_48_63:16;
  3224. uint64_t p1_ccnt:8;
  3225. uint64_t p1_ncnt:8;
  3226. uint64_t p1_pcnt:8;
  3227. uint64_t p0_ccnt:8;
  3228. uint64_t p0_ncnt:8;
  3229. uint64_t p0_pcnt:8;
  3230. #else
  3231. uint64_t p0_pcnt:8;
  3232. uint64_t p0_ncnt:8;
  3233. uint64_t p0_ccnt:8;
  3234. uint64_t p1_pcnt:8;
  3235. uint64_t p1_ncnt:8;
  3236. uint64_t p1_ccnt:8;
  3237. uint64_t reserved_48_63:16;
  3238. #endif
  3239. } s;
  3240. struct cvmx_npei_pcie_credit_cnt_s cn52xx;
  3241. struct cvmx_npei_pcie_credit_cnt_s cn56xx;
  3242. };
  3243. union cvmx_npei_pcie_msi_rcv {
  3244. uint64_t u64;
  3245. struct cvmx_npei_pcie_msi_rcv_s {
  3246. #ifdef __BIG_ENDIAN_BITFIELD
  3247. uint64_t reserved_8_63:56;
  3248. uint64_t intr:8;
  3249. #else
  3250. uint64_t intr:8;
  3251. uint64_t reserved_8_63:56;
  3252. #endif
  3253. } s;
  3254. struct cvmx_npei_pcie_msi_rcv_s cn52xx;
  3255. struct cvmx_npei_pcie_msi_rcv_s cn52xxp1;
  3256. struct cvmx_npei_pcie_msi_rcv_s cn56xx;
  3257. struct cvmx_npei_pcie_msi_rcv_s cn56xxp1;
  3258. };
  3259. union cvmx_npei_pcie_msi_rcv_b1 {
  3260. uint64_t u64;
  3261. struct cvmx_npei_pcie_msi_rcv_b1_s {
  3262. #ifdef __BIG_ENDIAN_BITFIELD
  3263. uint64_t reserved_16_63:48;
  3264. uint64_t intr:8;
  3265. uint64_t reserved_0_7:8;
  3266. #else
  3267. uint64_t reserved_0_7:8;
  3268. uint64_t intr:8;
  3269. uint64_t reserved_16_63:48;
  3270. #endif
  3271. } s;
  3272. struct cvmx_npei_pcie_msi_rcv_b1_s cn52xx;
  3273. struct cvmx_npei_pcie_msi_rcv_b1_s cn52xxp1;
  3274. struct cvmx_npei_pcie_msi_rcv_b1_s cn56xx;
  3275. struct cvmx_npei_pcie_msi_rcv_b1_s cn56xxp1;
  3276. };
  3277. union cvmx_npei_pcie_msi_rcv_b2 {
  3278. uint64_t u64;
  3279. struct cvmx_npei_pcie_msi_rcv_b2_s {
  3280. #ifdef __BIG_ENDIAN_BITFIELD
  3281. uint64_t reserved_24_63:40;
  3282. uint64_t intr:8;
  3283. uint64_t reserved_0_15:16;
  3284. #else
  3285. uint64_t reserved_0_15:16;
  3286. uint64_t intr:8;
  3287. uint64_t reserved_24_63:40;
  3288. #endif
  3289. } s;
  3290. struct cvmx_npei_pcie_msi_rcv_b2_s cn52xx;
  3291. struct cvmx_npei_pcie_msi_rcv_b2_s cn52xxp1;
  3292. struct cvmx_npei_pcie_msi_rcv_b2_s cn56xx;
  3293. struct cvmx_npei_pcie_msi_rcv_b2_s cn56xxp1;
  3294. };
  3295. union cvmx_npei_pcie_msi_rcv_b3 {
  3296. uint64_t u64;
  3297. struct cvmx_npei_pcie_msi_rcv_b3_s {
  3298. #ifdef __BIG_ENDIAN_BITFIELD
  3299. uint64_t reserved_32_63:32;
  3300. uint64_t intr:8;
  3301. uint64_t reserved_0_23:24;
  3302. #else
  3303. uint64_t reserved_0_23:24;
  3304. uint64_t intr:8;
  3305. uint64_t reserved_32_63:32;
  3306. #endif
  3307. } s;
  3308. struct cvmx_npei_pcie_msi_rcv_b3_s cn52xx;
  3309. struct cvmx_npei_pcie_msi_rcv_b3_s cn52xxp1;
  3310. struct cvmx_npei_pcie_msi_rcv_b3_s cn56xx;
  3311. struct cvmx_npei_pcie_msi_rcv_b3_s cn56xxp1;
  3312. };
  3313. union cvmx_npei_pktx_cnts {
  3314. uint64_t u64;
  3315. struct cvmx_npei_pktx_cnts_s {
  3316. #ifdef __BIG_ENDIAN_BITFIELD
  3317. uint64_t reserved_54_63:10;
  3318. uint64_t timer:22;
  3319. uint64_t cnt:32;
  3320. #else
  3321. uint64_t cnt:32;
  3322. uint64_t timer:22;
  3323. uint64_t reserved_54_63:10;
  3324. #endif
  3325. } s;
  3326. struct cvmx_npei_pktx_cnts_s cn52xx;
  3327. struct cvmx_npei_pktx_cnts_s cn56xx;
  3328. };
  3329. union cvmx_npei_pktx_in_bp {
  3330. uint64_t u64;
  3331. struct cvmx_npei_pktx_in_bp_s {
  3332. #ifdef __BIG_ENDIAN_BITFIELD
  3333. uint64_t wmark:32;
  3334. uint64_t cnt:32;
  3335. #else
  3336. uint64_t cnt:32;
  3337. uint64_t wmark:32;
  3338. #endif
  3339. } s;
  3340. struct cvmx_npei_pktx_in_bp_s cn52xx;
  3341. struct cvmx_npei_pktx_in_bp_s cn56xx;
  3342. };
  3343. union cvmx_npei_pktx_instr_baddr {
  3344. uint64_t u64;
  3345. struct cvmx_npei_pktx_instr_baddr_s {
  3346. #ifdef __BIG_ENDIAN_BITFIELD
  3347. uint64_t addr:61;
  3348. uint64_t reserved_0_2:3;
  3349. #else
  3350. uint64_t reserved_0_2:3;
  3351. uint64_t addr:61;
  3352. #endif
  3353. } s;
  3354. struct cvmx_npei_pktx_instr_baddr_s cn52xx;
  3355. struct cvmx_npei_pktx_instr_baddr_s cn56xx;
  3356. };
  3357. union cvmx_npei_pktx_instr_baoff_dbell {
  3358. uint64_t u64;
  3359. struct cvmx_npei_pktx_instr_baoff_dbell_s {
  3360. #ifdef __BIG_ENDIAN_BITFIELD
  3361. uint64_t aoff:32;
  3362. uint64_t dbell:32;
  3363. #else
  3364. uint64_t dbell:32;
  3365. uint64_t aoff:32;
  3366. #endif
  3367. } s;
  3368. struct cvmx_npei_pktx_instr_baoff_dbell_s cn52xx;
  3369. struct cvmx_npei_pktx_instr_baoff_dbell_s cn56xx;
  3370. };
  3371. union cvmx_npei_pktx_instr_fifo_rsize {
  3372. uint64_t u64;
  3373. struct cvmx_npei_pktx_instr_fifo_rsize_s {
  3374. #ifdef __BIG_ENDIAN_BITFIELD
  3375. uint64_t max:9;
  3376. uint64_t rrp:9;
  3377. uint64_t wrp:9;
  3378. uint64_t fcnt:5;
  3379. uint64_t rsize:32;
  3380. #else
  3381. uint64_t rsize:32;
  3382. uint64_t fcnt:5;
  3383. uint64_t wrp:9;
  3384. uint64_t rrp:9;
  3385. uint64_t max:9;
  3386. #endif
  3387. } s;
  3388. struct cvmx_npei_pktx_instr_fifo_rsize_s cn52xx;
  3389. struct cvmx_npei_pktx_instr_fifo_rsize_s cn56xx;
  3390. };
  3391. union cvmx_npei_pktx_instr_header {
  3392. uint64_t u64;
  3393. struct cvmx_npei_pktx_instr_header_s {
  3394. #ifdef __BIG_ENDIAN_BITFIELD
  3395. uint64_t reserved_44_63:20;
  3396. uint64_t pbp:1;
  3397. uint64_t reserved_38_42:5;
  3398. uint64_t rparmode:2;
  3399. uint64_t reserved_35_35:1;
  3400. uint64_t rskp_len:7;
  3401. uint64_t reserved_22_27:6;
  3402. uint64_t use_ihdr:1;
  3403. uint64_t reserved_16_20:5;
  3404. uint64_t par_mode:2;
  3405. uint64_t reserved_13_13:1;
  3406. uint64_t skp_len:7;
  3407. uint64_t reserved_0_5:6;
  3408. #else
  3409. uint64_t reserved_0_5:6;
  3410. uint64_t skp_len:7;
  3411. uint64_t reserved_13_13:1;
  3412. uint64_t par_mode:2;
  3413. uint64_t reserved_16_20:5;
  3414. uint64_t use_ihdr:1;
  3415. uint64_t reserved_22_27:6;
  3416. uint64_t rskp_len:7;
  3417. uint64_t reserved_35_35:1;
  3418. uint64_t rparmode:2;
  3419. uint64_t reserved_38_42:5;
  3420. uint64_t pbp:1;
  3421. uint64_t reserved_44_63:20;
  3422. #endif
  3423. } s;
  3424. struct cvmx_npei_pktx_instr_header_s cn52xx;
  3425. struct cvmx_npei_pktx_instr_header_s cn56xx;
  3426. };
  3427. union cvmx_npei_pktx_slist_baddr {
  3428. uint64_t u64;
  3429. struct cvmx_npei_pktx_slist_baddr_s {
  3430. #ifdef __BIG_ENDIAN_BITFIELD
  3431. uint64_t addr:60;
  3432. uint64_t reserved_0_3:4;
  3433. #else
  3434. uint64_t reserved_0_3:4;
  3435. uint64_t addr:60;
  3436. #endif
  3437. } s;
  3438. struct cvmx_npei_pktx_slist_baddr_s cn52xx;
  3439. struct cvmx_npei_pktx_slist_baddr_s cn56xx;
  3440. };
  3441. union cvmx_npei_pktx_slist_baoff_dbell {
  3442. uint64_t u64;
  3443. struct cvmx_npei_pktx_slist_baoff_dbell_s {
  3444. #ifdef __BIG_ENDIAN_BITFIELD
  3445. uint64_t aoff:32;
  3446. uint64_t dbell:32;
  3447. #else
  3448. uint64_t dbell:32;
  3449. uint64_t aoff:32;
  3450. #endif
  3451. } s;
  3452. struct cvmx_npei_pktx_slist_baoff_dbell_s cn52xx;
  3453. struct cvmx_npei_pktx_slist_baoff_dbell_s cn56xx;
  3454. };
  3455. union cvmx_npei_pktx_slist_fifo_rsize {
  3456. uint64_t u64;
  3457. struct cvmx_npei_pktx_slist_fifo_rsize_s {
  3458. #ifdef __BIG_ENDIAN_BITFIELD
  3459. uint64_t reserved_32_63:32;
  3460. uint64_t rsize:32;
  3461. #else
  3462. uint64_t rsize:32;
  3463. uint64_t reserved_32_63:32;
  3464. #endif
  3465. } s;
  3466. struct cvmx_npei_pktx_slist_fifo_rsize_s cn52xx;
  3467. struct cvmx_npei_pktx_slist_fifo_rsize_s cn56xx;
  3468. };
  3469. union cvmx_npei_pkt_cnt_int {
  3470. uint64_t u64;
  3471. struct cvmx_npei_pkt_cnt_int_s {
  3472. #ifdef __BIG_ENDIAN_BITFIELD
  3473. uint64_t reserved_32_63:32;
  3474. uint64_t port:32;
  3475. #else
  3476. uint64_t port:32;
  3477. uint64_t reserved_32_63:32;
  3478. #endif
  3479. } s;
  3480. struct cvmx_npei_pkt_cnt_int_s cn52xx;
  3481. struct cvmx_npei_pkt_cnt_int_s cn56xx;
  3482. };
  3483. union cvmx_npei_pkt_cnt_int_enb {
  3484. uint64_t u64;
  3485. struct cvmx_npei_pkt_cnt_int_enb_s {
  3486. #ifdef __BIG_ENDIAN_BITFIELD
  3487. uint64_t reserved_32_63:32;
  3488. uint64_t port:32;
  3489. #else
  3490. uint64_t port:32;
  3491. uint64_t reserved_32_63:32;
  3492. #endif
  3493. } s;
  3494. struct cvmx_npei_pkt_cnt_int_enb_s cn52xx;
  3495. struct cvmx_npei_pkt_cnt_int_enb_s cn56xx;
  3496. };
  3497. union cvmx_npei_pkt_data_out_es {
  3498. uint64_t u64;
  3499. struct cvmx_npei_pkt_data_out_es_s {
  3500. #ifdef __BIG_ENDIAN_BITFIELD
  3501. uint64_t es:64;
  3502. #else
  3503. uint64_t es:64;
  3504. #endif
  3505. } s;
  3506. struct cvmx_npei_pkt_data_out_es_s cn52xx;
  3507. struct cvmx_npei_pkt_data_out_es_s cn56xx;
  3508. };
  3509. union cvmx_npei_pkt_data_out_ns {
  3510. uint64_t u64;
  3511. struct cvmx_npei_pkt_data_out_ns_s {
  3512. #ifdef __BIG_ENDIAN_BITFIELD
  3513. uint64_t reserved_32_63:32;
  3514. uint64_t nsr:32;
  3515. #else
  3516. uint64_t nsr:32;
  3517. uint64_t reserved_32_63:32;
  3518. #endif
  3519. } s;
  3520. struct cvmx_npei_pkt_data_out_ns_s cn52xx;
  3521. struct cvmx_npei_pkt_data_out_ns_s cn56xx;
  3522. };
  3523. union cvmx_npei_pkt_data_out_ror {
  3524. uint64_t u64;
  3525. struct cvmx_npei_pkt_data_out_ror_s {
  3526. #ifdef __BIG_ENDIAN_BITFIELD
  3527. uint64_t reserved_32_63:32;
  3528. uint64_t ror:32;
  3529. #else
  3530. uint64_t ror:32;
  3531. uint64_t reserved_32_63:32;
  3532. #endif
  3533. } s;
  3534. struct cvmx_npei_pkt_data_out_ror_s cn52xx;
  3535. struct cvmx_npei_pkt_data_out_ror_s cn56xx;
  3536. };
  3537. union cvmx_npei_pkt_dpaddr {
  3538. uint64_t u64;
  3539. struct cvmx_npei_pkt_dpaddr_s {
  3540. #ifdef __BIG_ENDIAN_BITFIELD
  3541. uint64_t reserved_32_63:32;
  3542. uint64_t dptr:32;
  3543. #else
  3544. uint64_t dptr:32;
  3545. uint64_t reserved_32_63:32;
  3546. #endif
  3547. } s;
  3548. struct cvmx_npei_pkt_dpaddr_s cn52xx;
  3549. struct cvmx_npei_pkt_dpaddr_s cn56xx;
  3550. };
  3551. union cvmx_npei_pkt_in_bp {
  3552. uint64_t u64;
  3553. struct cvmx_npei_pkt_in_bp_s {
  3554. #ifdef __BIG_ENDIAN_BITFIELD
  3555. uint64_t reserved_32_63:32;
  3556. uint64_t bp:32;
  3557. #else
  3558. uint64_t bp:32;
  3559. uint64_t reserved_32_63:32;
  3560. #endif
  3561. } s;
  3562. struct cvmx_npei_pkt_in_bp_s cn52xx;
  3563. struct cvmx_npei_pkt_in_bp_s cn56xx;
  3564. };
  3565. union cvmx_npei_pkt_in_donex_cnts {
  3566. uint64_t u64;
  3567. struct cvmx_npei_pkt_in_donex_cnts_s {
  3568. #ifdef __BIG_ENDIAN_BITFIELD
  3569. uint64_t reserved_32_63:32;
  3570. uint64_t cnt:32;
  3571. #else
  3572. uint64_t cnt:32;
  3573. uint64_t reserved_32_63:32;
  3574. #endif
  3575. } s;
  3576. struct cvmx_npei_pkt_in_donex_cnts_s cn52xx;
  3577. struct cvmx_npei_pkt_in_donex_cnts_s cn56xx;
  3578. };
  3579. union cvmx_npei_pkt_in_instr_counts {
  3580. uint64_t u64;
  3581. struct cvmx_npei_pkt_in_instr_counts_s {
  3582. #ifdef __BIG_ENDIAN_BITFIELD
  3583. uint64_t wr_cnt:32;
  3584. uint64_t rd_cnt:32;
  3585. #else
  3586. uint64_t rd_cnt:32;
  3587. uint64_t wr_cnt:32;
  3588. #endif
  3589. } s;
  3590. struct cvmx_npei_pkt_in_instr_counts_s cn52xx;
  3591. struct cvmx_npei_pkt_in_instr_counts_s cn56xx;
  3592. };
  3593. union cvmx_npei_pkt_in_pcie_port {
  3594. uint64_t u64;
  3595. struct cvmx_npei_pkt_in_pcie_port_s {
  3596. #ifdef __BIG_ENDIAN_BITFIELD
  3597. uint64_t pp:64;
  3598. #else
  3599. uint64_t pp:64;
  3600. #endif
  3601. } s;
  3602. struct cvmx_npei_pkt_in_pcie_port_s cn52xx;
  3603. struct cvmx_npei_pkt_in_pcie_port_s cn56xx;
  3604. };
  3605. union cvmx_npei_pkt_input_control {
  3606. uint64_t u64;
  3607. struct cvmx_npei_pkt_input_control_s {
  3608. #ifdef __BIG_ENDIAN_BITFIELD
  3609. uint64_t reserved_23_63:41;
  3610. uint64_t pkt_rr:1;
  3611. uint64_t pbp_dhi:13;
  3612. uint64_t d_nsr:1;
  3613. uint64_t d_esr:2;
  3614. uint64_t d_ror:1;
  3615. uint64_t use_csr:1;
  3616. uint64_t nsr:1;
  3617. uint64_t esr:2;
  3618. uint64_t ror:1;
  3619. #else
  3620. uint64_t ror:1;
  3621. uint64_t esr:2;
  3622. uint64_t nsr:1;
  3623. uint64_t use_csr:1;
  3624. uint64_t d_ror:1;
  3625. uint64_t d_esr:2;
  3626. uint64_t d_nsr:1;
  3627. uint64_t pbp_dhi:13;
  3628. uint64_t pkt_rr:1;
  3629. uint64_t reserved_23_63:41;
  3630. #endif
  3631. } s;
  3632. struct cvmx_npei_pkt_input_control_s cn52xx;
  3633. struct cvmx_npei_pkt_input_control_s cn56xx;
  3634. };
  3635. union cvmx_npei_pkt_instr_enb {
  3636. uint64_t u64;
  3637. struct cvmx_npei_pkt_instr_enb_s {
  3638. #ifdef __BIG_ENDIAN_BITFIELD
  3639. uint64_t reserved_32_63:32;
  3640. uint64_t enb:32;
  3641. #else
  3642. uint64_t enb:32;
  3643. uint64_t reserved_32_63:32;
  3644. #endif
  3645. } s;
  3646. struct cvmx_npei_pkt_instr_enb_s cn52xx;
  3647. struct cvmx_npei_pkt_instr_enb_s cn56xx;
  3648. };
  3649. union cvmx_npei_pkt_instr_rd_size {
  3650. uint64_t u64;
  3651. struct cvmx_npei_pkt_instr_rd_size_s {
  3652. #ifdef __BIG_ENDIAN_BITFIELD
  3653. uint64_t rdsize:64;
  3654. #else
  3655. uint64_t rdsize:64;
  3656. #endif
  3657. } s;
  3658. struct cvmx_npei_pkt_instr_rd_size_s cn52xx;
  3659. struct cvmx_npei_pkt_instr_rd_size_s cn56xx;
  3660. };
  3661. union cvmx_npei_pkt_instr_size {
  3662. uint64_t u64;
  3663. struct cvmx_npei_pkt_instr_size_s {
  3664. #ifdef __BIG_ENDIAN_BITFIELD
  3665. uint64_t reserved_32_63:32;
  3666. uint64_t is_64b:32;
  3667. #else
  3668. uint64_t is_64b:32;
  3669. uint64_t reserved_32_63:32;
  3670. #endif
  3671. } s;
  3672. struct cvmx_npei_pkt_instr_size_s cn52xx;
  3673. struct cvmx_npei_pkt_instr_size_s cn56xx;
  3674. };
  3675. union cvmx_npei_pkt_int_levels {
  3676. uint64_t u64;
  3677. struct cvmx_npei_pkt_int_levels_s {
  3678. #ifdef __BIG_ENDIAN_BITFIELD
  3679. uint64_t reserved_54_63:10;
  3680. uint64_t time:22;
  3681. uint64_t cnt:32;
  3682. #else
  3683. uint64_t cnt:32;
  3684. uint64_t time:22;
  3685. uint64_t reserved_54_63:10;
  3686. #endif
  3687. } s;
  3688. struct cvmx_npei_pkt_int_levels_s cn52xx;
  3689. struct cvmx_npei_pkt_int_levels_s cn56xx;
  3690. };
  3691. union cvmx_npei_pkt_iptr {
  3692. uint64_t u64;
  3693. struct cvmx_npei_pkt_iptr_s {
  3694. #ifdef __BIG_ENDIAN_BITFIELD
  3695. uint64_t reserved_32_63:32;
  3696. uint64_t iptr:32;
  3697. #else
  3698. uint64_t iptr:32;
  3699. uint64_t reserved_32_63:32;
  3700. #endif
  3701. } s;
  3702. struct cvmx_npei_pkt_iptr_s cn52xx;
  3703. struct cvmx_npei_pkt_iptr_s cn56xx;
  3704. };
  3705. union cvmx_npei_pkt_out_bmode {
  3706. uint64_t u64;
  3707. struct cvmx_npei_pkt_out_bmode_s {
  3708. #ifdef __BIG_ENDIAN_BITFIELD
  3709. uint64_t reserved_32_63:32;
  3710. uint64_t bmode:32;
  3711. #else
  3712. uint64_t bmode:32;
  3713. uint64_t reserved_32_63:32;
  3714. #endif
  3715. } s;
  3716. struct cvmx_npei_pkt_out_bmode_s cn52xx;
  3717. struct cvmx_npei_pkt_out_bmode_s cn56xx;
  3718. };
  3719. union cvmx_npei_pkt_out_enb {
  3720. uint64_t u64;
  3721. struct cvmx_npei_pkt_out_enb_s {
  3722. #ifdef __BIG_ENDIAN_BITFIELD
  3723. uint64_t reserved_32_63:32;
  3724. uint64_t enb:32;
  3725. #else
  3726. uint64_t enb:32;
  3727. uint64_t reserved_32_63:32;
  3728. #endif
  3729. } s;
  3730. struct cvmx_npei_pkt_out_enb_s cn52xx;
  3731. struct cvmx_npei_pkt_out_enb_s cn56xx;
  3732. };
  3733. union cvmx_npei_pkt_output_wmark {
  3734. uint64_t u64;
  3735. struct cvmx_npei_pkt_output_wmark_s {
  3736. #ifdef __BIG_ENDIAN_BITFIELD
  3737. uint64_t reserved_32_63:32;
  3738. uint64_t wmark:32;
  3739. #else
  3740. uint64_t wmark:32;
  3741. uint64_t reserved_32_63:32;
  3742. #endif
  3743. } s;
  3744. struct cvmx_npei_pkt_output_wmark_s cn52xx;
  3745. struct cvmx_npei_pkt_output_wmark_s cn56xx;
  3746. };
  3747. union cvmx_npei_pkt_pcie_port {
  3748. uint64_t u64;
  3749. struct cvmx_npei_pkt_pcie_port_s {
  3750. #ifdef __BIG_ENDIAN_BITFIELD
  3751. uint64_t pp:64;
  3752. #else
  3753. uint64_t pp:64;
  3754. #endif
  3755. } s;
  3756. struct cvmx_npei_pkt_pcie_port_s cn52xx;
  3757. struct cvmx_npei_pkt_pcie_port_s cn56xx;
  3758. };
  3759. union cvmx_npei_pkt_port_in_rst {
  3760. uint64_t u64;
  3761. struct cvmx_npei_pkt_port_in_rst_s {
  3762. #ifdef __BIG_ENDIAN_BITFIELD
  3763. uint64_t in_rst:32;
  3764. uint64_t out_rst:32;
  3765. #else
  3766. uint64_t out_rst:32;
  3767. uint64_t in_rst:32;
  3768. #endif
  3769. } s;
  3770. struct cvmx_npei_pkt_port_in_rst_s cn52xx;
  3771. struct cvmx_npei_pkt_port_in_rst_s cn56xx;
  3772. };
  3773. union cvmx_npei_pkt_slist_es {
  3774. uint64_t u64;
  3775. struct cvmx_npei_pkt_slist_es_s {
  3776. #ifdef __BIG_ENDIAN_BITFIELD
  3777. uint64_t es:64;
  3778. #else
  3779. uint64_t es:64;
  3780. #endif
  3781. } s;
  3782. struct cvmx_npei_pkt_slist_es_s cn52xx;
  3783. struct cvmx_npei_pkt_slist_es_s cn56xx;
  3784. };
  3785. union cvmx_npei_pkt_slist_id_size {
  3786. uint64_t u64;
  3787. struct cvmx_npei_pkt_slist_id_size_s {
  3788. #ifdef __BIG_ENDIAN_BITFIELD
  3789. uint64_t reserved_23_63:41;
  3790. uint64_t isize:7;
  3791. uint64_t bsize:16;
  3792. #else
  3793. uint64_t bsize:16;
  3794. uint64_t isize:7;
  3795. uint64_t reserved_23_63:41;
  3796. #endif
  3797. } s;
  3798. struct cvmx_npei_pkt_slist_id_size_s cn52xx;
  3799. struct cvmx_npei_pkt_slist_id_size_s cn56xx;
  3800. };
  3801. union cvmx_npei_pkt_slist_ns {
  3802. uint64_t u64;
  3803. struct cvmx_npei_pkt_slist_ns_s {
  3804. #ifdef __BIG_ENDIAN_BITFIELD
  3805. uint64_t reserved_32_63:32;
  3806. uint64_t nsr:32;
  3807. #else
  3808. uint64_t nsr:32;
  3809. uint64_t reserved_32_63:32;
  3810. #endif
  3811. } s;
  3812. struct cvmx_npei_pkt_slist_ns_s cn52xx;
  3813. struct cvmx_npei_pkt_slist_ns_s cn56xx;
  3814. };
  3815. union cvmx_npei_pkt_slist_ror {
  3816. uint64_t u64;
  3817. struct cvmx_npei_pkt_slist_ror_s {
  3818. #ifdef __BIG_ENDIAN_BITFIELD
  3819. uint64_t reserved_32_63:32;
  3820. uint64_t ror:32;
  3821. #else
  3822. uint64_t ror:32;
  3823. uint64_t reserved_32_63:32;
  3824. #endif
  3825. } s;
  3826. struct cvmx_npei_pkt_slist_ror_s cn52xx;
  3827. struct cvmx_npei_pkt_slist_ror_s cn56xx;
  3828. };
  3829. union cvmx_npei_pkt_time_int {
  3830. uint64_t u64;
  3831. struct cvmx_npei_pkt_time_int_s {
  3832. #ifdef __BIG_ENDIAN_BITFIELD
  3833. uint64_t reserved_32_63:32;
  3834. uint64_t port:32;
  3835. #else
  3836. uint64_t port:32;
  3837. uint64_t reserved_32_63:32;
  3838. #endif
  3839. } s;
  3840. struct cvmx_npei_pkt_time_int_s cn52xx;
  3841. struct cvmx_npei_pkt_time_int_s cn56xx;
  3842. };
  3843. union cvmx_npei_pkt_time_int_enb {
  3844. uint64_t u64;
  3845. struct cvmx_npei_pkt_time_int_enb_s {
  3846. #ifdef __BIG_ENDIAN_BITFIELD
  3847. uint64_t reserved_32_63:32;
  3848. uint64_t port:32;
  3849. #else
  3850. uint64_t port:32;
  3851. uint64_t reserved_32_63:32;
  3852. #endif
  3853. } s;
  3854. struct cvmx_npei_pkt_time_int_enb_s cn52xx;
  3855. struct cvmx_npei_pkt_time_int_enb_s cn56xx;
  3856. };
  3857. union cvmx_npei_rsl_int_blocks {
  3858. uint64_t u64;
  3859. struct cvmx_npei_rsl_int_blocks_s {
  3860. #ifdef __BIG_ENDIAN_BITFIELD
  3861. uint64_t reserved_31_63:33;
  3862. uint64_t iob:1;
  3863. uint64_t lmc1:1;
  3864. uint64_t agl:1;
  3865. uint64_t reserved_24_27:4;
  3866. uint64_t asxpcs1:1;
  3867. uint64_t asxpcs0:1;
  3868. uint64_t reserved_21_21:1;
  3869. uint64_t pip:1;
  3870. uint64_t spx1:1;
  3871. uint64_t spx0:1;
  3872. uint64_t lmc0:1;
  3873. uint64_t l2c:1;
  3874. uint64_t usb1:1;
  3875. uint64_t rad:1;
  3876. uint64_t usb:1;
  3877. uint64_t pow:1;
  3878. uint64_t tim:1;
  3879. uint64_t pko:1;
  3880. uint64_t ipd:1;
  3881. uint64_t reserved_8_8:1;
  3882. uint64_t zip:1;
  3883. uint64_t dfa:1;
  3884. uint64_t fpa:1;
  3885. uint64_t key:1;
  3886. uint64_t npei:1;
  3887. uint64_t gmx1:1;
  3888. uint64_t gmx0:1;
  3889. uint64_t mio:1;
  3890. #else
  3891. uint64_t mio:1;
  3892. uint64_t gmx0:1;
  3893. uint64_t gmx1:1;
  3894. uint64_t npei:1;
  3895. uint64_t key:1;
  3896. uint64_t fpa:1;
  3897. uint64_t dfa:1;
  3898. uint64_t zip:1;
  3899. uint64_t reserved_8_8:1;
  3900. uint64_t ipd:1;
  3901. uint64_t pko:1;
  3902. uint64_t tim:1;
  3903. uint64_t pow:1;
  3904. uint64_t usb:1;
  3905. uint64_t rad:1;
  3906. uint64_t usb1:1;
  3907. uint64_t l2c:1;
  3908. uint64_t lmc0:1;
  3909. uint64_t spx0:1;
  3910. uint64_t spx1:1;
  3911. uint64_t pip:1;
  3912. uint64_t reserved_21_21:1;
  3913. uint64_t asxpcs0:1;
  3914. uint64_t asxpcs1:1;
  3915. uint64_t reserved_24_27:4;
  3916. uint64_t agl:1;
  3917. uint64_t lmc1:1;
  3918. uint64_t iob:1;
  3919. uint64_t reserved_31_63:33;
  3920. #endif
  3921. } s;
  3922. struct cvmx_npei_rsl_int_blocks_s cn52xx;
  3923. struct cvmx_npei_rsl_int_blocks_s cn52xxp1;
  3924. struct cvmx_npei_rsl_int_blocks_s cn56xx;
  3925. struct cvmx_npei_rsl_int_blocks_s cn56xxp1;
  3926. };
  3927. union cvmx_npei_scratch_1 {
  3928. uint64_t u64;
  3929. struct cvmx_npei_scratch_1_s {
  3930. #ifdef __BIG_ENDIAN_BITFIELD
  3931. uint64_t data:64;
  3932. #else
  3933. uint64_t data:64;
  3934. #endif
  3935. } s;
  3936. struct cvmx_npei_scratch_1_s cn52xx;
  3937. struct cvmx_npei_scratch_1_s cn52xxp1;
  3938. struct cvmx_npei_scratch_1_s cn56xx;
  3939. struct cvmx_npei_scratch_1_s cn56xxp1;
  3940. };
  3941. union cvmx_npei_state1 {
  3942. uint64_t u64;
  3943. struct cvmx_npei_state1_s {
  3944. #ifdef __BIG_ENDIAN_BITFIELD
  3945. uint64_t cpl1:12;
  3946. uint64_t cpl0:12;
  3947. uint64_t arb:1;
  3948. uint64_t csr:39;
  3949. #else
  3950. uint64_t csr:39;
  3951. uint64_t arb:1;
  3952. uint64_t cpl0:12;
  3953. uint64_t cpl1:12;
  3954. #endif
  3955. } s;
  3956. struct cvmx_npei_state1_s cn52xx;
  3957. struct cvmx_npei_state1_s cn52xxp1;
  3958. struct cvmx_npei_state1_s cn56xx;
  3959. struct cvmx_npei_state1_s cn56xxp1;
  3960. };
  3961. union cvmx_npei_state2 {
  3962. uint64_t u64;
  3963. struct cvmx_npei_state2_s {
  3964. #ifdef __BIG_ENDIAN_BITFIELD
  3965. uint64_t reserved_48_63:16;
  3966. uint64_t npei:1;
  3967. uint64_t rac:1;
  3968. uint64_t csm1:15;
  3969. uint64_t csm0:15;
  3970. uint64_t nnp0:8;
  3971. uint64_t nnd:8;
  3972. #else
  3973. uint64_t nnd:8;
  3974. uint64_t nnp0:8;
  3975. uint64_t csm0:15;
  3976. uint64_t csm1:15;
  3977. uint64_t rac:1;
  3978. uint64_t npei:1;
  3979. uint64_t reserved_48_63:16;
  3980. #endif
  3981. } s;
  3982. struct cvmx_npei_state2_s cn52xx;
  3983. struct cvmx_npei_state2_s cn52xxp1;
  3984. struct cvmx_npei_state2_s cn56xx;
  3985. struct cvmx_npei_state2_s cn56xxp1;
  3986. };
  3987. union cvmx_npei_state3 {
  3988. uint64_t u64;
  3989. struct cvmx_npei_state3_s {
  3990. #ifdef __BIG_ENDIAN_BITFIELD
  3991. uint64_t reserved_56_63:8;
  3992. uint64_t psm1:15;
  3993. uint64_t psm0:15;
  3994. uint64_t nsm1:13;
  3995. uint64_t nsm0:13;
  3996. #else
  3997. uint64_t nsm0:13;
  3998. uint64_t nsm1:13;
  3999. uint64_t psm0:15;
  4000. uint64_t psm1:15;
  4001. uint64_t reserved_56_63:8;
  4002. #endif
  4003. } s;
  4004. struct cvmx_npei_state3_s cn52xx;
  4005. struct cvmx_npei_state3_s cn52xxp1;
  4006. struct cvmx_npei_state3_s cn56xx;
  4007. struct cvmx_npei_state3_s cn56xxp1;
  4008. };
  4009. union cvmx_npei_win_rd_addr {
  4010. uint64_t u64;
  4011. struct cvmx_npei_win_rd_addr_s {
  4012. #ifdef __BIG_ENDIAN_BITFIELD
  4013. uint64_t reserved_51_63:13;
  4014. uint64_t ld_cmd:2;
  4015. uint64_t iobit:1;
  4016. uint64_t rd_addr:48;
  4017. #else
  4018. uint64_t rd_addr:48;
  4019. uint64_t iobit:1;
  4020. uint64_t ld_cmd:2;
  4021. uint64_t reserved_51_63:13;
  4022. #endif
  4023. } s;
  4024. struct cvmx_npei_win_rd_addr_s cn52xx;
  4025. struct cvmx_npei_win_rd_addr_s cn52xxp1;
  4026. struct cvmx_npei_win_rd_addr_s cn56xx;
  4027. struct cvmx_npei_win_rd_addr_s cn56xxp1;
  4028. };
  4029. union cvmx_npei_win_rd_data {
  4030. uint64_t u64;
  4031. struct cvmx_npei_win_rd_data_s {
  4032. #ifdef __BIG_ENDIAN_BITFIELD
  4033. uint64_t rd_data:64;
  4034. #else
  4035. uint64_t rd_data:64;
  4036. #endif
  4037. } s;
  4038. struct cvmx_npei_win_rd_data_s cn52xx;
  4039. struct cvmx_npei_win_rd_data_s cn52xxp1;
  4040. struct cvmx_npei_win_rd_data_s cn56xx;
  4041. struct cvmx_npei_win_rd_data_s cn56xxp1;
  4042. };
  4043. union cvmx_npei_win_wr_addr {
  4044. uint64_t u64;
  4045. struct cvmx_npei_win_wr_addr_s {
  4046. #ifdef __BIG_ENDIAN_BITFIELD
  4047. uint64_t reserved_49_63:15;
  4048. uint64_t iobit:1;
  4049. uint64_t wr_addr:46;
  4050. uint64_t reserved_0_1:2;
  4051. #else
  4052. uint64_t reserved_0_1:2;
  4053. uint64_t wr_addr:46;
  4054. uint64_t iobit:1;
  4055. uint64_t reserved_49_63:15;
  4056. #endif
  4057. } s;
  4058. struct cvmx_npei_win_wr_addr_s cn52xx;
  4059. struct cvmx_npei_win_wr_addr_s cn52xxp1;
  4060. struct cvmx_npei_win_wr_addr_s cn56xx;
  4061. struct cvmx_npei_win_wr_addr_s cn56xxp1;
  4062. };
  4063. union cvmx_npei_win_wr_data {
  4064. uint64_t u64;
  4065. struct cvmx_npei_win_wr_data_s {
  4066. #ifdef __BIG_ENDIAN_BITFIELD
  4067. uint64_t wr_data:64;
  4068. #else
  4069. uint64_t wr_data:64;
  4070. #endif
  4071. } s;
  4072. struct cvmx_npei_win_wr_data_s cn52xx;
  4073. struct cvmx_npei_win_wr_data_s cn52xxp1;
  4074. struct cvmx_npei_win_wr_data_s cn56xx;
  4075. struct cvmx_npei_win_wr_data_s cn56xxp1;
  4076. };
  4077. union cvmx_npei_win_wr_mask {
  4078. uint64_t u64;
  4079. struct cvmx_npei_win_wr_mask_s {
  4080. #ifdef __BIG_ENDIAN_BITFIELD
  4081. uint64_t reserved_8_63:56;
  4082. uint64_t wr_mask:8;
  4083. #else
  4084. uint64_t wr_mask:8;
  4085. uint64_t reserved_8_63:56;
  4086. #endif
  4087. } s;
  4088. struct cvmx_npei_win_wr_mask_s cn52xx;
  4089. struct cvmx_npei_win_wr_mask_s cn52xxp1;
  4090. struct cvmx_npei_win_wr_mask_s cn56xx;
  4091. struct cvmx_npei_win_wr_mask_s cn56xxp1;
  4092. };
  4093. union cvmx_npei_window_ctl {
  4094. uint64_t u64;
  4095. struct cvmx_npei_window_ctl_s {
  4096. #ifdef __BIG_ENDIAN_BITFIELD
  4097. uint64_t reserved_32_63:32;
  4098. uint64_t time:32;
  4099. #else
  4100. uint64_t time:32;
  4101. uint64_t reserved_32_63:32;
  4102. #endif
  4103. } s;
  4104. struct cvmx_npei_window_ctl_s cn52xx;
  4105. struct cvmx_npei_window_ctl_s cn52xxp1;
  4106. struct cvmx_npei_window_ctl_s cn56xx;
  4107. struct cvmx_npei_window_ctl_s cn56xxp1;
  4108. };
  4109. #endif