stv0900_reg.h 104 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971
  1. /* SPDX-License-Identifier: GPL-2.0-or-later */
  2. /*
  3. * stv0900_reg.h
  4. *
  5. * Driver for ST STV0900 satellite demodulator IC.
  6. *
  7. * Copyright (C) ST Microelectronics.
  8. * Copyright (C) 2009 NetUP Inc.
  9. * Copyright (C) 2009 Igor M. Liplianin <liplianin@netup.ru>
  10. */
  11. #ifndef STV0900_REG_H
  12. #define STV0900_REG_H
  13. extern s32 shiftx(s32 x, int demod, s32 shift);
  14. #define REGx(x) shiftx(x, demod, 0x200)
  15. #define FLDx(x) shiftx(x, demod, 0x2000000)
  16. /*MID*/
  17. #define R0900_MID 0xf100
  18. #define F0900_MCHIP_IDENT 0xf10000f0
  19. #define F0900_MRELEASE 0xf100000f
  20. /*DACR1*/
  21. #define R0900_DACR1 0xf113
  22. #define F0900_DAC_MODE 0xf11300e0
  23. #define F0900_DAC_VALUE1 0xf113000f
  24. /*DACR2*/
  25. #define R0900_DACR2 0xf114
  26. #define F0900_DAC_VALUE0 0xf11400ff
  27. /*OUTCFG*/
  28. #define R0900_OUTCFG 0xf11c
  29. #define F0900_OUTSERRS1_HZ 0xf11c0040
  30. #define F0900_OUTSERRS2_HZ 0xf11c0020
  31. #define F0900_OUTSERRS3_HZ 0xf11c0010
  32. #define F0900_OUTPARRS3_HZ 0xf11c0008
  33. /*IRQSTATUS3*/
  34. #define R0900_IRQSTATUS3 0xf120
  35. #define F0900_SPLL_LOCK 0xf1200020
  36. #define F0900_SSTREAM_LCK_3 0xf1200010
  37. #define F0900_SSTREAM_LCK_2 0xf1200008
  38. #define F0900_SSTREAM_LCK_1 0xf1200004
  39. #define F0900_SDVBS1_PRF_2 0xf1200002
  40. #define F0900_SDVBS1_PRF_1 0xf1200001
  41. /*IRQSTATUS2*/
  42. #define R0900_IRQSTATUS2 0xf121
  43. #define F0900_SSPY_ENDSIM_3 0xf1210080
  44. #define F0900_SSPY_ENDSIM_2 0xf1210040
  45. #define F0900_SSPY_ENDSIM_1 0xf1210020
  46. #define F0900_SPKTDEL_ERROR_2 0xf1210010
  47. #define F0900_SPKTDEL_LOCKB_2 0xf1210008
  48. #define F0900_SPKTDEL_LOCK_2 0xf1210004
  49. #define F0900_SPKTDEL_ERROR_1 0xf1210002
  50. #define F0900_SPKTDEL_LOCKB_1 0xf1210001
  51. /*IRQSTATUS1*/
  52. #define R0900_IRQSTATUS1 0xf122
  53. #define F0900_SPKTDEL_LOCK_1 0xf1220080
  54. #define F0900_SDEMOD_LOCKB_2 0xf1220004
  55. #define F0900_SDEMOD_LOCK_2 0xf1220002
  56. #define F0900_SDEMOD_IRQ_2 0xf1220001
  57. /*IRQSTATUS0*/
  58. #define R0900_IRQSTATUS0 0xf123
  59. #define F0900_SDEMOD_LOCKB_1 0xf1230080
  60. #define F0900_SDEMOD_LOCK_1 0xf1230040
  61. #define F0900_SDEMOD_IRQ_1 0xf1230020
  62. #define F0900_SBCH_ERRFLAG 0xf1230010
  63. #define F0900_SDISEQC2RX_IRQ 0xf1230008
  64. #define F0900_SDISEQC2TX_IRQ 0xf1230004
  65. #define F0900_SDISEQC1RX_IRQ 0xf1230002
  66. #define F0900_SDISEQC1TX_IRQ 0xf1230001
  67. /*IRQMASK3*/
  68. #define R0900_IRQMASK3 0xf124
  69. #define F0900_MPLL_LOCK 0xf1240020
  70. #define F0900_MSTREAM_LCK_3 0xf1240010
  71. #define F0900_MSTREAM_LCK_2 0xf1240008
  72. #define F0900_MSTREAM_LCK_1 0xf1240004
  73. #define F0900_MDVBS1_PRF_2 0xf1240002
  74. #define F0900_MDVBS1_PRF_1 0xf1240001
  75. /*IRQMASK2*/
  76. #define R0900_IRQMASK2 0xf125
  77. #define F0900_MSPY_ENDSIM_3 0xf1250080
  78. #define F0900_MSPY_ENDSIM_2 0xf1250040
  79. #define F0900_MSPY_ENDSIM_1 0xf1250020
  80. #define F0900_MPKTDEL_ERROR_2 0xf1250010
  81. #define F0900_MPKTDEL_LOCKB_2 0xf1250008
  82. #define F0900_MPKTDEL_LOCK_2 0xf1250004
  83. #define F0900_MPKTDEL_ERROR_1 0xf1250002
  84. #define F0900_MPKTDEL_LOCKB_1 0xf1250001
  85. /*IRQMASK1*/
  86. #define R0900_IRQMASK1 0xf126
  87. #define F0900_MPKTDEL_LOCK_1 0xf1260080
  88. #define F0900_MEXTPINB2 0xf1260040
  89. #define F0900_MEXTPIN2 0xf1260020
  90. #define F0900_MEXTPINB1 0xf1260010
  91. #define F0900_MEXTPIN1 0xf1260008
  92. #define F0900_MDEMOD_LOCKB_2 0xf1260004
  93. #define F0900_MDEMOD_LOCK_2 0xf1260002
  94. #define F0900_MDEMOD_IRQ_2 0xf1260001
  95. /*IRQMASK0*/
  96. #define R0900_IRQMASK0 0xf127
  97. #define F0900_MDEMOD_LOCKB_1 0xf1270080
  98. #define F0900_MDEMOD_LOCK_1 0xf1270040
  99. #define F0900_MDEMOD_IRQ_1 0xf1270020
  100. #define F0900_MBCH_ERRFLAG 0xf1270010
  101. #define F0900_MDISEQC2RX_IRQ 0xf1270008
  102. #define F0900_MDISEQC2TX_IRQ 0xf1270004
  103. #define F0900_MDISEQC1RX_IRQ 0xf1270002
  104. #define F0900_MDISEQC1TX_IRQ 0xf1270001
  105. /*I2CCFG*/
  106. #define R0900_I2CCFG 0xf129
  107. #define F0900_I2C_FASTMODE 0xf1290008
  108. #define F0900_I2CADDR_INC 0xf1290003
  109. /*P1_I2CRPT*/
  110. #define R0900_P1_I2CRPT 0xf12a
  111. #define I2CRPT shiftx(R0900_P1_I2CRPT, demod, -1)
  112. #define F0900_P1_I2CT_ON 0xf12a0080
  113. #define I2CT_ON shiftx(F0900_P1_I2CT_ON, demod, -0x10000)
  114. #define F0900_P1_ENARPT_LEVEL 0xf12a0070
  115. #define F0900_P1_SCLT_DELAY 0xf12a0008
  116. #define F0900_P1_STOP_ENABLE 0xf12a0004
  117. #define F0900_P1_STOP_SDAT2SDA 0xf12a0002
  118. /*P2_I2CRPT*/
  119. #define R0900_P2_I2CRPT 0xf12b
  120. #define F0900_P2_I2CT_ON 0xf12b0080
  121. #define F0900_P2_ENARPT_LEVEL 0xf12b0070
  122. #define F0900_P2_SCLT_DELAY 0xf12b0008
  123. #define F0900_P2_STOP_ENABLE 0xf12b0004
  124. #define F0900_P2_STOP_SDAT2SDA 0xf12b0002
  125. /*IOPVALUE6*/
  126. #define R0900_IOPVALUE6 0xf138
  127. #define F0900_VSCL 0xf1380004
  128. #define F0900_VSDA 0xf1380002
  129. #define F0900_VDATA3_0 0xf1380001
  130. /*IOPVALUE5*/
  131. #define R0900_IOPVALUE5 0xf139
  132. #define F0900_VDATA3_1 0xf1390080
  133. #define F0900_VDATA3_2 0xf1390040
  134. #define F0900_VDATA3_3 0xf1390020
  135. #define F0900_VDATA3_4 0xf1390010
  136. #define F0900_VDATA3_5 0xf1390008
  137. #define F0900_VDATA3_6 0xf1390004
  138. #define F0900_VDATA3_7 0xf1390002
  139. #define F0900_VCLKOUT3 0xf1390001
  140. /*IOPVALUE4*/
  141. #define R0900_IOPVALUE4 0xf13a
  142. #define F0900_VSTROUT3 0xf13a0080
  143. #define F0900_VDPN3 0xf13a0040
  144. #define F0900_VERROR3 0xf13a0020
  145. #define F0900_VDATA2_7 0xf13a0010
  146. #define F0900_VCLKOUT2 0xf13a0008
  147. #define F0900_VSTROUT2 0xf13a0004
  148. #define F0900_VDPN2 0xf13a0002
  149. #define F0900_VERROR2 0xf13a0001
  150. /*IOPVALUE3*/
  151. #define R0900_IOPVALUE3 0xf13b
  152. #define F0900_VDATA1_7 0xf13b0080
  153. #define F0900_VCLKOUT1 0xf13b0040
  154. #define F0900_VSTROUT1 0xf13b0020
  155. #define F0900_VDPN1 0xf13b0010
  156. #define F0900_VERROR1 0xf13b0008
  157. #define F0900_VCLKOUT27 0xf13b0004
  158. #define F0900_VDISEQCOUT2 0xf13b0002
  159. #define F0900_VSCLT2 0xf13b0001
  160. /*IOPVALUE2*/
  161. #define R0900_IOPVALUE2 0xf13c
  162. #define F0900_VSDAT2 0xf13c0080
  163. #define F0900_VAGCRF2 0xf13c0040
  164. #define F0900_VDISEQCOUT1 0xf13c0020
  165. #define F0900_VSCLT1 0xf13c0010
  166. #define F0900_VSDAT1 0xf13c0008
  167. #define F0900_VAGCRF1 0xf13c0004
  168. #define F0900_VDIRCLK 0xf13c0002
  169. #define F0900_VSTDBY 0xf13c0001
  170. /*IOPVALUE1*/
  171. #define R0900_IOPVALUE1 0xf13d
  172. #define F0900_VCS1 0xf13d0080
  173. #define F0900_VCS0 0xf13d0040
  174. #define F0900_VGPIO13 0xf13d0020
  175. #define F0900_VGPIO12 0xf13d0010
  176. #define F0900_VGPIO11 0xf13d0008
  177. #define F0900_VGPIO10 0xf13d0004
  178. #define F0900_VGPIO9 0xf13d0002
  179. #define F0900_VGPIO8 0xf13d0001
  180. /*IOPVALUE0*/
  181. #define R0900_IOPVALUE0 0xf13e
  182. #define F0900_VGPIO7 0xf13e0080
  183. #define F0900_VGPIO6 0xf13e0040
  184. #define F0900_VGPIO5 0xf13e0020
  185. #define F0900_VGPIO4 0xf13e0010
  186. #define F0900_VGPIO3 0xf13e0008
  187. #define F0900_VGPIO2 0xf13e0004
  188. #define F0900_VGPIO1 0xf13e0002
  189. #define F0900_VCLKI2 0xf13e0001
  190. /*CLKI2CFG*/
  191. #define R0900_CLKI2CFG 0xf140
  192. #define F0900_CLKI2_OPD 0xf1400080
  193. #define F0900_CLKI2_CONFIG 0xf140007e
  194. #define F0900_CLKI2_XOR 0xf1400001
  195. /*GPIO1CFG*/
  196. #define R0900_GPIO1CFG 0xf141
  197. #define F0900_GPIO1_OPD 0xf1410080
  198. #define F0900_GPIO1_CONFIG 0xf141007e
  199. #define F0900_GPIO1_XOR 0xf1410001
  200. /*GPIO2CFG*/
  201. #define R0900_GPIO2CFG 0xf142
  202. #define F0900_GPIO2_OPD 0xf1420080
  203. #define F0900_GPIO2_CONFIG 0xf142007e
  204. #define F0900_GPIO2_XOR 0xf1420001
  205. /*GPIO3CFG*/
  206. #define R0900_GPIO3CFG 0xf143
  207. #define F0900_GPIO3_OPD 0xf1430080
  208. #define F0900_GPIO3_CONFIG 0xf143007e
  209. #define F0900_GPIO3_XOR 0xf1430001
  210. /*GPIO4CFG*/
  211. #define R0900_GPIO4CFG 0xf144
  212. #define F0900_GPIO4_OPD 0xf1440080
  213. #define F0900_GPIO4_CONFIG 0xf144007e
  214. #define F0900_GPIO4_XOR 0xf1440001
  215. /*GPIO5CFG*/
  216. #define R0900_GPIO5CFG 0xf145
  217. #define F0900_GPIO5_OPD 0xf1450080
  218. #define F0900_GPIO5_CONFIG 0xf145007e
  219. #define F0900_GPIO5_XOR 0xf1450001
  220. /*GPIO6CFG*/
  221. #define R0900_GPIO6CFG 0xf146
  222. #define F0900_GPIO6_OPD 0xf1460080
  223. #define F0900_GPIO6_CONFIG 0xf146007e
  224. #define F0900_GPIO6_XOR 0xf1460001
  225. /*GPIO7CFG*/
  226. #define R0900_GPIO7CFG 0xf147
  227. #define F0900_GPIO7_OPD 0xf1470080
  228. #define F0900_GPIO7_CONFIG 0xf147007e
  229. #define F0900_GPIO7_XOR 0xf1470001
  230. /*GPIO8CFG*/
  231. #define R0900_GPIO8CFG 0xf148
  232. #define F0900_GPIO8_OPD 0xf1480080
  233. #define F0900_GPIO8_CONFIG 0xf148007e
  234. #define F0900_GPIO8_XOR 0xf1480001
  235. /*GPIO9CFG*/
  236. #define R0900_GPIO9CFG 0xf149
  237. #define F0900_GPIO9_OPD 0xf1490080
  238. #define F0900_GPIO9_CONFIG 0xf149007e
  239. #define F0900_GPIO9_XOR 0xf1490001
  240. /*GPIO10CFG*/
  241. #define R0900_GPIO10CFG 0xf14a
  242. #define F0900_GPIO10_OPD 0xf14a0080
  243. #define F0900_GPIO10_CONFIG 0xf14a007e
  244. #define F0900_GPIO10_XOR 0xf14a0001
  245. /*GPIO11CFG*/
  246. #define R0900_GPIO11CFG 0xf14b
  247. #define F0900_GPIO11_OPD 0xf14b0080
  248. #define F0900_GPIO11_CONFIG 0xf14b007e
  249. #define F0900_GPIO11_XOR 0xf14b0001
  250. /*GPIO12CFG*/
  251. #define R0900_GPIO12CFG 0xf14c
  252. #define F0900_GPIO12_OPD 0xf14c0080
  253. #define F0900_GPIO12_CONFIG 0xf14c007e
  254. #define F0900_GPIO12_XOR 0xf14c0001
  255. /*GPIO13CFG*/
  256. #define R0900_GPIO13CFG 0xf14d
  257. #define F0900_GPIO13_OPD 0xf14d0080
  258. #define F0900_GPIO13_CONFIG 0xf14d007e
  259. #define F0900_GPIO13_XOR 0xf14d0001
  260. /*CS0CFG*/
  261. #define R0900_CS0CFG 0xf14e
  262. #define F0900_CS0_OPD 0xf14e0080
  263. #define F0900_CS0_CONFIG 0xf14e007e
  264. #define F0900_CS0_XOR 0xf14e0001
  265. /*CS1CFG*/
  266. #define R0900_CS1CFG 0xf14f
  267. #define F0900_CS1_OPD 0xf14f0080
  268. #define F0900_CS1_CONFIG 0xf14f007e
  269. #define F0900_CS1_XOR 0xf14f0001
  270. /*STDBYCFG*/
  271. #define R0900_STDBYCFG 0xf150
  272. #define F0900_STDBY_OPD 0xf1500080
  273. #define F0900_STDBY_CONFIG 0xf150007e
  274. #define F0900_STBDY_XOR 0xf1500001
  275. /*DIRCLKCFG*/
  276. #define R0900_DIRCLKCFG 0xf151
  277. #define F0900_DIRCLK_OPD 0xf1510080
  278. #define F0900_DIRCLK_CONFIG 0xf151007e
  279. #define F0900_DIRCLK_XOR 0xf1510001
  280. /*AGCRF1CFG*/
  281. #define R0900_AGCRF1CFG 0xf152
  282. #define F0900_AGCRF1_OPD 0xf1520080
  283. #define F0900_AGCRF1_CONFIG 0xf152007e
  284. #define F0900_AGCRF1_XOR 0xf1520001
  285. /*SDAT1CFG*/
  286. #define R0900_SDAT1CFG 0xf153
  287. #define F0900_SDAT1_OPD 0xf1530080
  288. #define F0900_SDAT1_CONFIG 0xf153007e
  289. #define F0900_SDAT1_XOR 0xf1530001
  290. /*SCLT1CFG*/
  291. #define R0900_SCLT1CFG 0xf154
  292. #define F0900_SCLT1_OPD 0xf1540080
  293. #define F0900_SCLT1_CONFIG 0xf154007e
  294. #define F0900_SCLT1_XOR 0xf1540001
  295. /*DISEQCO1CFG*/
  296. #define R0900_DISEQCO1CFG 0xf155
  297. #define F0900_DISEQCO1_OPD 0xf1550080
  298. #define F0900_DISEQCO1_CONFIG 0xf155007e
  299. #define F0900_DISEQC1_XOR 0xf1550001
  300. /*AGCRF2CFG*/
  301. #define R0900_AGCRF2CFG 0xf156
  302. #define F0900_AGCRF2_OPD 0xf1560080
  303. #define F0900_AGCRF2_CONFIG 0xf156007e
  304. #define F0900_AGCRF2_XOR 0xf1560001
  305. /*SDAT2CFG*/
  306. #define R0900_SDAT2CFG 0xf157
  307. #define F0900_SDAT2_OPD 0xf1570080
  308. #define F0900_SDAT2_CONFIG 0xf157007e
  309. #define F0900_SDAT2_XOR 0xf1570001
  310. /*SCLT2CFG*/
  311. #define R0900_SCLT2CFG 0xf158
  312. #define F0900_SCLT2_OPD 0xf1580080
  313. #define F0900_SCLT2_CONFIG 0xf158007e
  314. #define F0900_SCLT2_XOR 0xf1580001
  315. /*DISEQCO2CFG*/
  316. #define R0900_DISEQCO2CFG 0xf159
  317. #define F0900_DISEQCO2_OPD 0xf1590080
  318. #define F0900_DISEQCO2_CONFIG 0xf159007e
  319. #define F0900_DISEQC2_XOR 0xf1590001
  320. /*CLKOUT27CFG*/
  321. #define R0900_CLKOUT27CFG 0xf15a
  322. #define F0900_CLKOUT27_OPD 0xf15a0080
  323. #define F0900_CLKOUT27_CONFIG 0xf15a007e
  324. #define F0900_CLKOUT27_XOR 0xf15a0001
  325. /*ERROR1CFG*/
  326. #define R0900_ERROR1CFG 0xf15b
  327. #define F0900_ERROR1_OPD 0xf15b0080
  328. #define F0900_ERROR1_CONFIG 0xf15b007e
  329. #define F0900_ERROR1_XOR 0xf15b0001
  330. /*DPN1CFG*/
  331. #define R0900_DPN1CFG 0xf15c
  332. #define F0900_DPN1_OPD 0xf15c0080
  333. #define F0900_DPN1_CONFIG 0xf15c007e
  334. #define F0900_DPN1_XOR 0xf15c0001
  335. /*STROUT1CFG*/
  336. #define R0900_STROUT1CFG 0xf15d
  337. #define F0900_STROUT1_OPD 0xf15d0080
  338. #define F0900_STROUT1_CONFIG 0xf15d007e
  339. #define F0900_STROUT1_XOR 0xf15d0001
  340. /*CLKOUT1CFG*/
  341. #define R0900_CLKOUT1CFG 0xf15e
  342. #define F0900_CLKOUT1_OPD 0xf15e0080
  343. #define F0900_CLKOUT1_CONFIG 0xf15e007e
  344. #define F0900_CLKOUT1_XOR 0xf15e0001
  345. /*DATA71CFG*/
  346. #define R0900_DATA71CFG 0xf15f
  347. #define F0900_DATA71_OPD 0xf15f0080
  348. #define F0900_DATA71_CONFIG 0xf15f007e
  349. #define F0900_DATA71_XOR 0xf15f0001
  350. /*ERROR2CFG*/
  351. #define R0900_ERROR2CFG 0xf160
  352. #define F0900_ERROR2_OPD 0xf1600080
  353. #define F0900_ERROR2_CONFIG 0xf160007e
  354. #define F0900_ERROR2_XOR 0xf1600001
  355. /*DPN2CFG*/
  356. #define R0900_DPN2CFG 0xf161
  357. #define F0900_DPN2_OPD 0xf1610080
  358. #define F0900_DPN2_CONFIG 0xf161007e
  359. #define F0900_DPN2_XOR 0xf1610001
  360. /*STROUT2CFG*/
  361. #define R0900_STROUT2CFG 0xf162
  362. #define F0900_STROUT2_OPD 0xf1620080
  363. #define F0900_STROUT2_CONFIG 0xf162007e
  364. #define F0900_STROUT2_XOR 0xf1620001
  365. /*CLKOUT2CFG*/
  366. #define R0900_CLKOUT2CFG 0xf163
  367. #define F0900_CLKOUT2_OPD 0xf1630080
  368. #define F0900_CLKOUT2_CONFIG 0xf163007e
  369. #define F0900_CLKOUT2_XOR 0xf1630001
  370. /*DATA72CFG*/
  371. #define R0900_DATA72CFG 0xf164
  372. #define F0900_DATA72_OPD 0xf1640080
  373. #define F0900_DATA72_CONFIG 0xf164007e
  374. #define F0900_DATA72_XOR 0xf1640001
  375. /*ERROR3CFG*/
  376. #define R0900_ERROR3CFG 0xf165
  377. #define F0900_ERROR3_OPD 0xf1650080
  378. #define F0900_ERROR3_CONFIG 0xf165007e
  379. #define F0900_ERROR3_XOR 0xf1650001
  380. /*DPN3CFG*/
  381. #define R0900_DPN3CFG 0xf166
  382. #define F0900_DPN3_OPD 0xf1660080
  383. #define F0900_DPN3_CONFIG 0xf166007e
  384. #define F0900_DPN3_XOR 0xf1660001
  385. /*STROUT3CFG*/
  386. #define R0900_STROUT3CFG 0xf167
  387. #define F0900_STROUT3_OPD 0xf1670080
  388. #define F0900_STROUT3_CONFIG 0xf167007e
  389. #define F0900_STROUT3_XOR 0xf1670001
  390. /*CLKOUT3CFG*/
  391. #define R0900_CLKOUT3CFG 0xf168
  392. #define F0900_CLKOUT3_OPD 0xf1680080
  393. #define F0900_CLKOUT3_CONFIG 0xf168007e
  394. #define F0900_CLKOUT3_XOR 0xf1680001
  395. /*DATA73CFG*/
  396. #define R0900_DATA73CFG 0xf169
  397. #define F0900_DATA73_OPD 0xf1690080
  398. #define F0900_DATA73_CONFIG 0xf169007e
  399. #define F0900_DATA73_XOR 0xf1690001
  400. /*STRSTATUS1*/
  401. #define R0900_STRSTATUS1 0xf16a
  402. #define F0900_STRSTATUS_SEL2 0xf16a00f0
  403. #define F0900_STRSTATUS_SEL1 0xf16a000f
  404. /*STRSTATUS2*/
  405. #define R0900_STRSTATUS2 0xf16b
  406. #define F0900_STRSTATUS_SEL4 0xf16b00f0
  407. #define F0900_STRSTATUS_SEL3 0xf16b000f
  408. /*STRSTATUS3*/
  409. #define R0900_STRSTATUS3 0xf16c
  410. #define F0900_STRSTATUS_SEL6 0xf16c00f0
  411. #define F0900_STRSTATUS_SEL5 0xf16c000f
  412. /*FSKTFC2*/
  413. #define R0900_FSKTFC2 0xf170
  414. #define F0900_FSKT_KMOD 0xf17000fc
  415. #define F0900_FSKT_CAR2 0xf1700003
  416. /*FSKTFC1*/
  417. #define R0900_FSKTFC1 0xf171
  418. #define F0900_FSKT_CAR1 0xf17100ff
  419. /*FSKTFC0*/
  420. #define R0900_FSKTFC0 0xf172
  421. #define F0900_FSKT_CAR0 0xf17200ff
  422. /*FSKTDELTAF1*/
  423. #define R0900_FSKTDELTAF1 0xf173
  424. #define F0900_FSKT_DELTAF1 0xf173000f
  425. /*FSKTDELTAF0*/
  426. #define R0900_FSKTDELTAF0 0xf174
  427. #define F0900_FSKT_DELTAF0 0xf17400ff
  428. /*FSKTCTRL*/
  429. #define R0900_FSKTCTRL 0xf175
  430. #define F0900_FSKT_EN_SGN 0xf1750040
  431. #define F0900_FSKT_MOD_SGN 0xf1750020
  432. #define F0900_FSKT_MOD_EN 0xf175001c
  433. #define F0900_FSKT_DACMODE 0xf1750003
  434. /*FSKRFC2*/
  435. #define R0900_FSKRFC2 0xf176
  436. #define F0900_FSKR_DETSGN 0xf1760040
  437. #define F0900_FSKR_OUTSGN 0xf1760020
  438. #define F0900_FSKR_KAGC 0xf176001c
  439. #define F0900_FSKR_CAR2 0xf1760003
  440. /*FSKRFC1*/
  441. #define R0900_FSKRFC1 0xf177
  442. #define F0900_FSKR_CAR1 0xf17700ff
  443. /*FSKRFC0*/
  444. #define R0900_FSKRFC0 0xf178
  445. #define F0900_FSKR_CAR0 0xf17800ff
  446. /*FSKRK1*/
  447. #define R0900_FSKRK1 0xf179
  448. #define F0900_FSKR_K1_EXP 0xf17900e0
  449. #define F0900_FSKR_K1_MANT 0xf179001f
  450. /*FSKRK2*/
  451. #define R0900_FSKRK2 0xf17a
  452. #define F0900_FSKR_K2_EXP 0xf17a00e0
  453. #define F0900_FSKR_K2_MANT 0xf17a001f
  454. /*FSKRAGCR*/
  455. #define R0900_FSKRAGCR 0xf17b
  456. #define F0900_FSKR_OUTCTL 0xf17b00c0
  457. #define F0900_FSKR_AGC_REF 0xf17b003f
  458. /*FSKRAGC*/
  459. #define R0900_FSKRAGC 0xf17c
  460. #define F0900_FSKR_AGC_ACCU 0xf17c00ff
  461. /*FSKRALPHA*/
  462. #define R0900_FSKRALPHA 0xf17d
  463. #define F0900_FSKR_ALPHA_EXP 0xf17d001c
  464. #define F0900_FSKR_ALPHA_M 0xf17d0003
  465. /*FSKRPLTH1*/
  466. #define R0900_FSKRPLTH1 0xf17e
  467. #define F0900_FSKR_BETA 0xf17e00f0
  468. #define F0900_FSKR_PLL_TRESH1 0xf17e000f
  469. /*FSKRPLTH0*/
  470. #define R0900_FSKRPLTH0 0xf17f
  471. #define F0900_FSKR_PLL_TRESH0 0xf17f00ff
  472. /*FSKRDF1*/
  473. #define R0900_FSKRDF1 0xf180
  474. #define F0900_FSKR_OUT 0xf1800080
  475. #define F0900_FSKR_DELTAF1 0xf180001f
  476. /*FSKRDF0*/
  477. #define R0900_FSKRDF0 0xf181
  478. #define F0900_FSKR_DELTAF0 0xf18100ff
  479. /*FSKRSTEPP*/
  480. #define R0900_FSKRSTEPP 0xf182
  481. #define F0900_FSKR_STEP_PLUS 0xf18200ff
  482. /*FSKRSTEPM*/
  483. #define R0900_FSKRSTEPM 0xf183
  484. #define F0900_FSKR_STEP_MINUS 0xf18300ff
  485. /*FSKRDET1*/
  486. #define R0900_FSKRDET1 0xf184
  487. #define F0900_FSKR_DETECT 0xf1840080
  488. #define F0900_FSKR_CARDET_ACCU1 0xf184000f
  489. /*FSKRDET0*/
  490. #define R0900_FSKRDET0 0xf185
  491. #define F0900_FSKR_CARDET_ACCU0 0xf18500ff
  492. /*FSKRDTH1*/
  493. #define R0900_FSKRDTH1 0xf186
  494. #define F0900_FSKR_CARLOSS_THRESH1 0xf18600f0
  495. #define F0900_FSKR_CARDET_THRESH1 0xf186000f
  496. /*FSKRDTH0*/
  497. #define R0900_FSKRDTH0 0xf187
  498. #define F0900_FSKR_CARDET_THRESH0 0xf18700ff
  499. /*FSKRLOSS*/
  500. #define R0900_FSKRLOSS 0xf188
  501. #define F0900_FSKR_CARLOSS_THRESH0 0xf18800ff
  502. /*P2_DISTXCTL*/
  503. #define R0900_P2_DISTXCTL 0xf190
  504. #define F0900_P2_TIM_OFF 0xf1900080
  505. #define F0900_P2_DISEQC_RESET 0xf1900040
  506. #define F0900_P2_TIM_CMD 0xf1900030
  507. #define F0900_P2_DIS_PRECHARGE 0xf1900008
  508. #define F0900_P2_DISTX_MODE 0xf1900007
  509. /*P2_DISRXCTL*/
  510. #define R0900_P2_DISRXCTL 0xf191
  511. #define F0900_P2_RECEIVER_ON 0xf1910080
  512. #define F0900_P2_IGNO_SHORT22K 0xf1910040
  513. #define F0900_P2_ONECHIP_TRX 0xf1910020
  514. #define F0900_P2_EXT_ENVELOP 0xf1910010
  515. #define F0900_P2_PIN_SELECT0 0xf191000c
  516. #define F0900_P2_IRQ_RXEND 0xf1910002
  517. #define F0900_P2_IRQ_4NBYTES 0xf1910001
  518. /*P2_DISRX_ST0*/
  519. #define R0900_P2_DISRX_ST0 0xf194
  520. #define F0900_P2_RX_END 0xf1940080
  521. #define F0900_P2_RX_ACTIVE 0xf1940040
  522. #define F0900_P2_SHORT_22KHZ 0xf1940020
  523. #define F0900_P2_CONT_TONE 0xf1940010
  524. #define F0900_P2_FIFO_4BREADY 0xf1940008
  525. #define F0900_P2_FIFO_EMPTY 0xf1940004
  526. #define F0900_P2_ABORT_DISRX 0xf1940001
  527. /*P2_DISRX_ST1*/
  528. #define R0900_P2_DISRX_ST1 0xf195
  529. #define F0900_P2_RX_FAIL 0xf1950080
  530. #define F0900_P2_FIFO_PARITYFAIL 0xf1950040
  531. #define F0900_P2_RX_NONBYTE 0xf1950020
  532. #define F0900_P2_FIFO_OVERFLOW 0xf1950010
  533. #define F0900_P2_FIFO_BYTENBR 0xf195000f
  534. /*P2_DISRXDATA*/
  535. #define R0900_P2_DISRXDATA 0xf196
  536. #define F0900_P2_DISRX_DATA 0xf19600ff
  537. /*P2_DISTXDATA*/
  538. #define R0900_P2_DISTXDATA 0xf197
  539. #define F0900_P2_DISEQC_FIFO 0xf19700ff
  540. /*P2_DISTXSTATUS*/
  541. #define R0900_P2_DISTXSTATUS 0xf198
  542. #define F0900_P2_TX_FAIL 0xf1980080
  543. #define F0900_P2_FIFO_FULL 0xf1980040
  544. #define F0900_P2_TX_IDLE 0xf1980020
  545. #define F0900_P2_GAP_BURST 0xf1980010
  546. #define F0900_P2_TXFIFO_BYTES 0xf198000f
  547. /*P2_F22TX*/
  548. #define R0900_P2_F22TX 0xf199
  549. #define F0900_P2_F22_REG 0xf19900ff
  550. /*P2_F22RX*/
  551. #define R0900_P2_F22RX 0xf19a
  552. #define F0900_P2_F22RX_REG 0xf19a00ff
  553. /*P2_ACRPRESC*/
  554. #define R0900_P2_ACRPRESC 0xf19c
  555. #define F0900_P2_ACR_PRESC 0xf19c0007
  556. /*P2_ACRDIV*/
  557. #define R0900_P2_ACRDIV 0xf19d
  558. #define F0900_P2_ACR_DIV 0xf19d00ff
  559. /*P1_DISTXCTL*/
  560. #define R0900_P1_DISTXCTL 0xf1a0
  561. #define DISTXCTL shiftx(R0900_P1_DISTXCTL, demod, 0x10)
  562. #define F0900_P1_TIM_OFF 0xf1a00080
  563. #define F0900_P1_DISEQC_RESET 0xf1a00040
  564. #define DISEQC_RESET shiftx(F0900_P1_DISEQC_RESET, demod, 0x100000)
  565. #define F0900_P1_TIM_CMD 0xf1a00030
  566. #define F0900_P1_DIS_PRECHARGE 0xf1a00008
  567. #define DIS_PRECHARGE shiftx(F0900_P1_DIS_PRECHARGE, demod, 0x100000)
  568. #define F0900_P1_DISTX_MODE 0xf1a00007
  569. #define DISTX_MODE shiftx(F0900_P1_DISTX_MODE, demod, 0x100000)
  570. /*P1_DISRXCTL*/
  571. #define R0900_P1_DISRXCTL 0xf1a1
  572. #define DISRXCTL shiftx(R0900_P1_DISRXCTL, demod, 0x10)
  573. #define F0900_P1_RECEIVER_ON 0xf1a10080
  574. #define F0900_P1_IGNO_SHORT22K 0xf1a10040
  575. #define F0900_P1_ONECHIP_TRX 0xf1a10020
  576. #define F0900_P1_EXT_ENVELOP 0xf1a10010
  577. #define F0900_P1_PIN_SELECT0 0xf1a1000c
  578. #define F0900_P1_IRQ_RXEND 0xf1a10002
  579. #define F0900_P1_IRQ_4NBYTES 0xf1a10001
  580. /*P1_DISRX_ST0*/
  581. #define R0900_P1_DISRX_ST0 0xf1a4
  582. #define DISRX_ST0 shiftx(R0900_P1_DISRX_ST0, demod, 0x10)
  583. #define F0900_P1_RX_END 0xf1a40080
  584. #define RX_END shiftx(F0900_P1_RX_END, demod, 0x100000)
  585. #define F0900_P1_RX_ACTIVE 0xf1a40040
  586. #define F0900_P1_SHORT_22KHZ 0xf1a40020
  587. #define F0900_P1_CONT_TONE 0xf1a40010
  588. #define F0900_P1_FIFO_4BREADY 0xf1a40008
  589. #define F0900_P1_FIFO_EMPTY 0xf1a40004
  590. #define F0900_P1_ABORT_DISRX 0xf1a40001
  591. /*P1_DISRX_ST1*/
  592. #define R0900_P1_DISRX_ST1 0xf1a5
  593. #define DISRX_ST1 shiftx(R0900_P1_DISRX_ST1, demod, 0x10)
  594. #define F0900_P1_RX_FAIL 0xf1a50080
  595. #define F0900_P1_FIFO_PARITYFAIL 0xf1a50040
  596. #define F0900_P1_RX_NONBYTE 0xf1a50020
  597. #define F0900_P1_FIFO_OVERFLOW 0xf1a50010
  598. #define F0900_P1_FIFO_BYTENBR 0xf1a5000f
  599. #define FIFO_BYTENBR shiftx(F0900_P1_FIFO_BYTENBR, demod, 0x100000)
  600. /*P1_DISRXDATA*/
  601. #define R0900_P1_DISRXDATA 0xf1a6
  602. #define DISRXDATA shiftx(R0900_P1_DISRXDATA, demod, 0x10)
  603. #define F0900_P1_DISRX_DATA 0xf1a600ff
  604. /*P1_DISTXDATA*/
  605. #define R0900_P1_DISTXDATA 0xf1a7
  606. #define DISTXDATA shiftx(R0900_P1_DISTXDATA, demod, 0x10)
  607. #define F0900_P1_DISEQC_FIFO 0xf1a700ff
  608. /*P1_DISTXSTATUS*/
  609. #define R0900_P1_DISTXSTATUS 0xf1a8
  610. #define F0900_P1_TX_FAIL 0xf1a80080
  611. #define F0900_P1_FIFO_FULL 0xf1a80040
  612. #define FIFO_FULL shiftx(F0900_P1_FIFO_FULL, demod, 0x100000)
  613. #define F0900_P1_TX_IDLE 0xf1a80020
  614. #define TX_IDLE shiftx(F0900_P1_TX_IDLE, demod, 0x100000)
  615. #define F0900_P1_GAP_BURST 0xf1a80010
  616. #define F0900_P1_TXFIFO_BYTES 0xf1a8000f
  617. /*P1_F22TX*/
  618. #define R0900_P1_F22TX 0xf1a9
  619. #define F22TX shiftx(R0900_P1_F22TX, demod, 0x10)
  620. #define F0900_P1_F22_REG 0xf1a900ff
  621. /*P1_F22RX*/
  622. #define R0900_P1_F22RX 0xf1aa
  623. #define F22RX shiftx(R0900_P1_F22RX, demod, 0x10)
  624. #define F0900_P1_F22RX_REG 0xf1aa00ff
  625. /*P1_ACRPRESC*/
  626. #define R0900_P1_ACRPRESC 0xf1ac
  627. #define ACRPRESC shiftx(R0900_P1_ACRPRESC, demod, 0x10)
  628. #define F0900_P1_ACR_PRESC 0xf1ac0007
  629. /*P1_ACRDIV*/
  630. #define R0900_P1_ACRDIV 0xf1ad
  631. #define ACRDIV shiftx(R0900_P1_ACRDIV, demod, 0x10)
  632. #define F0900_P1_ACR_DIV 0xf1ad00ff
  633. /*NCOARSE*/
  634. #define R0900_NCOARSE 0xf1b3
  635. #define F0900_M_DIV 0xf1b300ff
  636. /*SYNTCTRL*/
  637. #define R0900_SYNTCTRL 0xf1b6
  638. #define F0900_STANDBY 0xf1b60080
  639. #define F0900_BYPASSPLLCORE 0xf1b60040
  640. #define F0900_SELX1RATIO 0xf1b60020
  641. #define F0900_STOP_PLL 0xf1b60008
  642. #define F0900_BYPASSPLLFSK 0xf1b60004
  643. #define F0900_SELOSCI 0xf1b60002
  644. #define F0900_BYPASSPLLADC 0xf1b60001
  645. /*FILTCTRL*/
  646. #define R0900_FILTCTRL 0xf1b7
  647. #define F0900_INV_CLK135 0xf1b70080
  648. #define F0900_SEL_FSKCKDIV 0xf1b70004
  649. #define F0900_INV_CLKFSK 0xf1b70002
  650. #define F0900_BYPASS_APPLI 0xf1b70001
  651. /*PLLSTAT*/
  652. #define R0900_PLLSTAT 0xf1b8
  653. #define F0900_PLLLOCK 0xf1b80001
  654. /*STOPCLK1*/
  655. #define R0900_STOPCLK1 0xf1c2
  656. #define F0900_STOP_CLKPKDT2 0xf1c20040
  657. #define F0900_STOP_CLKPKDT1 0xf1c20020
  658. #define F0900_STOP_CLKFEC 0xf1c20010
  659. #define F0900_STOP_CLKADCI2 0xf1c20008
  660. #define F0900_INV_CLKADCI2 0xf1c20004
  661. #define F0900_STOP_CLKADCI1 0xf1c20002
  662. #define F0900_INV_CLKADCI1 0xf1c20001
  663. /*STOPCLK2*/
  664. #define R0900_STOPCLK2 0xf1c3
  665. #define F0900_STOP_CLKSAMP2 0xf1c30010
  666. #define F0900_STOP_CLKSAMP1 0xf1c30008
  667. #define F0900_STOP_CLKVIT2 0xf1c30004
  668. #define F0900_STOP_CLKVIT1 0xf1c30002
  669. #define STOP_CLKVIT shiftx(F0900_STOP_CLKVIT1, demod, -2)
  670. #define F0900_STOP_CLKTS 0xf1c30001
  671. /*TSTTNR0*/
  672. #define R0900_TSTTNR0 0xf1df
  673. #define F0900_SEL_FSK 0xf1df0080
  674. #define F0900_FSK_PON 0xf1df0004
  675. /*TSTTNR1*/
  676. #define R0900_TSTTNR1 0xf1e0
  677. #define F0900_ADC1_PON 0xf1e00002
  678. #define F0900_ADC1_INMODE 0xf1e00001
  679. /*TSTTNR2*/
  680. #define R0900_TSTTNR2 0xf1e1
  681. #define F0900_DISEQC1_PON 0xf1e10020
  682. /*TSTTNR3*/
  683. #define R0900_TSTTNR3 0xf1e2
  684. #define F0900_ADC2_PON 0xf1e20002
  685. #define F0900_ADC2_INMODE 0xf1e20001
  686. /*TSTTNR4*/
  687. #define R0900_TSTTNR4 0xf1e3
  688. #define F0900_DISEQC2_PON 0xf1e30020
  689. /*P2_IQCONST*/
  690. #define R0900_P2_IQCONST 0xf200
  691. #define F0900_P2_CONSTEL_SELECT 0xf2000060
  692. #define F0900_P2_IQSYMB_SEL 0xf200001f
  693. /*P2_NOSCFG*/
  694. #define R0900_P2_NOSCFG 0xf201
  695. #define F0900_P2_DUMMYPL_NOSDATA 0xf2010020
  696. #define F0900_P2_NOSPLH_BETA 0xf2010018
  697. #define F0900_P2_NOSDATA_BETA 0xf2010007
  698. /*P2_ISYMB*/
  699. #define R0900_P2_ISYMB 0xf202
  700. #define F0900_P2_I_SYMBOL 0xf20201ff
  701. /*P2_QSYMB*/
  702. #define R0900_P2_QSYMB 0xf203
  703. #define F0900_P2_Q_SYMBOL 0xf20301ff
  704. /*P2_AGC1CFG*/
  705. #define R0900_P2_AGC1CFG 0xf204
  706. #define F0900_P2_DC_FROZEN 0xf2040080
  707. #define F0900_P2_DC_CORRECT 0xf2040040
  708. #define F0900_P2_AMM_FROZEN 0xf2040020
  709. #define F0900_P2_AMM_CORRECT 0xf2040010
  710. #define F0900_P2_QUAD_FROZEN 0xf2040008
  711. #define F0900_P2_QUAD_CORRECT 0xf2040004
  712. /*P2_AGC1CN*/
  713. #define R0900_P2_AGC1CN 0xf206
  714. #define F0900_P2_AGC1_LOCKED 0xf2060080
  715. #define F0900_P2_AGC1_MINPOWER 0xf2060010
  716. #define F0900_P2_AGCOUT_FAST 0xf2060008
  717. #define F0900_P2_AGCIQ_BETA 0xf2060007
  718. /*P2_AGC1REF*/
  719. #define R0900_P2_AGC1REF 0xf207
  720. #define F0900_P2_AGCIQ_REF 0xf20700ff
  721. /*P2_IDCCOMP*/
  722. #define R0900_P2_IDCCOMP 0xf208
  723. #define F0900_P2_IAVERAGE_ADJ 0xf20801ff
  724. /*P2_QDCCOMP*/
  725. #define R0900_P2_QDCCOMP 0xf209
  726. #define F0900_P2_QAVERAGE_ADJ 0xf20901ff
  727. /*P2_POWERI*/
  728. #define R0900_P2_POWERI 0xf20a
  729. #define F0900_P2_POWER_I 0xf20a00ff
  730. /*P2_POWERQ*/
  731. #define R0900_P2_POWERQ 0xf20b
  732. #define F0900_P2_POWER_Q 0xf20b00ff
  733. /*P2_AGC1AMM*/
  734. #define R0900_P2_AGC1AMM 0xf20c
  735. #define F0900_P2_AMM_VALUE 0xf20c00ff
  736. /*P2_AGC1QUAD*/
  737. #define R0900_P2_AGC1QUAD 0xf20d
  738. #define F0900_P2_QUAD_VALUE 0xf20d01ff
  739. /*P2_AGCIQIN1*/
  740. #define R0900_P2_AGCIQIN1 0xf20e
  741. #define F0900_P2_AGCIQ_VALUE1 0xf20e00ff
  742. /*P2_AGCIQIN0*/
  743. #define R0900_P2_AGCIQIN0 0xf20f
  744. #define F0900_P2_AGCIQ_VALUE0 0xf20f00ff
  745. /*P2_DEMOD*/
  746. #define R0900_P2_DEMOD 0xf210
  747. #define F0900_P2_MANUALS2_ROLLOFF 0xf2100080
  748. #define F0900_P2_SPECINV_CONTROL 0xf2100030
  749. #define F0900_P2_FORCE_ENASAMP 0xf2100008
  750. #define F0900_P2_MANUALSX_ROLLOFF 0xf2100004
  751. #define F0900_P2_ROLLOFF_CONTROL 0xf2100003
  752. /*P2_DMDMODCOD*/
  753. #define R0900_P2_DMDMODCOD 0xf211
  754. #define F0900_P2_MANUAL_MODCOD 0xf2110080
  755. #define F0900_P2_DEMOD_MODCOD 0xf211007c
  756. #define F0900_P2_DEMOD_TYPE 0xf2110003
  757. /*P2_DSTATUS*/
  758. #define R0900_P2_DSTATUS 0xf212
  759. #define F0900_P2_CAR_LOCK 0xf2120080
  760. #define F0900_P2_TMGLOCK_QUALITY 0xf2120060
  761. #define F0900_P2_LOCK_DEFINITIF 0xf2120008
  762. #define F0900_P2_OVADC_DETECT 0xf2120001
  763. /*P2_DSTATUS2*/
  764. #define R0900_P2_DSTATUS2 0xf213
  765. #define F0900_P2_DEMOD_DELOCK 0xf2130080
  766. #define F0900_P2_AGC1_NOSIGNALACK 0xf2130008
  767. #define F0900_P2_AGC2_OVERFLOW 0xf2130004
  768. #define F0900_P2_CFR_OVERFLOW 0xf2130002
  769. #define F0900_P2_GAMMA_OVERUNDER 0xf2130001
  770. /*P2_DMDCFGMD*/
  771. #define R0900_P2_DMDCFGMD 0xf214
  772. #define F0900_P2_DVBS2_ENABLE 0xf2140080
  773. #define F0900_P2_DVBS1_ENABLE 0xf2140040
  774. #define F0900_P2_SCAN_ENABLE 0xf2140010
  775. #define F0900_P2_CFR_AUTOSCAN 0xf2140008
  776. #define F0900_P2_TUN_RNG 0xf2140003
  777. /*P2_DMDCFG2*/
  778. #define R0900_P2_DMDCFG2 0xf215
  779. #define F0900_P2_S1S2_SEQUENTIAL 0xf2150040
  780. #define F0900_P2_INFINITE_RELOCK 0xf2150010
  781. /*P2_DMDISTATE*/
  782. #define R0900_P2_DMDISTATE 0xf216
  783. #define F0900_P2_I2C_DEMOD_MODE 0xf216001f
  784. /*P2_DMDT0M*/
  785. #define R0900_P2_DMDT0M 0xf217
  786. #define F0900_P2_DMDT0_MIN 0xf21700ff
  787. /*P2_DMDSTATE*/
  788. #define R0900_P2_DMDSTATE 0xf21b
  789. #define F0900_P2_HEADER_MODE 0xf21b0060
  790. /*P2_DMDFLYW*/
  791. #define R0900_P2_DMDFLYW 0xf21c
  792. #define F0900_P2_I2C_IRQVAL 0xf21c00f0
  793. #define F0900_P2_FLYWHEEL_CPT 0xf21c000f
  794. /*P2_DSTATUS3*/
  795. #define R0900_P2_DSTATUS3 0xf21d
  796. #define F0900_P2_DEMOD_CFGMODE 0xf21d0060
  797. /*P2_DMDCFG3*/
  798. #define R0900_P2_DMDCFG3 0xf21e
  799. #define F0900_P2_NOSTOP_FIFOFULL 0xf21e0008
  800. /*P2_DMDCFG4*/
  801. #define R0900_P2_DMDCFG4 0xf21f
  802. #define F0900_P2_TUNER_NRELAUNCH 0xf21f0008
  803. /*P2_CORRELMANT*/
  804. #define R0900_P2_CORRELMANT 0xf220
  805. #define F0900_P2_CORREL_MANT 0xf22000ff
  806. /*P2_CORRELABS*/
  807. #define R0900_P2_CORRELABS 0xf221
  808. #define F0900_P2_CORREL_ABS 0xf22100ff
  809. /*P2_CORRELEXP*/
  810. #define R0900_P2_CORRELEXP 0xf222
  811. #define F0900_P2_CORREL_ABSEXP 0xf22200f0
  812. #define F0900_P2_CORREL_EXP 0xf222000f
  813. /*P2_PLHMODCOD*/
  814. #define R0900_P2_PLHMODCOD 0xf224
  815. #define F0900_P2_SPECINV_DEMOD 0xf2240080
  816. #define F0900_P2_PLH_MODCOD 0xf224007c
  817. #define F0900_P2_PLH_TYPE 0xf2240003
  818. /*P2_DMDREG*/
  819. #define R0900_P2_DMDREG 0xf225
  820. #define F0900_P2_DECIM_PLFRAMES 0xf2250001
  821. /*P2_AGC2O*/
  822. #define R0900_P2_AGC2O 0xf22c
  823. #define F0900_P2_AGC2_COEF 0xf22c0007
  824. /*P2_AGC2REF*/
  825. #define R0900_P2_AGC2REF 0xf22d
  826. #define F0900_P2_AGC2_REF 0xf22d00ff
  827. /*P2_AGC1ADJ*/
  828. #define R0900_P2_AGC1ADJ 0xf22e
  829. #define F0900_P2_AGC1_ADJUSTED 0xf22e007f
  830. /*P2_AGC2I1*/
  831. #define R0900_P2_AGC2I1 0xf236
  832. #define F0900_P2_AGC2_INTEGRATOR1 0xf23600ff
  833. /*P2_AGC2I0*/
  834. #define R0900_P2_AGC2I0 0xf237
  835. #define F0900_P2_AGC2_INTEGRATOR0 0xf23700ff
  836. /*P2_CARCFG*/
  837. #define R0900_P2_CARCFG 0xf238
  838. #define F0900_P2_CFRUPLOW_AUTO 0xf2380080
  839. #define F0900_P2_CFRUPLOW_TEST 0xf2380040
  840. #define F0900_P2_ROTAON 0xf2380004
  841. #define F0900_P2_PH_DET_ALGO 0xf2380003
  842. /*P2_ACLC*/
  843. #define R0900_P2_ACLC 0xf239
  844. #define F0900_P2_CAR_ALPHA_MANT 0xf2390030
  845. #define F0900_P2_CAR_ALPHA_EXP 0xf239000f
  846. /*P2_BCLC*/
  847. #define R0900_P2_BCLC 0xf23a
  848. #define F0900_P2_CAR_BETA_MANT 0xf23a0030
  849. #define F0900_P2_CAR_BETA_EXP 0xf23a000f
  850. /*P2_CARFREQ*/
  851. #define R0900_P2_CARFREQ 0xf23d
  852. #define F0900_P2_KC_COARSE_EXP 0xf23d00f0
  853. #define F0900_P2_BETA_FREQ 0xf23d000f
  854. /*P2_CARHDR*/
  855. #define R0900_P2_CARHDR 0xf23e
  856. #define F0900_P2_K_FREQ_HDR 0xf23e00ff
  857. /*P2_LDT*/
  858. #define R0900_P2_LDT 0xf23f
  859. #define F0900_P2_CARLOCK_THRES 0xf23f01ff
  860. /*P2_LDT2*/
  861. #define R0900_P2_LDT2 0xf240
  862. #define F0900_P2_CARLOCK_THRES2 0xf24001ff
  863. /*P2_CFRICFG*/
  864. #define R0900_P2_CFRICFG 0xf241
  865. #define F0900_P2_NEG_CFRSTEP 0xf2410001
  866. /*P2_CFRUP1*/
  867. #define R0900_P2_CFRUP1 0xf242
  868. #define F0900_P2_CFR_UP1 0xf24201ff
  869. /*P2_CFRUP0*/
  870. #define R0900_P2_CFRUP0 0xf243
  871. #define F0900_P2_CFR_UP0 0xf24300ff
  872. /*P2_CFRLOW1*/
  873. #define R0900_P2_CFRLOW1 0xf246
  874. #define F0900_P2_CFR_LOW1 0xf24601ff
  875. /*P2_CFRLOW0*/
  876. #define R0900_P2_CFRLOW0 0xf247
  877. #define F0900_P2_CFR_LOW0 0xf24700ff
  878. /*P2_CFRINIT1*/
  879. #define R0900_P2_CFRINIT1 0xf248
  880. #define F0900_P2_CFR_INIT1 0xf24801ff
  881. /*P2_CFRINIT0*/
  882. #define R0900_P2_CFRINIT0 0xf249
  883. #define F0900_P2_CFR_INIT0 0xf24900ff
  884. /*P2_CFRINC1*/
  885. #define R0900_P2_CFRINC1 0xf24a
  886. #define F0900_P2_MANUAL_CFRINC 0xf24a0080
  887. #define F0900_P2_CFR_INC1 0xf24a003f
  888. /*P2_CFRINC0*/
  889. #define R0900_P2_CFRINC0 0xf24b
  890. #define F0900_P2_CFR_INC0 0xf24b00f8
  891. /*P2_CFR2*/
  892. #define R0900_P2_CFR2 0xf24c
  893. #define F0900_P2_CAR_FREQ2 0xf24c01ff
  894. /*P2_CFR1*/
  895. #define R0900_P2_CFR1 0xf24d
  896. #define F0900_P2_CAR_FREQ1 0xf24d00ff
  897. /*P2_CFR0*/
  898. #define R0900_P2_CFR0 0xf24e
  899. #define F0900_P2_CAR_FREQ0 0xf24e00ff
  900. /*P2_LDI*/
  901. #define R0900_P2_LDI 0xf24f
  902. #define F0900_P2_LOCK_DET_INTEGR 0xf24f01ff
  903. /*P2_TMGCFG*/
  904. #define R0900_P2_TMGCFG 0xf250
  905. #define F0900_P2_TMGLOCK_BETA 0xf25000c0
  906. #define F0900_P2_DO_TIMING_CORR 0xf2500010
  907. #define F0900_P2_TMG_MINFREQ 0xf2500003
  908. /*P2_RTC*/
  909. #define R0900_P2_RTC 0xf251
  910. #define F0900_P2_TMGALPHA_EXP 0xf25100f0
  911. #define F0900_P2_TMGBETA_EXP 0xf251000f
  912. /*P2_RTCS2*/
  913. #define R0900_P2_RTCS2 0xf252
  914. #define F0900_P2_TMGALPHAS2_EXP 0xf25200f0
  915. #define F0900_P2_TMGBETAS2_EXP 0xf252000f
  916. /*P2_TMGTHRISE*/
  917. #define R0900_P2_TMGTHRISE 0xf253
  918. #define F0900_P2_TMGLOCK_THRISE 0xf25300ff
  919. /*P2_TMGTHFALL*/
  920. #define R0900_P2_TMGTHFALL 0xf254
  921. #define F0900_P2_TMGLOCK_THFALL 0xf25400ff
  922. /*P2_SFRUPRATIO*/
  923. #define R0900_P2_SFRUPRATIO 0xf255
  924. #define F0900_P2_SFR_UPRATIO 0xf25500ff
  925. /*P2_SFRLOWRATIO*/
  926. #define R0900_P2_SFRLOWRATIO 0xf256
  927. #define F0900_P2_SFR_LOWRATIO 0xf25600ff
  928. /*P2_KREFTMG*/
  929. #define R0900_P2_KREFTMG 0xf258
  930. #define F0900_P2_KREF_TMG 0xf25800ff
  931. /*P2_SFRSTEP*/
  932. #define R0900_P2_SFRSTEP 0xf259
  933. #define F0900_P2_SFR_SCANSTEP 0xf25900f0
  934. #define F0900_P2_SFR_CENTERSTEP 0xf259000f
  935. /*P2_TMGCFG2*/
  936. #define R0900_P2_TMGCFG2 0xf25a
  937. #define F0900_P2_SFRRATIO_FINE 0xf25a0001
  938. /*P2_KREFTMG2*/
  939. #define R0900_P2_KREFTMG2 0xf25b
  940. #define F0900_P2_KREF_TMG2 0xf25b00ff
  941. /*P2_SFRINIT1*/
  942. #define R0900_P2_SFRINIT1 0xf25e
  943. #define F0900_P2_SFR_INIT1 0xf25e007f
  944. /*P2_SFRINIT0*/
  945. #define R0900_P2_SFRINIT0 0xf25f
  946. #define F0900_P2_SFR_INIT0 0xf25f00ff
  947. /*P2_SFRUP1*/
  948. #define R0900_P2_SFRUP1 0xf260
  949. #define F0900_P2_AUTO_GUP 0xf2600080
  950. #define F0900_P2_SYMB_FREQ_UP1 0xf260007f
  951. /*P2_SFRUP0*/
  952. #define R0900_P2_SFRUP0 0xf261
  953. #define F0900_P2_SYMB_FREQ_UP0 0xf26100ff
  954. /*P2_SFRLOW1*/
  955. #define R0900_P2_SFRLOW1 0xf262
  956. #define F0900_P2_AUTO_GLOW 0xf2620080
  957. #define F0900_P2_SYMB_FREQ_LOW1 0xf262007f
  958. /*P2_SFRLOW0*/
  959. #define R0900_P2_SFRLOW0 0xf263
  960. #define F0900_P2_SYMB_FREQ_LOW0 0xf26300ff
  961. /*P2_SFR3*/
  962. #define R0900_P2_SFR3 0xf264
  963. #define F0900_P2_SYMB_FREQ3 0xf26400ff
  964. /*P2_SFR2*/
  965. #define R0900_P2_SFR2 0xf265
  966. #define F0900_P2_SYMB_FREQ2 0xf26500ff
  967. /*P2_SFR1*/
  968. #define R0900_P2_SFR1 0xf266
  969. #define F0900_P2_SYMB_FREQ1 0xf26600ff
  970. /*P2_SFR0*/
  971. #define R0900_P2_SFR0 0xf267
  972. #define F0900_P2_SYMB_FREQ0 0xf26700ff
  973. /*P2_TMGREG2*/
  974. #define R0900_P2_TMGREG2 0xf268
  975. #define F0900_P2_TMGREG2 0xf26800ff
  976. /*P2_TMGREG1*/
  977. #define R0900_P2_TMGREG1 0xf269
  978. #define F0900_P2_TMGREG1 0xf26900ff
  979. /*P2_TMGREG0*/
  980. #define R0900_P2_TMGREG0 0xf26a
  981. #define F0900_P2_TMGREG0 0xf26a00ff
  982. /*P2_TMGLOCK1*/
  983. #define R0900_P2_TMGLOCK1 0xf26b
  984. #define F0900_P2_TMGLOCK_LEVEL1 0xf26b01ff
  985. /*P2_TMGLOCK0*/
  986. #define R0900_P2_TMGLOCK0 0xf26c
  987. #define F0900_P2_TMGLOCK_LEVEL0 0xf26c00ff
  988. /*P2_TMGOBS*/
  989. #define R0900_P2_TMGOBS 0xf26d
  990. #define F0900_P2_ROLLOFF_STATUS 0xf26d00c0
  991. /*P2_EQUALCFG*/
  992. #define R0900_P2_EQUALCFG 0xf26f
  993. #define F0900_P2_EQUAL_ON 0xf26f0040
  994. #define F0900_P2_MU_EQUALDFE 0xf26f0007
  995. /*P2_EQUAI1*/
  996. #define R0900_P2_EQUAI1 0xf270
  997. #define F0900_P2_EQUA_ACCI1 0xf27001ff
  998. /*P2_EQUAQ1*/
  999. #define R0900_P2_EQUAQ1 0xf271
  1000. #define F0900_P2_EQUA_ACCQ1 0xf27101ff
  1001. /*P2_EQUAI2*/
  1002. #define R0900_P2_EQUAI2 0xf272
  1003. #define F0900_P2_EQUA_ACCI2 0xf27201ff
  1004. /*P2_EQUAQ2*/
  1005. #define R0900_P2_EQUAQ2 0xf273
  1006. #define F0900_P2_EQUA_ACCQ2 0xf27301ff
  1007. /*P2_EQUAI3*/
  1008. #define R0900_P2_EQUAI3 0xf274
  1009. #define F0900_P2_EQUA_ACCI3 0xf27401ff
  1010. /*P2_EQUAQ3*/
  1011. #define R0900_P2_EQUAQ3 0xf275
  1012. #define F0900_P2_EQUA_ACCQ3 0xf27501ff
  1013. /*P2_EQUAI4*/
  1014. #define R0900_P2_EQUAI4 0xf276
  1015. #define F0900_P2_EQUA_ACCI4 0xf27601ff
  1016. /*P2_EQUAQ4*/
  1017. #define R0900_P2_EQUAQ4 0xf277
  1018. #define F0900_P2_EQUA_ACCQ4 0xf27701ff
  1019. /*P2_EQUAI5*/
  1020. #define R0900_P2_EQUAI5 0xf278
  1021. #define F0900_P2_EQUA_ACCI5 0xf27801ff
  1022. /*P2_EQUAQ5*/
  1023. #define R0900_P2_EQUAQ5 0xf279
  1024. #define F0900_P2_EQUA_ACCQ5 0xf27901ff
  1025. /*P2_EQUAI6*/
  1026. #define R0900_P2_EQUAI6 0xf27a
  1027. #define F0900_P2_EQUA_ACCI6 0xf27a01ff
  1028. /*P2_EQUAQ6*/
  1029. #define R0900_P2_EQUAQ6 0xf27b
  1030. #define F0900_P2_EQUA_ACCQ6 0xf27b01ff
  1031. /*P2_EQUAI7*/
  1032. #define R0900_P2_EQUAI7 0xf27c
  1033. #define F0900_P2_EQUA_ACCI7 0xf27c01ff
  1034. /*P2_EQUAQ7*/
  1035. #define R0900_P2_EQUAQ7 0xf27d
  1036. #define F0900_P2_EQUA_ACCQ7 0xf27d01ff
  1037. /*P2_EQUAI8*/
  1038. #define R0900_P2_EQUAI8 0xf27e
  1039. #define F0900_P2_EQUA_ACCI8 0xf27e01ff
  1040. /*P2_EQUAQ8*/
  1041. #define R0900_P2_EQUAQ8 0xf27f
  1042. #define F0900_P2_EQUA_ACCQ8 0xf27f01ff
  1043. /*P2_NNOSDATAT1*/
  1044. #define R0900_P2_NNOSDATAT1 0xf280
  1045. #define F0900_P2_NOSDATAT_NORMED1 0xf28000ff
  1046. /*P2_NNOSDATAT0*/
  1047. #define R0900_P2_NNOSDATAT0 0xf281
  1048. #define F0900_P2_NOSDATAT_NORMED0 0xf28100ff
  1049. /*P2_NNOSDATA1*/
  1050. #define R0900_P2_NNOSDATA1 0xf282
  1051. #define F0900_P2_NOSDATA_NORMED1 0xf28200ff
  1052. /*P2_NNOSDATA0*/
  1053. #define R0900_P2_NNOSDATA0 0xf283
  1054. #define F0900_P2_NOSDATA_NORMED0 0xf28300ff
  1055. /*P2_NNOSPLHT1*/
  1056. #define R0900_P2_NNOSPLHT1 0xf284
  1057. #define F0900_P2_NOSPLHT_NORMED1 0xf28400ff
  1058. /*P2_NNOSPLHT0*/
  1059. #define R0900_P2_NNOSPLHT0 0xf285
  1060. #define F0900_P2_NOSPLHT_NORMED0 0xf28500ff
  1061. /*P2_NNOSPLH1*/
  1062. #define R0900_P2_NNOSPLH1 0xf286
  1063. #define F0900_P2_NOSPLH_NORMED1 0xf28600ff
  1064. /*P2_NNOSPLH0*/
  1065. #define R0900_P2_NNOSPLH0 0xf287
  1066. #define F0900_P2_NOSPLH_NORMED0 0xf28700ff
  1067. /*P2_NOSDATAT1*/
  1068. #define R0900_P2_NOSDATAT1 0xf288
  1069. #define F0900_P2_NOSDATAT_UNNORMED1 0xf28800ff
  1070. /*P2_NOSDATAT0*/
  1071. #define R0900_P2_NOSDATAT0 0xf289
  1072. #define F0900_P2_NOSDATAT_UNNORMED0 0xf28900ff
  1073. /*P2_NOSDATA1*/
  1074. #define R0900_P2_NOSDATA1 0xf28a
  1075. #define F0900_P2_NOSDATA_UNNORMED1 0xf28a00ff
  1076. /*P2_NOSDATA0*/
  1077. #define R0900_P2_NOSDATA0 0xf28b
  1078. #define F0900_P2_NOSDATA_UNNORMED0 0xf28b00ff
  1079. /*P2_NOSPLHT1*/
  1080. #define R0900_P2_NOSPLHT1 0xf28c
  1081. #define F0900_P2_NOSPLHT_UNNORMED1 0xf28c00ff
  1082. /*P2_NOSPLHT0*/
  1083. #define R0900_P2_NOSPLHT0 0xf28d
  1084. #define F0900_P2_NOSPLHT_UNNORMED0 0xf28d00ff
  1085. /*P2_NOSPLH1*/
  1086. #define R0900_P2_NOSPLH1 0xf28e
  1087. #define F0900_P2_NOSPLH_UNNORMED1 0xf28e00ff
  1088. /*P2_NOSPLH0*/
  1089. #define R0900_P2_NOSPLH0 0xf28f
  1090. #define F0900_P2_NOSPLH_UNNORMED0 0xf28f00ff
  1091. /*P2_CAR2CFG*/
  1092. #define R0900_P2_CAR2CFG 0xf290
  1093. #define F0900_P2_CARRIER3_DISABLE 0xf2900040
  1094. #define F0900_P2_ROTA2ON 0xf2900004
  1095. #define F0900_P2_PH_DET_ALGO2 0xf2900003
  1096. /*P2_CFR2CFR1*/
  1097. #define R0900_P2_CFR2CFR1 0xf291
  1098. #define F0900_P2_CFR2TOCFR1_DVBS1 0xf29100c0
  1099. #define F0900_P2_EN_S2CAR2CENTER 0xf2910020
  1100. #define F0900_P2_DIS_BCHERRCFR2 0xf2910010
  1101. #define F0900_P2_CFR2TOCFR1_BETA 0xf2910007
  1102. /*P2_CFR22*/
  1103. #define R0900_P2_CFR22 0xf293
  1104. #define F0900_P2_CAR2_FREQ2 0xf29301ff
  1105. /*P2_CFR21*/
  1106. #define R0900_P2_CFR21 0xf294
  1107. #define F0900_P2_CAR2_FREQ1 0xf29400ff
  1108. /*P2_CFR20*/
  1109. #define R0900_P2_CFR20 0xf295
  1110. #define F0900_P2_CAR2_FREQ0 0xf29500ff
  1111. /*P2_ACLC2S2Q*/
  1112. #define R0900_P2_ACLC2S2Q 0xf297
  1113. #define F0900_P2_ENAB_SPSKSYMB 0xf2970080
  1114. #define F0900_P2_CAR2S2_Q_ALPH_M 0xf2970030
  1115. #define F0900_P2_CAR2S2_Q_ALPH_E 0xf297000f
  1116. /*P2_ACLC2S28*/
  1117. #define R0900_P2_ACLC2S28 0xf298
  1118. #define F0900_P2_OLDI3Q_MODE 0xf2980080
  1119. #define F0900_P2_CAR2S2_8_ALPH_M 0xf2980030
  1120. #define F0900_P2_CAR2S2_8_ALPH_E 0xf298000f
  1121. /*P2_ACLC2S216A*/
  1122. #define R0900_P2_ACLC2S216A 0xf299
  1123. #define F0900_P2_DIS_C3STOPA2 0xf2990080
  1124. #define F0900_P2_CAR2S2_16ADERAT 0xf2990040
  1125. #define F0900_P2_CAR2S2_16A_ALPH_M 0xf2990030
  1126. #define F0900_P2_CAR2S2_16A_ALPH_E 0xf299000f
  1127. /*P2_ACLC2S232A*/
  1128. #define R0900_P2_ACLC2S232A 0xf29a
  1129. #define F0900_P2_CAR2S2_32ADERAT 0xf29a0040
  1130. #define F0900_P2_CAR2S2_32A_ALPH_M 0xf29a0030
  1131. #define F0900_P2_CAR2S2_32A_ALPH_E 0xf29a000f
  1132. /*P2_BCLC2S2Q*/
  1133. #define R0900_P2_BCLC2S2Q 0xf29c
  1134. #define F0900_P2_CAR2S2_Q_BETA_M 0xf29c0030
  1135. #define F0900_P2_CAR2S2_Q_BETA_E 0xf29c000f
  1136. /*P2_BCLC2S28*/
  1137. #define R0900_P2_BCLC2S28 0xf29d
  1138. #define F0900_P2_CAR2S2_8_BETA_M 0xf29d0030
  1139. #define F0900_P2_CAR2S2_8_BETA_E 0xf29d000f
  1140. /*P2_BCLC2S216A*/
  1141. #define R0900_P2_BCLC2S216A 0xf29e
  1142. /*P2_BCLC2S232A*/
  1143. #define R0900_P2_BCLC2S232A 0xf29f
  1144. /*P2_PLROOT2*/
  1145. #define R0900_P2_PLROOT2 0xf2ac
  1146. #define F0900_P2_PLSCRAMB_MODE 0xf2ac000c
  1147. #define F0900_P2_PLSCRAMB_ROOT2 0xf2ac0003
  1148. /*P2_PLROOT1*/
  1149. #define R0900_P2_PLROOT1 0xf2ad
  1150. #define F0900_P2_PLSCRAMB_ROOT1 0xf2ad00ff
  1151. /*P2_PLROOT0*/
  1152. #define R0900_P2_PLROOT0 0xf2ae
  1153. #define F0900_P2_PLSCRAMB_ROOT0 0xf2ae00ff
  1154. /*P2_MODCODLST0*/
  1155. #define R0900_P2_MODCODLST0 0xf2b0
  1156. /*P2_MODCODLST1*/
  1157. #define R0900_P2_MODCODLST1 0xf2b1
  1158. #define F0900_P2_DIS_MODCOD29 0xf2b100f0
  1159. #define F0900_P2_DIS_32PSK_9_10 0xf2b1000f
  1160. /*P2_MODCODLST2*/
  1161. #define R0900_P2_MODCODLST2 0xf2b2
  1162. #define F0900_P2_DIS_32PSK_8_9 0xf2b200f0
  1163. #define F0900_P2_DIS_32PSK_5_6 0xf2b2000f
  1164. /*P2_MODCODLST3*/
  1165. #define R0900_P2_MODCODLST3 0xf2b3
  1166. #define F0900_P2_DIS_32PSK_4_5 0xf2b300f0
  1167. #define F0900_P2_DIS_32PSK_3_4 0xf2b3000f
  1168. /*P2_MODCODLST4*/
  1169. #define R0900_P2_MODCODLST4 0xf2b4
  1170. #define F0900_P2_DIS_16PSK_9_10 0xf2b400f0
  1171. #define F0900_P2_DIS_16PSK_8_9 0xf2b4000f
  1172. /*P2_MODCODLST5*/
  1173. #define R0900_P2_MODCODLST5 0xf2b5
  1174. #define F0900_P2_DIS_16PSK_5_6 0xf2b500f0
  1175. #define F0900_P2_DIS_16PSK_4_5 0xf2b5000f
  1176. /*P2_MODCODLST6*/
  1177. #define R0900_P2_MODCODLST6 0xf2b6
  1178. #define F0900_P2_DIS_16PSK_3_4 0xf2b600f0
  1179. #define F0900_P2_DIS_16PSK_2_3 0xf2b6000f
  1180. /*P2_MODCODLST7*/
  1181. #define R0900_P2_MODCODLST7 0xf2b7
  1182. #define F0900_P2_DIS_8P_9_10 0xf2b700f0
  1183. #define F0900_P2_DIS_8P_8_9 0xf2b7000f
  1184. /*P2_MODCODLST8*/
  1185. #define R0900_P2_MODCODLST8 0xf2b8
  1186. #define F0900_P2_DIS_8P_5_6 0xf2b800f0
  1187. #define F0900_P2_DIS_8P_3_4 0xf2b8000f
  1188. /*P2_MODCODLST9*/
  1189. #define R0900_P2_MODCODLST9 0xf2b9
  1190. #define F0900_P2_DIS_8P_2_3 0xf2b900f0
  1191. #define F0900_P2_DIS_8P_3_5 0xf2b9000f
  1192. /*P2_MODCODLSTA*/
  1193. #define R0900_P2_MODCODLSTA 0xf2ba
  1194. #define F0900_P2_DIS_QP_9_10 0xf2ba00f0
  1195. #define F0900_P2_DIS_QP_8_9 0xf2ba000f
  1196. /*P2_MODCODLSTB*/
  1197. #define R0900_P2_MODCODLSTB 0xf2bb
  1198. #define F0900_P2_DIS_QP_5_6 0xf2bb00f0
  1199. #define F0900_P2_DIS_QP_4_5 0xf2bb000f
  1200. /*P2_MODCODLSTC*/
  1201. #define R0900_P2_MODCODLSTC 0xf2bc
  1202. #define F0900_P2_DIS_QP_3_4 0xf2bc00f0
  1203. #define F0900_P2_DIS_QP_2_3 0xf2bc000f
  1204. /*P2_MODCODLSTD*/
  1205. #define R0900_P2_MODCODLSTD 0xf2bd
  1206. #define F0900_P2_DIS_QP_3_5 0xf2bd00f0
  1207. #define F0900_P2_DIS_QP_1_2 0xf2bd000f
  1208. /*P2_MODCODLSTE*/
  1209. #define R0900_P2_MODCODLSTE 0xf2be
  1210. #define F0900_P2_DIS_QP_2_5 0xf2be00f0
  1211. #define F0900_P2_DIS_QP_1_3 0xf2be000f
  1212. /*P2_MODCODLSTF*/
  1213. #define R0900_P2_MODCODLSTF 0xf2bf
  1214. #define F0900_P2_DIS_QP_1_4 0xf2bf00f0
  1215. /*P2_GAUSSR0*/
  1216. #define R0900_P2_GAUSSR0 0xf2c0
  1217. #define F0900_P2_EN_CCIMODE 0xf2c00080
  1218. #define F0900_P2_R0_GAUSSIEN 0xf2c0007f
  1219. /*P2_CCIR0*/
  1220. #define R0900_P2_CCIR0 0xf2c1
  1221. #define F0900_P2_CCIDETECT_PLHONLY 0xf2c10080
  1222. #define F0900_P2_R0_CCI 0xf2c1007f
  1223. /*P2_CCIQUANT*/
  1224. #define R0900_P2_CCIQUANT 0xf2c2
  1225. #define F0900_P2_CCI_BETA 0xf2c200e0
  1226. #define F0900_P2_CCI_QUANT 0xf2c2001f
  1227. /*P2_CCITHRES*/
  1228. #define R0900_P2_CCITHRES 0xf2c3
  1229. #define F0900_P2_CCI_THRESHOLD 0xf2c300ff
  1230. /*P2_CCIACC*/
  1231. #define R0900_P2_CCIACC 0xf2c4
  1232. #define F0900_P2_CCI_VALUE 0xf2c400ff
  1233. /*P2_DMDRESCFG*/
  1234. #define R0900_P2_DMDRESCFG 0xf2c6
  1235. #define F0900_P2_DMDRES_RESET 0xf2c60080
  1236. #define F0900_P2_DMDRES_STRALL 0xf2c60008
  1237. #define F0900_P2_DMDRES_NEWONLY 0xf2c60004
  1238. #define F0900_P2_DMDRES_NOSTORE 0xf2c60002
  1239. /*P2_DMDRESADR*/
  1240. #define R0900_P2_DMDRESADR 0xf2c7
  1241. #define F0900_P2_DMDRES_VALIDCFR 0xf2c70040
  1242. #define F0900_P2_DMDRES_MEMFULL 0xf2c70030
  1243. #define F0900_P2_DMDRES_RESNBR 0xf2c7000f
  1244. /*P2_DMDRESDATA7*/
  1245. #define R0900_P2_DMDRESDATA7 0xf2c8
  1246. #define F0900_P2_DMDRES_DATA7 0xf2c800ff
  1247. /*P2_DMDRESDATA6*/
  1248. #define R0900_P2_DMDRESDATA6 0xf2c9
  1249. #define F0900_P2_DMDRES_DATA6 0xf2c900ff
  1250. /*P2_DMDRESDATA5*/
  1251. #define R0900_P2_DMDRESDATA5 0xf2ca
  1252. #define F0900_P2_DMDRES_DATA5 0xf2ca00ff
  1253. /*P2_DMDRESDATA4*/
  1254. #define R0900_P2_DMDRESDATA4 0xf2cb
  1255. #define F0900_P2_DMDRES_DATA4 0xf2cb00ff
  1256. /*P2_DMDRESDATA3*/
  1257. #define R0900_P2_DMDRESDATA3 0xf2cc
  1258. #define F0900_P2_DMDRES_DATA3 0xf2cc00ff
  1259. /*P2_DMDRESDATA2*/
  1260. #define R0900_P2_DMDRESDATA2 0xf2cd
  1261. #define F0900_P2_DMDRES_DATA2 0xf2cd00ff
  1262. /*P2_DMDRESDATA1*/
  1263. #define R0900_P2_DMDRESDATA1 0xf2ce
  1264. #define F0900_P2_DMDRES_DATA1 0xf2ce00ff
  1265. /*P2_DMDRESDATA0*/
  1266. #define R0900_P2_DMDRESDATA0 0xf2cf
  1267. #define F0900_P2_DMDRES_DATA0 0xf2cf00ff
  1268. /*P2_FFEI1*/
  1269. #define R0900_P2_FFEI1 0xf2d0
  1270. #define F0900_P2_FFE_ACCI1 0xf2d001ff
  1271. /*P2_FFEQ1*/
  1272. #define R0900_P2_FFEQ1 0xf2d1
  1273. #define F0900_P2_FFE_ACCQ1 0xf2d101ff
  1274. /*P2_FFEI2*/
  1275. #define R0900_P2_FFEI2 0xf2d2
  1276. #define F0900_P2_FFE_ACCI2 0xf2d201ff
  1277. /*P2_FFEQ2*/
  1278. #define R0900_P2_FFEQ2 0xf2d3
  1279. #define F0900_P2_FFE_ACCQ2 0xf2d301ff
  1280. /*P2_FFEI3*/
  1281. #define R0900_P2_FFEI3 0xf2d4
  1282. #define F0900_P2_FFE_ACCI3 0xf2d401ff
  1283. /*P2_FFEQ3*/
  1284. #define R0900_P2_FFEQ3 0xf2d5
  1285. #define F0900_P2_FFE_ACCQ3 0xf2d501ff
  1286. /*P2_FFEI4*/
  1287. #define R0900_P2_FFEI4 0xf2d6
  1288. #define F0900_P2_FFE_ACCI4 0xf2d601ff
  1289. /*P2_FFEQ4*/
  1290. #define R0900_P2_FFEQ4 0xf2d7
  1291. #define F0900_P2_FFE_ACCQ4 0xf2d701ff
  1292. /*P2_FFECFG*/
  1293. #define R0900_P2_FFECFG 0xf2d8
  1294. #define F0900_P2_EQUALFFE_ON 0xf2d80040
  1295. #define F0900_P2_MU_EQUALFFE 0xf2d80007
  1296. /*P2_TNRCFG*/
  1297. #define R0900_P2_TNRCFG 0xf2e0
  1298. #define F0900_P2_TUN_ACKFAIL 0xf2e00080
  1299. #define F0900_P2_TUN_TYPE 0xf2e00070
  1300. #define F0900_P2_TUN_SECSTOP 0xf2e00008
  1301. #define F0900_P2_TUN_VCOSRCH 0xf2e00004
  1302. #define F0900_P2_TUN_MADDRESS 0xf2e00003
  1303. /*P2_TNRCFG2*/
  1304. #define R0900_P2_TNRCFG2 0xf2e1
  1305. #define F0900_P2_TUN_IQSWAP 0xf2e10080
  1306. #define F0900_P2_DIS_BWCALC 0xf2e10004
  1307. #define F0900_P2_SHORT_WAITSTATES 0xf2e10002
  1308. /*P2_TNRXTAL*/
  1309. #define R0900_P2_TNRXTAL 0xf2e4
  1310. #define F0900_P2_TUN_XTALFREQ 0xf2e4001f
  1311. /*P2_TNRSTEPS*/
  1312. #define R0900_P2_TNRSTEPS 0xf2e7
  1313. #define F0900_P2_TUNER_BW0P125 0xf2e70080
  1314. #define F0900_P2_BWINC_OFFSET 0xf2e70170
  1315. #define F0900_P2_SOFTSTEP_RNG 0xf2e70008
  1316. #define F0900_P2_TUN_BWOFFSET 0xf2e70007
  1317. /*P2_TNRGAIN*/
  1318. #define R0900_P2_TNRGAIN 0xf2e8
  1319. #define F0900_P2_TUN_KDIVEN 0xf2e800c0
  1320. #define F0900_P2_STB6X00_OCK 0xf2e80030
  1321. #define F0900_P2_TUN_GAIN 0xf2e8000f
  1322. /*P2_TNRRF1*/
  1323. #define R0900_P2_TNRRF1 0xf2e9
  1324. #define F0900_P2_TUN_RFFREQ2 0xf2e900ff
  1325. /*P2_TNRRF0*/
  1326. #define R0900_P2_TNRRF0 0xf2ea
  1327. #define F0900_P2_TUN_RFFREQ1 0xf2ea00ff
  1328. /*P2_TNRBW*/
  1329. #define R0900_P2_TNRBW 0xf2eb
  1330. #define F0900_P2_TUN_RFFREQ0 0xf2eb00c0
  1331. #define F0900_P2_TUN_BW 0xf2eb003f
  1332. /*P2_TNRADJ*/
  1333. #define R0900_P2_TNRADJ 0xf2ec
  1334. #define F0900_P2_STB61X0_CALTIME 0xf2ec0040
  1335. /*P2_TNRCTL2*/
  1336. #define R0900_P2_TNRCTL2 0xf2ed
  1337. #define F0900_P2_STB61X0_RCCKOFF 0xf2ed0080
  1338. #define F0900_P2_STB61X0_ICP_SDOFF 0xf2ed0040
  1339. #define F0900_P2_STB61X0_DCLOOPOFF 0xf2ed0020
  1340. #define F0900_P2_STB61X0_REFOUTSEL 0xf2ed0010
  1341. #define F0900_P2_STB61X0_CALOFF 0xf2ed0008
  1342. #define F0900_P2_STB6XX0_LPT_BEN 0xf2ed0004
  1343. #define F0900_P2_STB6XX0_RX_OSCP 0xf2ed0002
  1344. #define F0900_P2_STB6XX0_SYN 0xf2ed0001
  1345. /*P2_TNRCFG3*/
  1346. #define R0900_P2_TNRCFG3 0xf2ee
  1347. #define F0900_P2_TUN_PLLFREQ 0xf2ee001c
  1348. #define F0900_P2_TUN_I2CFREQ_MODE 0xf2ee0003
  1349. /*P2_TNRLAUNCH*/
  1350. #define R0900_P2_TNRLAUNCH 0xf2f0
  1351. /*P2_TNRLD*/
  1352. #define R0900_P2_TNRLD 0xf2f0
  1353. #define F0900_P2_TUNLD_VCOING 0xf2f00080
  1354. #define F0900_P2_TUN_REG1FAIL 0xf2f00040
  1355. #define F0900_P2_TUN_REG2FAIL 0xf2f00020
  1356. #define F0900_P2_TUN_REG3FAIL 0xf2f00010
  1357. #define F0900_P2_TUN_REG4FAIL 0xf2f00008
  1358. #define F0900_P2_TUN_REG5FAIL 0xf2f00004
  1359. #define F0900_P2_TUN_BWING 0xf2f00002
  1360. #define F0900_P2_TUN_LOCKED 0xf2f00001
  1361. /*P2_TNROBSL*/
  1362. #define R0900_P2_TNROBSL 0xf2f6
  1363. #define F0900_P2_TUN_I2CABORTED 0xf2f60080
  1364. #define F0900_P2_TUN_LPEN 0xf2f60040
  1365. #define F0900_P2_TUN_FCCK 0xf2f60020
  1366. #define F0900_P2_TUN_I2CLOCKED 0xf2f60010
  1367. #define F0900_P2_TUN_PROGDONE 0xf2f6000c
  1368. #define F0900_P2_TUN_RFRESTE1 0xf2f60003
  1369. /*P2_TNRRESTE*/
  1370. #define R0900_P2_TNRRESTE 0xf2f7
  1371. #define F0900_P2_TUN_RFRESTE0 0xf2f700ff
  1372. /*P2_SMAPCOEF7*/
  1373. #define R0900_P2_SMAPCOEF7 0xf300
  1374. #define F0900_P2_DIS_QSCALE 0xf3000080
  1375. #define F0900_P2_SMAPCOEF_Q_LLR12 0xf300017f
  1376. /*P2_SMAPCOEF6*/
  1377. #define R0900_P2_SMAPCOEF6 0xf301
  1378. #define F0900_P2_ADJ_8PSKLLR1 0xf3010004
  1379. #define F0900_P2_OLD_8PSKLLR1 0xf3010002
  1380. #define F0900_P2_DIS_AB8PSK 0xf3010001
  1381. /*P2_SMAPCOEF5*/
  1382. #define R0900_P2_SMAPCOEF5 0xf302
  1383. #define F0900_P2_DIS_8SCALE 0xf3020080
  1384. #define F0900_P2_SMAPCOEF_8P_LLR23 0xf302017f
  1385. /*P2_NCO2MAX1*/
  1386. #define R0900_P2_NCO2MAX1 0xf314
  1387. #define F0900_P2_TETA2_MAXVABS1 0xf31400ff
  1388. /*P2_NCO2MAX0*/
  1389. #define R0900_P2_NCO2MAX0 0xf315
  1390. #define F0900_P2_TETA2_MAXVABS0 0xf31500ff
  1391. /*P2_NCO2FR1*/
  1392. #define R0900_P2_NCO2FR1 0xf316
  1393. #define F0900_P2_NCO2FINAL_ANGLE1 0xf31600ff
  1394. /*P2_NCO2FR0*/
  1395. #define R0900_P2_NCO2FR0 0xf317
  1396. #define F0900_P2_NCO2FINAL_ANGLE0 0xf31700ff
  1397. /*P2_CFR2AVRGE1*/
  1398. #define R0900_P2_CFR2AVRGE1 0xf318
  1399. #define F0900_P2_I2C_CFR2AVERAGE1 0xf31800ff
  1400. /*P2_CFR2AVRGE0*/
  1401. #define R0900_P2_CFR2AVRGE0 0xf319
  1402. #define F0900_P2_I2C_CFR2AVERAGE0 0xf31900ff
  1403. /*P2_DMDPLHSTAT*/
  1404. #define R0900_P2_DMDPLHSTAT 0xf320
  1405. #define F0900_P2_PLH_STATISTIC 0xf32000ff
  1406. /*P2_LOCKTIME3*/
  1407. #define R0900_P2_LOCKTIME3 0xf322
  1408. #define F0900_P2_DEMOD_LOCKTIME3 0xf32200ff
  1409. /*P2_LOCKTIME2*/
  1410. #define R0900_P2_LOCKTIME2 0xf323
  1411. #define F0900_P2_DEMOD_LOCKTIME2 0xf32300ff
  1412. /*P2_LOCKTIME1*/
  1413. #define R0900_P2_LOCKTIME1 0xf324
  1414. #define F0900_P2_DEMOD_LOCKTIME1 0xf32400ff
  1415. /*P2_LOCKTIME0*/
  1416. #define R0900_P2_LOCKTIME0 0xf325
  1417. #define F0900_P2_DEMOD_LOCKTIME0 0xf32500ff
  1418. /*P2_VITSCALE*/
  1419. #define R0900_P2_VITSCALE 0xf332
  1420. #define F0900_P2_NVTH_NOSRANGE 0xf3320080
  1421. #define F0900_P2_VERROR_MAXMODE 0xf3320040
  1422. #define F0900_P2_NSLOWSN_LOCKED 0xf3320008
  1423. #define F0900_P2_DIS_RSFLOCK 0xf3320002
  1424. /*P2_FECM*/
  1425. #define R0900_P2_FECM 0xf333
  1426. #define F0900_P2_DSS_DVB 0xf3330080
  1427. #define F0900_P2_DSS_SRCH 0xf3330010
  1428. #define F0900_P2_SYNCVIT 0xf3330002
  1429. #define F0900_P2_IQINV 0xf3330001
  1430. /*P2_VTH12*/
  1431. #define R0900_P2_VTH12 0xf334
  1432. #define F0900_P2_VTH12 0xf33400ff
  1433. /*P2_VTH23*/
  1434. #define R0900_P2_VTH23 0xf335
  1435. #define F0900_P2_VTH23 0xf33500ff
  1436. /*P2_VTH34*/
  1437. #define R0900_P2_VTH34 0xf336
  1438. #define F0900_P2_VTH34 0xf33600ff
  1439. /*P2_VTH56*/
  1440. #define R0900_P2_VTH56 0xf337
  1441. #define F0900_P2_VTH56 0xf33700ff
  1442. /*P2_VTH67*/
  1443. #define R0900_P2_VTH67 0xf338
  1444. #define F0900_P2_VTH67 0xf33800ff
  1445. /*P2_VTH78*/
  1446. #define R0900_P2_VTH78 0xf339
  1447. #define F0900_P2_VTH78 0xf33900ff
  1448. /*P2_VITCURPUN*/
  1449. #define R0900_P2_VITCURPUN 0xf33a
  1450. #define F0900_P2_VIT_CURPUN 0xf33a001f
  1451. /*P2_VERROR*/
  1452. #define R0900_P2_VERROR 0xf33b
  1453. #define F0900_P2_REGERR_VIT 0xf33b00ff
  1454. /*P2_PRVIT*/
  1455. #define R0900_P2_PRVIT 0xf33c
  1456. #define F0900_P2_DIS_VTHLOCK 0xf33c0040
  1457. #define F0900_P2_E7_8VIT 0xf33c0020
  1458. #define F0900_P2_E6_7VIT 0xf33c0010
  1459. #define F0900_P2_E5_6VIT 0xf33c0008
  1460. #define F0900_P2_E3_4VIT 0xf33c0004
  1461. #define F0900_P2_E2_3VIT 0xf33c0002
  1462. #define F0900_P2_E1_2VIT 0xf33c0001
  1463. /*P2_VAVSRVIT*/
  1464. #define R0900_P2_VAVSRVIT 0xf33d
  1465. #define F0900_P2_AMVIT 0xf33d0080
  1466. #define F0900_P2_FROZENVIT 0xf33d0040
  1467. #define F0900_P2_SNVIT 0xf33d0030
  1468. #define F0900_P2_TOVVIT 0xf33d000c
  1469. #define F0900_P2_HYPVIT 0xf33d0003
  1470. /*P2_VSTATUSVIT*/
  1471. #define R0900_P2_VSTATUSVIT 0xf33e
  1472. #define F0900_P2_PRFVIT 0xf33e0010
  1473. #define F0900_P2_LOCKEDVIT 0xf33e0008
  1474. /*P2_VTHINUSE*/
  1475. #define R0900_P2_VTHINUSE 0xf33f
  1476. #define F0900_P2_VIT_INUSE 0xf33f00ff
  1477. /*P2_KDIV12*/
  1478. #define R0900_P2_KDIV12 0xf340
  1479. #define F0900_P2_K_DIVIDER_12 0xf340007f
  1480. /*P2_KDIV23*/
  1481. #define R0900_P2_KDIV23 0xf341
  1482. #define F0900_P2_K_DIVIDER_23 0xf341007f
  1483. /*P2_KDIV34*/
  1484. #define R0900_P2_KDIV34 0xf342
  1485. #define F0900_P2_K_DIVIDER_34 0xf342007f
  1486. /*P2_KDIV56*/
  1487. #define R0900_P2_KDIV56 0xf343
  1488. #define F0900_P2_K_DIVIDER_56 0xf343007f
  1489. /*P2_KDIV67*/
  1490. #define R0900_P2_KDIV67 0xf344
  1491. #define F0900_P2_K_DIVIDER_67 0xf344007f
  1492. /*P2_KDIV78*/
  1493. #define R0900_P2_KDIV78 0xf345
  1494. #define F0900_P2_K_DIVIDER_78 0xf345007f
  1495. /*P2_PDELCTRL1*/
  1496. #define R0900_P2_PDELCTRL1 0xf350
  1497. #define F0900_P2_INV_MISMASK 0xf3500080
  1498. #define F0900_P2_FILTER_EN 0xf3500020
  1499. #define F0900_P2_EN_MIS00 0xf3500002
  1500. #define F0900_P2_ALGOSWRST 0xf3500001
  1501. /*P2_PDELCTRL2*/
  1502. #define R0900_P2_PDELCTRL2 0xf351
  1503. #define F0900_P2_RESET_UPKO_COUNT 0xf3510040
  1504. #define F0900_P2_FRAME_MODE 0xf3510002
  1505. #define F0900_P2_NOBCHERRFLG_USE 0xf3510001
  1506. /*P2_HYSTTHRESH*/
  1507. #define R0900_P2_HYSTTHRESH 0xf354
  1508. #define F0900_P2_UNLCK_THRESH 0xf35400f0
  1509. #define F0900_P2_DELIN_LCK_THRESH 0xf354000f
  1510. /*P2_ISIENTRY*/
  1511. #define R0900_P2_ISIENTRY 0xf35e
  1512. #define F0900_P2_ISI_ENTRY 0xf35e00ff
  1513. /*P2_ISIBITENA*/
  1514. #define R0900_P2_ISIBITENA 0xf35f
  1515. #define F0900_P2_ISI_BIT_EN 0xf35f00ff
  1516. /*P2_MATSTR1*/
  1517. #define R0900_P2_MATSTR1 0xf360
  1518. #define F0900_P2_MATYPE_CURRENT1 0xf36000ff
  1519. /*P2_MATSTR0*/
  1520. #define R0900_P2_MATSTR0 0xf361
  1521. #define F0900_P2_MATYPE_CURRENT0 0xf36100ff
  1522. /*P2_UPLSTR1*/
  1523. #define R0900_P2_UPLSTR1 0xf362
  1524. #define F0900_P2_UPL_CURRENT1 0xf36200ff
  1525. /*P2_UPLSTR0*/
  1526. #define R0900_P2_UPLSTR0 0xf363
  1527. #define F0900_P2_UPL_CURRENT0 0xf36300ff
  1528. /*P2_DFLSTR1*/
  1529. #define R0900_P2_DFLSTR1 0xf364
  1530. #define F0900_P2_DFL_CURRENT1 0xf36400ff
  1531. /*P2_DFLSTR0*/
  1532. #define R0900_P2_DFLSTR0 0xf365
  1533. #define F0900_P2_DFL_CURRENT0 0xf36500ff
  1534. /*P2_SYNCSTR*/
  1535. #define R0900_P2_SYNCSTR 0xf366
  1536. #define F0900_P2_SYNC_CURRENT 0xf36600ff
  1537. /*P2_SYNCDSTR1*/
  1538. #define R0900_P2_SYNCDSTR1 0xf367
  1539. #define F0900_P2_SYNCD_CURRENT1 0xf36700ff
  1540. /*P2_SYNCDSTR0*/
  1541. #define R0900_P2_SYNCDSTR0 0xf368
  1542. #define F0900_P2_SYNCD_CURRENT0 0xf36800ff
  1543. /*P2_PDELSTATUS1*/
  1544. #define R0900_P2_PDELSTATUS1 0xf369
  1545. #define F0900_P2_PKTDELIN_DELOCK 0xf3690080
  1546. #define F0900_P2_SYNCDUPDFL_BADDFL 0xf3690040
  1547. #define F0900_P2_CONTINUOUS_STREAM 0xf3690020
  1548. #define F0900_P2_UNACCEPTED_STREAM 0xf3690010
  1549. #define F0900_P2_BCH_ERROR_FLAG 0xf3690008
  1550. #define F0900_P2_PKTDELIN_LOCK 0xf3690002
  1551. #define F0900_P2_FIRST_LOCK 0xf3690001
  1552. /*P2_PDELSTATUS2*/
  1553. #define R0900_P2_PDELSTATUS2 0xf36a
  1554. #define F0900_P2_FRAME_MODCOD 0xf36a007c
  1555. #define F0900_P2_FRAME_TYPE 0xf36a0003
  1556. /*P2_BBFCRCKO1*/
  1557. #define R0900_P2_BBFCRCKO1 0xf36b
  1558. #define F0900_P2_BBHCRC_KOCNT1 0xf36b00ff
  1559. /*P2_BBFCRCKO0*/
  1560. #define R0900_P2_BBFCRCKO0 0xf36c
  1561. #define F0900_P2_BBHCRC_KOCNT0 0xf36c00ff
  1562. /*P2_UPCRCKO1*/
  1563. #define R0900_P2_UPCRCKO1 0xf36d
  1564. #define F0900_P2_PKTCRC_KOCNT1 0xf36d00ff
  1565. /*P2_UPCRCKO0*/
  1566. #define R0900_P2_UPCRCKO0 0xf36e
  1567. #define F0900_P2_PKTCRC_KOCNT0 0xf36e00ff
  1568. /*P2_PDELCTRL3*/
  1569. #define R0900_P2_PDELCTRL3 0xf36f
  1570. #define F0900_P2_PKTDEL_CONTFAIL 0xf36f0080
  1571. #define F0900_P2_NOFIFO_BCHERR 0xf36f0020
  1572. /*P2_TSSTATEM*/
  1573. #define R0900_P2_TSSTATEM 0xf370
  1574. #define F0900_P2_TSDIL_ON 0xf3700080
  1575. #define F0900_P2_TSRS_ON 0xf3700020
  1576. #define F0900_P2_TSDESCRAMB_ON 0xf3700010
  1577. #define F0900_P2_TSFRAME_MODE 0xf3700008
  1578. #define F0900_P2_TS_DISABLE 0xf3700004
  1579. #define F0900_P2_TSOUT_NOSYNC 0xf3700001
  1580. /*P2_TSCFGH*/
  1581. #define R0900_P2_TSCFGH 0xf372
  1582. #define F0900_P2_TSFIFO_DVBCI 0xf3720080
  1583. #define F0900_P2_TSFIFO_SERIAL 0xf3720040
  1584. #define F0900_P2_TSFIFO_TEIUPDATE 0xf3720020
  1585. #define F0900_P2_TSFIFO_DUTY50 0xf3720010
  1586. #define F0900_P2_TSFIFO_HSGNLOUT 0xf3720008
  1587. #define F0900_P2_TSFIFO_ERRMODE 0xf3720006
  1588. #define F0900_P2_RST_HWARE 0xf3720001
  1589. /*P2_TSCFGM*/
  1590. #define R0900_P2_TSCFGM 0xf373
  1591. #define F0900_P2_TSFIFO_MANSPEED 0xf37300c0
  1592. #define F0900_P2_TSFIFO_PERMDATA 0xf3730020
  1593. #define F0900_P2_TSFIFO_DPUNACT 0xf3730002
  1594. #define F0900_P2_TSFIFO_INVDATA 0xf3730001
  1595. /*P2_TSCFGL*/
  1596. #define R0900_P2_TSCFGL 0xf374
  1597. #define F0900_P2_TSFIFO_BCLKDEL1CK 0xf37400c0
  1598. #define F0900_P2_BCHERROR_MODE 0xf3740030
  1599. #define F0900_P2_TSFIFO_NSGNL2DATA 0xf3740008
  1600. #define F0900_P2_TSFIFO_EMBINDVB 0xf3740004
  1601. #define F0900_P2_TSFIFO_BITSPEED 0xf3740003
  1602. /*P2_TSINSDELH*/
  1603. #define R0900_P2_TSINSDELH 0xf376
  1604. #define F0900_P2_TSDEL_SYNCBYTE 0xf3760080
  1605. #define F0900_P2_TSDEL_XXHEADER 0xf3760040
  1606. #define F0900_P2_TSDEL_BBHEADER 0xf3760020
  1607. #define F0900_P2_TSDEL_DATAFIELD 0xf3760010
  1608. #define F0900_P2_TSINSDEL_ISCR 0xf3760008
  1609. #define F0900_P2_TSINSDEL_NPD 0xf3760004
  1610. #define F0900_P2_TSINSDEL_RSPARITY 0xf3760002
  1611. #define F0900_P2_TSINSDEL_CRC8 0xf3760001
  1612. /*P2_TSDIVN*/
  1613. #define R0900_P2_TSDIVN 0xf379
  1614. #define F0900_P2_TSFIFO_SPEEDMODE 0xf37900c0
  1615. /*P2_TSCFG4*/
  1616. #define R0900_P2_TSCFG4 0xf37a
  1617. #define F0900_P2_TSFIFO_TSSPEEDMODE 0xf37a00c0
  1618. /*P2_TSSPEED*/
  1619. #define R0900_P2_TSSPEED 0xf380
  1620. #define F0900_P2_TSFIFO_OUTSPEED 0xf38000ff
  1621. /*P2_TSSTATUS*/
  1622. #define R0900_P2_TSSTATUS 0xf381
  1623. #define F0900_P2_TSFIFO_LINEOK 0xf3810080
  1624. #define F0900_P2_TSFIFO_ERROR 0xf3810040
  1625. #define F0900_P2_DIL_READY 0xf3810001
  1626. /*P2_TSSTATUS2*/
  1627. #define R0900_P2_TSSTATUS2 0xf382
  1628. #define F0900_P2_TSFIFO_DEMODSEL 0xf3820080
  1629. #define F0900_P2_TSFIFOSPEED_STORE 0xf3820040
  1630. #define F0900_P2_DILXX_RESET 0xf3820020
  1631. #define F0900_P2_TSSERIAL_IMPOS 0xf3820010
  1632. #define F0900_P2_SCRAMBDETECT 0xf3820002
  1633. /*P2_TSBITRATE1*/
  1634. #define R0900_P2_TSBITRATE1 0xf383
  1635. #define F0900_P2_TSFIFO_BITRATE1 0xf38300ff
  1636. /*P2_TSBITRATE0*/
  1637. #define R0900_P2_TSBITRATE0 0xf384
  1638. #define F0900_P2_TSFIFO_BITRATE0 0xf38400ff
  1639. /*P2_ERRCTRL1*/
  1640. #define R0900_P2_ERRCTRL1 0xf398
  1641. #define F0900_P2_ERR_SOURCE1 0xf39800f0
  1642. #define F0900_P2_NUM_EVENT1 0xf3980007
  1643. /*P2_ERRCNT12*/
  1644. #define R0900_P2_ERRCNT12 0xf399
  1645. #define F0900_P2_ERRCNT1_OLDVALUE 0xf3990080
  1646. #define F0900_P2_ERR_CNT12 0xf399007f
  1647. /*P2_ERRCNT11*/
  1648. #define R0900_P2_ERRCNT11 0xf39a
  1649. #define F0900_P2_ERR_CNT11 0xf39a00ff
  1650. /*P2_ERRCNT10*/
  1651. #define R0900_P2_ERRCNT10 0xf39b
  1652. #define F0900_P2_ERR_CNT10 0xf39b00ff
  1653. /*P2_ERRCTRL2*/
  1654. #define R0900_P2_ERRCTRL2 0xf39c
  1655. #define F0900_P2_ERR_SOURCE2 0xf39c00f0
  1656. #define F0900_P2_NUM_EVENT2 0xf39c0007
  1657. /*P2_ERRCNT22*/
  1658. #define R0900_P2_ERRCNT22 0xf39d
  1659. #define F0900_P2_ERRCNT2_OLDVALUE 0xf39d0080
  1660. #define F0900_P2_ERR_CNT22 0xf39d007f
  1661. /*P2_ERRCNT21*/
  1662. #define R0900_P2_ERRCNT21 0xf39e
  1663. #define F0900_P2_ERR_CNT21 0xf39e00ff
  1664. /*P2_ERRCNT20*/
  1665. #define R0900_P2_ERRCNT20 0xf39f
  1666. #define F0900_P2_ERR_CNT20 0xf39f00ff
  1667. /*P2_FECSPY*/
  1668. #define R0900_P2_FECSPY 0xf3a0
  1669. #define F0900_P2_SPY_ENABLE 0xf3a00080
  1670. #define F0900_P2_NO_SYNCBYTE 0xf3a00040
  1671. #define F0900_P2_SERIAL_MODE 0xf3a00020
  1672. #define F0900_P2_UNUSUAL_PACKET 0xf3a00010
  1673. #define F0900_P2_BERMETER_DATAMODE 0xf3a00008
  1674. #define F0900_P2_BERMETER_LMODE 0xf3a00002
  1675. #define F0900_P2_BERMETER_RESET 0xf3a00001
  1676. /*P2_FSPYCFG*/
  1677. #define R0900_P2_FSPYCFG 0xf3a1
  1678. #define F0900_P2_FECSPY_INPUT 0xf3a100c0
  1679. #define F0900_P2_RST_ON_ERROR 0xf3a10020
  1680. #define F0900_P2_ONE_SHOT 0xf3a10010
  1681. #define F0900_P2_I2C_MODE 0xf3a1000c
  1682. #define F0900_P2_SPY_HYSTERESIS 0xf3a10003
  1683. /*P2_FSPYDATA*/
  1684. #define R0900_P2_FSPYDATA 0xf3a2
  1685. #define F0900_P2_SPY_STUFFING 0xf3a20080
  1686. #define F0900_P2_SPY_CNULLPKT 0xf3a20020
  1687. #define F0900_P2_SPY_OUTDATA_MODE 0xf3a2001f
  1688. /*P2_FSPYOUT*/
  1689. #define R0900_P2_FSPYOUT 0xf3a3
  1690. #define F0900_P2_FSPY_DIRECT 0xf3a30080
  1691. #define F0900_P2_STUFF_MODE 0xf3a30007
  1692. /*P2_FSTATUS*/
  1693. #define R0900_P2_FSTATUS 0xf3a4
  1694. #define F0900_P2_SPY_ENDSIM 0xf3a40080
  1695. #define F0900_P2_VALID_SIM 0xf3a40040
  1696. #define F0900_P2_FOUND_SIGNAL 0xf3a40020
  1697. #define F0900_P2_DSS_SYNCBYTE 0xf3a40010
  1698. #define F0900_P2_RESULT_STATE 0xf3a4000f
  1699. /*P2_FBERCPT4*/
  1700. #define R0900_P2_FBERCPT4 0xf3a8
  1701. #define F0900_P2_FBERMETER_CPT4 0xf3a800ff
  1702. /*P2_FBERCPT3*/
  1703. #define R0900_P2_FBERCPT3 0xf3a9
  1704. #define F0900_P2_FBERMETER_CPT3 0xf3a900ff
  1705. /*P2_FBERCPT2*/
  1706. #define R0900_P2_FBERCPT2 0xf3aa
  1707. #define F0900_P2_FBERMETER_CPT2 0xf3aa00ff
  1708. /*P2_FBERCPT1*/
  1709. #define R0900_P2_FBERCPT1 0xf3ab
  1710. #define F0900_P2_FBERMETER_CPT1 0xf3ab00ff
  1711. /*P2_FBERCPT0*/
  1712. #define R0900_P2_FBERCPT0 0xf3ac
  1713. #define F0900_P2_FBERMETER_CPT0 0xf3ac00ff
  1714. /*P2_FBERERR2*/
  1715. #define R0900_P2_FBERERR2 0xf3ad
  1716. #define F0900_P2_FBERMETER_ERR2 0xf3ad00ff
  1717. /*P2_FBERERR1*/
  1718. #define R0900_P2_FBERERR1 0xf3ae
  1719. #define F0900_P2_FBERMETER_ERR1 0xf3ae00ff
  1720. /*P2_FBERERR0*/
  1721. #define R0900_P2_FBERERR0 0xf3af
  1722. #define F0900_P2_FBERMETER_ERR0 0xf3af00ff
  1723. /*P2_FSPYBER*/
  1724. #define R0900_P2_FSPYBER 0xf3b2
  1725. #define F0900_P2_FSPYBER_SYNCBYTE 0xf3b20010
  1726. #define F0900_P2_FSPYBER_UNSYNC 0xf3b20008
  1727. #define F0900_P2_FSPYBER_CTIME 0xf3b20007
  1728. /*P1_IQCONST*/
  1729. #define R0900_P1_IQCONST 0xf400
  1730. #define IQCONST REGx(R0900_P1_IQCONST)
  1731. #define F0900_P1_CONSTEL_SELECT 0xf4000060
  1732. #define F0900_P1_IQSYMB_SEL 0xf400001f
  1733. /*P1_NOSCFG*/
  1734. #define R0900_P1_NOSCFG 0xf401
  1735. #define NOSCFG REGx(R0900_P1_NOSCFG)
  1736. #define F0900_P1_DUMMYPL_NOSDATA 0xf4010020
  1737. #define F0900_P1_NOSPLH_BETA 0xf4010018
  1738. #define F0900_P1_NOSDATA_BETA 0xf4010007
  1739. /*P1_ISYMB*/
  1740. #define R0900_P1_ISYMB 0xf402
  1741. #define ISYMB REGx(R0900_P1_ISYMB)
  1742. #define F0900_P1_I_SYMBOL 0xf40201ff
  1743. /*P1_QSYMB*/
  1744. #define R0900_P1_QSYMB 0xf403
  1745. #define QSYMB REGx(R0900_P1_QSYMB)
  1746. #define F0900_P1_Q_SYMBOL 0xf40301ff
  1747. /*P1_AGC1CFG*/
  1748. #define R0900_P1_AGC1CFG 0xf404
  1749. #define AGC1CFG REGx(R0900_P1_AGC1CFG)
  1750. #define F0900_P1_DC_FROZEN 0xf4040080
  1751. #define F0900_P1_DC_CORRECT 0xf4040040
  1752. #define F0900_P1_AMM_FROZEN 0xf4040020
  1753. #define F0900_P1_AMM_CORRECT 0xf4040010
  1754. #define F0900_P1_QUAD_FROZEN 0xf4040008
  1755. #define F0900_P1_QUAD_CORRECT 0xf4040004
  1756. /*P1_AGC1CN*/
  1757. #define R0900_P1_AGC1CN 0xf406
  1758. #define AGC1CN REGx(R0900_P1_AGC1CN)
  1759. #define F0900_P1_AGC1_LOCKED 0xf4060080
  1760. #define F0900_P1_AGC1_MINPOWER 0xf4060010
  1761. #define F0900_P1_AGCOUT_FAST 0xf4060008
  1762. #define F0900_P1_AGCIQ_BETA 0xf4060007
  1763. /*P1_AGC1REF*/
  1764. #define R0900_P1_AGC1REF 0xf407
  1765. #define AGC1REF REGx(R0900_P1_AGC1REF)
  1766. #define F0900_P1_AGCIQ_REF 0xf40700ff
  1767. /*P1_IDCCOMP*/
  1768. #define R0900_P1_IDCCOMP 0xf408
  1769. #define IDCCOMP REGx(R0900_P1_IDCCOMP)
  1770. #define F0900_P1_IAVERAGE_ADJ 0xf40801ff
  1771. /*P1_QDCCOMP*/
  1772. #define R0900_P1_QDCCOMP 0xf409
  1773. #define QDCCOMP REGx(R0900_P1_QDCCOMP)
  1774. #define F0900_P1_QAVERAGE_ADJ 0xf40901ff
  1775. /*P1_POWERI*/
  1776. #define R0900_P1_POWERI 0xf40a
  1777. #define POWERI REGx(R0900_P1_POWERI)
  1778. #define F0900_P1_POWER_I 0xf40a00ff
  1779. #define POWER_I FLDx(F0900_P1_POWER_I)
  1780. /*P1_POWERQ*/
  1781. #define R0900_P1_POWERQ 0xf40b
  1782. #define POWERQ REGx(R0900_P1_POWERQ)
  1783. #define F0900_P1_POWER_Q 0xf40b00ff
  1784. #define POWER_Q FLDx(F0900_P1_POWER_Q)
  1785. /*P1_AGC1AMM*/
  1786. #define R0900_P1_AGC1AMM 0xf40c
  1787. #define AGC1AMM REGx(R0900_P1_AGC1AMM)
  1788. #define F0900_P1_AMM_VALUE 0xf40c00ff
  1789. /*P1_AGC1QUAD*/
  1790. #define R0900_P1_AGC1QUAD 0xf40d
  1791. #define AGC1QUAD REGx(R0900_P1_AGC1QUAD)
  1792. #define F0900_P1_QUAD_VALUE 0xf40d01ff
  1793. /*P1_AGCIQIN1*/
  1794. #define R0900_P1_AGCIQIN1 0xf40e
  1795. #define AGCIQIN1 REGx(R0900_P1_AGCIQIN1)
  1796. #define F0900_P1_AGCIQ_VALUE1 0xf40e00ff
  1797. #define AGCIQ_VALUE1 FLDx(F0900_P1_AGCIQ_VALUE1)
  1798. /*P1_AGCIQIN0*/
  1799. #define R0900_P1_AGCIQIN0 0xf40f
  1800. #define AGCIQIN0 REGx(R0900_P1_AGCIQIN0)
  1801. #define F0900_P1_AGCIQ_VALUE0 0xf40f00ff
  1802. #define AGCIQ_VALUE0 FLDx(F0900_P1_AGCIQ_VALUE0)
  1803. /*P1_DEMOD*/
  1804. #define R0900_P1_DEMOD 0xf410
  1805. #define DEMOD REGx(R0900_P1_DEMOD)
  1806. #define F0900_P1_MANUALS2_ROLLOFF 0xf4100080
  1807. #define MANUALS2_ROLLOFF FLDx(F0900_P1_MANUALS2_ROLLOFF)
  1808. #define F0900_P1_SPECINV_CONTROL 0xf4100030
  1809. #define SPECINV_CONTROL FLDx(F0900_P1_SPECINV_CONTROL)
  1810. #define F0900_P1_FORCE_ENASAMP 0xf4100008
  1811. #define F0900_P1_MANUALSX_ROLLOFF 0xf4100004
  1812. #define MANUALSX_ROLLOFF FLDx(F0900_P1_MANUALSX_ROLLOFF)
  1813. #define F0900_P1_ROLLOFF_CONTROL 0xf4100003
  1814. #define ROLLOFF_CONTROL FLDx(F0900_P1_ROLLOFF_CONTROL)
  1815. /*P1_DMDMODCOD*/
  1816. #define R0900_P1_DMDMODCOD 0xf411
  1817. #define DMDMODCOD REGx(R0900_P1_DMDMODCOD)
  1818. #define F0900_P1_MANUAL_MODCOD 0xf4110080
  1819. #define F0900_P1_DEMOD_MODCOD 0xf411007c
  1820. #define DEMOD_MODCOD FLDx(F0900_P1_DEMOD_MODCOD)
  1821. #define F0900_P1_DEMOD_TYPE 0xf4110003
  1822. #define DEMOD_TYPE FLDx(F0900_P1_DEMOD_TYPE)
  1823. /*P1_DSTATUS*/
  1824. #define R0900_P1_DSTATUS 0xf412
  1825. #define DSTATUS REGx(R0900_P1_DSTATUS)
  1826. #define F0900_P1_CAR_LOCK 0xf4120080
  1827. #define F0900_P1_TMGLOCK_QUALITY 0xf4120060
  1828. #define TMGLOCK_QUALITY FLDx(F0900_P1_TMGLOCK_QUALITY)
  1829. #define F0900_P1_LOCK_DEFINITIF 0xf4120008
  1830. #define LOCK_DEFINITIF FLDx(F0900_P1_LOCK_DEFINITIF)
  1831. #define F0900_P1_OVADC_DETECT 0xf4120001
  1832. /*P1_DSTATUS2*/
  1833. #define R0900_P1_DSTATUS2 0xf413
  1834. #define DSTATUS2 REGx(R0900_P1_DSTATUS2)
  1835. #define F0900_P1_DEMOD_DELOCK 0xf4130080
  1836. #define F0900_P1_AGC1_NOSIGNALACK 0xf4130008
  1837. #define F0900_P1_AGC2_OVERFLOW 0xf4130004
  1838. #define F0900_P1_CFR_OVERFLOW 0xf4130002
  1839. #define F0900_P1_GAMMA_OVERUNDER 0xf4130001
  1840. /*P1_DMDCFGMD*/
  1841. #define R0900_P1_DMDCFGMD 0xf414
  1842. #define DMDCFGMD REGx(R0900_P1_DMDCFGMD)
  1843. #define F0900_P1_DVBS2_ENABLE 0xf4140080
  1844. #define DVBS2_ENABLE FLDx(F0900_P1_DVBS2_ENABLE)
  1845. #define F0900_P1_DVBS1_ENABLE 0xf4140040
  1846. #define DVBS1_ENABLE FLDx(F0900_P1_DVBS1_ENABLE)
  1847. #define F0900_P1_SCAN_ENABLE 0xf4140010
  1848. #define SCAN_ENABLE FLDx(F0900_P1_SCAN_ENABLE)
  1849. #define F0900_P1_CFR_AUTOSCAN 0xf4140008
  1850. #define CFR_AUTOSCAN FLDx(F0900_P1_CFR_AUTOSCAN)
  1851. #define F0900_P1_TUN_RNG 0xf4140003
  1852. /*P1_DMDCFG2*/
  1853. #define R0900_P1_DMDCFG2 0xf415
  1854. #define DMDCFG2 REGx(R0900_P1_DMDCFG2)
  1855. #define F0900_P1_S1S2_SEQUENTIAL 0xf4150040
  1856. #define S1S2_SEQUENTIAL FLDx(F0900_P1_S1S2_SEQUENTIAL)
  1857. #define F0900_P1_INFINITE_RELOCK 0xf4150010
  1858. /*P1_DMDISTATE*/
  1859. #define R0900_P1_DMDISTATE 0xf416
  1860. #define DMDISTATE REGx(R0900_P1_DMDISTATE)
  1861. #define F0900_P1_I2C_DEMOD_MODE 0xf416001f
  1862. #define DEMOD_MODE FLDx(F0900_P1_I2C_DEMOD_MODE)
  1863. /*P1_DMDT0M*/
  1864. #define R0900_P1_DMDT0M 0xf417
  1865. #define DMDT0M REGx(R0900_P1_DMDT0M)
  1866. #define F0900_P1_DMDT0_MIN 0xf41700ff
  1867. /*P1_DMDSTATE*/
  1868. #define R0900_P1_DMDSTATE 0xf41b
  1869. #define DMDSTATE REGx(R0900_P1_DMDSTATE)
  1870. #define F0900_P1_HEADER_MODE 0xf41b0060
  1871. #define HEADER_MODE FLDx(F0900_P1_HEADER_MODE)
  1872. /*P1_DMDFLYW*/
  1873. #define R0900_P1_DMDFLYW 0xf41c
  1874. #define DMDFLYW REGx(R0900_P1_DMDFLYW)
  1875. #define F0900_P1_I2C_IRQVAL 0xf41c00f0
  1876. #define F0900_P1_FLYWHEEL_CPT 0xf41c000f
  1877. #define FLYWHEEL_CPT FLDx(F0900_P1_FLYWHEEL_CPT)
  1878. /*P1_DSTATUS3*/
  1879. #define R0900_P1_DSTATUS3 0xf41d
  1880. #define DSTATUS3 REGx(R0900_P1_DSTATUS3)
  1881. #define F0900_P1_DEMOD_CFGMODE 0xf41d0060
  1882. /*P1_DMDCFG3*/
  1883. #define R0900_P1_DMDCFG3 0xf41e
  1884. #define DMDCFG3 REGx(R0900_P1_DMDCFG3)
  1885. #define F0900_P1_NOSTOP_FIFOFULL 0xf41e0008
  1886. /*P1_DMDCFG4*/
  1887. #define R0900_P1_DMDCFG4 0xf41f
  1888. #define DMDCFG4 REGx(R0900_P1_DMDCFG4)
  1889. #define F0900_P1_TUNER_NRELAUNCH 0xf41f0008
  1890. /*P1_CORRELMANT*/
  1891. #define R0900_P1_CORRELMANT 0xf420
  1892. #define CORRELMANT REGx(R0900_P1_CORRELMANT)
  1893. #define F0900_P1_CORREL_MANT 0xf42000ff
  1894. /*P1_CORRELABS*/
  1895. #define R0900_P1_CORRELABS 0xf421
  1896. #define CORRELABS REGx(R0900_P1_CORRELABS)
  1897. #define F0900_P1_CORREL_ABS 0xf42100ff
  1898. /*P1_CORRELEXP*/
  1899. #define R0900_P1_CORRELEXP 0xf422
  1900. #define CORRELEXP REGx(R0900_P1_CORRELEXP)
  1901. #define F0900_P1_CORREL_ABSEXP 0xf42200f0
  1902. #define F0900_P1_CORREL_EXP 0xf422000f
  1903. /*P1_PLHMODCOD*/
  1904. #define R0900_P1_PLHMODCOD 0xf424
  1905. #define PLHMODCOD REGx(R0900_P1_PLHMODCOD)
  1906. #define F0900_P1_SPECINV_DEMOD 0xf4240080
  1907. #define SPECINV_DEMOD FLDx(F0900_P1_SPECINV_DEMOD)
  1908. #define F0900_P1_PLH_MODCOD 0xf424007c
  1909. #define F0900_P1_PLH_TYPE 0xf4240003
  1910. /*P1_DMDREG*/
  1911. #define R0900_P1_DMDREG 0xf425
  1912. #define DMDREG REGx(R0900_P1_DMDREG)
  1913. #define F0900_P1_DECIM_PLFRAMES 0xf4250001
  1914. /*P1_AGC2O*/
  1915. #define R0900_P1_AGC2O 0xf42c
  1916. #define AGC2O REGx(R0900_P1_AGC2O)
  1917. #define F0900_P1_AGC2_COEF 0xf42c0007
  1918. /*P1_AGC2REF*/
  1919. #define R0900_P1_AGC2REF 0xf42d
  1920. #define AGC2REF REGx(R0900_P1_AGC2REF)
  1921. #define F0900_P1_AGC2_REF 0xf42d00ff
  1922. /*P1_AGC1ADJ*/
  1923. #define R0900_P1_AGC1ADJ 0xf42e
  1924. #define AGC1ADJ REGx(R0900_P1_AGC1ADJ)
  1925. #define F0900_P1_AGC1_ADJUSTED 0xf42e007f
  1926. /*P1_AGC2I1*/
  1927. #define R0900_P1_AGC2I1 0xf436
  1928. #define AGC2I1 REGx(R0900_P1_AGC2I1)
  1929. #define F0900_P1_AGC2_INTEGRATOR1 0xf43600ff
  1930. /*P1_AGC2I0*/
  1931. #define R0900_P1_AGC2I0 0xf437
  1932. #define AGC2I0 REGx(R0900_P1_AGC2I0)
  1933. #define F0900_P1_AGC2_INTEGRATOR0 0xf43700ff
  1934. /*P1_CARCFG*/
  1935. #define R0900_P1_CARCFG 0xf438
  1936. #define CARCFG REGx(R0900_P1_CARCFG)
  1937. #define F0900_P1_CFRUPLOW_AUTO 0xf4380080
  1938. #define F0900_P1_CFRUPLOW_TEST 0xf4380040
  1939. #define F0900_P1_ROTAON 0xf4380004
  1940. #define F0900_P1_PH_DET_ALGO 0xf4380003
  1941. /*P1_ACLC*/
  1942. #define R0900_P1_ACLC 0xf439
  1943. #define ACLC REGx(R0900_P1_ACLC)
  1944. #define F0900_P1_CAR_ALPHA_MANT 0xf4390030
  1945. #define F0900_P1_CAR_ALPHA_EXP 0xf439000f
  1946. /*P1_BCLC*/
  1947. #define R0900_P1_BCLC 0xf43a
  1948. #define BCLC REGx(R0900_P1_BCLC)
  1949. #define F0900_P1_CAR_BETA_MANT 0xf43a0030
  1950. #define F0900_P1_CAR_BETA_EXP 0xf43a000f
  1951. /*P1_CARFREQ*/
  1952. #define R0900_P1_CARFREQ 0xf43d
  1953. #define CARFREQ REGx(R0900_P1_CARFREQ)
  1954. #define F0900_P1_KC_COARSE_EXP 0xf43d00f0
  1955. #define F0900_P1_BETA_FREQ 0xf43d000f
  1956. /*P1_CARHDR*/
  1957. #define R0900_P1_CARHDR 0xf43e
  1958. #define CARHDR REGx(R0900_P1_CARHDR)
  1959. #define F0900_P1_K_FREQ_HDR 0xf43e00ff
  1960. /*P1_LDT*/
  1961. #define R0900_P1_LDT 0xf43f
  1962. #define LDT REGx(R0900_P1_LDT)
  1963. #define F0900_P1_CARLOCK_THRES 0xf43f01ff
  1964. /*P1_LDT2*/
  1965. #define R0900_P1_LDT2 0xf440
  1966. #define LDT2 REGx(R0900_P1_LDT2)
  1967. #define F0900_P1_CARLOCK_THRES2 0xf44001ff
  1968. /*P1_CFRICFG*/
  1969. #define R0900_P1_CFRICFG 0xf441
  1970. #define CFRICFG REGx(R0900_P1_CFRICFG)
  1971. #define F0900_P1_NEG_CFRSTEP 0xf4410001
  1972. /*P1_CFRUP1*/
  1973. #define R0900_P1_CFRUP1 0xf442
  1974. #define CFRUP1 REGx(R0900_P1_CFRUP1)
  1975. #define F0900_P1_CFR_UP1 0xf44201ff
  1976. #define CFR_UP1 FLDx(F0900_P1_CFR_UP1)
  1977. /*P1_CFRUP0*/
  1978. #define R0900_P1_CFRUP0 0xf443
  1979. #define CFRUP0 REGx(R0900_P1_CFRUP0)
  1980. #define F0900_P1_CFR_UP0 0xf44300ff
  1981. #define CFR_UP0 FLDx(F0900_P1_CFR_UP0)
  1982. /*P1_CFRLOW1*/
  1983. #define R0900_P1_CFRLOW1 0xf446
  1984. #define CFRLOW1 REGx(R0900_P1_CFRLOW1)
  1985. #define F0900_P1_CFR_LOW1 0xf44601ff
  1986. #define CFR_LOW1 FLDx(F0900_P1_CFR_LOW1)
  1987. /*P1_CFRLOW0*/
  1988. #define R0900_P1_CFRLOW0 0xf447
  1989. #define CFRLOW0 REGx(R0900_P1_CFRLOW0)
  1990. #define F0900_P1_CFR_LOW0 0xf44700ff
  1991. #define CFR_LOW0 FLDx(F0900_P1_CFR_LOW0)
  1992. /*P1_CFRINIT1*/
  1993. #define R0900_P1_CFRINIT1 0xf448
  1994. #define CFRINIT1 REGx(R0900_P1_CFRINIT1)
  1995. #define F0900_P1_CFR_INIT1 0xf44801ff
  1996. #define CFR_INIT1 FLDx(F0900_P1_CFR_INIT1)
  1997. /*P1_CFRINIT0*/
  1998. #define R0900_P1_CFRINIT0 0xf449
  1999. #define CFRINIT0 REGx(R0900_P1_CFRINIT0)
  2000. #define F0900_P1_CFR_INIT0 0xf44900ff
  2001. #define CFR_INIT0 FLDx(F0900_P1_CFR_INIT0)
  2002. /*P1_CFRINC1*/
  2003. #define R0900_P1_CFRINC1 0xf44a
  2004. #define CFRINC1 REGx(R0900_P1_CFRINC1)
  2005. #define F0900_P1_MANUAL_CFRINC 0xf44a0080
  2006. #define F0900_P1_CFR_INC1 0xf44a003f
  2007. /*P1_CFRINC0*/
  2008. #define R0900_P1_CFRINC0 0xf44b
  2009. #define CFRINC0 REGx(R0900_P1_CFRINC0)
  2010. #define F0900_P1_CFR_INC0 0xf44b00f8
  2011. /*P1_CFR2*/
  2012. #define R0900_P1_CFR2 0xf44c
  2013. #define CFR2 REGx(R0900_P1_CFR2)
  2014. #define F0900_P1_CAR_FREQ2 0xf44c01ff
  2015. #define CAR_FREQ2 FLDx(F0900_P1_CAR_FREQ2)
  2016. /*P1_CFR1*/
  2017. #define R0900_P1_CFR1 0xf44d
  2018. #define CFR1 REGx(R0900_P1_CFR1)
  2019. #define F0900_P1_CAR_FREQ1 0xf44d00ff
  2020. #define CAR_FREQ1 FLDx(F0900_P1_CAR_FREQ1)
  2021. /*P1_CFR0*/
  2022. #define R0900_P1_CFR0 0xf44e
  2023. #define CFR0 REGx(R0900_P1_CFR0)
  2024. #define F0900_P1_CAR_FREQ0 0xf44e00ff
  2025. #define CAR_FREQ0 FLDx(F0900_P1_CAR_FREQ0)
  2026. /*P1_LDI*/
  2027. #define R0900_P1_LDI 0xf44f
  2028. #define LDI REGx(R0900_P1_LDI)
  2029. #define F0900_P1_LOCK_DET_INTEGR 0xf44f01ff
  2030. /*P1_TMGCFG*/
  2031. #define R0900_P1_TMGCFG 0xf450
  2032. #define TMGCFG REGx(R0900_P1_TMGCFG)
  2033. #define F0900_P1_TMGLOCK_BETA 0xf45000c0
  2034. #define F0900_P1_DO_TIMING_CORR 0xf4500010
  2035. #define F0900_P1_TMG_MINFREQ 0xf4500003
  2036. /*P1_RTC*/
  2037. #define R0900_P1_RTC 0xf451
  2038. #define RTC REGx(R0900_P1_RTC)
  2039. #define F0900_P1_TMGALPHA_EXP 0xf45100f0
  2040. #define F0900_P1_TMGBETA_EXP 0xf451000f
  2041. /*P1_RTCS2*/
  2042. #define R0900_P1_RTCS2 0xf452
  2043. #define RTCS2 REGx(R0900_P1_RTCS2)
  2044. #define F0900_P1_TMGALPHAS2_EXP 0xf45200f0
  2045. #define F0900_P1_TMGBETAS2_EXP 0xf452000f
  2046. /*P1_TMGTHRISE*/
  2047. #define R0900_P1_TMGTHRISE 0xf453
  2048. #define TMGTHRISE REGx(R0900_P1_TMGTHRISE)
  2049. #define F0900_P1_TMGLOCK_THRISE 0xf45300ff
  2050. /*P1_TMGTHFALL*/
  2051. #define R0900_P1_TMGTHFALL 0xf454
  2052. #define TMGTHFALL REGx(R0900_P1_TMGTHFALL)
  2053. #define F0900_P1_TMGLOCK_THFALL 0xf45400ff
  2054. /*P1_SFRUPRATIO*/
  2055. #define R0900_P1_SFRUPRATIO 0xf455
  2056. #define SFRUPRATIO REGx(R0900_P1_SFRUPRATIO)
  2057. #define F0900_P1_SFR_UPRATIO 0xf45500ff
  2058. /*P1_SFRLOWRATIO*/
  2059. #define R0900_P1_SFRLOWRATIO 0xf456
  2060. #define F0900_P1_SFR_LOWRATIO 0xf45600ff
  2061. /*P1_KREFTMG*/
  2062. #define R0900_P1_KREFTMG 0xf458
  2063. #define KREFTMG REGx(R0900_P1_KREFTMG)
  2064. #define F0900_P1_KREF_TMG 0xf45800ff
  2065. /*P1_SFRSTEP*/
  2066. #define R0900_P1_SFRSTEP 0xf459
  2067. #define SFRSTEP REGx(R0900_P1_SFRSTEP)
  2068. #define F0900_P1_SFR_SCANSTEP 0xf45900f0
  2069. #define F0900_P1_SFR_CENTERSTEP 0xf459000f
  2070. /*P1_TMGCFG2*/
  2071. #define R0900_P1_TMGCFG2 0xf45a
  2072. #define TMGCFG2 REGx(R0900_P1_TMGCFG2)
  2073. #define F0900_P1_SFRRATIO_FINE 0xf45a0001
  2074. /*P1_KREFTMG2*/
  2075. #define R0900_P1_KREFTMG2 0xf45b
  2076. #define KREFTMG2 REGx(R0900_P1_KREFTMG2)
  2077. #define F0900_P1_KREF_TMG2 0xf45b00ff
  2078. /*P1_SFRINIT1*/
  2079. #define R0900_P1_SFRINIT1 0xf45e
  2080. #define SFRINIT1 REGx(R0900_P1_SFRINIT1)
  2081. #define F0900_P1_SFR_INIT1 0xf45e007f
  2082. /*P1_SFRINIT0*/
  2083. #define R0900_P1_SFRINIT0 0xf45f
  2084. #define SFRINIT0 REGx(R0900_P1_SFRINIT0)
  2085. #define F0900_P1_SFR_INIT0 0xf45f00ff
  2086. /*P1_SFRUP1*/
  2087. #define R0900_P1_SFRUP1 0xf460
  2088. #define SFRUP1 REGx(R0900_P1_SFRUP1)
  2089. #define F0900_P1_AUTO_GUP 0xf4600080
  2090. #define AUTO_GUP FLDx(F0900_P1_AUTO_GUP)
  2091. #define F0900_P1_SYMB_FREQ_UP1 0xf460007f
  2092. /*P1_SFRUP0*/
  2093. #define R0900_P1_SFRUP0 0xf461
  2094. #define SFRUP0 REGx(R0900_P1_SFRUP0)
  2095. #define F0900_P1_SYMB_FREQ_UP0 0xf46100ff
  2096. /*P1_SFRLOW1*/
  2097. #define R0900_P1_SFRLOW1 0xf462
  2098. #define SFRLOW1 REGx(R0900_P1_SFRLOW1)
  2099. #define F0900_P1_AUTO_GLOW 0xf4620080
  2100. #define AUTO_GLOW FLDx(F0900_P1_AUTO_GLOW)
  2101. #define F0900_P1_SYMB_FREQ_LOW1 0xf462007f
  2102. /*P1_SFRLOW0*/
  2103. #define R0900_P1_SFRLOW0 0xf463
  2104. #define SFRLOW0 REGx(R0900_P1_SFRLOW0)
  2105. #define F0900_P1_SYMB_FREQ_LOW0 0xf46300ff
  2106. /*P1_SFR3*/
  2107. #define R0900_P1_SFR3 0xf464
  2108. #define SFR3 REGx(R0900_P1_SFR3)
  2109. #define F0900_P1_SYMB_FREQ3 0xf46400ff
  2110. #define SYMB_FREQ3 FLDx(F0900_P1_SYMB_FREQ3)
  2111. /*P1_SFR2*/
  2112. #define R0900_P1_SFR2 0xf465
  2113. #define SFR2 REGx(R0900_P1_SFR2)
  2114. #define F0900_P1_SYMB_FREQ2 0xf46500ff
  2115. #define SYMB_FREQ2 FLDx(F0900_P1_SYMB_FREQ2)
  2116. /*P1_SFR1*/
  2117. #define R0900_P1_SFR1 0xf466
  2118. #define SFR1 REGx(R0900_P1_SFR1)
  2119. #define F0900_P1_SYMB_FREQ1 0xf46600ff
  2120. #define SYMB_FREQ1 FLDx(F0900_P1_SYMB_FREQ1)
  2121. /*P1_SFR0*/
  2122. #define R0900_P1_SFR0 0xf467
  2123. #define SFR0 REGx(R0900_P1_SFR0)
  2124. #define F0900_P1_SYMB_FREQ0 0xf46700ff
  2125. #define SYMB_FREQ0 FLDx(F0900_P1_SYMB_FREQ0)
  2126. /*P1_TMGREG2*/
  2127. #define R0900_P1_TMGREG2 0xf468
  2128. #define TMGREG2 REGx(R0900_P1_TMGREG2)
  2129. #define F0900_P1_TMGREG2 0xf46800ff
  2130. /*P1_TMGREG1*/
  2131. #define R0900_P1_TMGREG1 0xf469
  2132. #define TMGREG1 REGx(R0900_P1_TMGREG1)
  2133. #define F0900_P1_TMGREG1 0xf46900ff
  2134. /*P1_TMGREG0*/
  2135. #define R0900_P1_TMGREG0 0xf46a
  2136. #define TMGREG0 REGx(R0900_P1_TMGREG0)
  2137. #define F0900_P1_TMGREG0 0xf46a00ff
  2138. /*P1_TMGLOCK1*/
  2139. #define R0900_P1_TMGLOCK1 0xf46b
  2140. #define TMGLOCK1 REGx(R0900_P1_TMGLOCK1)
  2141. #define F0900_P1_TMGLOCK_LEVEL1 0xf46b01ff
  2142. /*P1_TMGLOCK0*/
  2143. #define R0900_P1_TMGLOCK0 0xf46c
  2144. #define TMGLOCK0 REGx(R0900_P1_TMGLOCK0)
  2145. #define F0900_P1_TMGLOCK_LEVEL0 0xf46c00ff
  2146. /*P1_TMGOBS*/
  2147. #define R0900_P1_TMGOBS 0xf46d
  2148. #define TMGOBS REGx(R0900_P1_TMGOBS)
  2149. #define F0900_P1_ROLLOFF_STATUS 0xf46d00c0
  2150. #define ROLLOFF_STATUS FLDx(F0900_P1_ROLLOFF_STATUS)
  2151. /*P1_EQUALCFG*/
  2152. #define R0900_P1_EQUALCFG 0xf46f
  2153. #define EQUALCFG REGx(R0900_P1_EQUALCFG)
  2154. #define F0900_P1_EQUAL_ON 0xf46f0040
  2155. #define F0900_P1_MU_EQUALDFE 0xf46f0007
  2156. /*P1_EQUAI1*/
  2157. #define R0900_P1_EQUAI1 0xf470
  2158. #define EQUAI1 REGx(R0900_P1_EQUAI1)
  2159. #define F0900_P1_EQUA_ACCI1 0xf47001ff
  2160. /*P1_EQUAQ1*/
  2161. #define R0900_P1_EQUAQ1 0xf471
  2162. #define EQUAQ1 REGx(R0900_P1_EQUAQ1)
  2163. #define F0900_P1_EQUA_ACCQ1 0xf47101ff
  2164. /*P1_EQUAI2*/
  2165. #define R0900_P1_EQUAI2 0xf472
  2166. #define EQUAI2 REGx(R0900_P1_EQUAI2)
  2167. #define F0900_P1_EQUA_ACCI2 0xf47201ff
  2168. /*P1_EQUAQ2*/
  2169. #define R0900_P1_EQUAQ2 0xf473
  2170. #define EQUAQ2 REGx(R0900_P1_EQUAQ2)
  2171. #define F0900_P1_EQUA_ACCQ2 0xf47301ff
  2172. /*P1_EQUAI3*/
  2173. #define R0900_P1_EQUAI3 0xf474
  2174. #define EQUAI3 REGx(R0900_P1_EQUAI3)
  2175. #define F0900_P1_EQUA_ACCI3 0xf47401ff
  2176. /*P1_EQUAQ3*/
  2177. #define R0900_P1_EQUAQ3 0xf475
  2178. #define EQUAQ3 REGx(R0900_P1_EQUAQ3)
  2179. #define F0900_P1_EQUA_ACCQ3 0xf47501ff
  2180. /*P1_EQUAI4*/
  2181. #define R0900_P1_EQUAI4 0xf476
  2182. #define EQUAI4 REGx(R0900_P1_EQUAI4)
  2183. #define F0900_P1_EQUA_ACCI4 0xf47601ff
  2184. /*P1_EQUAQ4*/
  2185. #define R0900_P1_EQUAQ4 0xf477
  2186. #define EQUAQ4 REGx(R0900_P1_EQUAQ4)
  2187. #define F0900_P1_EQUA_ACCQ4 0xf47701ff
  2188. /*P1_EQUAI5*/
  2189. #define R0900_P1_EQUAI5 0xf478
  2190. #define EQUAI5 REGx(R0900_P1_EQUAI5)
  2191. #define F0900_P1_EQUA_ACCI5 0xf47801ff
  2192. /*P1_EQUAQ5*/
  2193. #define R0900_P1_EQUAQ5 0xf479
  2194. #define EQUAQ5 REGx(R0900_P1_EQUAQ5)
  2195. #define F0900_P1_EQUA_ACCQ5 0xf47901ff
  2196. /*P1_EQUAI6*/
  2197. #define R0900_P1_EQUAI6 0xf47a
  2198. #define EQUAI6 REGx(R0900_P1_EQUAI6)
  2199. #define F0900_P1_EQUA_ACCI6 0xf47a01ff
  2200. /*P1_EQUAQ6*/
  2201. #define R0900_P1_EQUAQ6 0xf47b
  2202. #define EQUAQ6 REGx(R0900_P1_EQUAQ6)
  2203. #define F0900_P1_EQUA_ACCQ6 0xf47b01ff
  2204. /*P1_EQUAI7*/
  2205. #define R0900_P1_EQUAI7 0xf47c
  2206. #define EQUAI7 REGx(R0900_P1_EQUAI7)
  2207. #define F0900_P1_EQUA_ACCI7 0xf47c01ff
  2208. /*P1_EQUAQ7*/
  2209. #define R0900_P1_EQUAQ7 0xf47d
  2210. #define EQUAQ7 REGx(R0900_P1_EQUAQ7)
  2211. #define F0900_P1_EQUA_ACCQ7 0xf47d01ff
  2212. /*P1_EQUAI8*/
  2213. #define R0900_P1_EQUAI8 0xf47e
  2214. #define EQUAI8 REGx(R0900_P1_EQUAI8)
  2215. #define F0900_P1_EQUA_ACCI8 0xf47e01ff
  2216. /*P1_EQUAQ8*/
  2217. #define R0900_P1_EQUAQ8 0xf47f
  2218. #define EQUAQ8 REGx(R0900_P1_EQUAQ8)
  2219. #define F0900_P1_EQUA_ACCQ8 0xf47f01ff
  2220. /*P1_NNOSDATAT1*/
  2221. #define R0900_P1_NNOSDATAT1 0xf480
  2222. #define NNOSDATAT1 REGx(R0900_P1_NNOSDATAT1)
  2223. #define F0900_P1_NOSDATAT_NORMED1 0xf48000ff
  2224. #define NOSDATAT_NORMED1 FLDx(F0900_P1_NOSDATAT_NORMED1)
  2225. /*P1_NNOSDATAT0*/
  2226. #define R0900_P1_NNOSDATAT0 0xf481
  2227. #define NNOSDATAT0 REGx(R0900_P1_NNOSDATAT0)
  2228. #define F0900_P1_NOSDATAT_NORMED0 0xf48100ff
  2229. #define NOSDATAT_NORMED0 FLDx(F0900_P1_NOSDATAT_NORMED0)
  2230. /*P1_NNOSDATA1*/
  2231. #define R0900_P1_NNOSDATA1 0xf482
  2232. #define NNOSDATA1 REGx(R0900_P1_NNOSDATA1)
  2233. #define F0900_P1_NOSDATA_NORMED1 0xf48200ff
  2234. /*P1_NNOSDATA0*/
  2235. #define R0900_P1_NNOSDATA0 0xf483
  2236. #define NNOSDATA0 REGx(R0900_P1_NNOSDATA0)
  2237. #define F0900_P1_NOSDATA_NORMED0 0xf48300ff
  2238. /*P1_NNOSPLHT1*/
  2239. #define R0900_P1_NNOSPLHT1 0xf484
  2240. #define NNOSPLHT1 REGx(R0900_P1_NNOSPLHT1)
  2241. #define F0900_P1_NOSPLHT_NORMED1 0xf48400ff
  2242. #define NOSPLHT_NORMED1 FLDx(F0900_P1_NOSPLHT_NORMED1)
  2243. /*P1_NNOSPLHT0*/
  2244. #define R0900_P1_NNOSPLHT0 0xf485
  2245. #define NNOSPLHT0 REGx(R0900_P1_NNOSPLHT0)
  2246. #define F0900_P1_NOSPLHT_NORMED0 0xf48500ff
  2247. #define NOSPLHT_NORMED0 FLDx(F0900_P1_NOSPLHT_NORMED0)
  2248. /*P1_NNOSPLH1*/
  2249. #define R0900_P1_NNOSPLH1 0xf486
  2250. #define NNOSPLH1 REGx(R0900_P1_NNOSPLH1)
  2251. #define F0900_P1_NOSPLH_NORMED1 0xf48600ff
  2252. /*P1_NNOSPLH0*/
  2253. #define R0900_P1_NNOSPLH0 0xf487
  2254. #define NNOSPLH0 REGx(R0900_P1_NNOSPLH0)
  2255. #define F0900_P1_NOSPLH_NORMED0 0xf48700ff
  2256. /*P1_NOSDATAT1*/
  2257. #define R0900_P1_NOSDATAT1 0xf488
  2258. #define NOSDATAT1 REGx(R0900_P1_NOSDATAT1)
  2259. #define F0900_P1_NOSDATAT_UNNORMED1 0xf48800ff
  2260. /*P1_NOSDATAT0*/
  2261. #define R0900_P1_NOSDATAT0 0xf489
  2262. #define NOSDATAT0 REGx(R0900_P1_NOSDATAT0)
  2263. #define F0900_P1_NOSDATAT_UNNORMED0 0xf48900ff
  2264. /*P1_NOSDATA1*/
  2265. #define R0900_P1_NOSDATA1 0xf48a
  2266. #define NOSDATA1 REGx(R0900_P1_NOSDATA1)
  2267. #define F0900_P1_NOSDATA_UNNORMED1 0xf48a00ff
  2268. /*P1_NOSDATA0*/
  2269. #define R0900_P1_NOSDATA0 0xf48b
  2270. #define NOSDATA0 REGx(R0900_P1_NOSDATA0)
  2271. #define F0900_P1_NOSDATA_UNNORMED0 0xf48b00ff
  2272. /*P1_NOSPLHT1*/
  2273. #define R0900_P1_NOSPLHT1 0xf48c
  2274. #define NOSPLHT1 REGx(R0900_P1_NOSPLHT1)
  2275. #define F0900_P1_NOSPLHT_UNNORMED1 0xf48c00ff
  2276. /*P1_NOSPLHT0*/
  2277. #define R0900_P1_NOSPLHT0 0xf48d
  2278. #define NOSPLHT0 REGx(R0900_P1_NOSPLHT0)
  2279. #define F0900_P1_NOSPLHT_UNNORMED0 0xf48d00ff
  2280. /*P1_NOSPLH1*/
  2281. #define R0900_P1_NOSPLH1 0xf48e
  2282. #define NOSPLH1 REGx(R0900_P1_NOSPLH1)
  2283. #define F0900_P1_NOSPLH_UNNORMED1 0xf48e00ff
  2284. /*P1_NOSPLH0*/
  2285. #define R0900_P1_NOSPLH0 0xf48f
  2286. #define NOSPLH0 REGx(R0900_P1_NOSPLH0)
  2287. #define F0900_P1_NOSPLH_UNNORMED0 0xf48f00ff
  2288. /*P1_CAR2CFG*/
  2289. #define R0900_P1_CAR2CFG 0xf490
  2290. #define CAR2CFG REGx(R0900_P1_CAR2CFG)
  2291. #define F0900_P1_CARRIER3_DISABLE 0xf4900040
  2292. #define F0900_P1_ROTA2ON 0xf4900004
  2293. #define F0900_P1_PH_DET_ALGO2 0xf4900003
  2294. /*P1_CFR2CFR1*/
  2295. #define R0900_P1_CFR2CFR1 0xf491
  2296. #define CFR2CFR1 REGx(R0900_P1_CFR2CFR1)
  2297. #define F0900_P1_CFR2TOCFR1_DVBS1 0xf49100c0
  2298. #define F0900_P1_EN_S2CAR2CENTER 0xf4910020
  2299. #define F0900_P1_DIS_BCHERRCFR2 0xf4910010
  2300. #define F0900_P1_CFR2TOCFR1_BETA 0xf4910007
  2301. /*P1_CFR22*/
  2302. #define R0900_P1_CFR22 0xf493
  2303. #define CFR22 REGx(R0900_P1_CFR22)
  2304. #define F0900_P1_CAR2_FREQ2 0xf49301ff
  2305. /*P1_CFR21*/
  2306. #define R0900_P1_CFR21 0xf494
  2307. #define CFR21 REGx(R0900_P1_CFR21)
  2308. #define F0900_P1_CAR2_FREQ1 0xf49400ff
  2309. /*P1_CFR20*/
  2310. #define R0900_P1_CFR20 0xf495
  2311. #define CFR20 REGx(R0900_P1_CFR20)
  2312. #define F0900_P1_CAR2_FREQ0 0xf49500ff
  2313. /*P1_ACLC2S2Q*/
  2314. #define R0900_P1_ACLC2S2Q 0xf497
  2315. #define ACLC2S2Q REGx(R0900_P1_ACLC2S2Q)
  2316. #define F0900_P1_ENAB_SPSKSYMB 0xf4970080
  2317. #define F0900_P1_CAR2S2_Q_ALPH_M 0xf4970030
  2318. #define F0900_P1_CAR2S2_Q_ALPH_E 0xf497000f
  2319. /*P1_ACLC2S28*/
  2320. #define R0900_P1_ACLC2S28 0xf498
  2321. #define ACLC2S28 REGx(R0900_P1_ACLC2S28)
  2322. #define F0900_P1_OLDI3Q_MODE 0xf4980080
  2323. #define F0900_P1_CAR2S2_8_ALPH_M 0xf4980030
  2324. #define F0900_P1_CAR2S2_8_ALPH_E 0xf498000f
  2325. /*P1_ACLC2S216A*/
  2326. #define R0900_P1_ACLC2S216A 0xf499
  2327. #define ACLC2S216A REGx(R0900_P1_ACLC2S216A)
  2328. #define F0900_P1_DIS_C3STOPA2 0xf4990080
  2329. #define F0900_P1_CAR2S2_16ADERAT 0xf4990040
  2330. #define F0900_P1_CAR2S2_16A_ALPH_M 0xf4990030
  2331. #define F0900_P1_CAR2S2_16A_ALPH_E 0xf499000f
  2332. /*P1_ACLC2S232A*/
  2333. #define R0900_P1_ACLC2S232A 0xf49a
  2334. #define ACLC2S232A REGx(R0900_P1_ACLC2S232A)
  2335. #define F0900_P1_CAR2S2_32ADERAT 0xf49a0040
  2336. #define F0900_P1_CAR2S2_32A_ALPH_M 0xf49a0030
  2337. #define F0900_P1_CAR2S2_32A_ALPH_E 0xf49a000f
  2338. /*P1_BCLC2S2Q*/
  2339. #define R0900_P1_BCLC2S2Q 0xf49c
  2340. #define BCLC2S2Q REGx(R0900_P1_BCLC2S2Q)
  2341. #define F0900_P1_CAR2S2_Q_BETA_M 0xf49c0030
  2342. #define F0900_P1_CAR2S2_Q_BETA_E 0xf49c000f
  2343. /*P1_BCLC2S28*/
  2344. #define R0900_P1_BCLC2S28 0xf49d
  2345. #define BCLC2S28 REGx(R0900_P1_BCLC2S28)
  2346. #define F0900_P1_CAR2S2_8_BETA_M 0xf49d0030
  2347. #define F0900_P1_CAR2S2_8_BETA_E 0xf49d000f
  2348. /*P1_BCLC2S216A*/
  2349. #define R0900_P1_BCLC2S216A 0xf49e
  2350. #define BCLC2S216A REGx(R0900_P1_BCLC2S216A)
  2351. /*P1_BCLC2S232A*/
  2352. #define R0900_P1_BCLC2S232A 0xf49f
  2353. #define BCLC2S232A REGx(R0900_P1_BCLC2S232A)
  2354. /*P1_PLROOT2*/
  2355. #define R0900_P1_PLROOT2 0xf4ac
  2356. #define PLROOT2 REGx(R0900_P1_PLROOT2)
  2357. #define F0900_P1_PLSCRAMB_MODE 0xf4ac000c
  2358. #define F0900_P1_PLSCRAMB_ROOT2 0xf4ac0003
  2359. /*P1_PLROOT1*/
  2360. #define R0900_P1_PLROOT1 0xf4ad
  2361. #define PLROOT1 REGx(R0900_P1_PLROOT1)
  2362. #define F0900_P1_PLSCRAMB_ROOT1 0xf4ad00ff
  2363. /*P1_PLROOT0*/
  2364. #define R0900_P1_PLROOT0 0xf4ae
  2365. #define PLROOT0 REGx(R0900_P1_PLROOT0)
  2366. #define F0900_P1_PLSCRAMB_ROOT0 0xf4ae00ff
  2367. /*P1_MODCODLST0*/
  2368. #define R0900_P1_MODCODLST0 0xf4b0
  2369. #define MODCODLST0 REGx(R0900_P1_MODCODLST0)
  2370. /*P1_MODCODLST1*/
  2371. #define R0900_P1_MODCODLST1 0xf4b1
  2372. #define MODCODLST1 REGx(R0900_P1_MODCODLST1)
  2373. #define F0900_P1_DIS_MODCOD29 0xf4b100f0
  2374. #define F0900_P1_DIS_32PSK_9_10 0xf4b1000f
  2375. /*P1_MODCODLST2*/
  2376. #define R0900_P1_MODCODLST2 0xf4b2
  2377. #define MODCODLST2 REGx(R0900_P1_MODCODLST2)
  2378. #define F0900_P1_DIS_32PSK_8_9 0xf4b200f0
  2379. #define F0900_P1_DIS_32PSK_5_6 0xf4b2000f
  2380. /*P1_MODCODLST3*/
  2381. #define R0900_P1_MODCODLST3 0xf4b3
  2382. #define MODCODLST3 REGx(R0900_P1_MODCODLST3)
  2383. #define F0900_P1_DIS_32PSK_4_5 0xf4b300f0
  2384. #define F0900_P1_DIS_32PSK_3_4 0xf4b3000f
  2385. /*P1_MODCODLST4*/
  2386. #define R0900_P1_MODCODLST4 0xf4b4
  2387. #define MODCODLST4 REGx(R0900_P1_MODCODLST4)
  2388. #define F0900_P1_DIS_16PSK_9_10 0xf4b400f0
  2389. #define F0900_P1_DIS_16PSK_8_9 0xf4b4000f
  2390. /*P1_MODCODLST5*/
  2391. #define R0900_P1_MODCODLST5 0xf4b5
  2392. #define MODCODLST5 REGx(R0900_P1_MODCODLST5)
  2393. #define F0900_P1_DIS_16PSK_5_6 0xf4b500f0
  2394. #define F0900_P1_DIS_16PSK_4_5 0xf4b5000f
  2395. /*P1_MODCODLST6*/
  2396. #define R0900_P1_MODCODLST6 0xf4b6
  2397. #define MODCODLST6 REGx(R0900_P1_MODCODLST6)
  2398. #define F0900_P1_DIS_16PSK_3_4 0xf4b600f0
  2399. #define F0900_P1_DIS_16PSK_2_3 0xf4b6000f
  2400. /*P1_MODCODLST7*/
  2401. #define R0900_P1_MODCODLST7 0xf4b7
  2402. #define MODCODLST7 REGx(R0900_P1_MODCODLST7)
  2403. #define F0900_P1_DIS_8P_9_10 0xf4b700f0
  2404. #define F0900_P1_DIS_8P_8_9 0xf4b7000f
  2405. /*P1_MODCODLST8*/
  2406. #define R0900_P1_MODCODLST8 0xf4b8
  2407. #define MODCODLST8 REGx(R0900_P1_MODCODLST8)
  2408. #define F0900_P1_DIS_8P_5_6 0xf4b800f0
  2409. #define F0900_P1_DIS_8P_3_4 0xf4b8000f
  2410. /*P1_MODCODLST9*/
  2411. #define R0900_P1_MODCODLST9 0xf4b9
  2412. #define MODCODLST9 REGx(R0900_P1_MODCODLST9)
  2413. #define F0900_P1_DIS_8P_2_3 0xf4b900f0
  2414. #define F0900_P1_DIS_8P_3_5 0xf4b9000f
  2415. /*P1_MODCODLSTA*/
  2416. #define R0900_P1_MODCODLSTA 0xf4ba
  2417. #define MODCODLSTA REGx(R0900_P1_MODCODLSTA)
  2418. #define F0900_P1_DIS_QP_9_10 0xf4ba00f0
  2419. #define F0900_P1_DIS_QP_8_9 0xf4ba000f
  2420. /*P1_MODCODLSTB*/
  2421. #define R0900_P1_MODCODLSTB 0xf4bb
  2422. #define MODCODLSTB REGx(R0900_P1_MODCODLSTB)
  2423. #define F0900_P1_DIS_QP_5_6 0xf4bb00f0
  2424. #define F0900_P1_DIS_QP_4_5 0xf4bb000f
  2425. /*P1_MODCODLSTC*/
  2426. #define R0900_P1_MODCODLSTC 0xf4bc
  2427. #define MODCODLSTC REGx(R0900_P1_MODCODLSTC)
  2428. #define F0900_P1_DIS_QP_3_4 0xf4bc00f0
  2429. #define F0900_P1_DIS_QP_2_3 0xf4bc000f
  2430. /*P1_MODCODLSTD*/
  2431. #define R0900_P1_MODCODLSTD 0xf4bd
  2432. #define MODCODLSTD REGx(R0900_P1_MODCODLSTD)
  2433. #define F0900_P1_DIS_QP_3_5 0xf4bd00f0
  2434. #define F0900_P1_DIS_QP_1_2 0xf4bd000f
  2435. /*P1_MODCODLSTE*/
  2436. #define R0900_P1_MODCODLSTE 0xf4be
  2437. #define MODCODLSTE REGx(R0900_P1_MODCODLSTE)
  2438. #define F0900_P1_DIS_QP_2_5 0xf4be00f0
  2439. #define F0900_P1_DIS_QP_1_3 0xf4be000f
  2440. /*P1_MODCODLSTF*/
  2441. #define R0900_P1_MODCODLSTF 0xf4bf
  2442. #define MODCODLSTF REGx(R0900_P1_MODCODLSTF)
  2443. #define F0900_P1_DIS_QP_1_4 0xf4bf00f0
  2444. /*P1_GAUSSR0*/
  2445. #define R0900_P1_GAUSSR0 0xf4c0
  2446. #define GAUSSR0 REGx(R0900_P1_GAUSSR0)
  2447. #define F0900_P1_EN_CCIMODE 0xf4c00080
  2448. #define F0900_P1_R0_GAUSSIEN 0xf4c0007f
  2449. /*P1_CCIR0*/
  2450. #define R0900_P1_CCIR0 0xf4c1
  2451. #define CCIR0 REGx(R0900_P1_CCIR0)
  2452. #define F0900_P1_CCIDETECT_PLHONLY 0xf4c10080
  2453. #define F0900_P1_R0_CCI 0xf4c1007f
  2454. /*P1_CCIQUANT*/
  2455. #define R0900_P1_CCIQUANT 0xf4c2
  2456. #define CCIQUANT REGx(R0900_P1_CCIQUANT)
  2457. #define F0900_P1_CCI_BETA 0xf4c200e0
  2458. #define F0900_P1_CCI_QUANT 0xf4c2001f
  2459. /*P1_CCITHRES*/
  2460. #define R0900_P1_CCITHRES 0xf4c3
  2461. #define CCITHRES REGx(R0900_P1_CCITHRES)
  2462. #define F0900_P1_CCI_THRESHOLD 0xf4c300ff
  2463. /*P1_CCIACC*/
  2464. #define R0900_P1_CCIACC 0xf4c4
  2465. #define CCIACC REGx(R0900_P1_CCIACC)
  2466. #define F0900_P1_CCI_VALUE 0xf4c400ff
  2467. /*P1_DMDRESCFG*/
  2468. #define R0900_P1_DMDRESCFG 0xf4c6
  2469. #define DMDRESCFG REGx(R0900_P1_DMDRESCFG)
  2470. #define F0900_P1_DMDRES_RESET 0xf4c60080
  2471. #define F0900_P1_DMDRES_STRALL 0xf4c60008
  2472. #define F0900_P1_DMDRES_NEWONLY 0xf4c60004
  2473. #define F0900_P1_DMDRES_NOSTORE 0xf4c60002
  2474. /*P1_DMDRESADR*/
  2475. #define R0900_P1_DMDRESADR 0xf4c7
  2476. #define DMDRESADR REGx(R0900_P1_DMDRESADR)
  2477. #define F0900_P1_DMDRES_VALIDCFR 0xf4c70040
  2478. #define F0900_P1_DMDRES_MEMFULL 0xf4c70030
  2479. #define F0900_P1_DMDRES_RESNBR 0xf4c7000f
  2480. /*P1_DMDRESDATA7*/
  2481. #define R0900_P1_DMDRESDATA7 0xf4c8
  2482. #define F0900_P1_DMDRES_DATA7 0xf4c800ff
  2483. /*P1_DMDRESDATA6*/
  2484. #define R0900_P1_DMDRESDATA6 0xf4c9
  2485. #define F0900_P1_DMDRES_DATA6 0xf4c900ff
  2486. /*P1_DMDRESDATA5*/
  2487. #define R0900_P1_DMDRESDATA5 0xf4ca
  2488. #define F0900_P1_DMDRES_DATA5 0xf4ca00ff
  2489. /*P1_DMDRESDATA4*/
  2490. #define R0900_P1_DMDRESDATA4 0xf4cb
  2491. #define F0900_P1_DMDRES_DATA4 0xf4cb00ff
  2492. /*P1_DMDRESDATA3*/
  2493. #define R0900_P1_DMDRESDATA3 0xf4cc
  2494. #define F0900_P1_DMDRES_DATA3 0xf4cc00ff
  2495. /*P1_DMDRESDATA2*/
  2496. #define R0900_P1_DMDRESDATA2 0xf4cd
  2497. #define F0900_P1_DMDRES_DATA2 0xf4cd00ff
  2498. /*P1_DMDRESDATA1*/
  2499. #define R0900_P1_DMDRESDATA1 0xf4ce
  2500. #define F0900_P1_DMDRES_DATA1 0xf4ce00ff
  2501. /*P1_DMDRESDATA0*/
  2502. #define R0900_P1_DMDRESDATA0 0xf4cf
  2503. #define F0900_P1_DMDRES_DATA0 0xf4cf00ff
  2504. /*P1_FFEI1*/
  2505. #define R0900_P1_FFEI1 0xf4d0
  2506. #define FFEI1 REGx(R0900_P1_FFEI1)
  2507. #define F0900_P1_FFE_ACCI1 0xf4d001ff
  2508. /*P1_FFEQ1*/
  2509. #define R0900_P1_FFEQ1 0xf4d1
  2510. #define FFEQ1 REGx(R0900_P1_FFEQ1)
  2511. #define F0900_P1_FFE_ACCQ1 0xf4d101ff
  2512. /*P1_FFEI2*/
  2513. #define R0900_P1_FFEI2 0xf4d2
  2514. #define FFEI2 REGx(R0900_P1_FFEI2)
  2515. #define F0900_P1_FFE_ACCI2 0xf4d201ff
  2516. /*P1_FFEQ2*/
  2517. #define R0900_P1_FFEQ2 0xf4d3
  2518. #define FFEQ2 REGx(R0900_P1_FFEQ2)
  2519. #define F0900_P1_FFE_ACCQ2 0xf4d301ff
  2520. /*P1_FFEI3*/
  2521. #define R0900_P1_FFEI3 0xf4d4
  2522. #define FFEI3 REGx(R0900_P1_FFEI3)
  2523. #define F0900_P1_FFE_ACCI3 0xf4d401ff
  2524. /*P1_FFEQ3*/
  2525. #define R0900_P1_FFEQ3 0xf4d5
  2526. #define FFEQ3 REGx(R0900_P1_FFEQ3)
  2527. #define F0900_P1_FFE_ACCQ3 0xf4d501ff
  2528. /*P1_FFEI4*/
  2529. #define R0900_P1_FFEI4 0xf4d6
  2530. #define FFEI4 REGx(R0900_P1_FFEI4)
  2531. #define F0900_P1_FFE_ACCI4 0xf4d601ff
  2532. /*P1_FFEQ4*/
  2533. #define R0900_P1_FFEQ4 0xf4d7
  2534. #define FFEQ4 REGx(R0900_P1_FFEQ4)
  2535. #define F0900_P1_FFE_ACCQ4 0xf4d701ff
  2536. /*P1_FFECFG*/
  2537. #define R0900_P1_FFECFG 0xf4d8
  2538. #define FFECFG REGx(R0900_P1_FFECFG)
  2539. #define F0900_P1_EQUALFFE_ON 0xf4d80040
  2540. #define F0900_P1_MU_EQUALFFE 0xf4d80007
  2541. /*P1_TNRCFG*/
  2542. #define R0900_P1_TNRCFG 0xf4e0
  2543. #define TNRCFG REGx(R0900_P1_TNRCFG)
  2544. #define F0900_P1_TUN_ACKFAIL 0xf4e00080
  2545. #define F0900_P1_TUN_TYPE 0xf4e00070
  2546. #define F0900_P1_TUN_SECSTOP 0xf4e00008
  2547. #define F0900_P1_TUN_VCOSRCH 0xf4e00004
  2548. #define F0900_P1_TUN_MADDRESS 0xf4e00003
  2549. /*P1_TNRCFG2*/
  2550. #define R0900_P1_TNRCFG2 0xf4e1
  2551. #define TNRCFG2 REGx(R0900_P1_TNRCFG2)
  2552. #define F0900_P1_TUN_IQSWAP 0xf4e10080
  2553. #define F0900_P1_DIS_BWCALC 0xf4e10004
  2554. #define F0900_P1_SHORT_WAITSTATES 0xf4e10002
  2555. /*P1_TNRXTAL*/
  2556. #define R0900_P1_TNRXTAL 0xf4e4
  2557. #define TNRXTAL REGx(R0900_P1_TNRXTAL)
  2558. #define F0900_P1_TUN_XTALFREQ 0xf4e4001f
  2559. /*P1_TNRSTEPS*/
  2560. #define R0900_P1_TNRSTEPS 0xf4e7
  2561. #define TNRSTEPS REGx(R0900_P1_TNRSTEPS)
  2562. #define F0900_P1_TUNER_BW0P125 0xf4e70080
  2563. #define F0900_P1_BWINC_OFFSET 0xf4e70170
  2564. #define F0900_P1_SOFTSTEP_RNG 0xf4e70008
  2565. #define F0900_P1_TUN_BWOFFSET 0xf4e70007
  2566. /*P1_TNRGAIN*/
  2567. #define R0900_P1_TNRGAIN 0xf4e8
  2568. #define TNRGAIN REGx(R0900_P1_TNRGAIN)
  2569. #define F0900_P1_TUN_KDIVEN 0xf4e800c0
  2570. #define F0900_P1_STB6X00_OCK 0xf4e80030
  2571. #define F0900_P1_TUN_GAIN 0xf4e8000f
  2572. /*P1_TNRRF1*/
  2573. #define R0900_P1_TNRRF1 0xf4e9
  2574. #define TNRRF1 REGx(R0900_P1_TNRRF1)
  2575. #define F0900_P1_TUN_RFFREQ2 0xf4e900ff
  2576. #define TUN_RFFREQ2 FLDx(F0900_P1_TUN_RFFREQ2)
  2577. /*P1_TNRRF0*/
  2578. #define R0900_P1_TNRRF0 0xf4ea
  2579. #define TNRRF0 REGx(R0900_P1_TNRRF0)
  2580. #define F0900_P1_TUN_RFFREQ1 0xf4ea00ff
  2581. #define TUN_RFFREQ1 FLDx(F0900_P1_TUN_RFFREQ1)
  2582. /*P1_TNRBW*/
  2583. #define R0900_P1_TNRBW 0xf4eb
  2584. #define TNRBW REGx(R0900_P1_TNRBW)
  2585. #define F0900_P1_TUN_RFFREQ0 0xf4eb00c0
  2586. #define TUN_RFFREQ0 FLDx(F0900_P1_TUN_RFFREQ0)
  2587. #define F0900_P1_TUN_BW 0xf4eb003f
  2588. #define TUN_BW FLDx(F0900_P1_TUN_BW)
  2589. /*P1_TNRADJ*/
  2590. #define R0900_P1_TNRADJ 0xf4ec
  2591. #define TNRADJ REGx(R0900_P1_TNRADJ)
  2592. #define F0900_P1_STB61X0_CALTIME 0xf4ec0040
  2593. /*P1_TNRCTL2*/
  2594. #define R0900_P1_TNRCTL2 0xf4ed
  2595. #define TNRCTL2 REGx(R0900_P1_TNRCTL2)
  2596. #define F0900_P1_STB61X0_RCCKOFF 0xf4ed0080
  2597. #define F0900_P1_STB61X0_ICP_SDOFF 0xf4ed0040
  2598. #define F0900_P1_STB61X0_DCLOOPOFF 0xf4ed0020
  2599. #define F0900_P1_STB61X0_REFOUTSEL 0xf4ed0010
  2600. #define F0900_P1_STB61X0_CALOFF 0xf4ed0008
  2601. #define F0900_P1_STB6XX0_LPT_BEN 0xf4ed0004
  2602. #define F0900_P1_STB6XX0_RX_OSCP 0xf4ed0002
  2603. #define F0900_P1_STB6XX0_SYN 0xf4ed0001
  2604. /*P1_TNRCFG3*/
  2605. #define R0900_P1_TNRCFG3 0xf4ee
  2606. #define TNRCFG3 REGx(R0900_P1_TNRCFG3)
  2607. #define F0900_P1_TUN_PLLFREQ 0xf4ee001c
  2608. #define F0900_P1_TUN_I2CFREQ_MODE 0xf4ee0003
  2609. /*P1_TNRLAUNCH*/
  2610. #define R0900_P1_TNRLAUNCH 0xf4f0
  2611. #define TNRLAUNCH REGx(R0900_P1_TNRLAUNCH)
  2612. /*P1_TNRLD*/
  2613. #define R0900_P1_TNRLD 0xf4f0
  2614. #define TNRLD REGx(R0900_P1_TNRLD)
  2615. #define F0900_P1_TUNLD_VCOING 0xf4f00080
  2616. #define F0900_P1_TUN_REG1FAIL 0xf4f00040
  2617. #define F0900_P1_TUN_REG2FAIL 0xf4f00020
  2618. #define F0900_P1_TUN_REG3FAIL 0xf4f00010
  2619. #define F0900_P1_TUN_REG4FAIL 0xf4f00008
  2620. #define F0900_P1_TUN_REG5FAIL 0xf4f00004
  2621. #define F0900_P1_TUN_BWING 0xf4f00002
  2622. #define F0900_P1_TUN_LOCKED 0xf4f00001
  2623. /*P1_TNROBSL*/
  2624. #define R0900_P1_TNROBSL 0xf4f6
  2625. #define TNROBSL REGx(R0900_P1_TNROBSL)
  2626. #define F0900_P1_TUN_I2CABORTED 0xf4f60080
  2627. #define F0900_P1_TUN_LPEN 0xf4f60040
  2628. #define F0900_P1_TUN_FCCK 0xf4f60020
  2629. #define F0900_P1_TUN_I2CLOCKED 0xf4f60010
  2630. #define F0900_P1_TUN_PROGDONE 0xf4f6000c
  2631. #define F0900_P1_TUN_RFRESTE1 0xf4f60003
  2632. #define TUN_RFRESTE1 FLDx(F0900_P1_TUN_RFRESTE1)
  2633. /*P1_TNRRESTE*/
  2634. #define R0900_P1_TNRRESTE 0xf4f7
  2635. #define TNRRESTE REGx(R0900_P1_TNRRESTE)
  2636. #define F0900_P1_TUN_RFRESTE0 0xf4f700ff
  2637. #define TUN_RFRESTE0 FLDx(F0900_P1_TUN_RFRESTE0)
  2638. /*P1_SMAPCOEF7*/
  2639. #define R0900_P1_SMAPCOEF7 0xf500
  2640. #define SMAPCOEF7 REGx(R0900_P1_SMAPCOEF7)
  2641. #define F0900_P1_DIS_QSCALE 0xf5000080
  2642. #define F0900_P1_SMAPCOEF_Q_LLR12 0xf500017f
  2643. /*P1_SMAPCOEF6*/
  2644. #define R0900_P1_SMAPCOEF6 0xf501
  2645. #define SMAPCOEF6 REGx(R0900_P1_SMAPCOEF6)
  2646. #define F0900_P1_ADJ_8PSKLLR1 0xf5010004
  2647. #define F0900_P1_OLD_8PSKLLR1 0xf5010002
  2648. #define F0900_P1_DIS_AB8PSK 0xf5010001
  2649. /*P1_SMAPCOEF5*/
  2650. #define R0900_P1_SMAPCOEF5 0xf502
  2651. #define SMAPCOEF5 REGx(R0900_P1_SMAPCOEF5)
  2652. #define F0900_P1_DIS_8SCALE 0xf5020080
  2653. #define F0900_P1_SMAPCOEF_8P_LLR23 0xf502017f
  2654. /*P1_NCO2MAX1*/
  2655. #define R0900_P1_NCO2MAX1 0xf514
  2656. #define NCO2MAX1 REGx(R0900_P1_NCO2MAX1)
  2657. #define F0900_P1_TETA2_MAXVABS1 0xf51400ff
  2658. /*P1_NCO2MAX0*/
  2659. #define R0900_P1_NCO2MAX0 0xf515
  2660. #define NCO2MAX0 REGx(R0900_P1_NCO2MAX0)
  2661. #define F0900_P1_TETA2_MAXVABS0 0xf51500ff
  2662. /*P1_NCO2FR1*/
  2663. #define R0900_P1_NCO2FR1 0xf516
  2664. #define NCO2FR1 REGx(R0900_P1_NCO2FR1)
  2665. #define F0900_P1_NCO2FINAL_ANGLE1 0xf51600ff
  2666. /*P1_NCO2FR0*/
  2667. #define R0900_P1_NCO2FR0 0xf517
  2668. #define NCO2FR0 REGx(R0900_P1_NCO2FR0)
  2669. #define F0900_P1_NCO2FINAL_ANGLE0 0xf51700ff
  2670. /*P1_CFR2AVRGE1*/
  2671. #define R0900_P1_CFR2AVRGE1 0xf518
  2672. #define CFR2AVRGE1 REGx(R0900_P1_CFR2AVRGE1)
  2673. #define F0900_P1_I2C_CFR2AVERAGE1 0xf51800ff
  2674. /*P1_CFR2AVRGE0*/
  2675. #define R0900_P1_CFR2AVRGE0 0xf519
  2676. #define CFR2AVRGE0 REGx(R0900_P1_CFR2AVRGE0)
  2677. #define F0900_P1_I2C_CFR2AVERAGE0 0xf51900ff
  2678. /*P1_DMDPLHSTAT*/
  2679. #define R0900_P1_DMDPLHSTAT 0xf520
  2680. #define DMDPLHSTAT REGx(R0900_P1_DMDPLHSTAT)
  2681. #define F0900_P1_PLH_STATISTIC 0xf52000ff
  2682. /*P1_LOCKTIME3*/
  2683. #define R0900_P1_LOCKTIME3 0xf522
  2684. #define LOCKTIME3 REGx(R0900_P1_LOCKTIME3)
  2685. #define F0900_P1_DEMOD_LOCKTIME3 0xf52200ff
  2686. /*P1_LOCKTIME2*/
  2687. #define R0900_P1_LOCKTIME2 0xf523
  2688. #define LOCKTIME2 REGx(R0900_P1_LOCKTIME2)
  2689. #define F0900_P1_DEMOD_LOCKTIME2 0xf52300ff
  2690. /*P1_LOCKTIME1*/
  2691. #define R0900_P1_LOCKTIME1 0xf524
  2692. #define LOCKTIME1 REGx(R0900_P1_LOCKTIME1)
  2693. #define F0900_P1_DEMOD_LOCKTIME1 0xf52400ff
  2694. /*P1_LOCKTIME0*/
  2695. #define R0900_P1_LOCKTIME0 0xf525
  2696. #define LOCKTIME0 REGx(R0900_P1_LOCKTIME0)
  2697. #define F0900_P1_DEMOD_LOCKTIME0 0xf52500ff
  2698. /*P1_VITSCALE*/
  2699. #define R0900_P1_VITSCALE 0xf532
  2700. #define VITSCALE REGx(R0900_P1_VITSCALE)
  2701. #define F0900_P1_NVTH_NOSRANGE 0xf5320080
  2702. #define F0900_P1_VERROR_MAXMODE 0xf5320040
  2703. #define F0900_P1_NSLOWSN_LOCKED 0xf5320008
  2704. #define F0900_P1_DIS_RSFLOCK 0xf5320002
  2705. /*P1_FECM*/
  2706. #define R0900_P1_FECM 0xf533
  2707. #define FECM REGx(R0900_P1_FECM)
  2708. #define F0900_P1_DSS_DVB 0xf5330080
  2709. #define DSS_DVB FLDx(F0900_P1_DSS_DVB)
  2710. #define F0900_P1_DSS_SRCH 0xf5330010
  2711. #define F0900_P1_SYNCVIT 0xf5330002
  2712. #define F0900_P1_IQINV 0xf5330001
  2713. #define IQINV FLDx(F0900_P1_IQINV)
  2714. /*P1_VTH12*/
  2715. #define R0900_P1_VTH12 0xf534
  2716. #define VTH12 REGx(R0900_P1_VTH12)
  2717. #define F0900_P1_VTH12 0xf53400ff
  2718. /*P1_VTH23*/
  2719. #define R0900_P1_VTH23 0xf535
  2720. #define VTH23 REGx(R0900_P1_VTH23)
  2721. #define F0900_P1_VTH23 0xf53500ff
  2722. /*P1_VTH34*/
  2723. #define R0900_P1_VTH34 0xf536
  2724. #define VTH34 REGx(R0900_P1_VTH34)
  2725. #define F0900_P1_VTH34 0xf53600ff
  2726. /*P1_VTH56*/
  2727. #define R0900_P1_VTH56 0xf537
  2728. #define VTH56 REGx(R0900_P1_VTH56)
  2729. #define F0900_P1_VTH56 0xf53700ff
  2730. /*P1_VTH67*/
  2731. #define R0900_P1_VTH67 0xf538
  2732. #define VTH67 REGx(R0900_P1_VTH67)
  2733. #define F0900_P1_VTH67 0xf53800ff
  2734. /*P1_VTH78*/
  2735. #define R0900_P1_VTH78 0xf539
  2736. #define VTH78 REGx(R0900_P1_VTH78)
  2737. #define F0900_P1_VTH78 0xf53900ff
  2738. /*P1_VITCURPUN*/
  2739. #define R0900_P1_VITCURPUN 0xf53a
  2740. #define VITCURPUN REGx(R0900_P1_VITCURPUN)
  2741. #define F0900_P1_VIT_CURPUN 0xf53a001f
  2742. #define VIT_CURPUN FLDx(F0900_P1_VIT_CURPUN)
  2743. /*P1_VERROR*/
  2744. #define R0900_P1_VERROR 0xf53b
  2745. #define VERROR REGx(R0900_P1_VERROR)
  2746. #define F0900_P1_REGERR_VIT 0xf53b00ff
  2747. /*P1_PRVIT*/
  2748. #define R0900_P1_PRVIT 0xf53c
  2749. #define PRVIT REGx(R0900_P1_PRVIT)
  2750. #define F0900_P1_DIS_VTHLOCK 0xf53c0040
  2751. #define F0900_P1_E7_8VIT 0xf53c0020
  2752. #define F0900_P1_E6_7VIT 0xf53c0010
  2753. #define F0900_P1_E5_6VIT 0xf53c0008
  2754. #define F0900_P1_E3_4VIT 0xf53c0004
  2755. #define F0900_P1_E2_3VIT 0xf53c0002
  2756. #define F0900_P1_E1_2VIT 0xf53c0001
  2757. /*P1_VAVSRVIT*/
  2758. #define R0900_P1_VAVSRVIT 0xf53d
  2759. #define VAVSRVIT REGx(R0900_P1_VAVSRVIT)
  2760. #define F0900_P1_AMVIT 0xf53d0080
  2761. #define F0900_P1_FROZENVIT 0xf53d0040
  2762. #define F0900_P1_SNVIT 0xf53d0030
  2763. #define F0900_P1_TOVVIT 0xf53d000c
  2764. #define F0900_P1_HYPVIT 0xf53d0003
  2765. /*P1_VSTATUSVIT*/
  2766. #define R0900_P1_VSTATUSVIT 0xf53e
  2767. #define VSTATUSVIT REGx(R0900_P1_VSTATUSVIT)
  2768. #define F0900_P1_PRFVIT 0xf53e0010
  2769. #define PRFVIT FLDx(F0900_P1_PRFVIT)
  2770. #define F0900_P1_LOCKEDVIT 0xf53e0008
  2771. #define LOCKEDVIT FLDx(F0900_P1_LOCKEDVIT)
  2772. /*P1_VTHINUSE*/
  2773. #define R0900_P1_VTHINUSE 0xf53f
  2774. #define VTHINUSE REGx(R0900_P1_VTHINUSE)
  2775. #define F0900_P1_VIT_INUSE 0xf53f00ff
  2776. /*P1_KDIV12*/
  2777. #define R0900_P1_KDIV12 0xf540
  2778. #define KDIV12 REGx(R0900_P1_KDIV12)
  2779. #define F0900_P1_K_DIVIDER_12 0xf540007f
  2780. /*P1_KDIV23*/
  2781. #define R0900_P1_KDIV23 0xf541
  2782. #define KDIV23 REGx(R0900_P1_KDIV23)
  2783. #define F0900_P1_K_DIVIDER_23 0xf541007f
  2784. /*P1_KDIV34*/
  2785. #define R0900_P1_KDIV34 0xf542
  2786. #define KDIV34 REGx(R0900_P1_KDIV34)
  2787. #define F0900_P1_K_DIVIDER_34 0xf542007f
  2788. /*P1_KDIV56*/
  2789. #define R0900_P1_KDIV56 0xf543
  2790. #define KDIV56 REGx(R0900_P1_KDIV56)
  2791. #define F0900_P1_K_DIVIDER_56 0xf543007f
  2792. /*P1_KDIV67*/
  2793. #define R0900_P1_KDIV67 0xf544
  2794. #define KDIV67 REGx(R0900_P1_KDIV67)
  2795. #define F0900_P1_K_DIVIDER_67 0xf544007f
  2796. /*P1_KDIV78*/
  2797. #define R0900_P1_KDIV78 0xf545
  2798. #define KDIV78 REGx(R0900_P1_KDIV78)
  2799. #define F0900_P1_K_DIVIDER_78 0xf545007f
  2800. /*P1_PDELCTRL1*/
  2801. #define R0900_P1_PDELCTRL1 0xf550
  2802. #define PDELCTRL1 REGx(R0900_P1_PDELCTRL1)
  2803. #define F0900_P1_INV_MISMASK 0xf5500080
  2804. #define INV_MISMASK FLDx(F0900_P1_INV_MISMASK)
  2805. #define F0900_P1_FILTER_EN 0xf5500020
  2806. #define FILTER_EN FLDx(F0900_P1_FILTER_EN)
  2807. #define F0900_P1_EN_MIS00 0xf5500002
  2808. #define EN_MIS00 FLDx(F0900_P1_EN_MIS00)
  2809. #define F0900_P1_ALGOSWRST 0xf5500001
  2810. #define ALGOSWRST FLDx(F0900_P1_ALGOSWRST)
  2811. /*P1_PDELCTRL2*/
  2812. #define R0900_P1_PDELCTRL2 0xf551
  2813. #define PDELCTRL2 REGx(R0900_P1_PDELCTRL2)
  2814. #define F0900_P1_RESET_UPKO_COUNT 0xf5510040
  2815. #define RESET_UPKO_COUNT FLDx(F0900_P1_RESET_UPKO_COUNT)
  2816. #define F0900_P1_FRAME_MODE 0xf5510002
  2817. #define F0900_P1_NOBCHERRFLG_USE 0xf5510001
  2818. /*P1_HYSTTHRESH*/
  2819. #define R0900_P1_HYSTTHRESH 0xf554
  2820. #define HYSTTHRESH REGx(R0900_P1_HYSTTHRESH)
  2821. #define F0900_P1_UNLCK_THRESH 0xf55400f0
  2822. #define F0900_P1_DELIN_LCK_THRESH 0xf554000f
  2823. /*P1_ISIENTRY*/
  2824. #define R0900_P1_ISIENTRY 0xf55e
  2825. #define ISIENTRY REGx(R0900_P1_ISIENTRY)
  2826. #define F0900_P1_ISI_ENTRY 0xf55e00ff
  2827. /*P1_ISIBITENA*/
  2828. #define R0900_P1_ISIBITENA 0xf55f
  2829. #define ISIBITENA REGx(R0900_P1_ISIBITENA)
  2830. #define F0900_P1_ISI_BIT_EN 0xf55f00ff
  2831. /*P1_MATSTR1*/
  2832. #define R0900_P1_MATSTR1 0xf560
  2833. #define MATSTR1 REGx(R0900_P1_MATSTR1)
  2834. #define F0900_P1_MATYPE_CURRENT1 0xf56000ff
  2835. /*P1_MATSTR0*/
  2836. #define R0900_P1_MATSTR0 0xf561
  2837. #define MATSTR0 REGx(R0900_P1_MATSTR0)
  2838. #define F0900_P1_MATYPE_CURRENT0 0xf56100ff
  2839. /*P1_UPLSTR1*/
  2840. #define R0900_P1_UPLSTR1 0xf562
  2841. #define UPLSTR1 REGx(R0900_P1_UPLSTR1)
  2842. #define F0900_P1_UPL_CURRENT1 0xf56200ff
  2843. /*P1_UPLSTR0*/
  2844. #define R0900_P1_UPLSTR0 0xf563
  2845. #define UPLSTR0 REGx(R0900_P1_UPLSTR0)
  2846. #define F0900_P1_UPL_CURRENT0 0xf56300ff
  2847. /*P1_DFLSTR1*/
  2848. #define R0900_P1_DFLSTR1 0xf564
  2849. #define DFLSTR1 REGx(R0900_P1_DFLSTR1)
  2850. #define F0900_P1_DFL_CURRENT1 0xf56400ff
  2851. /*P1_DFLSTR0*/
  2852. #define R0900_P1_DFLSTR0 0xf565
  2853. #define DFLSTR0 REGx(R0900_P1_DFLSTR0)
  2854. #define F0900_P1_DFL_CURRENT0 0xf56500ff
  2855. /*P1_SYNCSTR*/
  2856. #define R0900_P1_SYNCSTR 0xf566
  2857. #define SYNCSTR REGx(R0900_P1_SYNCSTR)
  2858. #define F0900_P1_SYNC_CURRENT 0xf56600ff
  2859. /*P1_SYNCDSTR1*/
  2860. #define R0900_P1_SYNCDSTR1 0xf567
  2861. #define SYNCDSTR1 REGx(R0900_P1_SYNCDSTR1)
  2862. #define F0900_P1_SYNCD_CURRENT1 0xf56700ff
  2863. /*P1_SYNCDSTR0*/
  2864. #define R0900_P1_SYNCDSTR0 0xf568
  2865. #define SYNCDSTR0 REGx(R0900_P1_SYNCDSTR0)
  2866. #define F0900_P1_SYNCD_CURRENT0 0xf56800ff
  2867. /*P1_PDELSTATUS1*/
  2868. #define R0900_P1_PDELSTATUS1 0xf569
  2869. #define F0900_P1_PKTDELIN_DELOCK 0xf5690080
  2870. #define F0900_P1_SYNCDUPDFL_BADDFL 0xf5690040
  2871. #define F0900_P1_CONTINUOUS_STREAM 0xf5690020
  2872. #define F0900_P1_UNACCEPTED_STREAM 0xf5690010
  2873. #define F0900_P1_BCH_ERROR_FLAG 0xf5690008
  2874. #define F0900_P1_PKTDELIN_LOCK 0xf5690002
  2875. #define PKTDELIN_LOCK FLDx(F0900_P1_PKTDELIN_LOCK)
  2876. #define F0900_P1_FIRST_LOCK 0xf5690001
  2877. /*P1_PDELSTATUS2*/
  2878. #define R0900_P1_PDELSTATUS2 0xf56a
  2879. #define F0900_P1_FRAME_MODCOD 0xf56a007c
  2880. #define F0900_P1_FRAME_TYPE 0xf56a0003
  2881. /*P1_BBFCRCKO1*/
  2882. #define R0900_P1_BBFCRCKO1 0xf56b
  2883. #define BBFCRCKO1 REGx(R0900_P1_BBFCRCKO1)
  2884. #define F0900_P1_BBHCRC_KOCNT1 0xf56b00ff
  2885. /*P1_BBFCRCKO0*/
  2886. #define R0900_P1_BBFCRCKO0 0xf56c
  2887. #define BBFCRCKO0 REGx(R0900_P1_BBFCRCKO0)
  2888. #define F0900_P1_BBHCRC_KOCNT0 0xf56c00ff
  2889. /*P1_UPCRCKO1*/
  2890. #define R0900_P1_UPCRCKO1 0xf56d
  2891. #define UPCRCKO1 REGx(R0900_P1_UPCRCKO1)
  2892. #define F0900_P1_PKTCRC_KOCNT1 0xf56d00ff
  2893. /*P1_UPCRCKO0*/
  2894. #define R0900_P1_UPCRCKO0 0xf56e
  2895. #define UPCRCKO0 REGx(R0900_P1_UPCRCKO0)
  2896. #define F0900_P1_PKTCRC_KOCNT0 0xf56e00ff
  2897. /*P1_PDELCTRL3*/
  2898. #define R0900_P1_PDELCTRL3 0xf56f
  2899. #define PDELCTRL3 REGx(R0900_P1_PDELCTRL3)
  2900. #define F0900_P1_PKTDEL_CONTFAIL 0xf56f0080
  2901. #define F0900_P1_NOFIFO_BCHERR 0xf56f0020
  2902. /*P1_TSSTATEM*/
  2903. #define R0900_P1_TSSTATEM 0xf570
  2904. #define TSSTATEM REGx(R0900_P1_TSSTATEM)
  2905. #define F0900_P1_TSDIL_ON 0xf5700080
  2906. #define F0900_P1_TSRS_ON 0xf5700020
  2907. #define F0900_P1_TSDESCRAMB_ON 0xf5700010
  2908. #define F0900_P1_TSFRAME_MODE 0xf5700008
  2909. #define F0900_P1_TS_DISABLE 0xf5700004
  2910. #define F0900_P1_TSOUT_NOSYNC 0xf5700001
  2911. /*P1_TSCFGH*/
  2912. #define R0900_P1_TSCFGH 0xf572
  2913. #define TSCFGH REGx(R0900_P1_TSCFGH)
  2914. #define F0900_P1_TSFIFO_DVBCI 0xf5720080
  2915. #define F0900_P1_TSFIFO_SERIAL 0xf5720040
  2916. #define F0900_P1_TSFIFO_TEIUPDATE 0xf5720020
  2917. #define F0900_P1_TSFIFO_DUTY50 0xf5720010
  2918. #define F0900_P1_TSFIFO_HSGNLOUT 0xf5720008
  2919. #define F0900_P1_TSFIFO_ERRMODE 0xf5720006
  2920. #define F0900_P1_RST_HWARE 0xf5720001
  2921. #define RST_HWARE FLDx(F0900_P1_RST_HWARE)
  2922. /*P1_TSCFGM*/
  2923. #define R0900_P1_TSCFGM 0xf573
  2924. #define TSCFGM REGx(R0900_P1_TSCFGM)
  2925. #define F0900_P1_TSFIFO_MANSPEED 0xf57300c0
  2926. #define F0900_P1_TSFIFO_PERMDATA 0xf5730020
  2927. #define F0900_P1_TSFIFO_DPUNACT 0xf5730002
  2928. #define F0900_P1_TSFIFO_INVDATA 0xf5730001
  2929. /*P1_TSCFGL*/
  2930. #define R0900_P1_TSCFGL 0xf574
  2931. #define TSCFGL REGx(R0900_P1_TSCFGL)
  2932. #define F0900_P1_TSFIFO_BCLKDEL1CK 0xf57400c0
  2933. #define F0900_P1_BCHERROR_MODE 0xf5740030
  2934. #define F0900_P1_TSFIFO_NSGNL2DATA 0xf5740008
  2935. #define F0900_P1_TSFIFO_EMBINDVB 0xf5740004
  2936. #define F0900_P1_TSFIFO_BITSPEED 0xf5740003
  2937. /*P1_TSINSDELH*/
  2938. #define R0900_P1_TSINSDELH 0xf576
  2939. #define TSINSDELH REGx(R0900_P1_TSINSDELH)
  2940. #define F0900_P1_TSDEL_SYNCBYTE 0xf5760080
  2941. #define F0900_P1_TSDEL_XXHEADER 0xf5760040
  2942. #define F0900_P1_TSDEL_BBHEADER 0xf5760020
  2943. #define F0900_P1_TSDEL_DATAFIELD 0xf5760010
  2944. #define F0900_P1_TSINSDEL_ISCR 0xf5760008
  2945. #define F0900_P1_TSINSDEL_NPD 0xf5760004
  2946. #define F0900_P1_TSINSDEL_RSPARITY 0xf5760002
  2947. #define F0900_P1_TSINSDEL_CRC8 0xf5760001
  2948. /*P1_TSDIVN*/
  2949. #define R0900_P1_TSDIVN 0xf579
  2950. #define TSDIVN REGx(R0900_P1_TSDIVN)
  2951. #define F0900_P1_TSFIFO_SPEEDMODE 0xf57900c0
  2952. /*P1_TSCFG4*/
  2953. #define R0900_P1_TSCFG4 0xf57a
  2954. #define TSCFG4 REGx(R0900_P1_TSCFG4)
  2955. #define F0900_P1_TSFIFO_TSSPEEDMODE 0xf57a00c0
  2956. /*P1_TSSPEED*/
  2957. #define R0900_P1_TSSPEED 0xf580
  2958. #define TSSPEED REGx(R0900_P1_TSSPEED)
  2959. #define F0900_P1_TSFIFO_OUTSPEED 0xf58000ff
  2960. /*P1_TSSTATUS*/
  2961. #define R0900_P1_TSSTATUS 0xf581
  2962. #define TSSTATUS REGx(R0900_P1_TSSTATUS)
  2963. #define F0900_P1_TSFIFO_LINEOK 0xf5810080
  2964. #define TSFIFO_LINEOK FLDx(F0900_P1_TSFIFO_LINEOK)
  2965. #define F0900_P1_TSFIFO_ERROR 0xf5810040
  2966. #define F0900_P1_DIL_READY 0xf5810001
  2967. /*P1_TSSTATUS2*/
  2968. #define R0900_P1_TSSTATUS2 0xf582
  2969. #define TSSTATUS2 REGx(R0900_P1_TSSTATUS2)
  2970. #define F0900_P1_TSFIFO_DEMODSEL 0xf5820080
  2971. #define F0900_P1_TSFIFOSPEED_STORE 0xf5820040
  2972. #define F0900_P1_DILXX_RESET 0xf5820020
  2973. #define F0900_P1_TSSERIAL_IMPOS 0xf5820010
  2974. #define F0900_P1_SCRAMBDETECT 0xf5820002
  2975. /*P1_TSBITRATE1*/
  2976. #define R0900_P1_TSBITRATE1 0xf583
  2977. #define TSBITRATE1 REGx(R0900_P1_TSBITRATE1)
  2978. #define F0900_P1_TSFIFO_BITRATE1 0xf58300ff
  2979. /*P1_TSBITRATE0*/
  2980. #define R0900_P1_TSBITRATE0 0xf584
  2981. #define TSBITRATE0 REGx(R0900_P1_TSBITRATE0)
  2982. #define F0900_P1_TSFIFO_BITRATE0 0xf58400ff
  2983. /*P1_ERRCTRL1*/
  2984. #define R0900_P1_ERRCTRL1 0xf598
  2985. #define ERRCTRL1 REGx(R0900_P1_ERRCTRL1)
  2986. #define F0900_P1_ERR_SOURCE1 0xf59800f0
  2987. #define F0900_P1_NUM_EVENT1 0xf5980007
  2988. /*P1_ERRCNT12*/
  2989. #define R0900_P1_ERRCNT12 0xf599
  2990. #define ERRCNT12 REGx(R0900_P1_ERRCNT12)
  2991. #define F0900_P1_ERRCNT1_OLDVALUE 0xf5990080
  2992. #define F0900_P1_ERR_CNT12 0xf599007f
  2993. #define ERR_CNT12 FLDx(F0900_P1_ERR_CNT12)
  2994. /*P1_ERRCNT11*/
  2995. #define R0900_P1_ERRCNT11 0xf59a
  2996. #define ERRCNT11 REGx(R0900_P1_ERRCNT11)
  2997. #define F0900_P1_ERR_CNT11 0xf59a00ff
  2998. #define ERR_CNT11 FLDx(F0900_P1_ERR_CNT11)
  2999. /*P1_ERRCNT10*/
  3000. #define R0900_P1_ERRCNT10 0xf59b
  3001. #define ERRCNT10 REGx(R0900_P1_ERRCNT10)
  3002. #define F0900_P1_ERR_CNT10 0xf59b00ff
  3003. #define ERR_CNT10 FLDx(F0900_P1_ERR_CNT10)
  3004. /*P1_ERRCTRL2*/
  3005. #define R0900_P1_ERRCTRL2 0xf59c
  3006. #define ERRCTRL2 REGx(R0900_P1_ERRCTRL2)
  3007. #define F0900_P1_ERR_SOURCE2 0xf59c00f0
  3008. #define F0900_P1_NUM_EVENT2 0xf59c0007
  3009. /*P1_ERRCNT22*/
  3010. #define R0900_P1_ERRCNT22 0xf59d
  3011. #define ERRCNT22 REGx(R0900_P1_ERRCNT22)
  3012. #define F0900_P1_ERRCNT2_OLDVALUE 0xf59d0080
  3013. #define F0900_P1_ERR_CNT22 0xf59d007f
  3014. #define ERR_CNT22 FLDx(F0900_P1_ERR_CNT22)
  3015. /*P1_ERRCNT21*/
  3016. #define R0900_P1_ERRCNT21 0xf59e
  3017. #define ERRCNT21 REGx(R0900_P1_ERRCNT21)
  3018. #define F0900_P1_ERR_CNT21 0xf59e00ff
  3019. #define ERR_CNT21 FLDx(F0900_P1_ERR_CNT21)
  3020. /*P1_ERRCNT20*/
  3021. #define R0900_P1_ERRCNT20 0xf59f
  3022. #define ERRCNT20 REGx(R0900_P1_ERRCNT20)
  3023. #define F0900_P1_ERR_CNT20 0xf59f00ff
  3024. #define ERR_CNT20 FLDx(F0900_P1_ERR_CNT20)
  3025. /*P1_FECSPY*/
  3026. #define R0900_P1_FECSPY 0xf5a0
  3027. #define FECSPY REGx(R0900_P1_FECSPY)
  3028. #define F0900_P1_SPY_ENABLE 0xf5a00080
  3029. #define F0900_P1_NO_SYNCBYTE 0xf5a00040
  3030. #define F0900_P1_SERIAL_MODE 0xf5a00020
  3031. #define F0900_P1_UNUSUAL_PACKET 0xf5a00010
  3032. #define F0900_P1_BERMETER_DATAMODE 0xf5a00008
  3033. #define F0900_P1_BERMETER_LMODE 0xf5a00002
  3034. #define F0900_P1_BERMETER_RESET 0xf5a00001
  3035. /*P1_FSPYCFG*/
  3036. #define R0900_P1_FSPYCFG 0xf5a1
  3037. #define FSPYCFG REGx(R0900_P1_FSPYCFG)
  3038. #define F0900_P1_FECSPY_INPUT 0xf5a100c0
  3039. #define F0900_P1_RST_ON_ERROR 0xf5a10020
  3040. #define F0900_P1_ONE_SHOT 0xf5a10010
  3041. #define F0900_P1_I2C_MODE 0xf5a1000c
  3042. #define F0900_P1_SPY_HYSTERESIS 0xf5a10003
  3043. /*P1_FSPYDATA*/
  3044. #define R0900_P1_FSPYDATA 0xf5a2
  3045. #define FSPYDATA REGx(R0900_P1_FSPYDATA)
  3046. #define F0900_P1_SPY_STUFFING 0xf5a20080
  3047. #define F0900_P1_SPY_CNULLPKT 0xf5a20020
  3048. #define F0900_P1_SPY_OUTDATA_MODE 0xf5a2001f
  3049. /*P1_FSPYOUT*/
  3050. #define R0900_P1_FSPYOUT 0xf5a3
  3051. #define FSPYOUT REGx(R0900_P1_FSPYOUT)
  3052. #define F0900_P1_FSPY_DIRECT 0xf5a30080
  3053. #define F0900_P1_STUFF_MODE 0xf5a30007
  3054. /*P1_FSTATUS*/
  3055. #define R0900_P1_FSTATUS 0xf5a4
  3056. #define FSTATUS REGx(R0900_P1_FSTATUS)
  3057. #define F0900_P1_SPY_ENDSIM 0xf5a40080
  3058. #define F0900_P1_VALID_SIM 0xf5a40040
  3059. #define F0900_P1_FOUND_SIGNAL 0xf5a40020
  3060. #define F0900_P1_DSS_SYNCBYTE 0xf5a40010
  3061. #define F0900_P1_RESULT_STATE 0xf5a4000f
  3062. /*P1_FBERCPT4*/
  3063. #define R0900_P1_FBERCPT4 0xf5a8
  3064. #define FBERCPT4 REGx(R0900_P1_FBERCPT4)
  3065. #define F0900_P1_FBERMETER_CPT4 0xf5a800ff
  3066. /*P1_FBERCPT3*/
  3067. #define R0900_P1_FBERCPT3 0xf5a9
  3068. #define FBERCPT3 REGx(R0900_P1_FBERCPT3)
  3069. #define F0900_P1_FBERMETER_CPT3 0xf5a900ff
  3070. /*P1_FBERCPT2*/
  3071. #define R0900_P1_FBERCPT2 0xf5aa
  3072. #define FBERCPT2 REGx(R0900_P1_FBERCPT2)
  3073. #define F0900_P1_FBERMETER_CPT2 0xf5aa00ff
  3074. /*P1_FBERCPT1*/
  3075. #define R0900_P1_FBERCPT1 0xf5ab
  3076. #define FBERCPT1 REGx(R0900_P1_FBERCPT1)
  3077. #define F0900_P1_FBERMETER_CPT1 0xf5ab00ff
  3078. /*P1_FBERCPT0*/
  3079. #define R0900_P1_FBERCPT0 0xf5ac
  3080. #define FBERCPT0 REGx(R0900_P1_FBERCPT0)
  3081. #define F0900_P1_FBERMETER_CPT0 0xf5ac00ff
  3082. /*P1_FBERERR2*/
  3083. #define R0900_P1_FBERERR2 0xf5ad
  3084. #define FBERERR2 REGx(R0900_P1_FBERERR2)
  3085. #define F0900_P1_FBERMETER_ERR2 0xf5ad00ff
  3086. /*P1_FBERERR1*/
  3087. #define R0900_P1_FBERERR1 0xf5ae
  3088. #define FBERERR1 REGx(R0900_P1_FBERERR1)
  3089. #define F0900_P1_FBERMETER_ERR1 0xf5ae00ff
  3090. /*P1_FBERERR0*/
  3091. #define R0900_P1_FBERERR0 0xf5af
  3092. #define FBERERR0 REGx(R0900_P1_FBERERR0)
  3093. #define F0900_P1_FBERMETER_ERR0 0xf5af00ff
  3094. /*P1_FSPYBER*/
  3095. #define R0900_P1_FSPYBER 0xf5b2
  3096. #define FSPYBER REGx(R0900_P1_FSPYBER)
  3097. #define F0900_P1_FSPYBER_SYNCBYTE 0xf5b20010
  3098. #define F0900_P1_FSPYBER_UNSYNC 0xf5b20008
  3099. #define F0900_P1_FSPYBER_CTIME 0xf5b20007
  3100. /*RCCFG2*/
  3101. #define R0900_RCCFG2 0xf600
  3102. /*TSGENERAL*/
  3103. #define R0900_TSGENERAL 0xf630
  3104. #define F0900_TSFIFO_DISTS2PAR 0xf6300040
  3105. #define F0900_MUXSTREAM_OUTMODE 0xf6300008
  3106. #define F0900_TSFIFO_PERMPARAL 0xf6300006
  3107. /*TSGENERAL1X*/
  3108. #define R0900_TSGENERAL1X 0xf670
  3109. /*NBITER_NF4*/
  3110. #define R0900_NBITER_NF4 0xfa03
  3111. #define F0900_NBITER_NF_QP_1_2 0xfa0300ff
  3112. /*NBITER_NF5*/
  3113. #define R0900_NBITER_NF5 0xfa04
  3114. #define F0900_NBITER_NF_QP_3_5 0xfa0400ff
  3115. /*NBITER_NF6*/
  3116. #define R0900_NBITER_NF6 0xfa05
  3117. #define F0900_NBITER_NF_QP_2_3 0xfa0500ff
  3118. /*NBITER_NF7*/
  3119. #define R0900_NBITER_NF7 0xfa06
  3120. #define F0900_NBITER_NF_QP_3_4 0xfa0600ff
  3121. /*NBITER_NF8*/
  3122. #define R0900_NBITER_NF8 0xfa07
  3123. #define F0900_NBITER_NF_QP_4_5 0xfa0700ff
  3124. /*NBITER_NF9*/
  3125. #define R0900_NBITER_NF9 0xfa08
  3126. #define F0900_NBITER_NF_QP_5_6 0xfa0800ff
  3127. /*NBITER_NF10*/
  3128. #define R0900_NBITER_NF10 0xfa09
  3129. #define F0900_NBITER_NF_QP_8_9 0xfa0900ff
  3130. /*NBITER_NF11*/
  3131. #define R0900_NBITER_NF11 0xfa0a
  3132. #define F0900_NBITER_NF_QP_9_10 0xfa0a00ff
  3133. /*NBITER_NF12*/
  3134. #define R0900_NBITER_NF12 0xfa0b
  3135. #define F0900_NBITER_NF_8P_3_5 0xfa0b00ff
  3136. /*NBITER_NF13*/
  3137. #define R0900_NBITER_NF13 0xfa0c
  3138. #define F0900_NBITER_NF_8P_2_3 0xfa0c00ff
  3139. /*NBITER_NF14*/
  3140. #define R0900_NBITER_NF14 0xfa0d
  3141. #define F0900_NBITER_NF_8P_3_4 0xfa0d00ff
  3142. /*NBITER_NF15*/
  3143. #define R0900_NBITER_NF15 0xfa0e
  3144. #define F0900_NBITER_NF_8P_5_6 0xfa0e00ff
  3145. /*NBITER_NF16*/
  3146. #define R0900_NBITER_NF16 0xfa0f
  3147. #define F0900_NBITER_NF_8P_8_9 0xfa0f00ff
  3148. /*NBITER_NF17*/
  3149. #define R0900_NBITER_NF17 0xfa10
  3150. #define F0900_NBITER_NF_8P_9_10 0xfa1000ff
  3151. /*NBITERNOERR*/
  3152. #define R0900_NBITERNOERR 0xfa3f
  3153. #define F0900_NBITER_STOP_CRIT 0xfa3f000f
  3154. /*GAINLLR_NF4*/
  3155. #define R0900_GAINLLR_NF4 0xfa43
  3156. #define F0900_GAINLLR_NF_QP_1_2 0xfa43007f
  3157. /*GAINLLR_NF5*/
  3158. #define R0900_GAINLLR_NF5 0xfa44
  3159. #define F0900_GAINLLR_NF_QP_3_5 0xfa44007f
  3160. /*GAINLLR_NF6*/
  3161. #define R0900_GAINLLR_NF6 0xfa45
  3162. #define F0900_GAINLLR_NF_QP_2_3 0xfa45007f
  3163. /*GAINLLR_NF7*/
  3164. #define R0900_GAINLLR_NF7 0xfa46
  3165. #define F0900_GAINLLR_NF_QP_3_4 0xfa46007f
  3166. /*GAINLLR_NF8*/
  3167. #define R0900_GAINLLR_NF8 0xfa47
  3168. #define F0900_GAINLLR_NF_QP_4_5 0xfa47007f
  3169. /*GAINLLR_NF9*/
  3170. #define R0900_GAINLLR_NF9 0xfa48
  3171. #define F0900_GAINLLR_NF_QP_5_6 0xfa48007f
  3172. /*GAINLLR_NF10*/
  3173. #define R0900_GAINLLR_NF10 0xfa49
  3174. #define F0900_GAINLLR_NF_QP_8_9 0xfa49007f
  3175. /*GAINLLR_NF11*/
  3176. #define R0900_GAINLLR_NF11 0xfa4a
  3177. #define F0900_GAINLLR_NF_QP_9_10 0xfa4a007f
  3178. /*GAINLLR_NF12*/
  3179. #define R0900_GAINLLR_NF12 0xfa4b
  3180. #define F0900_GAINLLR_NF_8P_3_5 0xfa4b007f
  3181. /*GAINLLR_NF13*/
  3182. #define R0900_GAINLLR_NF13 0xfa4c
  3183. #define F0900_GAINLLR_NF_8P_2_3 0xfa4c007f
  3184. /*GAINLLR_NF14*/
  3185. #define R0900_GAINLLR_NF14 0xfa4d
  3186. #define F0900_GAINLLR_NF_8P_3_4 0xfa4d007f
  3187. /*GAINLLR_NF15*/
  3188. #define R0900_GAINLLR_NF15 0xfa4e
  3189. #define F0900_GAINLLR_NF_8P_5_6 0xfa4e007f
  3190. /*GAINLLR_NF16*/
  3191. #define R0900_GAINLLR_NF16 0xfa4f
  3192. #define F0900_GAINLLR_NF_8P_8_9 0xfa4f007f
  3193. /*GAINLLR_NF17*/
  3194. #define R0900_GAINLLR_NF17 0xfa50
  3195. #define F0900_GAINLLR_NF_8P_9_10 0xfa50007f
  3196. /*CFGEXT*/
  3197. #define R0900_CFGEXT 0xfa80
  3198. #define F0900_STAGMODE 0xfa800080
  3199. #define F0900_BYPBCH 0xfa800040
  3200. #define F0900_BYPLDPC 0xfa800020
  3201. #define F0900_LDPCMODE 0xfa800010
  3202. #define F0900_INVLLRSIGN 0xfa800008
  3203. #define F0900_SHORTMULT 0xfa800004
  3204. #define F0900_EXTERNTX 0xfa800001
  3205. /*GENCFG*/
  3206. #define R0900_GENCFG 0xfa86
  3207. #define F0900_BROADCAST 0xfa860010
  3208. #define F0900_PRIORITY 0xfa860002
  3209. #define F0900_DDEMOD 0xfa860001
  3210. /*LDPCERR1*/
  3211. #define R0900_LDPCERR1 0xfa96
  3212. #define F0900_LDPC_ERRORS_COUNTER1 0xfa9600ff
  3213. /*LDPCERR0*/
  3214. #define R0900_LDPCERR0 0xfa97
  3215. #define F0900_LDPC_ERRORS_COUNTER0 0xfa9700ff
  3216. /*BCHERR*/
  3217. #define R0900_BCHERR 0xfa98
  3218. #define F0900_ERRORFLAG 0xfa980010
  3219. #define F0900_BCH_ERRORS_COUNTER 0xfa98000f
  3220. /*TSTRES0*/
  3221. #define R0900_TSTRES0 0xff11
  3222. #define F0900_FRESFEC 0xff110080
  3223. /*P2_TCTL4*/
  3224. #define R0900_P2_TCTL4 0xff28
  3225. #define F0900_P2_PN4_SELECT 0xff280020
  3226. /*P1_TCTL4*/
  3227. #define R0900_P1_TCTL4 0xff48
  3228. #define TCTL4 shiftx(R0900_P1_TCTL4, demod, 0x20)
  3229. #define F0900_P1_PN4_SELECT 0xff480020
  3230. /*P2_TSTDISRX*/
  3231. #define R0900_P2_TSTDISRX 0xff65
  3232. #define F0900_P2_PIN_SELECT1 0xff650008
  3233. /*P1_TSTDISRX*/
  3234. #define R0900_P1_TSTDISRX 0xff67
  3235. #define TSTDISRX shiftx(R0900_P1_TSTDISRX, demod, 2)
  3236. #define F0900_P1_PIN_SELECT1 0xff670008
  3237. #define PIN_SELECT1 shiftx(F0900_P1_PIN_SELECT1, demod, 0x20000)
  3238. #define STV0900_NBREGS 723
  3239. #define STV0900_NBFIELDS 1420
  3240. #endif