stv0900_reg.h 105 KB

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