cvmx-pciercx-defs.h 80 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176
  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_PCIERCX_DEFS_H__
  28. #define __CVMX_PCIERCX_DEFS_H__
  29. #define CVMX_PCIERCX_CFG000(block_id) (0x0000000000000000ull)
  30. #define CVMX_PCIERCX_CFG001(block_id) (0x0000000000000004ull)
  31. #define CVMX_PCIERCX_CFG002(block_id) (0x0000000000000008ull)
  32. #define CVMX_PCIERCX_CFG003(block_id) (0x000000000000000Cull)
  33. #define CVMX_PCIERCX_CFG004(block_id) (0x0000000000000010ull)
  34. #define CVMX_PCIERCX_CFG005(block_id) (0x0000000000000014ull)
  35. #define CVMX_PCIERCX_CFG006(block_id) (0x0000000000000018ull)
  36. #define CVMX_PCIERCX_CFG007(block_id) (0x000000000000001Cull)
  37. #define CVMX_PCIERCX_CFG008(block_id) (0x0000000000000020ull)
  38. #define CVMX_PCIERCX_CFG009(block_id) (0x0000000000000024ull)
  39. #define CVMX_PCIERCX_CFG010(block_id) (0x0000000000000028ull)
  40. #define CVMX_PCIERCX_CFG011(block_id) (0x000000000000002Cull)
  41. #define CVMX_PCIERCX_CFG012(block_id) (0x0000000000000030ull)
  42. #define CVMX_PCIERCX_CFG013(block_id) (0x0000000000000034ull)
  43. #define CVMX_PCIERCX_CFG014(block_id) (0x0000000000000038ull)
  44. #define CVMX_PCIERCX_CFG015(block_id) (0x000000000000003Cull)
  45. #define CVMX_PCIERCX_CFG016(block_id) (0x0000000000000040ull)
  46. #define CVMX_PCIERCX_CFG017(block_id) (0x0000000000000044ull)
  47. #define CVMX_PCIERCX_CFG020(block_id) (0x0000000000000050ull)
  48. #define CVMX_PCIERCX_CFG021(block_id) (0x0000000000000054ull)
  49. #define CVMX_PCIERCX_CFG022(block_id) (0x0000000000000058ull)
  50. #define CVMX_PCIERCX_CFG023(block_id) (0x000000000000005Cull)
  51. #define CVMX_PCIERCX_CFG028(block_id) (0x0000000000000070ull)
  52. #define CVMX_PCIERCX_CFG029(block_id) (0x0000000000000074ull)
  53. #define CVMX_PCIERCX_CFG030(block_id) (0x0000000000000078ull)
  54. #define CVMX_PCIERCX_CFG031(block_id) (0x000000000000007Cull)
  55. #define CVMX_PCIERCX_CFG032(block_id) (0x0000000000000080ull)
  56. #define CVMX_PCIERCX_CFG033(block_id) (0x0000000000000084ull)
  57. #define CVMX_PCIERCX_CFG034(block_id) (0x0000000000000088ull)
  58. #define CVMX_PCIERCX_CFG035(block_id) (0x000000000000008Cull)
  59. #define CVMX_PCIERCX_CFG036(block_id) (0x0000000000000090ull)
  60. #define CVMX_PCIERCX_CFG037(block_id) (0x0000000000000094ull)
  61. #define CVMX_PCIERCX_CFG038(block_id) (0x0000000000000098ull)
  62. #define CVMX_PCIERCX_CFG039(block_id) (0x000000000000009Cull)
  63. #define CVMX_PCIERCX_CFG040(block_id) (0x00000000000000A0ull)
  64. #define CVMX_PCIERCX_CFG041(block_id) (0x00000000000000A4ull)
  65. #define CVMX_PCIERCX_CFG042(block_id) (0x00000000000000A8ull)
  66. #define CVMX_PCIERCX_CFG064(block_id) (0x0000000000000100ull)
  67. #define CVMX_PCIERCX_CFG065(block_id) (0x0000000000000104ull)
  68. #define CVMX_PCIERCX_CFG066(block_id) (0x0000000000000108ull)
  69. #define CVMX_PCIERCX_CFG067(block_id) (0x000000000000010Cull)
  70. #define CVMX_PCIERCX_CFG068(block_id) (0x0000000000000110ull)
  71. #define CVMX_PCIERCX_CFG069(block_id) (0x0000000000000114ull)
  72. #define CVMX_PCIERCX_CFG070(block_id) (0x0000000000000118ull)
  73. #define CVMX_PCIERCX_CFG071(block_id) (0x000000000000011Cull)
  74. #define CVMX_PCIERCX_CFG072(block_id) (0x0000000000000120ull)
  75. #define CVMX_PCIERCX_CFG073(block_id) (0x0000000000000124ull)
  76. #define CVMX_PCIERCX_CFG074(block_id) (0x0000000000000128ull)
  77. #define CVMX_PCIERCX_CFG075(block_id) (0x000000000000012Cull)
  78. #define CVMX_PCIERCX_CFG076(block_id) (0x0000000000000130ull)
  79. #define CVMX_PCIERCX_CFG077(block_id) (0x0000000000000134ull)
  80. #define CVMX_PCIERCX_CFG448(block_id) (0x0000000000000700ull)
  81. #define CVMX_PCIERCX_CFG449(block_id) (0x0000000000000704ull)
  82. #define CVMX_PCIERCX_CFG450(block_id) (0x0000000000000708ull)
  83. #define CVMX_PCIERCX_CFG451(block_id) (0x000000000000070Cull)
  84. #define CVMX_PCIERCX_CFG452(block_id) (0x0000000000000710ull)
  85. #define CVMX_PCIERCX_CFG453(block_id) (0x0000000000000714ull)
  86. #define CVMX_PCIERCX_CFG454(block_id) (0x0000000000000718ull)
  87. #define CVMX_PCIERCX_CFG455(block_id) (0x000000000000071Cull)
  88. #define CVMX_PCIERCX_CFG456(block_id) (0x0000000000000720ull)
  89. #define CVMX_PCIERCX_CFG458(block_id) (0x0000000000000728ull)
  90. #define CVMX_PCIERCX_CFG459(block_id) (0x000000000000072Cull)
  91. #define CVMX_PCIERCX_CFG460(block_id) (0x0000000000000730ull)
  92. #define CVMX_PCIERCX_CFG461(block_id) (0x0000000000000734ull)
  93. #define CVMX_PCIERCX_CFG462(block_id) (0x0000000000000738ull)
  94. #define CVMX_PCIERCX_CFG463(block_id) (0x000000000000073Cull)
  95. #define CVMX_PCIERCX_CFG464(block_id) (0x0000000000000740ull)
  96. #define CVMX_PCIERCX_CFG465(block_id) (0x0000000000000744ull)
  97. #define CVMX_PCIERCX_CFG466(block_id) (0x0000000000000748ull)
  98. #define CVMX_PCIERCX_CFG467(block_id) (0x000000000000074Cull)
  99. #define CVMX_PCIERCX_CFG468(block_id) (0x0000000000000750ull)
  100. #define CVMX_PCIERCX_CFG490(block_id) (0x00000000000007A8ull)
  101. #define CVMX_PCIERCX_CFG491(block_id) (0x00000000000007ACull)
  102. #define CVMX_PCIERCX_CFG492(block_id) (0x00000000000007B0ull)
  103. #define CVMX_PCIERCX_CFG515(block_id) (0x000000000000080Cull)
  104. #define CVMX_PCIERCX_CFG516(block_id) (0x0000000000000810ull)
  105. #define CVMX_PCIERCX_CFG517(block_id) (0x0000000000000814ull)
  106. union cvmx_pciercx_cfg000 {
  107. uint32_t u32;
  108. struct cvmx_pciercx_cfg000_s {
  109. #ifdef __BIG_ENDIAN_BITFIELD
  110. uint32_t devid:16;
  111. uint32_t vendid:16;
  112. #else
  113. uint32_t vendid:16;
  114. uint32_t devid:16;
  115. #endif
  116. } s;
  117. struct cvmx_pciercx_cfg000_s cn52xx;
  118. struct cvmx_pciercx_cfg000_s cn52xxp1;
  119. struct cvmx_pciercx_cfg000_s cn56xx;
  120. struct cvmx_pciercx_cfg000_s cn56xxp1;
  121. struct cvmx_pciercx_cfg000_s cn61xx;
  122. struct cvmx_pciercx_cfg000_s cn63xx;
  123. struct cvmx_pciercx_cfg000_s cn63xxp1;
  124. struct cvmx_pciercx_cfg000_s cn66xx;
  125. struct cvmx_pciercx_cfg000_s cn68xx;
  126. struct cvmx_pciercx_cfg000_s cn68xxp1;
  127. struct cvmx_pciercx_cfg000_s cnf71xx;
  128. };
  129. union cvmx_pciercx_cfg001 {
  130. uint32_t u32;
  131. struct cvmx_pciercx_cfg001_s {
  132. #ifdef __BIG_ENDIAN_BITFIELD
  133. uint32_t dpe:1;
  134. uint32_t sse:1;
  135. uint32_t rma:1;
  136. uint32_t rta:1;
  137. uint32_t sta:1;
  138. uint32_t devt:2;
  139. uint32_t mdpe:1;
  140. uint32_t fbb:1;
  141. uint32_t reserved_22_22:1;
  142. uint32_t m66:1;
  143. uint32_t cl:1;
  144. uint32_t i_stat:1;
  145. uint32_t reserved_11_18:8;
  146. uint32_t i_dis:1;
  147. uint32_t fbbe:1;
  148. uint32_t see:1;
  149. uint32_t ids_wcc:1;
  150. uint32_t per:1;
  151. uint32_t vps:1;
  152. uint32_t mwice:1;
  153. uint32_t scse:1;
  154. uint32_t me:1;
  155. uint32_t msae:1;
  156. uint32_t isae:1;
  157. #else
  158. uint32_t isae:1;
  159. uint32_t msae:1;
  160. uint32_t me:1;
  161. uint32_t scse:1;
  162. uint32_t mwice:1;
  163. uint32_t vps:1;
  164. uint32_t per:1;
  165. uint32_t ids_wcc:1;
  166. uint32_t see:1;
  167. uint32_t fbbe:1;
  168. uint32_t i_dis:1;
  169. uint32_t reserved_11_18:8;
  170. uint32_t i_stat:1;
  171. uint32_t cl:1;
  172. uint32_t m66:1;
  173. uint32_t reserved_22_22:1;
  174. uint32_t fbb:1;
  175. uint32_t mdpe:1;
  176. uint32_t devt:2;
  177. uint32_t sta:1;
  178. uint32_t rta:1;
  179. uint32_t rma:1;
  180. uint32_t sse:1;
  181. uint32_t dpe:1;
  182. #endif
  183. } s;
  184. struct cvmx_pciercx_cfg001_s cn52xx;
  185. struct cvmx_pciercx_cfg001_s cn52xxp1;
  186. struct cvmx_pciercx_cfg001_s cn56xx;
  187. struct cvmx_pciercx_cfg001_s cn56xxp1;
  188. struct cvmx_pciercx_cfg001_s cn61xx;
  189. struct cvmx_pciercx_cfg001_s cn63xx;
  190. struct cvmx_pciercx_cfg001_s cn63xxp1;
  191. struct cvmx_pciercx_cfg001_s cn66xx;
  192. struct cvmx_pciercx_cfg001_s cn68xx;
  193. struct cvmx_pciercx_cfg001_s cn68xxp1;
  194. struct cvmx_pciercx_cfg001_s cnf71xx;
  195. };
  196. union cvmx_pciercx_cfg002 {
  197. uint32_t u32;
  198. struct cvmx_pciercx_cfg002_s {
  199. #ifdef __BIG_ENDIAN_BITFIELD
  200. uint32_t bcc:8;
  201. uint32_t sc:8;
  202. uint32_t pi:8;
  203. uint32_t rid:8;
  204. #else
  205. uint32_t rid:8;
  206. uint32_t pi:8;
  207. uint32_t sc:8;
  208. uint32_t bcc:8;
  209. #endif
  210. } s;
  211. struct cvmx_pciercx_cfg002_s cn52xx;
  212. struct cvmx_pciercx_cfg002_s cn52xxp1;
  213. struct cvmx_pciercx_cfg002_s cn56xx;
  214. struct cvmx_pciercx_cfg002_s cn56xxp1;
  215. struct cvmx_pciercx_cfg002_s cn61xx;
  216. struct cvmx_pciercx_cfg002_s cn63xx;
  217. struct cvmx_pciercx_cfg002_s cn63xxp1;
  218. struct cvmx_pciercx_cfg002_s cn66xx;
  219. struct cvmx_pciercx_cfg002_s cn68xx;
  220. struct cvmx_pciercx_cfg002_s cn68xxp1;
  221. struct cvmx_pciercx_cfg002_s cnf71xx;
  222. };
  223. union cvmx_pciercx_cfg003 {
  224. uint32_t u32;
  225. struct cvmx_pciercx_cfg003_s {
  226. #ifdef __BIG_ENDIAN_BITFIELD
  227. uint32_t bist:8;
  228. uint32_t mfd:1;
  229. uint32_t chf:7;
  230. uint32_t lt:8;
  231. uint32_t cls:8;
  232. #else
  233. uint32_t cls:8;
  234. uint32_t lt:8;
  235. uint32_t chf:7;
  236. uint32_t mfd:1;
  237. uint32_t bist:8;
  238. #endif
  239. } s;
  240. struct cvmx_pciercx_cfg003_s cn52xx;
  241. struct cvmx_pciercx_cfg003_s cn52xxp1;
  242. struct cvmx_pciercx_cfg003_s cn56xx;
  243. struct cvmx_pciercx_cfg003_s cn56xxp1;
  244. struct cvmx_pciercx_cfg003_s cn61xx;
  245. struct cvmx_pciercx_cfg003_s cn63xx;
  246. struct cvmx_pciercx_cfg003_s cn63xxp1;
  247. struct cvmx_pciercx_cfg003_s cn66xx;
  248. struct cvmx_pciercx_cfg003_s cn68xx;
  249. struct cvmx_pciercx_cfg003_s cn68xxp1;
  250. struct cvmx_pciercx_cfg003_s cnf71xx;
  251. };
  252. union cvmx_pciercx_cfg004 {
  253. uint32_t u32;
  254. struct cvmx_pciercx_cfg004_s {
  255. #ifdef __BIG_ENDIAN_BITFIELD
  256. uint32_t reserved_0_31:32;
  257. #else
  258. uint32_t reserved_0_31:32;
  259. #endif
  260. } s;
  261. struct cvmx_pciercx_cfg004_s cn52xx;
  262. struct cvmx_pciercx_cfg004_s cn52xxp1;
  263. struct cvmx_pciercx_cfg004_s cn56xx;
  264. struct cvmx_pciercx_cfg004_s cn56xxp1;
  265. struct cvmx_pciercx_cfg004_s cn61xx;
  266. struct cvmx_pciercx_cfg004_s cn63xx;
  267. struct cvmx_pciercx_cfg004_s cn63xxp1;
  268. struct cvmx_pciercx_cfg004_s cn66xx;
  269. struct cvmx_pciercx_cfg004_s cn68xx;
  270. struct cvmx_pciercx_cfg004_s cn68xxp1;
  271. struct cvmx_pciercx_cfg004_s cnf71xx;
  272. };
  273. union cvmx_pciercx_cfg005 {
  274. uint32_t u32;
  275. struct cvmx_pciercx_cfg005_s {
  276. #ifdef __BIG_ENDIAN_BITFIELD
  277. uint32_t reserved_0_31:32;
  278. #else
  279. uint32_t reserved_0_31:32;
  280. #endif
  281. } s;
  282. struct cvmx_pciercx_cfg005_s cn52xx;
  283. struct cvmx_pciercx_cfg005_s cn52xxp1;
  284. struct cvmx_pciercx_cfg005_s cn56xx;
  285. struct cvmx_pciercx_cfg005_s cn56xxp1;
  286. struct cvmx_pciercx_cfg005_s cn61xx;
  287. struct cvmx_pciercx_cfg005_s cn63xx;
  288. struct cvmx_pciercx_cfg005_s cn63xxp1;
  289. struct cvmx_pciercx_cfg005_s cn66xx;
  290. struct cvmx_pciercx_cfg005_s cn68xx;
  291. struct cvmx_pciercx_cfg005_s cn68xxp1;
  292. struct cvmx_pciercx_cfg005_s cnf71xx;
  293. };
  294. union cvmx_pciercx_cfg006 {
  295. uint32_t u32;
  296. struct cvmx_pciercx_cfg006_s {
  297. #ifdef __BIG_ENDIAN_BITFIELD
  298. uint32_t slt:8;
  299. uint32_t subbnum:8;
  300. uint32_t sbnum:8;
  301. uint32_t pbnum:8;
  302. #else
  303. uint32_t pbnum:8;
  304. uint32_t sbnum:8;
  305. uint32_t subbnum:8;
  306. uint32_t slt:8;
  307. #endif
  308. } s;
  309. struct cvmx_pciercx_cfg006_s cn52xx;
  310. struct cvmx_pciercx_cfg006_s cn52xxp1;
  311. struct cvmx_pciercx_cfg006_s cn56xx;
  312. struct cvmx_pciercx_cfg006_s cn56xxp1;
  313. struct cvmx_pciercx_cfg006_s cn61xx;
  314. struct cvmx_pciercx_cfg006_s cn63xx;
  315. struct cvmx_pciercx_cfg006_s cn63xxp1;
  316. struct cvmx_pciercx_cfg006_s cn66xx;
  317. struct cvmx_pciercx_cfg006_s cn68xx;
  318. struct cvmx_pciercx_cfg006_s cn68xxp1;
  319. struct cvmx_pciercx_cfg006_s cnf71xx;
  320. };
  321. union cvmx_pciercx_cfg007 {
  322. uint32_t u32;
  323. struct cvmx_pciercx_cfg007_s {
  324. #ifdef __BIG_ENDIAN_BITFIELD
  325. uint32_t dpe:1;
  326. uint32_t sse:1;
  327. uint32_t rma:1;
  328. uint32_t rta:1;
  329. uint32_t sta:1;
  330. uint32_t devt:2;
  331. uint32_t mdpe:1;
  332. uint32_t fbb:1;
  333. uint32_t reserved_22_22:1;
  334. uint32_t m66:1;
  335. uint32_t reserved_16_20:5;
  336. uint32_t lio_limi:4;
  337. uint32_t reserved_9_11:3;
  338. uint32_t io32b:1;
  339. uint32_t lio_base:4;
  340. uint32_t reserved_1_3:3;
  341. uint32_t io32a:1;
  342. #else
  343. uint32_t io32a:1;
  344. uint32_t reserved_1_3:3;
  345. uint32_t lio_base:4;
  346. uint32_t io32b:1;
  347. uint32_t reserved_9_11:3;
  348. uint32_t lio_limi:4;
  349. uint32_t reserved_16_20:5;
  350. uint32_t m66:1;
  351. uint32_t reserved_22_22:1;
  352. uint32_t fbb:1;
  353. uint32_t mdpe:1;
  354. uint32_t devt:2;
  355. uint32_t sta:1;
  356. uint32_t rta:1;
  357. uint32_t rma:1;
  358. uint32_t sse:1;
  359. uint32_t dpe:1;
  360. #endif
  361. } s;
  362. struct cvmx_pciercx_cfg007_s cn52xx;
  363. struct cvmx_pciercx_cfg007_s cn52xxp1;
  364. struct cvmx_pciercx_cfg007_s cn56xx;
  365. struct cvmx_pciercx_cfg007_s cn56xxp1;
  366. struct cvmx_pciercx_cfg007_s cn61xx;
  367. struct cvmx_pciercx_cfg007_s cn63xx;
  368. struct cvmx_pciercx_cfg007_s cn63xxp1;
  369. struct cvmx_pciercx_cfg007_s cn66xx;
  370. struct cvmx_pciercx_cfg007_s cn68xx;
  371. struct cvmx_pciercx_cfg007_s cn68xxp1;
  372. struct cvmx_pciercx_cfg007_s cnf71xx;
  373. };
  374. union cvmx_pciercx_cfg008 {
  375. uint32_t u32;
  376. struct cvmx_pciercx_cfg008_s {
  377. #ifdef __BIG_ENDIAN_BITFIELD
  378. uint32_t ml_addr:12;
  379. uint32_t reserved_16_19:4;
  380. uint32_t mb_addr:12;
  381. uint32_t reserved_0_3:4;
  382. #else
  383. uint32_t reserved_0_3:4;
  384. uint32_t mb_addr:12;
  385. uint32_t reserved_16_19:4;
  386. uint32_t ml_addr:12;
  387. #endif
  388. } s;
  389. struct cvmx_pciercx_cfg008_s cn52xx;
  390. struct cvmx_pciercx_cfg008_s cn52xxp1;
  391. struct cvmx_pciercx_cfg008_s cn56xx;
  392. struct cvmx_pciercx_cfg008_s cn56xxp1;
  393. struct cvmx_pciercx_cfg008_s cn61xx;
  394. struct cvmx_pciercx_cfg008_s cn63xx;
  395. struct cvmx_pciercx_cfg008_s cn63xxp1;
  396. struct cvmx_pciercx_cfg008_s cn66xx;
  397. struct cvmx_pciercx_cfg008_s cn68xx;
  398. struct cvmx_pciercx_cfg008_s cn68xxp1;
  399. struct cvmx_pciercx_cfg008_s cnf71xx;
  400. };
  401. union cvmx_pciercx_cfg009 {
  402. uint32_t u32;
  403. struct cvmx_pciercx_cfg009_s {
  404. #ifdef __BIG_ENDIAN_BITFIELD
  405. uint32_t lmem_limit:12;
  406. uint32_t reserved_17_19:3;
  407. uint32_t mem64b:1;
  408. uint32_t lmem_base:12;
  409. uint32_t reserved_1_3:3;
  410. uint32_t mem64a:1;
  411. #else
  412. uint32_t mem64a:1;
  413. uint32_t reserved_1_3:3;
  414. uint32_t lmem_base:12;
  415. uint32_t mem64b:1;
  416. uint32_t reserved_17_19:3;
  417. uint32_t lmem_limit:12;
  418. #endif
  419. } s;
  420. struct cvmx_pciercx_cfg009_s cn52xx;
  421. struct cvmx_pciercx_cfg009_s cn52xxp1;
  422. struct cvmx_pciercx_cfg009_s cn56xx;
  423. struct cvmx_pciercx_cfg009_s cn56xxp1;
  424. struct cvmx_pciercx_cfg009_s cn61xx;
  425. struct cvmx_pciercx_cfg009_s cn63xx;
  426. struct cvmx_pciercx_cfg009_s cn63xxp1;
  427. struct cvmx_pciercx_cfg009_s cn66xx;
  428. struct cvmx_pciercx_cfg009_s cn68xx;
  429. struct cvmx_pciercx_cfg009_s cn68xxp1;
  430. struct cvmx_pciercx_cfg009_s cnf71xx;
  431. };
  432. union cvmx_pciercx_cfg010 {
  433. uint32_t u32;
  434. struct cvmx_pciercx_cfg010_s {
  435. #ifdef __BIG_ENDIAN_BITFIELD
  436. uint32_t umem_base:32;
  437. #else
  438. uint32_t umem_base:32;
  439. #endif
  440. } s;
  441. struct cvmx_pciercx_cfg010_s cn52xx;
  442. struct cvmx_pciercx_cfg010_s cn52xxp1;
  443. struct cvmx_pciercx_cfg010_s cn56xx;
  444. struct cvmx_pciercx_cfg010_s cn56xxp1;
  445. struct cvmx_pciercx_cfg010_s cn61xx;
  446. struct cvmx_pciercx_cfg010_s cn63xx;
  447. struct cvmx_pciercx_cfg010_s cn63xxp1;
  448. struct cvmx_pciercx_cfg010_s cn66xx;
  449. struct cvmx_pciercx_cfg010_s cn68xx;
  450. struct cvmx_pciercx_cfg010_s cn68xxp1;
  451. struct cvmx_pciercx_cfg010_s cnf71xx;
  452. };
  453. union cvmx_pciercx_cfg011 {
  454. uint32_t u32;
  455. struct cvmx_pciercx_cfg011_s {
  456. #ifdef __BIG_ENDIAN_BITFIELD
  457. uint32_t umem_limit:32;
  458. #else
  459. uint32_t umem_limit:32;
  460. #endif
  461. } s;
  462. struct cvmx_pciercx_cfg011_s cn52xx;
  463. struct cvmx_pciercx_cfg011_s cn52xxp1;
  464. struct cvmx_pciercx_cfg011_s cn56xx;
  465. struct cvmx_pciercx_cfg011_s cn56xxp1;
  466. struct cvmx_pciercx_cfg011_s cn61xx;
  467. struct cvmx_pciercx_cfg011_s cn63xx;
  468. struct cvmx_pciercx_cfg011_s cn63xxp1;
  469. struct cvmx_pciercx_cfg011_s cn66xx;
  470. struct cvmx_pciercx_cfg011_s cn68xx;
  471. struct cvmx_pciercx_cfg011_s cn68xxp1;
  472. struct cvmx_pciercx_cfg011_s cnf71xx;
  473. };
  474. union cvmx_pciercx_cfg012 {
  475. uint32_t u32;
  476. struct cvmx_pciercx_cfg012_s {
  477. #ifdef __BIG_ENDIAN_BITFIELD
  478. uint32_t uio_limit:16;
  479. uint32_t uio_base:16;
  480. #else
  481. uint32_t uio_base:16;
  482. uint32_t uio_limit:16;
  483. #endif
  484. } s;
  485. struct cvmx_pciercx_cfg012_s cn52xx;
  486. struct cvmx_pciercx_cfg012_s cn52xxp1;
  487. struct cvmx_pciercx_cfg012_s cn56xx;
  488. struct cvmx_pciercx_cfg012_s cn56xxp1;
  489. struct cvmx_pciercx_cfg012_s cn61xx;
  490. struct cvmx_pciercx_cfg012_s cn63xx;
  491. struct cvmx_pciercx_cfg012_s cn63xxp1;
  492. struct cvmx_pciercx_cfg012_s cn66xx;
  493. struct cvmx_pciercx_cfg012_s cn68xx;
  494. struct cvmx_pciercx_cfg012_s cn68xxp1;
  495. struct cvmx_pciercx_cfg012_s cnf71xx;
  496. };
  497. union cvmx_pciercx_cfg013 {
  498. uint32_t u32;
  499. struct cvmx_pciercx_cfg013_s {
  500. #ifdef __BIG_ENDIAN_BITFIELD
  501. uint32_t reserved_8_31:24;
  502. uint32_t cp:8;
  503. #else
  504. uint32_t cp:8;
  505. uint32_t reserved_8_31:24;
  506. #endif
  507. } s;
  508. struct cvmx_pciercx_cfg013_s cn52xx;
  509. struct cvmx_pciercx_cfg013_s cn52xxp1;
  510. struct cvmx_pciercx_cfg013_s cn56xx;
  511. struct cvmx_pciercx_cfg013_s cn56xxp1;
  512. struct cvmx_pciercx_cfg013_s cn61xx;
  513. struct cvmx_pciercx_cfg013_s cn63xx;
  514. struct cvmx_pciercx_cfg013_s cn63xxp1;
  515. struct cvmx_pciercx_cfg013_s cn66xx;
  516. struct cvmx_pciercx_cfg013_s cn68xx;
  517. struct cvmx_pciercx_cfg013_s cn68xxp1;
  518. struct cvmx_pciercx_cfg013_s cnf71xx;
  519. };
  520. union cvmx_pciercx_cfg014 {
  521. uint32_t u32;
  522. struct cvmx_pciercx_cfg014_s {
  523. #ifdef __BIG_ENDIAN_BITFIELD
  524. uint32_t reserved_0_31:32;
  525. #else
  526. uint32_t reserved_0_31:32;
  527. #endif
  528. } s;
  529. struct cvmx_pciercx_cfg014_s cn52xx;
  530. struct cvmx_pciercx_cfg014_s cn52xxp1;
  531. struct cvmx_pciercx_cfg014_s cn56xx;
  532. struct cvmx_pciercx_cfg014_s cn56xxp1;
  533. struct cvmx_pciercx_cfg014_s cn61xx;
  534. struct cvmx_pciercx_cfg014_s cn63xx;
  535. struct cvmx_pciercx_cfg014_s cn63xxp1;
  536. struct cvmx_pciercx_cfg014_s cn66xx;
  537. struct cvmx_pciercx_cfg014_s cn68xx;
  538. struct cvmx_pciercx_cfg014_s cn68xxp1;
  539. struct cvmx_pciercx_cfg014_s cnf71xx;
  540. };
  541. union cvmx_pciercx_cfg015 {
  542. uint32_t u32;
  543. struct cvmx_pciercx_cfg015_s {
  544. #ifdef __BIG_ENDIAN_BITFIELD
  545. uint32_t reserved_28_31:4;
  546. uint32_t dtsees:1;
  547. uint32_t dts:1;
  548. uint32_t sdt:1;
  549. uint32_t pdt:1;
  550. uint32_t fbbe:1;
  551. uint32_t sbrst:1;
  552. uint32_t mam:1;
  553. uint32_t vga16d:1;
  554. uint32_t vgae:1;
  555. uint32_t isae:1;
  556. uint32_t see:1;
  557. uint32_t pere:1;
  558. uint32_t inta:8;
  559. uint32_t il:8;
  560. #else
  561. uint32_t il:8;
  562. uint32_t inta:8;
  563. uint32_t pere:1;
  564. uint32_t see:1;
  565. uint32_t isae:1;
  566. uint32_t vgae:1;
  567. uint32_t vga16d:1;
  568. uint32_t mam:1;
  569. uint32_t sbrst:1;
  570. uint32_t fbbe:1;
  571. uint32_t pdt:1;
  572. uint32_t sdt:1;
  573. uint32_t dts:1;
  574. uint32_t dtsees:1;
  575. uint32_t reserved_28_31:4;
  576. #endif
  577. } s;
  578. struct cvmx_pciercx_cfg015_s cn52xx;
  579. struct cvmx_pciercx_cfg015_s cn52xxp1;
  580. struct cvmx_pciercx_cfg015_s cn56xx;
  581. struct cvmx_pciercx_cfg015_s cn56xxp1;
  582. struct cvmx_pciercx_cfg015_s cn61xx;
  583. struct cvmx_pciercx_cfg015_s cn63xx;
  584. struct cvmx_pciercx_cfg015_s cn63xxp1;
  585. struct cvmx_pciercx_cfg015_s cn66xx;
  586. struct cvmx_pciercx_cfg015_s cn68xx;
  587. struct cvmx_pciercx_cfg015_s cn68xxp1;
  588. struct cvmx_pciercx_cfg015_s cnf71xx;
  589. };
  590. union cvmx_pciercx_cfg016 {
  591. uint32_t u32;
  592. struct cvmx_pciercx_cfg016_s {
  593. #ifdef __BIG_ENDIAN_BITFIELD
  594. uint32_t pmes:5;
  595. uint32_t d2s:1;
  596. uint32_t d1s:1;
  597. uint32_t auxc:3;
  598. uint32_t dsi:1;
  599. uint32_t reserved_20_20:1;
  600. uint32_t pme_clock:1;
  601. uint32_t pmsv:3;
  602. uint32_t ncp:8;
  603. uint32_t pmcid:8;
  604. #else
  605. uint32_t pmcid:8;
  606. uint32_t ncp:8;
  607. uint32_t pmsv:3;
  608. uint32_t pme_clock:1;
  609. uint32_t reserved_20_20:1;
  610. uint32_t dsi:1;
  611. uint32_t auxc:3;
  612. uint32_t d1s:1;
  613. uint32_t d2s:1;
  614. uint32_t pmes:5;
  615. #endif
  616. } s;
  617. struct cvmx_pciercx_cfg016_s cn52xx;
  618. struct cvmx_pciercx_cfg016_s cn52xxp1;
  619. struct cvmx_pciercx_cfg016_s cn56xx;
  620. struct cvmx_pciercx_cfg016_s cn56xxp1;
  621. struct cvmx_pciercx_cfg016_s cn61xx;
  622. struct cvmx_pciercx_cfg016_s cn63xx;
  623. struct cvmx_pciercx_cfg016_s cn63xxp1;
  624. struct cvmx_pciercx_cfg016_s cn66xx;
  625. struct cvmx_pciercx_cfg016_s cn68xx;
  626. struct cvmx_pciercx_cfg016_s cn68xxp1;
  627. struct cvmx_pciercx_cfg016_s cnf71xx;
  628. };
  629. union cvmx_pciercx_cfg017 {
  630. uint32_t u32;
  631. struct cvmx_pciercx_cfg017_s {
  632. #ifdef __BIG_ENDIAN_BITFIELD
  633. uint32_t pmdia:8;
  634. uint32_t bpccee:1;
  635. uint32_t bd3h:1;
  636. uint32_t reserved_16_21:6;
  637. uint32_t pmess:1;
  638. uint32_t pmedsia:2;
  639. uint32_t pmds:4;
  640. uint32_t pmeens:1;
  641. uint32_t reserved_4_7:4;
  642. uint32_t nsr:1;
  643. uint32_t reserved_2_2:1;
  644. uint32_t ps:2;
  645. #else
  646. uint32_t ps:2;
  647. uint32_t reserved_2_2:1;
  648. uint32_t nsr:1;
  649. uint32_t reserved_4_7:4;
  650. uint32_t pmeens:1;
  651. uint32_t pmds:4;
  652. uint32_t pmedsia:2;
  653. uint32_t pmess:1;
  654. uint32_t reserved_16_21:6;
  655. uint32_t bd3h:1;
  656. uint32_t bpccee:1;
  657. uint32_t pmdia:8;
  658. #endif
  659. } s;
  660. struct cvmx_pciercx_cfg017_s cn52xx;
  661. struct cvmx_pciercx_cfg017_s cn52xxp1;
  662. struct cvmx_pciercx_cfg017_s cn56xx;
  663. struct cvmx_pciercx_cfg017_s cn56xxp1;
  664. struct cvmx_pciercx_cfg017_s cn61xx;
  665. struct cvmx_pciercx_cfg017_s cn63xx;
  666. struct cvmx_pciercx_cfg017_s cn63xxp1;
  667. struct cvmx_pciercx_cfg017_s cn66xx;
  668. struct cvmx_pciercx_cfg017_s cn68xx;
  669. struct cvmx_pciercx_cfg017_s cn68xxp1;
  670. struct cvmx_pciercx_cfg017_s cnf71xx;
  671. };
  672. union cvmx_pciercx_cfg020 {
  673. uint32_t u32;
  674. struct cvmx_pciercx_cfg020_s {
  675. #ifdef __BIG_ENDIAN_BITFIELD
  676. uint32_t reserved_25_31:7;
  677. uint32_t pvm:1;
  678. uint32_t m64:1;
  679. uint32_t mme:3;
  680. uint32_t mmc:3;
  681. uint32_t msien:1;
  682. uint32_t ncp:8;
  683. uint32_t msicid:8;
  684. #else
  685. uint32_t msicid:8;
  686. uint32_t ncp:8;
  687. uint32_t msien:1;
  688. uint32_t mmc:3;
  689. uint32_t mme:3;
  690. uint32_t m64:1;
  691. uint32_t pvm:1;
  692. uint32_t reserved_25_31:7;
  693. #endif
  694. } s;
  695. struct cvmx_pciercx_cfg020_cn52xx {
  696. #ifdef __BIG_ENDIAN_BITFIELD
  697. uint32_t reserved_24_31:8;
  698. uint32_t m64:1;
  699. uint32_t mme:3;
  700. uint32_t mmc:3;
  701. uint32_t msien:1;
  702. uint32_t ncp:8;
  703. uint32_t msicid:8;
  704. #else
  705. uint32_t msicid:8;
  706. uint32_t ncp:8;
  707. uint32_t msien:1;
  708. uint32_t mmc:3;
  709. uint32_t mme:3;
  710. uint32_t m64:1;
  711. uint32_t reserved_24_31:8;
  712. #endif
  713. } cn52xx;
  714. struct cvmx_pciercx_cfg020_cn52xx cn52xxp1;
  715. struct cvmx_pciercx_cfg020_cn52xx cn56xx;
  716. struct cvmx_pciercx_cfg020_cn52xx cn56xxp1;
  717. struct cvmx_pciercx_cfg020_s cn61xx;
  718. struct cvmx_pciercx_cfg020_cn52xx cn63xx;
  719. struct cvmx_pciercx_cfg020_cn52xx cn63xxp1;
  720. struct cvmx_pciercx_cfg020_cn52xx cn66xx;
  721. struct cvmx_pciercx_cfg020_cn52xx cn68xx;
  722. struct cvmx_pciercx_cfg020_cn52xx cn68xxp1;
  723. struct cvmx_pciercx_cfg020_s cnf71xx;
  724. };
  725. union cvmx_pciercx_cfg021 {
  726. uint32_t u32;
  727. struct cvmx_pciercx_cfg021_s {
  728. #ifdef __BIG_ENDIAN_BITFIELD
  729. uint32_t lmsi:30;
  730. uint32_t reserved_0_1:2;
  731. #else
  732. uint32_t reserved_0_1:2;
  733. uint32_t lmsi:30;
  734. #endif
  735. } s;
  736. struct cvmx_pciercx_cfg021_s cn52xx;
  737. struct cvmx_pciercx_cfg021_s cn52xxp1;
  738. struct cvmx_pciercx_cfg021_s cn56xx;
  739. struct cvmx_pciercx_cfg021_s cn56xxp1;
  740. struct cvmx_pciercx_cfg021_s cn61xx;
  741. struct cvmx_pciercx_cfg021_s cn63xx;
  742. struct cvmx_pciercx_cfg021_s cn63xxp1;
  743. struct cvmx_pciercx_cfg021_s cn66xx;
  744. struct cvmx_pciercx_cfg021_s cn68xx;
  745. struct cvmx_pciercx_cfg021_s cn68xxp1;
  746. struct cvmx_pciercx_cfg021_s cnf71xx;
  747. };
  748. union cvmx_pciercx_cfg022 {
  749. uint32_t u32;
  750. struct cvmx_pciercx_cfg022_s {
  751. #ifdef __BIG_ENDIAN_BITFIELD
  752. uint32_t umsi:32;
  753. #else
  754. uint32_t umsi:32;
  755. #endif
  756. } s;
  757. struct cvmx_pciercx_cfg022_s cn52xx;
  758. struct cvmx_pciercx_cfg022_s cn52xxp1;
  759. struct cvmx_pciercx_cfg022_s cn56xx;
  760. struct cvmx_pciercx_cfg022_s cn56xxp1;
  761. struct cvmx_pciercx_cfg022_s cn61xx;
  762. struct cvmx_pciercx_cfg022_s cn63xx;
  763. struct cvmx_pciercx_cfg022_s cn63xxp1;
  764. struct cvmx_pciercx_cfg022_s cn66xx;
  765. struct cvmx_pciercx_cfg022_s cn68xx;
  766. struct cvmx_pciercx_cfg022_s cn68xxp1;
  767. struct cvmx_pciercx_cfg022_s cnf71xx;
  768. };
  769. union cvmx_pciercx_cfg023 {
  770. uint32_t u32;
  771. struct cvmx_pciercx_cfg023_s {
  772. #ifdef __BIG_ENDIAN_BITFIELD
  773. uint32_t reserved_16_31:16;
  774. uint32_t msimd:16;
  775. #else
  776. uint32_t msimd:16;
  777. uint32_t reserved_16_31:16;
  778. #endif
  779. } s;
  780. struct cvmx_pciercx_cfg023_s cn52xx;
  781. struct cvmx_pciercx_cfg023_s cn52xxp1;
  782. struct cvmx_pciercx_cfg023_s cn56xx;
  783. struct cvmx_pciercx_cfg023_s cn56xxp1;
  784. struct cvmx_pciercx_cfg023_s cn61xx;
  785. struct cvmx_pciercx_cfg023_s cn63xx;
  786. struct cvmx_pciercx_cfg023_s cn63xxp1;
  787. struct cvmx_pciercx_cfg023_s cn66xx;
  788. struct cvmx_pciercx_cfg023_s cn68xx;
  789. struct cvmx_pciercx_cfg023_s cn68xxp1;
  790. struct cvmx_pciercx_cfg023_s cnf71xx;
  791. };
  792. union cvmx_pciercx_cfg028 {
  793. uint32_t u32;
  794. struct cvmx_pciercx_cfg028_s {
  795. #ifdef __BIG_ENDIAN_BITFIELD
  796. uint32_t reserved_30_31:2;
  797. uint32_t imn:5;
  798. uint32_t si:1;
  799. uint32_t dpt:4;
  800. uint32_t pciecv:4;
  801. uint32_t ncp:8;
  802. uint32_t pcieid:8;
  803. #else
  804. uint32_t pcieid:8;
  805. uint32_t ncp:8;
  806. uint32_t pciecv:4;
  807. uint32_t dpt:4;
  808. uint32_t si:1;
  809. uint32_t imn:5;
  810. uint32_t reserved_30_31:2;
  811. #endif
  812. } s;
  813. struct cvmx_pciercx_cfg028_s cn52xx;
  814. struct cvmx_pciercx_cfg028_s cn52xxp1;
  815. struct cvmx_pciercx_cfg028_s cn56xx;
  816. struct cvmx_pciercx_cfg028_s cn56xxp1;
  817. struct cvmx_pciercx_cfg028_s cn61xx;
  818. struct cvmx_pciercx_cfg028_s cn63xx;
  819. struct cvmx_pciercx_cfg028_s cn63xxp1;
  820. struct cvmx_pciercx_cfg028_s cn66xx;
  821. struct cvmx_pciercx_cfg028_s cn68xx;
  822. struct cvmx_pciercx_cfg028_s cn68xxp1;
  823. struct cvmx_pciercx_cfg028_s cnf71xx;
  824. };
  825. union cvmx_pciercx_cfg029 {
  826. uint32_t u32;
  827. struct cvmx_pciercx_cfg029_s {
  828. #ifdef __BIG_ENDIAN_BITFIELD
  829. uint32_t reserved_28_31:4;
  830. uint32_t cspls:2;
  831. uint32_t csplv:8;
  832. uint32_t reserved_16_17:2;
  833. uint32_t rber:1;
  834. uint32_t reserved_12_14:3;
  835. uint32_t el1al:3;
  836. uint32_t el0al:3;
  837. uint32_t etfs:1;
  838. uint32_t pfs:2;
  839. uint32_t mpss:3;
  840. #else
  841. uint32_t mpss:3;
  842. uint32_t pfs:2;
  843. uint32_t etfs:1;
  844. uint32_t el0al:3;
  845. uint32_t el1al:3;
  846. uint32_t reserved_12_14:3;
  847. uint32_t rber:1;
  848. uint32_t reserved_16_17:2;
  849. uint32_t csplv:8;
  850. uint32_t cspls:2;
  851. uint32_t reserved_28_31:4;
  852. #endif
  853. } s;
  854. struct cvmx_pciercx_cfg029_s cn52xx;
  855. struct cvmx_pciercx_cfg029_s cn52xxp1;
  856. struct cvmx_pciercx_cfg029_s cn56xx;
  857. struct cvmx_pciercx_cfg029_s cn56xxp1;
  858. struct cvmx_pciercx_cfg029_s cn61xx;
  859. struct cvmx_pciercx_cfg029_s cn63xx;
  860. struct cvmx_pciercx_cfg029_s cn63xxp1;
  861. struct cvmx_pciercx_cfg029_s cn66xx;
  862. struct cvmx_pciercx_cfg029_s cn68xx;
  863. struct cvmx_pciercx_cfg029_s cn68xxp1;
  864. struct cvmx_pciercx_cfg029_s cnf71xx;
  865. };
  866. union cvmx_pciercx_cfg030 {
  867. uint32_t u32;
  868. struct cvmx_pciercx_cfg030_s {
  869. #ifdef __BIG_ENDIAN_BITFIELD
  870. uint32_t reserved_22_31:10;
  871. uint32_t tp:1;
  872. uint32_t ap_d:1;
  873. uint32_t ur_d:1;
  874. uint32_t fe_d:1;
  875. uint32_t nfe_d:1;
  876. uint32_t ce_d:1;
  877. uint32_t reserved_15_15:1;
  878. uint32_t mrrs:3;
  879. uint32_t ns_en:1;
  880. uint32_t ap_en:1;
  881. uint32_t pf_en:1;
  882. uint32_t etf_en:1;
  883. uint32_t mps:3;
  884. uint32_t ro_en:1;
  885. uint32_t ur_en:1;
  886. uint32_t fe_en:1;
  887. uint32_t nfe_en:1;
  888. uint32_t ce_en:1;
  889. #else
  890. uint32_t ce_en:1;
  891. uint32_t nfe_en:1;
  892. uint32_t fe_en:1;
  893. uint32_t ur_en:1;
  894. uint32_t ro_en:1;
  895. uint32_t mps:3;
  896. uint32_t etf_en:1;
  897. uint32_t pf_en:1;
  898. uint32_t ap_en:1;
  899. uint32_t ns_en:1;
  900. uint32_t mrrs:3;
  901. uint32_t reserved_15_15:1;
  902. uint32_t ce_d:1;
  903. uint32_t nfe_d:1;
  904. uint32_t fe_d:1;
  905. uint32_t ur_d:1;
  906. uint32_t ap_d:1;
  907. uint32_t tp:1;
  908. uint32_t reserved_22_31:10;
  909. #endif
  910. } s;
  911. struct cvmx_pciercx_cfg030_s cn52xx;
  912. struct cvmx_pciercx_cfg030_s cn52xxp1;
  913. struct cvmx_pciercx_cfg030_s cn56xx;
  914. struct cvmx_pciercx_cfg030_s cn56xxp1;
  915. struct cvmx_pciercx_cfg030_s cn61xx;
  916. struct cvmx_pciercx_cfg030_s cn63xx;
  917. struct cvmx_pciercx_cfg030_s cn63xxp1;
  918. struct cvmx_pciercx_cfg030_s cn66xx;
  919. struct cvmx_pciercx_cfg030_s cn68xx;
  920. struct cvmx_pciercx_cfg030_s cn68xxp1;
  921. struct cvmx_pciercx_cfg030_s cnf71xx;
  922. };
  923. union cvmx_pciercx_cfg031 {
  924. uint32_t u32;
  925. struct cvmx_pciercx_cfg031_s {
  926. #ifdef __BIG_ENDIAN_BITFIELD
  927. uint32_t pnum:8;
  928. uint32_t reserved_23_23:1;
  929. uint32_t aspm:1;
  930. uint32_t lbnc:1;
  931. uint32_t dllarc:1;
  932. uint32_t sderc:1;
  933. uint32_t cpm:1;
  934. uint32_t l1el:3;
  935. uint32_t l0el:3;
  936. uint32_t aslpms:2;
  937. uint32_t mlw:6;
  938. uint32_t mls:4;
  939. #else
  940. uint32_t mls:4;
  941. uint32_t mlw:6;
  942. uint32_t aslpms:2;
  943. uint32_t l0el:3;
  944. uint32_t l1el:3;
  945. uint32_t cpm:1;
  946. uint32_t sderc:1;
  947. uint32_t dllarc:1;
  948. uint32_t lbnc:1;
  949. uint32_t aspm:1;
  950. uint32_t reserved_23_23:1;
  951. uint32_t pnum:8;
  952. #endif
  953. } s;
  954. struct cvmx_pciercx_cfg031_cn52xx {
  955. #ifdef __BIG_ENDIAN_BITFIELD
  956. uint32_t pnum:8;
  957. uint32_t reserved_22_23:2;
  958. uint32_t lbnc:1;
  959. uint32_t dllarc:1;
  960. uint32_t sderc:1;
  961. uint32_t cpm:1;
  962. uint32_t l1el:3;
  963. uint32_t l0el:3;
  964. uint32_t aslpms:2;
  965. uint32_t mlw:6;
  966. uint32_t mls:4;
  967. #else
  968. uint32_t mls:4;
  969. uint32_t mlw:6;
  970. uint32_t aslpms:2;
  971. uint32_t l0el:3;
  972. uint32_t l1el:3;
  973. uint32_t cpm:1;
  974. uint32_t sderc:1;
  975. uint32_t dllarc:1;
  976. uint32_t lbnc:1;
  977. uint32_t reserved_22_23:2;
  978. uint32_t pnum:8;
  979. #endif
  980. } cn52xx;
  981. struct cvmx_pciercx_cfg031_cn52xx cn52xxp1;
  982. struct cvmx_pciercx_cfg031_cn52xx cn56xx;
  983. struct cvmx_pciercx_cfg031_cn52xx cn56xxp1;
  984. struct cvmx_pciercx_cfg031_s cn61xx;
  985. struct cvmx_pciercx_cfg031_cn52xx cn63xx;
  986. struct cvmx_pciercx_cfg031_cn52xx cn63xxp1;
  987. struct cvmx_pciercx_cfg031_s cn66xx;
  988. struct cvmx_pciercx_cfg031_s cn68xx;
  989. struct cvmx_pciercx_cfg031_cn52xx cn68xxp1;
  990. struct cvmx_pciercx_cfg031_s cnf71xx;
  991. };
  992. union cvmx_pciercx_cfg032 {
  993. uint32_t u32;
  994. struct cvmx_pciercx_cfg032_s {
  995. #ifdef __BIG_ENDIAN_BITFIELD
  996. uint32_t lab:1;
  997. uint32_t lbm:1;
  998. uint32_t dlla:1;
  999. uint32_t scc:1;
  1000. uint32_t lt:1;
  1001. uint32_t reserved_26_26:1;
  1002. uint32_t nlw:6;
  1003. uint32_t ls:4;
  1004. uint32_t reserved_12_15:4;
  1005. uint32_t lab_int_enb:1;
  1006. uint32_t lbm_int_enb:1;
  1007. uint32_t hawd:1;
  1008. uint32_t ecpm:1;
  1009. uint32_t es:1;
  1010. uint32_t ccc:1;
  1011. uint32_t rl:1;
  1012. uint32_t ld:1;
  1013. uint32_t rcb:1;
  1014. uint32_t reserved_2_2:1;
  1015. uint32_t aslpc:2;
  1016. #else
  1017. uint32_t aslpc:2;
  1018. uint32_t reserved_2_2:1;
  1019. uint32_t rcb:1;
  1020. uint32_t ld:1;
  1021. uint32_t rl:1;
  1022. uint32_t ccc:1;
  1023. uint32_t es:1;
  1024. uint32_t ecpm:1;
  1025. uint32_t hawd:1;
  1026. uint32_t lbm_int_enb:1;
  1027. uint32_t lab_int_enb:1;
  1028. uint32_t reserved_12_15:4;
  1029. uint32_t ls:4;
  1030. uint32_t nlw:6;
  1031. uint32_t reserved_26_26:1;
  1032. uint32_t lt:1;
  1033. uint32_t scc:1;
  1034. uint32_t dlla:1;
  1035. uint32_t lbm:1;
  1036. uint32_t lab:1;
  1037. #endif
  1038. } s;
  1039. struct cvmx_pciercx_cfg032_s cn52xx;
  1040. struct cvmx_pciercx_cfg032_s cn52xxp1;
  1041. struct cvmx_pciercx_cfg032_s cn56xx;
  1042. struct cvmx_pciercx_cfg032_s cn56xxp1;
  1043. struct cvmx_pciercx_cfg032_s cn61xx;
  1044. struct cvmx_pciercx_cfg032_s cn63xx;
  1045. struct cvmx_pciercx_cfg032_s cn63xxp1;
  1046. struct cvmx_pciercx_cfg032_s cn66xx;
  1047. struct cvmx_pciercx_cfg032_s cn68xx;
  1048. struct cvmx_pciercx_cfg032_s cn68xxp1;
  1049. struct cvmx_pciercx_cfg032_s cnf71xx;
  1050. };
  1051. union cvmx_pciercx_cfg033 {
  1052. uint32_t u32;
  1053. struct cvmx_pciercx_cfg033_s {
  1054. #ifdef __BIG_ENDIAN_BITFIELD
  1055. uint32_t ps_num:13;
  1056. uint32_t nccs:1;
  1057. uint32_t emip:1;
  1058. uint32_t sp_ls:2;
  1059. uint32_t sp_lv:8;
  1060. uint32_t hp_c:1;
  1061. uint32_t hp_s:1;
  1062. uint32_t pip:1;
  1063. uint32_t aip:1;
  1064. uint32_t mrlsp:1;
  1065. uint32_t pcp:1;
  1066. uint32_t abp:1;
  1067. #else
  1068. uint32_t abp:1;
  1069. uint32_t pcp:1;
  1070. uint32_t mrlsp:1;
  1071. uint32_t aip:1;
  1072. uint32_t pip:1;
  1073. uint32_t hp_s:1;
  1074. uint32_t hp_c:1;
  1075. uint32_t sp_lv:8;
  1076. uint32_t sp_ls:2;
  1077. uint32_t emip:1;
  1078. uint32_t nccs:1;
  1079. uint32_t ps_num:13;
  1080. #endif
  1081. } s;
  1082. struct cvmx_pciercx_cfg033_s cn52xx;
  1083. struct cvmx_pciercx_cfg033_s cn52xxp1;
  1084. struct cvmx_pciercx_cfg033_s cn56xx;
  1085. struct cvmx_pciercx_cfg033_s cn56xxp1;
  1086. struct cvmx_pciercx_cfg033_s cn61xx;
  1087. struct cvmx_pciercx_cfg033_s cn63xx;
  1088. struct cvmx_pciercx_cfg033_s cn63xxp1;
  1089. struct cvmx_pciercx_cfg033_s cn66xx;
  1090. struct cvmx_pciercx_cfg033_s cn68xx;
  1091. struct cvmx_pciercx_cfg033_s cn68xxp1;
  1092. struct cvmx_pciercx_cfg033_s cnf71xx;
  1093. };
  1094. union cvmx_pciercx_cfg034 {
  1095. uint32_t u32;
  1096. struct cvmx_pciercx_cfg034_s {
  1097. #ifdef __BIG_ENDIAN_BITFIELD
  1098. uint32_t reserved_25_31:7;
  1099. uint32_t dlls_c:1;
  1100. uint32_t emis:1;
  1101. uint32_t pds:1;
  1102. uint32_t mrlss:1;
  1103. uint32_t ccint_d:1;
  1104. uint32_t pd_c:1;
  1105. uint32_t mrls_c:1;
  1106. uint32_t pf_d:1;
  1107. uint32_t abp_d:1;
  1108. uint32_t reserved_13_15:3;
  1109. uint32_t dlls_en:1;
  1110. uint32_t emic:1;
  1111. uint32_t pcc:1;
  1112. uint32_t pic:2;
  1113. uint32_t aic:2;
  1114. uint32_t hpint_en:1;
  1115. uint32_t ccint_en:1;
  1116. uint32_t pd_en:1;
  1117. uint32_t mrls_en:1;
  1118. uint32_t pf_en:1;
  1119. uint32_t abp_en:1;
  1120. #else
  1121. uint32_t abp_en:1;
  1122. uint32_t pf_en:1;
  1123. uint32_t mrls_en:1;
  1124. uint32_t pd_en:1;
  1125. uint32_t ccint_en:1;
  1126. uint32_t hpint_en:1;
  1127. uint32_t aic:2;
  1128. uint32_t pic:2;
  1129. uint32_t pcc:1;
  1130. uint32_t emic:1;
  1131. uint32_t dlls_en:1;
  1132. uint32_t reserved_13_15:3;
  1133. uint32_t abp_d:1;
  1134. uint32_t pf_d:1;
  1135. uint32_t mrls_c:1;
  1136. uint32_t pd_c:1;
  1137. uint32_t ccint_d:1;
  1138. uint32_t mrlss:1;
  1139. uint32_t pds:1;
  1140. uint32_t emis:1;
  1141. uint32_t dlls_c:1;
  1142. uint32_t reserved_25_31:7;
  1143. #endif
  1144. } s;
  1145. struct cvmx_pciercx_cfg034_s cn52xx;
  1146. struct cvmx_pciercx_cfg034_s cn52xxp1;
  1147. struct cvmx_pciercx_cfg034_s cn56xx;
  1148. struct cvmx_pciercx_cfg034_s cn56xxp1;
  1149. struct cvmx_pciercx_cfg034_s cn61xx;
  1150. struct cvmx_pciercx_cfg034_s cn63xx;
  1151. struct cvmx_pciercx_cfg034_s cn63xxp1;
  1152. struct cvmx_pciercx_cfg034_s cn66xx;
  1153. struct cvmx_pciercx_cfg034_s cn68xx;
  1154. struct cvmx_pciercx_cfg034_s cn68xxp1;
  1155. struct cvmx_pciercx_cfg034_s cnf71xx;
  1156. };
  1157. union cvmx_pciercx_cfg035 {
  1158. uint32_t u32;
  1159. struct cvmx_pciercx_cfg035_s {
  1160. #ifdef __BIG_ENDIAN_BITFIELD
  1161. uint32_t reserved_17_31:15;
  1162. uint32_t crssv:1;
  1163. uint32_t reserved_5_15:11;
  1164. uint32_t crssve:1;
  1165. uint32_t pmeie:1;
  1166. uint32_t sefee:1;
  1167. uint32_t senfee:1;
  1168. uint32_t secee:1;
  1169. #else
  1170. uint32_t secee:1;
  1171. uint32_t senfee:1;
  1172. uint32_t sefee:1;
  1173. uint32_t pmeie:1;
  1174. uint32_t crssve:1;
  1175. uint32_t reserved_5_15:11;
  1176. uint32_t crssv:1;
  1177. uint32_t reserved_17_31:15;
  1178. #endif
  1179. } s;
  1180. struct cvmx_pciercx_cfg035_s cn52xx;
  1181. struct cvmx_pciercx_cfg035_s cn52xxp1;
  1182. struct cvmx_pciercx_cfg035_s cn56xx;
  1183. struct cvmx_pciercx_cfg035_s cn56xxp1;
  1184. struct cvmx_pciercx_cfg035_s cn61xx;
  1185. struct cvmx_pciercx_cfg035_s cn63xx;
  1186. struct cvmx_pciercx_cfg035_s cn63xxp1;
  1187. struct cvmx_pciercx_cfg035_s cn66xx;
  1188. struct cvmx_pciercx_cfg035_s cn68xx;
  1189. struct cvmx_pciercx_cfg035_s cn68xxp1;
  1190. struct cvmx_pciercx_cfg035_s cnf71xx;
  1191. };
  1192. union cvmx_pciercx_cfg036 {
  1193. uint32_t u32;
  1194. struct cvmx_pciercx_cfg036_s {
  1195. #ifdef __BIG_ENDIAN_BITFIELD
  1196. uint32_t reserved_18_31:14;
  1197. uint32_t pme_pend:1;
  1198. uint32_t pme_stat:1;
  1199. uint32_t pme_rid:16;
  1200. #else
  1201. uint32_t pme_rid:16;
  1202. uint32_t pme_stat:1;
  1203. uint32_t pme_pend:1;
  1204. uint32_t reserved_18_31:14;
  1205. #endif
  1206. } s;
  1207. struct cvmx_pciercx_cfg036_s cn52xx;
  1208. struct cvmx_pciercx_cfg036_s cn52xxp1;
  1209. struct cvmx_pciercx_cfg036_s cn56xx;
  1210. struct cvmx_pciercx_cfg036_s cn56xxp1;
  1211. struct cvmx_pciercx_cfg036_s cn61xx;
  1212. struct cvmx_pciercx_cfg036_s cn63xx;
  1213. struct cvmx_pciercx_cfg036_s cn63xxp1;
  1214. struct cvmx_pciercx_cfg036_s cn66xx;
  1215. struct cvmx_pciercx_cfg036_s cn68xx;
  1216. struct cvmx_pciercx_cfg036_s cn68xxp1;
  1217. struct cvmx_pciercx_cfg036_s cnf71xx;
  1218. };
  1219. union cvmx_pciercx_cfg037 {
  1220. uint32_t u32;
  1221. struct cvmx_pciercx_cfg037_s {
  1222. #ifdef __BIG_ENDIAN_BITFIELD
  1223. uint32_t reserved_20_31:12;
  1224. uint32_t obffs:2;
  1225. uint32_t reserved_12_17:6;
  1226. uint32_t ltrs:1;
  1227. uint32_t noroprpr:1;
  1228. uint32_t atom128s:1;
  1229. uint32_t atom64s:1;
  1230. uint32_t atom32s:1;
  1231. uint32_t atom_ops:1;
  1232. uint32_t reserved_5_5:1;
  1233. uint32_t ctds:1;
  1234. uint32_t ctrs:4;
  1235. #else
  1236. uint32_t ctrs:4;
  1237. uint32_t ctds:1;
  1238. uint32_t reserved_5_5:1;
  1239. uint32_t atom_ops:1;
  1240. uint32_t atom32s:1;
  1241. uint32_t atom64s:1;
  1242. uint32_t atom128s:1;
  1243. uint32_t noroprpr:1;
  1244. uint32_t ltrs:1;
  1245. uint32_t reserved_12_17:6;
  1246. uint32_t obffs:2;
  1247. uint32_t reserved_20_31:12;
  1248. #endif
  1249. } s;
  1250. struct cvmx_pciercx_cfg037_cn52xx {
  1251. #ifdef __BIG_ENDIAN_BITFIELD
  1252. uint32_t reserved_5_31:27;
  1253. uint32_t ctds:1;
  1254. uint32_t ctrs:4;
  1255. #else
  1256. uint32_t ctrs:4;
  1257. uint32_t ctds:1;
  1258. uint32_t reserved_5_31:27;
  1259. #endif
  1260. } cn52xx;
  1261. struct cvmx_pciercx_cfg037_cn52xx cn52xxp1;
  1262. struct cvmx_pciercx_cfg037_cn52xx cn56xx;
  1263. struct cvmx_pciercx_cfg037_cn52xx cn56xxp1;
  1264. struct cvmx_pciercx_cfg037_cn61xx {
  1265. #ifdef __BIG_ENDIAN_BITFIELD
  1266. uint32_t reserved_14_31:18;
  1267. uint32_t tph:2;
  1268. uint32_t reserved_11_11:1;
  1269. uint32_t noroprpr:1;
  1270. uint32_t atom128s:1;
  1271. uint32_t atom64s:1;
  1272. uint32_t atom32s:1;
  1273. uint32_t atom_ops:1;
  1274. uint32_t ari_fw:1;
  1275. uint32_t ctds:1;
  1276. uint32_t ctrs:4;
  1277. #else
  1278. uint32_t ctrs:4;
  1279. uint32_t ctds:1;
  1280. uint32_t ari_fw:1;
  1281. uint32_t atom_ops:1;
  1282. uint32_t atom32s:1;
  1283. uint32_t atom64s:1;
  1284. uint32_t atom128s:1;
  1285. uint32_t noroprpr:1;
  1286. uint32_t reserved_11_11:1;
  1287. uint32_t tph:2;
  1288. uint32_t reserved_14_31:18;
  1289. #endif
  1290. } cn61xx;
  1291. struct cvmx_pciercx_cfg037_cn52xx cn63xx;
  1292. struct cvmx_pciercx_cfg037_cn52xx cn63xxp1;
  1293. struct cvmx_pciercx_cfg037_cn66xx {
  1294. #ifdef __BIG_ENDIAN_BITFIELD
  1295. uint32_t reserved_14_31:18;
  1296. uint32_t tph:2;
  1297. uint32_t reserved_11_11:1;
  1298. uint32_t noroprpr:1;
  1299. uint32_t atom128s:1;
  1300. uint32_t atom64s:1;
  1301. uint32_t atom32s:1;
  1302. uint32_t atom_ops:1;
  1303. uint32_t ari:1;
  1304. uint32_t ctds:1;
  1305. uint32_t ctrs:4;
  1306. #else
  1307. uint32_t ctrs:4;
  1308. uint32_t ctds:1;
  1309. uint32_t ari:1;
  1310. uint32_t atom_ops:1;
  1311. uint32_t atom32s:1;
  1312. uint32_t atom64s:1;
  1313. uint32_t atom128s:1;
  1314. uint32_t noroprpr:1;
  1315. uint32_t reserved_11_11:1;
  1316. uint32_t tph:2;
  1317. uint32_t reserved_14_31:18;
  1318. #endif
  1319. } cn66xx;
  1320. struct cvmx_pciercx_cfg037_cn66xx cn68xx;
  1321. struct cvmx_pciercx_cfg037_cn66xx cn68xxp1;
  1322. struct cvmx_pciercx_cfg037_cnf71xx {
  1323. #ifdef __BIG_ENDIAN_BITFIELD
  1324. uint32_t reserved_20_31:12;
  1325. uint32_t obffs:2;
  1326. uint32_t reserved_14_17:4;
  1327. uint32_t tphs:2;
  1328. uint32_t ltrs:1;
  1329. uint32_t noroprpr:1;
  1330. uint32_t atom128s:1;
  1331. uint32_t atom64s:1;
  1332. uint32_t atom32s:1;
  1333. uint32_t atom_ops:1;
  1334. uint32_t ari_fw:1;
  1335. uint32_t ctds:1;
  1336. uint32_t ctrs:4;
  1337. #else
  1338. uint32_t ctrs:4;
  1339. uint32_t ctds:1;
  1340. uint32_t ari_fw:1;
  1341. uint32_t atom_ops:1;
  1342. uint32_t atom32s:1;
  1343. uint32_t atom64s:1;
  1344. uint32_t atom128s:1;
  1345. uint32_t noroprpr:1;
  1346. uint32_t ltrs:1;
  1347. uint32_t tphs:2;
  1348. uint32_t reserved_14_17:4;
  1349. uint32_t obffs:2;
  1350. uint32_t reserved_20_31:12;
  1351. #endif
  1352. } cnf71xx;
  1353. };
  1354. union cvmx_pciercx_cfg038 {
  1355. uint32_t u32;
  1356. struct cvmx_pciercx_cfg038_s {
  1357. #ifdef __BIG_ENDIAN_BITFIELD
  1358. uint32_t reserved_15_31:17;
  1359. uint32_t obffe:2;
  1360. uint32_t reserved_11_12:2;
  1361. uint32_t ltre:1;
  1362. uint32_t id0_cp:1;
  1363. uint32_t id0_rq:1;
  1364. uint32_t atom_op_eb:1;
  1365. uint32_t atom_op:1;
  1366. uint32_t ari:1;
  1367. uint32_t ctd:1;
  1368. uint32_t ctv:4;
  1369. #else
  1370. uint32_t ctv:4;
  1371. uint32_t ctd:1;
  1372. uint32_t ari:1;
  1373. uint32_t atom_op:1;
  1374. uint32_t atom_op_eb:1;
  1375. uint32_t id0_rq:1;
  1376. uint32_t id0_cp:1;
  1377. uint32_t ltre:1;
  1378. uint32_t reserved_11_12:2;
  1379. uint32_t obffe:2;
  1380. uint32_t reserved_15_31:17;
  1381. #endif
  1382. } s;
  1383. struct cvmx_pciercx_cfg038_cn52xx {
  1384. #ifdef __BIG_ENDIAN_BITFIELD
  1385. uint32_t reserved_5_31:27;
  1386. uint32_t ctd:1;
  1387. uint32_t ctv:4;
  1388. #else
  1389. uint32_t ctv:4;
  1390. uint32_t ctd:1;
  1391. uint32_t reserved_5_31:27;
  1392. #endif
  1393. } cn52xx;
  1394. struct cvmx_pciercx_cfg038_cn52xx cn52xxp1;
  1395. struct cvmx_pciercx_cfg038_cn52xx cn56xx;
  1396. struct cvmx_pciercx_cfg038_cn52xx cn56xxp1;
  1397. struct cvmx_pciercx_cfg038_cn61xx {
  1398. #ifdef __BIG_ENDIAN_BITFIELD
  1399. uint32_t reserved_10_31:22;
  1400. uint32_t id0_cp:1;
  1401. uint32_t id0_rq:1;
  1402. uint32_t atom_op_eb:1;
  1403. uint32_t atom_op:1;
  1404. uint32_t ari:1;
  1405. uint32_t ctd:1;
  1406. uint32_t ctv:4;
  1407. #else
  1408. uint32_t ctv:4;
  1409. uint32_t ctd:1;
  1410. uint32_t ari:1;
  1411. uint32_t atom_op:1;
  1412. uint32_t atom_op_eb:1;
  1413. uint32_t id0_rq:1;
  1414. uint32_t id0_cp:1;
  1415. uint32_t reserved_10_31:22;
  1416. #endif
  1417. } cn61xx;
  1418. struct cvmx_pciercx_cfg038_cn52xx cn63xx;
  1419. struct cvmx_pciercx_cfg038_cn52xx cn63xxp1;
  1420. struct cvmx_pciercx_cfg038_cn61xx cn66xx;
  1421. struct cvmx_pciercx_cfg038_cn61xx cn68xx;
  1422. struct cvmx_pciercx_cfg038_cn61xx cn68xxp1;
  1423. struct cvmx_pciercx_cfg038_s cnf71xx;
  1424. };
  1425. union cvmx_pciercx_cfg039 {
  1426. uint32_t u32;
  1427. struct cvmx_pciercx_cfg039_s {
  1428. #ifdef __BIG_ENDIAN_BITFIELD
  1429. uint32_t reserved_9_31:23;
  1430. uint32_t cls:1;
  1431. uint32_t slsv:7;
  1432. uint32_t reserved_0_0:1;
  1433. #else
  1434. uint32_t reserved_0_0:1;
  1435. uint32_t slsv:7;
  1436. uint32_t cls:1;
  1437. uint32_t reserved_9_31:23;
  1438. #endif
  1439. } s;
  1440. struct cvmx_pciercx_cfg039_cn52xx {
  1441. #ifdef __BIG_ENDIAN_BITFIELD
  1442. uint32_t reserved_0_31:32;
  1443. #else
  1444. uint32_t reserved_0_31:32;
  1445. #endif
  1446. } cn52xx;
  1447. struct cvmx_pciercx_cfg039_cn52xx cn52xxp1;
  1448. struct cvmx_pciercx_cfg039_cn52xx cn56xx;
  1449. struct cvmx_pciercx_cfg039_cn52xx cn56xxp1;
  1450. struct cvmx_pciercx_cfg039_s cn61xx;
  1451. struct cvmx_pciercx_cfg039_s cn63xx;
  1452. struct cvmx_pciercx_cfg039_cn52xx cn63xxp1;
  1453. struct cvmx_pciercx_cfg039_s cn66xx;
  1454. struct cvmx_pciercx_cfg039_s cn68xx;
  1455. struct cvmx_pciercx_cfg039_s cn68xxp1;
  1456. struct cvmx_pciercx_cfg039_s cnf71xx;
  1457. };
  1458. union cvmx_pciercx_cfg040 {
  1459. uint32_t u32;
  1460. struct cvmx_pciercx_cfg040_s {
  1461. #ifdef __BIG_ENDIAN_BITFIELD
  1462. uint32_t reserved_17_31:15;
  1463. uint32_t cdl:1;
  1464. uint32_t reserved_13_15:3;
  1465. uint32_t cde:1;
  1466. uint32_t csos:1;
  1467. uint32_t emc:1;
  1468. uint32_t tm:3;
  1469. uint32_t sde:1;
  1470. uint32_t hasd:1;
  1471. uint32_t ec:1;
  1472. uint32_t tls:4;
  1473. #else
  1474. uint32_t tls:4;
  1475. uint32_t ec:1;
  1476. uint32_t hasd:1;
  1477. uint32_t sde:1;
  1478. uint32_t tm:3;
  1479. uint32_t emc:1;
  1480. uint32_t csos:1;
  1481. uint32_t cde:1;
  1482. uint32_t reserved_13_15:3;
  1483. uint32_t cdl:1;
  1484. uint32_t reserved_17_31:15;
  1485. #endif
  1486. } s;
  1487. struct cvmx_pciercx_cfg040_cn52xx {
  1488. #ifdef __BIG_ENDIAN_BITFIELD
  1489. uint32_t reserved_0_31:32;
  1490. #else
  1491. uint32_t reserved_0_31:32;
  1492. #endif
  1493. } cn52xx;
  1494. struct cvmx_pciercx_cfg040_cn52xx cn52xxp1;
  1495. struct cvmx_pciercx_cfg040_cn52xx cn56xx;
  1496. struct cvmx_pciercx_cfg040_cn52xx cn56xxp1;
  1497. struct cvmx_pciercx_cfg040_s cn61xx;
  1498. struct cvmx_pciercx_cfg040_s cn63xx;
  1499. struct cvmx_pciercx_cfg040_s cn63xxp1;
  1500. struct cvmx_pciercx_cfg040_s cn66xx;
  1501. struct cvmx_pciercx_cfg040_s cn68xx;
  1502. struct cvmx_pciercx_cfg040_s cn68xxp1;
  1503. struct cvmx_pciercx_cfg040_s cnf71xx;
  1504. };
  1505. union cvmx_pciercx_cfg041 {
  1506. uint32_t u32;
  1507. struct cvmx_pciercx_cfg041_s {
  1508. #ifdef __BIG_ENDIAN_BITFIELD
  1509. uint32_t reserved_0_31:32;
  1510. #else
  1511. uint32_t reserved_0_31:32;
  1512. #endif
  1513. } s;
  1514. struct cvmx_pciercx_cfg041_s cn52xx;
  1515. struct cvmx_pciercx_cfg041_s cn52xxp1;
  1516. struct cvmx_pciercx_cfg041_s cn56xx;
  1517. struct cvmx_pciercx_cfg041_s cn56xxp1;
  1518. struct cvmx_pciercx_cfg041_s cn61xx;
  1519. struct cvmx_pciercx_cfg041_s cn63xx;
  1520. struct cvmx_pciercx_cfg041_s cn63xxp1;
  1521. struct cvmx_pciercx_cfg041_s cn66xx;
  1522. struct cvmx_pciercx_cfg041_s cn68xx;
  1523. struct cvmx_pciercx_cfg041_s cn68xxp1;
  1524. struct cvmx_pciercx_cfg041_s cnf71xx;
  1525. };
  1526. union cvmx_pciercx_cfg042 {
  1527. uint32_t u32;
  1528. struct cvmx_pciercx_cfg042_s {
  1529. #ifdef __BIG_ENDIAN_BITFIELD
  1530. uint32_t reserved_0_31:32;
  1531. #else
  1532. uint32_t reserved_0_31:32;
  1533. #endif
  1534. } s;
  1535. struct cvmx_pciercx_cfg042_s cn52xx;
  1536. struct cvmx_pciercx_cfg042_s cn52xxp1;
  1537. struct cvmx_pciercx_cfg042_s cn56xx;
  1538. struct cvmx_pciercx_cfg042_s cn56xxp1;
  1539. struct cvmx_pciercx_cfg042_s cn61xx;
  1540. struct cvmx_pciercx_cfg042_s cn63xx;
  1541. struct cvmx_pciercx_cfg042_s cn63xxp1;
  1542. struct cvmx_pciercx_cfg042_s cn66xx;
  1543. struct cvmx_pciercx_cfg042_s cn68xx;
  1544. struct cvmx_pciercx_cfg042_s cn68xxp1;
  1545. struct cvmx_pciercx_cfg042_s cnf71xx;
  1546. };
  1547. union cvmx_pciercx_cfg064 {
  1548. uint32_t u32;
  1549. struct cvmx_pciercx_cfg064_s {
  1550. #ifdef __BIG_ENDIAN_BITFIELD
  1551. uint32_t nco:12;
  1552. uint32_t cv:4;
  1553. uint32_t pcieec:16;
  1554. #else
  1555. uint32_t pcieec:16;
  1556. uint32_t cv:4;
  1557. uint32_t nco:12;
  1558. #endif
  1559. } s;
  1560. struct cvmx_pciercx_cfg064_s cn52xx;
  1561. struct cvmx_pciercx_cfg064_s cn52xxp1;
  1562. struct cvmx_pciercx_cfg064_s cn56xx;
  1563. struct cvmx_pciercx_cfg064_s cn56xxp1;
  1564. struct cvmx_pciercx_cfg064_s cn61xx;
  1565. struct cvmx_pciercx_cfg064_s cn63xx;
  1566. struct cvmx_pciercx_cfg064_s cn63xxp1;
  1567. struct cvmx_pciercx_cfg064_s cn66xx;
  1568. struct cvmx_pciercx_cfg064_s cn68xx;
  1569. struct cvmx_pciercx_cfg064_s cn68xxp1;
  1570. struct cvmx_pciercx_cfg064_s cnf71xx;
  1571. };
  1572. union cvmx_pciercx_cfg065 {
  1573. uint32_t u32;
  1574. struct cvmx_pciercx_cfg065_s {
  1575. #ifdef __BIG_ENDIAN_BITFIELD
  1576. uint32_t reserved_25_31:7;
  1577. uint32_t uatombs:1;
  1578. uint32_t reserved_23_23:1;
  1579. uint32_t ucies:1;
  1580. uint32_t reserved_21_21:1;
  1581. uint32_t ures:1;
  1582. uint32_t ecrces:1;
  1583. uint32_t mtlps:1;
  1584. uint32_t ros:1;
  1585. uint32_t ucs:1;
  1586. uint32_t cas:1;
  1587. uint32_t cts:1;
  1588. uint32_t fcpes:1;
  1589. uint32_t ptlps:1;
  1590. uint32_t reserved_6_11:6;
  1591. uint32_t sdes:1;
  1592. uint32_t dlpes:1;
  1593. uint32_t reserved_0_3:4;
  1594. #else
  1595. uint32_t reserved_0_3:4;
  1596. uint32_t dlpes:1;
  1597. uint32_t sdes:1;
  1598. uint32_t reserved_6_11:6;
  1599. uint32_t ptlps:1;
  1600. uint32_t fcpes:1;
  1601. uint32_t cts:1;
  1602. uint32_t cas:1;
  1603. uint32_t ucs:1;
  1604. uint32_t ros:1;
  1605. uint32_t mtlps:1;
  1606. uint32_t ecrces:1;
  1607. uint32_t ures:1;
  1608. uint32_t reserved_21_21:1;
  1609. uint32_t ucies:1;
  1610. uint32_t reserved_23_23:1;
  1611. uint32_t uatombs:1;
  1612. uint32_t reserved_25_31:7;
  1613. #endif
  1614. } s;
  1615. struct cvmx_pciercx_cfg065_cn52xx {
  1616. #ifdef __BIG_ENDIAN_BITFIELD
  1617. uint32_t reserved_21_31:11;
  1618. uint32_t ures:1;
  1619. uint32_t ecrces:1;
  1620. uint32_t mtlps:1;
  1621. uint32_t ros:1;
  1622. uint32_t ucs:1;
  1623. uint32_t cas:1;
  1624. uint32_t cts:1;
  1625. uint32_t fcpes:1;
  1626. uint32_t ptlps:1;
  1627. uint32_t reserved_6_11:6;
  1628. uint32_t sdes:1;
  1629. uint32_t dlpes:1;
  1630. uint32_t reserved_0_3:4;
  1631. #else
  1632. uint32_t reserved_0_3:4;
  1633. uint32_t dlpes:1;
  1634. uint32_t sdes:1;
  1635. uint32_t reserved_6_11:6;
  1636. uint32_t ptlps:1;
  1637. uint32_t fcpes:1;
  1638. uint32_t cts:1;
  1639. uint32_t cas:1;
  1640. uint32_t ucs:1;
  1641. uint32_t ros:1;
  1642. uint32_t mtlps:1;
  1643. uint32_t ecrces:1;
  1644. uint32_t ures:1;
  1645. uint32_t reserved_21_31:11;
  1646. #endif
  1647. } cn52xx;
  1648. struct cvmx_pciercx_cfg065_cn52xx cn52xxp1;
  1649. struct cvmx_pciercx_cfg065_cn52xx cn56xx;
  1650. struct cvmx_pciercx_cfg065_cn52xx cn56xxp1;
  1651. struct cvmx_pciercx_cfg065_cn61xx {
  1652. #ifdef __BIG_ENDIAN_BITFIELD
  1653. uint32_t reserved_25_31:7;
  1654. uint32_t uatombs:1;
  1655. uint32_t reserved_21_23:3;
  1656. uint32_t ures:1;
  1657. uint32_t ecrces:1;
  1658. uint32_t mtlps:1;
  1659. uint32_t ros:1;
  1660. uint32_t ucs:1;
  1661. uint32_t cas:1;
  1662. uint32_t cts:1;
  1663. uint32_t fcpes:1;
  1664. uint32_t ptlps:1;
  1665. uint32_t reserved_6_11:6;
  1666. uint32_t sdes:1;
  1667. uint32_t dlpes:1;
  1668. uint32_t reserved_0_3:4;
  1669. #else
  1670. uint32_t reserved_0_3:4;
  1671. uint32_t dlpes:1;
  1672. uint32_t sdes:1;
  1673. uint32_t reserved_6_11:6;
  1674. uint32_t ptlps:1;
  1675. uint32_t fcpes:1;
  1676. uint32_t cts:1;
  1677. uint32_t cas:1;
  1678. uint32_t ucs:1;
  1679. uint32_t ros:1;
  1680. uint32_t mtlps:1;
  1681. uint32_t ecrces:1;
  1682. uint32_t ures:1;
  1683. uint32_t reserved_21_23:3;
  1684. uint32_t uatombs:1;
  1685. uint32_t reserved_25_31:7;
  1686. #endif
  1687. } cn61xx;
  1688. struct cvmx_pciercx_cfg065_cn52xx cn63xx;
  1689. struct cvmx_pciercx_cfg065_cn52xx cn63xxp1;
  1690. struct cvmx_pciercx_cfg065_cn61xx cn66xx;
  1691. struct cvmx_pciercx_cfg065_cn61xx cn68xx;
  1692. struct cvmx_pciercx_cfg065_cn52xx cn68xxp1;
  1693. struct cvmx_pciercx_cfg065_s cnf71xx;
  1694. };
  1695. union cvmx_pciercx_cfg066 {
  1696. uint32_t u32;
  1697. struct cvmx_pciercx_cfg066_s {
  1698. #ifdef __BIG_ENDIAN_BITFIELD
  1699. uint32_t reserved_25_31:7;
  1700. uint32_t uatombm:1;
  1701. uint32_t reserved_23_23:1;
  1702. uint32_t uciem:1;
  1703. uint32_t reserved_21_21:1;
  1704. uint32_t urem:1;
  1705. uint32_t ecrcem:1;
  1706. uint32_t mtlpm:1;
  1707. uint32_t rom:1;
  1708. uint32_t ucm:1;
  1709. uint32_t cam:1;
  1710. uint32_t ctm:1;
  1711. uint32_t fcpem:1;
  1712. uint32_t ptlpm:1;
  1713. uint32_t reserved_6_11:6;
  1714. uint32_t sdem:1;
  1715. uint32_t dlpem:1;
  1716. uint32_t reserved_0_3:4;
  1717. #else
  1718. uint32_t reserved_0_3:4;
  1719. uint32_t dlpem:1;
  1720. uint32_t sdem:1;
  1721. uint32_t reserved_6_11:6;
  1722. uint32_t ptlpm:1;
  1723. uint32_t fcpem:1;
  1724. uint32_t ctm:1;
  1725. uint32_t cam:1;
  1726. uint32_t ucm:1;
  1727. uint32_t rom:1;
  1728. uint32_t mtlpm:1;
  1729. uint32_t ecrcem:1;
  1730. uint32_t urem:1;
  1731. uint32_t reserved_21_21:1;
  1732. uint32_t uciem:1;
  1733. uint32_t reserved_23_23:1;
  1734. uint32_t uatombm:1;
  1735. uint32_t reserved_25_31:7;
  1736. #endif
  1737. } s;
  1738. struct cvmx_pciercx_cfg066_cn52xx {
  1739. #ifdef __BIG_ENDIAN_BITFIELD
  1740. uint32_t reserved_21_31:11;
  1741. uint32_t urem:1;
  1742. uint32_t ecrcem:1;
  1743. uint32_t mtlpm:1;
  1744. uint32_t rom:1;
  1745. uint32_t ucm:1;
  1746. uint32_t cam:1;
  1747. uint32_t ctm:1;
  1748. uint32_t fcpem:1;
  1749. uint32_t ptlpm:1;
  1750. uint32_t reserved_6_11:6;
  1751. uint32_t sdem:1;
  1752. uint32_t dlpem:1;
  1753. uint32_t reserved_0_3:4;
  1754. #else
  1755. uint32_t reserved_0_3:4;
  1756. uint32_t dlpem:1;
  1757. uint32_t sdem:1;
  1758. uint32_t reserved_6_11:6;
  1759. uint32_t ptlpm:1;
  1760. uint32_t fcpem:1;
  1761. uint32_t ctm:1;
  1762. uint32_t cam:1;
  1763. uint32_t ucm:1;
  1764. uint32_t rom:1;
  1765. uint32_t mtlpm:1;
  1766. uint32_t ecrcem:1;
  1767. uint32_t urem:1;
  1768. uint32_t reserved_21_31:11;
  1769. #endif
  1770. } cn52xx;
  1771. struct cvmx_pciercx_cfg066_cn52xx cn52xxp1;
  1772. struct cvmx_pciercx_cfg066_cn52xx cn56xx;
  1773. struct cvmx_pciercx_cfg066_cn52xx cn56xxp1;
  1774. struct cvmx_pciercx_cfg066_cn61xx {
  1775. #ifdef __BIG_ENDIAN_BITFIELD
  1776. uint32_t reserved_25_31:7;
  1777. uint32_t uatombm:1;
  1778. uint32_t reserved_21_23:3;
  1779. uint32_t urem:1;
  1780. uint32_t ecrcem:1;
  1781. uint32_t mtlpm:1;
  1782. uint32_t rom:1;
  1783. uint32_t ucm:1;
  1784. uint32_t cam:1;
  1785. uint32_t ctm:1;
  1786. uint32_t fcpem:1;
  1787. uint32_t ptlpm:1;
  1788. uint32_t reserved_6_11:6;
  1789. uint32_t sdem:1;
  1790. uint32_t dlpem:1;
  1791. uint32_t reserved_0_3:4;
  1792. #else
  1793. uint32_t reserved_0_3:4;
  1794. uint32_t dlpem:1;
  1795. uint32_t sdem:1;
  1796. uint32_t reserved_6_11:6;
  1797. uint32_t ptlpm:1;
  1798. uint32_t fcpem:1;
  1799. uint32_t ctm:1;
  1800. uint32_t cam:1;
  1801. uint32_t ucm:1;
  1802. uint32_t rom:1;
  1803. uint32_t mtlpm:1;
  1804. uint32_t ecrcem:1;
  1805. uint32_t urem:1;
  1806. uint32_t reserved_21_23:3;
  1807. uint32_t uatombm:1;
  1808. uint32_t reserved_25_31:7;
  1809. #endif
  1810. } cn61xx;
  1811. struct cvmx_pciercx_cfg066_cn52xx cn63xx;
  1812. struct cvmx_pciercx_cfg066_cn52xx cn63xxp1;
  1813. struct cvmx_pciercx_cfg066_cn61xx cn66xx;
  1814. struct cvmx_pciercx_cfg066_cn61xx cn68xx;
  1815. struct cvmx_pciercx_cfg066_cn52xx cn68xxp1;
  1816. struct cvmx_pciercx_cfg066_s cnf71xx;
  1817. };
  1818. union cvmx_pciercx_cfg067 {
  1819. uint32_t u32;
  1820. struct cvmx_pciercx_cfg067_s {
  1821. #ifdef __BIG_ENDIAN_BITFIELD
  1822. uint32_t reserved_25_31:7;
  1823. uint32_t uatombs:1;
  1824. uint32_t reserved_23_23:1;
  1825. uint32_t ucies:1;
  1826. uint32_t reserved_21_21:1;
  1827. uint32_t ures:1;
  1828. uint32_t ecrces:1;
  1829. uint32_t mtlps:1;
  1830. uint32_t ros:1;
  1831. uint32_t ucs:1;
  1832. uint32_t cas:1;
  1833. uint32_t cts:1;
  1834. uint32_t fcpes:1;
  1835. uint32_t ptlps:1;
  1836. uint32_t reserved_6_11:6;
  1837. uint32_t sdes:1;
  1838. uint32_t dlpes:1;
  1839. uint32_t reserved_0_3:4;
  1840. #else
  1841. uint32_t reserved_0_3:4;
  1842. uint32_t dlpes:1;
  1843. uint32_t sdes:1;
  1844. uint32_t reserved_6_11:6;
  1845. uint32_t ptlps:1;
  1846. uint32_t fcpes:1;
  1847. uint32_t cts:1;
  1848. uint32_t cas:1;
  1849. uint32_t ucs:1;
  1850. uint32_t ros:1;
  1851. uint32_t mtlps:1;
  1852. uint32_t ecrces:1;
  1853. uint32_t ures:1;
  1854. uint32_t reserved_21_21:1;
  1855. uint32_t ucies:1;
  1856. uint32_t reserved_23_23:1;
  1857. uint32_t uatombs:1;
  1858. uint32_t reserved_25_31:7;
  1859. #endif
  1860. } s;
  1861. struct cvmx_pciercx_cfg067_cn52xx {
  1862. #ifdef __BIG_ENDIAN_BITFIELD
  1863. uint32_t reserved_21_31:11;
  1864. uint32_t ures:1;
  1865. uint32_t ecrces:1;
  1866. uint32_t mtlps:1;
  1867. uint32_t ros:1;
  1868. uint32_t ucs:1;
  1869. uint32_t cas:1;
  1870. uint32_t cts:1;
  1871. uint32_t fcpes:1;
  1872. uint32_t ptlps:1;
  1873. uint32_t reserved_6_11:6;
  1874. uint32_t sdes:1;
  1875. uint32_t dlpes:1;
  1876. uint32_t reserved_0_3:4;
  1877. #else
  1878. uint32_t reserved_0_3:4;
  1879. uint32_t dlpes:1;
  1880. uint32_t sdes:1;
  1881. uint32_t reserved_6_11:6;
  1882. uint32_t ptlps:1;
  1883. uint32_t fcpes:1;
  1884. uint32_t cts:1;
  1885. uint32_t cas:1;
  1886. uint32_t ucs:1;
  1887. uint32_t ros:1;
  1888. uint32_t mtlps:1;
  1889. uint32_t ecrces:1;
  1890. uint32_t ures:1;
  1891. uint32_t reserved_21_31:11;
  1892. #endif
  1893. } cn52xx;
  1894. struct cvmx_pciercx_cfg067_cn52xx cn52xxp1;
  1895. struct cvmx_pciercx_cfg067_cn52xx cn56xx;
  1896. struct cvmx_pciercx_cfg067_cn52xx cn56xxp1;
  1897. struct cvmx_pciercx_cfg067_cn61xx {
  1898. #ifdef __BIG_ENDIAN_BITFIELD
  1899. uint32_t reserved_25_31:7;
  1900. uint32_t uatombs:1;
  1901. uint32_t reserved_21_23:3;
  1902. uint32_t ures:1;
  1903. uint32_t ecrces:1;
  1904. uint32_t mtlps:1;
  1905. uint32_t ros:1;
  1906. uint32_t ucs:1;
  1907. uint32_t cas:1;
  1908. uint32_t cts:1;
  1909. uint32_t fcpes:1;
  1910. uint32_t ptlps:1;
  1911. uint32_t reserved_6_11:6;
  1912. uint32_t sdes:1;
  1913. uint32_t dlpes:1;
  1914. uint32_t reserved_0_3:4;
  1915. #else
  1916. uint32_t reserved_0_3:4;
  1917. uint32_t dlpes:1;
  1918. uint32_t sdes:1;
  1919. uint32_t reserved_6_11:6;
  1920. uint32_t ptlps:1;
  1921. uint32_t fcpes:1;
  1922. uint32_t cts:1;
  1923. uint32_t cas:1;
  1924. uint32_t ucs:1;
  1925. uint32_t ros:1;
  1926. uint32_t mtlps:1;
  1927. uint32_t ecrces:1;
  1928. uint32_t ures:1;
  1929. uint32_t reserved_21_23:3;
  1930. uint32_t uatombs:1;
  1931. uint32_t reserved_25_31:7;
  1932. #endif
  1933. } cn61xx;
  1934. struct cvmx_pciercx_cfg067_cn52xx cn63xx;
  1935. struct cvmx_pciercx_cfg067_cn52xx cn63xxp1;
  1936. struct cvmx_pciercx_cfg067_cn61xx cn66xx;
  1937. struct cvmx_pciercx_cfg067_cn61xx cn68xx;
  1938. struct cvmx_pciercx_cfg067_cn52xx cn68xxp1;
  1939. struct cvmx_pciercx_cfg067_s cnf71xx;
  1940. };
  1941. union cvmx_pciercx_cfg068 {
  1942. uint32_t u32;
  1943. struct cvmx_pciercx_cfg068_s {
  1944. #ifdef __BIG_ENDIAN_BITFIELD
  1945. uint32_t reserved_15_31:17;
  1946. uint32_t cies:1;
  1947. uint32_t anfes:1;
  1948. uint32_t rtts:1;
  1949. uint32_t reserved_9_11:3;
  1950. uint32_t rnrs:1;
  1951. uint32_t bdllps:1;
  1952. uint32_t btlps:1;
  1953. uint32_t reserved_1_5:5;
  1954. uint32_t res:1;
  1955. #else
  1956. uint32_t res:1;
  1957. uint32_t reserved_1_5:5;
  1958. uint32_t btlps:1;
  1959. uint32_t bdllps:1;
  1960. uint32_t rnrs:1;
  1961. uint32_t reserved_9_11:3;
  1962. uint32_t rtts:1;
  1963. uint32_t anfes:1;
  1964. uint32_t cies:1;
  1965. uint32_t reserved_15_31:17;
  1966. #endif
  1967. } s;
  1968. struct cvmx_pciercx_cfg068_cn52xx {
  1969. #ifdef __BIG_ENDIAN_BITFIELD
  1970. uint32_t reserved_14_31:18;
  1971. uint32_t anfes:1;
  1972. uint32_t rtts:1;
  1973. uint32_t reserved_9_11:3;
  1974. uint32_t rnrs:1;
  1975. uint32_t bdllps:1;
  1976. uint32_t btlps:1;
  1977. uint32_t reserved_1_5:5;
  1978. uint32_t res:1;
  1979. #else
  1980. uint32_t res:1;
  1981. uint32_t reserved_1_5:5;
  1982. uint32_t btlps:1;
  1983. uint32_t bdllps:1;
  1984. uint32_t rnrs:1;
  1985. uint32_t reserved_9_11:3;
  1986. uint32_t rtts:1;
  1987. uint32_t anfes:1;
  1988. uint32_t reserved_14_31:18;
  1989. #endif
  1990. } cn52xx;
  1991. struct cvmx_pciercx_cfg068_cn52xx cn52xxp1;
  1992. struct cvmx_pciercx_cfg068_cn52xx cn56xx;
  1993. struct cvmx_pciercx_cfg068_cn52xx cn56xxp1;
  1994. struct cvmx_pciercx_cfg068_cn52xx cn61xx;
  1995. struct cvmx_pciercx_cfg068_cn52xx cn63xx;
  1996. struct cvmx_pciercx_cfg068_cn52xx cn63xxp1;
  1997. struct cvmx_pciercx_cfg068_cn52xx cn66xx;
  1998. struct cvmx_pciercx_cfg068_cn52xx cn68xx;
  1999. struct cvmx_pciercx_cfg068_cn52xx cn68xxp1;
  2000. struct cvmx_pciercx_cfg068_s cnf71xx;
  2001. };
  2002. union cvmx_pciercx_cfg069 {
  2003. uint32_t u32;
  2004. struct cvmx_pciercx_cfg069_s {
  2005. #ifdef __BIG_ENDIAN_BITFIELD
  2006. uint32_t reserved_15_31:17;
  2007. uint32_t ciem:1;
  2008. uint32_t anfem:1;
  2009. uint32_t rttm:1;
  2010. uint32_t reserved_9_11:3;
  2011. uint32_t rnrm:1;
  2012. uint32_t bdllpm:1;
  2013. uint32_t btlpm:1;
  2014. uint32_t reserved_1_5:5;
  2015. uint32_t rem:1;
  2016. #else
  2017. uint32_t rem:1;
  2018. uint32_t reserved_1_5:5;
  2019. uint32_t btlpm:1;
  2020. uint32_t bdllpm:1;
  2021. uint32_t rnrm:1;
  2022. uint32_t reserved_9_11:3;
  2023. uint32_t rttm:1;
  2024. uint32_t anfem:1;
  2025. uint32_t ciem:1;
  2026. uint32_t reserved_15_31:17;
  2027. #endif
  2028. } s;
  2029. struct cvmx_pciercx_cfg069_cn52xx {
  2030. #ifdef __BIG_ENDIAN_BITFIELD
  2031. uint32_t reserved_14_31:18;
  2032. uint32_t anfem:1;
  2033. uint32_t rttm:1;
  2034. uint32_t reserved_9_11:3;
  2035. uint32_t rnrm:1;
  2036. uint32_t bdllpm:1;
  2037. uint32_t btlpm:1;
  2038. uint32_t reserved_1_5:5;
  2039. uint32_t rem:1;
  2040. #else
  2041. uint32_t rem:1;
  2042. uint32_t reserved_1_5:5;
  2043. uint32_t btlpm:1;
  2044. uint32_t bdllpm:1;
  2045. uint32_t rnrm:1;
  2046. uint32_t reserved_9_11:3;
  2047. uint32_t rttm:1;
  2048. uint32_t anfem:1;
  2049. uint32_t reserved_14_31:18;
  2050. #endif
  2051. } cn52xx;
  2052. struct cvmx_pciercx_cfg069_cn52xx cn52xxp1;
  2053. struct cvmx_pciercx_cfg069_cn52xx cn56xx;
  2054. struct cvmx_pciercx_cfg069_cn52xx cn56xxp1;
  2055. struct cvmx_pciercx_cfg069_cn52xx cn61xx;
  2056. struct cvmx_pciercx_cfg069_cn52xx cn63xx;
  2057. struct cvmx_pciercx_cfg069_cn52xx cn63xxp1;
  2058. struct cvmx_pciercx_cfg069_cn52xx cn66xx;
  2059. struct cvmx_pciercx_cfg069_cn52xx cn68xx;
  2060. struct cvmx_pciercx_cfg069_cn52xx cn68xxp1;
  2061. struct cvmx_pciercx_cfg069_s cnf71xx;
  2062. };
  2063. union cvmx_pciercx_cfg070 {
  2064. uint32_t u32;
  2065. struct cvmx_pciercx_cfg070_s {
  2066. #ifdef __BIG_ENDIAN_BITFIELD
  2067. uint32_t reserved_9_31:23;
  2068. uint32_t ce:1;
  2069. uint32_t cc:1;
  2070. uint32_t ge:1;
  2071. uint32_t gc:1;
  2072. uint32_t fep:5;
  2073. #else
  2074. uint32_t fep:5;
  2075. uint32_t gc:1;
  2076. uint32_t ge:1;
  2077. uint32_t cc:1;
  2078. uint32_t ce:1;
  2079. uint32_t reserved_9_31:23;
  2080. #endif
  2081. } s;
  2082. struct cvmx_pciercx_cfg070_s cn52xx;
  2083. struct cvmx_pciercx_cfg070_s cn52xxp1;
  2084. struct cvmx_pciercx_cfg070_s cn56xx;
  2085. struct cvmx_pciercx_cfg070_s cn56xxp1;
  2086. struct cvmx_pciercx_cfg070_s cn61xx;
  2087. struct cvmx_pciercx_cfg070_s cn63xx;
  2088. struct cvmx_pciercx_cfg070_s cn63xxp1;
  2089. struct cvmx_pciercx_cfg070_s cn66xx;
  2090. struct cvmx_pciercx_cfg070_s cn68xx;
  2091. struct cvmx_pciercx_cfg070_s cn68xxp1;
  2092. struct cvmx_pciercx_cfg070_s cnf71xx;
  2093. };
  2094. union cvmx_pciercx_cfg071 {
  2095. uint32_t u32;
  2096. struct cvmx_pciercx_cfg071_s {
  2097. #ifdef __BIG_ENDIAN_BITFIELD
  2098. uint32_t dword1:32;
  2099. #else
  2100. uint32_t dword1:32;
  2101. #endif
  2102. } s;
  2103. struct cvmx_pciercx_cfg071_s cn52xx;
  2104. struct cvmx_pciercx_cfg071_s cn52xxp1;
  2105. struct cvmx_pciercx_cfg071_s cn56xx;
  2106. struct cvmx_pciercx_cfg071_s cn56xxp1;
  2107. struct cvmx_pciercx_cfg071_s cn61xx;
  2108. struct cvmx_pciercx_cfg071_s cn63xx;
  2109. struct cvmx_pciercx_cfg071_s cn63xxp1;
  2110. struct cvmx_pciercx_cfg071_s cn66xx;
  2111. struct cvmx_pciercx_cfg071_s cn68xx;
  2112. struct cvmx_pciercx_cfg071_s cn68xxp1;
  2113. struct cvmx_pciercx_cfg071_s cnf71xx;
  2114. };
  2115. union cvmx_pciercx_cfg072 {
  2116. uint32_t u32;
  2117. struct cvmx_pciercx_cfg072_s {
  2118. #ifdef __BIG_ENDIAN_BITFIELD
  2119. uint32_t dword2:32;
  2120. #else
  2121. uint32_t dword2:32;
  2122. #endif
  2123. } s;
  2124. struct cvmx_pciercx_cfg072_s cn52xx;
  2125. struct cvmx_pciercx_cfg072_s cn52xxp1;
  2126. struct cvmx_pciercx_cfg072_s cn56xx;
  2127. struct cvmx_pciercx_cfg072_s cn56xxp1;
  2128. struct cvmx_pciercx_cfg072_s cn61xx;
  2129. struct cvmx_pciercx_cfg072_s cn63xx;
  2130. struct cvmx_pciercx_cfg072_s cn63xxp1;
  2131. struct cvmx_pciercx_cfg072_s cn66xx;
  2132. struct cvmx_pciercx_cfg072_s cn68xx;
  2133. struct cvmx_pciercx_cfg072_s cn68xxp1;
  2134. struct cvmx_pciercx_cfg072_s cnf71xx;
  2135. };
  2136. union cvmx_pciercx_cfg073 {
  2137. uint32_t u32;
  2138. struct cvmx_pciercx_cfg073_s {
  2139. #ifdef __BIG_ENDIAN_BITFIELD
  2140. uint32_t dword3:32;
  2141. #else
  2142. uint32_t dword3:32;
  2143. #endif
  2144. } s;
  2145. struct cvmx_pciercx_cfg073_s cn52xx;
  2146. struct cvmx_pciercx_cfg073_s cn52xxp1;
  2147. struct cvmx_pciercx_cfg073_s cn56xx;
  2148. struct cvmx_pciercx_cfg073_s cn56xxp1;
  2149. struct cvmx_pciercx_cfg073_s cn61xx;
  2150. struct cvmx_pciercx_cfg073_s cn63xx;
  2151. struct cvmx_pciercx_cfg073_s cn63xxp1;
  2152. struct cvmx_pciercx_cfg073_s cn66xx;
  2153. struct cvmx_pciercx_cfg073_s cn68xx;
  2154. struct cvmx_pciercx_cfg073_s cn68xxp1;
  2155. struct cvmx_pciercx_cfg073_s cnf71xx;
  2156. };
  2157. union cvmx_pciercx_cfg074 {
  2158. uint32_t u32;
  2159. struct cvmx_pciercx_cfg074_s {
  2160. #ifdef __BIG_ENDIAN_BITFIELD
  2161. uint32_t dword4:32;
  2162. #else
  2163. uint32_t dword4:32;
  2164. #endif
  2165. } s;
  2166. struct cvmx_pciercx_cfg074_s cn52xx;
  2167. struct cvmx_pciercx_cfg074_s cn52xxp1;
  2168. struct cvmx_pciercx_cfg074_s cn56xx;
  2169. struct cvmx_pciercx_cfg074_s cn56xxp1;
  2170. struct cvmx_pciercx_cfg074_s cn61xx;
  2171. struct cvmx_pciercx_cfg074_s cn63xx;
  2172. struct cvmx_pciercx_cfg074_s cn63xxp1;
  2173. struct cvmx_pciercx_cfg074_s cn66xx;
  2174. struct cvmx_pciercx_cfg074_s cn68xx;
  2175. struct cvmx_pciercx_cfg074_s cn68xxp1;
  2176. struct cvmx_pciercx_cfg074_s cnf71xx;
  2177. };
  2178. union cvmx_pciercx_cfg075 {
  2179. uint32_t u32;
  2180. struct cvmx_pciercx_cfg075_s {
  2181. #ifdef __BIG_ENDIAN_BITFIELD
  2182. uint32_t reserved_3_31:29;
  2183. uint32_t fere:1;
  2184. uint32_t nfere:1;
  2185. uint32_t cere:1;
  2186. #else
  2187. uint32_t cere:1;
  2188. uint32_t nfere:1;
  2189. uint32_t fere:1;
  2190. uint32_t reserved_3_31:29;
  2191. #endif
  2192. } s;
  2193. struct cvmx_pciercx_cfg075_s cn52xx;
  2194. struct cvmx_pciercx_cfg075_s cn52xxp1;
  2195. struct cvmx_pciercx_cfg075_s cn56xx;
  2196. struct cvmx_pciercx_cfg075_s cn56xxp1;
  2197. struct cvmx_pciercx_cfg075_s cn61xx;
  2198. struct cvmx_pciercx_cfg075_s cn63xx;
  2199. struct cvmx_pciercx_cfg075_s cn63xxp1;
  2200. struct cvmx_pciercx_cfg075_s cn66xx;
  2201. struct cvmx_pciercx_cfg075_s cn68xx;
  2202. struct cvmx_pciercx_cfg075_s cn68xxp1;
  2203. struct cvmx_pciercx_cfg075_s cnf71xx;
  2204. };
  2205. union cvmx_pciercx_cfg076 {
  2206. uint32_t u32;
  2207. struct cvmx_pciercx_cfg076_s {
  2208. #ifdef __BIG_ENDIAN_BITFIELD
  2209. uint32_t aeimn:5;
  2210. uint32_t reserved_7_26:20;
  2211. uint32_t femr:1;
  2212. uint32_t nfemr:1;
  2213. uint32_t fuf:1;
  2214. uint32_t multi_efnfr:1;
  2215. uint32_t efnfr:1;
  2216. uint32_t multi_ecr:1;
  2217. uint32_t ecr:1;
  2218. #else
  2219. uint32_t ecr:1;
  2220. uint32_t multi_ecr:1;
  2221. uint32_t efnfr:1;
  2222. uint32_t multi_efnfr:1;
  2223. uint32_t fuf:1;
  2224. uint32_t nfemr:1;
  2225. uint32_t femr:1;
  2226. uint32_t reserved_7_26:20;
  2227. uint32_t aeimn:5;
  2228. #endif
  2229. } s;
  2230. struct cvmx_pciercx_cfg076_s cn52xx;
  2231. struct cvmx_pciercx_cfg076_s cn52xxp1;
  2232. struct cvmx_pciercx_cfg076_s cn56xx;
  2233. struct cvmx_pciercx_cfg076_s cn56xxp1;
  2234. struct cvmx_pciercx_cfg076_s cn61xx;
  2235. struct cvmx_pciercx_cfg076_s cn63xx;
  2236. struct cvmx_pciercx_cfg076_s cn63xxp1;
  2237. struct cvmx_pciercx_cfg076_s cn66xx;
  2238. struct cvmx_pciercx_cfg076_s cn68xx;
  2239. struct cvmx_pciercx_cfg076_s cn68xxp1;
  2240. struct cvmx_pciercx_cfg076_s cnf71xx;
  2241. };
  2242. union cvmx_pciercx_cfg077 {
  2243. uint32_t u32;
  2244. struct cvmx_pciercx_cfg077_s {
  2245. #ifdef __BIG_ENDIAN_BITFIELD
  2246. uint32_t efnfsi:16;
  2247. uint32_t ecsi:16;
  2248. #else
  2249. uint32_t ecsi:16;
  2250. uint32_t efnfsi:16;
  2251. #endif
  2252. } s;
  2253. struct cvmx_pciercx_cfg077_s cn52xx;
  2254. struct cvmx_pciercx_cfg077_s cn52xxp1;
  2255. struct cvmx_pciercx_cfg077_s cn56xx;
  2256. struct cvmx_pciercx_cfg077_s cn56xxp1;
  2257. struct cvmx_pciercx_cfg077_s cn61xx;
  2258. struct cvmx_pciercx_cfg077_s cn63xx;
  2259. struct cvmx_pciercx_cfg077_s cn63xxp1;
  2260. struct cvmx_pciercx_cfg077_s cn66xx;
  2261. struct cvmx_pciercx_cfg077_s cn68xx;
  2262. struct cvmx_pciercx_cfg077_s cn68xxp1;
  2263. struct cvmx_pciercx_cfg077_s cnf71xx;
  2264. };
  2265. union cvmx_pciercx_cfg448 {
  2266. uint32_t u32;
  2267. struct cvmx_pciercx_cfg448_s {
  2268. #ifdef __BIG_ENDIAN_BITFIELD
  2269. uint32_t rtl:16;
  2270. uint32_t rtltl:16;
  2271. #else
  2272. uint32_t rtltl:16;
  2273. uint32_t rtl:16;
  2274. #endif
  2275. } s;
  2276. struct cvmx_pciercx_cfg448_s cn52xx;
  2277. struct cvmx_pciercx_cfg448_s cn52xxp1;
  2278. struct cvmx_pciercx_cfg448_s cn56xx;
  2279. struct cvmx_pciercx_cfg448_s cn56xxp1;
  2280. struct cvmx_pciercx_cfg448_s cn61xx;
  2281. struct cvmx_pciercx_cfg448_s cn63xx;
  2282. struct cvmx_pciercx_cfg448_s cn63xxp1;
  2283. struct cvmx_pciercx_cfg448_s cn66xx;
  2284. struct cvmx_pciercx_cfg448_s cn68xx;
  2285. struct cvmx_pciercx_cfg448_s cn68xxp1;
  2286. struct cvmx_pciercx_cfg448_s cnf71xx;
  2287. };
  2288. union cvmx_pciercx_cfg449 {
  2289. uint32_t u32;
  2290. struct cvmx_pciercx_cfg449_s {
  2291. #ifdef __BIG_ENDIAN_BITFIELD
  2292. uint32_t omr:32;
  2293. #else
  2294. uint32_t omr:32;
  2295. #endif
  2296. } s;
  2297. struct cvmx_pciercx_cfg449_s cn52xx;
  2298. struct cvmx_pciercx_cfg449_s cn52xxp1;
  2299. struct cvmx_pciercx_cfg449_s cn56xx;
  2300. struct cvmx_pciercx_cfg449_s cn56xxp1;
  2301. struct cvmx_pciercx_cfg449_s cn61xx;
  2302. struct cvmx_pciercx_cfg449_s cn63xx;
  2303. struct cvmx_pciercx_cfg449_s cn63xxp1;
  2304. struct cvmx_pciercx_cfg449_s cn66xx;
  2305. struct cvmx_pciercx_cfg449_s cn68xx;
  2306. struct cvmx_pciercx_cfg449_s cn68xxp1;
  2307. struct cvmx_pciercx_cfg449_s cnf71xx;
  2308. };
  2309. union cvmx_pciercx_cfg450 {
  2310. uint32_t u32;
  2311. struct cvmx_pciercx_cfg450_s {
  2312. #ifdef __BIG_ENDIAN_BITFIELD
  2313. uint32_t lpec:8;
  2314. uint32_t reserved_22_23:2;
  2315. uint32_t link_state:6;
  2316. uint32_t force_link:1;
  2317. uint32_t reserved_8_14:7;
  2318. uint32_t link_num:8;
  2319. #else
  2320. uint32_t link_num:8;
  2321. uint32_t reserved_8_14:7;
  2322. uint32_t force_link:1;
  2323. uint32_t link_state:6;
  2324. uint32_t reserved_22_23:2;
  2325. uint32_t lpec:8;
  2326. #endif
  2327. } s;
  2328. struct cvmx_pciercx_cfg450_s cn52xx;
  2329. struct cvmx_pciercx_cfg450_s cn52xxp1;
  2330. struct cvmx_pciercx_cfg450_s cn56xx;
  2331. struct cvmx_pciercx_cfg450_s cn56xxp1;
  2332. struct cvmx_pciercx_cfg450_s cn61xx;
  2333. struct cvmx_pciercx_cfg450_s cn63xx;
  2334. struct cvmx_pciercx_cfg450_s cn63xxp1;
  2335. struct cvmx_pciercx_cfg450_s cn66xx;
  2336. struct cvmx_pciercx_cfg450_s cn68xx;
  2337. struct cvmx_pciercx_cfg450_s cn68xxp1;
  2338. struct cvmx_pciercx_cfg450_s cnf71xx;
  2339. };
  2340. union cvmx_pciercx_cfg451 {
  2341. uint32_t u32;
  2342. struct cvmx_pciercx_cfg451_s {
  2343. #ifdef __BIG_ENDIAN_BITFIELD
  2344. uint32_t reserved_31_31:1;
  2345. uint32_t easpml1:1;
  2346. uint32_t l1el:3;
  2347. uint32_t l0el:3;
  2348. uint32_t n_fts_cc:8;
  2349. uint32_t n_fts:8;
  2350. uint32_t ack_freq:8;
  2351. #else
  2352. uint32_t ack_freq:8;
  2353. uint32_t n_fts:8;
  2354. uint32_t n_fts_cc:8;
  2355. uint32_t l0el:3;
  2356. uint32_t l1el:3;
  2357. uint32_t easpml1:1;
  2358. uint32_t reserved_31_31:1;
  2359. #endif
  2360. } s;
  2361. struct cvmx_pciercx_cfg451_cn52xx {
  2362. #ifdef __BIG_ENDIAN_BITFIELD
  2363. uint32_t reserved_30_31:2;
  2364. uint32_t l1el:3;
  2365. uint32_t l0el:3;
  2366. uint32_t n_fts_cc:8;
  2367. uint32_t n_fts:8;
  2368. uint32_t ack_freq:8;
  2369. #else
  2370. uint32_t ack_freq:8;
  2371. uint32_t n_fts:8;
  2372. uint32_t n_fts_cc:8;
  2373. uint32_t l0el:3;
  2374. uint32_t l1el:3;
  2375. uint32_t reserved_30_31:2;
  2376. #endif
  2377. } cn52xx;
  2378. struct cvmx_pciercx_cfg451_cn52xx cn52xxp1;
  2379. struct cvmx_pciercx_cfg451_cn52xx cn56xx;
  2380. struct cvmx_pciercx_cfg451_cn52xx cn56xxp1;
  2381. struct cvmx_pciercx_cfg451_s cn61xx;
  2382. struct cvmx_pciercx_cfg451_cn52xx cn63xx;
  2383. struct cvmx_pciercx_cfg451_cn52xx cn63xxp1;
  2384. struct cvmx_pciercx_cfg451_s cn66xx;
  2385. struct cvmx_pciercx_cfg451_s cn68xx;
  2386. struct cvmx_pciercx_cfg451_s cn68xxp1;
  2387. struct cvmx_pciercx_cfg451_s cnf71xx;
  2388. };
  2389. union cvmx_pciercx_cfg452 {
  2390. uint32_t u32;
  2391. struct cvmx_pciercx_cfg452_s {
  2392. #ifdef __BIG_ENDIAN_BITFIELD
  2393. uint32_t reserved_26_31:6;
  2394. uint32_t eccrc:1;
  2395. uint32_t reserved_22_24:3;
  2396. uint32_t lme:6;
  2397. uint32_t reserved_8_15:8;
  2398. uint32_t flm:1;
  2399. uint32_t reserved_6_6:1;
  2400. uint32_t dllle:1;
  2401. uint32_t reserved_4_4:1;
  2402. uint32_t ra:1;
  2403. uint32_t le:1;
  2404. uint32_t sd:1;
  2405. uint32_t omr:1;
  2406. #else
  2407. uint32_t omr:1;
  2408. uint32_t sd:1;
  2409. uint32_t le:1;
  2410. uint32_t ra:1;
  2411. uint32_t reserved_4_4:1;
  2412. uint32_t dllle:1;
  2413. uint32_t reserved_6_6:1;
  2414. uint32_t flm:1;
  2415. uint32_t reserved_8_15:8;
  2416. uint32_t lme:6;
  2417. uint32_t reserved_22_24:3;
  2418. uint32_t eccrc:1;
  2419. uint32_t reserved_26_31:6;
  2420. #endif
  2421. } s;
  2422. struct cvmx_pciercx_cfg452_s cn52xx;
  2423. struct cvmx_pciercx_cfg452_s cn52xxp1;
  2424. struct cvmx_pciercx_cfg452_s cn56xx;
  2425. struct cvmx_pciercx_cfg452_s cn56xxp1;
  2426. struct cvmx_pciercx_cfg452_cn61xx {
  2427. #ifdef __BIG_ENDIAN_BITFIELD
  2428. uint32_t reserved_22_31:10;
  2429. uint32_t lme:6;
  2430. uint32_t reserved_8_15:8;
  2431. uint32_t flm:1;
  2432. uint32_t reserved_6_6:1;
  2433. uint32_t dllle:1;
  2434. uint32_t reserved_4_4:1;
  2435. uint32_t ra:1;
  2436. uint32_t le:1;
  2437. uint32_t sd:1;
  2438. uint32_t omr:1;
  2439. #else
  2440. uint32_t omr:1;
  2441. uint32_t sd:1;
  2442. uint32_t le:1;
  2443. uint32_t ra:1;
  2444. uint32_t reserved_4_4:1;
  2445. uint32_t dllle:1;
  2446. uint32_t reserved_6_6:1;
  2447. uint32_t flm:1;
  2448. uint32_t reserved_8_15:8;
  2449. uint32_t lme:6;
  2450. uint32_t reserved_22_31:10;
  2451. #endif
  2452. } cn61xx;
  2453. struct cvmx_pciercx_cfg452_s cn63xx;
  2454. struct cvmx_pciercx_cfg452_s cn63xxp1;
  2455. struct cvmx_pciercx_cfg452_cn61xx cn66xx;
  2456. struct cvmx_pciercx_cfg452_cn61xx cn68xx;
  2457. struct cvmx_pciercx_cfg452_cn61xx cn68xxp1;
  2458. struct cvmx_pciercx_cfg452_cn61xx cnf71xx;
  2459. };
  2460. union cvmx_pciercx_cfg453 {
  2461. uint32_t u32;
  2462. struct cvmx_pciercx_cfg453_s {
  2463. #ifdef __BIG_ENDIAN_BITFIELD
  2464. uint32_t dlld:1;
  2465. uint32_t reserved_26_30:5;
  2466. uint32_t ack_nak:1;
  2467. uint32_t fcd:1;
  2468. uint32_t ilst:24;
  2469. #else
  2470. uint32_t ilst:24;
  2471. uint32_t fcd:1;
  2472. uint32_t ack_nak:1;
  2473. uint32_t reserved_26_30:5;
  2474. uint32_t dlld:1;
  2475. #endif
  2476. } s;
  2477. struct cvmx_pciercx_cfg453_s cn52xx;
  2478. struct cvmx_pciercx_cfg453_s cn52xxp1;
  2479. struct cvmx_pciercx_cfg453_s cn56xx;
  2480. struct cvmx_pciercx_cfg453_s cn56xxp1;
  2481. struct cvmx_pciercx_cfg453_s cn61xx;
  2482. struct cvmx_pciercx_cfg453_s cn63xx;
  2483. struct cvmx_pciercx_cfg453_s cn63xxp1;
  2484. struct cvmx_pciercx_cfg453_s cn66xx;
  2485. struct cvmx_pciercx_cfg453_s cn68xx;
  2486. struct cvmx_pciercx_cfg453_s cn68xxp1;
  2487. struct cvmx_pciercx_cfg453_s cnf71xx;
  2488. };
  2489. union cvmx_pciercx_cfg454 {
  2490. uint32_t u32;
  2491. struct cvmx_pciercx_cfg454_s {
  2492. #ifdef __BIG_ENDIAN_BITFIELD
  2493. uint32_t cx_nfunc:3;
  2494. uint32_t tmfcwt:5;
  2495. uint32_t tmanlt:5;
  2496. uint32_t tmrt:5;
  2497. uint32_t reserved_11_13:3;
  2498. uint32_t nskps:3;
  2499. uint32_t reserved_0_7:8;
  2500. #else
  2501. uint32_t reserved_0_7:8;
  2502. uint32_t nskps:3;
  2503. uint32_t reserved_11_13:3;
  2504. uint32_t tmrt:5;
  2505. uint32_t tmanlt:5;
  2506. uint32_t tmfcwt:5;
  2507. uint32_t cx_nfunc:3;
  2508. #endif
  2509. } s;
  2510. struct cvmx_pciercx_cfg454_cn52xx {
  2511. #ifdef __BIG_ENDIAN_BITFIELD
  2512. uint32_t reserved_29_31:3;
  2513. uint32_t tmfcwt:5;
  2514. uint32_t tmanlt:5;
  2515. uint32_t tmrt:5;
  2516. uint32_t reserved_11_13:3;
  2517. uint32_t nskps:3;
  2518. uint32_t reserved_4_7:4;
  2519. uint32_t ntss:4;
  2520. #else
  2521. uint32_t ntss:4;
  2522. uint32_t reserved_4_7:4;
  2523. uint32_t nskps:3;
  2524. uint32_t reserved_11_13:3;
  2525. uint32_t tmrt:5;
  2526. uint32_t tmanlt:5;
  2527. uint32_t tmfcwt:5;
  2528. uint32_t reserved_29_31:3;
  2529. #endif
  2530. } cn52xx;
  2531. struct cvmx_pciercx_cfg454_cn52xx cn52xxp1;
  2532. struct cvmx_pciercx_cfg454_cn52xx cn56xx;
  2533. struct cvmx_pciercx_cfg454_cn52xx cn56xxp1;
  2534. struct cvmx_pciercx_cfg454_cn61xx {
  2535. #ifdef __BIG_ENDIAN_BITFIELD
  2536. uint32_t cx_nfunc:3;
  2537. uint32_t tmfcwt:5;
  2538. uint32_t tmanlt:5;
  2539. uint32_t tmrt:5;
  2540. uint32_t reserved_8_13:6;
  2541. uint32_t mfuncn:8;
  2542. #else
  2543. uint32_t mfuncn:8;
  2544. uint32_t reserved_8_13:6;
  2545. uint32_t tmrt:5;
  2546. uint32_t tmanlt:5;
  2547. uint32_t tmfcwt:5;
  2548. uint32_t cx_nfunc:3;
  2549. #endif
  2550. } cn61xx;
  2551. struct cvmx_pciercx_cfg454_cn52xx cn63xx;
  2552. struct cvmx_pciercx_cfg454_cn52xx cn63xxp1;
  2553. struct cvmx_pciercx_cfg454_cn61xx cn66xx;
  2554. struct cvmx_pciercx_cfg454_cn61xx cn68xx;
  2555. struct cvmx_pciercx_cfg454_cn52xx cn68xxp1;
  2556. struct cvmx_pciercx_cfg454_cn61xx cnf71xx;
  2557. };
  2558. union cvmx_pciercx_cfg455 {
  2559. uint32_t u32;
  2560. struct cvmx_pciercx_cfg455_s {
  2561. #ifdef __BIG_ENDIAN_BITFIELD
  2562. uint32_t m_cfg0_filt:1;
  2563. uint32_t m_io_filt:1;
  2564. uint32_t msg_ctrl:1;
  2565. uint32_t m_cpl_ecrc_filt:1;
  2566. uint32_t m_ecrc_filt:1;
  2567. uint32_t m_cpl_len_err:1;
  2568. uint32_t m_cpl_attr_err:1;
  2569. uint32_t m_cpl_tc_err:1;
  2570. uint32_t m_cpl_fun_err:1;
  2571. uint32_t m_cpl_rid_err:1;
  2572. uint32_t m_cpl_tag_err:1;
  2573. uint32_t m_lk_filt:1;
  2574. uint32_t m_cfg1_filt:1;
  2575. uint32_t m_bar_match:1;
  2576. uint32_t m_pois_filt:1;
  2577. uint32_t m_fun:1;
  2578. uint32_t dfcwt:1;
  2579. uint32_t reserved_11_14:4;
  2580. uint32_t skpiv:11;
  2581. #else
  2582. uint32_t skpiv:11;
  2583. uint32_t reserved_11_14:4;
  2584. uint32_t dfcwt:1;
  2585. uint32_t m_fun:1;
  2586. uint32_t m_pois_filt:1;
  2587. uint32_t m_bar_match:1;
  2588. uint32_t m_cfg1_filt:1;
  2589. uint32_t m_lk_filt:1;
  2590. uint32_t m_cpl_tag_err:1;
  2591. uint32_t m_cpl_rid_err:1;
  2592. uint32_t m_cpl_fun_err:1;
  2593. uint32_t m_cpl_tc_err:1;
  2594. uint32_t m_cpl_attr_err:1;
  2595. uint32_t m_cpl_len_err:1;
  2596. uint32_t m_ecrc_filt:1;
  2597. uint32_t m_cpl_ecrc_filt:1;
  2598. uint32_t msg_ctrl:1;
  2599. uint32_t m_io_filt:1;
  2600. uint32_t m_cfg0_filt:1;
  2601. #endif
  2602. } s;
  2603. struct cvmx_pciercx_cfg455_s cn52xx;
  2604. struct cvmx_pciercx_cfg455_s cn52xxp1;
  2605. struct cvmx_pciercx_cfg455_s cn56xx;
  2606. struct cvmx_pciercx_cfg455_s cn56xxp1;
  2607. struct cvmx_pciercx_cfg455_s cn61xx;
  2608. struct cvmx_pciercx_cfg455_s cn63xx;
  2609. struct cvmx_pciercx_cfg455_s cn63xxp1;
  2610. struct cvmx_pciercx_cfg455_s cn66xx;
  2611. struct cvmx_pciercx_cfg455_s cn68xx;
  2612. struct cvmx_pciercx_cfg455_s cn68xxp1;
  2613. struct cvmx_pciercx_cfg455_s cnf71xx;
  2614. };
  2615. union cvmx_pciercx_cfg456 {
  2616. uint32_t u32;
  2617. struct cvmx_pciercx_cfg456_s {
  2618. #ifdef __BIG_ENDIAN_BITFIELD
  2619. uint32_t reserved_4_31:28;
  2620. uint32_t m_handle_flush:1;
  2621. uint32_t m_dabort_4ucpl:1;
  2622. uint32_t m_vend1_drp:1;
  2623. uint32_t m_vend0_drp:1;
  2624. #else
  2625. uint32_t m_vend0_drp:1;
  2626. uint32_t m_vend1_drp:1;
  2627. uint32_t m_dabort_4ucpl:1;
  2628. uint32_t m_handle_flush:1;
  2629. uint32_t reserved_4_31:28;
  2630. #endif
  2631. } s;
  2632. struct cvmx_pciercx_cfg456_cn52xx {
  2633. #ifdef __BIG_ENDIAN_BITFIELD
  2634. uint32_t reserved_2_31:30;
  2635. uint32_t m_vend1_drp:1;
  2636. uint32_t m_vend0_drp:1;
  2637. #else
  2638. uint32_t m_vend0_drp:1;
  2639. uint32_t m_vend1_drp:1;
  2640. uint32_t reserved_2_31:30;
  2641. #endif
  2642. } cn52xx;
  2643. struct cvmx_pciercx_cfg456_cn52xx cn52xxp1;
  2644. struct cvmx_pciercx_cfg456_cn52xx cn56xx;
  2645. struct cvmx_pciercx_cfg456_cn52xx cn56xxp1;
  2646. struct cvmx_pciercx_cfg456_s cn61xx;
  2647. struct cvmx_pciercx_cfg456_cn52xx cn63xx;
  2648. struct cvmx_pciercx_cfg456_cn52xx cn63xxp1;
  2649. struct cvmx_pciercx_cfg456_s cn66xx;
  2650. struct cvmx_pciercx_cfg456_s cn68xx;
  2651. struct cvmx_pciercx_cfg456_cn52xx cn68xxp1;
  2652. struct cvmx_pciercx_cfg456_s cnf71xx;
  2653. };
  2654. union cvmx_pciercx_cfg458 {
  2655. uint32_t u32;
  2656. struct cvmx_pciercx_cfg458_s {
  2657. #ifdef __BIG_ENDIAN_BITFIELD
  2658. uint32_t dbg_info_l32:32;
  2659. #else
  2660. uint32_t dbg_info_l32:32;
  2661. #endif
  2662. } s;
  2663. struct cvmx_pciercx_cfg458_s cn52xx;
  2664. struct cvmx_pciercx_cfg458_s cn52xxp1;
  2665. struct cvmx_pciercx_cfg458_s cn56xx;
  2666. struct cvmx_pciercx_cfg458_s cn56xxp1;
  2667. struct cvmx_pciercx_cfg458_s cn61xx;
  2668. struct cvmx_pciercx_cfg458_s cn63xx;
  2669. struct cvmx_pciercx_cfg458_s cn63xxp1;
  2670. struct cvmx_pciercx_cfg458_s cn66xx;
  2671. struct cvmx_pciercx_cfg458_s cn68xx;
  2672. struct cvmx_pciercx_cfg458_s cn68xxp1;
  2673. struct cvmx_pciercx_cfg458_s cnf71xx;
  2674. };
  2675. union cvmx_pciercx_cfg459 {
  2676. uint32_t u32;
  2677. struct cvmx_pciercx_cfg459_s {
  2678. #ifdef __BIG_ENDIAN_BITFIELD
  2679. uint32_t dbg_info_u32:32;
  2680. #else
  2681. uint32_t dbg_info_u32:32;
  2682. #endif
  2683. } s;
  2684. struct cvmx_pciercx_cfg459_s cn52xx;
  2685. struct cvmx_pciercx_cfg459_s cn52xxp1;
  2686. struct cvmx_pciercx_cfg459_s cn56xx;
  2687. struct cvmx_pciercx_cfg459_s cn56xxp1;
  2688. struct cvmx_pciercx_cfg459_s cn61xx;
  2689. struct cvmx_pciercx_cfg459_s cn63xx;
  2690. struct cvmx_pciercx_cfg459_s cn63xxp1;
  2691. struct cvmx_pciercx_cfg459_s cn66xx;
  2692. struct cvmx_pciercx_cfg459_s cn68xx;
  2693. struct cvmx_pciercx_cfg459_s cn68xxp1;
  2694. struct cvmx_pciercx_cfg459_s cnf71xx;
  2695. };
  2696. union cvmx_pciercx_cfg460 {
  2697. uint32_t u32;
  2698. struct cvmx_pciercx_cfg460_s {
  2699. #ifdef __BIG_ENDIAN_BITFIELD
  2700. uint32_t reserved_20_31:12;
  2701. uint32_t tphfcc:8;
  2702. uint32_t tpdfcc:12;
  2703. #else
  2704. uint32_t tpdfcc:12;
  2705. uint32_t tphfcc:8;
  2706. uint32_t reserved_20_31:12;
  2707. #endif
  2708. } s;
  2709. struct cvmx_pciercx_cfg460_s cn52xx;
  2710. struct cvmx_pciercx_cfg460_s cn52xxp1;
  2711. struct cvmx_pciercx_cfg460_s cn56xx;
  2712. struct cvmx_pciercx_cfg460_s cn56xxp1;
  2713. struct cvmx_pciercx_cfg460_s cn61xx;
  2714. struct cvmx_pciercx_cfg460_s cn63xx;
  2715. struct cvmx_pciercx_cfg460_s cn63xxp1;
  2716. struct cvmx_pciercx_cfg460_s cn66xx;
  2717. struct cvmx_pciercx_cfg460_s cn68xx;
  2718. struct cvmx_pciercx_cfg460_s cn68xxp1;
  2719. struct cvmx_pciercx_cfg460_s cnf71xx;
  2720. };
  2721. union cvmx_pciercx_cfg461 {
  2722. uint32_t u32;
  2723. struct cvmx_pciercx_cfg461_s {
  2724. #ifdef __BIG_ENDIAN_BITFIELD
  2725. uint32_t reserved_20_31:12;
  2726. uint32_t tchfcc:8;
  2727. uint32_t tcdfcc:12;
  2728. #else
  2729. uint32_t tcdfcc:12;
  2730. uint32_t tchfcc:8;
  2731. uint32_t reserved_20_31:12;
  2732. #endif
  2733. } s;
  2734. struct cvmx_pciercx_cfg461_s cn52xx;
  2735. struct cvmx_pciercx_cfg461_s cn52xxp1;
  2736. struct cvmx_pciercx_cfg461_s cn56xx;
  2737. struct cvmx_pciercx_cfg461_s cn56xxp1;
  2738. struct cvmx_pciercx_cfg461_s cn61xx;
  2739. struct cvmx_pciercx_cfg461_s cn63xx;
  2740. struct cvmx_pciercx_cfg461_s cn63xxp1;
  2741. struct cvmx_pciercx_cfg461_s cn66xx;
  2742. struct cvmx_pciercx_cfg461_s cn68xx;
  2743. struct cvmx_pciercx_cfg461_s cn68xxp1;
  2744. struct cvmx_pciercx_cfg461_s cnf71xx;
  2745. };
  2746. union cvmx_pciercx_cfg462 {
  2747. uint32_t u32;
  2748. struct cvmx_pciercx_cfg462_s {
  2749. #ifdef __BIG_ENDIAN_BITFIELD
  2750. uint32_t reserved_20_31:12;
  2751. uint32_t tchfcc:8;
  2752. uint32_t tcdfcc:12;
  2753. #else
  2754. uint32_t tcdfcc:12;
  2755. uint32_t tchfcc:8;
  2756. uint32_t reserved_20_31:12;
  2757. #endif
  2758. } s;
  2759. struct cvmx_pciercx_cfg462_s cn52xx;
  2760. struct cvmx_pciercx_cfg462_s cn52xxp1;
  2761. struct cvmx_pciercx_cfg462_s cn56xx;
  2762. struct cvmx_pciercx_cfg462_s cn56xxp1;
  2763. struct cvmx_pciercx_cfg462_s cn61xx;
  2764. struct cvmx_pciercx_cfg462_s cn63xx;
  2765. struct cvmx_pciercx_cfg462_s cn63xxp1;
  2766. struct cvmx_pciercx_cfg462_s cn66xx;
  2767. struct cvmx_pciercx_cfg462_s cn68xx;
  2768. struct cvmx_pciercx_cfg462_s cn68xxp1;
  2769. struct cvmx_pciercx_cfg462_s cnf71xx;
  2770. };
  2771. union cvmx_pciercx_cfg463 {
  2772. uint32_t u32;
  2773. struct cvmx_pciercx_cfg463_s {
  2774. #ifdef __BIG_ENDIAN_BITFIELD
  2775. uint32_t reserved_3_31:29;
  2776. uint32_t rqne:1;
  2777. uint32_t trbne:1;
  2778. uint32_t rtlpfccnr:1;
  2779. #else
  2780. uint32_t rtlpfccnr:1;
  2781. uint32_t trbne:1;
  2782. uint32_t rqne:1;
  2783. uint32_t reserved_3_31:29;
  2784. #endif
  2785. } s;
  2786. struct cvmx_pciercx_cfg463_s cn52xx;
  2787. struct cvmx_pciercx_cfg463_s cn52xxp1;
  2788. struct cvmx_pciercx_cfg463_s cn56xx;
  2789. struct cvmx_pciercx_cfg463_s cn56xxp1;
  2790. struct cvmx_pciercx_cfg463_s cn61xx;
  2791. struct cvmx_pciercx_cfg463_s cn63xx;
  2792. struct cvmx_pciercx_cfg463_s cn63xxp1;
  2793. struct cvmx_pciercx_cfg463_s cn66xx;
  2794. struct cvmx_pciercx_cfg463_s cn68xx;
  2795. struct cvmx_pciercx_cfg463_s cn68xxp1;
  2796. struct cvmx_pciercx_cfg463_s cnf71xx;
  2797. };
  2798. union cvmx_pciercx_cfg464 {
  2799. uint32_t u32;
  2800. struct cvmx_pciercx_cfg464_s {
  2801. #ifdef __BIG_ENDIAN_BITFIELD
  2802. uint32_t wrr_vc3:8;
  2803. uint32_t wrr_vc2:8;
  2804. uint32_t wrr_vc1:8;
  2805. uint32_t wrr_vc0:8;
  2806. #else
  2807. uint32_t wrr_vc0:8;
  2808. uint32_t wrr_vc1:8;
  2809. uint32_t wrr_vc2:8;
  2810. uint32_t wrr_vc3:8;
  2811. #endif
  2812. } s;
  2813. struct cvmx_pciercx_cfg464_s cn52xx;
  2814. struct cvmx_pciercx_cfg464_s cn52xxp1;
  2815. struct cvmx_pciercx_cfg464_s cn56xx;
  2816. struct cvmx_pciercx_cfg464_s cn56xxp1;
  2817. struct cvmx_pciercx_cfg464_s cn61xx;
  2818. struct cvmx_pciercx_cfg464_s cn63xx;
  2819. struct cvmx_pciercx_cfg464_s cn63xxp1;
  2820. struct cvmx_pciercx_cfg464_s cn66xx;
  2821. struct cvmx_pciercx_cfg464_s cn68xx;
  2822. struct cvmx_pciercx_cfg464_s cn68xxp1;
  2823. struct cvmx_pciercx_cfg464_s cnf71xx;
  2824. };
  2825. union cvmx_pciercx_cfg465 {
  2826. uint32_t u32;
  2827. struct cvmx_pciercx_cfg465_s {
  2828. #ifdef __BIG_ENDIAN_BITFIELD
  2829. uint32_t wrr_vc7:8;
  2830. uint32_t wrr_vc6:8;
  2831. uint32_t wrr_vc5:8;
  2832. uint32_t wrr_vc4:8;
  2833. #else
  2834. uint32_t wrr_vc4:8;
  2835. uint32_t wrr_vc5:8;
  2836. uint32_t wrr_vc6:8;
  2837. uint32_t wrr_vc7:8;
  2838. #endif
  2839. } s;
  2840. struct cvmx_pciercx_cfg465_s cn52xx;
  2841. struct cvmx_pciercx_cfg465_s cn52xxp1;
  2842. struct cvmx_pciercx_cfg465_s cn56xx;
  2843. struct cvmx_pciercx_cfg465_s cn56xxp1;
  2844. struct cvmx_pciercx_cfg465_s cn61xx;
  2845. struct cvmx_pciercx_cfg465_s cn63xx;
  2846. struct cvmx_pciercx_cfg465_s cn63xxp1;
  2847. struct cvmx_pciercx_cfg465_s cn66xx;
  2848. struct cvmx_pciercx_cfg465_s cn68xx;
  2849. struct cvmx_pciercx_cfg465_s cn68xxp1;
  2850. struct cvmx_pciercx_cfg465_s cnf71xx;
  2851. };
  2852. union cvmx_pciercx_cfg466 {
  2853. uint32_t u32;
  2854. struct cvmx_pciercx_cfg466_s {
  2855. #ifdef __BIG_ENDIAN_BITFIELD
  2856. uint32_t rx_queue_order:1;
  2857. uint32_t type_ordering:1;
  2858. uint32_t reserved_24_29:6;
  2859. uint32_t queue_mode:3;
  2860. uint32_t reserved_20_20:1;
  2861. uint32_t header_credits:8;
  2862. uint32_t data_credits:12;
  2863. #else
  2864. uint32_t data_credits:12;
  2865. uint32_t header_credits:8;
  2866. uint32_t reserved_20_20:1;
  2867. uint32_t queue_mode:3;
  2868. uint32_t reserved_24_29:6;
  2869. uint32_t type_ordering:1;
  2870. uint32_t rx_queue_order:1;
  2871. #endif
  2872. } s;
  2873. struct cvmx_pciercx_cfg466_s cn52xx;
  2874. struct cvmx_pciercx_cfg466_s cn52xxp1;
  2875. struct cvmx_pciercx_cfg466_s cn56xx;
  2876. struct cvmx_pciercx_cfg466_s cn56xxp1;
  2877. struct cvmx_pciercx_cfg466_s cn61xx;
  2878. struct cvmx_pciercx_cfg466_s cn63xx;
  2879. struct cvmx_pciercx_cfg466_s cn63xxp1;
  2880. struct cvmx_pciercx_cfg466_s cn66xx;
  2881. struct cvmx_pciercx_cfg466_s cn68xx;
  2882. struct cvmx_pciercx_cfg466_s cn68xxp1;
  2883. struct cvmx_pciercx_cfg466_s cnf71xx;
  2884. };
  2885. union cvmx_pciercx_cfg467 {
  2886. uint32_t u32;
  2887. struct cvmx_pciercx_cfg467_s {
  2888. #ifdef __BIG_ENDIAN_BITFIELD
  2889. uint32_t reserved_24_31:8;
  2890. uint32_t queue_mode:3;
  2891. uint32_t reserved_20_20:1;
  2892. uint32_t header_credits:8;
  2893. uint32_t data_credits:12;
  2894. #else
  2895. uint32_t data_credits:12;
  2896. uint32_t header_credits:8;
  2897. uint32_t reserved_20_20:1;
  2898. uint32_t queue_mode:3;
  2899. uint32_t reserved_24_31:8;
  2900. #endif
  2901. } s;
  2902. struct cvmx_pciercx_cfg467_s cn52xx;
  2903. struct cvmx_pciercx_cfg467_s cn52xxp1;
  2904. struct cvmx_pciercx_cfg467_s cn56xx;
  2905. struct cvmx_pciercx_cfg467_s cn56xxp1;
  2906. struct cvmx_pciercx_cfg467_s cn61xx;
  2907. struct cvmx_pciercx_cfg467_s cn63xx;
  2908. struct cvmx_pciercx_cfg467_s cn63xxp1;
  2909. struct cvmx_pciercx_cfg467_s cn66xx;
  2910. struct cvmx_pciercx_cfg467_s cn68xx;
  2911. struct cvmx_pciercx_cfg467_s cn68xxp1;
  2912. struct cvmx_pciercx_cfg467_s cnf71xx;
  2913. };
  2914. union cvmx_pciercx_cfg468 {
  2915. uint32_t u32;
  2916. struct cvmx_pciercx_cfg468_s {
  2917. #ifdef __BIG_ENDIAN_BITFIELD
  2918. uint32_t reserved_24_31:8;
  2919. uint32_t queue_mode:3;
  2920. uint32_t reserved_20_20:1;
  2921. uint32_t header_credits:8;
  2922. uint32_t data_credits:12;
  2923. #else
  2924. uint32_t data_credits:12;
  2925. uint32_t header_credits:8;
  2926. uint32_t reserved_20_20:1;
  2927. uint32_t queue_mode:3;
  2928. uint32_t reserved_24_31:8;
  2929. #endif
  2930. } s;
  2931. struct cvmx_pciercx_cfg468_s cn52xx;
  2932. struct cvmx_pciercx_cfg468_s cn52xxp1;
  2933. struct cvmx_pciercx_cfg468_s cn56xx;
  2934. struct cvmx_pciercx_cfg468_s cn56xxp1;
  2935. struct cvmx_pciercx_cfg468_s cn61xx;
  2936. struct cvmx_pciercx_cfg468_s cn63xx;
  2937. struct cvmx_pciercx_cfg468_s cn63xxp1;
  2938. struct cvmx_pciercx_cfg468_s cn66xx;
  2939. struct cvmx_pciercx_cfg468_s cn68xx;
  2940. struct cvmx_pciercx_cfg468_s cn68xxp1;
  2941. struct cvmx_pciercx_cfg468_s cnf71xx;
  2942. };
  2943. union cvmx_pciercx_cfg490 {
  2944. uint32_t u32;
  2945. struct cvmx_pciercx_cfg490_s {
  2946. #ifdef __BIG_ENDIAN_BITFIELD
  2947. uint32_t reserved_26_31:6;
  2948. uint32_t header_depth:10;
  2949. uint32_t reserved_14_15:2;
  2950. uint32_t data_depth:14;
  2951. #else
  2952. uint32_t data_depth:14;
  2953. uint32_t reserved_14_15:2;
  2954. uint32_t header_depth:10;
  2955. uint32_t reserved_26_31:6;
  2956. #endif
  2957. } s;
  2958. struct cvmx_pciercx_cfg490_s cn52xx;
  2959. struct cvmx_pciercx_cfg490_s cn52xxp1;
  2960. struct cvmx_pciercx_cfg490_s cn56xx;
  2961. struct cvmx_pciercx_cfg490_s cn56xxp1;
  2962. struct cvmx_pciercx_cfg490_s cn61xx;
  2963. struct cvmx_pciercx_cfg490_s cn63xx;
  2964. struct cvmx_pciercx_cfg490_s cn63xxp1;
  2965. struct cvmx_pciercx_cfg490_s cn66xx;
  2966. struct cvmx_pciercx_cfg490_s cn68xx;
  2967. struct cvmx_pciercx_cfg490_s cn68xxp1;
  2968. struct cvmx_pciercx_cfg490_s cnf71xx;
  2969. };
  2970. union cvmx_pciercx_cfg491 {
  2971. uint32_t u32;
  2972. struct cvmx_pciercx_cfg491_s {
  2973. #ifdef __BIG_ENDIAN_BITFIELD
  2974. uint32_t reserved_26_31:6;
  2975. uint32_t header_depth:10;
  2976. uint32_t reserved_14_15:2;
  2977. uint32_t data_depth:14;
  2978. #else
  2979. uint32_t data_depth:14;
  2980. uint32_t reserved_14_15:2;
  2981. uint32_t header_depth:10;
  2982. uint32_t reserved_26_31:6;
  2983. #endif
  2984. } s;
  2985. struct cvmx_pciercx_cfg491_s cn52xx;
  2986. struct cvmx_pciercx_cfg491_s cn52xxp1;
  2987. struct cvmx_pciercx_cfg491_s cn56xx;
  2988. struct cvmx_pciercx_cfg491_s cn56xxp1;
  2989. struct cvmx_pciercx_cfg491_s cn61xx;
  2990. struct cvmx_pciercx_cfg491_s cn63xx;
  2991. struct cvmx_pciercx_cfg491_s cn63xxp1;
  2992. struct cvmx_pciercx_cfg491_s cn66xx;
  2993. struct cvmx_pciercx_cfg491_s cn68xx;
  2994. struct cvmx_pciercx_cfg491_s cn68xxp1;
  2995. struct cvmx_pciercx_cfg491_s cnf71xx;
  2996. };
  2997. union cvmx_pciercx_cfg492 {
  2998. uint32_t u32;
  2999. struct cvmx_pciercx_cfg492_s {
  3000. #ifdef __BIG_ENDIAN_BITFIELD
  3001. uint32_t reserved_26_31:6;
  3002. uint32_t header_depth:10;
  3003. uint32_t reserved_14_15:2;
  3004. uint32_t data_depth:14;
  3005. #else
  3006. uint32_t data_depth:14;
  3007. uint32_t reserved_14_15:2;
  3008. uint32_t header_depth:10;
  3009. uint32_t reserved_26_31:6;
  3010. #endif
  3011. } s;
  3012. struct cvmx_pciercx_cfg492_s cn52xx;
  3013. struct cvmx_pciercx_cfg492_s cn52xxp1;
  3014. struct cvmx_pciercx_cfg492_s cn56xx;
  3015. struct cvmx_pciercx_cfg492_s cn56xxp1;
  3016. struct cvmx_pciercx_cfg492_s cn61xx;
  3017. struct cvmx_pciercx_cfg492_s cn63xx;
  3018. struct cvmx_pciercx_cfg492_s cn63xxp1;
  3019. struct cvmx_pciercx_cfg492_s cn66xx;
  3020. struct cvmx_pciercx_cfg492_s cn68xx;
  3021. struct cvmx_pciercx_cfg492_s cn68xxp1;
  3022. struct cvmx_pciercx_cfg492_s cnf71xx;
  3023. };
  3024. union cvmx_pciercx_cfg515 {
  3025. uint32_t u32;
  3026. struct cvmx_pciercx_cfg515_s {
  3027. #ifdef __BIG_ENDIAN_BITFIELD
  3028. uint32_t reserved_21_31:11;
  3029. uint32_t s_d_e:1;
  3030. uint32_t ctcrb:1;
  3031. uint32_t cpyts:1;
  3032. uint32_t dsc:1;
  3033. uint32_t le:9;
  3034. uint32_t n_fts:8;
  3035. #else
  3036. uint32_t n_fts:8;
  3037. uint32_t le:9;
  3038. uint32_t dsc:1;
  3039. uint32_t cpyts:1;
  3040. uint32_t ctcrb:1;
  3041. uint32_t s_d_e:1;
  3042. uint32_t reserved_21_31:11;
  3043. #endif
  3044. } s;
  3045. struct cvmx_pciercx_cfg515_s cn61xx;
  3046. struct cvmx_pciercx_cfg515_s cn63xx;
  3047. struct cvmx_pciercx_cfg515_s cn63xxp1;
  3048. struct cvmx_pciercx_cfg515_s cn66xx;
  3049. struct cvmx_pciercx_cfg515_s cn68xx;
  3050. struct cvmx_pciercx_cfg515_s cn68xxp1;
  3051. struct cvmx_pciercx_cfg515_s cnf71xx;
  3052. };
  3053. union cvmx_pciercx_cfg516 {
  3054. uint32_t u32;
  3055. struct cvmx_pciercx_cfg516_s {
  3056. #ifdef __BIG_ENDIAN_BITFIELD
  3057. uint32_t phy_stat:32;
  3058. #else
  3059. uint32_t phy_stat:32;
  3060. #endif
  3061. } s;
  3062. struct cvmx_pciercx_cfg516_s cn52xx;
  3063. struct cvmx_pciercx_cfg516_s cn52xxp1;
  3064. struct cvmx_pciercx_cfg516_s cn56xx;
  3065. struct cvmx_pciercx_cfg516_s cn56xxp1;
  3066. struct cvmx_pciercx_cfg516_s cn61xx;
  3067. struct cvmx_pciercx_cfg516_s cn63xx;
  3068. struct cvmx_pciercx_cfg516_s cn63xxp1;
  3069. struct cvmx_pciercx_cfg516_s cn66xx;
  3070. struct cvmx_pciercx_cfg516_s cn68xx;
  3071. struct cvmx_pciercx_cfg516_s cn68xxp1;
  3072. struct cvmx_pciercx_cfg516_s cnf71xx;
  3073. };
  3074. union cvmx_pciercx_cfg517 {
  3075. uint32_t u32;
  3076. struct cvmx_pciercx_cfg517_s {
  3077. #ifdef __BIG_ENDIAN_BITFIELD
  3078. uint32_t phy_ctrl:32;
  3079. #else
  3080. uint32_t phy_ctrl:32;
  3081. #endif
  3082. } s;
  3083. struct cvmx_pciercx_cfg517_s cn52xx;
  3084. struct cvmx_pciercx_cfg517_s cn52xxp1;
  3085. struct cvmx_pciercx_cfg517_s cn56xx;
  3086. struct cvmx_pciercx_cfg517_s cn56xxp1;
  3087. struct cvmx_pciercx_cfg517_s cn61xx;
  3088. struct cvmx_pciercx_cfg517_s cn63xx;
  3089. struct cvmx_pciercx_cfg517_s cn63xxp1;
  3090. struct cvmx_pciercx_cfg517_s cn66xx;
  3091. struct cvmx_pciercx_cfg517_s cn68xx;
  3092. struct cvmx_pciercx_cfg517_s cn68xxp1;
  3093. struct cvmx_pciercx_cfg517_s cnf71xx;
  3094. };
  3095. #endif