stv090x_reg.h 99 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372
  1. /*
  2. STV0900/0903 Multistandard Broadcast Frontend driver
  3. Copyright (C) Manu Abraham <abraham.manu@gmail.com>
  4. Copyright (C) ST Microelectronics
  5. This program is free software; you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation; either version 2 of the License, or
  8. (at your option) any later version.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with this program; if not, write to the Free Software
  15. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  16. */
  17. #ifndef __STV090x_REG_H
  18. #define __STV090x_REG_H
  19. #define STV090x_MID 0xf100
  20. #define STV090x_OFFST_MCHIP_IDENT_FIELD 4
  21. #define STV090x_WIDTH_MCHIP_IDENT_FIELD 4
  22. #define STV090x_OFFST_MRELEASE_FIELD 0
  23. #define STV090x_WIDTH_MRELEASE_FIELD 4
  24. #define STV090x_DACR1 0xf113
  25. #define STV090x_OFFST_DACR1_MODE_FIELD 5
  26. #define STV090x_WIDTH_DACR1_MODE_FIELD 3
  27. #define STV090x_OFFST_DACR1_VALUE_FIELD 0
  28. #define STV090x_WIDTH_DACR1_VALUE_FIELD 4
  29. #define STV090x_DACR2 0xf114
  30. #define STV090x_OFFST_DACR2_VALUE_FIELD 0
  31. #define STV090x_WIDTH_DACR2_VALUE_FIELD 8
  32. #define STV090x_OUTCFG 0xf11c
  33. #define STV090x_OFFST_OUTSERRS1_HZ_FIELD 6
  34. #define STV090x_WIDTH_OUTSERRS1_HZ_FIELD 1
  35. #define STV090x_OFFST_OUTSERRS2_HZ_FIELD 5
  36. #define STV090x_WIDTH_OUTSERRS2_HZ_FIELD 1
  37. #define STV090x_OFFST_OUTSERRS3_HZ_FIELD 4
  38. #define STV090x_WIDTH_OUTSERRS3_HZ_FIELD 1
  39. #define STV090x_OFFST_OUTPARRS3_HZ_FIELD 3
  40. #define STV090x_WIDTH_OUTPARRS3_HZ_FIELD 1
  41. #define STV090x_MODECFG 0xf11d
  42. #define STV090x_IRQSTATUS3 0xf120
  43. #define STV090x_OFFST_SPLL_LOCK_FIELD 5
  44. #define STV090x_WIDTH_SPLL_LOCK_FIELD 1
  45. #define STV090x_OFFST_SSTREAM_LCK_3_FIELD 4
  46. #define STV090x_WIDTH_SSTREAM_LCK_3_FIELD 1
  47. #define STV090x_OFFST_SSTREAM_LCK_2_FIELD 3
  48. #define STV090x_WIDTH_SSTREAM_LCK_2_FIELD 1
  49. #define STV090x_OFFST_SSTREAM_LCK_1_FIELD 2
  50. #define STV090x_WIDTH_SSTREAM_LCK_1_FIELD 1
  51. #define STV090x_OFFST_SDVBS1_PRF_2_FIELD 1
  52. #define STV090x_WIDTH_SDVBS1_PRF_2_FIELD 1
  53. #define STV090x_OFFST_SDVBS1_PRF_1_FIELD 0
  54. #define STV090x_WIDTH_SDVBS1_PRF_1_FIELD 1
  55. #define STV090x_IRQSTATUS2 0xf121
  56. #define STV090x_OFFST_SSPY_ENDSIM_3_FIELD 7
  57. #define STV090x_WIDTH_SSPY_ENDSIM_3_FIELD 1
  58. #define STV090x_OFFST_SSPY_ENDSIM_2_FIELD 6
  59. #define STV090x_WIDTH_SSPY_ENDSIM_2_FIELD 1
  60. #define STV090x_OFFST_SSPY_ENDSIM_1_FIELD 5
  61. #define STV090x_WIDTH_SSPY_ENDSIM_1_FIELD 1
  62. #define STV090x_OFFST_SPKTDEL_ERROR_2_FIELD 4
  63. #define STV090x_WIDTH_SPKTDEL_ERROR_2_FIELD 1
  64. #define STV090x_OFFST_SPKTDEL_LOCKB_2_FIELD 3
  65. #define STV090x_WIDTH_SPKTDEL_LOCKB_2_FIELD 1
  66. #define STV090x_OFFST_SPKTDEL_LOCK_2_FIELD 2
  67. #define STV090x_WIDTH_SPKTDEL_LOCK_2_FIELD 1
  68. #define STV090x_OFFST_SPKTDEL_ERROR_1_FIELD 1
  69. #define STV090x_WIDTH_SPKTDEL_ERROR_1_FIELD 1
  70. #define STV090x_OFFST_SPKTDEL_LOCKB_1_FIELD 0
  71. #define STV090x_WIDTH_SPKTDEL_LOCKB_1_FIELD 1
  72. #define STV090x_IRQSTATUS1 0xf122
  73. #define STV090x_OFFST_SPKTDEL_LOCK_1_FIELD 7
  74. #define STV090x_WIDTH_SPKTDEL_LOCK_1_FIELD 1
  75. #define STV090x_OFFST_SDEMOD_LOCKB_2_FIELD 2
  76. #define STV090x_WIDTH_SDEMOD_LOCKB_2_FIELD 1
  77. #define STV090x_OFFST_SDEMOD_LOCK_2_FIELD 1
  78. #define STV090x_WIDTH_SDEMOD_LOCK_2_FIELD 1
  79. #define STV090x_OFFST_SDEMOD_IRQ_2_FIELD 0
  80. #define STV090x_WIDTH_SDEMOD_IRQ_2_FIELD 1
  81. #define STV090x_IRQSTATUS0 0xf123
  82. #define STV090x_OFFST_SDEMOD_LOCKB_1_FIELD 7
  83. #define STV090x_WIDTH_SDEMOD_LOCKB_1_FIELD 1
  84. #define STV090x_OFFST_SDEMOD_LOCK_1_FIELD 6
  85. #define STV090x_WIDTH_SDEMOD_LOCK_1_FIELD 1
  86. #define STV090x_OFFST_SDEMOD_IRQ_1_FIELD 5
  87. #define STV090x_WIDTH_SDEMOD_IRQ_1_FIELD 1
  88. #define STV090x_OFFST_SBCH_ERRFLAG_FIELD 4
  89. #define STV090x_WIDTH_SBCH_ERRFLAG_FIELD 1
  90. #define STV090x_OFFST_SDISEQC2RX_IRQ_FIELD 3
  91. #define STV090x_WIDTH_SDISEQC2RX_IRQ_FIELD 1
  92. #define STV090x_OFFST_SDISEQC2TX_IRQ_FIELD 2
  93. #define STV090x_WIDTH_SDISEQC2TX_IRQ_FIELD 1
  94. #define STV090x_OFFST_SDISEQC1RX_IRQ_FIELD 1
  95. #define STV090x_WIDTH_SDISEQC1RX_IRQ_FIELD 1
  96. #define STV090x_OFFST_SDISEQC1TX_IRQ_FIELD 0
  97. #define STV090x_WIDTH_SDISEQC1TX_IRQ_FIELD 1
  98. #define STV090x_IRQMASK3 0xf124
  99. #define STV090x_OFFST_MPLL_LOCK_FIELD 5
  100. #define STV090x_WIDTH_MPLL_LOCK_FIELD 1
  101. #define STV090x_OFFST_MSTREAM_LCK_3_FIELD 4
  102. #define STV090x_WIDTH_MSTREAM_LCK_3_FIELD 1
  103. #define STV090x_OFFST_MSTREAM_LCK_2_FIELD 3
  104. #define STV090x_WIDTH_MSTREAM_LCK_2_FIELD 1
  105. #define STV090x_OFFST_MSTREAM_LCK_1_FIELD 2
  106. #define STV090x_WIDTH_MSTREAM_LCK_1_FIELD 1
  107. #define STV090x_OFFST_MDVBS1_PRF_2_FIELD 1
  108. #define STV090x_WIDTH_MDVBS1_PRF_2_FIELD 1
  109. #define STV090x_OFFST_MDVBS1_PRF_1_FIELD 0
  110. #define STV090x_WIDTH_MDVBS1_PRF_1_FIELD 1
  111. #define STV090x_IRQMASK2 0xf125
  112. #define STV090x_OFFST_MSPY_ENDSIM_3_FIELD 7
  113. #define STV090x_WIDTH_MSPY_ENDSIM_3_FIELD 1
  114. #define STV090x_OFFST_MSPY_ENDSIM_2_FIELD 6
  115. #define STV090x_WIDTH_MSPY_ENDSIM_2_FIELD 1
  116. #define STV090x_OFFST_MSPY_ENDSIM_1_FIELD 5
  117. #define STV090x_WIDTH_MSPY_ENDSIM_1_FIELD 1
  118. #define STV090x_OFFST_MPKTDEL_ERROR_2_FIELD 4
  119. #define STV090x_WIDTH_MPKTDEL_ERROR_2_FIELD 1
  120. #define STV090x_OFFST_MPKTDEL_LOCKB_2_FIELD 3
  121. #define STV090x_WIDTH_MPKTDEL_LOCKB_2_FIELD 1
  122. #define STV090x_OFFST_MPKTDEL_LOCK_2_FIELD 2
  123. #define STV090x_WIDTH_MPKTDEL_LOCK_2_FIELD 1
  124. #define STV090x_OFFST_MPKTDEL_ERROR_1_FIELD 1
  125. #define STV090x_WIDTH_MPKTDEL_ERROR_1_FIELD 1
  126. #define STV090x_OFFST_MPKTDEL_LOCKB_1_FIELD 0
  127. #define STV090x_WIDTH_MPKTDEL_LOCKB_1_FIELD 1
  128. #define STV090x_IRQMASK1 0xf126
  129. #define STV090x_OFFST_MPKTDEL_LOCK_1_FIELD 7
  130. #define STV090x_WIDTH_MPKTDEL_LOCK_1_FIELD 1
  131. #define STV090x_OFFST_MEXTPINB2_FIELD 6
  132. #define STV090x_WIDTH_MEXTPINB2_FIELD 1
  133. #define STV090x_OFFST_MEXTPIN2_FIELD 5
  134. #define STV090x_WIDTH_MEXTPIN2_FIELD 1
  135. #define STV090x_OFFST_MEXTPINB1_FIELD 4
  136. #define STV090x_WIDTH_MEXTPINB1_FIELD 1
  137. #define STV090x_OFFST_MEXTPIN1_FIELD 3
  138. #define STV090x_WIDTH_MEXTPIN1_FIELD 1
  139. #define STV090x_OFFST_MDEMOD_LOCKB_2_FIELD 2
  140. #define STV090x_WIDTH_MDEMOD_LOCKB_2_FIELD 1
  141. #define STV090x_OFFST_MDEMOD_LOCK_2_FIELD 1
  142. #define STV090x_WIDTH_MDEMOD_LOCK_2_FIELD 1
  143. #define STV090x_OFFST_MDEMOD_IRQ_2_FIELD 0
  144. #define STV090x_WIDTH_MDEMOD_IRQ_2_FIELD 1
  145. #define STV090x_IRQMASK0 0xf127
  146. #define STV090x_OFFST_MDEMOD_LOCKB_1_FIELD 7
  147. #define STV090x_WIDTH_MDEMOD_LOCKB_1_FIELD 1
  148. #define STV090x_OFFST_MDEMOD_LOCK_1_FIELD 6
  149. #define STV090x_WIDTH_MDEMOD_LOCK_1_FIELD 1
  150. #define STV090x_OFFST_MDEMOD_IRQ_1_FIELD 5
  151. #define STV090x_WIDTH_MDEMOD_IRQ_1_FIELD 1
  152. #define STV090x_OFFST_MBCH_ERRFLAG_FIELD 4
  153. #define STV090x_WIDTH_MBCH_ERRFLAG_FIELD 1
  154. #define STV090x_OFFST_MDISEQC2RX_IRQ_FIELD 3
  155. #define STV090x_WIDTH_MDISEQC2RX_IRQ_FIELD 1
  156. #define STV090x_OFFST_MDISEQC2TX_IRQ_FIELD 2
  157. #define STV090x_WIDTH_MDISEQC2TX_IRQ_FIELD 1
  158. #define STV090x_OFFST_MDISEQC1RX_IRQ_FIELD 1
  159. #define STV090x_WIDTH_MDISEQC1RX_IRQ_FIELD 1
  160. #define STV090x_OFFST_MDISEQC1TX_IRQ_FIELD 0
  161. #define STV090x_WIDTH_MDISEQC1TX_IRQ_FIELD 1
  162. #define STV090x_I2CCFG 0xf129
  163. #define STV090x_OFFST_12C_FASTMODE_FIELD 3
  164. #define STV090x_WIDTH_12C_FASTMODE_FIELD 1
  165. #define STV090x_OFFST_12CADDR_INC_FIELD 0
  166. #define STV090x_WIDTH_12CADDR_INC_FIELD 2
  167. #define STV090x_Px_I2CRPT(__x) (0xf12a + (__x - 1) * 0x1)
  168. #define STV090x_P1_I2CRPT STV090x_Px_I2CRPT(1)
  169. #define STV090x_P2_I2CRPT STV090x_Px_I2CRPT(2)
  170. #define STV090x_OFFST_Px_I2CT_ON_FIELD 7
  171. #define STV090x_WIDTH_Px_I2CT_ON_FIELD 1
  172. #define STV090x_OFFST_Px_ENARPT_LEVEL_FIELD 4
  173. #define STV090x_WIDTH_Px_ENARPT_LEVEL_FIELD 3
  174. #define STV090x_OFFST_Px_SCLT_DELAY_FIELD 3
  175. #define STV090x_WIDTH_Px_SCLT_DELAY_FIELD 1
  176. #define STV090x_OFFST_Px_STOP_ENABLE_FIELD 2
  177. #define STV090x_WIDTH_Px_STOP_ENABLE_FIELD 1
  178. #define STV090x_OFFST_Px_STOP_SDAT2SDA_FIELD 1
  179. #define STV090x_WIDTH_Px_STOP_SDAT2SDA_FIELD 1
  180. #define STV090x_CLKI2CFG 0xf140
  181. #define STV090x_OFFST_CLKI2_OPD_FIELD 7
  182. #define STV090x_WIDTH_CLKI2_OPD_FIELD 1
  183. #define STV090x_OFFST_CLKI2_CONFIG_FIELD 1
  184. #define STV090x_WIDTH_CLKI2_CONFIG_FIELD 6
  185. #define STV090x_OFFST_CLKI2_XOR_FIELD 0
  186. #define STV090x_WIDTH_CLKI2_XOR_FIELD 1
  187. #define STV090x_GPIOxCFG(__x) (0xf141 + (__x - 1))
  188. #define STV090x_GPIO1CFG STV090x_GPIOxCFG(1)
  189. #define STV090x_GPIO2CFG STV090x_GPIOxCFG(2)
  190. #define STV090x_GPIO3CFG STV090x_GPIOxCFG(3)
  191. #define STV090x_GPIO4CFG STV090x_GPIOxCFG(4)
  192. #define STV090x_GPIO5CFG STV090x_GPIOxCFG(5)
  193. #define STV090x_GPIO6CFG STV090x_GPIOxCFG(6)
  194. #define STV090x_GPIO7CFG STV090x_GPIOxCFG(7)
  195. #define STV090x_GPIO8CFG STV090x_GPIOxCFG(8)
  196. #define STV090x_GPIO9CFG STV090x_GPIOxCFG(9)
  197. #define STV090x_GPIO10CFG STV090x_GPIOxCFG(10)
  198. #define STV090x_GPIO11CFG STV090x_GPIOxCFG(11)
  199. #define STV090x_GPIO12CFG STV090x_GPIOxCFG(12)
  200. #define STV090x_GPIO13CFG STV090x_GPIOxCFG(13)
  201. #define STV090x_OFFST_GPIOx_OPD_FIELD 7
  202. #define STV090x_WIDTH_GPIOx_OPD_FIELD 1
  203. #define STV090x_OFFST_GPIOx_CONFIG_FIELD 1
  204. #define STV090x_WIDTH_GPIOx_CONFIG_FIELD 6
  205. #define STV090x_OFFST_GPIOx_XOR_FIELD 0
  206. #define STV090x_WIDTH_GPIOx_XOR_FIELD 1
  207. #define STV090x_CSxCFG(__x) (0xf14e + __x * 0x1)
  208. #define STV090x_CS0CFG STV090x_CSxCFG(0)
  209. #define STV090x_CS1CFG STV090x_CSxCFG(1)
  210. #define STV090x_OFFST_CSX_OPD_FIELD 7
  211. #define STV090x_WIDTH_CSX_OPD_FIELD 1
  212. #define STV090x_OFFST_CSX_CONFIG_FIELD 1
  213. #define STV090x_WIDTH_CSX_CONFIG_FIELD 6
  214. #define STV090x_OFFST_CSX_XOR_FIELD 0
  215. #define STV090x_WIDTH_CSX_XOR_FIELD 1
  216. #define STV090x_STDBYCFG 0xf150
  217. #define STV090x_OFFST_STDBY_OPD_FIELD 7
  218. #define STV090x_WIDTH_STDBY_OPD_FIELD 1
  219. #define STV090x_OFFST_STDBY_CONFIG_FIELD 1
  220. #define STV090x_WIDTH_STDBY_CONFIG_FIELD 6
  221. #define STV090x_OFFST_STDBY_XOR_FIELD 0
  222. #define STV090x_WIDTH_STDBY_XOR_FIELD 1
  223. #define STV090x_DIRCLKCFG 0xf151
  224. #define STV090x_OFFST_DIRCLK_OPD_FIELD 7
  225. #define STV090x_WIDTH_DIRCLK_OPD_FIELD 1
  226. #define STV090x_OFFST_DIRCLK_CONFIG_FIELD 1
  227. #define STV090x_WIDTH_DIRCLK_CONFIG_FIELD 6
  228. #define STV090x_OFFST_DIRCLK_XOR_FIELD 0
  229. #define STV090x_WIDTH_DIRCLK_XOR_FIELD 1
  230. #define STV090x_AGCRFxCFG(__x) (0xf152 + (__x - 1) * 0x4)
  231. #define STV090x_AGCRF1CFG STV090x_AGCRFxCFG(1)
  232. #define STV090x_AGCRF2CFG STV090x_AGCRFxCFG(2)
  233. #define STV090x_OFFST_AGCRFx_OPD_FIELD 7
  234. #define STV090x_WIDTH_AGCRFx_OPD_FIELD 1
  235. #define STV090x_OFFST_AGCRFx_CONFIG_FIELD 1
  236. #define STV090x_WIDTH_AGCRFx_CONFIG_FIELD 6
  237. #define STV090x_OFFST_AGCRFx_XOR_FIELD 0
  238. #define STV090x_WIDTH_AGCRFx_XOR_FIELD 1
  239. #define STV090x_SDATxCFG(__x) (0xf153 + (__x - 1) * 0x4)
  240. #define STV090x_SDAT1CFG STV090x_SDATxCFG(1)
  241. #define STV090x_SDAT2CFG STV090x_SDATxCFG(2)
  242. #define STV090x_OFFST_SDATx_OPD_FIELD 7
  243. #define STV090x_WIDTH_SDATx_OPD_FIELD 1
  244. #define STV090x_OFFST_SDATx_CONFIG_FIELD 1
  245. #define STV090x_WIDTH_SDATx_CONFIG_FIELD 6
  246. #define STV090x_OFFST_SDATx_XOR_FIELD 0
  247. #define STV090x_WIDTH_SDATx_XOR_FIELD 1
  248. #define STV090x_SCLTxCFG(__x) (0xf154 + (__x - 1) * 0x4)
  249. #define STV090x_SCLT1CFG STV090x_SCLTxCFG(1)
  250. #define STV090x_SCLT2CFG STV090x_SCLTxCFG(2)
  251. #define STV090x_OFFST_SCLTx_OPD_FIELD 7
  252. #define STV090x_WIDTH_SCLTx_OPD_FIELD 1
  253. #define STV090x_OFFST_SCLTx_CONFIG_FIELD 1
  254. #define STV090x_WIDTH_SCLTx_CONFIG_FIELD 6
  255. #define STV090x_OFFST_SCLTx_XOR_FIELD 0
  256. #define STV090x_WIDTH_SCLTx_XOR_FIELD 1
  257. #define STV090x_DISEQCOxCFG(__x) (0xf155 + (__x - 1) * 0x4)
  258. #define STV090x_DISEQCO1CFG STV090x_DISEQCOxCFG(1)
  259. #define STV090x_DISEQCO2CFG STV090x_DISEQCOxCFG(2)
  260. #define STV090x_OFFST_DISEQCOx_OPD_FIELD 7
  261. #define STV090x_WIDTH_DISEQCOx_OPD_FIELD 1
  262. #define STV090x_OFFST_DISEQCOx_CONFIG_FIELD 1
  263. #define STV090x_WIDTH_DISEQCOx_CONFIG_FIELD 6
  264. #define STV090x_OFFST_DISEQCOx_XOR_FIELD 0
  265. #define STV090x_WIDTH_DISEQCOx_XOR_FIELD 1
  266. #define STV090x_CLKOUT27CFG 0xf15a
  267. #define STV090x_OFFST_CLKOUT27_OPD_FIELD 7
  268. #define STV090x_WIDTH_CLKOUT27_OPD_FIELD 1
  269. #define STV090x_OFFST_CLKOUT27_CONFIG_FIELD 1
  270. #define STV090x_WIDTH_CLKOUT27_CONFIG_FIELD 6
  271. #define STV090x_OFFST_CLKOUT27_XOR_FIELD 0
  272. #define STV090x_WIDTH_CLKOUT27_XOR_FIELD 1
  273. #define STV090x_ERRORxCFG(__x) (0xf15b + (__x - 1) * 0x5)
  274. #define STV090x_ERROR1CFG STV090x_ERRORxCFG(1)
  275. #define STV090x_ERROR2CFG STV090x_ERRORxCFG(2)
  276. #define STV090x_ERROR3CFG STV090x_ERRORxCFG(3)
  277. #define STV090x_OFFST_ERRORx_OPD_FIELD 7
  278. #define STV090x_WIDTH_ERRORx_OPD_FIELD 1
  279. #define STV090x_OFFST_ERRORx_CONFIG_FIELD 1
  280. #define STV090x_WIDTH_ERRORx_CONFIG_FIELD 6
  281. #define STV090x_OFFST_ERRORx_XOR_FIELD 0
  282. #define STV090x_WIDTH_ERRORx_XOR_FIELD 1
  283. #define STV090x_DPNxCFG(__x) (0xf15c + (__x - 1) * 0x5)
  284. #define STV090x_DPN1CFG STV090x_DPNxCFG(1)
  285. #define STV090x_DPN2CFG STV090x_DPNxCFG(2)
  286. #define STV090x_DPN3CFG STV090x_DPNxCFG(3)
  287. #define STV090x_OFFST_DPNx_OPD_FIELD 7
  288. #define STV090x_WIDTH_DPNx_OPD_FIELD 1
  289. #define STV090x_OFFST_DPNx_CONFIG_FIELD 1
  290. #define STV090x_WIDTH_DPNx_CONFIG_FIELD 6
  291. #define STV090x_OFFST_DPNx_XOR_FIELD 0
  292. #define STV090x_WIDTH_DPNx_XOR_FIELD 1
  293. #define STV090x_STROUTxCFG(__x) (0xf15d + (__x - 1) * 0x5)
  294. #define STV090x_STROUT1CFG STV090x_STROUTxCFG(1)
  295. #define STV090x_STROUT2CFG STV090x_STROUTxCFG(2)
  296. #define STV090x_STROUT3CFG STV090x_STROUTxCFG(3)
  297. #define STV090x_OFFST_STROUTx_OPD_FIELD 7
  298. #define STV090x_WIDTH_STROUTx_OPD_FIELD 1
  299. #define STV090x_OFFST_STROUTx_CONFIG_FIELD 1
  300. #define STV090x_WIDTH_STROUTx_CONFIG_FIELD 6
  301. #define STV090x_OFFST_STROUTx_XOR_FIELD 0
  302. #define STV090x_WIDTH_STROUTx_XOR_FIELD 1
  303. #define STV090x_CLKOUTxCFG(__x) (0xf15e + (__x - 1) * 0x5)
  304. #define STV090x_CLKOUT1CFG STV090x_CLKOUTxCFG(1)
  305. #define STV090x_CLKOUT2CFG STV090x_CLKOUTxCFG(2)
  306. #define STV090x_CLKOUT3CFG STV090x_CLKOUTxCFG(3)
  307. #define STV090x_OFFST_CLKOUTx_OPD_FIELD 7
  308. #define STV090x_WIDTH_CLKOUTx_OPD_FIELD 1
  309. #define STV090x_OFFST_CLKOUTx_CONFIG_FIELD 1
  310. #define STV090x_WIDTH_CLKOUTx_CONFIG_FIELD 6
  311. #define STV090x_OFFST_CLKOUTx_XOR_FIELD 0
  312. #define STV090x_WIDTH_CLKOUTx_XOR_FIELD 1
  313. #define STV090x_DATAxCFG(__x) (0xf15f + (__x - 71) * 0x5)
  314. #define STV090x_DATA71CFG STV090x_DATAxCFG(71)
  315. #define STV090x_DATA72CFG STV090x_DATAxCFG(72)
  316. #define STV090x_DATA73CFG STV090x_DATAxCFG(73)
  317. #define STV090x_OFFST_DATAx_OPD_FIELD 7
  318. #define STV090x_WIDTH_DATAx_OPD_FIELD 1
  319. #define STV090x_OFFST_DATAx_CONFIG_FIELD 1
  320. #define STV090x_WIDTH_DATAx_CONFIG_FIELD 6
  321. #define STV090x_OFFST_DATAx_XOR_FIELD 0
  322. #define STV090x_WIDTH_DATAx_XOR_FIELD 1
  323. #define STV090x_NCOARSE 0xf1b3
  324. #define STV090x_OFFST_M_DIV_FIELD 0
  325. #define STV090x_WIDTH_M_DIV_FIELD 8
  326. #define STV090x_SYNTCTRL 0xf1b6
  327. #define STV090x_OFFST_STANDBY_FIELD 7
  328. #define STV090x_WIDTH_STANDBY_FIELD 1
  329. #define STV090x_OFFST_BYPASSPLLCORE_FIELD 6
  330. #define STV090x_WIDTH_BYPASSPLLCORE_FIELD 1
  331. #define STV090x_OFFST_SELX1RATIO_FIELD 5
  332. #define STV090x_WIDTH_SELX1RATIO_FIELD 1
  333. #define STV090x_OFFST_STOP_PLL_FIELD 3
  334. #define STV090x_WIDTH_STOP_PLL_FIELD 1
  335. #define STV090x_OFFST_BYPASSPLLFSK_FIELD 2
  336. #define STV090x_WIDTH_BYPASSPLLFSK_FIELD 1
  337. #define STV090x_OFFST_SELOSCI_FIELD 1
  338. #define STV090x_WIDTH_SELOSCI_FIELD 1
  339. #define STV090x_OFFST_BYPASSPLLADC_FIELD 0
  340. #define STV090x_WIDTH_BYPASSPLLADC_FIELD 1
  341. #define STV090x_FILTCTRL 0xf1b7
  342. #define STV090x_OFFST_INV_CLK135_FIELD 7
  343. #define STV090x_WIDTH_INV_CLK135_FIELD 1
  344. #define STV090x_OFFST_SEL_FSKCKDIV_FIELD 2
  345. #define STV090x_WIDTH_SEL_FSKCKDIV_FIELD 1
  346. #define STV090x_OFFST_INV_CLKFSK_FIELD 1
  347. #define STV090x_WIDTH_INV_CLKFSK_FIELD 1
  348. #define STV090x_OFFST_BYPASS_APPLI_FIELD 0
  349. #define STV090x_WIDTH_BYPASS_APPLI_FIELD 1
  350. #define STV090x_PLLSTAT 0xf1b8
  351. #define STV090x_OFFST_PLLLOCK_FIELD 0
  352. #define STV090x_WIDTH_PLLLOCK_FIELD 1
  353. #define STV090x_STOPCLK1 0xf1c2
  354. #define STV090x_OFFST_STOP_CLKPKDT2_FIELD 6
  355. #define STV090x_WIDTH_STOP_CLKPKDT2_FIELD 1
  356. #define STV090x_OFFST_STOP_CLKPKDT1_FIELD 5
  357. #define STV090x_WIDTH_STOP_CLKPKDT1_FIELD 1
  358. #define STV090x_OFFST_STOP_CLKFEC_FIELD 4
  359. #define STV090x_WIDTH_STOP_CLKFEC_FIELD 1
  360. #define STV090x_OFFST_STOP_CLKADCI2_FIELD 3
  361. #define STV090x_WIDTH_STOP_CLKADCI2_FIELD 1
  362. #define STV090x_OFFST_INV_CLKADCI2_FIELD 2
  363. #define STV090x_WIDTH_INV_CLKADCI2_FIELD 1
  364. #define STV090x_OFFST_STOP_CLKADCI1_FIELD 1
  365. #define STV090x_WIDTH_STOP_CLKADCI1_FIELD 1
  366. #define STV090x_OFFST_INV_CLKADCI1_FIELD 0
  367. #define STV090x_WIDTH_INV_CLKADCI1_FIELD 1
  368. #define STV090x_STOPCLK2 0xf1c3
  369. #define STV090x_OFFST_STOP_CLKSAMP2_FIELD 4
  370. #define STV090x_WIDTH_STOP_CLKSAMP2_FIELD 1
  371. #define STV090x_OFFST_STOP_CLKSAMP1_FIELD 3
  372. #define STV090x_WIDTH_STOP_CLKSAMP1_FIELD 1
  373. #define STV090x_OFFST_STOP_CLKVIT2_FIELD 2
  374. #define STV090x_WIDTH_STOP_CLKVIT2_FIELD 1
  375. #define STV090x_OFFST_STOP_CLKVIT1_FIELD 1
  376. #define STV090x_WIDTH_STOP_CLKVIT1_FIELD 1
  377. #define STV090x_OFFST_STOP_CLKTS_FIELD 0
  378. #define STV090x_WIDTH_STOP_CLKTS_FIELD 1
  379. #define STV090x_TSTTNR0 0xf1df
  380. #define STV090x_OFFST_SEL_FSK_FIELD 7
  381. #define STV090x_WIDTH_SEL_FSK_FIELD 1
  382. #define STV090x_OFFST_FSK_PON_FIELD 2
  383. #define STV090x_WIDTH_FSK_PON_FIELD 1
  384. #define STV090x_TSTTNR1 0xf1e0
  385. #define STV090x_OFFST_ADC1_PON_FIELD 1
  386. #define STV090x_WIDTH_ADC1_PON_FIELD 1
  387. #define STV090x_OFFST_ADC1_INMODE_FIELD 0
  388. #define STV090x_WIDTH_ADC1_INMODE_FIELD 1
  389. #define STV090x_TSTTNR2 0xf1e1
  390. #define STV090x_OFFST_DISEQC1_PON_FIELD 5
  391. #define STV090x_WIDTH_DISEQC1_PON_FIELD 1
  392. #define STV090x_TSTTNR3 0xf1e2
  393. #define STV090x_OFFST_ADC2_PON_FIELD 1
  394. #define STV090x_WIDTH_ADC2_PON_FIELD 1
  395. #define STV090x_OFFST_ADC2_INMODE_FIELD 0
  396. #define STV090x_WIDTH_ADC2_INMODE_FIELD 1
  397. #define STV090x_TSTTNR4 0xf1e3
  398. #define STV090x_OFFST_DISEQC2_PON_FIELD 5
  399. #define STV090x_WIDTH_DISEQC2_PON_FIELD 1
  400. #define STV090x_FSKTFC2 0xf170
  401. #define STV090x_OFFST_FSKT_KMOD_FIELD 2
  402. #define STV090x_WIDTH_FSKT_KMOD_FIELD 6
  403. #define STV090x_OFFST_FSKT_CAR_FIELD 0
  404. #define STV090x_WIDTH_FSKT_CAR_FIELD 2
  405. #define STV090x_FSKTFC1 0xf171
  406. #define STV090x_OFFST_FSKTC1_CAR_FIELD 0
  407. #define STV090x_WIDTH_FSKTC1_CAR_FIELD 8
  408. #define STV090x_FSKTFC0 0xf172
  409. #define STV090x_OFFST_FSKTC0_CAR_FIELD 0
  410. #define STV090x_WIDTH_FSKTC0_CAR_FIELD 8
  411. #define STV090x_FSKTDELTAF1 0xf173
  412. #define STV090x_OFFST_FSKTF1_DELTAF_FIELD 0
  413. #define STV090x_WIDTH_FSKTF1_DELTAF_FIELD 4
  414. #define STV090x_FSKTDELTAF0 0xf174
  415. #define STV090x_OFFST_FSKTF0_DELTAF_FIELD 0
  416. #define STV090x_WIDTH_FSKTF0_DELTAF_FIELD 8
  417. #define STV090x_FSKTCTRL 0xf175
  418. #define STV090x_OFFST_FSKT_EN_SGN_FIELD 6
  419. #define STV090x_WIDTH_FSKT_EN_SGN_FIELD 1
  420. #define STV090x_OFFST_FSKT_MOD_SGN_FIELD 5
  421. #define STV090x_WIDTH_FSKT_MOD_SGN_FIELD 1
  422. #define STV090x_OFFST_FSKT_MOD_EN_FIELD 2
  423. #define STV090x_WIDTH_FSKT_MOD_EN_FIELD 3
  424. #define STV090x_OFFST_FSKT_DACMODE_FIELD 0
  425. #define STV090x_WIDTH_FSKT_DACMODE_FIELD 2
  426. #define STV090x_FSKRFC2 0xf176
  427. #define STV090x_OFFST_FSKRC2_DETSGN_FIELD 6
  428. #define STV090x_WIDTH_FSKRC2_DETSGN_FIELD 1
  429. #define STV090x_OFFST_FSKRC2_OUTSGN_FIELD 5
  430. #define STV090x_WIDTH_FSKRC2_OUTSGN_FIELD 1
  431. #define STV090x_OFFST_FSKRC2_KAGC_FIELD 2
  432. #define STV090x_WIDTH_FSKRC2_KAGC_FIELD 3
  433. #define STV090x_OFFST_FSKRC2_CAR_FIELD 0
  434. #define STV090x_WIDTH_FSKRC2_CAR_FIELD 2
  435. #define STV090x_FSKRFC1 0xf177
  436. #define STV090x_OFFST_FSKRC1_CAR_FIELD 0
  437. #define STV090x_WIDTH_FSKRC1_CAR_FIELD 8
  438. #define STV090x_FSKRFC0 0xf178
  439. #define STV090x_OFFST_FSKRC0_CAR_FIELD 0
  440. #define STV090x_WIDTH_FSKRC0_CAR_FIELD 8
  441. #define STV090x_FSKRK1 0xf179
  442. #define STV090x_OFFST_FSKR_K1_EXP_FIELD 5
  443. #define STV090x_WIDTH_FSKR_K1_EXP_FIELD 3
  444. #define STV090x_OFFST_FSKR_K1_MANT_FIELD 0
  445. #define STV090x_WIDTH_FSKR_K1_MANT_FIELD 5
  446. #define STV090x_FSKRK2 0xf17a
  447. #define STV090x_OFFST_FSKR_K2_EXP_FIELD 5
  448. #define STV090x_WIDTH_FSKR_K2_EXP_FIELD 3
  449. #define STV090x_OFFST_FSKR_K2_MANT_FIELD 0
  450. #define STV090x_WIDTH_FSKR_K2_MANT_FIELD 5
  451. #define STV090x_FSKRAGCR 0xf17b
  452. #define STV090x_OFFST_FSKR_OUTCTL_FIELD 6
  453. #define STV090x_WIDTH_FSKR_OUTCTL_FIELD 2
  454. #define STV090x_OFFST_FSKR_AGC_REF_FIELD 0
  455. #define STV090x_WIDTH_FSKR_AGC_REF_FIELD 6
  456. #define STV090x_FSKRAGC 0xf17c
  457. #define STV090x_OFFST_FSKR_AGC_ACCU_FIELD 0
  458. #define STV090x_WIDTH_FSKR_AGC_ACCU_FIELD 8
  459. #define STV090x_FSKRALPHA 0xf17d
  460. #define STV090x_OFFST_FSKR_ALPHA_EXP_FIELD 2
  461. #define STV090x_WIDTH_FSKR_ALPHA_EXP_FIELD 3
  462. #define STV090x_OFFST_FSKR_ALPHA_M_FIELD 0
  463. #define STV090x_WIDTH_FSKR_ALPHA_M_FIELD 2
  464. #define STV090x_FSKRPLTH1 0xf17e
  465. #define STV090x_OFFST_FSKR_BETA_FIELD 4
  466. #define STV090x_WIDTH_FSKR_BETA_FIELD 4
  467. #define STV090x_OFFST_FSKR_PLL_TRESH1_FIELD 0
  468. #define STV090x_WIDTH_FSKR_PLL_TRESH1_FIELD 4
  469. #define STV090x_FSKRPLTH0 0xf17f
  470. #define STV090x_OFFST_FSKR_PLL_TRESH0_FIELD 0
  471. #define STV090x_WIDTH_FSKR_PLL_TRESH0_FIELD 8
  472. #define STV090x_FSKRDF1 0xf180
  473. #define STV090x_OFFST_FSKR_DELTAF1_FIELD 0
  474. #define STV090x_WIDTH_FSKR_DELTAF1_FIELD 5
  475. #define STV090x_FSKRDF0 0xf181
  476. #define STV090x_OFFST_FSKR_DELTAF0_FIELD 0
  477. #define STV090x_WIDTH_FSKR_DELTAF0_FIELD 8
  478. #define STV090x_FSKRSTEPP 0xf182
  479. #define STV090x_OFFST_FSKR_STEP_PLUS_FIELD 0
  480. #define STV090x_WIDTH_FSKR_STEP_PLUS_FIELD 8
  481. #define STV090x_FSKRSTEPM 0xf183
  482. #define STV090x_OFFST_FSKR_STEP_MINUS_FIELD 0
  483. #define STV090x_WIDTH_FSKR_STEP_MINUS_FIELD 8
  484. #define STV090x_FSKRDET1 0xf184
  485. #define STV090x_OFFST_FSKR_CARDET1_ACCU_FIELD 0
  486. #define STV090x_WIDTH_FSKR_CARDET1_ACCU_FIELD 4
  487. #define STV090x_FSKRDET0 0xf185
  488. #define STV090x_OFFST_FSKR_CARDET0_ACCU_FIELD 0
  489. #define STV090x_WIDTH_FSKR_CARDET0_ACCU_FIELD 8
  490. #define STV090x_FSKRDTH1 0xf186
  491. #define STV090x_OFFST_FSKR_CARLOSS_THRESH1_FIELD 4
  492. #define STV090x_WIDTH_FSKR_CARLOSS_THRESH1_FIELD 4
  493. #define STV090x_OFFST_FSKR_CARDET_THRESH1_FIELD 0
  494. #define STV090x_WIDTH_FSKR_CARDET_THRESH1_FIELD 4
  495. #define STV090x_FSKRDTH0 0xf187
  496. #define STV090x_OFFST_FSKR_CARDET_THRESH0_FIELD 0
  497. #define STV090x_WIDTH_FSKR_CARDET_THRESH0_FIELD 8
  498. #define STV090x_FSKRLOSS 0xf188
  499. #define STV090x_OFFST_FSKR_CARLOSS_THRESH_FIELD 0
  500. #define STV090x_WIDTH_FSKR_CARLOSS_THRESH_FIELD 8
  501. #define STV090x_Px_DISTXCTL(__x) (0xF1A0 - (__x - 1) * 0x10)
  502. #define STV090x_P1_DISTXCTL STV090x_Px_DISTXCTL(1)
  503. #define STV090x_P2_DISTXCTL STV090x_Px_DISTXCTL(2)
  504. #define STV090x_OFFST_Px_TIM_OFF_FIELD 7
  505. #define STV090x_WIDTH_Px_TIM_OFF_FIELD 1
  506. #define STV090x_OFFST_Px_DISEQC_RESET_FIELD 6
  507. #define STV090x_WIDTH_Px_DISEQC_RESET_FIELD 1
  508. #define STV090x_OFFST_Px_TIM_CMD_FIELD 4
  509. #define STV090x_WIDTH_Px_TIM_CMD_FIELD 2
  510. #define STV090x_OFFST_Px_DIS_PRECHARGE_FIELD 3
  511. #define STV090x_WIDTH_Px_DIS_PRECHARGE_FIELD 1
  512. #define STV090x_OFFST_Px_DISTX_MODE_FIELD 0
  513. #define STV090x_WIDTH_Px_DISTX_MODE_FIELD 3
  514. #define STV090x_Px_DISRXCTL(__x) (0xf1a1 - (__x - 1) * 0x10)
  515. #define STV090x_P1_DISRXCTL STV090x_Px_DISRXCTL(1)
  516. #define STV090x_P2_DISRXCTL STV090x_Px_DISRXCTL(2)
  517. #define STV090x_OFFST_Px_RECEIVER_ON_FIELD 7
  518. #define STV090x_WIDTH_Px_RECEIVER_ON_FIELD 1
  519. #define STV090x_OFFST_Px_IGNO_SHORT22K_FIELD 6
  520. #define STV090x_WIDTH_Px_IGNO_SHORT22K_FIELD 1
  521. #define STV090x_OFFST_Px_ONECHIP_TRX_FIELD 5
  522. #define STV090x_WIDTH_Px_ONECHIP_TRX_FIELD 1
  523. #define STV090x_OFFST_Px_EXT_ENVELOP_FIELD 4
  524. #define STV090x_WIDTH_Px_EXT_ENVELOP_FIELD 1
  525. #define STV090x_OFFST_Px_PIN_SELECT_FIELD 2
  526. #define STV090x_WIDTH_Px_PIN_SELECT_FIELD 2
  527. #define STV090x_OFFST_Px_IRQ_RXEND_FIELD 1
  528. #define STV090x_WIDTH_Px_IRQ_RXEND_FIELD 1
  529. #define STV090x_OFFST_Px_IRQ_4NBYTES_FIELD 0
  530. #define STV090x_WIDTH_Px_IRQ_4NBYTES_FIELD 1
  531. #define STV090x_Px_DISRX_ST0(__x) (0xf1a4 - (__x - 1) * 0x10)
  532. #define STV090x_P1_DISRX_ST0 STV090x_Px_DISRX_ST0(1)
  533. #define STV090x_P2_DISRX_ST0 STV090x_Px_DISRX_ST0(2)
  534. #define STV090x_OFFST_Px_RX_END_FIELD 7
  535. #define STV090x_WIDTH_Px_RX_END_FIELD 1
  536. #define STV090x_OFFST_Px_RX_ACTIVE_FIELD 6
  537. #define STV090x_WIDTH_Px_RX_ACTIVE_FIELD 1
  538. #define STV090x_OFFST_Px_SHORT_22KHZ_FIELD 5
  539. #define STV090x_WIDTH_Px_SHORT_22KHZ_FIELD 1
  540. #define STV090x_OFFST_Px_CONT_TONE_FIELD 4
  541. #define STV090x_WIDTH_Px_CONT_TONE_FIELD 1
  542. #define STV090x_OFFST_Px_FIFO_4BREADY_FIELD 3
  543. #define STV090x_WIDTH_Px_FIFO_4BREADY_FIELD 1
  544. #define STV090x_OFFST_Px_FIFO_EMPTY_FIELD 2
  545. #define STV090x_WIDTH_Px_FIFO_EMPTY_FIELD 1
  546. #define STV090x_OFFST_Px_ABORT_DISRX_FIELD 0
  547. #define STV090x_WIDTH_Px_ABORT_DISRX_FIELD 1
  548. #define STV090x_Px_DISRX_ST1(__x) (0xf1a5 - (__x - 1) * 0x10)
  549. #define STV090x_P1_DISRX_ST1 STV090x_Px_DISRX_ST1(1)
  550. #define STV090x_P2_DISRX_ST1 STV090x_Px_DISRX_ST1(2)
  551. #define STV090x_OFFST_Px_RX_FAIL_FIELD 7
  552. #define STV090x_WIDTH_Px_RX_FAIL_FIELD 1
  553. #define STV090x_OFFST_Px_FIFO_PARITYFAIL_FIELD 6
  554. #define STV090x_WIDTH_Px_FIFO_PARITYFAIL_FIELD 1
  555. #define STV090x_OFFST_Px_RX_NONBYTE_FIELD 5
  556. #define STV090x_WIDTH_Px_RX_NONBYTE_FIELD 1
  557. #define STV090x_OFFST_Px_FIFO_OVERFLOW_FIELD 4
  558. #define STV090x_WIDTH_Px_FIFO_OVERFLOW_FIELD 1
  559. #define STV090x_OFFST_Px_FIFO_BYTENBR_FIELD 0
  560. #define STV090x_WIDTH_Px_FIFO_BYTENBR_FIELD 4
  561. #define STV090x_Px_DISRXDATA(__x) (0xf1a6 - (__x - 1) * 0x10)
  562. #define STV090x_P1_DISRXDATA STV090x_Px_DISRXDATA(1)
  563. #define STV090x_P2_DISRXDATA STV090x_Px_DISRXDATA(2)
  564. #define STV090x_OFFST_Px_DISRX_DATA_FIELD 0
  565. #define STV090x_WIDTH_Px_DISRX_DATA_FIELD 8
  566. #define STV090x_Px_DISTXDATA(__x) (0xf1a7 - (__x - 1) * 0x10)
  567. #define STV090x_P1_DISTXDATA STV090x_Px_DISTXDATA(1)
  568. #define STV090x_P2_DISTXDATA STV090x_Px_DISTXDATA(2)
  569. #define STV090x_OFFST_Px_DISEQC_FIFO_FIELD 0
  570. #define STV090x_WIDTH_Px_DISEQC_FIFO_FIELD 8
  571. #define STV090x_Px_DISTXSTATUS(__x) (0xf1a8 - (__x - 1) * 0x10)
  572. #define STV090x_P1_DISTXSTATUS STV090x_Px_DISTXSTATUS(1)
  573. #define STV090x_P2_DISTXSTATUS STV090x_Px_DISTXSTATUS(2)
  574. #define STV090x_OFFST_Px_TX_FAIL_FIELD 7
  575. #define STV090x_WIDTH_Px_TX_FAIL_FIELD 1
  576. #define STV090x_OFFST_Px_FIFO_FULL_FIELD 6
  577. #define STV090x_WIDTH_Px_FIFO_FULL_FIELD 1
  578. #define STV090x_OFFST_Px_TX_IDLE_FIELD 5
  579. #define STV090x_WIDTH_Px_TX_IDLE_FIELD 1
  580. #define STV090x_OFFST_Px_GAP_BURST_FIELD 4
  581. #define STV090x_WIDTH_Px_GAP_BURST_FIELD 1
  582. #define STV090x_OFFST_Px_TXFIFO_BYTES_FIELD 0
  583. #define STV090x_WIDTH_Px_TXFIFO_BYTES_FIELD 4
  584. #define STV090x_Px_F22TX(__x) (0xf1a9 - (__x - 1) * 0x10)
  585. #define STV090x_P1_F22TX STV090x_Px_F22TX(1)
  586. #define STV090x_P2_F22TX STV090x_Px_F22TX(2)
  587. #define STV090x_OFFST_Px_F22_REG_FIELD 0
  588. #define STV090x_WIDTH_Px_F22_REG_FIELD 8
  589. #define STV090x_Px_F22RX(__x) (0xf1aa - (__x - 1) * 0x10)
  590. #define STV090x_P1_F22RX STV090x_Px_F22RX(1)
  591. #define STV090x_P2_F22RX STV090x_Px_F22RX(2)
  592. #define STV090x_OFFST_Px_F22RX_REG_FIELD 0
  593. #define STV090x_WIDTH_Px_F22RX_REG_FIELD 8
  594. #define STV090x_Px_ACRPRESC(__x) (0xf1ac - (__x - 1) * 0x10)
  595. #define STV090x_P1_ACRPRESC STV090x_Px_ACRPRESC(1)
  596. #define STV090x_P2_ACRPRESC STV090x_Px_ACRPRESC(2)
  597. #define STV090x_OFFST_Px_ACR_PRESC_FIELD 0
  598. #define STV090x_WIDTH_Px_ACR_PRESC_FIELD 3
  599. #define STV090x_Px_ACRDIV(__x) (0xf1ad - (__x - 1) * 0x10)
  600. #define STV090x_P1_ACRDIV STV090x_Px_ACRDIV(1)
  601. #define STV090x_P2_ACRDIV STV090x_Px_ACRDIV(2)
  602. #define STV090x_OFFST_Px_ACR_DIV_FIELD 0
  603. #define STV090x_WIDTH_Px_ACR_DIV_FIELD 8
  604. #define STV090x_Px_IQCONST(__x) (0xF400 - (__x - 1) * 0x200)
  605. #define STV090x_P1_IQCONST STV090x_Px_IQCONST(1)
  606. #define STV090x_P2_IQCONST STV090x_Px_IQCONST(2)
  607. #define STV090x_OFFST_Px_CONSTEL_SELECT_FIELD 5
  608. #define STV090x_WIDTH_Px_CONSTEL_SELECT_FIELD 2
  609. #define STV090x_Px_NOSCFG(__x) (0xF401 - (__x - 1) * 0x200)
  610. #define STV090x_P1_NOSCFG STV090x_Px_NOSCFG(1)
  611. #define STV090x_P2_NOSCFG STV090x_Px_NOSCFG(2)
  612. #define STV090x_OFFST_Px_NOSPLH_BETA_FIELD 3
  613. #define STV090x_WIDTH_Px_NOSPLH_BETA_FIELD 2
  614. #define STV090x_OFFST_Px_NOSDATA_BETA_FIELD 0
  615. #define STV090x_WIDTH_Px_NOSDATA_BETA_FIELD 3
  616. #define STV090x_Px_ISYMB(__x) (0xF402 - (__x - 1) * 0x200)
  617. #define STV090x_P1_ISYMB STV090x_Px_ISYMB(1)
  618. #define STV090x_P2_ISYMB STV090x_Px_ISYMB(2)
  619. #define STV090x_OFFST_Px_I_SYMBOL_FIELD 0
  620. #define STV090x_WIDTH_Px_I_SYMBOL_FIELD 8
  621. #define STV090x_Px_QSYMB(__x) (0xF403 - (__x - 1) * 0x200)
  622. #define STV090x_P1_QSYMB STV090x_Px_QSYMB(1)
  623. #define STV090x_P2_QSYMB STV090x_Px_QSYMB(2)
  624. #define STV090x_OFFST_Px_Q_SYMBOL_FIELD 0
  625. #define STV090x_WIDTH_Px_Q_SYMBOL_FIELD 8
  626. #define STV090x_Px_AGC1CFG(__x) (0xF404 - (__x - 1) * 0x200)
  627. #define STV090x_P1_AGC1CFG STV090x_Px_AGC1CFG(1)
  628. #define STV090x_P2_AGC1CFG STV090x_Px_AGC1CFG(2)
  629. #define STV090x_OFFST_Px_DC_FROZEN_FIELD 7
  630. #define STV090x_WIDTH_Px_DC_FROZEN_FIELD 1
  631. #define STV090x_OFFST_Px_DC_CORRECT_FIELD 6
  632. #define STV090x_WIDTH_Px_DC_CORRECT_FIELD 1
  633. #define STV090x_OFFST_Px_AMM_FROZEN_FIELD 5
  634. #define STV090x_WIDTH_Px_AMM_FROZEN_FIELD 1
  635. #define STV090x_OFFST_Px_AMM_CORRECT_FIELD 4
  636. #define STV090x_WIDTH_Px_AMM_CORRECT_FIELD 1
  637. #define STV090x_OFFST_Px_QUAD_FROZEN_FIELD 3
  638. #define STV090x_WIDTH_Px_QUAD_FROZEN_FIELD 1
  639. #define STV090x_OFFST_Px_QUAD_CORRECT_FIELD 2
  640. #define STV090x_WIDTH_Px_QUAD_CORRECT_FIELD 1
  641. #define STV090x_Px_AGC1CN(__x) (0xF406 - (__x - 1) * 0x200)
  642. #define STV090x_P1_AGC1CN STV090x_Px_AGC1CN(1)
  643. #define STV090x_P2_AGC1CN STV090x_Px_AGC1CN(2)
  644. #define STV090x_WIDTH_Px_AGC1_LOCKED_FIELD 7
  645. #define STV090x_OFFST_Px_AGC1_LOCKED_FIELD 1
  646. #define STV090x_OFFST_Px_AGC1_MINPOWER_FIELD 4
  647. #define STV090x_WIDTH_Px_AGC1_MINPOWER_FIELD 1
  648. #define STV090x_OFFST_Px_AGCOUT_FAST_FIELD 3
  649. #define STV090x_WIDTH_Px_AGCOUT_FAST_FIELD 1
  650. #define STV090x_OFFST_Px_AGCIQ_BETA_FIELD 0
  651. #define STV090x_WIDTH_Px_AGCIQ_BETA_FIELD 3
  652. #define STV090x_Px_AGC1REF(__x) (0xF407 - (__x - 1) * 0x200)
  653. #define STV090x_P1_AGC1REF STV090x_Px_AGC1REF(1)
  654. #define STV090x_P2_AGC1REF STV090x_Px_AGC1REF(2)
  655. #define STV090x_OFFST_Px_AGCIQ_REF_FIELD 0
  656. #define STV090x_WIDTH_Px_AGCIQ_REF_FIELD 8
  657. #define STV090x_Px_IDCCOMP(__x) (0xF408 - (__x - 1) * 0x200)
  658. #define STV090x_P1_IDCCOMP STV090x_Px_IDCCOMP(1)
  659. #define STV090x_P2_IDCCOMP STV090x_Px_IDCCOMP(2)
  660. #define STV090x_OFFST_Px_IAVERAGE_ADJ_FIELD 0
  661. #define STV090x_WIDTH_Px_IAVERAGE_ADJ_FIELD 8
  662. #define STV090x_Px_QDCCOMP(__x) (0xF409 - (__x - 1) * 0x200)
  663. #define STV090x_P1_QDCCOMP STV090x_Px_QDCCOMP(1)
  664. #define STV090x_P2_QDCCOMP STV090x_Px_QDCCOMP(2)
  665. #define STV090x_OFFST_Px_QAVERAGE_ADJ_FIELD 0
  666. #define STV090x_WIDTH_Px_QAVERAGE_ADJ_FIELD 8
  667. #define STV090x_Px_POWERI(__x) (0xF40A - (__x - 1) * 0x200)
  668. #define STV090x_P1_POWERI STV090x_Px_POWERI(1)
  669. #define STV090x_P2_POWERI STV090x_Px_POWERI(2)
  670. #define STV090x_OFFST_Px_POWER_I_FIELD 0
  671. #define STV090x_WIDTH_Px_POWER_I_FIELD 8
  672. #define STV090x_Px_POWERQ(__x) (0xF40B - (__x - 1) * 0x200)
  673. #define STV090x_P1_POWERQ STV090x_Px_POWERQ(1)
  674. #define STV090x_P2_POWERQ STV090x_Px_POWERQ(2)
  675. #define STV090x_OFFST_Px_POWER_Q_FIELD 0
  676. #define STV090x_WIDTH_Px_POWER_Q_FIELD 8
  677. #define STV090x_Px_AGC1AMM(__x) (0xF40C - (__x - 1) * 0x200)
  678. #define STV090x_P1_AGC1AMM STV090x_Px_AGC1AMM(1)
  679. #define STV090x_P2_AGC1AMM STV090x_Px_AGC1AMM(2)
  680. #define STV090x_OFFST_Px_AMM_VALUE_FIELD 0
  681. #define STV090x_WIDTH_Px_AMM_VALUE_FIELD 8
  682. #define STV090x_Px_AGC1QUAD(__x) (0xF40D - (__x - 1) * 0x200)
  683. #define STV090x_P1_AGC1QUAD STV090x_Px_AGC1QUAD(1)
  684. #define STV090x_P2_AGC1QUAD STV090x_Px_AGC1QUAD(2)
  685. #define STV090x_OFFST_Px_QUAD_VALUE_FIELD 0
  686. #define STV090x_WIDTH_Px_QUAD_VALUE_FIELD 8
  687. #define STV090x_Px_AGCIQINy(__x, __y) (0xF40F - (__x-1) * 0x200 - __y * 0x1)
  688. #define STV090x_P1_AGCIQIN0 STV090x_Px_AGCIQINy(1, 0)
  689. #define STV090x_P1_AGCIQIN1 STV090x_Px_AGCIQINy(1, 1)
  690. #define STV090x_P2_AGCIQIN0 STV090x_Px_AGCIQINy(2, 0)
  691. #define STV090x_P2_AGCIQIN1 STV090x_Px_AGCIQINy(2, 1)
  692. #define STV090x_OFFST_Px_AGCIQ_VALUE_FIELD 0
  693. #define STV090x_WIDTH_Px_AGCIQ_VALUE_FIELD 8
  694. #define STV090x_Px_DEMOD(__x) (0xF410 - (__x - 1) * 0x200)
  695. #define STV090x_P1_DEMOD STV090x_Px_DEMOD(1)
  696. #define STV090x_P2_DEMOD STV090x_Px_DEMOD(2)
  697. #define STV090x_OFFST_Px_MANUAL_S2ROLLOFF_FIELD 7
  698. #define STV090x_WIDTH_Px_MANUAL_S2ROLLOFF_FIELD 1
  699. #define STV090x_OFFST_Px_DEMOD_STOP_FIELD 6
  700. #define STV090x_WIDTH_Px_DEMOD_STOP_FIELD 1
  701. #define STV090x_OFFST_Px_SPECINV_CONTROL_FIELD 4
  702. #define STV090x_WIDTH_Px_SPECINV_CONTROL_FIELD 2
  703. #define STV090x_OFFST_Px_FORCE_ENASAMP_FIELD 3
  704. #define STV090x_WIDTH_Px_FORCE_ENASAMP_FIELD 1
  705. #define STV090x_OFFST_Px_MANUAL_SXROLLOFF_FIELD 2
  706. #define STV090x_WIDTH_Px_MANUAL_SXROLLOFF_FIELD 1
  707. #define STV090x_OFFST_Px_ROLLOFF_CONTROL_FIELD 0
  708. #define STV090x_WIDTH_Px_ROLLOFF_CONTROL_FIELD 2
  709. #define STV090x_Px_DMDMODCOD(__x) (0xF411 - (__x - 1) * 0x200)
  710. #define STV090x_P1_DMDMODCOD STV090x_Px_DMDMODCOD(1)
  711. #define STV090x_P2_DMDMODCOD STV090x_Px_DMDMODCOD(2)
  712. #define STV090x_OFFST_Px_MANUAL_MODCOD_FIELD 7
  713. #define STV090x_WIDTH_Px_MANUAL_MODCOD_FIELD 1
  714. #define STV090x_OFFST_Px_DEMOD_MODCOD_FIELD 2
  715. #define STV090x_WIDTH_Px_DEMOD_MODCOD_FIELD 5
  716. #define STV090x_OFFST_Px_DEMOD_TYPE_FIELD 0
  717. #define STV090x_WIDTH_Px_DEMOD_TYPE_FIELD 2
  718. #define STV090x_Px_DSTATUS(__x) (0xF412 - (__x - 1) * 0x200)
  719. #define STV090x_P1_DSTATUS STV090x_Px_DSTATUS(1)
  720. #define STV090x_P2_DSTATUS STV090x_Px_DSTATUS(2)
  721. #define STV090x_OFFST_Px_CAR_LOCK_FIELD 7
  722. #define STV090x_WIDTH_Px_CAR_LOCK_FIELD 1
  723. #define STV090x_OFFST_Px_TMGLOCK_QUALITY_FIELD 5
  724. #define STV090x_WIDTH_Px_TMGLOCK_QUALITY_FIELD 2
  725. #define STV090x_OFFST_Px_LOCK_DEFINITIF_FIELD 3
  726. #define STV090x_WIDTH_Px_LOCK_DEFINITIF_FIELD 1
  727. #define STV090x_Px_DSTATUS2(__x) (0xF413 - (__x - 1) * 0x200)
  728. #define STV090x_P1_DSTATUS2 STV090x_Px_DSTATUS2(1)
  729. #define STV090x_P2_DSTATUS2 STV090x_Px_DSTATUS2(2)
  730. #define STV090x_OFFST_Px_DEMOD_DELOCK_FIELD 7
  731. #define STV090x_WIDTH_Px_DEMOD_DELOCK_FIELD 1
  732. #define STV090x_OFFST_Px_AGC1_NOSIGNALACK_FIELD 3
  733. #define STV090x_WIDTH_Px_AGC1_NOSIGNALACK_FIELD 1
  734. #define STV090x_OFFST_Px_AGC2_OVERFLOW_FIELD 2
  735. #define STV090x_WIDTH_Px_AGC2_OVERFLOW_FIELD 1
  736. #define STV090x_OFFST_Px_CFR_OVERFLOW_FIELD 1
  737. #define STV090x_WIDTH_Px_CFR_OVERFLOW_FIELD 1
  738. #define STV090x_OFFST_Px_GAMMA_OVERUNDER_FIELD 0
  739. #define STV090x_WIDTH_Px_GAMMA_OVERUNDER_FIELD 1
  740. #define STV090x_Px_DMDCFGMD(__x) (0xF414 - (__x - 1) * 0x200)
  741. #define STV090x_P1_DMDCFGMD STV090x_Px_DMDCFGMD(1)
  742. #define STV090x_P2_DMDCFGMD STV090x_Px_DMDCFGMD(2)
  743. #define STV090x_OFFST_Px_DVBS2_ENABLE_FIELD 7
  744. #define STV090x_WIDTH_Px_DVBS2_ENABLE_FIELD 1
  745. #define STV090x_OFFST_Px_DVBS1_ENABLE_FIELD 6
  746. #define STV090x_WIDTH_Px_DVBS1_ENABLE_FIELD 1
  747. #define STV090x_OFFST_Px_SCAN_ENABLE_FIELD 4
  748. #define STV090x_WIDTH_Px_SCAN_ENABLE_FIELD 1
  749. #define STV090x_OFFST_Px_CFR_AUTOSCAN_FIELD 3
  750. #define STV090x_WIDTH_Px_CFR_AUTOSCAN_FIELD 1
  751. #define STV090x_OFFST_Px_NOFORCE_RELOCK_FIELD 2
  752. #define STV090x_WIDTH_Px_NOFORCE_RELOCK_FIELD 1
  753. #define STV090x_OFFST_Px_TUN_RNG_FIELD 0
  754. #define STV090x_WIDTH_Px_TUN_RNG_FIELD 2
  755. #define STV090x_Px_DMDCFG2(__x) (0xF415 - (__x - 1) * 0x200)
  756. #define STV090x_P1_DMDCFG2 STV090x_Px_DMDCFG2(1)
  757. #define STV090x_P2_DMDCFG2 STV090x_Px_DMDCFG2(2)
  758. #define STV090x_OFFST_Px_S1S2_SEQUENTIAL_FIELD 6
  759. #define STV090x_WIDTH_Px_S1S2_SEQUENTIAL_FIELD 1
  760. #define STV090x_Px_DMDISTATE(__x) (0xF416 - (__x - 1) * 0x200)
  761. #define STV090x_P1_DMDISTATE STV090x_Px_DMDISTATE(1)
  762. #define STV090x_P2_DMDISTATE STV090x_Px_DMDISTATE(2)
  763. #define STV090x_OFFST_Px_I2C_DEMOD_MODE_FIELD 0
  764. #define STV090x_WIDTH_Px_I2C_DEMOD_MODE_FIELD 5
  765. #define STV090x_Px_DMDTOM(__x) (0xF417 - (__x - 1) * 0x200) /* check */
  766. #define STV090x_P1_DMDTOM STV090x_Px_DMDTOM(1)
  767. #define STV090x_P2_DMDTOM STV090x_Px_DMDTOM(2)
  768. #define STV090x_Px_DMDSTATE(__x) (0xF41B - (__x - 1) * 0x200)
  769. #define STV090x_P1_DMDSTATE STV090x_Px_DMDSTATE(1)
  770. #define STV090x_P2_DMDSTATE STV090x_Px_DMDSTATE(2)
  771. #define STV090x_OFFST_Px_HEADER_MODE_FIELD 5
  772. #define STV090x_WIDTH_Px_HEADER_MODE_FIELD 2
  773. #define STV090x_Px_DMDFLYW(__x) (0xF41C - (__x - 1) * 0x200)
  774. #define STV090x_P1_DMDFLYW STV090x_Px_DMDFLYW(1)
  775. #define STV090x_P2_DMDFLYW STV090x_Px_DMDFLYW(2)
  776. #define STV090x_OFFST_Px_I2C_IRQVAL_FIELD 4
  777. #define STV090x_WIDTH_Px_I2C_IRQVAL_FIELD 4
  778. #define STV090x_OFFST_Px_FLYWHEEL_CPT_FIELD 0
  779. #define STV090x_WIDTH_Px_FLYWHEEL_CPT_FIELD 4
  780. #define STV090x_Px_DSTATUS3(__x) (0xF41D - (__x - 1) * 0x200)
  781. #define STV090x_P1_DSTATUS3 STV090x_Px_DSTATUS3(1)
  782. #define STV090x_P2_DSTATUS3 STV090x_Px_DSTATUS3(2)
  783. #define STV090x_OFFST_Px_DEMOD_CFGMODE_FIELD 5
  784. #define STV090x_WIDTH_Px_DEMOD_CFGMODE_FIELD 2
  785. #define STV090x_Px_DMDCFG3(__x) (0xF41E - (__x - 1) * 0x200)
  786. #define STV090x_P1_DMDCFG3 STV090x_Px_DMDCFG3(1)
  787. #define STV090x_P2_DMDCFG3 STV090x_Px_DMDCFG3(2)
  788. #define STV090x_OFFST_Px_NOSTOP_FIFOFULL_FIELD 3
  789. #define STV090x_WIDTH_Px_NOSTOP_FIFOFULL_FIELD 1
  790. #define STV090x_Px_DMDCFG4(__x) (0xf41f - (__x - 1) * 0x200)
  791. #define STV090x_P1_DMDCFG4 STV090x_Px_DMDCFG4(1)
  792. #define STV090x_P2_DMDCFG4 STV090x_Px_DMDCFG4(2)
  793. #define STV090x_Px_CORRELMANT(__x) (0xF420 - (__x - 1) * 0x200)
  794. #define STV090x_P1_CORRELMANT STV090x_Px_CORRELMANT(1)
  795. #define STV090x_P2_CORRELMANT STV090x_Px_CORRELMANT(2)
  796. #define STV090x_OFFST_Px_CORREL_MANT_FIELD 0
  797. #define STV090x_WIDTH_Px_CORREL_MANT_FIELD 8
  798. #define STV090x_Px_CORRELABS(__x) (0xF421 - (__x - 1) * 0x200)
  799. #define STV090x_P1_CORRELABS STV090x_Px_CORRELABS(1)
  800. #define STV090x_P2_CORRELABS STV090x_Px_CORRELABS(2)
  801. #define STV090x_OFFST_Px_CORREL_ABS_FIELD 0
  802. #define STV090x_WIDTH_Px_CORREL_ABS_FIELD 8
  803. #define STV090x_Px_CORRELEXP(__x) (0xF422 - (__x - 1) * 0x200)
  804. #define STV090x_P1_CORRELEXP STV090x_Px_CORRELEXP(1)
  805. #define STV090x_P2_CORRELEXP STV090x_Px_CORRELEXP(2)
  806. #define STV090x_OFFST_Px_CORREL_ABSEXP_FIELD 4
  807. #define STV090x_WIDTH_Px_CORREL_ABSEXP_FIELD 4
  808. #define STV090x_OFFST_Px_CORREL_EXP_FIELD 0
  809. #define STV090x_WIDTH_Px_CORREL_EXP_FIELD 4
  810. #define STV090x_Px_PLHMODCOD(__x) (0xF424 - (__x - 1) * 0x200)
  811. #define STV090x_P1_PLHMODCOD STV090x_Px_PLHMODCOD(1)
  812. #define STV090x_P2_PLHMODCOD STV090x_Px_PLHMODCOD(2)
  813. #define STV090x_OFFST_Px_SPECINV_DEMOD_FIELD 7
  814. #define STV090x_WIDTH_Px_SPECINV_DEMOD_FIELD 1
  815. #define STV090x_OFFST_Px_PLH_MODCOD_FIELD 2
  816. #define STV090x_WIDTH_Px_PLH_MODCOD_FIELD 5
  817. #define STV090x_OFFST_Px_PLH_TYPE_FIELD 0
  818. #define STV090x_WIDTH_Px_PLH_TYPE_FIELD 2
  819. #define STV090x_Px_AGCK32(__x) (0xf42b - (__x - 1) * 0x200)
  820. #define STV090x_P1_AGCK32 STV090x_Px_AGCK32(1)
  821. #define STV090x_P2_AGCK32 STV090x_Px_AGCK32(2)
  822. #define STV090x_Px_AGC2O(__x) (0xF42C - (__x - 1) * 0x200)
  823. #define STV090x_P1_AGC2O STV090x_Px_AGC2O(1)
  824. #define STV090x_P2_AGC2O STV090x_Px_AGC2O(2)
  825. #define STV090x_Px_AGC2REF(__x) (0xF42D - (__x - 1) * 0x200)
  826. #define STV090x_P1_AGC2REF STV090x_Px_AGC2REF(1)
  827. #define STV090x_P2_AGC2REF STV090x_Px_AGC2REF(2)
  828. #define STV090x_OFFST_Px_AGC2_REF_FIELD 0
  829. #define STV090x_WIDTH_Px_AGC2_REF_FIELD 8
  830. #define STV090x_Px_AGC1ADJ(__x) (0xF42E - (__x - 1) * 0x200)
  831. #define STV090x_P1_AGC1ADJ STV090x_Px_AGC1ADJ(1)
  832. #define STV090x_P2_AGC1ADJ STV090x_Px_AGC1ADJ(2)
  833. #define STV090x_OFFST_Px_AGC1_ADJUSTED_FIELD 0
  834. #define STV090x_WIDTH_Px_AGC1_ADJUSTED_FIELD 7
  835. #define STV090x_Px_AGC2Iy(__x, __y) (0xF437 - (__x - 1) * 0x200 - __y * 0x1)
  836. #define STV090x_P1_AGC2I0 STV090x_Px_AGC2Iy(1, 0)
  837. #define STV090x_P1_AGC2I1 STV090x_Px_AGC2Iy(1, 1)
  838. #define STV090x_P2_AGC2I0 STV090x_Px_AGC2Iy(2, 0)
  839. #define STV090x_P2_AGC2I1 STV090x_Px_AGC2Iy(2, 1)
  840. #define STV090x_OFFST_Px_AGC2_INTEGRATOR_FIELD 0
  841. #define STV090x_WIDTH_Px_AGC2_INTEGRATOR_FIELD 8
  842. #define STV090x_Px_CARCFG(__x) (0xF438 - (__x - 1) * 0x200)
  843. #define STV090x_P1_CARCFG STV090x_Px_CARCFG(1)
  844. #define STV090x_P2_CARCFG STV090x_Px_CARCFG(2)
  845. #define STV090x_OFFST_Px_EN_CAR2CENTER_FIELD 5
  846. #define STV090x_WIDTH_Px_EN_CAR2CENTER_FIELD 1
  847. #define STV090x_OFFST_Px_ROTATON_FIELD 2
  848. #define STV090x_WIDTH_Px_ROTATON_FIELD 1
  849. #define STV090x_OFFST_Px_PH_DET_ALGO_FIELD 0
  850. #define STV090x_WIDTH_Px_PH_DET_ALGO_FIELD 2
  851. #define STV090x_Px_ACLC(__x) (0xF439 - (__x - 1) * 0x200)
  852. #define STV090x_P1_ACLC STV090x_Px_ACLC(1)
  853. #define STV090x_P2_ACLC STV090x_Px_ACLC(2)
  854. #define STV090x_OFFST_Px_CAR_ALPHA_MANT_FIELD 4
  855. #define STV090x_WIDTH_Px_CAR_ALPHA_MANT_FIELD 2
  856. #define STV090x_OFFST_Px_CAR_ALPHA_EXP_FIELD 0
  857. #define STV090x_WIDTH_Px_CAR_ALPHA_EXP_FIELD 4
  858. #define STV090x_Px_BCLC(__x) (0xF43A - (__x - 1) * 0x200)
  859. #define STV090x_P1_BCLC STV090x_Px_BCLC(1)
  860. #define STV090x_P2_BCLC STV090x_Px_BCLC(2)
  861. #define STV090x_OFFST_Px_CAR_BETA_MANT_FIELD 4
  862. #define STV090x_WIDTH_Px_CAR_BETA_MANT_FIELD 2
  863. #define STV090x_OFFST_Px_CAR_BETA_EXP_FIELD 0
  864. #define STV090x_WIDTH_Px_CAR_BETA_EXP_FIELD 4
  865. #define STV090x_Px_CARFREQ(__x) (0xF43D - (__x - 1) * 0x200)
  866. #define STV090x_P1_CARFREQ STV090x_Px_CARFREQ(1)
  867. #define STV090x_P2_CARFREQ STV090x_Px_CARFREQ(2)
  868. #define STV090x_OFFST_Px_KC_COARSE_EXP_FIELD 4
  869. #define STV090x_WIDTH_Px_KC_COARSE_EXP_FIELD 4
  870. #define STV090x_OFFST_Px_BETA_FREQ_FIELD 0
  871. #define STV090x_WIDTH_Px_BETA_FREQ_FIELD 4
  872. #define STV090x_Px_CARHDR(__x) (0xF43E - (__x - 1) * 0x200)
  873. #define STV090x_P1_CARHDR STV090x_Px_CARHDR(1)
  874. #define STV090x_P2_CARHDR STV090x_Px_CARHDR(2)
  875. #define STV090x_OFFST_Px_FREQ_HDR_FIELD 0
  876. #define STV090x_WIDTH_Px_FREQ_HDR_FIELD 8
  877. #define STV090x_Px_LDT(__x) (0xF43F - (__x - 1) * 0x200)
  878. #define STV090x_P1_LDT STV090x_Px_LDT(1)
  879. #define STV090x_P2_LDT STV090x_Px_LDT(2)
  880. #define STV090x_OFFST_Px_CARLOCK_THRES_FIELD 0
  881. #define STV090x_WIDTH_Px_CARLOCK_THRES_FIELD 8
  882. #define STV090x_Px_LDT2(__x) (0xF440 - (__x - 1) * 0x200)
  883. #define STV090x_P1_LDT2 STV090x_Px_LDT2(1)
  884. #define STV090x_P2_LDT2 STV090x_Px_LDT2(2)
  885. #define STV090x_OFFST_Px_CARLOCK_THRES2_FIELD 0
  886. #define STV090x_WIDTH_Px_CARLOCK_THRES2_FIELD 8
  887. #define STV090x_Px_CFRICFG(__x) (0xF441 - (__x - 1) * 0x200)
  888. #define STV090x_P1_CFRICFG STV090x_Px_CFRICFG(1)
  889. #define STV090x_P2_CFRICFG STV090x_Px_CFRICFG(2)
  890. #define STV090x_OFFST_Px_NEG_CFRSTEP_FIELD 0
  891. #define STV090x_WIDTH_Px_NEG_CFRSTEP_FIELD 1
  892. #define STV090x_Pn_CFRUPy(__x, __y) (0xF443 - (__x - 1) * 0x200 - __y * 0x1)
  893. #define STV090x_P1_CFRUP0 STV090x_Pn_CFRUPy(1, 0)
  894. #define STV090x_P1_CFRUP1 STV090x_Pn_CFRUPy(1, 1)
  895. #define STV090x_P2_CFRUP0 STV090x_Pn_CFRUPy(2, 0)
  896. #define STV090x_P2_CFRUP1 STV090x_Pn_CFRUPy(2, 1)
  897. #define STV090x_OFFST_Px_CFR_UP_FIELD 0
  898. #define STV090x_WIDTH_Px_CFR_UP_FIELD 8
  899. #define STV090x_Pn_CFRLOWy(__x, __y) (0xF447 - (__x - 1) * 0x200 - __y * 0x1)
  900. #define STV090x_P1_CFRLOW0 STV090x_Pn_CFRLOWy(1, 0)
  901. #define STV090x_P1_CFRLOW1 STV090x_Pn_CFRLOWy(1, 1)
  902. #define STV090x_P2_CFRLOW0 STV090x_Pn_CFRLOWy(2, 0)
  903. #define STV090x_P2_CFRLOW1 STV090x_Pn_CFRLOWy(2, 1)
  904. #define STV090x_OFFST_Px_CFR_LOW_FIELD 0
  905. #define STV090x_WIDTH_Px_CFR_LOW_FIELD 8
  906. #define STV090x_Pn_CFRINITy(__x, __y) (0xF449 - (__x - 1) * 0x200 - __y * 0x1)
  907. #define STV090x_P1_CFRINIT0 STV090x_Pn_CFRINITy(1, 0)
  908. #define STV090x_P1_CFRINIT1 STV090x_Pn_CFRINITy(1, 1)
  909. #define STV090x_P2_CFRINIT0 STV090x_Pn_CFRINITy(2, 0)
  910. #define STV090x_P2_CFRINIT1 STV090x_Pn_CFRINITy(2, 1)
  911. #define STV090x_OFFST_Px_CFR_INIT_FIELD 0
  912. #define STV090x_WIDTH_Px_CFR_INIT_FIELD 8
  913. #define STV090x_Px_CFRINC1(__x) (0xF44A - (__x - 1) * 0x200)
  914. #define STV090x_P1_CFRINC1 STV090x_Px_CFRINC1(1)
  915. #define STV090x_P2_CFRINC1 STV090x_Px_CFRINC1(2)
  916. #define STV090x_OFFST_Px_CFR_INC1_FIELD 0
  917. #define STV090x_WIDTH_Px_CFR_INC1_FIELD 7 /* check */
  918. #define STV090x_Px_CFRINC0(__x) (0xF44B - (__x - 1) * 0x200)
  919. #define STV090x_P1_CFRINC0 STV090x_Px_CFRINC0(1)
  920. #define STV090x_P2_CFRINC0 STV090x_Px_CFRINC0(2)
  921. #define STV090x_OFFST_Px_CFR_INC0_FIELD 4 /* check */
  922. #define STV090x_WIDTH_Px_CFR_INC0_FIELD 4
  923. #define STV090x_Pn_CFRy(__x, __y) (0xF44E - (__x - 1) * 0x200 - __y * 0x1)
  924. #define STV090x_P1_CFR0 STV090x_Pn_CFRy(1, 0)
  925. #define STV090x_P1_CFR1 STV090x_Pn_CFRy(1, 1)
  926. #define STV090x_P1_CFR2 STV090x_Pn_CFRy(1, 2)
  927. #define STV090x_P2_CFR0 STV090x_Pn_CFRy(2, 0)
  928. #define STV090x_P2_CFR1 STV090x_Pn_CFRy(2, 1)
  929. #define STV090x_P2_CFR2 STV090x_Pn_CFRy(2, 2)
  930. #define STV090x_OFFST_Px_CAR_FREQ_FIELD 0
  931. #define STV090x_WIDTH_Px_CAR_FREQ_FIELD 8
  932. #define STV090x_Px_LDI(__x) (0xF44F - (__x - 1) * 0x200)
  933. #define STV090x_P1_LDI STV090x_Px_LDI(1)
  934. #define STV090x_P2_LDI STV090x_Px_LDI(2)
  935. #define STV090x_OFFST_Px_LOCK_DET_INTEGR_FIELD 0
  936. #define STV090x_WIDTH_Px_LOCK_DET_INTEGR_FIELD 8
  937. #define STV090x_Px_TMGCFG(__x) (0xF450 - (__x - 1) * 0x200)
  938. #define STV090x_P1_TMGCFG STV090x_Px_TMGCFG(1)
  939. #define STV090x_P2_TMGCFG STV090x_Px_TMGCFG(2)
  940. #define STV090x_OFFST_Px_TMGLOCK_BETA_FIELD 6
  941. #define STV090x_WIDTH_Px_TMGLOCK_BETA_FIELD 2
  942. #define STV090x_OFFST_Px_DO_TIMING_FIELD 4
  943. #define STV090x_WIDTH_Px_DO_TIMING_FIELD 1
  944. #define STV090x_OFFST_Px_TMG_MINFREQ_FIELD 0
  945. #define STV090x_WIDTH_Px_TMG_MINFREQ_FIELD 2
  946. #define STV090x_Px_RTC(__x) (0xF451 - (__x - 1) * 0x200)
  947. #define STV090x_P1_RTC STV090x_Px_RTC(1)
  948. #define STV090x_P2_RTC STV090x_Px_RTC(2)
  949. #define STV090x_OFFST_Px_TMGALPHA_EXP_FIELD 4
  950. #define STV090x_WIDTH_Px_TMGALPHA_EXP_FIELD 4
  951. #define STV090x_OFFST_Px_TMGBETA_EXP_FIELD 0
  952. #define STV090x_WIDTH_Px_TMGBETA_EXP_FIELD 4
  953. #define STV090x_Px_RTCS2(__x) (0xF452 - (__x - 1) * 0x200)
  954. #define STV090x_P1_RTCS2 STV090x_Px_RTCS2(1)
  955. #define STV090x_P2_RTCS2 STV090x_Px_RTCS2(2)
  956. #define STV090x_OFFST_Px_TMGALPHAS2_EXP_FIELD 4
  957. #define STV090x_WIDTH_Px_TMGALPHAS2_EXP_FIELD 4
  958. #define STV090x_OFFST_Px_TMGBETAS2_EXP_FIELD 0
  959. #define STV090x_WIDTH_Px_TMGBETAS2_EXP_FIELD 4
  960. #define STV090x_Px_TMGTHRISE(__x) (0xF453 - (__x - 1) * 0x200)
  961. #define STV090x_P1_TMGTHRISE STV090x_Px_TMGTHRISE(1)
  962. #define STV090x_P2_TMGTHRISE STV090x_Px_TMGTHRISE(2)
  963. #define STV090x_OFFST_Px_TMGLOCK_THRISE_FIELD 0
  964. #define STV090x_WIDTH_Px_TMGLOCK_THRISE_FIELD 8
  965. #define STV090x_Px_TMGTHFALL(__x) (0xF454 - (__x - 1) * 0x200)
  966. #define STV090x_P1_TMGTHFALL STV090x_Px_TMGTHFALL(1)
  967. #define STV090x_P2_TMGTHFALL STV090x_Px_TMGTHFALL(2)
  968. #define STV090x_OFFST_Px_TMGLOCK_THFALL_FIELD 0
  969. #define STV090x_WIDTH_Px_TMGLOCK_THFALL_FIELD 8
  970. #define STV090x_Px_SFRUPRATIO(__x) (0xF455 - (__x - 1) * 0x200)
  971. #define STV090x_P1_SFRUPRATIO STV090x_Px_SFRUPRATIO(1)
  972. #define STV090x_P2_SFRUPRATIO STV090x_Px_SFRUPRATIO(2)
  973. #define STV090x_OFFST_Px_SFR_UPRATIO_FIELD 0
  974. #define STV090x_WIDTH_Px_SFR_UPRATIO_FIELD 8
  975. #define STV090x_Px_SFRLOWRATIO(__x) (0xF456 - (__x - 1) * 0x200)
  976. #define STV090x_P1_SFRLOWRATIO STV090x_Px_SFRLOWRATIO(1)
  977. #define STV090x_P2_SFRLOWRATIO STV090x_Px_SFRLOWRATIO(2)
  978. #define STV090x_OFFST_Px_SFR_LOWRATIO_FIELD 0
  979. #define STV090x_WIDTH_Px_SFR_LOWRATIO_FIELD 8
  980. #define STV090x_Px_KREFTMG(__x) (0xF458 - (__x - 1) * 0x200)
  981. #define STV090x_P1_KREFTMG STV090x_Px_KREFTMG(1)
  982. #define STV090x_P2_KREFTMG STV090x_Px_KREFTMG(2)
  983. #define STV090x_OFFST_Px_KREF_TMG_FIELD 0
  984. #define STV090x_WIDTH_Px_KREF_TMG_FIELD 8
  985. #define STV090x_Px_SFRSTEP(__x) (0xF459 - (__x - 1) * 0x200)
  986. #define STV090x_P1_SFRSTEP STV090x_Px_SFRSTEP(1)
  987. #define STV090x_P2_SFRSTEP STV090x_Px_SFRSTEP(2)
  988. #define STV090x_OFFST_Px_SFR_SCANSTEP_FIELD 4
  989. #define STV090x_WIDTH_Px_SFR_SCANSTEP_FIELD 4
  990. #define STV090x_OFFST_Px_SFR_CENTERSTEP_FIELD 0
  991. #define STV090x_WIDTH_Px_SFR_CENTERSTEP_FIELD 4
  992. #define STV090x_Px_TMGCFG2(__x) (0xF45A - (__x - 1) * 0x200)
  993. #define STV090x_P1_TMGCFG2 STV090x_Px_TMGCFG2(1)
  994. #define STV090x_P2_TMGCFG2 STV090x_Px_TMGCFG2(2)
  995. #define STV090x_OFFST_Px_SFRRATIO_FINE_FIELD 0
  996. #define STV090x_WIDTH_Px_SFRRATIO_FINE_FIELD 1
  997. #define STV090x_Px_SFRINIT1(__x) (0xF45E - (__x - 1) * 0x200)
  998. #define STV090x_P1_SFRINIT1 STV090x_Px_SFRINIT1(1)
  999. #define STV090x_P2_SFRINIT1 STV090x_Px_SFRINIT1(2)
  1000. #define STV090x_OFFST_Px_SFR_INIT1_FIELD 0
  1001. #define STV090x_WIDTH_Px_SFR_INIT1_FIELD 7
  1002. #define STV090x_Px_SFRINIT0(__x) (0xF45F - (__x - 1) * 0x200)
  1003. #define STV090x_P1_SFRINIT0 STV090x_Px_SFRINIT0(1)
  1004. #define STV090x_P2_SFRINIT0 STV090x_Px_SFRINIT0(2)
  1005. #define STV090x_OFFST_Px_SFR_INIT0_FIELD 0
  1006. #define STV090x_WIDTH_Px_SFR_INIT0_FIELD 8
  1007. #define STV090x_Px_SFRUP1(__x) (0xF460 - (__x - 1) * 0x200)
  1008. #define STV090x_P1_SFRUP1 STV090x_Px_SFRUP1(1)
  1009. #define STV090x_P2_SFRUP1 STV090x_Px_SFRUP1(2)
  1010. #define STV090x_OFFST_Px_SYMB_FREQ_UP1_FIELD 0
  1011. #define STV090x_WIDTH_Px_SYMB_FREQ_UP1_FIELD 7
  1012. #define STV090x_Px_SFRUP0(__x) (0xF461 - (__x - 1) * 0x200)
  1013. #define STV090x_P1_SFRUP0 STV090x_Px_SFRUP0(1)
  1014. #define STV090x_P2_SFRUP0 STV090x_Px_SFRUP0(2)
  1015. #define STV090x_OFFST_Px_SYMB_FREQ_UP0_FIELD 0
  1016. #define STV090x_WIDTH_Px_SYMB_FREQ_UP0_FIELD 8
  1017. #define STV090x_Px_SFRLOW1(__x) (0xF462 - (__x - 1) * 0x200)
  1018. #define STV090x_P1_SFRLOW1 STV090x_Px_SFRLOW1(1)
  1019. #define STV090x_P2_SFRLOW1 STV090x_Px_SFRLOW1(2)
  1020. #define STV090x_OFFST_Px_SYMB_FREQ_LOW1_FIELD 0
  1021. #define STV090x_WIDTH_Px_SYMB_FREQ_LOW1_FIELD 7
  1022. #define STV090x_Px_SFRLOW0(__x) (0xF463 - (__x - 1) * 0x200)
  1023. #define STV090x_P1_SFRLOW0 STV090x_Px_SFRLOW0(1)
  1024. #define STV090x_P2_SFRLOW0 STV090x_Px_SFRLOW0(2)
  1025. #define STV090x_OFFST_Px_SYMB_FREQ_LOW0_FIELD 0
  1026. #define STV090x_WIDTH_Px_SYMB_FREQ_LOW0_FIELD 8
  1027. #define STV090x_Px_SFRy(__x, __y) (0xF467 - (__x-1) * 0x200 - __y)
  1028. #define STV090x_P1_SFR0 STV090x_Px_SFRy(1, 0)
  1029. #define STV090x_P1_SFR1 STV090x_Px_SFRy(1, 1)
  1030. #define STV090x_P1_SFR2 STV090x_Px_SFRy(1, 2)
  1031. #define STV090x_P1_SFR3 STV090x_Px_SFRy(1, 3)
  1032. #define STV090x_P2_SFR0 STV090x_Px_SFRy(2, 0)
  1033. #define STV090x_P2_SFR1 STV090x_Px_SFRy(2, 1)
  1034. #define STV090x_P2_SFR2 STV090x_Px_SFRy(2, 2)
  1035. #define STV090x_P2_SFR3 STV090x_Px_SFRy(2, 3)
  1036. #define STV090x_OFFST_Px_SYMB_FREQ_FIELD 0
  1037. #define STV090x_WIDTH_Px_SYMB_FREQ_FIELD 8
  1038. #define STV090x_Px_TMGREG2(__x) (0xF468 - (__x - 1) * 0x200)
  1039. #define STV090x_P1_TMGREG2 STV090x_Px_TMGREG2(1)
  1040. #define STV090x_P2_TMGREG2 STV090x_Px_TMGREG2(2)
  1041. #define STV090x_OFFST_Px_TMGREG_FIELD 0
  1042. #define STV090x_WIDTH_Px_TMGREG_FIELD 8
  1043. #define STV090x_Px_TMGREG1(__x) (0xF469 - (__x - 1) * 0x200)
  1044. #define STV090x_P1_TMGREG1 STV090x_Px_TMGREG1(1)
  1045. #define STV090x_P2_TMGREG1 STV090x_Px_TMGREG1(2)
  1046. #define STV090x_OFFST_Px_TMGREG_FIELD 0
  1047. #define STV090x_WIDTH_Px_TMGREG_FIELD 8
  1048. #define STV090x_Px_TMGREG0(__x) (0xF46A - (__x - 1) * 0x200)
  1049. #define STV090x_P1_TMGREG0 STV090x_Px_TMGREG0(1)
  1050. #define STV090x_P2_TMGREG0 STV090x_Px_TMGREG0(2)
  1051. #define STV090x_OFFST_Px_TMGREG_FIELD 0
  1052. #define STV090x_WIDTH_Px_TMGREG_FIELD 8
  1053. #define STV090x_Px_TMGLOCKy(__x, __y) (0xF46C - (__x - 1) * 0x200 - __y * 0x1)
  1054. #define STV090x_P1_TMGLOCK0 STV090x_Px_TMGLOCKy(1, 0)
  1055. #define STV090x_P1_TMGLOCK1 STV090x_Px_TMGLOCKy(1, 1)
  1056. #define STV090x_P2_TMGLOCK0 STV090x_Px_TMGLOCKy(2, 0)
  1057. #define STV090x_P2_TMGLOCK1 STV090x_Px_TMGLOCKy(2, 1)
  1058. #define STV090x_OFFST_Px_TMGLOCK_LEVEL_FIELD 0
  1059. #define STV090x_WIDTH_Px_TMGLOCK_LEVEL_FIELD 8
  1060. #define STV090x_Px_TMGOBS(__x) (0xF46D - (__x - 1) * 0x200)
  1061. #define STV090x_P1_TMGOBS STV090x_Px_TMGOBS(1)
  1062. #define STV090x_P2_TMGOBS STV090x_Px_TMGOBS(2)
  1063. #define STV090x_OFFST_Px_ROLLOFF_STATUS_FIELD 6
  1064. #define STV090x_WIDTH_Px_ROLLOFF_STATUS_FIELD 2
  1065. #define STV090x_Px_EQUALCFG(__x) (0xF46F - (__x - 1) * 0x200)
  1066. #define STV090x_P1_EQUALCFG STV090x_Px_EQUALCFG(1)
  1067. #define STV090x_P2_EQUALCFG STV090x_Px_EQUALCFG(2)
  1068. #define STV090x_OFFST_Px_EQUAL_ON_FIELD 6
  1069. #define STV090x_WIDTH_Px_EQUAL_ON_FIELD 1
  1070. #define STV090x_OFFST_Px_MU_EQUALDFE_FIELD 0
  1071. #define STV090x_WIDTH_Px_MU_EQUALDFE_FIELD 3
  1072. #define STV090x_Px_EQUAIy(__x, __y) (0xf470 - (__x-1) * 0x200 + 2 * (__y-1))
  1073. #define STV090x_P1_EQUAI1 STV090x_Px_EQUAIy(1, 1)
  1074. #define STV090x_P1_EQUAI2 STV090x_Px_EQUAIy(1, 2)
  1075. #define STV090x_P1_EQUAI3 STV090x_Px_EQUAIy(1, 3)
  1076. #define STV090x_P1_EQUAI4 STV090x_Px_EQUAIy(1, 4)
  1077. #define STV090x_P1_EQUAI5 STV090x_Px_EQUAIy(1, 5)
  1078. #define STV090x_P1_EQUAI6 STV090x_Px_EQUAIy(1, 6)
  1079. #define STV090x_P1_EQUAI7 STV090x_Px_EQUAIy(1, 7)
  1080. #define STV090x_P1_EQUAI8 STV090x_Px_EQUAIy(1, 8)
  1081. #define STV090x_P2_EQUAI1 STV090x_Px_EQUAIy(2, 1)
  1082. #define STV090x_P2_EQUAI2 STV090x_Px_EQUAIy(2, 2)
  1083. #define STV090x_P2_EQUAI3 STV090x_Px_EQUAIy(2, 3)
  1084. #define STV090x_P2_EQUAI4 STV090x_Px_EQUAIy(2, 4)
  1085. #define STV090x_P2_EQUAI5 STV090x_Px_EQUAIy(2, 5)
  1086. #define STV090x_P2_EQUAI6 STV090x_Px_EQUAIy(2, 6)
  1087. #define STV090x_P2_EQUAI7 STV090x_Px_EQUAIy(2, 7)
  1088. #define STV090x_P2_EQUAI8 STV090x_Px_EQUAIy(2, 8)
  1089. #define STV090x_OFFST_Px_EQUA_ACCIy_FIELD 0
  1090. #define STV090x_WIDTH_Px_EQUA_ACCIy_FIELD 8
  1091. #define STV090x_Px_EQUAQy(__x, __y) (0xf471 - (__x-1) * 0x200 + 2 * (__y-1))
  1092. #define STV090x_P1_EQUAQ1 STV090x_Px_EQUAQy(1, 1)
  1093. #define STV090x_P1_EQUAQ2 STV090x_Px_EQUAQy(1, 2)
  1094. #define STV090x_P1_EQUAQ3 STV090x_Px_EQUAQy(1, 3)
  1095. #define STV090x_P1_EQUAQ4 STV090x_Px_EQUAQy(1, 4)
  1096. #define STV090x_P1_EQUAQ5 STV090x_Px_EQUAQy(1, 5)
  1097. #define STV090x_P1_EQUAQ6 STV090x_Px_EQUAQy(1, 6)
  1098. #define STV090x_P1_EQUAQ7 STV090x_Px_EQUAQy(1, 7)
  1099. #define STV090x_P1_EQUAQ8 STV090x_Px_EQUAQy(1, 8)
  1100. #define STV090x_P2_EQUAQ1 STV090x_Px_EQUAQy(2, 1)
  1101. #define STV090x_P2_EQUAQ2 STV090x_Px_EQUAQy(2, 2)
  1102. #define STV090x_P2_EQUAQ3 STV090x_Px_EQUAQy(2, 3)
  1103. #define STV090x_P2_EQUAQ4 STV090x_Px_EQUAQy(2, 4)
  1104. #define STV090x_P2_EQUAQ5 STV090x_Px_EQUAQy(2, 5)
  1105. #define STV090x_P2_EQUAQ6 STV090x_Px_EQUAQy(2, 6)
  1106. #define STV090x_P2_EQUAQ7 STV090x_Px_EQUAQy(2, 7)
  1107. #define STV090x_P2_EQUAQ8 STV090x_Px_EQUAQy(2, 8)
  1108. #define STV090x_OFFST_Px_EQUA_ACCQy_FIELD 0
  1109. #define STV090x_WIDTH_Px_EQUA_ACCQy_FIELD 8
  1110. #define STV090x_Px_NNOSDATATy(__x, __y) (0xf481 - (__x - 1) * 0x200 - __y * 0x1)
  1111. #define STV090x_P1_NNOSDATAT0 STV090x_Px_NNOSDATATy(1, 0)
  1112. #define STV090x_P1_NNOSDATAT1 STV090x_Px_NNOSDATATy(1, 1)
  1113. #define STV090x_P2_NNOSDATAT0 STV090x_Px_NNOSDATATy(2, 0)
  1114. #define STV090x_P2_NNOSDATAT1 STV090x_Px_NNOSDATATy(2, 1)
  1115. #define STV090x_OFFST_Px_NOSDATAT_NORMED_FIELD 0
  1116. #define STV090x_WIDTH_Px_NOSDATAT_NORMED_FIELD 8
  1117. #define STV090x_Px_NNOSDATAy(__x, __y) (0xf483 - (__x - 1) * 0x200 - __y * 0x1)
  1118. #define STV090x_P1_NNOSDATA0 STV090x_Px_NNOSDATAy(1, 0)
  1119. #define STV090x_P1_NNOSDATA1 STV090x_Px_NNOSDATAy(1, 1)
  1120. #define STV090x_P2_NNOSDATA0 STV090x_Px_NNOSDATAy(2, 0)
  1121. #define STV090x_P2_NNOSDATA1 STV090x_Px_NNOSDATAy(2, 1)
  1122. #define STV090x_OFFST_Px_NOSDATA_NORMED_FIELD 0
  1123. #define STV090x_WIDTH_Px_NOSDATA_NORMED_FIELD 8
  1124. #define STV090x_Px_NNOSPLHTy(__x, __y) (0xf485 - (__x - 1) * 0x200 - __y * 0x1)
  1125. #define STV090x_P1_NNOSPLHT0 STV090x_Px_NNOSPLHTy(1, 0)
  1126. #define STV090x_P1_NNOSPLHT1 STV090x_Px_NNOSPLHTy(1, 1)
  1127. #define STV090x_P2_NNOSPLHT0 STV090x_Px_NNOSPLHTy(2, 0)
  1128. #define STV090x_P2_NNOSPLHT1 STV090x_Px_NNOSPLHTy(2, 1)
  1129. #define STV090x_OFFST_Px_NOSPLHT_NORMED_FIELD 0
  1130. #define STV090x_WIDTH_Px_NOSPLHT_NORMED_FIELD 8
  1131. #define STV090x_Px_NNOSPLHy(__x, __y) (0xf487 - (__x - 1) * 0x200 - __y * 0x1)
  1132. #define STV090x_P1_NNOSPLH0 STV090x_Px_NNOSPLHy(1, 0)
  1133. #define STV090x_P1_NNOSPLH1 STV090x_Px_NNOSPLHy(1, 1)
  1134. #define STV090x_P2_NNOSPLH0 STV090x_Px_NNOSPLHy(2, 0)
  1135. #define STV090x_P2_NNOSPLH1 STV090x_Px_NNOSPLHy(2, 1)
  1136. #define STV090x_OFFST_Px_NOSPLH_NORMED_FIELD 0
  1137. #define STV090x_WIDTH_Px_NOSPLH_NORMED_FIELD 8
  1138. #define STV090x_Px_NOSDATATy(__x, __y) (0xf489 - (__x - 1) * 0x200 - __y * 0x1)
  1139. #define STV090x_P1_NOSDATAT0 STV090x_Px_NOSDATATy(1, 0)
  1140. #define STV090x_P1_NOSDATAT1 STV090x_Px_NOSDATATy(1, 1)
  1141. #define STV090x_P2_NOSDATAT0 STV090x_Px_NOSDATATy(2, 0)
  1142. #define STV090x_P2_NOSDATAT1 STV090x_Px_NOSDATATy(2, 1)
  1143. #define STV090x_OFFST_Px_NOSDATAT_UNNORMED_FIELD 0
  1144. #define STV090x_WIDTH_Px_NOSDATAT_UNNORMED_FIELD 8
  1145. #define STV090x_Px_NOSDATAy(__x, __y) (0xf48b - (__x - 1) * 0x200 - __y * 0x1)
  1146. #define STV090x_P1_NOSDATA0 STV090x_Px_NOSDATAy(1, 0)
  1147. #define STV090x_P1_NOSDATA1 STV090x_Px_NOSDATAy(1, 1)
  1148. #define STV090x_P2_NOSDATA0 STV090x_Px_NOSDATAy(2, 0)
  1149. #define STV090x_P2_NOSDATA1 STV090x_Px_NOSDATAy(2, 1)
  1150. #define STV090x_OFFST_Px_NOSDATA_UNNORMED_FIELD 0
  1151. #define STV090x_WIDTH_Px_NOSDATA_UNNORMED_FIELD 8
  1152. #define STV090x_Px_NOSPLHTy(__x, __y) (0xf48d - (__x - 1) * 0x200 - __y * 0x1)
  1153. #define STV090x_P1_NOSPLHT0 STV090x_Px_NOSPLHTy(1, 0)
  1154. #define STV090x_P1_NOSPLHT1 STV090x_Px_NOSPLHTy(1, 1)
  1155. #define STV090x_P2_NOSPLHT0 STV090x_Px_NOSPLHTy(2, 0)
  1156. #define STV090x_P2_NOSPLHT1 STV090x_Px_NOSPLHTy(2, 1)
  1157. #define STV090x_OFFST_Px_NOSPLHT_UNNORMED_FIELD 0
  1158. #define STV090x_WIDTH_Px_NOSPLHT_UNNORMED_FIELD 8
  1159. #define STV090x_Px_NOSPLHy(__x, __y) (0xf48f - (__x - 1) * 0x200 - __y * 0x1)
  1160. #define STV090x_P1_NOSPLH0 STV090x_Px_NOSPLHy(1, 0)
  1161. #define STV090x_P1_NOSPLH1 STV090x_Px_NOSPLHy(1, 1)
  1162. #define STV090x_P2_NOSPLH0 STV090x_Px_NOSPLHy(2, 0)
  1163. #define STV090x_P2_NOSPLH1 STV090x_Px_NOSPLHy(2, 1)
  1164. #define STV090x_OFFST_Px_NOSPLH_UNNORMED_FIELD 0
  1165. #define STV090x_WIDTH_Px_NOSPLH_UNNORMED_FIELD 8
  1166. #define STV090x_Px_CAR2CFG(__x) (0xf490 - (__x - 1) * 0x200)
  1167. #define STV090x_P1_CAR2CFG STV090x_Px_CAR2CFG(1)
  1168. #define STV090x_P2_CAR2CFG STV090x_Px_CAR2CFG(2)
  1169. #define STV090x_OFFST_Px_PN4_SELECT_FIELD 6
  1170. #define STV090x_WIDTH_Px_PN4_SELECT_FIELD 1
  1171. #define STV090x_OFFST_Px_CFR2_STOPDVBS1_FIELD 5
  1172. #define STV090x_WIDTH_Px_CFR2_STOPDVBS1_FIELD 1
  1173. #define STV090x_OFFST_Px_ROTA2ON_FIELD 2
  1174. #define STV090x_WIDTH_Px_ROTA2ON_FIELD 1
  1175. #define STV090x_OFFST_Px_PH_DET_ALGO2_FIELD 0
  1176. #define STV090x_WIDTH_Px_PH_DET_ALGO2_FIELD 2
  1177. #define STV090x_Px_ACLC2(__x) (0xf491 - (__x - 1) * 0x200)
  1178. #define STV090x_P1_ACLC2 STV090x_Px_ACLC2(1)
  1179. #define STV090x_P2_ACLC2 STV090x_Px_ACLC2(2)
  1180. #define STV090x_OFFST_Px_CAR2_ALPHA_MANT_FIELD 4
  1181. #define STV090x_WIDTH_Px_CAR2_ALPHA_MANT_FIELD 2
  1182. #define STV090x_OFFST_Px_CAR2_ALPHA_EXP_FIELD 0
  1183. #define STV090x_WIDTH_Px_CAR2_ALPHA_EXP_FIELD 4
  1184. #define STV090x_Px_BCLC2(__x) (0xf492 - (__x - 1) * 0x200)
  1185. #define STV090x_P1_BCLC2 STV090x_Px_BCLC2(1)
  1186. #define STV090x_P2_BCLC2 STV090x_Px_BCLC2(2)
  1187. #define STV090x_OFFST_Px_CAR2_BETA_MANT_FIELD 4
  1188. #define STV090x_WIDTH_Px_CAR2_BETA_MANT_FIELD 2
  1189. #define STV090x_OFFST_Px_CAR2_BETA_EXP_FIELD 0
  1190. #define STV090x_WIDTH_Px_CAR2_BETA_EXP_FIELD 4
  1191. #define STV090x_Px_ACLC2S2Q(__x) (0xf497 - (__x - 1) * 0x200)
  1192. #define STV090x_P1_ACLC2S2Q STV090x_Px_ACLC2S2Q(1)
  1193. #define STV090x_P2_ACLC2S2Q STV090x_Px_ACLC2S2Q(2)
  1194. #define STV090x_OFFST_Px_ENAB_SPSKSYMB_FIELD 7
  1195. #define STV090x_WIDTH_Px_ENAB_SPSKSYMB_FIELD 1
  1196. #define STV090x_OFFST_Px_CAR2S2_Q_ALPH_M_FIELD 4
  1197. #define STV090x_WIDTH_Px_CAR2S2_Q_ALPH_M_FIELD 2
  1198. #define STV090x_OFFST_Px_CAR2S2_Q_ALPH_E_FIELD 0
  1199. #define STV090x_WIDTH_Px_CAR2S2_Q_ALPH_E_FIELD 4
  1200. #define STV090x_Px_ACLC2S28(__x) (0xf498 - (__x - 1) * 0x200)
  1201. #define STV090x_P1_ACLC2S28 STV090x_Px_ACLC2S28(1)
  1202. #define STV090x_P2_ACLC2S28 STV090x_Px_ACLC2S28(2)
  1203. #define STV090x_OFFST_Px_CAR2S2_8_ALPH_M_FIELD 4
  1204. #define STV090x_WIDTH_Px_CAR2S2_8_ALPH_M_FIELD 2
  1205. #define STV090x_OFFST_Px_CAR2S2_8_ALPH_E_FIELD 0
  1206. #define STV090x_WIDTH_Px_CAR2S2_8_ALPH_E_FIELD 4
  1207. #define STV090x_Px_ACLC2S216A(__x) (0xf499 - (__x - 1) * 0x200)
  1208. #define STV090x_P1_ACLC2S216A STV090x_Px_ACLC2S216A(1)
  1209. #define STV090x_P2_ACLC2S216A STV090x_Px_ACLC2S216A(2)
  1210. #define STV090x_OFFST_Px_CAR2S2_16A_ALPH_M_FIELD 4
  1211. #define STV090x_WIDTH_Px_CAR2S2_16A_ALPH_M_FIELD 2
  1212. #define STV090x_OFFST_Px_CAR2S2_16A_ALPH_E_FIELD 0
  1213. #define STV090x_WIDTH_Px_CAR2S2_16A_ALPH_E_FIELD 4
  1214. #define STV090x_Px_ACLC2S232A(__x) (0xf49A - (__x - 1) * 0x200)
  1215. #define STV090x_P1_ACLC2S232A STV090x_Px_ACLC2S232A(1)
  1216. #define STV090x_P2_ACLC2S232A STV090x_Px_ACLC2S232A(2)
  1217. #define STV090x_OFFST_Px_CAR2S2_32A_ALPH_M_FIELD 4
  1218. #define STV090x_WIDTH_Px_CAR2S2_32A_ALPH_M_FIELD 2
  1219. #define STV090x_OFFST_Px_CAR2S2_32A_ALPH_E_FIELD 0
  1220. #define STV090x_WIDTH_Px_CAR2S2_32A_ALPH_E_FIELD 4
  1221. #define STV090x_Px_BCLC2S2Q(__x) (0xf49c - (__x - 1) * 0x200)
  1222. #define STV090x_P1_BCLC2S2Q STV090x_Px_BCLC2S2Q(1)
  1223. #define STV090x_P2_BCLC2S2Q STV090x_Px_BCLC2S2Q(2)
  1224. #define STV090x_OFFST_Px_CAR2S2_Q_BETA_M_FIELD 4
  1225. #define STV090x_WIDTH_Px_CAR2S2_Q_BETA_M_FIELD 2
  1226. #define STV090x_OFFST_Px_CAR2S2_Q_BETA_E_FIELD 0
  1227. #define STV090x_WIDTH_Px_CAR2S2_Q_BETA_E_FIELD 4
  1228. #define STV090x_Px_BCLC2S28(__x) (0xf49d - (__x - 1) * 0x200)
  1229. #define STV090x_P1_BCLC2S28 STV090x_Px_BCLC2S28(1)
  1230. #define STV090x_P2_BCLC2S28 STV090x_Px_BCLC2S28(2)
  1231. #define STV090x_OFFST_Px_CAR2S2_8_BETA_M_FIELD 4
  1232. #define STV090x_WIDTH_Px_CAR2S2_8_BETA_M_FIELD 2
  1233. #define STV090x_OFFST_Px_CAR2S2_8_BETA_E_FIELD 0
  1234. #define STV090x_WIDTH_Px_CAR2S2_8_BETA_E_FIELD 4
  1235. #define STV090x_Px_BCLC2S216A(__x) (0xf49e - (__x - 1) * 0x200)
  1236. #define STV090x_P1_BCLC2S216A STV090x_Px_BCLC2S216A(1)
  1237. #define STV090x_P2_BCLC2S216A STV090x_Px_BCLC2S216A(2)
  1238. #define STV090x_OFFST_Px_CAR2S2_16A_BETA_M_FIELD 4
  1239. #define STV090x_WIDTH_Px_CAR2S2_16A_BETA_M_FIELD 2
  1240. #define STV090x_OFFST_Px_CAR2S2_16A_BETA_E_FIELD 0
  1241. #define STV090x_WIDTH_Px_CAR2S2_16A_BETA_E_FIELD 4
  1242. #define STV090x_Px_BCLC2S232A(__x) (0xf49f - (__x - 1) * 0x200)
  1243. #define STV090x_P1_BCLC2S232A STV090x_Px_BCLC2S232A(1)
  1244. #define STV090x_P2_BCLC2S232A STV090x_Px_BCLC2S232A(2)
  1245. #define STV090x_OFFST_Px_CAR2S2_32A_BETA_M_FIELD 4
  1246. #define STV090x_WIDTH_Px_CAR2S2_32A_BETA_M_FIELD 2
  1247. #define STV090x_OFFST_Px_CAR2S2_32A_BETA_E_FIELD 0
  1248. #define STV090x_WIDTH_Px_CAR2S2_32A_BETA_E_FIELD 4
  1249. #define STV090x_Px_PLROOT2(__x) (0xf4ac - (__x - 1) * 0x200)
  1250. #define STV090x_P1_PLROOT2 STV090x_Px_PLROOT2(1)
  1251. #define STV090x_P2_PLROOT2 STV090x_Px_PLROOT2(2)
  1252. #define STV090x_OFFST_Px_PLSCRAMB_MODE_FIELD 2
  1253. #define STV090x_WIDTH_Px_PLSCRAMB_MODE_FIELD 2
  1254. #define STV090x_OFFST_Px_PLSCRAMB_ROOT_FIELD 0
  1255. #define STV090x_WIDTH_Px_PLSCRAMB_ROOT_FIELD 2
  1256. #define STV090x_Px_PLROOT1(__x) (0xf4ad - (__x - 1) * 0x200)
  1257. #define STV090x_P1_PLROOT1 STV090x_Px_PLROOT1(1)
  1258. #define STV090x_P2_PLROOT1 STV090x_Px_PLROOT1(2)
  1259. #define STV090x_OFFST_Px_PLSCRAMB_ROOT1_FIELD 0
  1260. #define STV090x_WIDTH_Px_PLSCRAMB_ROOT1_FIELD 8
  1261. #define STV090x_Px_PLROOT0(__x) (0xf4ae - (__x - 1) * 0x200)
  1262. #define STV090x_P1_PLROOT0 STV090x_Px_PLROOT0(1)
  1263. #define STV090x_P2_PLROOT0 STV090x_Px_PLROOT0(2)
  1264. #define STV090x_OFFST_Px_PLSCRAMB_ROOT0_FIELD 0
  1265. #define STV090x_WIDTH_Px_PLSCRAMB_ROOT0_FIELD 8
  1266. #define STV090x_Px_MODCODLST0(__x) (0xf4b0 - (__x - 1) * 0x200) /* check */
  1267. #define STV090x_P1_MODCODLST0 STV090x_Px_MODCODLST0(1)
  1268. #define STV090x_P2_MODCODLST0 STV090x_Px_MODCODLST0(2)
  1269. #define STV090x_Px_MODCODLST1(__x) (0xf4b1 - (__x - 1) * 0x200)
  1270. #define STV090x_P1_MODCODLST1 STV090x_Px_MODCODLST1(1)
  1271. #define STV090x_P2_MODCODLST1 STV090x_Px_MODCODLST1(2)
  1272. #define STV090x_OFFST_Px_DIS_MODCOD29_FIELD 4
  1273. #define STV090x_WIDTH_Px_DIS_MODCOD29_FIELD 4
  1274. #define STV090x_OFFST_Px_DIS_32PSK_9_10_FIELD 0
  1275. #define STV090x_WIDTH_Px_DIS_32PSK_9_10_FIELD 4
  1276. #define STV090x_Px_MODCODLST2(__x) (0xf4b2 - (__x - 1) * 0x200)
  1277. #define STV090x_P1_MODCODLST2 STV090x_Px_MODCODLST2(1)
  1278. #define STV090x_P2_MODCODLST2 STV090x_Px_MODCODLST2(2)
  1279. #define STV090x_OFFST_Px_DIS_32PSK_8_9_FIELD 4
  1280. #define STV090x_WIDTH_Px_DIS_32PSK_8_9_FIELD 4
  1281. #define STV090x_OFFST_Px_DIS_32PSK_5_6_FIELD 0
  1282. #define STV090x_WIDTH_Px_DIS_32PSK_5_6_FIELD 4
  1283. #define STV090x_Px_MODCODLST3(__x) (0xf4b3 - (__x - 1) * 0x200)
  1284. #define STV090x_P1_MODCODLST3 STV090x_Px_MODCODLST3(1)
  1285. #define STV090x_P2_MODCODLST3 STV090x_Px_MODCODLST3(2)
  1286. #define STV090x_OFFST_Px_DIS_32PSK_4_5_FIELD 4
  1287. #define STV090x_WIDTH_Px_DIS_32PSK_4_5_FIELD 4
  1288. #define STV090x_OFFST_Px_DIS_32PSK_3_4_FIELD 0
  1289. #define STV090x_WIDTH_Px_DIS_32PSK_3_4_FIELD 4
  1290. #define STV090x_Px_MODCODLST4(__x) (0xf4b4 - (__x - 1) * 0x200)
  1291. #define STV090x_P1_MODCODLST4 STV090x_Px_MODCODLST4(1)
  1292. #define STV090x_P2_MODCODLST4 STV090x_Px_MODCODLST4(2)
  1293. #define STV090x_OFFST_Px_DIS_16PSK_9_10_FIELD 4
  1294. #define STV090x_WIDTH_Px_DIS_16PSK_9_10_FIELD 4
  1295. #define STV090x_OFFST_Px_DIS_16PSK_8_9_FIELD 0
  1296. #define STV090x_WIDTH_Px_DIS_16PSK_8_9_FIELD 4
  1297. #define STV090x_Px_MODCODLST5(__x) (0xf4b5 - (__x - 1) * 0x200)
  1298. #define STV090x_P1_MODCODLST5 STV090x_Px_MODCODLST5(1)
  1299. #define STV090x_P2_MODCODLST5 STV090x_Px_MODCODLST5(2)
  1300. #define STV090x_OFFST_Px_DIS_16PSK_5_6_FIELD 4
  1301. #define STV090x_WIDTH_Px_DIS_16PSK_5_6_FIELD 4
  1302. #define STV090x_OFFST_Px_DIS_16PSK_4_5_FIELD 0
  1303. #define STV090x_WIDTH_Px_DIS_16PSK_4_5_FIELD 4
  1304. #define STV090x_Px_MODCODLST6(__x) (0xf4b6 - (__x - 1) * 0x200)
  1305. #define STV090x_P1_MODCODLST6 STV090x_Px_MODCODLST6(1)
  1306. #define STV090x_P2_MODCODLST6 STV090x_Px_MODCODLST6(2)
  1307. #define STV090x_OFFST_Px_DIS_16PSK_3_4_FIELD 4
  1308. #define STV090x_WIDTH_Px_DIS_16PSK_3_4_FIELD 4
  1309. #define STV090x_OFFST_Px_DIS_16PSK_2_3_FIELD 0
  1310. #define STV090x_WIDTH_Px_DIS_16PSK_2_3_FIELD 4
  1311. #define STV090x_Px_MODCODLST7(__x) (0xf4b7 - (__x - 1) * 0x200)
  1312. #define STV090x_P1_MODCODLST7 STV090x_Px_MODCODLST7(1)
  1313. #define STV090x_P2_MODCODLST7 STV090x_Px_MODCODLST7(2)
  1314. #define STV090x_OFFST_Px_DIS_8P_9_10_FIELD 4
  1315. #define STV090x_WIDTH_Px_DIS_8P_9_10_FIELD 4
  1316. #define STV090x_OFFST_Px_DIS_8P_8_9_FIELD 0
  1317. #define STV090x_WIDTH_Px_DIS_8P_8_9_FIELD 4
  1318. #define STV090x_Px_MODCODLST8(__x) (0xf4b8 - (__x - 1) * 0x200)
  1319. #define STV090x_P1_MODCODLST8 STV090x_Px_MODCODLST8(1)
  1320. #define STV090x_P2_MODCODLST8 STV090x_Px_MODCODLST8(2)
  1321. #define STV090x_OFFST_Px_DIS_8P_5_6_FIELD 4
  1322. #define STV090x_WIDTH_Px_DIS_8P_5_6_FIELD 4
  1323. #define STV090x_OFFST_Px_DIS_8P_3_4_FIELD 0
  1324. #define STV090x_WIDTH_Px_DIS_8P_3_4_FIELD 4
  1325. #define STV090x_Px_MODCODLST9(__x) (0xf4b9 - (__x - 1) * 0x200)
  1326. #define STV090x_P1_MODCODLST9 STV090x_Px_MODCODLST9(1)
  1327. #define STV090x_P2_MODCODLST9 STV090x_Px_MODCODLST9(2)
  1328. #define STV090x_OFFST_Px_DIS_8P_2_3_FIELD 4
  1329. #define STV090x_WIDTH_Px_DIS_8P_2_3_FIELD 4
  1330. #define STV090x_OFFST_Px_DIS_8P_3_5_FIELD 0
  1331. #define STV090x_WIDTH_Px_DIS_8P_3_5_FIELD 4
  1332. #define STV090x_Px_MODCODLSTA(__x) (0xf4ba - (__x - 1) * 0x200)
  1333. #define STV090x_P1_MODCODLSTA STV090x_Px_MODCODLSTA(1)
  1334. #define STV090x_P2_MODCODLSTA STV090x_Px_MODCODLSTA(2)
  1335. #define STV090x_OFFST_Px_DIS_QP_9_10_FIELD 4
  1336. #define STV090x_WIDTH_Px_DIS_QP_9_10_FIELD 4
  1337. #define STV090x_OFFST_Px_DIS_QP_8_9_FIELD 0
  1338. #define STV090x_WIDTH_Px_DIS_QP_8_9_FIELD 4
  1339. #define STV090x_Px_MODCODLSTB(__x) (0xf4bb - (__x - 1) * 0x200)
  1340. #define STV090x_P1_MODCODLSTB STV090x_Px_MODCODLSTB(1)
  1341. #define STV090x_P2_MODCODLSTB STV090x_Px_MODCODLSTB(2)
  1342. #define STV090x_OFFST_Px_DIS_QP_5_6_FIELD 4
  1343. #define STV090x_WIDTH_Px_DIS_QP_5_6_FIELD 4
  1344. #define STV090x_OFFST_Px_DIS_QP_4_5_FIELD 0
  1345. #define STV090x_WIDTH_Px_DIS_QP_4_5_FIELD 4
  1346. #define STV090x_Px_MODCODLSTC(__x) (0xf4bc - (__x - 1) * 0x200)
  1347. #define STV090x_P1_MODCODLSTC STV090x_Px_MODCODLSTC(1)
  1348. #define STV090x_P2_MODCODLSTC STV090x_Px_MODCODLSTC(2)
  1349. #define STV090x_OFFST_Px_DIS_QP_3_4_FIELD 4
  1350. #define STV090x_WIDTH_Px_DIS_QP_3_4_FIELD 4
  1351. #define STV090x_OFFST_Px_DIS_QP_2_3_FIELD 0
  1352. #define STV090x_WIDTH_Px_DIS_QP_2_3_FIELD 4
  1353. #define STV090x_Px_MODCODLSTD(__x) (0xf4bd - (__x - 1) * 0x200)
  1354. #define STV090x_P1_MODCODLSTD STV090x_Px_MODCODLSTD(1)
  1355. #define STV090x_P2_MODCODLSTD STV090x_Px_MODCODLSTD(2)
  1356. #define STV090x_OFFST_Px_DIS_QP_3_5_FIELD 4
  1357. #define STV090x_WIDTH_Px_DIS_QP_3_5_FIELD 4
  1358. #define STV090x_OFFST_Px_DIS_QP_1_2_FIELD 0
  1359. #define STV090x_WIDTH_Px_DIS_QP_1_2_FIELD 4
  1360. #define STV090x_Px_MODCODLSTE(__x) (0xf4be - (__x - 1) * 0x200)
  1361. #define STV090x_P1_MODCODLSTE STV090x_Px_MODCODLSTE(1)
  1362. #define STV090x_P2_MODCODLSTE STV090x_Px_MODCODLSTE(2)
  1363. #define STV090x_OFFST_Px_DIS_QP_2_5_FIELD 4
  1364. #define STV090x_WIDTH_Px_DIS_QP_2_5_FIELD 4
  1365. #define STV090x_OFFST_Px_DIS_QP_1_3_FIELD 0
  1366. #define STV090x_WIDTH_Px_DIS_QP_1_3_FIELD 4
  1367. #define STV090x_Px_MODCODLSTF(__x) (0xf4bf - (__x - 1) * 0x200)
  1368. #define STV090x_P1_MODCODLSTF STV090x_Px_MODCODLSTF(1)
  1369. #define STV090x_P2_MODCODLSTF STV090x_Px_MODCODLSTF(2)
  1370. #define STV090x_OFFST_Px_DIS_QP_1_4_FIELD 4
  1371. #define STV090x_WIDTH_Px_DIS_QP_1_4_FIELD 4
  1372. #define STV090x_Px_GAUSSR0(__x) (0xf4c0 - (__x - 1) * 0x200)
  1373. #define STV090x_P1_GAUSSR0 STV090x_Px_GAUSSR0(1)
  1374. #define STV090x_P2_GAUSSR0 STV090x_Px_GAUSSR0(2)
  1375. #define STV090x_OFFST_Px_EN_CCIMODE_FIELD 7
  1376. #define STV090x_WIDTH_Px_EN_CCIMODE_FIELD 1
  1377. #define STV090x_OFFST_Px_R0_GAUSSIEN_FIELD 0
  1378. #define STV090x_WIDTH_Px_R0_GAUSSIEN_FIELD 7
  1379. #define STV090x_Px_CCIR0(__x) (0xf4c1 - (__x - 1) * 0x200)
  1380. #define STV090x_P1_CCIR0 STV090x_Px_CCIR0(1)
  1381. #define STV090x_P2_CCIR0 STV090x_Px_CCIR0(2)
  1382. #define STV090x_OFFST_Px_CCIDETECT_PLH_FIELD 7
  1383. #define STV090x_WIDTH_Px_CCIDETECT_PLH_FIELD 1
  1384. #define STV090x_OFFST_Px_R0_CCI_FIELD 0
  1385. #define STV090x_WIDTH_Px_R0_CCI_FIELD 7
  1386. #define STV090x_Px_CCIQUANT(__x) (0xf4c2 - (__x - 1) * 0x200)
  1387. #define STV090x_P1_CCIQUANT STV090x_Px_CCIQUANT(1)
  1388. #define STV090x_P2_CCIQUANT STV090x_Px_CCIQUANT(2)
  1389. #define STV090x_OFFST_Px_CCI_BETA_FIELD 5
  1390. #define STV090x_WIDTH_Px_CCI_BETA_FIELD 3
  1391. #define STV090x_OFFST_Px_CCI_QUANT_FIELD 0
  1392. #define STV090x_WIDTH_Px_CCI_QUANT_FIELD 5
  1393. #define STV090x_Px_CCITHRESH(__x) (0xf4c3 - (__x - 1) * 0x200)
  1394. #define STV090x_P1_CCITHRESH STV090x_Px_CCITHRESH(1)
  1395. #define STV090x_P2_CCITHRESH STV090x_Px_CCITHRESH(2)
  1396. #define STV090x_OFFST_Px_CCI_THRESHOLD_FIELD 0
  1397. #define STV090x_WIDTH_Px_CCI_THRESHOLD_FIELD 8
  1398. #define STV090x_Px_CCIACC(__x) (0xf4c4 - (__x - 1) * 0x200)
  1399. #define STV090x_P1_CCIACC STV090x_Px_CCIACC(1)
  1400. #define STV090x_P2_CCIACC STV090x_Px_CCIACC(2)
  1401. #define STV090x_OFFST_Px_CCI_VALUE_FIELD 0
  1402. #define STV090x_WIDTH_Px_CCI_VALUE_FIELD 8
  1403. #define STV090x_Px_DMDRESCFG(__x) (0xF4C6 - (__x - 1) * 0x200)
  1404. #define STV090x_P1_DMDRESCFG STV090x_Px_DMDRESCFG(1)
  1405. #define STV090x_P2_DMDRESCFG STV090x_Px_DMDRESCFG(2)
  1406. #define STV090x_OFFST_Px_DMDRES_RESET_FIELD 7
  1407. #define STV090x_WIDTH_Px_DMDRES_RESET_FIELD 1
  1408. #define STV090x_Px_DMDRESADR(__x) (0xF4C7 - (__x - 1) * 0x200)
  1409. #define STV090x_P1_DMDRESADR STV090x_Px_DMDRESADR(1)
  1410. #define STV090x_P2_DMDRESADR STV090x_Px_DMDRESADR(2)
  1411. #define STV090x_OFFST_Px_DMDRES_RESNBR_FIELD 0
  1412. #define STV090x_WIDTH_Px_DMDRES_RESNBR_FIELD 4
  1413. #define STV090x_Px_DMDRESDATAy(__x, __y) (0xF4C8 - (__x - 1) * 0x200 + (7 - __y))
  1414. #define STV090x_P1_DMDRESDATA0 STV090x_Px_DMDRESDATAy(1, 0)
  1415. #define STV090x_P1_DMDRESDATA1 STV090x_Px_DMDRESDATAy(1, 1)
  1416. #define STV090x_P1_DMDRESDATA2 STV090x_Px_DMDRESDATAy(1, 2)
  1417. #define STV090x_P1_DMDRESDATA3 STV090x_Px_DMDRESDATAy(1, 3)
  1418. #define STV090x_P1_DMDRESDATA4 STV090x_Px_DMDRESDATAy(1, 4)
  1419. #define STV090x_P1_DMDRESDATA5 STV090x_Px_DMDRESDATAy(1, 5)
  1420. #define STV090x_P1_DMDRESDATA6 STV090x_Px_DMDRESDATAy(1, 6)
  1421. #define STV090x_P1_DMDRESDATA7 STV090x_Px_DMDRESDATAy(1, 7)
  1422. #define STV090x_P2_DMDRESDATA0 STV090x_Px_DMDRESDATAy(2, 0)
  1423. #define STV090x_P2_DMDRESDATA1 STV090x_Px_DMDRESDATAy(2, 1)
  1424. #define STV090x_P2_DMDRESDATA2 STV090x_Px_DMDRESDATAy(2, 2)
  1425. #define STV090x_P2_DMDRESDATA3 STV090x_Px_DMDRESDATAy(2, 3)
  1426. #define STV090x_P2_DMDRESDATA4 STV090x_Px_DMDRESDATAy(2, 4)
  1427. #define STV090x_P2_DMDRESDATA5 STV090x_Px_DMDRESDATAy(2, 5)
  1428. #define STV090x_P2_DMDRESDATA6 STV090x_Px_DMDRESDATAy(2, 6)
  1429. #define STV090x_P2_DMDRESDATA7 STV090x_Px_DMDRESDATAy(2, 7)
  1430. #define STV090x_OFFST_Px_DMDRES_DATA_FIELD 0
  1431. #define STV090x_WIDTH_Px_DMDRES_DATA_FIELD 8
  1432. #define STV090x_Px_FFEIy(__x, __y) (0xf4d0 - (__x - 1) * 0x200 + 0x2 * (__y - 1))
  1433. #define STV090x_P1_FFEI1 STV090x_Px_FFEIy(1, 1)
  1434. #define STV090x_P1_FFEI2 STV090x_Px_FFEIy(1, 2)
  1435. #define STV090x_P1_FFEI3 STV090x_Px_FFEIy(1, 3)
  1436. #define STV090x_P1_FFEI4 STV090x_Px_FFEIy(1, 4)
  1437. #define STV090x_P2_FFEI1 STV090x_Px_FFEIy(2, 1)
  1438. #define STV090x_P2_FFEI2 STV090x_Px_FFEIy(2, 2)
  1439. #define STV090x_P2_FFEI3 STV090x_Px_FFEIy(2, 3)
  1440. #define STV090x_P2_FFEI4 STV090x_Px_FFEIy(2, 4)
  1441. #define STV090x_OFFST_Px_FFE_ACCIy_FIELD 0
  1442. #define STV090x_WIDTH_Px_FFE_ACCIy_FIELD 8
  1443. #define STV090x_Px_FFEQy(__x, __y) (0xf4d1 - (__x - 1) * 0x200 + 0x2 * (__y - 1))
  1444. #define STV090x_P1_FFEQ1 STV090x_Px_FFEQy(1, 1)
  1445. #define STV090x_P1_FFEQ2 STV090x_Px_FFEQy(1, 2)
  1446. #define STV090x_P1_FFEQ3 STV090x_Px_FFEQy(1, 3)
  1447. #define STV090x_P1_FFEQ4 STV090x_Px_FFEQy(1, 4)
  1448. #define STV090x_P2_FFEQ1 STV090x_Px_FFEQy(2, 1)
  1449. #define STV090x_P2_FFEQ2 STV090x_Px_FFEQy(2, 2)
  1450. #define STV090x_P2_FFEQ3 STV090x_Px_FFEQy(2, 3)
  1451. #define STV090x_P2_FFEQ4 STV090x_Px_FFEQy(2, 4)
  1452. #define STV090x_OFFST_Px_FFE_ACCQy_FIELD 0
  1453. #define STV090x_WIDTH_Px_FFE_ACCQy_FIELD 8
  1454. #define STV090x_Px_FFECFG(__x) (0xf4d8 - (__x - 1) * 0x200)
  1455. #define STV090x_P1_FFECFG STV090x_Px_FFECFG(1)
  1456. #define STV090x_P2_FFECFG STV090x_Px_FFECFG(2)
  1457. #define STV090x_OFFST_Px_EQUALFFE_ON_FIELD 6
  1458. #define STV090x_WIDTH_Px_EQUALFFE_ON_FIELD 1
  1459. #define STV090x_Px_SMAPCOEF7(__x) (0xf500 - (__x - 1) * 0x200)
  1460. #define STV090x_P1_SMAPCOEF7 STV090x_Px_SMAPCOEF7(1)
  1461. #define STV090x_P2_SMAPCOEF7 STV090x_Px_SMAPCOEF7(2)
  1462. #define STV090x_OFFST_Px_DIS_QSCALE_FIELD 7
  1463. #define STV090x_WIDTH_Px_DIS_QSCALE_FIELD 1
  1464. #define STV090x_OFFST_Px_SMAPCOEF_Q_LLR12_FIELD 0
  1465. #define STV090x_WIDTH_Px_SMAPCOEF_Q_LLR12_FIELD 7
  1466. #define STV090x_Px_SMAPCOEF6(__x) (0xf501 - (__x - 1) * 0x200)
  1467. #define STV090x_P1_SMAPCOEF6 STV090x_Px_SMAPCOEF6(1)
  1468. #define STV090x_P2_SMAPCOEF6 STV090x_Px_SMAPCOEF6(2)
  1469. #define STV090x_OFFST_Px_ADJ_8PSKLLR1_FIELD 2
  1470. #define STV090x_WIDTH_Px_ADJ_8PSKLLR1_FIELD 1
  1471. #define STV090x_OFFST_Px_OLD_8PSKLLR1_FIELD 1
  1472. #define STV090x_WIDTH_Px_OLD_8PSKLLR1_FIELD 1
  1473. #define STV090x_OFFST_Px_DIS_AB8PSK_FIELD 0
  1474. #define STV090x_WIDTH_Px_DIS_AB8PSK_FIELD 1
  1475. #define STV090x_Px_SMAPCOEF5(__x) (0xf502 - (__x - 1) * 0x200)
  1476. #define STV090x_P1_SMAPCOEF5 STV090x_Px_SMAPCOEF5(1)
  1477. #define STV090x_P2_SMAPCOEF5 STV090x_Px_SMAPCOEF5(2)
  1478. #define STV090x_OFFST_Px_DIS_8SCALE_FIELD 7
  1479. #define STV090x_WIDTH_Px_DIS_8SCALE_FIELD 1
  1480. #define STV090x_OFFST_Px_SMAPCOEF_8P_LLR23_FIELD 0
  1481. #define STV090x_WIDTH_Px_SMAPCOEF_8P_LLR23_FIELD 7
  1482. #define STV090x_Px_DMDPLHSTAT(__x) (0xF520 - (__x - 1) * 0x200)
  1483. #define STV090x_P1_DMDPLHSTAT STV090x_Px_DMDPLHSTAT(1)
  1484. #define STV090x_P2_DMDPLHSTAT STV090x_Px_DMDPLHSTAT(2)
  1485. #define STV090x_OFFST_Px_PLH_STATISTIC_FIELD 0
  1486. #define STV090x_WIDTH_Px_PLH_STATISTIC_FIELD 8
  1487. #define STV090x_Px_LOCKTIMEy(__x, __y) (0xF525 - (__x - 1) * 0x200 - __y * 0x1)
  1488. #define STV090x_P1_LOCKTIME0 STV090x_Px_LOCKTIMEy(1, 0)
  1489. #define STV090x_P1_LOCKTIME1 STV090x_Px_LOCKTIMEy(1, 1)
  1490. #define STV090x_P1_LOCKTIME2 STV090x_Px_LOCKTIMEy(1, 2)
  1491. #define STV090x_P1_LOCKTIME3 STV090x_Px_LOCKTIMEy(1, 3)
  1492. #define STV090x_P2_LOCKTIME0 STV090x_Px_LOCKTIMEy(2, 0)
  1493. #define STV090x_P2_LOCKTIME1 STV090x_Px_LOCKTIMEy(2, 1)
  1494. #define STV090x_P2_LOCKTIME2 STV090x_Px_LOCKTIMEy(2, 2)
  1495. #define STV090x_P2_LOCKTIME3 STV090x_Px_LOCKTIMEy(2, 3)
  1496. #define STV090x_OFFST_Px_DEMOD_LOCKTIME_FIELD 0
  1497. #define STV090x_WIDTH_Px_DEMOD_LOCKTIME_FIELD 8
  1498. #define STV090x_Px_TNRCFG(__x) (0xf4e0 - (__x - 1) * 0x200) /* check */
  1499. #define STV090x_P1_TNRCFG STV090x_Px_TNRCFG(1)
  1500. #define STV090x_P2_TNRCFG STV090x_Px_TNRCFG(2)
  1501. #define STV090x_Px_TNRCFG2(__x) (0xf4e1 - (__x - 1) * 0x200)
  1502. #define STV090x_P1_TNRCFG2 STV090x_Px_TNRCFG2(1)
  1503. #define STV090x_P2_TNRCFG2 STV090x_Px_TNRCFG2(2)
  1504. #define STV090x_OFFST_Px_TUN_IQSWAP_FIELD 7
  1505. #define STV090x_WIDTH_Px_TUN_IQSWAP_FIELD 1
  1506. #define STV090x_Px_VITSCALE(__x) (0xf532 - (__x - 1) * 0x200)
  1507. #define STV090x_P1_VITSCALE STV090x_Px_VITSCALE(1)
  1508. #define STV090x_P2_VITSCALE STV090x_Px_VITSCALE(2)
  1509. #define STV090x_OFFST_Px_NVTH_NOSRANGE_FIELD 7
  1510. #define STV090x_WIDTH_Px_NVTH_NOSRANGE_FIELD 1
  1511. #define STV090x_OFFST_Px_VERROR_MAXMODE_FIELD 6
  1512. #define STV090x_WIDTH_Px_VERROR_MAXMODE_FIELD 1
  1513. #define STV090x_OFFST_Px_NSLOWSN_LOCKED_FIELD 3
  1514. #define STV090x_WIDTH_Px_NSLOWSN_LOCKED_FIELD 1
  1515. #define STV090x_OFFST_Px_DIS_RSFLOCK_FIELD 1
  1516. #define STV090x_WIDTH_Px_DIS_RSFLOCK_FIELD 1
  1517. #define STV090x_Px_FECM(__x) (0xf533 - (__x - 1) * 0x200)
  1518. #define STV090x_P1_FECM STV090x_Px_FECM(1)
  1519. #define STV090x_P2_FECM STV090x_Px_FECM(2)
  1520. #define STV090x_OFFST_Px_DSS_DVB_FIELD 7
  1521. #define STV090x_WIDTH_Px_DSS_DVB_FIELD 1
  1522. #define STV090x_OFFST_Px_DSS_SRCH_FIELD 4
  1523. #define STV090x_WIDTH_Px_DSS_SRCH_FIELD 1
  1524. #define STV090x_OFFST_Px_SYNCVIT_FIELD 1
  1525. #define STV090x_WIDTH_Px_SYNCVIT_FIELD 1
  1526. #define STV090x_OFFST_Px_IQINV_FIELD 0
  1527. #define STV090x_WIDTH_Px_IQINV_FIELD 1
  1528. #define STV090x_Px_VTH12(__x) (0xf534 - (__x - 1) * 0x200)
  1529. #define STV090x_P1_VTH12 STV090x_Px_VTH12(1)
  1530. #define STV090x_P2_VTH12 STV090x_Px_VTH12(2)
  1531. #define STV090x_OFFST_Px_VTH12_FIELD 0
  1532. #define STV090x_WIDTH_Px_VTH12_FIELD 8
  1533. #define STV090x_Px_VTH23(__x) (0xf535 - (__x - 1) * 0x200)
  1534. #define STV090x_P1_VTH23 STV090x_Px_VTH23(1)
  1535. #define STV090x_P2_VTH23 STV090x_Px_VTH23(2)
  1536. #define STV090x_OFFST_Px_VTH23_FIELD 0
  1537. #define STV090x_WIDTH_Px_VTH23_FIELD 8
  1538. #define STV090x_Px_VTH34(__x) (0xf536 - (__x - 1) * 0x200)
  1539. #define STV090x_P1_VTH34 STV090x_Px_VTH34(1)
  1540. #define STV090x_P2_VTH34 STV090x_Px_VTH34(2)
  1541. #define STV090x_OFFST_Px_VTH34_FIELD 0
  1542. #define STV090x_WIDTH_Px_VTH34_FIELD 8
  1543. #define STV090x_Px_VTH56(__x) (0xf537 - (__x - 1) * 0x200)
  1544. #define STV090x_P1_VTH56 STV090x_Px_VTH56(1)
  1545. #define STV090x_P2_VTH56 STV090x_Px_VTH56(2)
  1546. #define STV090x_OFFST_Px_VTH56_FIELD 0
  1547. #define STV090x_WIDTH_Px_VTH56_FIELD 8
  1548. #define STV090x_Px_VTH67(__x) (0xf538 - (__x - 1) * 0x200)
  1549. #define STV090x_P1_VTH67 STV090x_Px_VTH67(1)
  1550. #define STV090x_P2_VTH67 STV090x_Px_VTH67(2)
  1551. #define STV090x_OFFST_Px_VTH67_FIELD 0
  1552. #define STV090x_WIDTH_Px_VTH67_FIELD 8
  1553. #define STV090x_Px_VTH78(__x) (0xf539 - (__x - 1) * 0x200)
  1554. #define STV090x_P1_VTH78 STV090x_Px_VTH78(1)
  1555. #define STV090x_P2_VTH78 STV090x_Px_VTH78(2)
  1556. #define STV090x_OFFST_Px_VTH78_FIELD 0
  1557. #define STV090x_WIDTH_Px_VTH78_FIELD 8
  1558. #define STV090x_Px_VITCURPUN(__x) (0xf53a - (__x - 1) * 0x200)
  1559. #define STV090x_P1_VITCURPUN STV090x_Px_VITCURPUN(1)
  1560. #define STV090x_P2_VITCURPUN STV090x_Px_VITCURPUN(2)
  1561. #define STV090x_OFFST_Px_VIT_CURPUN_FIELD 0
  1562. #define STV090x_WIDTH_Px_VIT_CURPUN_FIELD 5
  1563. #define STV090x_Px_VERROR(__x) (0xf53b - (__x - 1) * 0x200)
  1564. #define STV090x_P1_VERROR STV090x_Px_VERROR(1)
  1565. #define STV090x_P2_VERROR STV090x_Px_VERROR(2)
  1566. #define STV090x_OFFST_Px_REGERR_VIT_FIELD 0
  1567. #define STV090x_WIDTH_Px_REGERR_VIT_FIELD 8
  1568. #define STV090x_Px_PRVIT(__x) (0xf53c - (__x - 1) * 0x200)
  1569. #define STV090x_P1_PRVIT STV090x_Px_PRVIT(1)
  1570. #define STV090x_P2_PRVIT STV090x_Px_PRVIT(2)
  1571. #define STV090x_OFFST_Px_DIS_VTHLOCK_FIELD 6
  1572. #define STV090x_WIDTH_Px_DIS_VTHLOCK_FIELD 1
  1573. #define STV090x_OFFST_Px_E7_8VIT_FIELD 5
  1574. #define STV090x_WIDTH_Px_E7_8VIT_FIELD 1
  1575. #define STV090x_OFFST_Px_E6_7VIT_FIELD 4
  1576. #define STV090x_WIDTH_Px_E6_7VIT_FIELD 1
  1577. #define STV090x_OFFST_Px_E5_6VIT_FIELD 3
  1578. #define STV090x_WIDTH_Px_E5_6VIT_FIELD 1
  1579. #define STV090x_OFFST_Px_E3_4VIT_FIELD 2
  1580. #define STV090x_WIDTH_Px_E3_4VIT_FIELD 1
  1581. #define STV090x_OFFST_Px_E2_3VIT_FIELD 1
  1582. #define STV090x_WIDTH_Px_E2_3VIT_FIELD 1
  1583. #define STV090x_OFFST_Px_E1_2VIT_FIELD 0
  1584. #define STV090x_WIDTH_Px_E1_2VIT_FIELD 1
  1585. #define STV090x_Px_VAVSRVIT(__x) (0xf53d - (__x - 1) * 0x200)
  1586. #define STV090x_P1_VAVSRVIT STV090x_Px_VAVSRVIT(1)
  1587. #define STV090x_P2_VAVSRVIT STV090x_Px_VAVSRVIT(2)
  1588. #define STV090x_OFFST_Px_SNVIT_FIELD 4
  1589. #define STV090x_WIDTH_Px_SNVIT_FIELD 2
  1590. #define STV090x_OFFST_Px_TOVVIT_FIELD 2
  1591. #define STV090x_WIDTH_Px_TOVVIT_FIELD 2
  1592. #define STV090x_OFFST_Px_HYPVIT_FIELD 0
  1593. #define STV090x_WIDTH_Px_HYPVIT_FIELD 2
  1594. #define STV090x_Px_VSTATUSVIT(__x) (0xf53e - (__x - 1) * 0x200)
  1595. #define STV090x_P1_VSTATUSVIT STV090x_Px_VSTATUSVIT(1)
  1596. #define STV090x_P2_VSTATUSVIT STV090x_Px_VSTATUSVIT(2)
  1597. #define STV090x_OFFST_Px_PRFVIT_FIELD 4
  1598. #define STV090x_WIDTH_Px_PRFVIT_FIELD 1
  1599. #define STV090x_OFFST_Px_LOCKEDVIT_FIELD 3
  1600. #define STV090x_WIDTH_Px_LOCKEDVIT_FIELD 1
  1601. #define STV090x_Px_VTHINUSE(__x) (0xf53f - (__x - 1) * 0x200)
  1602. #define STV090x_P1_VTHINUSE STV090x_Px_VTHINUSE(1)
  1603. #define STV090x_P2_VTHINUSE STV090x_Px_VTHINUSE(2)
  1604. #define STV090x_OFFST_Px_VIT_INUSE_FIELD 0
  1605. #define STV090x_WIDTH_Px_VIT_INUSE_FIELD 8
  1606. #define STV090x_Px_KDIV12(__x) (0xf540 - (__x - 1) * 0x200)
  1607. #define STV090x_P1_KDIV12 STV090x_Px_KDIV12(1)
  1608. #define STV090x_P2_KDIV12 STV090x_Px_KDIV12(2)
  1609. #define STV090x_OFFST_Px_K_DIVIDER_12_FIELD 0
  1610. #define STV090x_WIDTH_Px_K_DIVIDER_12_FIELD 7
  1611. #define STV090x_Px_KDIV23(__x) (0xf541 - (__x - 1) * 0x200)
  1612. #define STV090x_P1_KDIV23 STV090x_Px_KDIV23(1)
  1613. #define STV090x_P2_KDIV23 STV090x_Px_KDIV23(2)
  1614. #define STV090x_OFFST_Px_K_DIVIDER_23_FIELD 0
  1615. #define STV090x_WIDTH_Px_K_DIVIDER_23_FIELD 7
  1616. #define STV090x_Px_KDIV34(__x) (0xf542 - (__x - 1) * 0x200)
  1617. #define STV090x_P1_KDIV34 STV090x_Px_KDIV34(1)
  1618. #define STV090x_P2_KDIV34 STV090x_Px_KDIV34(2)
  1619. #define STV090x_OFFST_Px_K_DIVIDER_34_FIELD 0
  1620. #define STV090x_WIDTH_Px_K_DIVIDER_34_FIELD 7
  1621. #define STV090x_Px_KDIV56(__x) (0xf543 - (__x - 1) * 0x200)
  1622. #define STV090x_P1_KDIV56 STV090x_Px_KDIV56(1)
  1623. #define STV090x_P2_KDIV56 STV090x_Px_KDIV56(2)
  1624. #define STV090x_OFFST_Px_K_DIVIDER_56_FIELD 0
  1625. #define STV090x_WIDTH_Px_K_DIVIDER_56_FIELD 7
  1626. #define STV090x_Px_KDIV67(__x) (0xf544 - (__x - 1) * 0x200)
  1627. #define STV090x_P1_KDIV67 STV090x_Px_KDIV67(1)
  1628. #define STV090x_P2_KDIV67 STV090x_Px_KDIV67(2)
  1629. #define STV090x_OFFST_Px_K_DIVIDER_67_FIELD 0
  1630. #define STV090x_WIDTH_Px_K_DIVIDER_67_FIELD 7
  1631. #define STV090x_Px_KDIV78(__x) (0xf545 - (__x - 1) * 0x200)
  1632. #define STV090x_P1_KDIV78 STV090x_Px_KDIV78(1)
  1633. #define STV090x_P2_KDIV78 STV090x_Px_KDIV78(2)
  1634. #define STV090x_OFFST_Px_K_DIVIDER_78_FIELD 0
  1635. #define STV090x_WIDTH_Px_K_DIVIDER_78_FIELD 7
  1636. #define STV090x_Px_PDELCTRL1(__x) (0xf550 - (__x - 1) * 0x200)
  1637. #define STV090x_P1_PDELCTRL1 STV090x_Px_PDELCTRL1(1)
  1638. #define STV090x_P2_PDELCTRL1 STV090x_Px_PDELCTRL1(2)
  1639. #define STV090x_OFFST_Px_INV_MISMASK_FIELD 7
  1640. #define STV090x_WIDTH_Px_INV_MISMASK_FIELD 1
  1641. #define STV090x_OFFST_Px_FILTER_EN_FIELD 5
  1642. #define STV090x_WIDTH_Px_FILTER_EN_FIELD 1
  1643. #define STV090x_OFFST_Px_EN_MIS00_FIELD 1
  1644. #define STV090x_WIDTH_Px_EN_MIS00_FIELD 1
  1645. #define STV090x_OFFST_Px_ALGOSWRST_FIELD 0
  1646. #define STV090x_WIDTH_Px_ALGOSWRST_FIELD 1
  1647. #define STV090x_Px_PDELCTRL2(__x) (0xf551 - (__x - 1) * 0x200)
  1648. #define STV090x_P1_PDELCTRL2 STV090x_Px_PDELCTRL2(1)
  1649. #define STV090x_P2_PDELCTRL2 STV090x_Px_PDELCTRL2(2)
  1650. #define STV090x_OFFST_Px_FORCE_CONTINUOUS 7
  1651. #define STV090x_WIDTH_Px_FORCE_CONTINUOUS 1
  1652. #define STV090x_OFFST_Px_RESET_UPKO_COUNT 6
  1653. #define STV090x_WIDTH_Px_RESET_UPKO_COUNT 1
  1654. #define STV090x_OFFST_Px_USER_PKTDELIN_NB 5
  1655. #define STV090x_WIDTH_Px_USER_PKTDELIN_NB 1
  1656. #define STV090x_OFFST_Px_FORCE_LOCKED 4
  1657. #define STV090x_WIDTH_Px_FORCE_LOCKED 1
  1658. #define STV090x_OFFST_Px_DATA_UNBBSCRAM 3
  1659. #define STV090x_WIDTH_Px_DATA_UNBBSCRAM 1
  1660. #define STV090x_OFFST_Px_FORCE_LONGPACKET 2
  1661. #define STV090x_WIDTH_Px_FORCE_LONGPACKET 1
  1662. #define STV090x_OFFST_Px_FRAME_MODE_FIELD 1
  1663. #define STV090x_WIDTH_Px_FRAME_MODE_FIELD 1
  1664. #define STV090x_Px_HYSTTHRESH(__x) (0xf554 - (__x - 1) * 0x200)
  1665. #define STV090x_P1_HYSTTHRESH STV090x_Px_HYSTTHRESH(1)
  1666. #define STV090x_P2_HYSTTHRESH STV090x_Px_HYSTTHRESH(2)
  1667. #define STV090x_OFFST_Px_UNLCK_THRESH_FIELD 4
  1668. #define STV090x_WIDTH_Px_UNLCK_THRESH_FIELD 4
  1669. #define STV090x_OFFST_Px_DELIN_LCK_THRESH_FIELD 0
  1670. #define STV090x_WIDTH_Px_DELIN_LCK_THRESH_FIELD 4
  1671. #define STV090x_Px_ISIENTRY(__x) (0xf55e - (__x - 1) * 0x200)
  1672. #define STV090x_P1_ISIENTRY STV090x_Px_ISIENTRY(1)
  1673. #define STV090x_P2_ISIENTRY STV090x_Px_ISIENTRY(2)
  1674. #define STV090x_OFFST_Px_ISI_ENTRY_FIELD 0
  1675. #define STV090x_WIDTH_Px_ISI_ENTRY_FIELD 8
  1676. #define STV090x_Px_ISIBITENA(__x) (0xf55f - (__x - 1) * 0x200)
  1677. #define STV090x_P1_ISIBITENA STV090x_Px_ISIBITENA(1)
  1678. #define STV090x_P2_ISIBITENA STV090x_Px_ISIBITENA(2)
  1679. #define STV090x_OFFST_Px_ISI_BIT_EN_FIELD 0
  1680. #define STV090x_WIDTH_Px_ISI_BIT_EN_FIELD 8
  1681. #define STV090x_Px_MATSTRy(__x, __y) (0xf561 - (__x - 1) * 0x200 - __y * 0x1)
  1682. #define STV090x_P1_MATSTR0 STV090x_Px_MATSTRy(1, 0)
  1683. #define STV090x_P1_MATSTR1 STV090x_Px_MATSTRy(1, 1)
  1684. #define STV090x_P2_MATSTR0 STV090x_Px_MATSTRy(2, 0)
  1685. #define STV090x_P2_MATSTR1 STV090x_Px_MATSTRy(2, 1)
  1686. #define STV090x_OFFST_Px_MATYPE_CURRENT_FIELD 0
  1687. #define STV090x_WIDTH_Px_MATYPE_CURRENT_FIELD 8
  1688. #define STV090x_Px_UPLSTRy(__x, __y) (0xf563 - (__x - 1) * 0x200 - __y * 0x1)
  1689. #define STV090x_P1_UPLSTR0 STV090x_Px_UPLSTRy(1, 0)
  1690. #define STV090x_P1_UPLSTR1 STV090x_Px_UPLSTRy(1, 1)
  1691. #define STV090x_P2_UPLSTR0 STV090x_Px_UPLSTRy(2, 0)
  1692. #define STV090x_P2_UPLSTR1 STV090x_Px_UPLSTRy(2, 1)
  1693. #define STV090x_OFFST_Px_UPL_CURRENT_FIELD 0
  1694. #define STV090x_WIDTH_Px_UPL_CURRENT_FIELD 8
  1695. #define STV090x_Px_DFLSTRy(__x, __y) (0xf565 - (__x - 1) * 0x200 - __y * 0x1)
  1696. #define STV090x_P1_DFLSTR0 STV090x_Px_DFLSTRy(1, 0)
  1697. #define STV090x_P1_DFLSTR1 STV090x_Px_DFLSTRy(1, 1)
  1698. #define STV090x_P2_DFLSTR0 STV090x_Px_DFLSTRy(2, 0)
  1699. #define STV090x_P2_DFLSTR1 STV090x_Px_DFLSTRy(2, 1)
  1700. #define STV090x_OFFST_Px_DFL_CURRENT_FIELD 0
  1701. #define STV090x_WIDTH_Px_DFL_CURRENT_FIELD 8
  1702. #define STV090x_Px_SYNCSTR(__x) (0xf566 - (__x - 1) * 0x200)
  1703. #define STV090x_P1_SYNCSTR STV090x_Px_SYNCSTR(1)
  1704. #define STV090x_P2_SYNCSTR STV090x_Px_SYNCSTR(2)
  1705. #define STV090x_OFFST_Px_SYNC_CURRENT_FIELD 0
  1706. #define STV090x_WIDTH_Px_SYNC_CURRENT_FIELD 8
  1707. #define STV090x_Px_SYNCDSTRy(__x, __y) (0xf568 - (__x - 1) * 0x200 - __y * 0x1)
  1708. #define STV090x_P1_SYNCDSTR0 STV090x_Px_SYNCDSTRy(1, 0)
  1709. #define STV090x_P1_SYNCDSTR1 STV090x_Px_SYNCDSTRy(1, 1)
  1710. #define STV090x_P2_SYNCDSTR0 STV090x_Px_SYNCDSTRy(2, 0)
  1711. #define STV090x_P2_SYNCDSTR1 STV090x_Px_SYNCDSTRy(2, 1)
  1712. #define STV090x_OFFST_Px_SYNCD_CURRENT_FIELD 0
  1713. #define STV090x_WIDTH_Px_SYNCD_CURRENT_FIELD 8
  1714. #define STV090x_Px_PDELSTATUS1(__x) (0xf569 - (__x - 1) * 0x200)
  1715. #define STV090x_P1_PDELSTATUS1 STV090x_Px_PDELSTATUS1(1)
  1716. #define STV090x_P2_PDELSTATUS1 STV090x_Px_PDELSTATUS1(2)
  1717. #define STV090x_OFFST_Px_PKTDELIN_LOCK_FIELD 1
  1718. #define STV090x_WIDTH_Px_PKTDELIN_LOCK_FIELD 1
  1719. #define STV090x_OFFST_Px_FIRST_LOCK_FIELD 0
  1720. #define STV090x_WIDTH_Px_FIRST_LOCK_FIELD 1
  1721. #define STV090x_Px_PDELSTATUS2(__x) (0xf56a - (__x - 1) * 0x200)
  1722. #define STV090x_P1_PDELSTATUS2 STV090x_Px_PDELSTATUS2(1)
  1723. #define STV090x_P2_PDELSTATUS2 STV090x_Px_PDELSTATUS2(2)
  1724. #define STV090x_OFFST_Px_FRAME_MODCOD_FIELD 2
  1725. #define STV090x_WIDTH_Px_FRAME_MODCOD_FIELD 5
  1726. #define STV090x_OFFST_Px_FRAME_TYPE_FIELD 0
  1727. #define STV090x_WIDTH_Px_FRAME_TYPE_FIELD 2
  1728. #define STV090x_Px_BBFCRCKO1(__x) (0xf56b - (__x - 1) * 0x200)
  1729. #define STV090x_P1_BBFCRCKO1 STV090x_Px_BBFCRCKO1(1)
  1730. #define STV090x_P2_BBFCRCKO1 STV090x_Px_BBFCRCKO1(2)
  1731. #define STV090x_OFFST_Px_BBHCRC_KOCNT_FIELD 0
  1732. #define STV090x_WIDTH_Px_BBHCRC_KOCNT_FIELD 8
  1733. #define STV090x_Px_BBFCRCKO0(__x) (0xf56c - (__x - 1) * 0x200)
  1734. #define STV090x_P1_BBFCRCKO0 STV090x_Px_BBFCRCKO0(1)
  1735. #define STV090x_P2_BBFCRCKO0 STV090x_Px_BBFCRCKO0(2)
  1736. #define STV090x_OFFST_Px_BBHCRC_KOCNT_FIELD 0
  1737. #define STV090x_WIDTH_Px_BBHCRC_KOCNT_FIELD 8
  1738. #define STV090x_Px_UPCRCKO1(__x) (0xf56d - (__x - 1) * 0x200)
  1739. #define STV090x_P1_UPCRCKO1 STV090x_Px_UPCRCKO1(1)
  1740. #define STV090x_P2_UPCRCKO1 STV090x_Px_UPCRCKO1(2)
  1741. #define STV090x_OFFST_Px_PKTCRC_KOCNT_FIELD 0
  1742. #define STV090x_WIDTH_Px_PKTCRC_KOCNT_FIELD 8
  1743. #define STV090x_Px_UPCRCKO0(__x) (0xf56e - (__x - 1) * 0x200)
  1744. #define STV090x_P1_UPCRCKO0 STV090x_Px_UPCRCKO0(1)
  1745. #define STV090x_P2_UPCRCKO0 STV090x_Px_UPCRCKO0(2)
  1746. #define STV090x_OFFST_Px_PKTCRC_KOCNT_FIELD 0
  1747. #define STV090x_WIDTH_Px_PKTCRC_KOCNT_FIELD 8
  1748. #define STV090x_NBITER_NFx(__x) (0xFA03 + (__x - 4) * 0x1)
  1749. #define STV090x_NBITER_NF4 STV090x_NBITER_NFx(4)
  1750. #define STV090x_NBITER_NF5 STV090x_NBITER_NFx(5)
  1751. #define STV090x_NBITER_NF6 STV090x_NBITER_NFx(6)
  1752. #define STV090x_NBITER_NF7 STV090x_NBITER_NFx(7)
  1753. #define STV090x_NBITER_NF8 STV090x_NBITER_NFx(8)
  1754. #define STV090x_NBITER_NF9 STV090x_NBITER_NFx(9)
  1755. #define STV090x_NBITER_NF10 STV090x_NBITER_NFx(10)
  1756. #define STV090x_NBITER_NF11 STV090x_NBITER_NFx(11)
  1757. #define STV090x_NBITER_NF12 STV090x_NBITER_NFx(12)
  1758. #define STV090x_NBITER_NF13 STV090x_NBITER_NFx(13)
  1759. #define STV090x_NBITER_NF14 STV090x_NBITER_NFx(14)
  1760. #define STV090x_NBITER_NF15 STV090x_NBITER_NFx(15)
  1761. #define STV090x_NBITER_NF16 STV090x_NBITER_NFx(16)
  1762. #define STV090x_NBITER_NF17 STV090x_NBITER_NFx(17)
  1763. #define STV090x_NBITERNOERR 0xFA3F
  1764. #define STV090x_OFFST_NBITER_STOP_CRIT_FIELD 0
  1765. #define STV090x_WIDTH_NBITER_STOP_CRIT_FIELD 4
  1766. #define STV090x_GAINLLR_NFx(__x) (0xFA43 + (__x - 4) * 0x1)
  1767. #define STV090x_GAINLLR_NF4 STV090x_GAINLLR_NFx(4)
  1768. #define STV090x_OFFST_GAINLLR_NF_QP_1_2_FIELD 0
  1769. #define STV090x_WIDTH_GAINLLR_NF_QP_1_2_FIELD 7
  1770. #define STV090x_GAINLLR_NF5 STV090x_GAINLLR_NFx(5)
  1771. #define STV090x_OFFST_GAINLLR_NF_QP_3_5_FIELD 0
  1772. #define STV090x_WIDTH_GAINLLR_NF_QP_3_5_FIELD 7
  1773. #define STV090x_GAINLLR_NF6 STV090x_GAINLLR_NFx(6)
  1774. #define STV090x_OFFST_GAINLLR_NF_QP_2_3_FIELD 0
  1775. #define STV090x_WIDTH_GAINLLR_NF_QP_2_3_FIELD 7
  1776. #define STV090x_GAINLLR_NF7 STV090x_GAINLLR_NFx(7)
  1777. #define STV090x_OFFST_GAINLLR_NF_QP_3_4_FIELD 0
  1778. #define STV090x_WIDTH_GAINLLR_NF_QP_3_4_FIELD 7
  1779. #define STV090x_GAINLLR_NF8 STV090x_GAINLLR_NFx(8)
  1780. #define STV090x_OFFST_GAINLLR_NF_QP_4_5_FIELD 0
  1781. #define STV090x_WIDTH_GAINLLR_NF_QP_4_5_FIELD 7
  1782. #define STV090x_GAINLLR_NF9 STV090x_GAINLLR_NFx(9)
  1783. #define STV090x_OFFST_GAINLLR_NF_QP_5_6_FIELD 0
  1784. #define STV090x_WIDTH_GAINLLR_NF_QP_5_6_FIELD 7
  1785. #define STV090x_GAINLLR_NF10 STV090x_GAINLLR_NFx(10)
  1786. #define STV090x_OFFST_GAINLLR_NF_QP_8_9_FIELD 0
  1787. #define STV090x_WIDTH_GAINLLR_NF_QP_8_9_FIELD 7
  1788. #define STV090x_GAINLLR_NF11 STV090x_GAINLLR_NFx(11)
  1789. #define STV090x_OFFST_GAINLLR_NF_QP_9_10_FIELD 0
  1790. #define STV090x_WIDTH_GAINLLR_NF_QP_9_10_FIELD 7
  1791. #define STV090x_GAINLLR_NF12 STV090x_GAINLLR_NFx(12)
  1792. #define STV090x_OFFST_GAINLLR_NF_8P_3_5_FIELD 0
  1793. #define STV090x_WIDTH_GAINLLR_NF_8P_3_5_FIELD 7
  1794. #define STV090x_GAINLLR_NF13 STV090x_GAINLLR_NFx(13)
  1795. #define STV090x_OFFST_GAINLLR_NF_8P_2_3_FIELD 0
  1796. #define STV090x_WIDTH_GAINLLR_NF_8P_2_3_FIELD 7
  1797. #define STV090x_GAINLLR_NF14 STV090x_GAINLLR_NFx(14)
  1798. #define STV090x_OFFST_GAINLLR_NF_8P_3_4_FIELD 0
  1799. #define STV090x_WIDTH_GAINLLR_NF_8P_3_4_FIELD 7
  1800. #define STV090x_GAINLLR_NF15 STV090x_GAINLLR_NFx(15)
  1801. #define STV090x_OFFST_GAINLLR_NF_8P_5_6_FIELD 0
  1802. #define STV090x_WIDTH_GAINLLR_NF_8P_5_6_FIELD 7
  1803. #define STV090x_GAINLLR_NF16 STV090x_GAINLLR_NFx(16)
  1804. #define STV090x_OFFST_GAINLLR_NF_8P_8_9_FIELD 0
  1805. #define STV090x_WIDTH_GAINLLR_NF_8P_8_9_FIELD 7
  1806. #define STV090x_GAINLLR_NF17 STV090x_GAINLLR_NFx(17)
  1807. #define STV090x_OFFST_GAINLLR_NF_8P_9_10_FIELD 0
  1808. #define STV090x_WIDTH_GAINLLR_NF_8P_9_10_FIELD 7
  1809. #define STV090x_GENCFG 0xFA86
  1810. #define STV090x_OFFST_BROADCAST_FIELD 4
  1811. #define STV090x_WIDTH_BROADCAST_FIELD 1
  1812. #define STV090x_OFFST_PRIORITY_FIELD 1
  1813. #define STV090x_WIDTH_PRIORITY_FIELD 1
  1814. #define STV090x_OFFST_DDEMOD_FIELD 0
  1815. #define STV090x_WIDTH_DDEMOD_FIELD 1
  1816. #define STV090x_LDPCERRx(__x) (0xFA97 - (__x * 0x1))
  1817. #define STV090x_LDPCERR0 STV090x_LDPCERRx(0)
  1818. #define STV090x_LDPCERR1 STV090x_LDPCERRx(1)
  1819. #define STV090x_OFFST_Px_LDPC_ERRORS_COUNTER_FIELD 0
  1820. #define STV090x_WIDTH_Px_LDPC_ERRORS_COUNTER_FIELD 8
  1821. #define STV090x_BCHERR 0xFA98
  1822. #define STV090x_OFFST_Px_ERRORFLAG_FIELD 4
  1823. #define STV090x_WIDTH_Px_ERRORFLAG_FIELD 1
  1824. #define STV090x_OFFST_Px_BCH_ERRORS_COUNTER_FIELD 0
  1825. #define STV090x_WIDTH_Px_BCH_ERRORS_COUNTER_FIELD 4
  1826. #define STV090x_Px_TSSTATEM(__x) (0xF570 - (__x - 1) * 0x200)
  1827. #define STV090x_P1_TSSTATEM STV090x_Px_TSSTATEM(1)
  1828. #define STV090x_P2_TSSTATEM STV090x_Px_TSSTATEM(2)
  1829. #define STV090x_OFFST_Px_TSDIL_ON_FIELD 7
  1830. #define STV090x_WIDTH_Px_TSDIL_ON_FIELD 1
  1831. #define STV090x_OFFST_Px_TSRS_ON_FIELD 5
  1832. #define STV090x_WIDTH_Px_TSRS_ON_FIELD 1
  1833. #define STV090x_Px_TSCFGH(__x) (0xF572 - (__x - 1) * 0x200)
  1834. #define STV090x_P1_TSCFGH STV090x_Px_TSCFGH(1)
  1835. #define STV090x_P2_TSCFGH STV090x_Px_TSCFGH(2)
  1836. #define STV090x_OFFST_Px_TSFIFO_DVBCI_FIELD 7
  1837. #define STV090x_WIDTH_Px_TSFIFO_DVBCI_FIELD 1
  1838. #define STV090x_OFFST_Px_TSFIFO_SERIAL_FIELD 6
  1839. #define STV090x_WIDTH_Px_TSFIFO_SERIAL_FIELD 1
  1840. #define STV090x_OFFST_Px_TSFIFO_TEIUPDATE_FIELD 5
  1841. #define STV090x_WIDTH_Px_TSFIFO_TEIUPDATE_FIELD 1
  1842. #define STV090x_OFFST_Px_TSFIFO_DUTY50_FIELD 4
  1843. #define STV090x_WIDTH_Px_TSFIFO_DUTY50_FIELD 1
  1844. #define STV090x_OFFST_Px_TSFIFO_HSGNLOUT_FIELD 3
  1845. #define STV090x_WIDTH_Px_TSFIFO_HSGNLOUT_FIELD 1
  1846. #define STV090x_OFFST_Px_TSFIFO_ERRORMODE_FIELD 1
  1847. #define STV090x_WIDTH_Px_TSFIFO_ERRORMODE_FIELD 2
  1848. #define STV090x_OFFST_Px_RST_HWARE_FIELD 0
  1849. #define STV090x_WIDTH_Px_RST_HWARE_FIELD 1
  1850. #define STV090x_Px_TSCFGM(__x) (0xF573 - (__x - 1) * 0x200)
  1851. #define STV090x_P1_TSCFGM STV090x_Px_TSCFGM(1)
  1852. #define STV090x_P2_TSCFGM STV090x_Px_TSCFGM(2)
  1853. #define STV090x_OFFST_Px_TSFIFO_MANSPEED_FIELD 6
  1854. #define STV090x_WIDTH_Px_TSFIFO_MANSPEED_FIELD 2
  1855. #define STV090x_OFFST_Px_TSFIFO_PERMDATA_FIELD 5
  1856. #define STV090x_WIDTH_Px_TSFIFO_PERMDATA_FIELD 1
  1857. #define STV090x_OFFST_Px_TSFIFO_INVDATA_FIELD 0
  1858. #define STV090x_WIDTH_Px_TSFIFO_INVDATA_FIELD 1
  1859. #define STV090x_Px_TSCFGL(__x) (0xF574 - (__x - 1) * 0x200)
  1860. #define STV090x_P1_TSCFGL STV090x_Px_TSCFGL(1)
  1861. #define STV090x_P2_TSCFGL STV090x_Px_TSCFGL(2)
  1862. #define STV090x_OFFST_Px_TSFIFO_BCLKDEL1CK_FIELD 6
  1863. #define STV090x_WIDTH_Px_TSFIFO_BCLKDEL1CK_FIELD 2
  1864. #define STV090x_OFFST_Px_BCHERROR_MODE_FIELD 4
  1865. #define STV090x_WIDTH_Px_BCHERROR_MODE_FIELD 2
  1866. #define STV090x_OFFST_Px_TSFIFO_NSGNL2DATA_FIELD 3
  1867. #define STV090x_WIDTH_Px_TSFIFO_NSGNL2DATA_FIELD 1
  1868. #define STV090x_OFFST_Px_TSFIFO_EMBINDVB_FIELD 2
  1869. #define STV090x_WIDTH_Px_TSFIFO_EMBINDVB_FIELD 1
  1870. #define STV090x_OFFST_Px_TSFIFO_DPUNACT_FIELD 1
  1871. #define STV090x_WIDTH_Px_TSFIFO_DPUNACT_FIELD 1
  1872. #define STV090x_Px_TSINSDELH(__x) (0xF576 - (__x - 1) * 0x200)
  1873. #define STV090x_P1_TSINSDELH STV090x_Px_TSINSDELH(1)
  1874. #define STV090x_P2_TSINSDELH STV090x_Px_TSINSDELH(2)
  1875. #define STV090x_OFFST_Px_TSDEL_SYNCBYTE_FIELD 7
  1876. #define STV090x_WIDTH_Px_TSDEL_SYNCBYTE_FIELD 1
  1877. #define STV090x_OFFST_Px_TSDEL_XXHEADER_FIELD 6
  1878. #define STV090x_WIDTH_Px_TSDEL_XXHEADER_FIELD 1
  1879. #define STV090x_Px_TSSPEED(__x) (0xF580 - (__x - 1) * 0x200)
  1880. #define STV090x_P1_TSSPEED STV090x_Px_TSSPEED(1)
  1881. #define STV090x_P2_TSSPEED STV090x_Px_TSSPEED(2)
  1882. #define STV090x_OFFST_Px_TSFIFO_OUTSPEED_FIELD 0
  1883. #define STV090x_WIDTH_Px_TSFIFO_OUTSPEED_FIELD 8
  1884. #define STV090x_Px_TSSTATUS(__x) (0xF581 - (__x - 1) * 0x200)
  1885. #define STV090x_P1_TSSTATUS STV090x_Px_TSSTATUS(1)
  1886. #define STV090x_P2_TSSTATUS STV090x_Px_TSSTATUS(2)
  1887. #define STV090x_OFFST_Px_TSFIFO_LINEOK_FIELD 7
  1888. #define STV090x_WIDTH_Px_TSFIFO_LINEOK_FIELD 1
  1889. #define STV090x_OFFST_Px_TSFIFO_ERROR_FIELD 6
  1890. #define STV090x_WIDTH_Px_TSFIFO_ERROR_FIELD 1
  1891. #define STV090x_Px_TSSTATUS2(__x) (0xF582 - (__x - 1) * 0x200)
  1892. #define STV090x_P1_TSSTATUS2 STV090x_Px_TSSTATUS2(1)
  1893. #define STV090x_P2_TSSTATUS2 STV090x_Px_TSSTATUS2(2)
  1894. #define STV090x_OFFST_Px_TSFIFO_DEMODSEL_FIELD 7
  1895. #define STV090x_WIDTH_Px_TSFIFO_DEMODSEL_FIELD 1
  1896. #define STV090x_OFFST_Px_TSFIFOSPEED_STORE_FIELD 6
  1897. #define STV090x_WIDTH_Px_TSFIFOSPEED_STORE_FIELD 1
  1898. #define STV090x_OFFST_Px_DILXX_RESET_FIELD 5
  1899. #define STV090x_WIDTH_Px_DILXX_RESET_FIELD 1
  1900. #define STV090x_OFFST_Px_TSSERIAL_IMPOS_FIELD 4
  1901. #define STV090x_WIDTH_Px_TSSERIAL_IMPOS_FIELD 1
  1902. #define STV090x_OFFST_Px_SCRAMBDETECT_FIELD 1
  1903. #define STV090x_WIDTH_Px_SCRAMBDETECT_FIELD 1
  1904. #define STV090x_Px_TSBITRATEy(__x, __y) (0xF584 - (__x - 1) * 0x200 - __y * 0x1)
  1905. #define STV090x_P1_TSBITRATE0 STV090x_Px_TSBITRATEy(1, 0)
  1906. #define STV090x_P1_TSBITRATE1 STV090x_Px_TSBITRATEy(1, 1)
  1907. #define STV090x_P2_TSBITRATE0 STV090x_Px_TSBITRATEy(2, 0)
  1908. #define STV090x_P2_TSBITRATE1 STV090x_Px_TSBITRATEy(2, 1)
  1909. #define STV090x_OFFST_Px_TSFIFO_BITRATE_FIELD 0
  1910. #define STV090x_WIDTH_Px_TSFIFO_BITRATE_FIELD 8
  1911. #define STV090x_Px_ERRCTRL1(__x) (0xF598 - (__x - 1) * 0x200)
  1912. #define STV090x_P1_ERRCTRL1 STV090x_Px_ERRCTRL1(1)
  1913. #define STV090x_P2_ERRCTRL1 STV090x_Px_ERRCTRL1(2)
  1914. #define STV090x_OFFST_Px_ERR_SOURCE_FIELD 4
  1915. #define STV090x_WIDTH_Px_ERR_SOURCE_FIELD 4
  1916. #define STV090x_OFFST_Px_NUM_EVENT_FIELD 0
  1917. #define STV090x_WIDTH_Px_NUM_EVENT_FIELD 3
  1918. #define STV090x_Px_ERRCNT12(__x) (0xF599 - (__x - 1) * 0x200)
  1919. #define STV090x_P1_ERRCNT12 STV090x_Px_ERRCNT12(1)
  1920. #define STV090x_P2_ERRCNT12 STV090x_Px_ERRCNT12(2)
  1921. #define STV090x_OFFST_Px_ERRCNT1_OLDVALUE_FIELD 7
  1922. #define STV090x_WIDTH_Px_ERRCNT1_OLDVALUE_FIELD 1
  1923. #define STV090x_OFFST_Px_ERR_CNT12_FIELD 0
  1924. #define STV090x_WIDTH_Px_ERR_CNT12_FIELD 7
  1925. #define STV090x_Px_ERRCNT11(__x) (0xF59A - (__x - 1) * 0x200)
  1926. #define STV090x_P1_ERRCNT11 STV090x_Px_ERRCNT11(1)
  1927. #define STV090x_P2_ERRCNT11 STV090x_Px_ERRCNT11(2)
  1928. #define STV090x_OFFST_Px_ERR_CNT11_FIELD 0
  1929. #define STV090x_WIDTH_Px_ERR_CNT11_FIELD 8
  1930. #define STV090x_Px_ERRCNT10(__x) (0xF59B - (__x - 1) * 0x200)
  1931. #define STV090x_P1_ERRCNT10 STV090x_Px_ERRCNT10(1)
  1932. #define STV090x_P2_ERRCNT10 STV090x_Px_ERRCNT10(2)
  1933. #define STV090x_OFFST_Px_ERR_CNT10_FIELD 0
  1934. #define STV090x_WIDTH_Px_ERR_CNT10_FIELD 8
  1935. #define STV090x_Px_ERRCTRL2(__x) (0xF59C - (__x - 1) * 0x200)
  1936. #define STV090x_P1_ERRCTRL2 STV090x_Px_ERRCTRL2(1)
  1937. #define STV090x_P2_ERRCTRL2 STV090x_Px_ERRCTRL2(2)
  1938. #define STV090x_OFFST_Px_ERR_SOURCE2_FIELD 4
  1939. #define STV090x_WIDTH_Px_ERR_SOURCE2_FIELD 4
  1940. #define STV090x_OFFST_Px_NUM_EVENT2_FIELD 0
  1941. #define STV090x_WIDTH_Px_NUM_EVENT2_FIELD 3
  1942. #define STV090x_Px_ERRCNT22(__x) (0xF59D - (__x - 1) * 0x200)
  1943. #define STV090x_P1_ERRCNT22 STV090x_Px_ERRCNT22(1)
  1944. #define STV090x_P2_ERRCNT22 STV090x_Px_ERRCNT22(2)
  1945. #define STV090x_OFFST_Px_ERRCNT2_OLDVALUE_FIELD 7
  1946. #define STV090x_WIDTH_Px_ERRCNT2_OLDVALUE_FIELD 1
  1947. #define STV090x_OFFST_Px_ERR_CNT2_FIELD 0
  1948. #define STV090x_WIDTH_Px_ERR_CNT2_FIELD 7
  1949. #define STV090x_Px_ERRCNT21(__x) (0xF59E - (__x - 1) * 0x200)
  1950. #define STV090x_P1_ERRCNT21 STV090x_Px_ERRCNT21(1)
  1951. #define STV090x_P2_ERRCNT21 STV090x_Px_ERRCNT21(2)
  1952. #define STV090x_OFFST_Px_ERR_CNT21_FIELD 0
  1953. #define STV090x_WIDTH_Px_ERR_CNT21_FIELD 8
  1954. #define STV090x_Px_ERRCNT20(__x) (0xF59F - (__x - 1) * 0x200)
  1955. #define STV090x_P1_ERRCNT20 STV090x_Px_ERRCNT20(1)
  1956. #define STV090x_P2_ERRCNT20 STV090x_Px_ERRCNT20(2)
  1957. #define STV090x_OFFST_Px_ERR_CNT20_FIELD 0
  1958. #define STV090x_WIDTH_Px_ERR_CNT20_FIELD 8
  1959. #define STV090x_Px_FECSPY(__x) (0xF5A0 - (__x - 1) * 0x200)
  1960. #define STV090x_P1_FECSPY STV090x_Px_FECSPY(1)
  1961. #define STV090x_P2_FECSPY STV090x_Px_FECSPY(2)
  1962. #define STV090x_OFFST_Px_SPY_ENABLE_FIELD 7
  1963. #define STV090x_WIDTH_Px_SPY_ENABLE_FIELD 1
  1964. #define STV090x_OFFST_Px_BERMETER_DATAMAODE_FIELD 2
  1965. #define STV090x_WIDTH_Px_BERMETER_DATAMAODE_FIELD 2
  1966. #define STV090x_Px_FSPYCFG(__x) (0xF5A1 - (__x - 1) * 0x200)
  1967. #define STV090x_P1_FSPYCFG STV090x_Px_FSPYCFG(1)
  1968. #define STV090x_P2_FSPYCFG STV090x_Px_FSPYCFG(2)
  1969. #define STV090x_OFFST_Px_RST_ON_ERROR_FIELD 5
  1970. #define STV090x_WIDTH_Px_RST_ON_ERROR_FIELD 1
  1971. #define STV090x_OFFST_Px_ONE_SHOT_FIELD 4
  1972. #define STV090x_WIDTH_Px_ONE_SHOT_FIELD 1
  1973. #define STV090x_OFFST_Px_I2C_MODE_FIELD 2
  1974. #define STV090x_WIDTH_Px_I2C_MODE_FIELD 2
  1975. #define STV090x_Px_FSPYDATA(__x) (0xF5A2 - (__x - 1) * 0x200)
  1976. #define STV090x_P1_FSPYDATA STV090x_Px_FSPYDATA(1)
  1977. #define STV090x_P2_FSPYDATA STV090x_Px_FSPYDATA(2)
  1978. #define STV090x_OFFST_Px_SPY_STUFFING_FIELD 7
  1979. #define STV090x_WIDTH_Px_SPY_STUFFING_FIELD 1
  1980. #define STV090x_OFFST_Px_SPY_CNULLPKT_FIELD 5
  1981. #define STV090x_WIDTH_Px_SPY_CNULLPKT_FIELD 1
  1982. #define STV090x_OFFST_Px_SPY_OUTDATA_MODE_FIELD 0
  1983. #define STV090x_WIDTH_Px_SPY_OUTDATA_MODE_FIELD 5
  1984. #define STV090x_Px_FSPYOUT(__x) (0xF5A3 - (__x - 1) * 0x200)
  1985. #define STV090x_P1_FSPYOUT STV090x_Px_FSPYOUT(1)
  1986. #define STV090x_P2_FSPYOUT STV090x_Px_FSPYOUT(2)
  1987. #define STV090x_OFFST_Px_FSPY_DIRECT_FIELD 7
  1988. #define STV090x_WIDTH_Px_FSPY_DIRECT_FIELD 1
  1989. #define STV090x_OFFST_Px_STUFF_MODE_FIELD 0
  1990. #define STV090x_WIDTH_Px_STUFF_MODE_FIELD 3
  1991. #define STV090x_Px_FSTATUS(__x) (0xF5A4 - (__x - 1) * 0x200)
  1992. #define STV090x_P1_FSTATUS STV090x_Px_FSTATUS(1)
  1993. #define STV090x_P2_FSTATUS STV090x_Px_FSTATUS(2)
  1994. #define STV090x_OFFST_Px_SPY_ENDSIM_FIELD 7
  1995. #define STV090x_WIDTH_Px_SPY_ENDSIM_FIELD 1
  1996. #define STV090x_OFFST_Px_VALID_SIM_FIELD 6
  1997. #define STV090x_WIDTH_Px_VALID_SIM_FIELD 1
  1998. #define STV090x_OFFST_Px_FOUND_SIGNAL_FIELD 5
  1999. #define STV090x_WIDTH_Px_FOUND_SIGNAL_FIELD 1
  2000. #define STV090x_OFFST_Px_DSS_SYNCBYTE_FIELD 4
  2001. #define STV090x_WIDTH_Px_DSS_SYNCBYTE_FIELD 1
  2002. #define STV090x_OFFST_Px_RESULT_STATE_FIELD 0
  2003. #define STV090x_WIDTH_Px_RESULT_STATE_FIELD 4
  2004. #define STV090x_Px_FBERCPT4(__x) (0xF5A8 - (__x - 1) * 0x200)
  2005. #define STV090x_P1_FBERCPT4 STV090x_Px_FBERCPT4(1)
  2006. #define STV090x_P2_FBERCPT4 STV090x_Px_FBERCPT4(2)
  2007. #define STV090x_OFFST_Px_FBERMETER_CPT_FIELD 0
  2008. #define STV090x_WIDTH_Px_FBERMETER_CPT_FIELD 8
  2009. #define STV090x_Px_FBERCPT3(__x) (0xF5A9 - (__x - 1) * 0x200)
  2010. #define STV090x_P1_FBERCPT3 STV090x_Px_FBERCPT3(1)
  2011. #define STV090x_P2_FBERCPT3 STV090x_Px_FBERCPT3(2)
  2012. #define STV090x_OFFST_Px_FBERMETER_CPT_FIELD 0
  2013. #define STV090x_WIDTH_Px_FBERMETER_CPT_FIELD 8
  2014. #define STV090x_Px_FBERCPT2(__x) (0xF5AA - (__x - 1) * 0x200)
  2015. #define STV090x_P1_FBERCPT2 STV090x_Px_FBERCPT2(1)
  2016. #define STV090x_P2_FBERCPT2 STV090x_Px_FBERCPT2(2)
  2017. #define STV090x_OFFST_Px_FBERMETER_CPT_FIELD 0
  2018. #define STV090x_WIDTH_Px_FBERMETER_CPT_FIELD 8
  2019. #define STV090x_Px_FBERCPT1(__x) (0xF5AB - (__x - 1) * 0x200)
  2020. #define STV090x_P1_FBERCPT1 STV090x_Px_FBERCPT1(1)
  2021. #define STV090x_P2_FBERCPT1 STV090x_Px_FBERCPT1(2)
  2022. #define STV090x_OFFST_Px_FBERMETER_CPT_FIELD 0
  2023. #define STV090x_WIDTH_Px_FBERMETER_CPT_FIELD 8
  2024. #define STV090x_Px_FBERCPT0(__x) (0xF5AC - (__x - 1) * 0x200)
  2025. #define STV090x_P1_FBERCPT0 STV090x_Px_FBERCPT0(1)
  2026. #define STV090x_P2_FBERCPT0 STV090x_Px_FBERCPT0(2)
  2027. #define STV090x_OFFST_Px_FBERMETER_CPT_FIELD 0
  2028. #define STV090x_WIDTH_Px_FBERMETER_CPT_FIELD 8
  2029. #define STV090x_Px_FBERERRy(__x, __y) (0xF5AF - (__x - 1) * 0x200 - __y * 0x1)
  2030. #define STV090x_P1_FBERERR0 STV090x_Px_FBERERRy(1, 0)
  2031. #define STV090x_P1_FBERERR1 STV090x_Px_FBERERRy(1, 1)
  2032. #define STV090x_P1_FBERERR2 STV090x_Px_FBERERRy(1, 2)
  2033. #define STV090x_P2_FBERERR0 STV090x_Px_FBERERRy(2, 0)
  2034. #define STV090x_P2_FBERERR1 STV090x_Px_FBERERRy(2, 1)
  2035. #define STV090x_P2_FBERERR2 STV090x_Px_FBERERRy(2, 2)
  2036. #define STV090x_OFFST_Px_FBERMETER_CPT_ERR_FIELD 0
  2037. #define STV090x_WIDTH_Px_FBERMETER_CPT_ERR_FIELD 8
  2038. #define STV090x_Px_FSPYBER(__x) (0xF5B2 - (__x - 1) * 0x200)
  2039. #define STV090x_P1_FSPYBER STV090x_Px_FSPYBER(1)
  2040. #define STV090x_P2_FSPYBER STV090x_Px_FSPYBER(2)
  2041. #define STV090x_OFFST_Px_FSPYBER_SYNCBYTE_FIELD 4
  2042. #define STV090x_WIDTH_Px_FSPYBER_SYNCBYTE_FIELD 1
  2043. #define STV090x_OFFST_Px_FSPYBER_UNSYNC_FIELD 3
  2044. #define STV090x_WIDTH_Px_FSPYBER_UNSYNC_FIELD 1
  2045. #define STV090x_OFFST_Px_FSPYBER_CTIME_FIELD 0
  2046. #define STV090x_WIDTH_Px_FSPYBER_CTIME_FIELD 3
  2047. #define STV090x_RCCFGH 0xf600
  2048. #define STV090x_TSGENERAL 0xF630
  2049. #define STV090x_OFFST_Px_MUXSTREAM_OUT_FIELD 3
  2050. #define STV090x_WIDTH_Px_MUXSTREAM_OUT_FIELD 1
  2051. #define STV090x_OFFST_Px_TSFIFO_PERMPARAL_FIELD 1
  2052. #define STV090x_WIDTH_Px_TSFIFO_PERMPARAL_FIELD 2
  2053. #define STV090x_TSGENERAL1X 0xf670
  2054. #define STV090x_CFGEXT 0xfa80
  2055. #define STV090x_TSTRES0 0xFF11
  2056. #define STV090x_OFFST_FRESFEC_FIELD 7
  2057. #define STV090x_WIDTH_FRESFEC_FIELD 1
  2058. #define STV090x_Px_TSTDISRX(__x) (0xFF67 - (__x - 1) * 0x2)
  2059. #define STV090x_P1_TSTDISRX STV090x_Px_TSTDISRX(1)
  2060. #define STV090x_P2_TSTDISRX STV090x_Px_TSTDISRX(2)
  2061. #define STV090x_OFFST_Px_TSTDISRX_SELECT_FIELD 3
  2062. #define STV090x_WIDTH_Px_TSTDISRX_SELECT_FIELD 1
  2063. #endif /* __STV090x_REG_H */