cvmx-sli-defs.h 86 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522
  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_SLI_DEFS_H__
  28. #define __CVMX_SLI_DEFS_H__
  29. #define CVMX_SLI_BIST_STATUS (0x0000000000000580ull)
  30. #define CVMX_SLI_CTL_PORTX(offset) (0x0000000000000050ull + ((offset) & 3) * 16)
  31. #define CVMX_SLI_CTL_STATUS (0x0000000000000570ull)
  32. #define CVMX_SLI_DATA_OUT_CNT (0x00000000000005F0ull)
  33. #define CVMX_SLI_DBG_DATA (0x0000000000000310ull)
  34. #define CVMX_SLI_DBG_SELECT (0x0000000000000300ull)
  35. #define CVMX_SLI_DMAX_CNT(offset) (0x0000000000000400ull + ((offset) & 1) * 16)
  36. #define CVMX_SLI_DMAX_INT_LEVEL(offset) (0x00000000000003E0ull + ((offset) & 1) * 16)
  37. #define CVMX_SLI_DMAX_TIM(offset) (0x0000000000000420ull + ((offset) & 1) * 16)
  38. #define CVMX_SLI_INT_ENB_CIU (0x0000000000003CD0ull)
  39. #define CVMX_SLI_INT_ENB_PORTX(offset) (0x0000000000000340ull + ((offset) & 1) * 16)
  40. #define CVMX_SLI_INT_SUM (0x0000000000000330ull)
  41. #define CVMX_SLI_LAST_WIN_RDATA0 (0x0000000000000600ull)
  42. #define CVMX_SLI_LAST_WIN_RDATA1 (0x0000000000000610ull)
  43. #define CVMX_SLI_LAST_WIN_RDATA2 (0x00000000000006C0ull)
  44. #define CVMX_SLI_LAST_WIN_RDATA3 (0x00000000000006D0ull)
  45. #define CVMX_SLI_MAC_CREDIT_CNT (0x0000000000003D70ull)
  46. #define CVMX_SLI_MAC_CREDIT_CNT2 (0x0000000000003E10ull)
  47. #define CVMX_SLI_MAC_NUMBER (0x0000000000003E00ull)
  48. #define CVMX_SLI_MEM_ACCESS_CTL (0x00000000000002F0ull)
  49. #define CVMX_SLI_MEM_ACCESS_SUBIDX(offset) (0x00000000000000E0ull + ((offset) & 31) * 16 - 16*12)
  50. #define CVMX_SLI_MSI_ENB0 (0x0000000000003C50ull)
  51. #define CVMX_SLI_MSI_ENB1 (0x0000000000003C60ull)
  52. #define CVMX_SLI_MSI_ENB2 (0x0000000000003C70ull)
  53. #define CVMX_SLI_MSI_ENB3 (0x0000000000003C80ull)
  54. #define CVMX_SLI_MSI_RCV0 (0x0000000000003C10ull)
  55. #define CVMX_SLI_MSI_RCV1 (0x0000000000003C20ull)
  56. #define CVMX_SLI_MSI_RCV2 (0x0000000000003C30ull)
  57. #define CVMX_SLI_MSI_RCV3 (0x0000000000003C40ull)
  58. #define CVMX_SLI_MSI_RD_MAP (0x0000000000003CA0ull)
  59. #define CVMX_SLI_MSI_W1C_ENB0 (0x0000000000003CF0ull)
  60. #define CVMX_SLI_MSI_W1C_ENB1 (0x0000000000003D00ull)
  61. #define CVMX_SLI_MSI_W1C_ENB2 (0x0000000000003D10ull)
  62. #define CVMX_SLI_MSI_W1C_ENB3 (0x0000000000003D20ull)
  63. #define CVMX_SLI_MSI_W1S_ENB0 (0x0000000000003D30ull)
  64. #define CVMX_SLI_MSI_W1S_ENB1 (0x0000000000003D40ull)
  65. #define CVMX_SLI_MSI_W1S_ENB2 (0x0000000000003D50ull)
  66. #define CVMX_SLI_MSI_W1S_ENB3 (0x0000000000003D60ull)
  67. #define CVMX_SLI_MSI_WR_MAP (0x0000000000003C90ull)
  68. #define CVMX_SLI_PCIE_MSI_RCV (0x0000000000003CB0ull)
  69. #define CVMX_SLI_PCIE_MSI_RCV_B1 (0x0000000000000650ull)
  70. #define CVMX_SLI_PCIE_MSI_RCV_B2 (0x0000000000000660ull)
  71. #define CVMX_SLI_PCIE_MSI_RCV_B3 (0x0000000000000670ull)
  72. #define CVMX_SLI_PKTX_CNTS(offset) (0x0000000000002400ull + ((offset) & 31) * 16)
  73. #define CVMX_SLI_PKTX_INSTR_BADDR(offset) (0x0000000000002800ull + ((offset) & 31) * 16)
  74. #define CVMX_SLI_PKTX_INSTR_BAOFF_DBELL(offset) (0x0000000000002C00ull + ((offset) & 31) * 16)
  75. #define CVMX_SLI_PKTX_INSTR_FIFO_RSIZE(offset) (0x0000000000003000ull + ((offset) & 31) * 16)
  76. #define CVMX_SLI_PKTX_INSTR_HEADER(offset) (0x0000000000003400ull + ((offset) & 31) * 16)
  77. #define CVMX_SLI_PKTX_IN_BP(offset) (0x0000000000003800ull + ((offset) & 31) * 16)
  78. #define CVMX_SLI_PKTX_OUT_SIZE(offset) (0x0000000000000C00ull + ((offset) & 31) * 16)
  79. #define CVMX_SLI_PKTX_SLIST_BADDR(offset) (0x0000000000001400ull + ((offset) & 31) * 16)
  80. #define CVMX_SLI_PKTX_SLIST_BAOFF_DBELL(offset) (0x0000000000001800ull + ((offset) & 31) * 16)
  81. #define CVMX_SLI_PKTX_SLIST_FIFO_RSIZE(offset) (0x0000000000001C00ull + ((offset) & 31) * 16)
  82. #define CVMX_SLI_PKT_CNT_INT (0x0000000000001130ull)
  83. #define CVMX_SLI_PKT_CNT_INT_ENB (0x0000000000001150ull)
  84. #define CVMX_SLI_PKT_CTL (0x0000000000001220ull)
  85. #define CVMX_SLI_PKT_DATA_OUT_ES (0x00000000000010B0ull)
  86. #define CVMX_SLI_PKT_DATA_OUT_NS (0x00000000000010A0ull)
  87. #define CVMX_SLI_PKT_DATA_OUT_ROR (0x0000000000001090ull)
  88. #define CVMX_SLI_PKT_DPADDR (0x0000000000001080ull)
  89. #define CVMX_SLI_PKT_INPUT_CONTROL (0x0000000000001170ull)
  90. #define CVMX_SLI_PKT_INSTR_ENB (0x0000000000001000ull)
  91. #define CVMX_SLI_PKT_INSTR_RD_SIZE (0x00000000000011A0ull)
  92. #define CVMX_SLI_PKT_INSTR_SIZE (0x0000000000001020ull)
  93. #define CVMX_SLI_PKT_INT_LEVELS (0x0000000000001120ull)
  94. #define CVMX_SLI_PKT_IN_BP (0x0000000000001210ull)
  95. #define CVMX_SLI_PKT_IN_DONEX_CNTS(offset) (0x0000000000002000ull + ((offset) & 31) * 16)
  96. #define CVMX_SLI_PKT_IN_INSTR_COUNTS (0x0000000000001200ull)
  97. #define CVMX_SLI_PKT_IN_PCIE_PORT (0x00000000000011B0ull)
  98. #define CVMX_SLI_PKT_IPTR (0x0000000000001070ull)
  99. #define CVMX_SLI_PKT_OUTPUT_WMARK (0x0000000000001180ull)
  100. #define CVMX_SLI_PKT_OUT_BMODE (0x00000000000010D0ull)
  101. #define CVMX_SLI_PKT_OUT_BP_EN (0x0000000000001240ull)
  102. #define CVMX_SLI_PKT_OUT_ENB (0x0000000000001010ull)
  103. #define CVMX_SLI_PKT_PCIE_PORT (0x00000000000010E0ull)
  104. #define CVMX_SLI_PKT_PORT_IN_RST (0x00000000000011F0ull)
  105. #define CVMX_SLI_PKT_SLIST_ES (0x0000000000001050ull)
  106. #define CVMX_SLI_PKT_SLIST_NS (0x0000000000001040ull)
  107. #define CVMX_SLI_PKT_SLIST_ROR (0x0000000000001030ull)
  108. #define CVMX_SLI_PKT_TIME_INT (0x0000000000001140ull)
  109. #define CVMX_SLI_PKT_TIME_INT_ENB (0x0000000000001160ull)
  110. #define CVMX_SLI_PORTX_PKIND(offset) (0x0000000000000800ull + ((offset) & 31) * 16)
  111. #define CVMX_SLI_S2M_PORTX_CTL(offset) (0x0000000000003D80ull + ((offset) & 3) * 16)
  112. #define CVMX_SLI_SCRATCH_1 (0x00000000000003C0ull)
  113. #define CVMX_SLI_SCRATCH_2 (0x00000000000003D0ull)
  114. #define CVMX_SLI_STATE1 (0x0000000000000620ull)
  115. #define CVMX_SLI_STATE2 (0x0000000000000630ull)
  116. #define CVMX_SLI_STATE3 (0x0000000000000640ull)
  117. #define CVMX_SLI_TX_PIPE (0x0000000000001230ull)
  118. #define CVMX_SLI_WINDOW_CTL (0x00000000000002E0ull)
  119. #define CVMX_SLI_WIN_RD_ADDR (0x0000000000000010ull)
  120. #define CVMX_SLI_WIN_RD_DATA (0x0000000000000040ull)
  121. #define CVMX_SLI_WIN_WR_ADDR (0x0000000000000000ull)
  122. #define CVMX_SLI_WIN_WR_DATA (0x0000000000000020ull)
  123. #define CVMX_SLI_WIN_WR_MASK (0x0000000000000030ull)
  124. union cvmx_sli_bist_status {
  125. uint64_t u64;
  126. struct cvmx_sli_bist_status_s {
  127. #ifdef __BIG_ENDIAN_BITFIELD
  128. uint64_t reserved_32_63:32;
  129. uint64_t ncb_req:1;
  130. uint64_t n2p0_c:1;
  131. uint64_t n2p0_o:1;
  132. uint64_t n2p1_c:1;
  133. uint64_t n2p1_o:1;
  134. uint64_t cpl_p0:1;
  135. uint64_t cpl_p1:1;
  136. uint64_t reserved_19_24:6;
  137. uint64_t p2n0_c0:1;
  138. uint64_t p2n0_c1:1;
  139. uint64_t p2n0_n:1;
  140. uint64_t p2n0_p0:1;
  141. uint64_t p2n0_p1:1;
  142. uint64_t p2n1_c0:1;
  143. uint64_t p2n1_c1:1;
  144. uint64_t p2n1_n:1;
  145. uint64_t p2n1_p0:1;
  146. uint64_t p2n1_p1:1;
  147. uint64_t reserved_6_8:3;
  148. uint64_t dsi1_1:1;
  149. uint64_t dsi1_0:1;
  150. uint64_t dsi0_1:1;
  151. uint64_t dsi0_0:1;
  152. uint64_t msi:1;
  153. uint64_t ncb_cmd:1;
  154. #else
  155. uint64_t ncb_cmd:1;
  156. uint64_t msi:1;
  157. uint64_t dsi0_0:1;
  158. uint64_t dsi0_1:1;
  159. uint64_t dsi1_0:1;
  160. uint64_t dsi1_1:1;
  161. uint64_t reserved_6_8:3;
  162. uint64_t p2n1_p1:1;
  163. uint64_t p2n1_p0:1;
  164. uint64_t p2n1_n:1;
  165. uint64_t p2n1_c1:1;
  166. uint64_t p2n1_c0:1;
  167. uint64_t p2n0_p1:1;
  168. uint64_t p2n0_p0:1;
  169. uint64_t p2n0_n:1;
  170. uint64_t p2n0_c1:1;
  171. uint64_t p2n0_c0:1;
  172. uint64_t reserved_19_24:6;
  173. uint64_t cpl_p1:1;
  174. uint64_t cpl_p0:1;
  175. uint64_t n2p1_o:1;
  176. uint64_t n2p1_c:1;
  177. uint64_t n2p0_o:1;
  178. uint64_t n2p0_c:1;
  179. uint64_t ncb_req:1;
  180. uint64_t reserved_32_63:32;
  181. #endif
  182. } s;
  183. struct cvmx_sli_bist_status_cn61xx {
  184. #ifdef __BIG_ENDIAN_BITFIELD
  185. uint64_t reserved_31_63:33;
  186. uint64_t n2p0_c:1;
  187. uint64_t n2p0_o:1;
  188. uint64_t reserved_27_28:2;
  189. uint64_t cpl_p0:1;
  190. uint64_t cpl_p1:1;
  191. uint64_t reserved_19_24:6;
  192. uint64_t p2n0_c0:1;
  193. uint64_t p2n0_c1:1;
  194. uint64_t p2n0_n:1;
  195. uint64_t p2n0_p0:1;
  196. uint64_t p2n0_p1:1;
  197. uint64_t p2n1_c0:1;
  198. uint64_t p2n1_c1:1;
  199. uint64_t p2n1_n:1;
  200. uint64_t p2n1_p0:1;
  201. uint64_t p2n1_p1:1;
  202. uint64_t reserved_6_8:3;
  203. uint64_t dsi1_1:1;
  204. uint64_t dsi1_0:1;
  205. uint64_t dsi0_1:1;
  206. uint64_t dsi0_0:1;
  207. uint64_t msi:1;
  208. uint64_t ncb_cmd:1;
  209. #else
  210. uint64_t ncb_cmd:1;
  211. uint64_t msi:1;
  212. uint64_t dsi0_0:1;
  213. uint64_t dsi0_1:1;
  214. uint64_t dsi1_0:1;
  215. uint64_t dsi1_1:1;
  216. uint64_t reserved_6_8:3;
  217. uint64_t p2n1_p1:1;
  218. uint64_t p2n1_p0:1;
  219. uint64_t p2n1_n:1;
  220. uint64_t p2n1_c1:1;
  221. uint64_t p2n1_c0:1;
  222. uint64_t p2n0_p1:1;
  223. uint64_t p2n0_p0:1;
  224. uint64_t p2n0_n:1;
  225. uint64_t p2n0_c1:1;
  226. uint64_t p2n0_c0:1;
  227. uint64_t reserved_19_24:6;
  228. uint64_t cpl_p1:1;
  229. uint64_t cpl_p0:1;
  230. uint64_t reserved_27_28:2;
  231. uint64_t n2p0_o:1;
  232. uint64_t n2p0_c:1;
  233. uint64_t reserved_31_63:33;
  234. #endif
  235. } cn61xx;
  236. struct cvmx_sli_bist_status_cn63xx {
  237. #ifdef __BIG_ENDIAN_BITFIELD
  238. uint64_t reserved_31_63:33;
  239. uint64_t n2p0_c:1;
  240. uint64_t n2p0_o:1;
  241. uint64_t n2p1_c:1;
  242. uint64_t n2p1_o:1;
  243. uint64_t cpl_p0:1;
  244. uint64_t cpl_p1:1;
  245. uint64_t reserved_19_24:6;
  246. uint64_t p2n0_c0:1;
  247. uint64_t p2n0_c1:1;
  248. uint64_t p2n0_n:1;
  249. uint64_t p2n0_p0:1;
  250. uint64_t p2n0_p1:1;
  251. uint64_t p2n1_c0:1;
  252. uint64_t p2n1_c1:1;
  253. uint64_t p2n1_n:1;
  254. uint64_t p2n1_p0:1;
  255. uint64_t p2n1_p1:1;
  256. uint64_t reserved_6_8:3;
  257. uint64_t dsi1_1:1;
  258. uint64_t dsi1_0:1;
  259. uint64_t dsi0_1:1;
  260. uint64_t dsi0_0:1;
  261. uint64_t msi:1;
  262. uint64_t ncb_cmd:1;
  263. #else
  264. uint64_t ncb_cmd:1;
  265. uint64_t msi:1;
  266. uint64_t dsi0_0:1;
  267. uint64_t dsi0_1:1;
  268. uint64_t dsi1_0:1;
  269. uint64_t dsi1_1:1;
  270. uint64_t reserved_6_8:3;
  271. uint64_t p2n1_p1:1;
  272. uint64_t p2n1_p0:1;
  273. uint64_t p2n1_n:1;
  274. uint64_t p2n1_c1:1;
  275. uint64_t p2n1_c0:1;
  276. uint64_t p2n0_p1:1;
  277. uint64_t p2n0_p0:1;
  278. uint64_t p2n0_n:1;
  279. uint64_t p2n0_c1:1;
  280. uint64_t p2n0_c0:1;
  281. uint64_t reserved_19_24:6;
  282. uint64_t cpl_p1:1;
  283. uint64_t cpl_p0:1;
  284. uint64_t n2p1_o:1;
  285. uint64_t n2p1_c:1;
  286. uint64_t n2p0_o:1;
  287. uint64_t n2p0_c:1;
  288. uint64_t reserved_31_63:33;
  289. #endif
  290. } cn63xx;
  291. struct cvmx_sli_bist_status_cn63xx cn63xxp1;
  292. struct cvmx_sli_bist_status_cn61xx cn66xx;
  293. struct cvmx_sli_bist_status_s cn68xx;
  294. struct cvmx_sli_bist_status_s cn68xxp1;
  295. struct cvmx_sli_bist_status_cn61xx cnf71xx;
  296. };
  297. union cvmx_sli_ctl_portx {
  298. uint64_t u64;
  299. struct cvmx_sli_ctl_portx_s {
  300. #ifdef __BIG_ENDIAN_BITFIELD
  301. uint64_t reserved_22_63:42;
  302. uint64_t intd:1;
  303. uint64_t intc:1;
  304. uint64_t intb:1;
  305. uint64_t inta:1;
  306. uint64_t dis_port:1;
  307. uint64_t waitl_com:1;
  308. uint64_t intd_map:2;
  309. uint64_t intc_map:2;
  310. uint64_t intb_map:2;
  311. uint64_t inta_map:2;
  312. uint64_t ctlp_ro:1;
  313. uint64_t reserved_6_6:1;
  314. uint64_t ptlp_ro:1;
  315. uint64_t reserved_1_4:4;
  316. uint64_t wait_com:1;
  317. #else
  318. uint64_t wait_com:1;
  319. uint64_t reserved_1_4:4;
  320. uint64_t ptlp_ro:1;
  321. uint64_t reserved_6_6:1;
  322. uint64_t ctlp_ro:1;
  323. uint64_t inta_map:2;
  324. uint64_t intb_map:2;
  325. uint64_t intc_map:2;
  326. uint64_t intd_map:2;
  327. uint64_t waitl_com:1;
  328. uint64_t dis_port:1;
  329. uint64_t inta:1;
  330. uint64_t intb:1;
  331. uint64_t intc:1;
  332. uint64_t intd:1;
  333. uint64_t reserved_22_63:42;
  334. #endif
  335. } s;
  336. struct cvmx_sli_ctl_portx_s cn61xx;
  337. struct cvmx_sli_ctl_portx_s cn63xx;
  338. struct cvmx_sli_ctl_portx_s cn63xxp1;
  339. struct cvmx_sli_ctl_portx_s cn66xx;
  340. struct cvmx_sli_ctl_portx_s cn68xx;
  341. struct cvmx_sli_ctl_portx_s cn68xxp1;
  342. struct cvmx_sli_ctl_portx_s cnf71xx;
  343. };
  344. union cvmx_sli_ctl_status {
  345. uint64_t u64;
  346. struct cvmx_sli_ctl_status_s {
  347. #ifdef __BIG_ENDIAN_BITFIELD
  348. uint64_t reserved_20_63:44;
  349. uint64_t p1_ntags:6;
  350. uint64_t p0_ntags:6;
  351. uint64_t chip_rev:8;
  352. #else
  353. uint64_t chip_rev:8;
  354. uint64_t p0_ntags:6;
  355. uint64_t p1_ntags:6;
  356. uint64_t reserved_20_63:44;
  357. #endif
  358. } s;
  359. struct cvmx_sli_ctl_status_cn61xx {
  360. #ifdef __BIG_ENDIAN_BITFIELD
  361. uint64_t reserved_14_63:50;
  362. uint64_t p0_ntags:6;
  363. uint64_t chip_rev:8;
  364. #else
  365. uint64_t chip_rev:8;
  366. uint64_t p0_ntags:6;
  367. uint64_t reserved_14_63:50;
  368. #endif
  369. } cn61xx;
  370. struct cvmx_sli_ctl_status_s cn63xx;
  371. struct cvmx_sli_ctl_status_s cn63xxp1;
  372. struct cvmx_sli_ctl_status_cn61xx cn66xx;
  373. struct cvmx_sli_ctl_status_s cn68xx;
  374. struct cvmx_sli_ctl_status_s cn68xxp1;
  375. struct cvmx_sli_ctl_status_cn61xx cnf71xx;
  376. };
  377. union cvmx_sli_data_out_cnt {
  378. uint64_t u64;
  379. struct cvmx_sli_data_out_cnt_s {
  380. #ifdef __BIG_ENDIAN_BITFIELD
  381. uint64_t reserved_44_63:20;
  382. uint64_t p1_ucnt:16;
  383. uint64_t p1_fcnt:6;
  384. uint64_t p0_ucnt:16;
  385. uint64_t p0_fcnt:6;
  386. #else
  387. uint64_t p0_fcnt:6;
  388. uint64_t p0_ucnt:16;
  389. uint64_t p1_fcnt:6;
  390. uint64_t p1_ucnt:16;
  391. uint64_t reserved_44_63:20;
  392. #endif
  393. } s;
  394. struct cvmx_sli_data_out_cnt_s cn61xx;
  395. struct cvmx_sli_data_out_cnt_s cn63xx;
  396. struct cvmx_sli_data_out_cnt_s cn63xxp1;
  397. struct cvmx_sli_data_out_cnt_s cn66xx;
  398. struct cvmx_sli_data_out_cnt_s cn68xx;
  399. struct cvmx_sli_data_out_cnt_s cn68xxp1;
  400. struct cvmx_sli_data_out_cnt_s cnf71xx;
  401. };
  402. union cvmx_sli_dbg_data {
  403. uint64_t u64;
  404. struct cvmx_sli_dbg_data_s {
  405. #ifdef __BIG_ENDIAN_BITFIELD
  406. uint64_t reserved_18_63:46;
  407. uint64_t dsel_ext:1;
  408. uint64_t data:17;
  409. #else
  410. uint64_t data:17;
  411. uint64_t dsel_ext:1;
  412. uint64_t reserved_18_63:46;
  413. #endif
  414. } s;
  415. struct cvmx_sli_dbg_data_s cn61xx;
  416. struct cvmx_sli_dbg_data_s cn63xx;
  417. struct cvmx_sli_dbg_data_s cn63xxp1;
  418. struct cvmx_sli_dbg_data_s cn66xx;
  419. struct cvmx_sli_dbg_data_s cn68xx;
  420. struct cvmx_sli_dbg_data_s cn68xxp1;
  421. struct cvmx_sli_dbg_data_s cnf71xx;
  422. };
  423. union cvmx_sli_dbg_select {
  424. uint64_t u64;
  425. struct cvmx_sli_dbg_select_s {
  426. #ifdef __BIG_ENDIAN_BITFIELD
  427. uint64_t reserved_33_63:31;
  428. uint64_t adbg_sel:1;
  429. uint64_t dbg_sel:32;
  430. #else
  431. uint64_t dbg_sel:32;
  432. uint64_t adbg_sel:1;
  433. uint64_t reserved_33_63:31;
  434. #endif
  435. } s;
  436. struct cvmx_sli_dbg_select_s cn61xx;
  437. struct cvmx_sli_dbg_select_s cn63xx;
  438. struct cvmx_sli_dbg_select_s cn63xxp1;
  439. struct cvmx_sli_dbg_select_s cn66xx;
  440. struct cvmx_sli_dbg_select_s cn68xx;
  441. struct cvmx_sli_dbg_select_s cn68xxp1;
  442. struct cvmx_sli_dbg_select_s cnf71xx;
  443. };
  444. union cvmx_sli_dmax_cnt {
  445. uint64_t u64;
  446. struct cvmx_sli_dmax_cnt_s {
  447. #ifdef __BIG_ENDIAN_BITFIELD
  448. uint64_t reserved_32_63:32;
  449. uint64_t cnt:32;
  450. #else
  451. uint64_t cnt:32;
  452. uint64_t reserved_32_63:32;
  453. #endif
  454. } s;
  455. struct cvmx_sli_dmax_cnt_s cn61xx;
  456. struct cvmx_sli_dmax_cnt_s cn63xx;
  457. struct cvmx_sli_dmax_cnt_s cn63xxp1;
  458. struct cvmx_sli_dmax_cnt_s cn66xx;
  459. struct cvmx_sli_dmax_cnt_s cn68xx;
  460. struct cvmx_sli_dmax_cnt_s cn68xxp1;
  461. struct cvmx_sli_dmax_cnt_s cnf71xx;
  462. };
  463. union cvmx_sli_dmax_int_level {
  464. uint64_t u64;
  465. struct cvmx_sli_dmax_int_level_s {
  466. #ifdef __BIG_ENDIAN_BITFIELD
  467. uint64_t time:32;
  468. uint64_t cnt:32;
  469. #else
  470. uint64_t cnt:32;
  471. uint64_t time:32;
  472. #endif
  473. } s;
  474. struct cvmx_sli_dmax_int_level_s cn61xx;
  475. struct cvmx_sli_dmax_int_level_s cn63xx;
  476. struct cvmx_sli_dmax_int_level_s cn63xxp1;
  477. struct cvmx_sli_dmax_int_level_s cn66xx;
  478. struct cvmx_sli_dmax_int_level_s cn68xx;
  479. struct cvmx_sli_dmax_int_level_s cn68xxp1;
  480. struct cvmx_sli_dmax_int_level_s cnf71xx;
  481. };
  482. union cvmx_sli_dmax_tim {
  483. uint64_t u64;
  484. struct cvmx_sli_dmax_tim_s {
  485. #ifdef __BIG_ENDIAN_BITFIELD
  486. uint64_t reserved_32_63:32;
  487. uint64_t tim:32;
  488. #else
  489. uint64_t tim:32;
  490. uint64_t reserved_32_63:32;
  491. #endif
  492. } s;
  493. struct cvmx_sli_dmax_tim_s cn61xx;
  494. struct cvmx_sli_dmax_tim_s cn63xx;
  495. struct cvmx_sli_dmax_tim_s cn63xxp1;
  496. struct cvmx_sli_dmax_tim_s cn66xx;
  497. struct cvmx_sli_dmax_tim_s cn68xx;
  498. struct cvmx_sli_dmax_tim_s cn68xxp1;
  499. struct cvmx_sli_dmax_tim_s cnf71xx;
  500. };
  501. union cvmx_sli_int_enb_ciu {
  502. uint64_t u64;
  503. struct cvmx_sli_int_enb_ciu_s {
  504. #ifdef __BIG_ENDIAN_BITFIELD
  505. uint64_t reserved_62_63:2;
  506. uint64_t pipe_err:1;
  507. uint64_t ill_pad:1;
  508. uint64_t sprt3_err:1;
  509. uint64_t sprt2_err:1;
  510. uint64_t sprt1_err:1;
  511. uint64_t sprt0_err:1;
  512. uint64_t pins_err:1;
  513. uint64_t pop_err:1;
  514. uint64_t pdi_err:1;
  515. uint64_t pgl_err:1;
  516. uint64_t pin_bp:1;
  517. uint64_t pout_err:1;
  518. uint64_t psldbof:1;
  519. uint64_t pidbof:1;
  520. uint64_t reserved_38_47:10;
  521. uint64_t dtime:2;
  522. uint64_t dcnt:2;
  523. uint64_t dmafi:2;
  524. uint64_t reserved_28_31:4;
  525. uint64_t m3_un_wi:1;
  526. uint64_t m3_un_b0:1;
  527. uint64_t m3_up_wi:1;
  528. uint64_t m3_up_b0:1;
  529. uint64_t m2_un_wi:1;
  530. uint64_t m2_un_b0:1;
  531. uint64_t m2_up_wi:1;
  532. uint64_t m2_up_b0:1;
  533. uint64_t reserved_18_19:2;
  534. uint64_t mio_int1:1;
  535. uint64_t mio_int0:1;
  536. uint64_t m1_un_wi:1;
  537. uint64_t m1_un_b0:1;
  538. uint64_t m1_up_wi:1;
  539. uint64_t m1_up_b0:1;
  540. uint64_t m0_un_wi:1;
  541. uint64_t m0_un_b0:1;
  542. uint64_t m0_up_wi:1;
  543. uint64_t m0_up_b0:1;
  544. uint64_t reserved_6_7:2;
  545. uint64_t ptime:1;
  546. uint64_t pcnt:1;
  547. uint64_t iob2big:1;
  548. uint64_t bar0_to:1;
  549. uint64_t reserved_1_1:1;
  550. uint64_t rml_to:1;
  551. #else
  552. uint64_t rml_to:1;
  553. uint64_t reserved_1_1:1;
  554. uint64_t bar0_to:1;
  555. uint64_t iob2big:1;
  556. uint64_t pcnt:1;
  557. uint64_t ptime:1;
  558. uint64_t reserved_6_7:2;
  559. uint64_t m0_up_b0:1;
  560. uint64_t m0_up_wi:1;
  561. uint64_t m0_un_b0:1;
  562. uint64_t m0_un_wi:1;
  563. uint64_t m1_up_b0:1;
  564. uint64_t m1_up_wi:1;
  565. uint64_t m1_un_b0:1;
  566. uint64_t m1_un_wi:1;
  567. uint64_t mio_int0:1;
  568. uint64_t mio_int1:1;
  569. uint64_t reserved_18_19:2;
  570. uint64_t m2_up_b0:1;
  571. uint64_t m2_up_wi:1;
  572. uint64_t m2_un_b0:1;
  573. uint64_t m2_un_wi:1;
  574. uint64_t m3_up_b0:1;
  575. uint64_t m3_up_wi:1;
  576. uint64_t m3_un_b0:1;
  577. uint64_t m3_un_wi:1;
  578. uint64_t reserved_28_31:4;
  579. uint64_t dmafi:2;
  580. uint64_t dcnt:2;
  581. uint64_t dtime:2;
  582. uint64_t reserved_38_47:10;
  583. uint64_t pidbof:1;
  584. uint64_t psldbof:1;
  585. uint64_t pout_err:1;
  586. uint64_t pin_bp:1;
  587. uint64_t pgl_err:1;
  588. uint64_t pdi_err:1;
  589. uint64_t pop_err:1;
  590. uint64_t pins_err:1;
  591. uint64_t sprt0_err:1;
  592. uint64_t sprt1_err:1;
  593. uint64_t sprt2_err:1;
  594. uint64_t sprt3_err:1;
  595. uint64_t ill_pad:1;
  596. uint64_t pipe_err:1;
  597. uint64_t reserved_62_63:2;
  598. #endif
  599. } s;
  600. struct cvmx_sli_int_enb_ciu_cn61xx {
  601. #ifdef __BIG_ENDIAN_BITFIELD
  602. uint64_t reserved_61_63:3;
  603. uint64_t ill_pad:1;
  604. uint64_t sprt3_err:1;
  605. uint64_t sprt2_err:1;
  606. uint64_t sprt1_err:1;
  607. uint64_t sprt0_err:1;
  608. uint64_t pins_err:1;
  609. uint64_t pop_err:1;
  610. uint64_t pdi_err:1;
  611. uint64_t pgl_err:1;
  612. uint64_t pin_bp:1;
  613. uint64_t pout_err:1;
  614. uint64_t psldbof:1;
  615. uint64_t pidbof:1;
  616. uint64_t reserved_38_47:10;
  617. uint64_t dtime:2;
  618. uint64_t dcnt:2;
  619. uint64_t dmafi:2;
  620. uint64_t reserved_28_31:4;
  621. uint64_t m3_un_wi:1;
  622. uint64_t m3_un_b0:1;
  623. uint64_t m3_up_wi:1;
  624. uint64_t m3_up_b0:1;
  625. uint64_t m2_un_wi:1;
  626. uint64_t m2_un_b0:1;
  627. uint64_t m2_up_wi:1;
  628. uint64_t m2_up_b0:1;
  629. uint64_t reserved_18_19:2;
  630. uint64_t mio_int1:1;
  631. uint64_t mio_int0:1;
  632. uint64_t m1_un_wi:1;
  633. uint64_t m1_un_b0:1;
  634. uint64_t m1_up_wi:1;
  635. uint64_t m1_up_b0:1;
  636. uint64_t m0_un_wi:1;
  637. uint64_t m0_un_b0:1;
  638. uint64_t m0_up_wi:1;
  639. uint64_t m0_up_b0:1;
  640. uint64_t reserved_6_7:2;
  641. uint64_t ptime:1;
  642. uint64_t pcnt:1;
  643. uint64_t iob2big:1;
  644. uint64_t bar0_to:1;
  645. uint64_t reserved_1_1:1;
  646. uint64_t rml_to:1;
  647. #else
  648. uint64_t rml_to:1;
  649. uint64_t reserved_1_1:1;
  650. uint64_t bar0_to:1;
  651. uint64_t iob2big:1;
  652. uint64_t pcnt:1;
  653. uint64_t ptime:1;
  654. uint64_t reserved_6_7:2;
  655. uint64_t m0_up_b0:1;
  656. uint64_t m0_up_wi:1;
  657. uint64_t m0_un_b0:1;
  658. uint64_t m0_un_wi:1;
  659. uint64_t m1_up_b0:1;
  660. uint64_t m1_up_wi:1;
  661. uint64_t m1_un_b0:1;
  662. uint64_t m1_un_wi:1;
  663. uint64_t mio_int0:1;
  664. uint64_t mio_int1:1;
  665. uint64_t reserved_18_19:2;
  666. uint64_t m2_up_b0:1;
  667. uint64_t m2_up_wi:1;
  668. uint64_t m2_un_b0:1;
  669. uint64_t m2_un_wi:1;
  670. uint64_t m3_up_b0:1;
  671. uint64_t m3_up_wi:1;
  672. uint64_t m3_un_b0:1;
  673. uint64_t m3_un_wi:1;
  674. uint64_t reserved_28_31:4;
  675. uint64_t dmafi:2;
  676. uint64_t dcnt:2;
  677. uint64_t dtime:2;
  678. uint64_t reserved_38_47:10;
  679. uint64_t pidbof:1;
  680. uint64_t psldbof:1;
  681. uint64_t pout_err:1;
  682. uint64_t pin_bp:1;
  683. uint64_t pgl_err:1;
  684. uint64_t pdi_err:1;
  685. uint64_t pop_err:1;
  686. uint64_t pins_err:1;
  687. uint64_t sprt0_err:1;
  688. uint64_t sprt1_err:1;
  689. uint64_t sprt2_err:1;
  690. uint64_t sprt3_err:1;
  691. uint64_t ill_pad:1;
  692. uint64_t reserved_61_63:3;
  693. #endif
  694. } cn61xx;
  695. struct cvmx_sli_int_enb_ciu_cn63xx {
  696. #ifdef __BIG_ENDIAN_BITFIELD
  697. uint64_t reserved_61_63:3;
  698. uint64_t ill_pad:1;
  699. uint64_t reserved_58_59:2;
  700. uint64_t sprt1_err:1;
  701. uint64_t sprt0_err:1;
  702. uint64_t pins_err:1;
  703. uint64_t pop_err:1;
  704. uint64_t pdi_err:1;
  705. uint64_t pgl_err:1;
  706. uint64_t pin_bp:1;
  707. uint64_t pout_err:1;
  708. uint64_t psldbof:1;
  709. uint64_t pidbof:1;
  710. uint64_t reserved_38_47:10;
  711. uint64_t dtime:2;
  712. uint64_t dcnt:2;
  713. uint64_t dmafi:2;
  714. uint64_t reserved_18_31:14;
  715. uint64_t mio_int1:1;
  716. uint64_t mio_int0:1;
  717. uint64_t m1_un_wi:1;
  718. uint64_t m1_un_b0:1;
  719. uint64_t m1_up_wi:1;
  720. uint64_t m1_up_b0:1;
  721. uint64_t m0_un_wi:1;
  722. uint64_t m0_un_b0:1;
  723. uint64_t m0_up_wi:1;
  724. uint64_t m0_up_b0:1;
  725. uint64_t reserved_6_7:2;
  726. uint64_t ptime:1;
  727. uint64_t pcnt:1;
  728. uint64_t iob2big:1;
  729. uint64_t bar0_to:1;
  730. uint64_t reserved_1_1:1;
  731. uint64_t rml_to:1;
  732. #else
  733. uint64_t rml_to:1;
  734. uint64_t reserved_1_1:1;
  735. uint64_t bar0_to:1;
  736. uint64_t iob2big:1;
  737. uint64_t pcnt:1;
  738. uint64_t ptime:1;
  739. uint64_t reserved_6_7:2;
  740. uint64_t m0_up_b0:1;
  741. uint64_t m0_up_wi:1;
  742. uint64_t m0_un_b0:1;
  743. uint64_t m0_un_wi:1;
  744. uint64_t m1_up_b0:1;
  745. uint64_t m1_up_wi:1;
  746. uint64_t m1_un_b0:1;
  747. uint64_t m1_un_wi:1;
  748. uint64_t mio_int0:1;
  749. uint64_t mio_int1:1;
  750. uint64_t reserved_18_31:14;
  751. uint64_t dmafi:2;
  752. uint64_t dcnt:2;
  753. uint64_t dtime:2;
  754. uint64_t reserved_38_47:10;
  755. uint64_t pidbof:1;
  756. uint64_t psldbof:1;
  757. uint64_t pout_err:1;
  758. uint64_t pin_bp:1;
  759. uint64_t pgl_err:1;
  760. uint64_t pdi_err:1;
  761. uint64_t pop_err:1;
  762. uint64_t pins_err:1;
  763. uint64_t sprt0_err:1;
  764. uint64_t sprt1_err:1;
  765. uint64_t reserved_58_59:2;
  766. uint64_t ill_pad:1;
  767. uint64_t reserved_61_63:3;
  768. #endif
  769. } cn63xx;
  770. struct cvmx_sli_int_enb_ciu_cn63xx cn63xxp1;
  771. struct cvmx_sli_int_enb_ciu_cn61xx cn66xx;
  772. struct cvmx_sli_int_enb_ciu_cn68xx {
  773. #ifdef __BIG_ENDIAN_BITFIELD
  774. uint64_t reserved_62_63:2;
  775. uint64_t pipe_err:1;
  776. uint64_t ill_pad:1;
  777. uint64_t reserved_58_59:2;
  778. uint64_t sprt1_err:1;
  779. uint64_t sprt0_err:1;
  780. uint64_t pins_err:1;
  781. uint64_t pop_err:1;
  782. uint64_t pdi_err:1;
  783. uint64_t pgl_err:1;
  784. uint64_t reserved_51_51:1;
  785. uint64_t pout_err:1;
  786. uint64_t psldbof:1;
  787. uint64_t pidbof:1;
  788. uint64_t reserved_38_47:10;
  789. uint64_t dtime:2;
  790. uint64_t dcnt:2;
  791. uint64_t dmafi:2;
  792. uint64_t reserved_18_31:14;
  793. uint64_t mio_int1:1;
  794. uint64_t mio_int0:1;
  795. uint64_t m1_un_wi:1;
  796. uint64_t m1_un_b0:1;
  797. uint64_t m1_up_wi:1;
  798. uint64_t m1_up_b0:1;
  799. uint64_t m0_un_wi:1;
  800. uint64_t m0_un_b0:1;
  801. uint64_t m0_up_wi:1;
  802. uint64_t m0_up_b0:1;
  803. uint64_t reserved_6_7:2;
  804. uint64_t ptime:1;
  805. uint64_t pcnt:1;
  806. uint64_t iob2big:1;
  807. uint64_t bar0_to:1;
  808. uint64_t reserved_1_1:1;
  809. uint64_t rml_to:1;
  810. #else
  811. uint64_t rml_to:1;
  812. uint64_t reserved_1_1:1;
  813. uint64_t bar0_to:1;
  814. uint64_t iob2big:1;
  815. uint64_t pcnt:1;
  816. uint64_t ptime:1;
  817. uint64_t reserved_6_7:2;
  818. uint64_t m0_up_b0:1;
  819. uint64_t m0_up_wi:1;
  820. uint64_t m0_un_b0:1;
  821. uint64_t m0_un_wi:1;
  822. uint64_t m1_up_b0:1;
  823. uint64_t m1_up_wi:1;
  824. uint64_t m1_un_b0:1;
  825. uint64_t m1_un_wi:1;
  826. uint64_t mio_int0:1;
  827. uint64_t mio_int1:1;
  828. uint64_t reserved_18_31:14;
  829. uint64_t dmafi:2;
  830. uint64_t dcnt:2;
  831. uint64_t dtime:2;
  832. uint64_t reserved_38_47:10;
  833. uint64_t pidbof:1;
  834. uint64_t psldbof:1;
  835. uint64_t pout_err:1;
  836. uint64_t reserved_51_51:1;
  837. uint64_t pgl_err:1;
  838. uint64_t pdi_err:1;
  839. uint64_t pop_err:1;
  840. uint64_t pins_err:1;
  841. uint64_t sprt0_err:1;
  842. uint64_t sprt1_err:1;
  843. uint64_t reserved_58_59:2;
  844. uint64_t ill_pad:1;
  845. uint64_t pipe_err:1;
  846. uint64_t reserved_62_63:2;
  847. #endif
  848. } cn68xx;
  849. struct cvmx_sli_int_enb_ciu_cn68xx cn68xxp1;
  850. struct cvmx_sli_int_enb_ciu_cn61xx cnf71xx;
  851. };
  852. union cvmx_sli_int_enb_portx {
  853. uint64_t u64;
  854. struct cvmx_sli_int_enb_portx_s {
  855. #ifdef __BIG_ENDIAN_BITFIELD
  856. uint64_t reserved_62_63:2;
  857. uint64_t pipe_err:1;
  858. uint64_t ill_pad:1;
  859. uint64_t sprt3_err:1;
  860. uint64_t sprt2_err:1;
  861. uint64_t sprt1_err:1;
  862. uint64_t sprt0_err:1;
  863. uint64_t pins_err:1;
  864. uint64_t pop_err:1;
  865. uint64_t pdi_err:1;
  866. uint64_t pgl_err:1;
  867. uint64_t pin_bp:1;
  868. uint64_t pout_err:1;
  869. uint64_t psldbof:1;
  870. uint64_t pidbof:1;
  871. uint64_t reserved_38_47:10;
  872. uint64_t dtime:2;
  873. uint64_t dcnt:2;
  874. uint64_t dmafi:2;
  875. uint64_t reserved_28_31:4;
  876. uint64_t m3_un_wi:1;
  877. uint64_t m3_un_b0:1;
  878. uint64_t m3_up_wi:1;
  879. uint64_t m3_up_b0:1;
  880. uint64_t m2_un_wi:1;
  881. uint64_t m2_un_b0:1;
  882. uint64_t m2_up_wi:1;
  883. uint64_t m2_up_b0:1;
  884. uint64_t mac1_int:1;
  885. uint64_t mac0_int:1;
  886. uint64_t mio_int1:1;
  887. uint64_t mio_int0:1;
  888. uint64_t m1_un_wi:1;
  889. uint64_t m1_un_b0:1;
  890. uint64_t m1_up_wi:1;
  891. uint64_t m1_up_b0:1;
  892. uint64_t m0_un_wi:1;
  893. uint64_t m0_un_b0:1;
  894. uint64_t m0_up_wi:1;
  895. uint64_t m0_up_b0:1;
  896. uint64_t reserved_6_7:2;
  897. uint64_t ptime:1;
  898. uint64_t pcnt:1;
  899. uint64_t iob2big:1;
  900. uint64_t bar0_to:1;
  901. uint64_t reserved_1_1:1;
  902. uint64_t rml_to:1;
  903. #else
  904. uint64_t rml_to:1;
  905. uint64_t reserved_1_1:1;
  906. uint64_t bar0_to:1;
  907. uint64_t iob2big:1;
  908. uint64_t pcnt:1;
  909. uint64_t ptime:1;
  910. uint64_t reserved_6_7:2;
  911. uint64_t m0_up_b0:1;
  912. uint64_t m0_up_wi:1;
  913. uint64_t m0_un_b0:1;
  914. uint64_t m0_un_wi:1;
  915. uint64_t m1_up_b0:1;
  916. uint64_t m1_up_wi:1;
  917. uint64_t m1_un_b0:1;
  918. uint64_t m1_un_wi:1;
  919. uint64_t mio_int0:1;
  920. uint64_t mio_int1:1;
  921. uint64_t mac0_int:1;
  922. uint64_t mac1_int:1;
  923. uint64_t m2_up_b0:1;
  924. uint64_t m2_up_wi:1;
  925. uint64_t m2_un_b0:1;
  926. uint64_t m2_un_wi:1;
  927. uint64_t m3_up_b0:1;
  928. uint64_t m3_up_wi:1;
  929. uint64_t m3_un_b0:1;
  930. uint64_t m3_un_wi:1;
  931. uint64_t reserved_28_31:4;
  932. uint64_t dmafi:2;
  933. uint64_t dcnt:2;
  934. uint64_t dtime:2;
  935. uint64_t reserved_38_47:10;
  936. uint64_t pidbof:1;
  937. uint64_t psldbof:1;
  938. uint64_t pout_err:1;
  939. uint64_t pin_bp:1;
  940. uint64_t pgl_err:1;
  941. uint64_t pdi_err:1;
  942. uint64_t pop_err:1;
  943. uint64_t pins_err:1;
  944. uint64_t sprt0_err:1;
  945. uint64_t sprt1_err:1;
  946. uint64_t sprt2_err:1;
  947. uint64_t sprt3_err:1;
  948. uint64_t ill_pad:1;
  949. uint64_t pipe_err:1;
  950. uint64_t reserved_62_63:2;
  951. #endif
  952. } s;
  953. struct cvmx_sli_int_enb_portx_cn61xx {
  954. #ifdef __BIG_ENDIAN_BITFIELD
  955. uint64_t reserved_61_63:3;
  956. uint64_t ill_pad:1;
  957. uint64_t sprt3_err:1;
  958. uint64_t sprt2_err:1;
  959. uint64_t sprt1_err:1;
  960. uint64_t sprt0_err:1;
  961. uint64_t pins_err:1;
  962. uint64_t pop_err:1;
  963. uint64_t pdi_err:1;
  964. uint64_t pgl_err:1;
  965. uint64_t pin_bp:1;
  966. uint64_t pout_err:1;
  967. uint64_t psldbof:1;
  968. uint64_t pidbof:1;
  969. uint64_t reserved_38_47:10;
  970. uint64_t dtime:2;
  971. uint64_t dcnt:2;
  972. uint64_t dmafi:2;
  973. uint64_t reserved_28_31:4;
  974. uint64_t m3_un_wi:1;
  975. uint64_t m3_un_b0:1;
  976. uint64_t m3_up_wi:1;
  977. uint64_t m3_up_b0:1;
  978. uint64_t m2_un_wi:1;
  979. uint64_t m2_un_b0:1;
  980. uint64_t m2_up_wi:1;
  981. uint64_t m2_up_b0:1;
  982. uint64_t mac1_int:1;
  983. uint64_t mac0_int:1;
  984. uint64_t mio_int1:1;
  985. uint64_t mio_int0:1;
  986. uint64_t m1_un_wi:1;
  987. uint64_t m1_un_b0:1;
  988. uint64_t m1_up_wi:1;
  989. uint64_t m1_up_b0:1;
  990. uint64_t m0_un_wi:1;
  991. uint64_t m0_un_b0:1;
  992. uint64_t m0_up_wi:1;
  993. uint64_t m0_up_b0:1;
  994. uint64_t reserved_6_7:2;
  995. uint64_t ptime:1;
  996. uint64_t pcnt:1;
  997. uint64_t iob2big:1;
  998. uint64_t bar0_to:1;
  999. uint64_t reserved_1_1:1;
  1000. uint64_t rml_to:1;
  1001. #else
  1002. uint64_t rml_to:1;
  1003. uint64_t reserved_1_1:1;
  1004. uint64_t bar0_to:1;
  1005. uint64_t iob2big:1;
  1006. uint64_t pcnt:1;
  1007. uint64_t ptime:1;
  1008. uint64_t reserved_6_7:2;
  1009. uint64_t m0_up_b0:1;
  1010. uint64_t m0_up_wi:1;
  1011. uint64_t m0_un_b0:1;
  1012. uint64_t m0_un_wi:1;
  1013. uint64_t m1_up_b0:1;
  1014. uint64_t m1_up_wi:1;
  1015. uint64_t m1_un_b0:1;
  1016. uint64_t m1_un_wi:1;
  1017. uint64_t mio_int0:1;
  1018. uint64_t mio_int1:1;
  1019. uint64_t mac0_int:1;
  1020. uint64_t mac1_int:1;
  1021. uint64_t m2_up_b0:1;
  1022. uint64_t m2_up_wi:1;
  1023. uint64_t m2_un_b0:1;
  1024. uint64_t m2_un_wi:1;
  1025. uint64_t m3_up_b0:1;
  1026. uint64_t m3_up_wi:1;
  1027. uint64_t m3_un_b0:1;
  1028. uint64_t m3_un_wi:1;
  1029. uint64_t reserved_28_31:4;
  1030. uint64_t dmafi:2;
  1031. uint64_t dcnt:2;
  1032. uint64_t dtime:2;
  1033. uint64_t reserved_38_47:10;
  1034. uint64_t pidbof:1;
  1035. uint64_t psldbof:1;
  1036. uint64_t pout_err:1;
  1037. uint64_t pin_bp:1;
  1038. uint64_t pgl_err:1;
  1039. uint64_t pdi_err:1;
  1040. uint64_t pop_err:1;
  1041. uint64_t pins_err:1;
  1042. uint64_t sprt0_err:1;
  1043. uint64_t sprt1_err:1;
  1044. uint64_t sprt2_err:1;
  1045. uint64_t sprt3_err:1;
  1046. uint64_t ill_pad:1;
  1047. uint64_t reserved_61_63:3;
  1048. #endif
  1049. } cn61xx;
  1050. struct cvmx_sli_int_enb_portx_cn63xx {
  1051. #ifdef __BIG_ENDIAN_BITFIELD
  1052. uint64_t reserved_61_63:3;
  1053. uint64_t ill_pad:1;
  1054. uint64_t reserved_58_59:2;
  1055. uint64_t sprt1_err:1;
  1056. uint64_t sprt0_err:1;
  1057. uint64_t pins_err:1;
  1058. uint64_t pop_err:1;
  1059. uint64_t pdi_err:1;
  1060. uint64_t pgl_err:1;
  1061. uint64_t pin_bp:1;
  1062. uint64_t pout_err:1;
  1063. uint64_t psldbof:1;
  1064. uint64_t pidbof:1;
  1065. uint64_t reserved_38_47:10;
  1066. uint64_t dtime:2;
  1067. uint64_t dcnt:2;
  1068. uint64_t dmafi:2;
  1069. uint64_t reserved_20_31:12;
  1070. uint64_t mac1_int:1;
  1071. uint64_t mac0_int:1;
  1072. uint64_t mio_int1:1;
  1073. uint64_t mio_int0:1;
  1074. uint64_t m1_un_wi:1;
  1075. uint64_t m1_un_b0:1;
  1076. uint64_t m1_up_wi:1;
  1077. uint64_t m1_up_b0:1;
  1078. uint64_t m0_un_wi:1;
  1079. uint64_t m0_un_b0:1;
  1080. uint64_t m0_up_wi:1;
  1081. uint64_t m0_up_b0:1;
  1082. uint64_t reserved_6_7:2;
  1083. uint64_t ptime:1;
  1084. uint64_t pcnt:1;
  1085. uint64_t iob2big:1;
  1086. uint64_t bar0_to:1;
  1087. uint64_t reserved_1_1:1;
  1088. uint64_t rml_to:1;
  1089. #else
  1090. uint64_t rml_to:1;
  1091. uint64_t reserved_1_1:1;
  1092. uint64_t bar0_to:1;
  1093. uint64_t iob2big:1;
  1094. uint64_t pcnt:1;
  1095. uint64_t ptime:1;
  1096. uint64_t reserved_6_7:2;
  1097. uint64_t m0_up_b0:1;
  1098. uint64_t m0_up_wi:1;
  1099. uint64_t m0_un_b0:1;
  1100. uint64_t m0_un_wi:1;
  1101. uint64_t m1_up_b0:1;
  1102. uint64_t m1_up_wi:1;
  1103. uint64_t m1_un_b0:1;
  1104. uint64_t m1_un_wi:1;
  1105. uint64_t mio_int0:1;
  1106. uint64_t mio_int1:1;
  1107. uint64_t mac0_int:1;
  1108. uint64_t mac1_int:1;
  1109. uint64_t reserved_20_31:12;
  1110. uint64_t dmafi:2;
  1111. uint64_t dcnt:2;
  1112. uint64_t dtime:2;
  1113. uint64_t reserved_38_47:10;
  1114. uint64_t pidbof:1;
  1115. uint64_t psldbof:1;
  1116. uint64_t pout_err:1;
  1117. uint64_t pin_bp:1;
  1118. uint64_t pgl_err:1;
  1119. uint64_t pdi_err:1;
  1120. uint64_t pop_err:1;
  1121. uint64_t pins_err:1;
  1122. uint64_t sprt0_err:1;
  1123. uint64_t sprt1_err:1;
  1124. uint64_t reserved_58_59:2;
  1125. uint64_t ill_pad:1;
  1126. uint64_t reserved_61_63:3;
  1127. #endif
  1128. } cn63xx;
  1129. struct cvmx_sli_int_enb_portx_cn63xx cn63xxp1;
  1130. struct cvmx_sli_int_enb_portx_cn61xx cn66xx;
  1131. struct cvmx_sli_int_enb_portx_cn68xx {
  1132. #ifdef __BIG_ENDIAN_BITFIELD
  1133. uint64_t reserved_62_63:2;
  1134. uint64_t pipe_err:1;
  1135. uint64_t ill_pad:1;
  1136. uint64_t reserved_58_59:2;
  1137. uint64_t sprt1_err:1;
  1138. uint64_t sprt0_err:1;
  1139. uint64_t pins_err:1;
  1140. uint64_t pop_err:1;
  1141. uint64_t pdi_err:1;
  1142. uint64_t pgl_err:1;
  1143. uint64_t reserved_51_51:1;
  1144. uint64_t pout_err:1;
  1145. uint64_t psldbof:1;
  1146. uint64_t pidbof:1;
  1147. uint64_t reserved_38_47:10;
  1148. uint64_t dtime:2;
  1149. uint64_t dcnt:2;
  1150. uint64_t dmafi:2;
  1151. uint64_t reserved_20_31:12;
  1152. uint64_t mac1_int:1;
  1153. uint64_t mac0_int:1;
  1154. uint64_t mio_int1:1;
  1155. uint64_t mio_int0:1;
  1156. uint64_t m1_un_wi:1;
  1157. uint64_t m1_un_b0:1;
  1158. uint64_t m1_up_wi:1;
  1159. uint64_t m1_up_b0:1;
  1160. uint64_t m0_un_wi:1;
  1161. uint64_t m0_un_b0:1;
  1162. uint64_t m0_up_wi:1;
  1163. uint64_t m0_up_b0:1;
  1164. uint64_t reserved_6_7:2;
  1165. uint64_t ptime:1;
  1166. uint64_t pcnt:1;
  1167. uint64_t iob2big:1;
  1168. uint64_t bar0_to:1;
  1169. uint64_t reserved_1_1:1;
  1170. uint64_t rml_to:1;
  1171. #else
  1172. uint64_t rml_to:1;
  1173. uint64_t reserved_1_1:1;
  1174. uint64_t bar0_to:1;
  1175. uint64_t iob2big:1;
  1176. uint64_t pcnt:1;
  1177. uint64_t ptime:1;
  1178. uint64_t reserved_6_7:2;
  1179. uint64_t m0_up_b0:1;
  1180. uint64_t m0_up_wi:1;
  1181. uint64_t m0_un_b0:1;
  1182. uint64_t m0_un_wi:1;
  1183. uint64_t m1_up_b0:1;
  1184. uint64_t m1_up_wi:1;
  1185. uint64_t m1_un_b0:1;
  1186. uint64_t m1_un_wi:1;
  1187. uint64_t mio_int0:1;
  1188. uint64_t mio_int1:1;
  1189. uint64_t mac0_int:1;
  1190. uint64_t mac1_int:1;
  1191. uint64_t reserved_20_31:12;
  1192. uint64_t dmafi:2;
  1193. uint64_t dcnt:2;
  1194. uint64_t dtime:2;
  1195. uint64_t reserved_38_47:10;
  1196. uint64_t pidbof:1;
  1197. uint64_t psldbof:1;
  1198. uint64_t pout_err:1;
  1199. uint64_t reserved_51_51:1;
  1200. uint64_t pgl_err:1;
  1201. uint64_t pdi_err:1;
  1202. uint64_t pop_err:1;
  1203. uint64_t pins_err:1;
  1204. uint64_t sprt0_err:1;
  1205. uint64_t sprt1_err:1;
  1206. uint64_t reserved_58_59:2;
  1207. uint64_t ill_pad:1;
  1208. uint64_t pipe_err:1;
  1209. uint64_t reserved_62_63:2;
  1210. #endif
  1211. } cn68xx;
  1212. struct cvmx_sli_int_enb_portx_cn68xx cn68xxp1;
  1213. struct cvmx_sli_int_enb_portx_cn61xx cnf71xx;
  1214. };
  1215. union cvmx_sli_int_sum {
  1216. uint64_t u64;
  1217. struct cvmx_sli_int_sum_s {
  1218. #ifdef __BIG_ENDIAN_BITFIELD
  1219. uint64_t reserved_62_63:2;
  1220. uint64_t pipe_err:1;
  1221. uint64_t ill_pad:1;
  1222. uint64_t sprt3_err:1;
  1223. uint64_t sprt2_err:1;
  1224. uint64_t sprt1_err:1;
  1225. uint64_t sprt0_err:1;
  1226. uint64_t pins_err:1;
  1227. uint64_t pop_err:1;
  1228. uint64_t pdi_err:1;
  1229. uint64_t pgl_err:1;
  1230. uint64_t pin_bp:1;
  1231. uint64_t pout_err:1;
  1232. uint64_t psldbof:1;
  1233. uint64_t pidbof:1;
  1234. uint64_t reserved_38_47:10;
  1235. uint64_t dtime:2;
  1236. uint64_t dcnt:2;
  1237. uint64_t dmafi:2;
  1238. uint64_t reserved_28_31:4;
  1239. uint64_t m3_un_wi:1;
  1240. uint64_t m3_un_b0:1;
  1241. uint64_t m3_up_wi:1;
  1242. uint64_t m3_up_b0:1;
  1243. uint64_t m2_un_wi:1;
  1244. uint64_t m2_un_b0:1;
  1245. uint64_t m2_up_wi:1;
  1246. uint64_t m2_up_b0:1;
  1247. uint64_t mac1_int:1;
  1248. uint64_t mac0_int:1;
  1249. uint64_t mio_int1:1;
  1250. uint64_t mio_int0:1;
  1251. uint64_t m1_un_wi:1;
  1252. uint64_t m1_un_b0:1;
  1253. uint64_t m1_up_wi:1;
  1254. uint64_t m1_up_b0:1;
  1255. uint64_t m0_un_wi:1;
  1256. uint64_t m0_un_b0:1;
  1257. uint64_t m0_up_wi:1;
  1258. uint64_t m0_up_b0:1;
  1259. uint64_t reserved_6_7:2;
  1260. uint64_t ptime:1;
  1261. uint64_t pcnt:1;
  1262. uint64_t iob2big:1;
  1263. uint64_t bar0_to:1;
  1264. uint64_t reserved_1_1:1;
  1265. uint64_t rml_to:1;
  1266. #else
  1267. uint64_t rml_to:1;
  1268. uint64_t reserved_1_1:1;
  1269. uint64_t bar0_to:1;
  1270. uint64_t iob2big:1;
  1271. uint64_t pcnt:1;
  1272. uint64_t ptime:1;
  1273. uint64_t reserved_6_7:2;
  1274. uint64_t m0_up_b0:1;
  1275. uint64_t m0_up_wi:1;
  1276. uint64_t m0_un_b0:1;
  1277. uint64_t m0_un_wi:1;
  1278. uint64_t m1_up_b0:1;
  1279. uint64_t m1_up_wi:1;
  1280. uint64_t m1_un_b0:1;
  1281. uint64_t m1_un_wi:1;
  1282. uint64_t mio_int0:1;
  1283. uint64_t mio_int1:1;
  1284. uint64_t mac0_int:1;
  1285. uint64_t mac1_int:1;
  1286. uint64_t m2_up_b0:1;
  1287. uint64_t m2_up_wi:1;
  1288. uint64_t m2_un_b0:1;
  1289. uint64_t m2_un_wi:1;
  1290. uint64_t m3_up_b0:1;
  1291. uint64_t m3_up_wi:1;
  1292. uint64_t m3_un_b0:1;
  1293. uint64_t m3_un_wi:1;
  1294. uint64_t reserved_28_31:4;
  1295. uint64_t dmafi:2;
  1296. uint64_t dcnt:2;
  1297. uint64_t dtime:2;
  1298. uint64_t reserved_38_47:10;
  1299. uint64_t pidbof:1;
  1300. uint64_t psldbof:1;
  1301. uint64_t pout_err:1;
  1302. uint64_t pin_bp:1;
  1303. uint64_t pgl_err:1;
  1304. uint64_t pdi_err:1;
  1305. uint64_t pop_err:1;
  1306. uint64_t pins_err:1;
  1307. uint64_t sprt0_err:1;
  1308. uint64_t sprt1_err:1;
  1309. uint64_t sprt2_err:1;
  1310. uint64_t sprt3_err:1;
  1311. uint64_t ill_pad:1;
  1312. uint64_t pipe_err:1;
  1313. uint64_t reserved_62_63:2;
  1314. #endif
  1315. } s;
  1316. struct cvmx_sli_int_sum_cn61xx {
  1317. #ifdef __BIG_ENDIAN_BITFIELD
  1318. uint64_t reserved_61_63:3;
  1319. uint64_t ill_pad:1;
  1320. uint64_t sprt3_err:1;
  1321. uint64_t sprt2_err:1;
  1322. uint64_t sprt1_err:1;
  1323. uint64_t sprt0_err:1;
  1324. uint64_t pins_err:1;
  1325. uint64_t pop_err:1;
  1326. uint64_t pdi_err:1;
  1327. uint64_t pgl_err:1;
  1328. uint64_t pin_bp:1;
  1329. uint64_t pout_err:1;
  1330. uint64_t psldbof:1;
  1331. uint64_t pidbof:1;
  1332. uint64_t reserved_38_47:10;
  1333. uint64_t dtime:2;
  1334. uint64_t dcnt:2;
  1335. uint64_t dmafi:2;
  1336. uint64_t reserved_28_31:4;
  1337. uint64_t m3_un_wi:1;
  1338. uint64_t m3_un_b0:1;
  1339. uint64_t m3_up_wi:1;
  1340. uint64_t m3_up_b0:1;
  1341. uint64_t m2_un_wi:1;
  1342. uint64_t m2_un_b0:1;
  1343. uint64_t m2_up_wi:1;
  1344. uint64_t m2_up_b0:1;
  1345. uint64_t mac1_int:1;
  1346. uint64_t mac0_int:1;
  1347. uint64_t mio_int1:1;
  1348. uint64_t mio_int0:1;
  1349. uint64_t m1_un_wi:1;
  1350. uint64_t m1_un_b0:1;
  1351. uint64_t m1_up_wi:1;
  1352. uint64_t m1_up_b0:1;
  1353. uint64_t m0_un_wi:1;
  1354. uint64_t m0_un_b0:1;
  1355. uint64_t m0_up_wi:1;
  1356. uint64_t m0_up_b0:1;
  1357. uint64_t reserved_6_7:2;
  1358. uint64_t ptime:1;
  1359. uint64_t pcnt:1;
  1360. uint64_t iob2big:1;
  1361. uint64_t bar0_to:1;
  1362. uint64_t reserved_1_1:1;
  1363. uint64_t rml_to:1;
  1364. #else
  1365. uint64_t rml_to:1;
  1366. uint64_t reserved_1_1:1;
  1367. uint64_t bar0_to:1;
  1368. uint64_t iob2big:1;
  1369. uint64_t pcnt:1;
  1370. uint64_t ptime:1;
  1371. uint64_t reserved_6_7:2;
  1372. uint64_t m0_up_b0:1;
  1373. uint64_t m0_up_wi:1;
  1374. uint64_t m0_un_b0:1;
  1375. uint64_t m0_un_wi:1;
  1376. uint64_t m1_up_b0:1;
  1377. uint64_t m1_up_wi:1;
  1378. uint64_t m1_un_b0:1;
  1379. uint64_t m1_un_wi:1;
  1380. uint64_t mio_int0:1;
  1381. uint64_t mio_int1:1;
  1382. uint64_t mac0_int:1;
  1383. uint64_t mac1_int:1;
  1384. uint64_t m2_up_b0:1;
  1385. uint64_t m2_up_wi:1;
  1386. uint64_t m2_un_b0:1;
  1387. uint64_t m2_un_wi:1;
  1388. uint64_t m3_up_b0:1;
  1389. uint64_t m3_up_wi:1;
  1390. uint64_t m3_un_b0:1;
  1391. uint64_t m3_un_wi:1;
  1392. uint64_t reserved_28_31:4;
  1393. uint64_t dmafi:2;
  1394. uint64_t dcnt:2;
  1395. uint64_t dtime:2;
  1396. uint64_t reserved_38_47:10;
  1397. uint64_t pidbof:1;
  1398. uint64_t psldbof:1;
  1399. uint64_t pout_err:1;
  1400. uint64_t pin_bp:1;
  1401. uint64_t pgl_err:1;
  1402. uint64_t pdi_err:1;
  1403. uint64_t pop_err:1;
  1404. uint64_t pins_err:1;
  1405. uint64_t sprt0_err:1;
  1406. uint64_t sprt1_err:1;
  1407. uint64_t sprt2_err:1;
  1408. uint64_t sprt3_err:1;
  1409. uint64_t ill_pad:1;
  1410. uint64_t reserved_61_63:3;
  1411. #endif
  1412. } cn61xx;
  1413. struct cvmx_sli_int_sum_cn63xx {
  1414. #ifdef __BIG_ENDIAN_BITFIELD
  1415. uint64_t reserved_61_63:3;
  1416. uint64_t ill_pad:1;
  1417. uint64_t reserved_58_59:2;
  1418. uint64_t sprt1_err:1;
  1419. uint64_t sprt0_err:1;
  1420. uint64_t pins_err:1;
  1421. uint64_t pop_err:1;
  1422. uint64_t pdi_err:1;
  1423. uint64_t pgl_err:1;
  1424. uint64_t pin_bp:1;
  1425. uint64_t pout_err:1;
  1426. uint64_t psldbof:1;
  1427. uint64_t pidbof:1;
  1428. uint64_t reserved_38_47:10;
  1429. uint64_t dtime:2;
  1430. uint64_t dcnt:2;
  1431. uint64_t dmafi:2;
  1432. uint64_t reserved_20_31:12;
  1433. uint64_t mac1_int:1;
  1434. uint64_t mac0_int:1;
  1435. uint64_t mio_int1:1;
  1436. uint64_t mio_int0:1;
  1437. uint64_t m1_un_wi:1;
  1438. uint64_t m1_un_b0:1;
  1439. uint64_t m1_up_wi:1;
  1440. uint64_t m1_up_b0:1;
  1441. uint64_t m0_un_wi:1;
  1442. uint64_t m0_un_b0:1;
  1443. uint64_t m0_up_wi:1;
  1444. uint64_t m0_up_b0:1;
  1445. uint64_t reserved_6_7:2;
  1446. uint64_t ptime:1;
  1447. uint64_t pcnt:1;
  1448. uint64_t iob2big:1;
  1449. uint64_t bar0_to:1;
  1450. uint64_t reserved_1_1:1;
  1451. uint64_t rml_to:1;
  1452. #else
  1453. uint64_t rml_to:1;
  1454. uint64_t reserved_1_1:1;
  1455. uint64_t bar0_to:1;
  1456. uint64_t iob2big:1;
  1457. uint64_t pcnt:1;
  1458. uint64_t ptime:1;
  1459. uint64_t reserved_6_7:2;
  1460. uint64_t m0_up_b0:1;
  1461. uint64_t m0_up_wi:1;
  1462. uint64_t m0_un_b0:1;
  1463. uint64_t m0_un_wi:1;
  1464. uint64_t m1_up_b0:1;
  1465. uint64_t m1_up_wi:1;
  1466. uint64_t m1_un_b0:1;
  1467. uint64_t m1_un_wi:1;
  1468. uint64_t mio_int0:1;
  1469. uint64_t mio_int1:1;
  1470. uint64_t mac0_int:1;
  1471. uint64_t mac1_int:1;
  1472. uint64_t reserved_20_31:12;
  1473. uint64_t dmafi:2;
  1474. uint64_t dcnt:2;
  1475. uint64_t dtime:2;
  1476. uint64_t reserved_38_47:10;
  1477. uint64_t pidbof:1;
  1478. uint64_t psldbof:1;
  1479. uint64_t pout_err:1;
  1480. uint64_t pin_bp:1;
  1481. uint64_t pgl_err:1;
  1482. uint64_t pdi_err:1;
  1483. uint64_t pop_err:1;
  1484. uint64_t pins_err:1;
  1485. uint64_t sprt0_err:1;
  1486. uint64_t sprt1_err:1;
  1487. uint64_t reserved_58_59:2;
  1488. uint64_t ill_pad:1;
  1489. uint64_t reserved_61_63:3;
  1490. #endif
  1491. } cn63xx;
  1492. struct cvmx_sli_int_sum_cn63xx cn63xxp1;
  1493. struct cvmx_sli_int_sum_cn61xx cn66xx;
  1494. struct cvmx_sli_int_sum_cn68xx {
  1495. #ifdef __BIG_ENDIAN_BITFIELD
  1496. uint64_t reserved_62_63:2;
  1497. uint64_t pipe_err:1;
  1498. uint64_t ill_pad:1;
  1499. uint64_t reserved_58_59:2;
  1500. uint64_t sprt1_err:1;
  1501. uint64_t sprt0_err:1;
  1502. uint64_t pins_err:1;
  1503. uint64_t pop_err:1;
  1504. uint64_t pdi_err:1;
  1505. uint64_t pgl_err:1;
  1506. uint64_t reserved_51_51:1;
  1507. uint64_t pout_err:1;
  1508. uint64_t psldbof:1;
  1509. uint64_t pidbof:1;
  1510. uint64_t reserved_38_47:10;
  1511. uint64_t dtime:2;
  1512. uint64_t dcnt:2;
  1513. uint64_t dmafi:2;
  1514. uint64_t reserved_20_31:12;
  1515. uint64_t mac1_int:1;
  1516. uint64_t mac0_int:1;
  1517. uint64_t mio_int1:1;
  1518. uint64_t mio_int0:1;
  1519. uint64_t m1_un_wi:1;
  1520. uint64_t m1_un_b0:1;
  1521. uint64_t m1_up_wi:1;
  1522. uint64_t m1_up_b0:1;
  1523. uint64_t m0_un_wi:1;
  1524. uint64_t m0_un_b0:1;
  1525. uint64_t m0_up_wi:1;
  1526. uint64_t m0_up_b0:1;
  1527. uint64_t reserved_6_7:2;
  1528. uint64_t ptime:1;
  1529. uint64_t pcnt:1;
  1530. uint64_t iob2big:1;
  1531. uint64_t bar0_to:1;
  1532. uint64_t reserved_1_1:1;
  1533. uint64_t rml_to:1;
  1534. #else
  1535. uint64_t rml_to:1;
  1536. uint64_t reserved_1_1:1;
  1537. uint64_t bar0_to:1;
  1538. uint64_t iob2big:1;
  1539. uint64_t pcnt:1;
  1540. uint64_t ptime:1;
  1541. uint64_t reserved_6_7:2;
  1542. uint64_t m0_up_b0:1;
  1543. uint64_t m0_up_wi:1;
  1544. uint64_t m0_un_b0:1;
  1545. uint64_t m0_un_wi:1;
  1546. uint64_t m1_up_b0:1;
  1547. uint64_t m1_up_wi:1;
  1548. uint64_t m1_un_b0:1;
  1549. uint64_t m1_un_wi:1;
  1550. uint64_t mio_int0:1;
  1551. uint64_t mio_int1:1;
  1552. uint64_t mac0_int:1;
  1553. uint64_t mac1_int:1;
  1554. uint64_t reserved_20_31:12;
  1555. uint64_t dmafi:2;
  1556. uint64_t dcnt:2;
  1557. uint64_t dtime:2;
  1558. uint64_t reserved_38_47:10;
  1559. uint64_t pidbof:1;
  1560. uint64_t psldbof:1;
  1561. uint64_t pout_err:1;
  1562. uint64_t reserved_51_51:1;
  1563. uint64_t pgl_err:1;
  1564. uint64_t pdi_err:1;
  1565. uint64_t pop_err:1;
  1566. uint64_t pins_err:1;
  1567. uint64_t sprt0_err:1;
  1568. uint64_t sprt1_err:1;
  1569. uint64_t reserved_58_59:2;
  1570. uint64_t ill_pad:1;
  1571. uint64_t pipe_err:1;
  1572. uint64_t reserved_62_63:2;
  1573. #endif
  1574. } cn68xx;
  1575. struct cvmx_sli_int_sum_cn68xx cn68xxp1;
  1576. struct cvmx_sli_int_sum_cn61xx cnf71xx;
  1577. };
  1578. union cvmx_sli_last_win_rdata0 {
  1579. uint64_t u64;
  1580. struct cvmx_sli_last_win_rdata0_s {
  1581. #ifdef __BIG_ENDIAN_BITFIELD
  1582. uint64_t data:64;
  1583. #else
  1584. uint64_t data:64;
  1585. #endif
  1586. } s;
  1587. struct cvmx_sli_last_win_rdata0_s cn61xx;
  1588. struct cvmx_sli_last_win_rdata0_s cn63xx;
  1589. struct cvmx_sli_last_win_rdata0_s cn63xxp1;
  1590. struct cvmx_sli_last_win_rdata0_s cn66xx;
  1591. struct cvmx_sli_last_win_rdata0_s cn68xx;
  1592. struct cvmx_sli_last_win_rdata0_s cn68xxp1;
  1593. struct cvmx_sli_last_win_rdata0_s cnf71xx;
  1594. };
  1595. union cvmx_sli_last_win_rdata1 {
  1596. uint64_t u64;
  1597. struct cvmx_sli_last_win_rdata1_s {
  1598. #ifdef __BIG_ENDIAN_BITFIELD
  1599. uint64_t data:64;
  1600. #else
  1601. uint64_t data:64;
  1602. #endif
  1603. } s;
  1604. struct cvmx_sli_last_win_rdata1_s cn61xx;
  1605. struct cvmx_sli_last_win_rdata1_s cn63xx;
  1606. struct cvmx_sli_last_win_rdata1_s cn63xxp1;
  1607. struct cvmx_sli_last_win_rdata1_s cn66xx;
  1608. struct cvmx_sli_last_win_rdata1_s cn68xx;
  1609. struct cvmx_sli_last_win_rdata1_s cn68xxp1;
  1610. struct cvmx_sli_last_win_rdata1_s cnf71xx;
  1611. };
  1612. union cvmx_sli_last_win_rdata2 {
  1613. uint64_t u64;
  1614. struct cvmx_sli_last_win_rdata2_s {
  1615. #ifdef __BIG_ENDIAN_BITFIELD
  1616. uint64_t data:64;
  1617. #else
  1618. uint64_t data:64;
  1619. #endif
  1620. } s;
  1621. struct cvmx_sli_last_win_rdata2_s cn61xx;
  1622. struct cvmx_sli_last_win_rdata2_s cn66xx;
  1623. struct cvmx_sli_last_win_rdata2_s cnf71xx;
  1624. };
  1625. union cvmx_sli_last_win_rdata3 {
  1626. uint64_t u64;
  1627. struct cvmx_sli_last_win_rdata3_s {
  1628. #ifdef __BIG_ENDIAN_BITFIELD
  1629. uint64_t data:64;
  1630. #else
  1631. uint64_t data:64;
  1632. #endif
  1633. } s;
  1634. struct cvmx_sli_last_win_rdata3_s cn61xx;
  1635. struct cvmx_sli_last_win_rdata3_s cn66xx;
  1636. struct cvmx_sli_last_win_rdata3_s cnf71xx;
  1637. };
  1638. union cvmx_sli_mac_credit_cnt {
  1639. uint64_t u64;
  1640. struct cvmx_sli_mac_credit_cnt_s {
  1641. #ifdef __BIG_ENDIAN_BITFIELD
  1642. uint64_t reserved_54_63:10;
  1643. uint64_t p1_c_d:1;
  1644. uint64_t p1_n_d:1;
  1645. uint64_t p1_p_d:1;
  1646. uint64_t p0_c_d:1;
  1647. uint64_t p0_n_d:1;
  1648. uint64_t p0_p_d:1;
  1649. uint64_t p1_ccnt:8;
  1650. uint64_t p1_ncnt:8;
  1651. uint64_t p1_pcnt:8;
  1652. uint64_t p0_ccnt:8;
  1653. uint64_t p0_ncnt:8;
  1654. uint64_t p0_pcnt:8;
  1655. #else
  1656. uint64_t p0_pcnt:8;
  1657. uint64_t p0_ncnt:8;
  1658. uint64_t p0_ccnt:8;
  1659. uint64_t p1_pcnt:8;
  1660. uint64_t p1_ncnt:8;
  1661. uint64_t p1_ccnt:8;
  1662. uint64_t p0_p_d:1;
  1663. uint64_t p0_n_d:1;
  1664. uint64_t p0_c_d:1;
  1665. uint64_t p1_p_d:1;
  1666. uint64_t p1_n_d:1;
  1667. uint64_t p1_c_d:1;
  1668. uint64_t reserved_54_63:10;
  1669. #endif
  1670. } s;
  1671. struct cvmx_sli_mac_credit_cnt_s cn61xx;
  1672. struct cvmx_sli_mac_credit_cnt_s cn63xx;
  1673. struct cvmx_sli_mac_credit_cnt_cn63xxp1 {
  1674. #ifdef __BIG_ENDIAN_BITFIELD
  1675. uint64_t reserved_48_63:16;
  1676. uint64_t p1_ccnt:8;
  1677. uint64_t p1_ncnt:8;
  1678. uint64_t p1_pcnt:8;
  1679. uint64_t p0_ccnt:8;
  1680. uint64_t p0_ncnt:8;
  1681. uint64_t p0_pcnt:8;
  1682. #else
  1683. uint64_t p0_pcnt:8;
  1684. uint64_t p0_ncnt:8;
  1685. uint64_t p0_ccnt:8;
  1686. uint64_t p1_pcnt:8;
  1687. uint64_t p1_ncnt:8;
  1688. uint64_t p1_ccnt:8;
  1689. uint64_t reserved_48_63:16;
  1690. #endif
  1691. } cn63xxp1;
  1692. struct cvmx_sli_mac_credit_cnt_s cn66xx;
  1693. struct cvmx_sli_mac_credit_cnt_s cn68xx;
  1694. struct cvmx_sli_mac_credit_cnt_s cn68xxp1;
  1695. struct cvmx_sli_mac_credit_cnt_s cnf71xx;
  1696. };
  1697. union cvmx_sli_mac_credit_cnt2 {
  1698. uint64_t u64;
  1699. struct cvmx_sli_mac_credit_cnt2_s {
  1700. #ifdef __BIG_ENDIAN_BITFIELD
  1701. uint64_t reserved_54_63:10;
  1702. uint64_t p3_c_d:1;
  1703. uint64_t p3_n_d:1;
  1704. uint64_t p3_p_d:1;
  1705. uint64_t p2_c_d:1;
  1706. uint64_t p2_n_d:1;
  1707. uint64_t p2_p_d:1;
  1708. uint64_t p3_ccnt:8;
  1709. uint64_t p3_ncnt:8;
  1710. uint64_t p3_pcnt:8;
  1711. uint64_t p2_ccnt:8;
  1712. uint64_t p2_ncnt:8;
  1713. uint64_t p2_pcnt:8;
  1714. #else
  1715. uint64_t p2_pcnt:8;
  1716. uint64_t p2_ncnt:8;
  1717. uint64_t p2_ccnt:8;
  1718. uint64_t p3_pcnt:8;
  1719. uint64_t p3_ncnt:8;
  1720. uint64_t p3_ccnt:8;
  1721. uint64_t p2_p_d:1;
  1722. uint64_t p2_n_d:1;
  1723. uint64_t p2_c_d:1;
  1724. uint64_t p3_p_d:1;
  1725. uint64_t p3_n_d:1;
  1726. uint64_t p3_c_d:1;
  1727. uint64_t reserved_54_63:10;
  1728. #endif
  1729. } s;
  1730. struct cvmx_sli_mac_credit_cnt2_s cn61xx;
  1731. struct cvmx_sli_mac_credit_cnt2_s cn66xx;
  1732. struct cvmx_sli_mac_credit_cnt2_s cnf71xx;
  1733. };
  1734. union cvmx_sli_mac_number {
  1735. uint64_t u64;
  1736. struct cvmx_sli_mac_number_s {
  1737. #ifdef __BIG_ENDIAN_BITFIELD
  1738. uint64_t reserved_9_63:55;
  1739. uint64_t a_mode:1;
  1740. uint64_t num:8;
  1741. #else
  1742. uint64_t num:8;
  1743. uint64_t a_mode:1;
  1744. uint64_t reserved_9_63:55;
  1745. #endif
  1746. } s;
  1747. struct cvmx_sli_mac_number_s cn61xx;
  1748. struct cvmx_sli_mac_number_cn63xx {
  1749. #ifdef __BIG_ENDIAN_BITFIELD
  1750. uint64_t reserved_8_63:56;
  1751. uint64_t num:8;
  1752. #else
  1753. uint64_t num:8;
  1754. uint64_t reserved_8_63:56;
  1755. #endif
  1756. } cn63xx;
  1757. struct cvmx_sli_mac_number_s cn66xx;
  1758. struct cvmx_sli_mac_number_cn63xx cn68xx;
  1759. struct cvmx_sli_mac_number_cn63xx cn68xxp1;
  1760. struct cvmx_sli_mac_number_s cnf71xx;
  1761. };
  1762. union cvmx_sli_mem_access_ctl {
  1763. uint64_t u64;
  1764. struct cvmx_sli_mem_access_ctl_s {
  1765. #ifdef __BIG_ENDIAN_BITFIELD
  1766. uint64_t reserved_14_63:50;
  1767. uint64_t max_word:4;
  1768. uint64_t timer:10;
  1769. #else
  1770. uint64_t timer:10;
  1771. uint64_t max_word:4;
  1772. uint64_t reserved_14_63:50;
  1773. #endif
  1774. } s;
  1775. struct cvmx_sli_mem_access_ctl_s cn61xx;
  1776. struct cvmx_sli_mem_access_ctl_s cn63xx;
  1777. struct cvmx_sli_mem_access_ctl_s cn63xxp1;
  1778. struct cvmx_sli_mem_access_ctl_s cn66xx;
  1779. struct cvmx_sli_mem_access_ctl_s cn68xx;
  1780. struct cvmx_sli_mem_access_ctl_s cn68xxp1;
  1781. struct cvmx_sli_mem_access_ctl_s cnf71xx;
  1782. };
  1783. union cvmx_sli_mem_access_subidx {
  1784. uint64_t u64;
  1785. struct cvmx_sli_mem_access_subidx_s {
  1786. #ifdef __BIG_ENDIAN_BITFIELD
  1787. uint64_t reserved_43_63:21;
  1788. uint64_t zero:1;
  1789. uint64_t port:3;
  1790. uint64_t nmerge:1;
  1791. uint64_t esr:2;
  1792. uint64_t esw:2;
  1793. uint64_t wtype:2;
  1794. uint64_t rtype:2;
  1795. uint64_t reserved_0_29:30;
  1796. #else
  1797. uint64_t reserved_0_29:30;
  1798. uint64_t rtype:2;
  1799. uint64_t wtype:2;
  1800. uint64_t esw:2;
  1801. uint64_t esr:2;
  1802. uint64_t nmerge:1;
  1803. uint64_t port:3;
  1804. uint64_t zero:1;
  1805. uint64_t reserved_43_63:21;
  1806. #endif
  1807. } s;
  1808. struct cvmx_sli_mem_access_subidx_cn61xx {
  1809. #ifdef __BIG_ENDIAN_BITFIELD
  1810. uint64_t reserved_43_63:21;
  1811. uint64_t zero:1;
  1812. uint64_t port:3;
  1813. uint64_t nmerge:1;
  1814. uint64_t esr:2;
  1815. uint64_t esw:2;
  1816. uint64_t wtype:2;
  1817. uint64_t rtype:2;
  1818. uint64_t ba:30;
  1819. #else
  1820. uint64_t ba:30;
  1821. uint64_t rtype:2;
  1822. uint64_t wtype:2;
  1823. uint64_t esw:2;
  1824. uint64_t esr:2;
  1825. uint64_t nmerge:1;
  1826. uint64_t port:3;
  1827. uint64_t zero:1;
  1828. uint64_t reserved_43_63:21;
  1829. #endif
  1830. } cn61xx;
  1831. struct cvmx_sli_mem_access_subidx_cn61xx cn63xx;
  1832. struct cvmx_sli_mem_access_subidx_cn61xx cn63xxp1;
  1833. struct cvmx_sli_mem_access_subidx_cn61xx cn66xx;
  1834. struct cvmx_sli_mem_access_subidx_cn68xx {
  1835. #ifdef __BIG_ENDIAN_BITFIELD
  1836. uint64_t reserved_43_63:21;
  1837. uint64_t zero:1;
  1838. uint64_t port:3;
  1839. uint64_t nmerge:1;
  1840. uint64_t esr:2;
  1841. uint64_t esw:2;
  1842. uint64_t wtype:2;
  1843. uint64_t rtype:2;
  1844. uint64_t ba:28;
  1845. uint64_t reserved_0_1:2;
  1846. #else
  1847. uint64_t reserved_0_1:2;
  1848. uint64_t ba:28;
  1849. uint64_t rtype:2;
  1850. uint64_t wtype:2;
  1851. uint64_t esw:2;
  1852. uint64_t esr:2;
  1853. uint64_t nmerge:1;
  1854. uint64_t port:3;
  1855. uint64_t zero:1;
  1856. uint64_t reserved_43_63:21;
  1857. #endif
  1858. } cn68xx;
  1859. struct cvmx_sli_mem_access_subidx_cn68xx cn68xxp1;
  1860. struct cvmx_sli_mem_access_subidx_cn61xx cnf71xx;
  1861. };
  1862. union cvmx_sli_msi_enb0 {
  1863. uint64_t u64;
  1864. struct cvmx_sli_msi_enb0_s {
  1865. #ifdef __BIG_ENDIAN_BITFIELD
  1866. uint64_t enb:64;
  1867. #else
  1868. uint64_t enb:64;
  1869. #endif
  1870. } s;
  1871. struct cvmx_sli_msi_enb0_s cn61xx;
  1872. struct cvmx_sli_msi_enb0_s cn63xx;
  1873. struct cvmx_sli_msi_enb0_s cn63xxp1;
  1874. struct cvmx_sli_msi_enb0_s cn66xx;
  1875. struct cvmx_sli_msi_enb0_s cn68xx;
  1876. struct cvmx_sli_msi_enb0_s cn68xxp1;
  1877. struct cvmx_sli_msi_enb0_s cnf71xx;
  1878. };
  1879. union cvmx_sli_msi_enb1 {
  1880. uint64_t u64;
  1881. struct cvmx_sli_msi_enb1_s {
  1882. #ifdef __BIG_ENDIAN_BITFIELD
  1883. uint64_t enb:64;
  1884. #else
  1885. uint64_t enb:64;
  1886. #endif
  1887. } s;
  1888. struct cvmx_sli_msi_enb1_s cn61xx;
  1889. struct cvmx_sli_msi_enb1_s cn63xx;
  1890. struct cvmx_sli_msi_enb1_s cn63xxp1;
  1891. struct cvmx_sli_msi_enb1_s cn66xx;
  1892. struct cvmx_sli_msi_enb1_s cn68xx;
  1893. struct cvmx_sli_msi_enb1_s cn68xxp1;
  1894. struct cvmx_sli_msi_enb1_s cnf71xx;
  1895. };
  1896. union cvmx_sli_msi_enb2 {
  1897. uint64_t u64;
  1898. struct cvmx_sli_msi_enb2_s {
  1899. #ifdef __BIG_ENDIAN_BITFIELD
  1900. uint64_t enb:64;
  1901. #else
  1902. uint64_t enb:64;
  1903. #endif
  1904. } s;
  1905. struct cvmx_sli_msi_enb2_s cn61xx;
  1906. struct cvmx_sli_msi_enb2_s cn63xx;
  1907. struct cvmx_sli_msi_enb2_s cn63xxp1;
  1908. struct cvmx_sli_msi_enb2_s cn66xx;
  1909. struct cvmx_sli_msi_enb2_s cn68xx;
  1910. struct cvmx_sli_msi_enb2_s cn68xxp1;
  1911. struct cvmx_sli_msi_enb2_s cnf71xx;
  1912. };
  1913. union cvmx_sli_msi_enb3 {
  1914. uint64_t u64;
  1915. struct cvmx_sli_msi_enb3_s {
  1916. #ifdef __BIG_ENDIAN_BITFIELD
  1917. uint64_t enb:64;
  1918. #else
  1919. uint64_t enb:64;
  1920. #endif
  1921. } s;
  1922. struct cvmx_sli_msi_enb3_s cn61xx;
  1923. struct cvmx_sli_msi_enb3_s cn63xx;
  1924. struct cvmx_sli_msi_enb3_s cn63xxp1;
  1925. struct cvmx_sli_msi_enb3_s cn66xx;
  1926. struct cvmx_sli_msi_enb3_s cn68xx;
  1927. struct cvmx_sli_msi_enb3_s cn68xxp1;
  1928. struct cvmx_sli_msi_enb3_s cnf71xx;
  1929. };
  1930. union cvmx_sli_msi_rcv0 {
  1931. uint64_t u64;
  1932. struct cvmx_sli_msi_rcv0_s {
  1933. #ifdef __BIG_ENDIAN_BITFIELD
  1934. uint64_t intr:64;
  1935. #else
  1936. uint64_t intr:64;
  1937. #endif
  1938. } s;
  1939. struct cvmx_sli_msi_rcv0_s cn61xx;
  1940. struct cvmx_sli_msi_rcv0_s cn63xx;
  1941. struct cvmx_sli_msi_rcv0_s cn63xxp1;
  1942. struct cvmx_sli_msi_rcv0_s cn66xx;
  1943. struct cvmx_sli_msi_rcv0_s cn68xx;
  1944. struct cvmx_sli_msi_rcv0_s cn68xxp1;
  1945. struct cvmx_sli_msi_rcv0_s cnf71xx;
  1946. };
  1947. union cvmx_sli_msi_rcv1 {
  1948. uint64_t u64;
  1949. struct cvmx_sli_msi_rcv1_s {
  1950. #ifdef __BIG_ENDIAN_BITFIELD
  1951. uint64_t intr:64;
  1952. #else
  1953. uint64_t intr:64;
  1954. #endif
  1955. } s;
  1956. struct cvmx_sli_msi_rcv1_s cn61xx;
  1957. struct cvmx_sli_msi_rcv1_s cn63xx;
  1958. struct cvmx_sli_msi_rcv1_s cn63xxp1;
  1959. struct cvmx_sli_msi_rcv1_s cn66xx;
  1960. struct cvmx_sli_msi_rcv1_s cn68xx;
  1961. struct cvmx_sli_msi_rcv1_s cn68xxp1;
  1962. struct cvmx_sli_msi_rcv1_s cnf71xx;
  1963. };
  1964. union cvmx_sli_msi_rcv2 {
  1965. uint64_t u64;
  1966. struct cvmx_sli_msi_rcv2_s {
  1967. #ifdef __BIG_ENDIAN_BITFIELD
  1968. uint64_t intr:64;
  1969. #else
  1970. uint64_t intr:64;
  1971. #endif
  1972. } s;
  1973. struct cvmx_sli_msi_rcv2_s cn61xx;
  1974. struct cvmx_sli_msi_rcv2_s cn63xx;
  1975. struct cvmx_sli_msi_rcv2_s cn63xxp1;
  1976. struct cvmx_sli_msi_rcv2_s cn66xx;
  1977. struct cvmx_sli_msi_rcv2_s cn68xx;
  1978. struct cvmx_sli_msi_rcv2_s cn68xxp1;
  1979. struct cvmx_sli_msi_rcv2_s cnf71xx;
  1980. };
  1981. union cvmx_sli_msi_rcv3 {
  1982. uint64_t u64;
  1983. struct cvmx_sli_msi_rcv3_s {
  1984. #ifdef __BIG_ENDIAN_BITFIELD
  1985. uint64_t intr:64;
  1986. #else
  1987. uint64_t intr:64;
  1988. #endif
  1989. } s;
  1990. struct cvmx_sli_msi_rcv3_s cn61xx;
  1991. struct cvmx_sli_msi_rcv3_s cn63xx;
  1992. struct cvmx_sli_msi_rcv3_s cn63xxp1;
  1993. struct cvmx_sli_msi_rcv3_s cn66xx;
  1994. struct cvmx_sli_msi_rcv3_s cn68xx;
  1995. struct cvmx_sli_msi_rcv3_s cn68xxp1;
  1996. struct cvmx_sli_msi_rcv3_s cnf71xx;
  1997. };
  1998. union cvmx_sli_msi_rd_map {
  1999. uint64_t u64;
  2000. struct cvmx_sli_msi_rd_map_s {
  2001. #ifdef __BIG_ENDIAN_BITFIELD
  2002. uint64_t reserved_16_63:48;
  2003. uint64_t rd_int:8;
  2004. uint64_t msi_int:8;
  2005. #else
  2006. uint64_t msi_int:8;
  2007. uint64_t rd_int:8;
  2008. uint64_t reserved_16_63:48;
  2009. #endif
  2010. } s;
  2011. struct cvmx_sli_msi_rd_map_s cn61xx;
  2012. struct cvmx_sli_msi_rd_map_s cn63xx;
  2013. struct cvmx_sli_msi_rd_map_s cn63xxp1;
  2014. struct cvmx_sli_msi_rd_map_s cn66xx;
  2015. struct cvmx_sli_msi_rd_map_s cn68xx;
  2016. struct cvmx_sli_msi_rd_map_s cn68xxp1;
  2017. struct cvmx_sli_msi_rd_map_s cnf71xx;
  2018. };
  2019. union cvmx_sli_msi_w1c_enb0 {
  2020. uint64_t u64;
  2021. struct cvmx_sli_msi_w1c_enb0_s {
  2022. #ifdef __BIG_ENDIAN_BITFIELD
  2023. uint64_t clr:64;
  2024. #else
  2025. uint64_t clr:64;
  2026. #endif
  2027. } s;
  2028. struct cvmx_sli_msi_w1c_enb0_s cn61xx;
  2029. struct cvmx_sli_msi_w1c_enb0_s cn63xx;
  2030. struct cvmx_sli_msi_w1c_enb0_s cn63xxp1;
  2031. struct cvmx_sli_msi_w1c_enb0_s cn66xx;
  2032. struct cvmx_sli_msi_w1c_enb0_s cn68xx;
  2033. struct cvmx_sli_msi_w1c_enb0_s cn68xxp1;
  2034. struct cvmx_sli_msi_w1c_enb0_s cnf71xx;
  2035. };
  2036. union cvmx_sli_msi_w1c_enb1 {
  2037. uint64_t u64;
  2038. struct cvmx_sli_msi_w1c_enb1_s {
  2039. #ifdef __BIG_ENDIAN_BITFIELD
  2040. uint64_t clr:64;
  2041. #else
  2042. uint64_t clr:64;
  2043. #endif
  2044. } s;
  2045. struct cvmx_sli_msi_w1c_enb1_s cn61xx;
  2046. struct cvmx_sli_msi_w1c_enb1_s cn63xx;
  2047. struct cvmx_sli_msi_w1c_enb1_s cn63xxp1;
  2048. struct cvmx_sli_msi_w1c_enb1_s cn66xx;
  2049. struct cvmx_sli_msi_w1c_enb1_s cn68xx;
  2050. struct cvmx_sli_msi_w1c_enb1_s cn68xxp1;
  2051. struct cvmx_sli_msi_w1c_enb1_s cnf71xx;
  2052. };
  2053. union cvmx_sli_msi_w1c_enb2 {
  2054. uint64_t u64;
  2055. struct cvmx_sli_msi_w1c_enb2_s {
  2056. #ifdef __BIG_ENDIAN_BITFIELD
  2057. uint64_t clr:64;
  2058. #else
  2059. uint64_t clr:64;
  2060. #endif
  2061. } s;
  2062. struct cvmx_sli_msi_w1c_enb2_s cn61xx;
  2063. struct cvmx_sli_msi_w1c_enb2_s cn63xx;
  2064. struct cvmx_sli_msi_w1c_enb2_s cn63xxp1;
  2065. struct cvmx_sli_msi_w1c_enb2_s cn66xx;
  2066. struct cvmx_sli_msi_w1c_enb2_s cn68xx;
  2067. struct cvmx_sli_msi_w1c_enb2_s cn68xxp1;
  2068. struct cvmx_sli_msi_w1c_enb2_s cnf71xx;
  2069. };
  2070. union cvmx_sli_msi_w1c_enb3 {
  2071. uint64_t u64;
  2072. struct cvmx_sli_msi_w1c_enb3_s {
  2073. #ifdef __BIG_ENDIAN_BITFIELD
  2074. uint64_t clr:64;
  2075. #else
  2076. uint64_t clr:64;
  2077. #endif
  2078. } s;
  2079. struct cvmx_sli_msi_w1c_enb3_s cn61xx;
  2080. struct cvmx_sli_msi_w1c_enb3_s cn63xx;
  2081. struct cvmx_sli_msi_w1c_enb3_s cn63xxp1;
  2082. struct cvmx_sli_msi_w1c_enb3_s cn66xx;
  2083. struct cvmx_sli_msi_w1c_enb3_s cn68xx;
  2084. struct cvmx_sli_msi_w1c_enb3_s cn68xxp1;
  2085. struct cvmx_sli_msi_w1c_enb3_s cnf71xx;
  2086. };
  2087. union cvmx_sli_msi_w1s_enb0 {
  2088. uint64_t u64;
  2089. struct cvmx_sli_msi_w1s_enb0_s {
  2090. #ifdef __BIG_ENDIAN_BITFIELD
  2091. uint64_t set:64;
  2092. #else
  2093. uint64_t set:64;
  2094. #endif
  2095. } s;
  2096. struct cvmx_sli_msi_w1s_enb0_s cn61xx;
  2097. struct cvmx_sli_msi_w1s_enb0_s cn63xx;
  2098. struct cvmx_sli_msi_w1s_enb0_s cn63xxp1;
  2099. struct cvmx_sli_msi_w1s_enb0_s cn66xx;
  2100. struct cvmx_sli_msi_w1s_enb0_s cn68xx;
  2101. struct cvmx_sli_msi_w1s_enb0_s cn68xxp1;
  2102. struct cvmx_sli_msi_w1s_enb0_s cnf71xx;
  2103. };
  2104. union cvmx_sli_msi_w1s_enb1 {
  2105. uint64_t u64;
  2106. struct cvmx_sli_msi_w1s_enb1_s {
  2107. #ifdef __BIG_ENDIAN_BITFIELD
  2108. uint64_t set:64;
  2109. #else
  2110. uint64_t set:64;
  2111. #endif
  2112. } s;
  2113. struct cvmx_sli_msi_w1s_enb1_s cn61xx;
  2114. struct cvmx_sli_msi_w1s_enb1_s cn63xx;
  2115. struct cvmx_sli_msi_w1s_enb1_s cn63xxp1;
  2116. struct cvmx_sli_msi_w1s_enb1_s cn66xx;
  2117. struct cvmx_sli_msi_w1s_enb1_s cn68xx;
  2118. struct cvmx_sli_msi_w1s_enb1_s cn68xxp1;
  2119. struct cvmx_sli_msi_w1s_enb1_s cnf71xx;
  2120. };
  2121. union cvmx_sli_msi_w1s_enb2 {
  2122. uint64_t u64;
  2123. struct cvmx_sli_msi_w1s_enb2_s {
  2124. #ifdef __BIG_ENDIAN_BITFIELD
  2125. uint64_t set:64;
  2126. #else
  2127. uint64_t set:64;
  2128. #endif
  2129. } s;
  2130. struct cvmx_sli_msi_w1s_enb2_s cn61xx;
  2131. struct cvmx_sli_msi_w1s_enb2_s cn63xx;
  2132. struct cvmx_sli_msi_w1s_enb2_s cn63xxp1;
  2133. struct cvmx_sli_msi_w1s_enb2_s cn66xx;
  2134. struct cvmx_sli_msi_w1s_enb2_s cn68xx;
  2135. struct cvmx_sli_msi_w1s_enb2_s cn68xxp1;
  2136. struct cvmx_sli_msi_w1s_enb2_s cnf71xx;
  2137. };
  2138. union cvmx_sli_msi_w1s_enb3 {
  2139. uint64_t u64;
  2140. struct cvmx_sli_msi_w1s_enb3_s {
  2141. #ifdef __BIG_ENDIAN_BITFIELD
  2142. uint64_t set:64;
  2143. #else
  2144. uint64_t set:64;
  2145. #endif
  2146. } s;
  2147. struct cvmx_sli_msi_w1s_enb3_s cn61xx;
  2148. struct cvmx_sli_msi_w1s_enb3_s cn63xx;
  2149. struct cvmx_sli_msi_w1s_enb3_s cn63xxp1;
  2150. struct cvmx_sli_msi_w1s_enb3_s cn66xx;
  2151. struct cvmx_sli_msi_w1s_enb3_s cn68xx;
  2152. struct cvmx_sli_msi_w1s_enb3_s cn68xxp1;
  2153. struct cvmx_sli_msi_w1s_enb3_s cnf71xx;
  2154. };
  2155. union cvmx_sli_msi_wr_map {
  2156. uint64_t u64;
  2157. struct cvmx_sli_msi_wr_map_s {
  2158. #ifdef __BIG_ENDIAN_BITFIELD
  2159. uint64_t reserved_16_63:48;
  2160. uint64_t ciu_int:8;
  2161. uint64_t msi_int:8;
  2162. #else
  2163. uint64_t msi_int:8;
  2164. uint64_t ciu_int:8;
  2165. uint64_t reserved_16_63:48;
  2166. #endif
  2167. } s;
  2168. struct cvmx_sli_msi_wr_map_s cn61xx;
  2169. struct cvmx_sli_msi_wr_map_s cn63xx;
  2170. struct cvmx_sli_msi_wr_map_s cn63xxp1;
  2171. struct cvmx_sli_msi_wr_map_s cn66xx;
  2172. struct cvmx_sli_msi_wr_map_s cn68xx;
  2173. struct cvmx_sli_msi_wr_map_s cn68xxp1;
  2174. struct cvmx_sli_msi_wr_map_s cnf71xx;
  2175. };
  2176. union cvmx_sli_pcie_msi_rcv {
  2177. uint64_t u64;
  2178. struct cvmx_sli_pcie_msi_rcv_s {
  2179. #ifdef __BIG_ENDIAN_BITFIELD
  2180. uint64_t reserved_8_63:56;
  2181. uint64_t intr:8;
  2182. #else
  2183. uint64_t intr:8;
  2184. uint64_t reserved_8_63:56;
  2185. #endif
  2186. } s;
  2187. struct cvmx_sli_pcie_msi_rcv_s cn61xx;
  2188. struct cvmx_sli_pcie_msi_rcv_s cn63xx;
  2189. struct cvmx_sli_pcie_msi_rcv_s cn63xxp1;
  2190. struct cvmx_sli_pcie_msi_rcv_s cn66xx;
  2191. struct cvmx_sli_pcie_msi_rcv_s cn68xx;
  2192. struct cvmx_sli_pcie_msi_rcv_s cn68xxp1;
  2193. struct cvmx_sli_pcie_msi_rcv_s cnf71xx;
  2194. };
  2195. union cvmx_sli_pcie_msi_rcv_b1 {
  2196. uint64_t u64;
  2197. struct cvmx_sli_pcie_msi_rcv_b1_s {
  2198. #ifdef __BIG_ENDIAN_BITFIELD
  2199. uint64_t reserved_16_63:48;
  2200. uint64_t intr:8;
  2201. uint64_t reserved_0_7:8;
  2202. #else
  2203. uint64_t reserved_0_7:8;
  2204. uint64_t intr:8;
  2205. uint64_t reserved_16_63:48;
  2206. #endif
  2207. } s;
  2208. struct cvmx_sli_pcie_msi_rcv_b1_s cn61xx;
  2209. struct cvmx_sli_pcie_msi_rcv_b1_s cn63xx;
  2210. struct cvmx_sli_pcie_msi_rcv_b1_s cn63xxp1;
  2211. struct cvmx_sli_pcie_msi_rcv_b1_s cn66xx;
  2212. struct cvmx_sli_pcie_msi_rcv_b1_s cn68xx;
  2213. struct cvmx_sli_pcie_msi_rcv_b1_s cn68xxp1;
  2214. struct cvmx_sli_pcie_msi_rcv_b1_s cnf71xx;
  2215. };
  2216. union cvmx_sli_pcie_msi_rcv_b2 {
  2217. uint64_t u64;
  2218. struct cvmx_sli_pcie_msi_rcv_b2_s {
  2219. #ifdef __BIG_ENDIAN_BITFIELD
  2220. uint64_t reserved_24_63:40;
  2221. uint64_t intr:8;
  2222. uint64_t reserved_0_15:16;
  2223. #else
  2224. uint64_t reserved_0_15:16;
  2225. uint64_t intr:8;
  2226. uint64_t reserved_24_63:40;
  2227. #endif
  2228. } s;
  2229. struct cvmx_sli_pcie_msi_rcv_b2_s cn61xx;
  2230. struct cvmx_sli_pcie_msi_rcv_b2_s cn63xx;
  2231. struct cvmx_sli_pcie_msi_rcv_b2_s cn63xxp1;
  2232. struct cvmx_sli_pcie_msi_rcv_b2_s cn66xx;
  2233. struct cvmx_sli_pcie_msi_rcv_b2_s cn68xx;
  2234. struct cvmx_sli_pcie_msi_rcv_b2_s cn68xxp1;
  2235. struct cvmx_sli_pcie_msi_rcv_b2_s cnf71xx;
  2236. };
  2237. union cvmx_sli_pcie_msi_rcv_b3 {
  2238. uint64_t u64;
  2239. struct cvmx_sli_pcie_msi_rcv_b3_s {
  2240. #ifdef __BIG_ENDIAN_BITFIELD
  2241. uint64_t reserved_32_63:32;
  2242. uint64_t intr:8;
  2243. uint64_t reserved_0_23:24;
  2244. #else
  2245. uint64_t reserved_0_23:24;
  2246. uint64_t intr:8;
  2247. uint64_t reserved_32_63:32;
  2248. #endif
  2249. } s;
  2250. struct cvmx_sli_pcie_msi_rcv_b3_s cn61xx;
  2251. struct cvmx_sli_pcie_msi_rcv_b3_s cn63xx;
  2252. struct cvmx_sli_pcie_msi_rcv_b3_s cn63xxp1;
  2253. struct cvmx_sli_pcie_msi_rcv_b3_s cn66xx;
  2254. struct cvmx_sli_pcie_msi_rcv_b3_s cn68xx;
  2255. struct cvmx_sli_pcie_msi_rcv_b3_s cn68xxp1;
  2256. struct cvmx_sli_pcie_msi_rcv_b3_s cnf71xx;
  2257. };
  2258. union cvmx_sli_pktx_cnts {
  2259. uint64_t u64;
  2260. struct cvmx_sli_pktx_cnts_s {
  2261. #ifdef __BIG_ENDIAN_BITFIELD
  2262. uint64_t reserved_54_63:10;
  2263. uint64_t timer:22;
  2264. uint64_t cnt:32;
  2265. #else
  2266. uint64_t cnt:32;
  2267. uint64_t timer:22;
  2268. uint64_t reserved_54_63:10;
  2269. #endif
  2270. } s;
  2271. struct cvmx_sli_pktx_cnts_s cn61xx;
  2272. struct cvmx_sli_pktx_cnts_s cn63xx;
  2273. struct cvmx_sli_pktx_cnts_s cn63xxp1;
  2274. struct cvmx_sli_pktx_cnts_s cn66xx;
  2275. struct cvmx_sli_pktx_cnts_s cn68xx;
  2276. struct cvmx_sli_pktx_cnts_s cn68xxp1;
  2277. struct cvmx_sli_pktx_cnts_s cnf71xx;
  2278. };
  2279. union cvmx_sli_pktx_in_bp {
  2280. uint64_t u64;
  2281. struct cvmx_sli_pktx_in_bp_s {
  2282. #ifdef __BIG_ENDIAN_BITFIELD
  2283. uint64_t wmark:32;
  2284. uint64_t cnt:32;
  2285. #else
  2286. uint64_t cnt:32;
  2287. uint64_t wmark:32;
  2288. #endif
  2289. } s;
  2290. struct cvmx_sli_pktx_in_bp_s cn61xx;
  2291. struct cvmx_sli_pktx_in_bp_s cn63xx;
  2292. struct cvmx_sli_pktx_in_bp_s cn63xxp1;
  2293. struct cvmx_sli_pktx_in_bp_s cn66xx;
  2294. struct cvmx_sli_pktx_in_bp_s cnf71xx;
  2295. };
  2296. union cvmx_sli_pktx_instr_baddr {
  2297. uint64_t u64;
  2298. struct cvmx_sli_pktx_instr_baddr_s {
  2299. #ifdef __BIG_ENDIAN_BITFIELD
  2300. uint64_t addr:61;
  2301. uint64_t reserved_0_2:3;
  2302. #else
  2303. uint64_t reserved_0_2:3;
  2304. uint64_t addr:61;
  2305. #endif
  2306. } s;
  2307. struct cvmx_sli_pktx_instr_baddr_s cn61xx;
  2308. struct cvmx_sli_pktx_instr_baddr_s cn63xx;
  2309. struct cvmx_sli_pktx_instr_baddr_s cn63xxp1;
  2310. struct cvmx_sli_pktx_instr_baddr_s cn66xx;
  2311. struct cvmx_sli_pktx_instr_baddr_s cn68xx;
  2312. struct cvmx_sli_pktx_instr_baddr_s cn68xxp1;
  2313. struct cvmx_sli_pktx_instr_baddr_s cnf71xx;
  2314. };
  2315. union cvmx_sli_pktx_instr_baoff_dbell {
  2316. uint64_t u64;
  2317. struct cvmx_sli_pktx_instr_baoff_dbell_s {
  2318. #ifdef __BIG_ENDIAN_BITFIELD
  2319. uint64_t aoff:32;
  2320. uint64_t dbell:32;
  2321. #else
  2322. uint64_t dbell:32;
  2323. uint64_t aoff:32;
  2324. #endif
  2325. } s;
  2326. struct cvmx_sli_pktx_instr_baoff_dbell_s cn61xx;
  2327. struct cvmx_sli_pktx_instr_baoff_dbell_s cn63xx;
  2328. struct cvmx_sli_pktx_instr_baoff_dbell_s cn63xxp1;
  2329. struct cvmx_sli_pktx_instr_baoff_dbell_s cn66xx;
  2330. struct cvmx_sli_pktx_instr_baoff_dbell_s cn68xx;
  2331. struct cvmx_sli_pktx_instr_baoff_dbell_s cn68xxp1;
  2332. struct cvmx_sli_pktx_instr_baoff_dbell_s cnf71xx;
  2333. };
  2334. union cvmx_sli_pktx_instr_fifo_rsize {
  2335. uint64_t u64;
  2336. struct cvmx_sli_pktx_instr_fifo_rsize_s {
  2337. #ifdef __BIG_ENDIAN_BITFIELD
  2338. uint64_t max:9;
  2339. uint64_t rrp:9;
  2340. uint64_t wrp:9;
  2341. uint64_t fcnt:5;
  2342. uint64_t rsize:32;
  2343. #else
  2344. uint64_t rsize:32;
  2345. uint64_t fcnt:5;
  2346. uint64_t wrp:9;
  2347. uint64_t rrp:9;
  2348. uint64_t max:9;
  2349. #endif
  2350. } s;
  2351. struct cvmx_sli_pktx_instr_fifo_rsize_s cn61xx;
  2352. struct cvmx_sli_pktx_instr_fifo_rsize_s cn63xx;
  2353. struct cvmx_sli_pktx_instr_fifo_rsize_s cn63xxp1;
  2354. struct cvmx_sli_pktx_instr_fifo_rsize_s cn66xx;
  2355. struct cvmx_sli_pktx_instr_fifo_rsize_s cn68xx;
  2356. struct cvmx_sli_pktx_instr_fifo_rsize_s cn68xxp1;
  2357. struct cvmx_sli_pktx_instr_fifo_rsize_s cnf71xx;
  2358. };
  2359. union cvmx_sli_pktx_instr_header {
  2360. uint64_t u64;
  2361. struct cvmx_sli_pktx_instr_header_s {
  2362. #ifdef __BIG_ENDIAN_BITFIELD
  2363. uint64_t reserved_44_63:20;
  2364. uint64_t pbp:1;
  2365. uint64_t reserved_38_42:5;
  2366. uint64_t rparmode:2;
  2367. uint64_t reserved_35_35:1;
  2368. uint64_t rskp_len:7;
  2369. uint64_t rngrpext:2;
  2370. uint64_t rnqos:1;
  2371. uint64_t rngrp:1;
  2372. uint64_t rntt:1;
  2373. uint64_t rntag:1;
  2374. uint64_t use_ihdr:1;
  2375. uint64_t reserved_16_20:5;
  2376. uint64_t par_mode:2;
  2377. uint64_t reserved_13_13:1;
  2378. uint64_t skp_len:7;
  2379. uint64_t ngrpext:2;
  2380. uint64_t nqos:1;
  2381. uint64_t ngrp:1;
  2382. uint64_t ntt:1;
  2383. uint64_t ntag:1;
  2384. #else
  2385. uint64_t ntag:1;
  2386. uint64_t ntt:1;
  2387. uint64_t ngrp:1;
  2388. uint64_t nqos:1;
  2389. uint64_t ngrpext:2;
  2390. uint64_t skp_len:7;
  2391. uint64_t reserved_13_13:1;
  2392. uint64_t par_mode:2;
  2393. uint64_t reserved_16_20:5;
  2394. uint64_t use_ihdr:1;
  2395. uint64_t rntag:1;
  2396. uint64_t rntt:1;
  2397. uint64_t rngrp:1;
  2398. uint64_t rnqos:1;
  2399. uint64_t rngrpext:2;
  2400. uint64_t rskp_len:7;
  2401. uint64_t reserved_35_35:1;
  2402. uint64_t rparmode:2;
  2403. uint64_t reserved_38_42:5;
  2404. uint64_t pbp:1;
  2405. uint64_t reserved_44_63:20;
  2406. #endif
  2407. } s;
  2408. struct cvmx_sli_pktx_instr_header_cn61xx {
  2409. #ifdef __BIG_ENDIAN_BITFIELD
  2410. uint64_t reserved_44_63:20;
  2411. uint64_t pbp:1;
  2412. uint64_t reserved_38_42:5;
  2413. uint64_t rparmode:2;
  2414. uint64_t reserved_35_35:1;
  2415. uint64_t rskp_len:7;
  2416. uint64_t reserved_26_27:2;
  2417. uint64_t rnqos:1;
  2418. uint64_t rngrp:1;
  2419. uint64_t rntt:1;
  2420. uint64_t rntag:1;
  2421. uint64_t use_ihdr:1;
  2422. uint64_t reserved_16_20:5;
  2423. uint64_t par_mode:2;
  2424. uint64_t reserved_13_13:1;
  2425. uint64_t skp_len:7;
  2426. uint64_t reserved_4_5:2;
  2427. uint64_t nqos:1;
  2428. uint64_t ngrp:1;
  2429. uint64_t ntt:1;
  2430. uint64_t ntag:1;
  2431. #else
  2432. uint64_t ntag:1;
  2433. uint64_t ntt:1;
  2434. uint64_t ngrp:1;
  2435. uint64_t nqos:1;
  2436. uint64_t reserved_4_5:2;
  2437. uint64_t skp_len:7;
  2438. uint64_t reserved_13_13:1;
  2439. uint64_t par_mode:2;
  2440. uint64_t reserved_16_20:5;
  2441. uint64_t use_ihdr:1;
  2442. uint64_t rntag:1;
  2443. uint64_t rntt:1;
  2444. uint64_t rngrp:1;
  2445. uint64_t rnqos:1;
  2446. uint64_t reserved_26_27:2;
  2447. uint64_t rskp_len:7;
  2448. uint64_t reserved_35_35:1;
  2449. uint64_t rparmode:2;
  2450. uint64_t reserved_38_42:5;
  2451. uint64_t pbp:1;
  2452. uint64_t reserved_44_63:20;
  2453. #endif
  2454. } cn61xx;
  2455. struct cvmx_sli_pktx_instr_header_cn61xx cn63xx;
  2456. struct cvmx_sli_pktx_instr_header_cn61xx cn63xxp1;
  2457. struct cvmx_sli_pktx_instr_header_cn61xx cn66xx;
  2458. struct cvmx_sli_pktx_instr_header_s cn68xx;
  2459. struct cvmx_sli_pktx_instr_header_cn61xx cn68xxp1;
  2460. struct cvmx_sli_pktx_instr_header_cn61xx cnf71xx;
  2461. };
  2462. union cvmx_sli_pktx_out_size {
  2463. uint64_t u64;
  2464. struct cvmx_sli_pktx_out_size_s {
  2465. #ifdef __BIG_ENDIAN_BITFIELD
  2466. uint64_t reserved_23_63:41;
  2467. uint64_t isize:7;
  2468. uint64_t bsize:16;
  2469. #else
  2470. uint64_t bsize:16;
  2471. uint64_t isize:7;
  2472. uint64_t reserved_23_63:41;
  2473. #endif
  2474. } s;
  2475. struct cvmx_sli_pktx_out_size_s cn61xx;
  2476. struct cvmx_sli_pktx_out_size_s cn63xx;
  2477. struct cvmx_sli_pktx_out_size_s cn63xxp1;
  2478. struct cvmx_sli_pktx_out_size_s cn66xx;
  2479. struct cvmx_sli_pktx_out_size_s cn68xx;
  2480. struct cvmx_sli_pktx_out_size_s cn68xxp1;
  2481. struct cvmx_sli_pktx_out_size_s cnf71xx;
  2482. };
  2483. union cvmx_sli_pktx_slist_baddr {
  2484. uint64_t u64;
  2485. struct cvmx_sli_pktx_slist_baddr_s {
  2486. #ifdef __BIG_ENDIAN_BITFIELD
  2487. uint64_t addr:60;
  2488. uint64_t reserved_0_3:4;
  2489. #else
  2490. uint64_t reserved_0_3:4;
  2491. uint64_t addr:60;
  2492. #endif
  2493. } s;
  2494. struct cvmx_sli_pktx_slist_baddr_s cn61xx;
  2495. struct cvmx_sli_pktx_slist_baddr_s cn63xx;
  2496. struct cvmx_sli_pktx_slist_baddr_s cn63xxp1;
  2497. struct cvmx_sli_pktx_slist_baddr_s cn66xx;
  2498. struct cvmx_sli_pktx_slist_baddr_s cn68xx;
  2499. struct cvmx_sli_pktx_slist_baddr_s cn68xxp1;
  2500. struct cvmx_sli_pktx_slist_baddr_s cnf71xx;
  2501. };
  2502. union cvmx_sli_pktx_slist_baoff_dbell {
  2503. uint64_t u64;
  2504. struct cvmx_sli_pktx_slist_baoff_dbell_s {
  2505. #ifdef __BIG_ENDIAN_BITFIELD
  2506. uint64_t aoff:32;
  2507. uint64_t dbell:32;
  2508. #else
  2509. uint64_t dbell:32;
  2510. uint64_t aoff:32;
  2511. #endif
  2512. } s;
  2513. struct cvmx_sli_pktx_slist_baoff_dbell_s cn61xx;
  2514. struct cvmx_sli_pktx_slist_baoff_dbell_s cn63xx;
  2515. struct cvmx_sli_pktx_slist_baoff_dbell_s cn63xxp1;
  2516. struct cvmx_sli_pktx_slist_baoff_dbell_s cn66xx;
  2517. struct cvmx_sli_pktx_slist_baoff_dbell_s cn68xx;
  2518. struct cvmx_sli_pktx_slist_baoff_dbell_s cn68xxp1;
  2519. struct cvmx_sli_pktx_slist_baoff_dbell_s cnf71xx;
  2520. };
  2521. union cvmx_sli_pktx_slist_fifo_rsize {
  2522. uint64_t u64;
  2523. struct cvmx_sli_pktx_slist_fifo_rsize_s {
  2524. #ifdef __BIG_ENDIAN_BITFIELD
  2525. uint64_t reserved_32_63:32;
  2526. uint64_t rsize:32;
  2527. #else
  2528. uint64_t rsize:32;
  2529. uint64_t reserved_32_63:32;
  2530. #endif
  2531. } s;
  2532. struct cvmx_sli_pktx_slist_fifo_rsize_s cn61xx;
  2533. struct cvmx_sli_pktx_slist_fifo_rsize_s cn63xx;
  2534. struct cvmx_sli_pktx_slist_fifo_rsize_s cn63xxp1;
  2535. struct cvmx_sli_pktx_slist_fifo_rsize_s cn66xx;
  2536. struct cvmx_sli_pktx_slist_fifo_rsize_s cn68xx;
  2537. struct cvmx_sli_pktx_slist_fifo_rsize_s cn68xxp1;
  2538. struct cvmx_sli_pktx_slist_fifo_rsize_s cnf71xx;
  2539. };
  2540. union cvmx_sli_pkt_cnt_int {
  2541. uint64_t u64;
  2542. struct cvmx_sli_pkt_cnt_int_s {
  2543. #ifdef __BIG_ENDIAN_BITFIELD
  2544. uint64_t reserved_32_63:32;
  2545. uint64_t port:32;
  2546. #else
  2547. uint64_t port:32;
  2548. uint64_t reserved_32_63:32;
  2549. #endif
  2550. } s;
  2551. struct cvmx_sli_pkt_cnt_int_s cn61xx;
  2552. struct cvmx_sli_pkt_cnt_int_s cn63xx;
  2553. struct cvmx_sli_pkt_cnt_int_s cn63xxp1;
  2554. struct cvmx_sli_pkt_cnt_int_s cn66xx;
  2555. struct cvmx_sli_pkt_cnt_int_s cn68xx;
  2556. struct cvmx_sli_pkt_cnt_int_s cn68xxp1;
  2557. struct cvmx_sli_pkt_cnt_int_s cnf71xx;
  2558. };
  2559. union cvmx_sli_pkt_cnt_int_enb {
  2560. uint64_t u64;
  2561. struct cvmx_sli_pkt_cnt_int_enb_s {
  2562. #ifdef __BIG_ENDIAN_BITFIELD
  2563. uint64_t reserved_32_63:32;
  2564. uint64_t port:32;
  2565. #else
  2566. uint64_t port:32;
  2567. uint64_t reserved_32_63:32;
  2568. #endif
  2569. } s;
  2570. struct cvmx_sli_pkt_cnt_int_enb_s cn61xx;
  2571. struct cvmx_sli_pkt_cnt_int_enb_s cn63xx;
  2572. struct cvmx_sli_pkt_cnt_int_enb_s cn63xxp1;
  2573. struct cvmx_sli_pkt_cnt_int_enb_s cn66xx;
  2574. struct cvmx_sli_pkt_cnt_int_enb_s cn68xx;
  2575. struct cvmx_sli_pkt_cnt_int_enb_s cn68xxp1;
  2576. struct cvmx_sli_pkt_cnt_int_enb_s cnf71xx;
  2577. };
  2578. union cvmx_sli_pkt_ctl {
  2579. uint64_t u64;
  2580. struct cvmx_sli_pkt_ctl_s {
  2581. #ifdef __BIG_ENDIAN_BITFIELD
  2582. uint64_t reserved_5_63:59;
  2583. uint64_t ring_en:1;
  2584. uint64_t pkt_bp:4;
  2585. #else
  2586. uint64_t pkt_bp:4;
  2587. uint64_t ring_en:1;
  2588. uint64_t reserved_5_63:59;
  2589. #endif
  2590. } s;
  2591. struct cvmx_sli_pkt_ctl_s cn61xx;
  2592. struct cvmx_sli_pkt_ctl_s cn63xx;
  2593. struct cvmx_sli_pkt_ctl_s cn63xxp1;
  2594. struct cvmx_sli_pkt_ctl_s cn66xx;
  2595. struct cvmx_sli_pkt_ctl_s cn68xx;
  2596. struct cvmx_sli_pkt_ctl_s cn68xxp1;
  2597. struct cvmx_sli_pkt_ctl_s cnf71xx;
  2598. };
  2599. union cvmx_sli_pkt_data_out_es {
  2600. uint64_t u64;
  2601. struct cvmx_sli_pkt_data_out_es_s {
  2602. #ifdef __BIG_ENDIAN_BITFIELD
  2603. uint64_t es:64;
  2604. #else
  2605. uint64_t es:64;
  2606. #endif
  2607. } s;
  2608. struct cvmx_sli_pkt_data_out_es_s cn61xx;
  2609. struct cvmx_sli_pkt_data_out_es_s cn63xx;
  2610. struct cvmx_sli_pkt_data_out_es_s cn63xxp1;
  2611. struct cvmx_sli_pkt_data_out_es_s cn66xx;
  2612. struct cvmx_sli_pkt_data_out_es_s cn68xx;
  2613. struct cvmx_sli_pkt_data_out_es_s cn68xxp1;
  2614. struct cvmx_sli_pkt_data_out_es_s cnf71xx;
  2615. };
  2616. union cvmx_sli_pkt_data_out_ns {
  2617. uint64_t u64;
  2618. struct cvmx_sli_pkt_data_out_ns_s {
  2619. #ifdef __BIG_ENDIAN_BITFIELD
  2620. uint64_t reserved_32_63:32;
  2621. uint64_t nsr:32;
  2622. #else
  2623. uint64_t nsr:32;
  2624. uint64_t reserved_32_63:32;
  2625. #endif
  2626. } s;
  2627. struct cvmx_sli_pkt_data_out_ns_s cn61xx;
  2628. struct cvmx_sli_pkt_data_out_ns_s cn63xx;
  2629. struct cvmx_sli_pkt_data_out_ns_s cn63xxp1;
  2630. struct cvmx_sli_pkt_data_out_ns_s cn66xx;
  2631. struct cvmx_sli_pkt_data_out_ns_s cn68xx;
  2632. struct cvmx_sli_pkt_data_out_ns_s cn68xxp1;
  2633. struct cvmx_sli_pkt_data_out_ns_s cnf71xx;
  2634. };
  2635. union cvmx_sli_pkt_data_out_ror {
  2636. uint64_t u64;
  2637. struct cvmx_sli_pkt_data_out_ror_s {
  2638. #ifdef __BIG_ENDIAN_BITFIELD
  2639. uint64_t reserved_32_63:32;
  2640. uint64_t ror:32;
  2641. #else
  2642. uint64_t ror:32;
  2643. uint64_t reserved_32_63:32;
  2644. #endif
  2645. } s;
  2646. struct cvmx_sli_pkt_data_out_ror_s cn61xx;
  2647. struct cvmx_sli_pkt_data_out_ror_s cn63xx;
  2648. struct cvmx_sli_pkt_data_out_ror_s cn63xxp1;
  2649. struct cvmx_sli_pkt_data_out_ror_s cn66xx;
  2650. struct cvmx_sli_pkt_data_out_ror_s cn68xx;
  2651. struct cvmx_sli_pkt_data_out_ror_s cn68xxp1;
  2652. struct cvmx_sli_pkt_data_out_ror_s cnf71xx;
  2653. };
  2654. union cvmx_sli_pkt_dpaddr {
  2655. uint64_t u64;
  2656. struct cvmx_sli_pkt_dpaddr_s {
  2657. #ifdef __BIG_ENDIAN_BITFIELD
  2658. uint64_t reserved_32_63:32;
  2659. uint64_t dptr:32;
  2660. #else
  2661. uint64_t dptr:32;
  2662. uint64_t reserved_32_63:32;
  2663. #endif
  2664. } s;
  2665. struct cvmx_sli_pkt_dpaddr_s cn61xx;
  2666. struct cvmx_sli_pkt_dpaddr_s cn63xx;
  2667. struct cvmx_sli_pkt_dpaddr_s cn63xxp1;
  2668. struct cvmx_sli_pkt_dpaddr_s cn66xx;
  2669. struct cvmx_sli_pkt_dpaddr_s cn68xx;
  2670. struct cvmx_sli_pkt_dpaddr_s cn68xxp1;
  2671. struct cvmx_sli_pkt_dpaddr_s cnf71xx;
  2672. };
  2673. union cvmx_sli_pkt_in_bp {
  2674. uint64_t u64;
  2675. struct cvmx_sli_pkt_in_bp_s {
  2676. #ifdef __BIG_ENDIAN_BITFIELD
  2677. uint64_t reserved_32_63:32;
  2678. uint64_t bp:32;
  2679. #else
  2680. uint64_t bp:32;
  2681. uint64_t reserved_32_63:32;
  2682. #endif
  2683. } s;
  2684. struct cvmx_sli_pkt_in_bp_s cn61xx;
  2685. struct cvmx_sli_pkt_in_bp_s cn63xx;
  2686. struct cvmx_sli_pkt_in_bp_s cn63xxp1;
  2687. struct cvmx_sli_pkt_in_bp_s cn66xx;
  2688. struct cvmx_sli_pkt_in_bp_s cnf71xx;
  2689. };
  2690. union cvmx_sli_pkt_in_donex_cnts {
  2691. uint64_t u64;
  2692. struct cvmx_sli_pkt_in_donex_cnts_s {
  2693. #ifdef __BIG_ENDIAN_BITFIELD
  2694. uint64_t reserved_32_63:32;
  2695. uint64_t cnt:32;
  2696. #else
  2697. uint64_t cnt:32;
  2698. uint64_t reserved_32_63:32;
  2699. #endif
  2700. } s;
  2701. struct cvmx_sli_pkt_in_donex_cnts_s cn61xx;
  2702. struct cvmx_sli_pkt_in_donex_cnts_s cn63xx;
  2703. struct cvmx_sli_pkt_in_donex_cnts_s cn63xxp1;
  2704. struct cvmx_sli_pkt_in_donex_cnts_s cn66xx;
  2705. struct cvmx_sli_pkt_in_donex_cnts_s cn68xx;
  2706. struct cvmx_sli_pkt_in_donex_cnts_s cn68xxp1;
  2707. struct cvmx_sli_pkt_in_donex_cnts_s cnf71xx;
  2708. };
  2709. union cvmx_sli_pkt_in_instr_counts {
  2710. uint64_t u64;
  2711. struct cvmx_sli_pkt_in_instr_counts_s {
  2712. #ifdef __BIG_ENDIAN_BITFIELD
  2713. uint64_t wr_cnt:32;
  2714. uint64_t rd_cnt:32;
  2715. #else
  2716. uint64_t rd_cnt:32;
  2717. uint64_t wr_cnt:32;
  2718. #endif
  2719. } s;
  2720. struct cvmx_sli_pkt_in_instr_counts_s cn61xx;
  2721. struct cvmx_sli_pkt_in_instr_counts_s cn63xx;
  2722. struct cvmx_sli_pkt_in_instr_counts_s cn63xxp1;
  2723. struct cvmx_sli_pkt_in_instr_counts_s cn66xx;
  2724. struct cvmx_sli_pkt_in_instr_counts_s cn68xx;
  2725. struct cvmx_sli_pkt_in_instr_counts_s cn68xxp1;
  2726. struct cvmx_sli_pkt_in_instr_counts_s cnf71xx;
  2727. };
  2728. union cvmx_sli_pkt_in_pcie_port {
  2729. uint64_t u64;
  2730. struct cvmx_sli_pkt_in_pcie_port_s {
  2731. #ifdef __BIG_ENDIAN_BITFIELD
  2732. uint64_t pp:64;
  2733. #else
  2734. uint64_t pp:64;
  2735. #endif
  2736. } s;
  2737. struct cvmx_sli_pkt_in_pcie_port_s cn61xx;
  2738. struct cvmx_sli_pkt_in_pcie_port_s cn63xx;
  2739. struct cvmx_sli_pkt_in_pcie_port_s cn63xxp1;
  2740. struct cvmx_sli_pkt_in_pcie_port_s cn66xx;
  2741. struct cvmx_sli_pkt_in_pcie_port_s cn68xx;
  2742. struct cvmx_sli_pkt_in_pcie_port_s cn68xxp1;
  2743. struct cvmx_sli_pkt_in_pcie_port_s cnf71xx;
  2744. };
  2745. union cvmx_sli_pkt_input_control {
  2746. uint64_t u64;
  2747. struct cvmx_sli_pkt_input_control_s {
  2748. #ifdef __BIG_ENDIAN_BITFIELD
  2749. uint64_t prd_erst:1;
  2750. uint64_t prd_rds:7;
  2751. uint64_t gii_erst:1;
  2752. uint64_t gii_rds:7;
  2753. uint64_t reserved_41_47:7;
  2754. uint64_t prc_idle:1;
  2755. uint64_t reserved_24_39:16;
  2756. uint64_t pin_rst:1;
  2757. uint64_t pkt_rr:1;
  2758. uint64_t pbp_dhi:13;
  2759. uint64_t d_nsr:1;
  2760. uint64_t d_esr:2;
  2761. uint64_t d_ror:1;
  2762. uint64_t use_csr:1;
  2763. uint64_t nsr:1;
  2764. uint64_t esr:2;
  2765. uint64_t ror:1;
  2766. #else
  2767. uint64_t ror:1;
  2768. uint64_t esr:2;
  2769. uint64_t nsr:1;
  2770. uint64_t use_csr:1;
  2771. uint64_t d_ror:1;
  2772. uint64_t d_esr:2;
  2773. uint64_t d_nsr:1;
  2774. uint64_t pbp_dhi:13;
  2775. uint64_t pkt_rr:1;
  2776. uint64_t pin_rst:1;
  2777. uint64_t reserved_24_39:16;
  2778. uint64_t prc_idle:1;
  2779. uint64_t reserved_41_47:7;
  2780. uint64_t gii_rds:7;
  2781. uint64_t gii_erst:1;
  2782. uint64_t prd_rds:7;
  2783. uint64_t prd_erst:1;
  2784. #endif
  2785. } s;
  2786. struct cvmx_sli_pkt_input_control_s cn61xx;
  2787. struct cvmx_sli_pkt_input_control_cn63xx {
  2788. #ifdef __BIG_ENDIAN_BITFIELD
  2789. uint64_t reserved_23_63:41;
  2790. uint64_t pkt_rr:1;
  2791. uint64_t pbp_dhi:13;
  2792. uint64_t d_nsr:1;
  2793. uint64_t d_esr:2;
  2794. uint64_t d_ror:1;
  2795. uint64_t use_csr:1;
  2796. uint64_t nsr:1;
  2797. uint64_t esr:2;
  2798. uint64_t ror:1;
  2799. #else
  2800. uint64_t ror:1;
  2801. uint64_t esr:2;
  2802. uint64_t nsr:1;
  2803. uint64_t use_csr:1;
  2804. uint64_t d_ror:1;
  2805. uint64_t d_esr:2;
  2806. uint64_t d_nsr:1;
  2807. uint64_t pbp_dhi:13;
  2808. uint64_t pkt_rr:1;
  2809. uint64_t reserved_23_63:41;
  2810. #endif
  2811. } cn63xx;
  2812. struct cvmx_sli_pkt_input_control_cn63xx cn63xxp1;
  2813. struct cvmx_sli_pkt_input_control_s cn66xx;
  2814. struct cvmx_sli_pkt_input_control_s cn68xx;
  2815. struct cvmx_sli_pkt_input_control_s cn68xxp1;
  2816. struct cvmx_sli_pkt_input_control_s cnf71xx;
  2817. };
  2818. union cvmx_sli_pkt_instr_enb {
  2819. uint64_t u64;
  2820. struct cvmx_sli_pkt_instr_enb_s {
  2821. #ifdef __BIG_ENDIAN_BITFIELD
  2822. uint64_t reserved_32_63:32;
  2823. uint64_t enb:32;
  2824. #else
  2825. uint64_t enb:32;
  2826. uint64_t reserved_32_63:32;
  2827. #endif
  2828. } s;
  2829. struct cvmx_sli_pkt_instr_enb_s cn61xx;
  2830. struct cvmx_sli_pkt_instr_enb_s cn63xx;
  2831. struct cvmx_sli_pkt_instr_enb_s cn63xxp1;
  2832. struct cvmx_sli_pkt_instr_enb_s cn66xx;
  2833. struct cvmx_sli_pkt_instr_enb_s cn68xx;
  2834. struct cvmx_sli_pkt_instr_enb_s cn68xxp1;
  2835. struct cvmx_sli_pkt_instr_enb_s cnf71xx;
  2836. };
  2837. union cvmx_sli_pkt_instr_rd_size {
  2838. uint64_t u64;
  2839. struct cvmx_sli_pkt_instr_rd_size_s {
  2840. #ifdef __BIG_ENDIAN_BITFIELD
  2841. uint64_t rdsize:64;
  2842. #else
  2843. uint64_t rdsize:64;
  2844. #endif
  2845. } s;
  2846. struct cvmx_sli_pkt_instr_rd_size_s cn61xx;
  2847. struct cvmx_sli_pkt_instr_rd_size_s cn63xx;
  2848. struct cvmx_sli_pkt_instr_rd_size_s cn63xxp1;
  2849. struct cvmx_sli_pkt_instr_rd_size_s cn66xx;
  2850. struct cvmx_sli_pkt_instr_rd_size_s cn68xx;
  2851. struct cvmx_sli_pkt_instr_rd_size_s cn68xxp1;
  2852. struct cvmx_sli_pkt_instr_rd_size_s cnf71xx;
  2853. };
  2854. union cvmx_sli_pkt_instr_size {
  2855. uint64_t u64;
  2856. struct cvmx_sli_pkt_instr_size_s {
  2857. #ifdef __BIG_ENDIAN_BITFIELD
  2858. uint64_t reserved_32_63:32;
  2859. uint64_t is_64b:32;
  2860. #else
  2861. uint64_t is_64b:32;
  2862. uint64_t reserved_32_63:32;
  2863. #endif
  2864. } s;
  2865. struct cvmx_sli_pkt_instr_size_s cn61xx;
  2866. struct cvmx_sli_pkt_instr_size_s cn63xx;
  2867. struct cvmx_sli_pkt_instr_size_s cn63xxp1;
  2868. struct cvmx_sli_pkt_instr_size_s cn66xx;
  2869. struct cvmx_sli_pkt_instr_size_s cn68xx;
  2870. struct cvmx_sli_pkt_instr_size_s cn68xxp1;
  2871. struct cvmx_sli_pkt_instr_size_s cnf71xx;
  2872. };
  2873. union cvmx_sli_pkt_int_levels {
  2874. uint64_t u64;
  2875. struct cvmx_sli_pkt_int_levels_s {
  2876. #ifdef __BIG_ENDIAN_BITFIELD
  2877. uint64_t reserved_54_63:10;
  2878. uint64_t time:22;
  2879. uint64_t cnt:32;
  2880. #else
  2881. uint64_t cnt:32;
  2882. uint64_t time:22;
  2883. uint64_t reserved_54_63:10;
  2884. #endif
  2885. } s;
  2886. struct cvmx_sli_pkt_int_levels_s cn61xx;
  2887. struct cvmx_sli_pkt_int_levels_s cn63xx;
  2888. struct cvmx_sli_pkt_int_levels_s cn63xxp1;
  2889. struct cvmx_sli_pkt_int_levels_s cn66xx;
  2890. struct cvmx_sli_pkt_int_levels_s cn68xx;
  2891. struct cvmx_sli_pkt_int_levels_s cn68xxp1;
  2892. struct cvmx_sli_pkt_int_levels_s cnf71xx;
  2893. };
  2894. union cvmx_sli_pkt_iptr {
  2895. uint64_t u64;
  2896. struct cvmx_sli_pkt_iptr_s {
  2897. #ifdef __BIG_ENDIAN_BITFIELD
  2898. uint64_t reserved_32_63:32;
  2899. uint64_t iptr:32;
  2900. #else
  2901. uint64_t iptr:32;
  2902. uint64_t reserved_32_63:32;
  2903. #endif
  2904. } s;
  2905. struct cvmx_sli_pkt_iptr_s cn61xx;
  2906. struct cvmx_sli_pkt_iptr_s cn63xx;
  2907. struct cvmx_sli_pkt_iptr_s cn63xxp1;
  2908. struct cvmx_sli_pkt_iptr_s cn66xx;
  2909. struct cvmx_sli_pkt_iptr_s cn68xx;
  2910. struct cvmx_sli_pkt_iptr_s cn68xxp1;
  2911. struct cvmx_sli_pkt_iptr_s cnf71xx;
  2912. };
  2913. union cvmx_sli_pkt_out_bmode {
  2914. uint64_t u64;
  2915. struct cvmx_sli_pkt_out_bmode_s {
  2916. #ifdef __BIG_ENDIAN_BITFIELD
  2917. uint64_t reserved_32_63:32;
  2918. uint64_t bmode:32;
  2919. #else
  2920. uint64_t bmode:32;
  2921. uint64_t reserved_32_63:32;
  2922. #endif
  2923. } s;
  2924. struct cvmx_sli_pkt_out_bmode_s cn61xx;
  2925. struct cvmx_sli_pkt_out_bmode_s cn63xx;
  2926. struct cvmx_sli_pkt_out_bmode_s cn63xxp1;
  2927. struct cvmx_sli_pkt_out_bmode_s cn66xx;
  2928. struct cvmx_sli_pkt_out_bmode_s cn68xx;
  2929. struct cvmx_sli_pkt_out_bmode_s cn68xxp1;
  2930. struct cvmx_sli_pkt_out_bmode_s cnf71xx;
  2931. };
  2932. union cvmx_sli_pkt_out_bp_en {
  2933. uint64_t u64;
  2934. struct cvmx_sli_pkt_out_bp_en_s {
  2935. #ifdef __BIG_ENDIAN_BITFIELD
  2936. uint64_t reserved_32_63:32;
  2937. uint64_t bp_en:32;
  2938. #else
  2939. uint64_t bp_en:32;
  2940. uint64_t reserved_32_63:32;
  2941. #endif
  2942. } s;
  2943. struct cvmx_sli_pkt_out_bp_en_s cn68xx;
  2944. struct cvmx_sli_pkt_out_bp_en_s cn68xxp1;
  2945. };
  2946. union cvmx_sli_pkt_out_enb {
  2947. uint64_t u64;
  2948. struct cvmx_sli_pkt_out_enb_s {
  2949. #ifdef __BIG_ENDIAN_BITFIELD
  2950. uint64_t reserved_32_63:32;
  2951. uint64_t enb:32;
  2952. #else
  2953. uint64_t enb:32;
  2954. uint64_t reserved_32_63:32;
  2955. #endif
  2956. } s;
  2957. struct cvmx_sli_pkt_out_enb_s cn61xx;
  2958. struct cvmx_sli_pkt_out_enb_s cn63xx;
  2959. struct cvmx_sli_pkt_out_enb_s cn63xxp1;
  2960. struct cvmx_sli_pkt_out_enb_s cn66xx;
  2961. struct cvmx_sli_pkt_out_enb_s cn68xx;
  2962. struct cvmx_sli_pkt_out_enb_s cn68xxp1;
  2963. struct cvmx_sli_pkt_out_enb_s cnf71xx;
  2964. };
  2965. union cvmx_sli_pkt_output_wmark {
  2966. uint64_t u64;
  2967. struct cvmx_sli_pkt_output_wmark_s {
  2968. #ifdef __BIG_ENDIAN_BITFIELD
  2969. uint64_t reserved_32_63:32;
  2970. uint64_t wmark:32;
  2971. #else
  2972. uint64_t wmark:32;
  2973. uint64_t reserved_32_63:32;
  2974. #endif
  2975. } s;
  2976. struct cvmx_sli_pkt_output_wmark_s cn61xx;
  2977. struct cvmx_sli_pkt_output_wmark_s cn63xx;
  2978. struct cvmx_sli_pkt_output_wmark_s cn63xxp1;
  2979. struct cvmx_sli_pkt_output_wmark_s cn66xx;
  2980. struct cvmx_sli_pkt_output_wmark_s cn68xx;
  2981. struct cvmx_sli_pkt_output_wmark_s cn68xxp1;
  2982. struct cvmx_sli_pkt_output_wmark_s cnf71xx;
  2983. };
  2984. union cvmx_sli_pkt_pcie_port {
  2985. uint64_t u64;
  2986. struct cvmx_sli_pkt_pcie_port_s {
  2987. #ifdef __BIG_ENDIAN_BITFIELD
  2988. uint64_t pp:64;
  2989. #else
  2990. uint64_t pp:64;
  2991. #endif
  2992. } s;
  2993. struct cvmx_sli_pkt_pcie_port_s cn61xx;
  2994. struct cvmx_sli_pkt_pcie_port_s cn63xx;
  2995. struct cvmx_sli_pkt_pcie_port_s cn63xxp1;
  2996. struct cvmx_sli_pkt_pcie_port_s cn66xx;
  2997. struct cvmx_sli_pkt_pcie_port_s cn68xx;
  2998. struct cvmx_sli_pkt_pcie_port_s cn68xxp1;
  2999. struct cvmx_sli_pkt_pcie_port_s cnf71xx;
  3000. };
  3001. union cvmx_sli_pkt_port_in_rst {
  3002. uint64_t u64;
  3003. struct cvmx_sli_pkt_port_in_rst_s {
  3004. #ifdef __BIG_ENDIAN_BITFIELD
  3005. uint64_t in_rst:32;
  3006. uint64_t out_rst:32;
  3007. #else
  3008. uint64_t out_rst:32;
  3009. uint64_t in_rst:32;
  3010. #endif
  3011. } s;
  3012. struct cvmx_sli_pkt_port_in_rst_s cn61xx;
  3013. struct cvmx_sli_pkt_port_in_rst_s cn63xx;
  3014. struct cvmx_sli_pkt_port_in_rst_s cn63xxp1;
  3015. struct cvmx_sli_pkt_port_in_rst_s cn66xx;
  3016. struct cvmx_sli_pkt_port_in_rst_s cn68xx;
  3017. struct cvmx_sli_pkt_port_in_rst_s cn68xxp1;
  3018. struct cvmx_sli_pkt_port_in_rst_s cnf71xx;
  3019. };
  3020. union cvmx_sli_pkt_slist_es {
  3021. uint64_t u64;
  3022. struct cvmx_sli_pkt_slist_es_s {
  3023. #ifdef __BIG_ENDIAN_BITFIELD
  3024. uint64_t es:64;
  3025. #else
  3026. uint64_t es:64;
  3027. #endif
  3028. } s;
  3029. struct cvmx_sli_pkt_slist_es_s cn61xx;
  3030. struct cvmx_sli_pkt_slist_es_s cn63xx;
  3031. struct cvmx_sli_pkt_slist_es_s cn63xxp1;
  3032. struct cvmx_sli_pkt_slist_es_s cn66xx;
  3033. struct cvmx_sli_pkt_slist_es_s cn68xx;
  3034. struct cvmx_sli_pkt_slist_es_s cn68xxp1;
  3035. struct cvmx_sli_pkt_slist_es_s cnf71xx;
  3036. };
  3037. union cvmx_sli_pkt_slist_ns {
  3038. uint64_t u64;
  3039. struct cvmx_sli_pkt_slist_ns_s {
  3040. #ifdef __BIG_ENDIAN_BITFIELD
  3041. uint64_t reserved_32_63:32;
  3042. uint64_t nsr:32;
  3043. #else
  3044. uint64_t nsr:32;
  3045. uint64_t reserved_32_63:32;
  3046. #endif
  3047. } s;
  3048. struct cvmx_sli_pkt_slist_ns_s cn61xx;
  3049. struct cvmx_sli_pkt_slist_ns_s cn63xx;
  3050. struct cvmx_sli_pkt_slist_ns_s cn63xxp1;
  3051. struct cvmx_sli_pkt_slist_ns_s cn66xx;
  3052. struct cvmx_sli_pkt_slist_ns_s cn68xx;
  3053. struct cvmx_sli_pkt_slist_ns_s cn68xxp1;
  3054. struct cvmx_sli_pkt_slist_ns_s cnf71xx;
  3055. };
  3056. union cvmx_sli_pkt_slist_ror {
  3057. uint64_t u64;
  3058. struct cvmx_sli_pkt_slist_ror_s {
  3059. #ifdef __BIG_ENDIAN_BITFIELD
  3060. uint64_t reserved_32_63:32;
  3061. uint64_t ror:32;
  3062. #else
  3063. uint64_t ror:32;
  3064. uint64_t reserved_32_63:32;
  3065. #endif
  3066. } s;
  3067. struct cvmx_sli_pkt_slist_ror_s cn61xx;
  3068. struct cvmx_sli_pkt_slist_ror_s cn63xx;
  3069. struct cvmx_sli_pkt_slist_ror_s cn63xxp1;
  3070. struct cvmx_sli_pkt_slist_ror_s cn66xx;
  3071. struct cvmx_sli_pkt_slist_ror_s cn68xx;
  3072. struct cvmx_sli_pkt_slist_ror_s cn68xxp1;
  3073. struct cvmx_sli_pkt_slist_ror_s cnf71xx;
  3074. };
  3075. union cvmx_sli_pkt_time_int {
  3076. uint64_t u64;
  3077. struct cvmx_sli_pkt_time_int_s {
  3078. #ifdef __BIG_ENDIAN_BITFIELD
  3079. uint64_t reserved_32_63:32;
  3080. uint64_t port:32;
  3081. #else
  3082. uint64_t port:32;
  3083. uint64_t reserved_32_63:32;
  3084. #endif
  3085. } s;
  3086. struct cvmx_sli_pkt_time_int_s cn61xx;
  3087. struct cvmx_sli_pkt_time_int_s cn63xx;
  3088. struct cvmx_sli_pkt_time_int_s cn63xxp1;
  3089. struct cvmx_sli_pkt_time_int_s cn66xx;
  3090. struct cvmx_sli_pkt_time_int_s cn68xx;
  3091. struct cvmx_sli_pkt_time_int_s cn68xxp1;
  3092. struct cvmx_sli_pkt_time_int_s cnf71xx;
  3093. };
  3094. union cvmx_sli_pkt_time_int_enb {
  3095. uint64_t u64;
  3096. struct cvmx_sli_pkt_time_int_enb_s {
  3097. #ifdef __BIG_ENDIAN_BITFIELD
  3098. uint64_t reserved_32_63:32;
  3099. uint64_t port:32;
  3100. #else
  3101. uint64_t port:32;
  3102. uint64_t reserved_32_63:32;
  3103. #endif
  3104. } s;
  3105. struct cvmx_sli_pkt_time_int_enb_s cn61xx;
  3106. struct cvmx_sli_pkt_time_int_enb_s cn63xx;
  3107. struct cvmx_sli_pkt_time_int_enb_s cn63xxp1;
  3108. struct cvmx_sli_pkt_time_int_enb_s cn66xx;
  3109. struct cvmx_sli_pkt_time_int_enb_s cn68xx;
  3110. struct cvmx_sli_pkt_time_int_enb_s cn68xxp1;
  3111. struct cvmx_sli_pkt_time_int_enb_s cnf71xx;
  3112. };
  3113. union cvmx_sli_portx_pkind {
  3114. uint64_t u64;
  3115. struct cvmx_sli_portx_pkind_s {
  3116. #ifdef __BIG_ENDIAN_BITFIELD
  3117. uint64_t reserved_25_63:39;
  3118. uint64_t rpk_enb:1;
  3119. uint64_t reserved_22_23:2;
  3120. uint64_t pkindr:6;
  3121. uint64_t reserved_14_15:2;
  3122. uint64_t bpkind:6;
  3123. uint64_t reserved_6_7:2;
  3124. uint64_t pkind:6;
  3125. #else
  3126. uint64_t pkind:6;
  3127. uint64_t reserved_6_7:2;
  3128. uint64_t bpkind:6;
  3129. uint64_t reserved_14_15:2;
  3130. uint64_t pkindr:6;
  3131. uint64_t reserved_22_23:2;
  3132. uint64_t rpk_enb:1;
  3133. uint64_t reserved_25_63:39;
  3134. #endif
  3135. } s;
  3136. struct cvmx_sli_portx_pkind_s cn68xx;
  3137. struct cvmx_sli_portx_pkind_cn68xxp1 {
  3138. #ifdef __BIG_ENDIAN_BITFIELD
  3139. uint64_t reserved_14_63:50;
  3140. uint64_t bpkind:6;
  3141. uint64_t reserved_6_7:2;
  3142. uint64_t pkind:6;
  3143. #else
  3144. uint64_t pkind:6;
  3145. uint64_t reserved_6_7:2;
  3146. uint64_t bpkind:6;
  3147. uint64_t reserved_14_63:50;
  3148. #endif
  3149. } cn68xxp1;
  3150. };
  3151. union cvmx_sli_s2m_portx_ctl {
  3152. uint64_t u64;
  3153. struct cvmx_sli_s2m_portx_ctl_s {
  3154. #ifdef __BIG_ENDIAN_BITFIELD
  3155. uint64_t reserved_5_63:59;
  3156. uint64_t wind_d:1;
  3157. uint64_t bar0_d:1;
  3158. uint64_t mrrs:3;
  3159. #else
  3160. uint64_t mrrs:3;
  3161. uint64_t bar0_d:1;
  3162. uint64_t wind_d:1;
  3163. uint64_t reserved_5_63:59;
  3164. #endif
  3165. } s;
  3166. struct cvmx_sli_s2m_portx_ctl_s cn61xx;
  3167. struct cvmx_sli_s2m_portx_ctl_s cn63xx;
  3168. struct cvmx_sli_s2m_portx_ctl_s cn63xxp1;
  3169. struct cvmx_sli_s2m_portx_ctl_s cn66xx;
  3170. struct cvmx_sli_s2m_portx_ctl_s cn68xx;
  3171. struct cvmx_sli_s2m_portx_ctl_s cn68xxp1;
  3172. struct cvmx_sli_s2m_portx_ctl_s cnf71xx;
  3173. };
  3174. union cvmx_sli_scratch_1 {
  3175. uint64_t u64;
  3176. struct cvmx_sli_scratch_1_s {
  3177. #ifdef __BIG_ENDIAN_BITFIELD
  3178. uint64_t data:64;
  3179. #else
  3180. uint64_t data:64;
  3181. #endif
  3182. } s;
  3183. struct cvmx_sli_scratch_1_s cn61xx;
  3184. struct cvmx_sli_scratch_1_s cn63xx;
  3185. struct cvmx_sli_scratch_1_s cn63xxp1;
  3186. struct cvmx_sli_scratch_1_s cn66xx;
  3187. struct cvmx_sli_scratch_1_s cn68xx;
  3188. struct cvmx_sli_scratch_1_s cn68xxp1;
  3189. struct cvmx_sli_scratch_1_s cnf71xx;
  3190. };
  3191. union cvmx_sli_scratch_2 {
  3192. uint64_t u64;
  3193. struct cvmx_sli_scratch_2_s {
  3194. #ifdef __BIG_ENDIAN_BITFIELD
  3195. uint64_t data:64;
  3196. #else
  3197. uint64_t data:64;
  3198. #endif
  3199. } s;
  3200. struct cvmx_sli_scratch_2_s cn61xx;
  3201. struct cvmx_sli_scratch_2_s cn63xx;
  3202. struct cvmx_sli_scratch_2_s cn63xxp1;
  3203. struct cvmx_sli_scratch_2_s cn66xx;
  3204. struct cvmx_sli_scratch_2_s cn68xx;
  3205. struct cvmx_sli_scratch_2_s cn68xxp1;
  3206. struct cvmx_sli_scratch_2_s cnf71xx;
  3207. };
  3208. union cvmx_sli_state1 {
  3209. uint64_t u64;
  3210. struct cvmx_sli_state1_s {
  3211. #ifdef __BIG_ENDIAN_BITFIELD
  3212. uint64_t cpl1:12;
  3213. uint64_t cpl0:12;
  3214. uint64_t arb:1;
  3215. uint64_t csr:39;
  3216. #else
  3217. uint64_t csr:39;
  3218. uint64_t arb:1;
  3219. uint64_t cpl0:12;
  3220. uint64_t cpl1:12;
  3221. #endif
  3222. } s;
  3223. struct cvmx_sli_state1_s cn61xx;
  3224. struct cvmx_sli_state1_s cn63xx;
  3225. struct cvmx_sli_state1_s cn63xxp1;
  3226. struct cvmx_sli_state1_s cn66xx;
  3227. struct cvmx_sli_state1_s cn68xx;
  3228. struct cvmx_sli_state1_s cn68xxp1;
  3229. struct cvmx_sli_state1_s cnf71xx;
  3230. };
  3231. union cvmx_sli_state2 {
  3232. uint64_t u64;
  3233. struct cvmx_sli_state2_s {
  3234. #ifdef __BIG_ENDIAN_BITFIELD
  3235. uint64_t reserved_56_63:8;
  3236. uint64_t nnp1:8;
  3237. uint64_t reserved_47_47:1;
  3238. uint64_t rac:1;
  3239. uint64_t csm1:15;
  3240. uint64_t csm0:15;
  3241. uint64_t nnp0:8;
  3242. uint64_t nnd:8;
  3243. #else
  3244. uint64_t nnd:8;
  3245. uint64_t nnp0:8;
  3246. uint64_t csm0:15;
  3247. uint64_t csm1:15;
  3248. uint64_t rac:1;
  3249. uint64_t reserved_47_47:1;
  3250. uint64_t nnp1:8;
  3251. uint64_t reserved_56_63:8;
  3252. #endif
  3253. } s;
  3254. struct cvmx_sli_state2_s cn61xx;
  3255. struct cvmx_sli_state2_s cn63xx;
  3256. struct cvmx_sli_state2_s cn63xxp1;
  3257. struct cvmx_sli_state2_s cn66xx;
  3258. struct cvmx_sli_state2_s cn68xx;
  3259. struct cvmx_sli_state2_s cn68xxp1;
  3260. struct cvmx_sli_state2_s cnf71xx;
  3261. };
  3262. union cvmx_sli_state3 {
  3263. uint64_t u64;
  3264. struct cvmx_sli_state3_s {
  3265. #ifdef __BIG_ENDIAN_BITFIELD
  3266. uint64_t reserved_56_63:8;
  3267. uint64_t psm1:15;
  3268. uint64_t psm0:15;
  3269. uint64_t nsm1:13;
  3270. uint64_t nsm0:13;
  3271. #else
  3272. uint64_t nsm0:13;
  3273. uint64_t nsm1:13;
  3274. uint64_t psm0:15;
  3275. uint64_t psm1:15;
  3276. uint64_t reserved_56_63:8;
  3277. #endif
  3278. } s;
  3279. struct cvmx_sli_state3_s cn61xx;
  3280. struct cvmx_sli_state3_s cn63xx;
  3281. struct cvmx_sli_state3_s cn63xxp1;
  3282. struct cvmx_sli_state3_s cn66xx;
  3283. struct cvmx_sli_state3_s cn68xx;
  3284. struct cvmx_sli_state3_s cn68xxp1;
  3285. struct cvmx_sli_state3_s cnf71xx;
  3286. };
  3287. union cvmx_sli_tx_pipe {
  3288. uint64_t u64;
  3289. struct cvmx_sli_tx_pipe_s {
  3290. #ifdef __BIG_ENDIAN_BITFIELD
  3291. uint64_t reserved_24_63:40;
  3292. uint64_t nump:8;
  3293. uint64_t reserved_7_15:9;
  3294. uint64_t base:7;
  3295. #else
  3296. uint64_t base:7;
  3297. uint64_t reserved_7_15:9;
  3298. uint64_t nump:8;
  3299. uint64_t reserved_24_63:40;
  3300. #endif
  3301. } s;
  3302. struct cvmx_sli_tx_pipe_s cn68xx;
  3303. struct cvmx_sli_tx_pipe_s cn68xxp1;
  3304. };
  3305. union cvmx_sli_win_rd_addr {
  3306. uint64_t u64;
  3307. struct cvmx_sli_win_rd_addr_s {
  3308. #ifdef __BIG_ENDIAN_BITFIELD
  3309. uint64_t reserved_51_63:13;
  3310. uint64_t ld_cmd:2;
  3311. uint64_t iobit:1;
  3312. uint64_t rd_addr:48;
  3313. #else
  3314. uint64_t rd_addr:48;
  3315. uint64_t iobit:1;
  3316. uint64_t ld_cmd:2;
  3317. uint64_t reserved_51_63:13;
  3318. #endif
  3319. } s;
  3320. struct cvmx_sli_win_rd_addr_s cn61xx;
  3321. struct cvmx_sli_win_rd_addr_s cn63xx;
  3322. struct cvmx_sli_win_rd_addr_s cn63xxp1;
  3323. struct cvmx_sli_win_rd_addr_s cn66xx;
  3324. struct cvmx_sli_win_rd_addr_s cn68xx;
  3325. struct cvmx_sli_win_rd_addr_s cn68xxp1;
  3326. struct cvmx_sli_win_rd_addr_s cnf71xx;
  3327. };
  3328. union cvmx_sli_win_rd_data {
  3329. uint64_t u64;
  3330. struct cvmx_sli_win_rd_data_s {
  3331. #ifdef __BIG_ENDIAN_BITFIELD
  3332. uint64_t rd_data:64;
  3333. #else
  3334. uint64_t rd_data:64;
  3335. #endif
  3336. } s;
  3337. struct cvmx_sli_win_rd_data_s cn61xx;
  3338. struct cvmx_sli_win_rd_data_s cn63xx;
  3339. struct cvmx_sli_win_rd_data_s cn63xxp1;
  3340. struct cvmx_sli_win_rd_data_s cn66xx;
  3341. struct cvmx_sli_win_rd_data_s cn68xx;
  3342. struct cvmx_sli_win_rd_data_s cn68xxp1;
  3343. struct cvmx_sli_win_rd_data_s cnf71xx;
  3344. };
  3345. union cvmx_sli_win_wr_addr {
  3346. uint64_t u64;
  3347. struct cvmx_sli_win_wr_addr_s {
  3348. #ifdef __BIG_ENDIAN_BITFIELD
  3349. uint64_t reserved_49_63:15;
  3350. uint64_t iobit:1;
  3351. uint64_t wr_addr:45;
  3352. uint64_t reserved_0_2:3;
  3353. #else
  3354. uint64_t reserved_0_2:3;
  3355. uint64_t wr_addr:45;
  3356. uint64_t iobit:1;
  3357. uint64_t reserved_49_63:15;
  3358. #endif
  3359. } s;
  3360. struct cvmx_sli_win_wr_addr_s cn61xx;
  3361. struct cvmx_sli_win_wr_addr_s cn63xx;
  3362. struct cvmx_sli_win_wr_addr_s cn63xxp1;
  3363. struct cvmx_sli_win_wr_addr_s cn66xx;
  3364. struct cvmx_sli_win_wr_addr_s cn68xx;
  3365. struct cvmx_sli_win_wr_addr_s cn68xxp1;
  3366. struct cvmx_sli_win_wr_addr_s cnf71xx;
  3367. };
  3368. union cvmx_sli_win_wr_data {
  3369. uint64_t u64;
  3370. struct cvmx_sli_win_wr_data_s {
  3371. #ifdef __BIG_ENDIAN_BITFIELD
  3372. uint64_t wr_data:64;
  3373. #else
  3374. uint64_t wr_data:64;
  3375. #endif
  3376. } s;
  3377. struct cvmx_sli_win_wr_data_s cn61xx;
  3378. struct cvmx_sli_win_wr_data_s cn63xx;
  3379. struct cvmx_sli_win_wr_data_s cn63xxp1;
  3380. struct cvmx_sli_win_wr_data_s cn66xx;
  3381. struct cvmx_sli_win_wr_data_s cn68xx;
  3382. struct cvmx_sli_win_wr_data_s cn68xxp1;
  3383. struct cvmx_sli_win_wr_data_s cnf71xx;
  3384. };
  3385. union cvmx_sli_win_wr_mask {
  3386. uint64_t u64;
  3387. struct cvmx_sli_win_wr_mask_s {
  3388. #ifdef __BIG_ENDIAN_BITFIELD
  3389. uint64_t reserved_8_63:56;
  3390. uint64_t wr_mask:8;
  3391. #else
  3392. uint64_t wr_mask:8;
  3393. uint64_t reserved_8_63:56;
  3394. #endif
  3395. } s;
  3396. struct cvmx_sli_win_wr_mask_s cn61xx;
  3397. struct cvmx_sli_win_wr_mask_s cn63xx;
  3398. struct cvmx_sli_win_wr_mask_s cn63xxp1;
  3399. struct cvmx_sli_win_wr_mask_s cn66xx;
  3400. struct cvmx_sli_win_wr_mask_s cn68xx;
  3401. struct cvmx_sli_win_wr_mask_s cn68xxp1;
  3402. struct cvmx_sli_win_wr_mask_s cnf71xx;
  3403. };
  3404. union cvmx_sli_window_ctl {
  3405. uint64_t u64;
  3406. struct cvmx_sli_window_ctl_s {
  3407. #ifdef __BIG_ENDIAN_BITFIELD
  3408. uint64_t reserved_32_63:32;
  3409. uint64_t time:32;
  3410. #else
  3411. uint64_t time:32;
  3412. uint64_t reserved_32_63:32;
  3413. #endif
  3414. } s;
  3415. struct cvmx_sli_window_ctl_s cn61xx;
  3416. struct cvmx_sli_window_ctl_s cn63xx;
  3417. struct cvmx_sli_window_ctl_s cn63xxp1;
  3418. struct cvmx_sli_window_ctl_s cn66xx;
  3419. struct cvmx_sli_window_ctl_s cn68xx;
  3420. struct cvmx_sli_window_ctl_s cn68xxp1;
  3421. struct cvmx_sli_window_ctl_s cnf71xx;
  3422. };
  3423. #endif