-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstb0899_reg.h
2042 lines (1850 loc) · 71 KB
/
stb0899_reg.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/*
STB0899 Multistandard Frontend driver
Copyright (C) Manu Abraham ([email protected])
Copyright (C) ST Microelectronics
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#ifndef __STB0899_REG_H
#define __STB0899_REG_H
/* S1 */
#define STB0899_DEV_ID 0xf000
#define STB0899_CHIP_ID (0x0f << 4)
#define STB0899_OFFST_CHIP_ID 4
#define STB0899_WIDTH_CHIP_ID 4
#define STB0899_CHIP_REL (0x0f << 0)
#define STB0899_OFFST_CHIP_REL 0
#define STB0899_WIDTH_CHIP_REL 4
#define STB0899_DEMOD 0xf40e
#define STB0899_MODECOEFF (0x01 << 0)
#define STB0899_OFFST_MODECOEFF 0
#define STB0899_WIDTH_MODECOEFF 1
#define STB0899_RCOMPC 0xf410
#define STB0899_AGC1CN 0xf412
#define STB0899_AGC1REF 0xf413
#define STB0899_RTC 0xf417
#define STB0899_TMGCFG 0xf418
#define STB0899_AGC2REF 0xf419
#define STB0899_TLSR 0xf41a
#define STB0899_CFD 0xf41b
#define STB0899_CFD_ON (0x01 << 7)
#define STB0899_OFFST_CFD_ON 7
#define STB0899_WIDTH_CFD_ON 1
#define STB0899_ACLC 0xf41c
#define STB0899_BCLC 0xf41d
#define STB0899_OFFST_ALGO 6
#define STB0899_WIDTH_ALGO_QPSK2 2
#define STB0899_ALGO_QPSK2 (2 << 6)
#define STB0899_ALGO_QPSK1 (1 << 6)
#define STB0899_ALGO_BPSK (0 << 6)
#define STB0899_OFFST_BETA 0
#define STB0899_WIDTH_BETA 6
#define STB0899_EQON 0xf41e
#define STB0899_LDT 0xf41f
#define STB0899_LDT2 0xf420
#define STB0899_EQUALREF 0xf425
#define STB0899_TMGRAMP 0xf426
#define STB0899_TMGTHD 0xf427
#define STB0899_IDCCOMP 0xf428
#define STB0899_QDCCOMP 0xf429
#define STB0899_POWERI 0xf42a
#define STB0899_POWERQ 0xf42b
#define STB0899_RCOMP 0xf42c
#define STB0899_AGCIQIN 0xf42e
#define STB0899_AGCIQVALUE (0xff << 0)
#define STB0899_OFFST_AGCIQVALUE 0
#define STB0899_WIDTH_AGCIQVALUE 8
#define STB0899_AGC2I1 0xf436
#define STB0899_AGC2I2 0xf437
#define STB0899_TLIR 0xf438
#define STB0899_TLIR_TMG_LOCK_IND (0xff << 0)
#define STB0899_OFFST_TLIR_TMG_LOCK_IND 0
#define STB0899_WIDTH_TLIR_TMG_LOCK_IND 8
#define STB0899_RTF 0xf439
#define STB0899_RTF_TIMING_LOOP_FREQ (0xff << 0)
#define STB0899_OFFST_RTF_TIMING_LOOP_FREQ 0
#define STB0899_WIDTH_RTF_TIMING_LOOP_FREQ 8
#define STB0899_DSTATUS 0xf43a
#define STB0899_CARRIER_FOUND (0x01 << 7)
#define STB0899_OFFST_CARRIER_FOUND 7
#define STB0899_WIDTH_CARRIER_FOUND 1
#define STB0899_TMG_LOCK (0x01 << 6)
#define STB0899_OFFST_TMG_LOCK 6
#define STB0899_WIDTH_TMG_LOCK 1
#define STB0899_DEMOD_LOCK (0x01 << 5)
#define STB0899_OFFST_DEMOD_LOCK 5
#define STB0899_WIDTH_DEMOD_LOCK 1
#define STB0899_TMG_AUTO (0x01 << 4)
#define STB0899_OFFST_TMG_AUTO 4
#define STB0899_WIDTH_TMG_AUTO 1
#define STB0899_END_MAIN (0x01 << 3)
#define STB0899_OFFST_END_MAIN 3
#define STB0899_WIDTH_END_MAIN 1
#define STB0899_LDI 0xf43b
#define STB0899_OFFST_LDI 0
#define STB0899_WIDTH_LDI 8
#define STB0899_CFRM 0xf43e
#define STB0899_OFFST_CFRM 0
#define STB0899_WIDTH_CFRM 8
#define STB0899_CFRL 0xf43f
#define STB0899_OFFST_CFRL 0
#define STB0899_WIDTH_CFRL 8
#define STB0899_NIRM 0xf440
#define STB0899_OFFST_NIRM 0
#define STB0899_WIDTH_NIRM 8
#define STB0899_NIRL 0xf441
#define STB0899_OFFST_NIRL 0
#define STB0899_WIDTH_NIRL 8
#define STB0899_ISYMB 0xf444
#define STB0899_QSYMB 0xf445
#define STB0899_SFRH 0xf446
#define STB0899_OFFST_SFRH 0
#define STB0899_WIDTH_SFRH 8
#define STB0899_SFRM 0xf447
#define STB0899_OFFST_SFRM 0
#define STB0899_WIDTH_SFRM 8
#define STB0899_SFRL 0xf448
#define STB0899_OFFST_SFRL 4
#define STB0899_WIDTH_SFRL 4
#define STB0899_SFRUPH 0xf44c
#define STB0899_SFRUPM 0xf44d
#define STB0899_SFRUPL 0xf44e
#define STB0899_EQUAI1 0xf4e0
#define STB0899_EQUAQ1 0xf4e1
#define STB0899_EQUAI2 0xf4e2
#define STB0899_EQUAQ2 0xf4e3
#define STB0899_EQUAI3 0xf4e4
#define STB0899_EQUAQ3 0xf4e5
#define STB0899_EQUAI4 0xf4e6
#define STB0899_EQUAQ4 0xf4e7
#define STB0899_EQUAI5 0xf4e8
#define STB0899_EQUAQ5 0xf4e9
#define STB0899_DSTATUS2 0xf50c
#define STB0899_DS2_TMG_AUTOSRCH (0x01 << 7)
#define STB8999_OFFST_DS2_TMG_AUTOSRCH 7
#define STB0899_WIDTH_DS2_TMG_AUTOSRCH 1
#define STB0899_DS2_END_MAINLOOP (0x01 << 6)
#define STB0899_OFFST_DS2_END_MAINLOOP 6
#define STB0899_WIDTH_DS2_END_MAINLOOP 1
#define STB0899_DS2_CFSYNC (0x01 << 5)
#define STB0899_OFFST_DS2_CFSYNC 5
#define STB0899_WIDTH_DS2_CFSYNC 1
#define STB0899_DS2_TMGLOCK (0x01 << 4)
#define STB0899_OFFST_DS2_TMGLOCK 4
#define STB0899_WIDTH_DS2_TMGLOCK 1
#define STB0899_DS2_DEMODWAIT (0x01 << 3)
#define STB0899_OFFST_DS2_DEMODWAIT 3
#define STB0899_WIDTH_DS2_DEMODWAIT 1
#define STB0899_DS2_FECON (0x01 << 1)
#define STB0899_OFFST_DS2_FECON 1
#define STB0899_WIDTH_DS2_FECON 1
/* S1 FEC */
#define STB0899_VSTATUS 0xf50d
#define STB0899_VSTATUS_VITERBI_ON (0x01 << 7)
#define STB0899_OFFST_VSTATUS_VITERBI_ON 7
#define STB0899_WIDTH_VSTATUS_VITERBI_ON 1
#define STB0899_VSTATUS_END_LOOPVIT (0x01 << 6)
#define STB0899_OFFST_VSTATUS_END_LOOPVIT 6
#define STB0899_WIDTH_VSTATUS_END_LOOPVIT 1
#define STB0899_VSTATUS_PRFVIT (0x01 << 4)
#define STB0899_OFFST_VSTATUS_PRFVIT 4
#define STB0899_WIDTH_VSTATUS_PRFVIT 1
#define STB0899_VSTATUS_LOCKEDVIT (0x01 << 3)
#define STB0899_OFFST_VSTATUS_LOCKEDVIT 3
#define STB0899_WIDTH_VSTATUS_LOCKEDVIT 1
#define STB0899_VERROR 0xf50f
#define STB0899_IQSWAP 0xf523
#define STB0899_SYM (0x01 << 3)
#define STB0899_OFFST_SYM 3
#define STB0899_WIDTH_SYM 1
#define STB0899_FECAUTO1 0xf530
#define STB0899_DSSSRCH (0x01 << 3)
#define STB0899_OFFST_DSSSRCH 3
#define STB0899_WIDTH_DSSSRCH 1
#define STB0899_SYMSRCH (0x01 << 2)
#define STB0899_OFFST_SYMSRCH 2
#define STB0899_WIDTH_SYMSRCH 1
#define STB0899_QPSKSRCH (0x01 << 1)
#define STB0899_OFFST_QPSKSRCH 1
#define STB0899_WIDTH_QPSKSRCH 1
#define STB0899_BPSKSRCH (0x01 << 0)
#define STB0899_OFFST_BPSKSRCH 0
#define STB0899_WIDTH_BPSKSRCH 1
#define STB0899_FECM 0xf533
#define STB0899_FECM_NOT_DVB (0x01 << 7)
#define STB0899_OFFST_FECM_NOT_DVB 7
#define STB0899_WIDTH_FECM_NOT_DVB 1
#define STB0899_FECM_RSVD1 (0x07 << 4)
#define STB0899_OFFST_FECM_RSVD1 4
#define STB0899_WIDTH_FECM_RSVD1 3
#define STB0899_FECM_VITERBI_ON (0x01 << 3)
#define STB0899_OFFST_FECM_VITERBI_ON 3
#define STB0899_WIDTH_FECM_VITERBI_ON 1
#define STB0899_FECM_RSVD0 (0x01 << 2)
#define STB0899_OFFST_FECM_RSVD0 2
#define STB0899_WIDTH_FECM_RSVD0 1
#define STB0899_FECM_SYNCDIS (0x01 << 1)
#define STB0899_OFFST_FECM_SYNCDIS 1
#define STB0899_WIDTH_FECM_SYNCDIS 1
#define STB0899_FECM_SYMI (0x01 << 0)
#define STB0899_OFFST_FECM_SYMI 0
#define STB0899_WIDTH_FECM_SYMI 1
#define STB0899_VTH12 0xf534
#define STB0899_VTH23 0xf535
#define STB0899_VTH34 0xf536
#define STB0899_VTH56 0xf537
#define STB0899_VTH67 0xf538
#define STB0899_VTH78 0xf539
#define STB0899_PRVIT 0xf53c
#define STB0899_PR_7_8 (0x01 << 5)
#define STB0899_OFFST_PR_7_8 5
#define STB0899_WIDTH_PR_7_8 1
#define STB0899_PR_6_7 (0x01 << 4)
#define STB0899_OFFST_PR_6_7 4
#define STB0899_WIDTH_PR_6_7 1
#define STB0899_PR_5_6 (0x01 << 3)
#define STB0899_OFFST_PR_5_6 3
#define STB0899_WIDTH_PR_5_6 1
#define STB0899_PR_3_4 (0x01 << 2)
#define STB0899_OFFST_PR_3_4 2
#define STB0899_WIDTH_PR_3_4 1
#define STB0899_PR_2_3 (0x01 << 1)
#define STB0899_OFFST_PR_2_3 1
#define STB0899_WIDTH_PR_2_3 1
#define STB0899_PR_1_2 (0x01 << 0)
#define STB0899_OFFST_PR_1_2 0
#define STB0899_WIDTH_PR_1_2 1
#define STB0899_VITSYNC 0xf53d
#define STB0899_AM (0x01 << 7)
#define STB0899_OFFST_AM 7
#define STB0899_WIDTH_AM 1
#define STB0899_FREEZE (0x01 << 6)
#define STB0899_OFFST_FREEZE 6
#define STB0899_WIDTH_FREEZE 1
#define STB0899_SN_65536 (0x03 << 4)
#define STB0899_OFFST_SN_65536 4
#define STB0899_WIDTH_SN_65536 2
#define STB0899_SN_16384 (0x01 << 5)
#define STB0899_OFFST_SN_16384 5
#define STB0899_WIDTH_SN_16384 1
#define STB0899_SN_4096 (0x01 << 4)
#define STB0899_OFFST_SN_4096 4
#define STB0899_WIDTH_SN_4096 1
#define STB0899_SN_1024 (0x00 << 4)
#define STB0899_OFFST_SN_1024 4
#define STB0899_WIDTH_SN_1024 0
#define STB0899_TO_128 (0x03 << 2)
#define STB0899_OFFST_TO_128 2
#define STB0899_WIDTH_TO_128 2
#define STB0899_TO_64 (0x01 << 3)
#define STB0899_OFFST_TO_64 3
#define STB0899_WIDTH_TO_64 1
#define STB0899_TO_32 (0x01 << 2)
#define STB0899_OFFST_TO_32 2
#define STB0899_WIDTH_TO_32 1
#define STB0899_TO_16 (0x00 << 2)
#define STB0899_OFFST_TO_16 2
#define STB0899_WIDTH_TO_16 0
#define STB0899_HYST_128 (0x03 << 1)
#define STB0899_OFFST_HYST_128 1
#define STB0899_WIDTH_HYST_128 2
#define STB0899_HYST_64 (0x01 << 1)
#define STB0899_OFFST_HYST_64 1
#define STB0899_WIDTH_HYST_64 1
#define STB0899_HYST_32 (0x01 << 0)
#define STB0899_OFFST_HYST_32 0
#define STB0899_WIDTH_HYST_32 1
#define STB0899_HYST_16 (0x00 << 0)
#define STB0899_OFFST_HYST_16 0
#define STB0899_WIDTH_HYST_16 0
#define STB0899_RSULC 0xf548
#define STB0899_ULDIL_ON (0x01 << 7)
#define STB0899_OFFST_ULDIL_ON 7
#define STB0899_WIDTH_ULDIL_ON 1
#define STB0899_ULAUTO_ON (0x01 << 6)
#define STB0899_OFFST_ULAUTO_ON 6
#define STB0899_WIDTH_ULAUTO_ON 1
#define STB0899_ULRS_ON (0x01 << 5)
#define STB0899_OFFST_ULRS_ON 5
#define STB0899_WIDTH_ULRS_ON 1
#define STB0899_ULDESCRAM_ON (0x01 << 4)
#define STB0899_OFFST_ULDESCRAM_ON 4
#define STB0899_WIDTH_ULDESCRAM_ON 1
#define STB0899_UL_DISABLE (0x01 << 2)
#define STB0899_OFFST_UL_DISABLE 2
#define STB0899_WIDTH_UL_DISABLE 1
#define STB0899_NOFTHRESHOLD (0x01 << 0)
#define STB0899_OFFST_NOFTHRESHOLD 0
#define STB0899_WIDTH_NOFTHRESHOLD 1
#define STB0899_RSLLC 0xf54a
#define STB0899_DEMAPVIT 0xf583
#define STB0899_DEMAPVIT_RSVD (0x01 << 7)
#define STB0899_OFFST_DEMAPVIT_RSVD 7
#define STB0899_WIDTH_DEMAPVIT_RSVD 1
#define STB0899_DEMAPVIT_KDIVIDER (0x7f << 0)
#define STB0899_OFFST_DEMAPVIT_KDIVIDER 0
#define STB0899_WIDTH_DEMAPVIT_KDIVIDER 7
#define STB0899_PLPARM 0xf58c
#define STB0899_VITMAPPING (0x07 << 5)
#define STB0899_OFFST_VITMAPPING 5
#define STB0899_WIDTH_VITMAPPING 3
#define STB0899_VITMAPPING_BPSK (0x01 << 5)
#define STB0899_OFFST_VITMAPPING_BPSK 5
#define STB0899_WIDTH_VITMAPPING_BPSK 1
#define STB0899_VITMAPPING_QPSK (0x00 << 5)
#define STB0899_OFFST_VITMAPPING_QPSK 5
#define STB0899_WIDTH_VITMAPPING_QPSK 0
#define STB0899_VITCURPUN (0x1f << 0)
#define STB0899_OFFST_VITCURPUN 0
#define STB0899_WIDTH_VITCURPUN 5
#define STB0899_VITCURPUN_1_2 (0x0d << 0)
#define STB0899_VITCURPUN_2_3 (0x12 << 0)
#define STB0899_VITCURPUN_3_4 (0x15 << 0)
#define STB0899_VITCURPUN_5_6 (0x18 << 0)
#define STB0899_VITCURPUN_6_7 (0x19 << 0)
#define STB0899_VITCURPUN_7_8 (0x1a << 0)
/* S2 DEMOD */
#define STB0899_OFF0_DMD_STATUS 0xf300
#define STB0899_BASE_DMD_STATUS 0x00000000
#define STB0899_IF_AGC_LOCK (0x01 << 8)
#define STB0899_OFFST_IF_AGC_LOCK 0 // was false 0
#define STB0899_WIDTH_IF_AGC_LOCK 1
#define STB0899_OFF0_CRL_FREQ 0xf304
#define STB0899_BASE_CRL_FREQ 0x00000000
#define STB0899_CARR_FREQ (0x3fffffff << 0)
#define STB0899_OFFST_CARR_FREQ 0
#define STB0899_WIDTH_CARR_FREQ 30
#define STB0899_OFF0_BTR_FREQ 0xf308
#define STB0899_BASE_BTR_FREQ 0x00000000
#define STB0899_BTR_FREQ (0xfffffff << 0)
#define STB0899_OFFST_BTR_FREQ 0
#define STB0899_WIDTH_BTR_FREQ 28
#define STB0899_OFF0_IF_AGC_GAIN 0xf30c
#define STB0899_BASE_IF_AGC_GAIN 0x00000000
#define STB0899_IF_AGC_GAIN (0x3fff < 0)
#define STB0899_OFFST_IF_AGC_GAIN 0
#define STB0899_WIDTH_IF_AGC_GAIN 14
#define STB0899_OFF0_BB_AGC_GAIN 0xf310
#define STB0899_BASE_BB_AGC_GAIN 0x00000000
#define STB0899_BB_AGC_GAIN (0x3fff < 0)
#define STB0899_OFFST_BB_AGC_GAIN 0
#define STB0899_WIDTH_BB_AGC_GAIN 14
#define STB0899_OFF0_DC_OFFSET 0xf314
#define STB0899_BASE_DC_OFFSET 0x00000000
#define STB0899_I (0xff < 8)
#define STB0899_OFFST_I 8
#define STB0899_WIDTH_I 8
#define STB0899_Q (0xff < 0)
#define STB0899_OFFST_Q 8
#define STB0899_WIDTH_Q 8
#define STB0899_OFF0_DMD_CNTRL 0xf31c
#define STB0899_BASE_DMD_CNTRL 0x00000000
#define STB0899_ADC0_PINS1IN (0x01 << 6)
#define STB0899_OFFST_ADC0_PINS1IN 6
#define STB0899_WIDTH_ADC0_PINS1IN 1
#define STB0899_IN2COMP1_OFFBIN0 (0x01 << 3)
#define STB0899_OFFST_IN2COMP1_OFFBIN0 3
#define STB0899_WIDTH_IN2COMP1_OFFBIN0 1
#define STB0899_DC_COMP (0x01 << 2)
#define STB0899_OFFST_DC_COMP 2
#define STB0899_WIDTH_DC_COMP 1
#define STB0899_MODMODE (0x03 << 0)
#define STB0899_OFFST_MODMODE 0
#define STB0899_WIDTH_MODMODE 2
#define STB0899_OFF0_IF_AGC_CNTRL 0xf320
#define STB0899_BASE_IF_AGC_CNTRL 0x00000000
#define STB0899_IF_GAIN_INIT (0x3fff << 13)
#define STB0899_OFFST_IF_GAIN_INIT 13
#define STB0899_WIDTH_IF_GAIN_INIT 14
#define STB0899_IF_GAIN_SENSE (0x01 << 12)
#define STB0899_OFFST_IF_GAIN_SENSE 12
#define STB0899_WIDTH_IF_GAIN_SENSE 1
#define STB0899_IF_LOOP_GAIN (0x0f << 8)
#define STB0899_OFFST_IF_LOOP_GAIN 8
#define STB0899_WIDTH_IF_LOOP_GAIN 4
#define STB0899_IF_LD_GAIN_INIT (0x01 << 7)
#define STB0899_OFFST_IF_LD_GAIN_INIT 7
#define STB0899_WIDTH_IF_LD_GAIN_INIT 1
#define STB0899_IF_AGC_REF (0x7f << 0)
#define STB0899_OFFST_IF_AGC_REF 0
#define STB0899_WIDTH_IF_AGC_REF 7
#define STB0899_OFF0_BB_AGC_CNTRL 0xf324
#define STB0899_BASE_BB_AGC_CNTRL 0x00000000
#define STB0899_BB_GAIN_INIT (0x3fff << 12)
#define STB0899_OFFST_BB_GAIN_INIT 12
#define STB0899_WIDTH_BB_GAIN_INIT 14
#define STB0899_BB_LOOP_GAIN (0x0f << 8)
#define STB0899_OFFST_BB_LOOP_GAIN 8
#define STB0899_WIDTH_BB_LOOP_GAIN 4
#define STB0899_BB_LD_GAIN_INIT (0x01 << 7)
#define STB0899_OFFST_BB_LD_GAIN_INIT 7
#define STB0899_WIDTH_BB_LD_GAIN_INIT 1
#define STB0899_BB_AGC_REF (0x7f << 0)
#define STB0899_OFFST_BB_AGC_REF 0
#define STB0899_WIDTH_BB_AGC_REF 7
#define STB0899_OFF0_CRL_CNTRL 0xf328
#define STB0899_BASE_CRL_CNTRL 0x00000000
#define STB0899_CRL_LOCK_CLEAR (0x01 << 5)
#define STB0899_OFFST_CRL_LOCK_CLEAR 5
#define STB0899_WIDTH_CRL_LOCK_CLEAR 1
#define STB0899_CRL_SWPR_CLEAR (0x01 << 4)
#define STB0899_OFFST_CRL_SWPR_CLEAR 4
#define STB0899_WIDTH_CRL_SWPR_CLEAR 1
#define STB0899_CRL_SWP_ENA (0x01 << 3)
#define STB0899_OFFST_CRL_SWP_ENA 3
#define STB0899_WIDTH_CRL_SWP_ENA 1
#define STB0899_CRL_DET_SEL (0x01 << 2)
#define STB0899_OFFST_CRL_DET_SEL 2
#define STB0899_WIDTH_CRL_DET_SEL 1
#define STB0899_CRL_SENSE (0x01 << 1)
#define STB0899_OFFST_CRL_SENSE 1
#define STB0899_WIDTH_CRL_SENSE 1
#define STB0899_CRL_PHSERR_CLEAR (0x01 << 0)
#define STB0899_OFFST_CRL_PHSERR_CLEAR 0
#define STB0899_WIDTH_CRL_PHSERR_CLEAR 1
#define STB0899_OFF0_CRL_PHS_INIT 0xf32c
#define STB0899_BASE_CRL_PHS_INIT 0x00000000
#define STB0899_CRL_PHS_INIT_31 (0x1 << 30)
#define STB0899_OFFST_CRL_PHS_INIT_31 30
#define STB0899_WIDTH_CRL_PHS_INIT_31 1
#define STB0899_CRL_LD_INIT_PHASE (0x1 << 24)
#define STB0899_OFFST_CRL_LD_INIT_PHASE 24
#define STB0899_WIDTH_CRL_LD_INIT_PHASE 1
#define STB0899_CRL_INIT_PHASE (0xffffff << 0)
#define STB0899_OFFST_CRL_INIT_PHASE 0
#define STB0899_WIDTH_CRL_INIT_PHASE 24
#define STB0899_OFF0_CRL_FREQ_INIT 0xf330
#define STB0899_BASE_CRL_FREQ_INIT 0x00000000
#define STB0899_CRL_FREQ_INIT_31 (0x1 << 30)
#define STB0899_OFFST_CRL_FREQ_INIT_31 30
#define STB0899_WIDTH_CRL_FREQ_INIT_31 1
#define STB0899_CRL_LD_FREQ_INIT (0x1 << 24)
#define STB0899_OFFST_CRL_LD_FREQ_INIT 24
#define STB0899_WIDTH_CRL_LD_FREQ_INIT 1
#define STB0899_CRL_FREQ_INIT (0xffffff << 0)
#define STB0899_OFFST_CRL_FREQ_INIT 0
#define STB0899_WIDTH_CRL_FREQ_INIT 24
#define STB0899_OFF0_CRL_LOOP_GAIN 0xf334
#define STB0899_BASE_CRL_LOOP_GAIN 0x00000000
#define STB0899_KCRL2_RSHFT (0xf << 16)
#define STB0899_OFFST_KCRL2_RSHFT 16
#define STB0899_WIDTH_KCRL2_RSHFT 4
#define STB0899_KCRL1 (0xf << 12)
#define STB0899_OFFST_KCRL1 12
#define STB0899_WIDTH_KCRL1 4
#define STB0899_KCRL1_RSHFT (0xf << 8)
#define STB0899_OFFST_KCRL1_RSHFT 8
#define STB0899_WIDTH_KCRL1_RSHFT 4
#define STB0899_KCRL0 (0xf << 4)
#define STB0899_OFFST_KCRL0 4
#define STB0899_WIDTH_KCRL0 4
#define STB0899_KCRL0_RSHFT (0xf << 0)
#define STB0899_OFFST_KCRL0_RSHFT 0
#define STB0899_WIDTH_KCRL0_RSHFT 4
#define STB0899_OFF0_CRL_NOM_FREQ 0xf338
#define STB0899_BASE_CRL_NOM_FREQ 0x00000000
#define STB0899_CRL_NOM_FREQ (0x3fffffff << 0)
#define STB0899_OFFST_CRL_NOM_FREQ 0
#define STB0899_WIDTH_CRL_NOM_FREQ 30
#define STB0899_OFF0_CRL_SWP_RATE 0xf33c
#define STB0899_BASE_CRL_SWP_RATE 0x00000000
#define STB0899_CRL_SWP_RATE (0x3fffffff << 0)
#define STB0899_OFFST_CRL_SWP_RATE 0
#define STB0899_WIDTH_CRL_SWP_RATE 30
#define STB0899_OFF0_CRL_MAX_SWP 0xf340
#define STB0899_BASE_CRL_MAX_SWP 0x00000000
#define STB0899_CRL_MAX_SWP (0x3fffffff << 0)
#define STB0899_OFFST_CRL_MAX_SWP 0
#define STB0899_WIDTH_CRL_MAX_SWP 30
#define STB0899_OFF0_CRL_LK_CNTRL 0xf344
#define STB0899_BASE_CRL_LK_CNTRL 0x00000000
#define STB0899_OFF0_DECIM_CNTRL 0xf348
#define STB0899_BASE_DECIM_CNTRL 0x00000000
#define STB0899_BAND_LIMIT_B (0x01 << 5)
#define STB0899_OFFST_BAND_LIMIT_B 5
#define STB0899_WIDTH_BAND_LIMIT_B 1
#define STB0899_WIN_SEL (0x03 << 3)
#define STB0899_OFFST_WIN_SEL 3
#define STB0899_WIDTH_WIN_SEL 2
#define STB0899_DECIM_RATE (0x07 << 0)
#define STB0899_OFFST_DECIM_RATE 0
#define STB0899_WIDTH_DECIM_RATE 3
#define STB0899_OFF0_BTR_CNTRL 0xf34c
#define STB0899_BASE_BTR_CNTRL 0x00000000
#define STB0899_BTR_FREQ_CORR (0x7ff << 4)
#define STB0899_OFFST_BTR_FREQ_CORR 4
#define STB0899_WIDTH_BTR_FREQ_CORR 11
#define STB0899_BTR_CLR_LOCK (0x01 << 3)
#define STB0899_OFFST_BTR_CLR_LOCK 3
#define STB0899_WIDTH_BTR_CLR_LOCK 1
#define STB0899_BTR_SENSE (0x01 << 2)
#define STB0899_OFFST_BTR_SENSE 2
#define STB0899_WIDTH_BTR_SENSE 1
#define STB0899_BTR_ERR_ENA (0x01 << 1)
#define STB0899_OFFST_BTR_ERR_ENA 1
#define STB0899_WIDTH_BTR_ERR_ENA 1
#define STB0899_INTRP_PHS_SENSE (0x01 << 0)
#define STB0899_OFFST_INTRP_PHS_SENSE 0
#define STB0899_WIDTH_INTRP_PHS_SENSE 1
#define STB0899_OFF0_BTR_LOOP_GAIN 0xf350
#define STB0899_BASE_BTR_LOOP_GAIN 0x00000000
#define STB0899_KBTR2_RSHFT (0x0f << 16)
#define STB0899_OFFST_KBTR2_RSHFT 16
#define STB0899_WIDTH_KBTR2_RSHFT 4
#define STB0899_KBTR1 (0x0f << 12)
#define STB0899_OFFST_KBTR1 12
#define STB0899_WIDTH_KBTR1 4
#define STB0899_KBTR1_RSHFT (0x0f << 8)
#define STB0899_OFFST_KBTR1_RSHFT 8
#define STB0899_WIDTH_KBTR1_RSHFT 4
#define STB0899_KBTR0 (0x0f << 4)
#define STB0899_OFFST_KBTR0 4
#define STB0899_WIDTH_KBTR0 4
#define STB0899_KBTR0_RSHFT (0x0f << 0)
#define STB0899_OFFST_KBTR0_RSHFT 0
#define STB0899_WIDTH_KBTR0_RSHFT 4
#define STB0899_OFF0_BTR_PHS_INIT 0xf354
#define STB0899_BASE_BTR_PHS_INIT 0x00000000
#define STB0899_BTR_LD_PHASE_INIT (0x01 << 28)
#define STB0899_OFFST_BTR_LD_PHASE_INIT 28
#define STB0899_WIDTH_BTR_LD_PHASE_INIT 1
#define STB0899_BTR_INIT_PHASE (0xfffffff << 0)
#define STB0899_OFFST_BTR_INIT_PHASE 0
#define STB0899_WIDTH_BTR_INIT_PHASE 28
#define STB0899_OFF0_BTR_FREQ_INIT 0xf358
#define STB0899_BASE_BTR_FREQ_INIT 0x00000000
#define STB0899_BTR_LD_FREQ_INIT (1 << 28)
#define STB0899_OFFST_BTR_LD_FREQ_INIT 28
#define STB0899_WIDTH_BTR_LD_FREQ_INIT 1
#define STB0899_BTR_FREQ_INIT (0xfffffff << 0)
#define STB0899_OFFST_BTR_FREQ_INIT 0
#define STB0899_WIDTH_BTR_FREQ_INIT 28
#define STB0899_OFF0_BTR_NOM_FREQ 0xf35c
#define STB0899_BASE_BTR_NOM_FREQ 0x00000000
#define STB0899_BTR_NOM_FREQ (0xfffffff << 0)
#define STB0899_OFFST_BTR_NOM_FREQ 0
#define STB0899_WIDTH_BTR_NOM_FREQ 28
#define STB0899_OFF0_BTR_LK_CNTRL 0xf360
#define STB0899_BASE_BTR_LK_CNTRL 0x00000000
#define STB0899_BTR_MIN_ENERGY (0x0f << 24)
#define STB0899_OFFST_BTR_MIN_ENERGY 24
#define STB0899_WIDTH_BTR_MIN_ENERGY 4
#define STB0899_BTR_LOCK_TH_LO (0xff << 16)
#define STB0899_OFFST_BTR_LOCK_TH_LO 16
#define STB0899_WIDTH_BTR_LOCK_TH_LO 8
#define STB0899_BTR_LOCK_TH_HI (0xff << 8)
#define STB0899_OFFST_BTR_LOCK_TH_HI 8
#define STB0899_WIDTH_BTR_LOCK_TH_HI 8
#define STB0899_BTR_LOCK_GAIN (0x03 << 6)
#define STB0899_OFFST_BTR_LOCK_GAIN 6
#define STB0899_WIDTH_BTR_LOCK_GAIN 2
#define STB0899_BTR_LOCK_LEAK (0x3f << 0)
#define STB0899_OFFST_BTR_LOCK_LEAK 0
#define STB0899_WIDTH_BTR_LOCK_LEAK 6
#define STB0899_OFF0_DECN_CNTRL 0xf364
#define STB0899_BASE_DECN_CNTRL 0x00000000
#define STB0899_OFF0_TP_CNTRL 0xf368 // Sampled constellation display with TP_BUFFER, see pdf
#define STB0899_BASE_TP_CNTRL 0x00000000
#define STB0899_TP_MSB1LSB0_SEL (0x1 << 15)
#define STB0899_OFFST_TP_MSB1LSB0_SEL 15
#define STB0899_WIDTH_TP_MSB1LSB0_SEL 1
#define STB0899_CAPTURE (0x1 << 14)
#define STB0899_OFFST_CAPTURE 14
#define STB0899_WIDTH_CAPTURE 1
#define STB0899_TP_BLK_SEL (0x1f << 9)
#define STB0899_OFFST_TP_BLK_SEL 9
#define STB0899_WIDTH_TP_BLK_SEL 5
#define STB0899_TP_SIG_SEL (0x1f << 4)
#define STB0899_OFFST_TP_SIG_SEL 4
#define STB0899_WIDTH_TP_SIG_SEL 5
#define STB0899_TP_SEL (0xf << 0)
#define STB0899_OFFST_TP_SEL 0
#define STB0899_WIDTH_TP_SEL 4
#define STB0899_OFF0_TP_BUF_STATUS 0xf36c
#define STB0899_BASE_TP_BUF_STATUS 0x00000000
#define STB0899_TP_BUFFER_FULL (1 << 0)
#define STB0899_OFF0_DC_ESTIM 0xf37c
#define STB0899_BASE_DC_ESTIM 0x0000
#define STB0899_I_DC_ESTIMATE (0xff << 8)
#define STB0899_OFFST_I_DC_ESTIMATE 8
#define STB0899_WIDTH_I_DC_ESTIMATE 8
#define STB0899_Q_DC_ESTIMATE (0xff << 0)
#define STB0899_OFFST_Q_DC_ESTIMATE 0
#define STB0899_WIDTH_Q_DC_ESTIMATE 8
#define STB0899_OFF0_FLL_CNTRL 0xf310
#define STB0899_BASE_FLL_CNTRL 0x00000020
#define STB0899_CRL_FLL_ACC (0x01 << 4)
#define STB0899_OFFST_CRL_FLL_ACC 4
#define STB0899_WIDTH_CRL_FLL_ACC 1
#define STB0899_FLL_AVG_PERIOD (0x0f << 0)
#define STB0899_OFFST_FLL_AVG_PERIOD 0
#define STB0899_WIDTH_FLL_AVG_PERIOD 4
#define STB0899_OFF0_FLL_FREQ_WD 0xf314
#define STB0899_BASE_FLL_FREQ_WD 0x00000020
#define STB0899_FLL_FREQ_WD (0xffffffff << 0)
#define STB0899_OFFST_FLL_FREQ_WD 0
#define STB0899_WIDTH_FLL_FREQ_WD 32
#define STB0899_OFF0_ANTI_ALIAS_SEL 0xf358
#define STB0899_BASE_ANTI_ALIAS_SEL 0x00000020
#define STB0899_ANTI_ALIAS_SELB (0x03 << 0)
#define STB0899_OFFST_ANTI_ALIAS_SELB 0
#define STB0899_WIDTH_ANTI_ALIAS_SELB 2
#define STB0899_OFF0_RRC_ALPHA 0xf35c
#define STB0899_BASE_RRC_ALPHA 0x00000020
#define STB0899_RRC_ALPHA (0x03 << 0)
#define STB0899_OFFST_RRC_ALPHA 0
#define STB0899_WIDTH_RRC_ALPHA 2
#define STB0899_OFF0_DC_ADAPT_LSHFT 0xf360
#define STB0899_BASE_DC_ADAPT_LSHFT 0x00000020
#define STB0899_DC_ADAPT_LSHFT (0x077 << 0)
#define STB0899_OFFST_DC_ADAPT_LSHFT 0
#define STB0899_WIDTH_DC_ADAPT_LSHFT 3
#define STB0899_OFF0_IMB_OFFSET 0xf364
#define STB0899_BASE_IMB_OFFSET 0x00000020
#define STB0899_PHS_IMB_COMP (0xff << 8)
#define STB0899_OFFST_PHS_IMB_COMP 8
#define STB0899_WIDTH_PHS_IMB_COMP 8
#define STB0899_AMPL_IMB_COMP (0xff << 0)
#define STB0899_OFFST_AMPL_IMB_COMP 0
#define STB0899_WIDTH_AMPL_IMB_COMP 8
#define STB0899_OFF0_IMB_ESTIMATE 0xf368
#define STB0899_BASE_IMB_ESTIMATE 0x00000020
#define STB0899_PHS_IMB_ESTIMATE (0xff << 8)
#define STB0899_OFFST_PHS_IMB_ESTIMATE 8
#define STB0899_WIDTH_PHS_IMB_ESTIMATE 8
#define STB0899_AMPL_IMB_ESTIMATE (0xff << 0)
#define STB0899_OFFST_AMPL_IMB_ESTIMATE 0
#define STB0899_WIDTH_AMPL_IMB_ESTIMATE 8
#define STB0899_OFF0_IMB_CNTRL 0xf36c
#define STB0899_BASE_IMB_CNTRL 0x00000020
#define STB0899_PHS_ADAPT_LSHFT (0x07 << 4)
#define STB0899_OFFST_PHS_ADAPT_LSHFT 4
#define STB0899_WIDTH_PHS_ADAPT_LSHFT 3
#define STB0899_AMPL_ADAPT_LSHFT (0x07 << 1)
#define STB0899_OFFST_AMPL_ADAPT_LSHFT 1
#define STB0899_WIDTH_AMPL_ADAPT_LSHFT 3
#define STB0899_IMB_COMP (0x01 << 0)
#define STB0899_OFFST_IMB_COMP 0
#define STB0899_WIDTH_IMB_COMP 1
#define STB0899_OFF0_IF_AGC_CNTRL2 0xf374
#define STB0899_BASE_IF_AGC_CNTRL2 0x00000020
#define STB0899_IF_AGC_LOCK_TH (0xff << 11)
#define STB0899_OFFST_IF_AGC_LOCK_TH 11
#define STB0899_WIDTH_IF_AGC_LOCK_TH 8
#define STB0899_IF_AGC_SD_DIV (0xff << 3)
#define STB0899_OFFST_IF_AGC_SD_DIV 3
#define STB0899_WIDTH_IF_AGC_SD_DIV 8
#define STB0899_IF_AGC_DUMP_PER (0x07 << 0)
#define STB0899_OFFST_IF_AGC_DUMP_PER 0
#define STB0899_WIDTH_IF_AGC_DUMP_PER 3
#define STB0899_OFF0_DMD_CNTRL2 0xf378
#define STB0899_BASE_DMD_CNTRL2 0x00000020
#define STB0899_SPECTRUM_INVERT (0x01 << 2)
#define STB0899_OFFST_SPECTRUM_INVERT 2
#define STB0899_WIDTH_SPECTRUM_INVERT 1
#define STB0899_AGC_MODE (0x01 << 1)
#define STB0899_OFFST_AGC_MODE 1
#define STB0899_WIDTH_AGC_MODE 1
#define STB0899_CRL_FREQ_ADJ (0x01 << 0)
#define STB0899_OFFST_CRL_FREQ_ADJ 0
#define STB0899_WIDTH_CRL_FREQ_ADJ 1
#define STB0899_OFF0_TP_BUFFER 0xf300 // see TP_CNTRL
#define STB0899_BASE_TP_BUFFER 0x00000040
#define STB0899_TP_BUFFER_IN (0xffff << 0)
#define STB0899_OFFST_TP_BUFFER_IN 0
#define STB0899_WIDTH_TP_BUFFER_IN 16
#define STB0899_OFF0_TP_BUFFER1 0xf304
#define STB0899_BASE_TP_BUFFER1 0x00000040
#define STB0899_OFF0_TP_BUFFER2 0xf308
#define STB0899_BASE_TP_BUFFER2 0x00000040
#define STB0899_OFF0_TP_BUFFER3 0xf30c
#define STB0899_BASE_TP_BUFFER3 0x00000040
#define STB0899_OFF0_TP_BUFFER4 0xf310
#define STB0899_BASE_TP_BUFFER4 0x00000040
#define STB0899_OFF0_TP_BUFFER5 0xf314
#define STB0899_BASE_TP_BUFFER5 0x00000040
#define STB0899_OFF0_TP_BUFFER6 0xf318
#define STB0899_BASE_TP_BUFFER6 0x00000040
#define STB0899_OFF0_TP_BUFFER7 0xf31c
#define STB0899_BASE_TP_BUFFER7 0x00000040
#define STB0899_OFF0_TP_BUFFER8 0xf320
#define STB0899_BASE_TP_BUFFER8 0x00000040
#define STB0899_OFF0_TP_BUFFER9 0xf324
#define STB0899_BASE_TP_BUFFER9 0x00000040
#define STB0899_OFF0_TP_BUFFER10 0xf328
#define STB0899_BASE_TP_BUFFER10 0x00000040
#define STB0899_OFF0_TP_BUFFER11 0xf32c
#define STB0899_BASE_TP_BUFFER11 0x00000040
#define STB0899_OFF0_TP_BUFFER12 0xf330
#define STB0899_BASE_TP_BUFFER12 0x00000040
#define STB0899_OFF0_TP_BUFFER13 0xf334
#define STB0899_BASE_TP_BUFFER13 0x00000040
#define STB0899_OFF0_TP_BUFFER14 0xf338
#define STB0899_BASE_TP_BUFFER14 0x00000040
#define STB0899_OFF0_TP_BUFFER15 0xf33c
#define STB0899_BASE_TP_BUFFER15 0x00000040
#define STB0899_OFF0_TP_BUFFER16 0xf340
#define STB0899_BASE_TP_BUFFER16 0x00000040
#define STB0899_OFF0_TP_BUFFER17 0xf344
#define STB0899_BASE_TP_BUFFER17 0x00000040
#define STB0899_OFF0_TP_BUFFER18 0xf348
#define STB0899_BASE_TP_BUFFER18 0x00000040
#define STB0899_OFF0_TP_BUFFER19 0xf34c
#define STB0899_BASE_TP_BUFFER19 0x00000040
#define STB0899_OFF0_TP_BUFFER20 0xf350
#define STB0899_BASE_TP_BUFFER20 0x00000040
#define STB0899_OFF0_TP_BUFFER21 0xf354
#define STB0899_BASE_TP_BUFFER21 0x00000040
#define STB0899_OFF0_TP_BUFFER22 0xf358
#define STB0899_BASE_TP_BUFFER22 0x00000040
#define STB0899_OFF0_TP_BUFFER23 0xf35c
#define STB0899_BASE_TP_BUFFER23 0x00000040
#define STB0899_OFF0_TP_BUFFER24 0xf360
#define STB0899_BASE_TP_BUFFER24 0x00000040
#define STB0899_OFF0_TP_BUFFER25 0xf364
#define STB0899_BASE_TP_BUFFER25 0x00000040
#define STB0899_OFF0_TP_BUFFER26 0xf368
#define STB0899_BASE_TP_BUFFER26 0x00000040
#define STB0899_OFF0_TP_BUFFER27 0xf36c
#define STB0899_BASE_TP_BUFFER27 0x00000040
#define STB0899_OFF0_TP_BUFFER28 0xf370
#define STB0899_BASE_TP_BUFFER28 0x00000040
#define STB0899_OFF0_TP_BUFFER29 0xf374
#define STB0899_BASE_TP_BUFFER29 0x00000040
#define STB0899_OFF0_TP_BUFFER30 0xf378
#define STB0899_BASE_TP_BUFFER30 0x00000040
#define STB0899_OFF0_TP_BUFFER31 0xf37c
#define STB0899_BASE_TP_BUFFER31 0x00000040
#define STB0899_OFF0_TP_BUFFER32 0xf300
#define STB0899_BASE_TP_BUFFER32 0x00000060
#define STB0899_OFF0_TP_BUFFER33 0xf304
#define STB0899_BASE_TP_BUFFER33 0x00000060
#define STB0899_OFF0_TP_BUFFER34 0xf308
#define STB0899_BASE_TP_BUFFER34 0x00000060
#define STB0899_OFF0_TP_BUFFER35 0xf30c
#define STB0899_BASE_TP_BUFFER35 0x00000060
#define STB0899_OFF0_TP_BUFFER36 0xf310
#define STB0899_BASE_TP_BUFFER36 0x00000060
#define STB0899_OFF0_TP_BUFFER37 0xf314
#define STB0899_BASE_TP_BUFFER37 0x00000060
#define STB0899_OFF0_TP_BUFFER38 0xf318
#define STB0899_BASE_TP_BUFFER38 0x00000060
#define STB0899_OFF0_TP_BUFFER39 0xf31c
#define STB0899_BASE_TP_BUFFER39 0x00000060
#define STB0899_OFF0_TP_BUFFER40 0xf320
#define STB0899_BASE_TP_BUFFER40 0x00000060
#define STB0899_OFF0_TP_BUFFER41 0xf324
#define STB0899_BASE_TP_BUFFER41 0x00000060
#define STB0899_OFF0_TP_BUFFER42 0xf328
#define STB0899_BASE_TP_BUFFER42 0x00000060
#define STB0899_OFF0_TP_BUFFER43 0xf32c
#define STB0899_BASE_TP_BUFFER43 0x00000060
#define STB0899_OFF0_TP_BUFFER44 0xf330
#define STB0899_BASE_TP_BUFFER44 0x00000060
#define STB0899_OFF0_TP_BUFFER45 0xf334
#define STB0899_BASE_TP_BUFFER45 0x00000060
#define STB0899_OFF0_TP_BUFFER46 0xf338
#define STB0899_BASE_TP_BUFFER46 0x00000060
#define STB0899_OFF0_TP_BUFFER47 0xf33c
#define STB0899_BASE_TP_BUFFER47 0x00000060
#define STB0899_OFF0_TP_BUFFER48 0xf340
#define STB0899_BASE_TP_BUFFER48 0x00000060
#define STB0899_OFF0_TP_BUFFER49 0xf344
#define STB0899_BASE_TP_BUFFER49 0x00000060
#define STB0899_OFF0_TP_BUFFER50 0xf348
#define STB0899_BASE_TP_BUFFER50 0x00000060
#define STB0899_OFF0_TP_BUFFER51 0xf34c
#define STB0899_BASE_TP_BUFFER51 0x00000060
#define STB0899_OFF0_TP_BUFFER52 0xf350
#define STB0899_BASE_TP_BUFFER52 0x00000060
#define STB0899_OFF0_TP_BUFFER53 0xf354
#define STB0899_BASE_TP_BUFFER53 0x00000060
#define STB0899_OFF0_TP_BUFFER54 0xf358
#define STB0899_BASE_TP_BUFFER54 0x00000060
#define STB0899_OFF0_TP_BUFFER55 0xf35c
#define STB0899_BASE_TP_BUFFER55 0x00000060
#define STB0899_OFF0_TP_BUFFER56 0xf360
#define STB0899_BASE_TP_BUFFER56 0x00000060
#define STB0899_OFF0_TP_BUFFER57 0xf364
#define STB0899_BASE_TP_BUFFER57 0x00000060
#define STB0899_OFF0_TP_BUFFER58 0xf368
#define STB0899_BASE_TP_BUFFER58 0x00000060
#define STB0899_OFF0_TP_BUFFER59 0xf36c
#define STB0899_BASE_TP_BUFFER59 0x00000060
#define STB0899_OFF0_TP_BUFFER60 0xf370
#define STB0899_BASE_TP_BUFFER60 0x00000060
#define STB0899_OFF0_TP_BUFFER61 0xf374
#define STB0899_BASE_TP_BUFFER61 0x00000060
#define STB0899_OFF0_TP_BUFFER62 0xf378
#define STB0899_BASE_TP_BUFFER62 0x00000060
#define STB0899_OFF0_TP_BUFFER63 0xf37c
#define STB0899_BASE_TP_BUFFER63 0x00000060
#define STB0899_OFF0_RESET_CNTRL 0xf300
#define STB0899_BASE_RESET_CNTRL 0x00000400
#define STB0899_DVBS2_RESET (0x01 << 0)
#define STB0899_OFFST_DVBS2_RESET 0
#define STB0899_WIDTH_DVBS2_RESET 1
#define STB0899_OFF0_ACM_ENABLE 0xf304
#define STB0899_BASE_ACM_ENABLE 0x00000400
#define STB0899_ACM_ENABLE 1
#define STB0899_OFF0_DESCR_CNTRL 0xf30c
#define STB0899_BASE_DESCR_CNTRL 0x00000400
#define STB0899_OFFST_DESCR_CNTRL 0
#define STB0899_WIDTH_DESCR_CNTRL 16
#define STB0899_OFF0_UWP_CNTRL1 0xf320
#define STB0899_BASE_UWP_CNTRL1 0x00000400
#define STB0899_UWP_TH_SOF (0x7fff << 11)
#define STB0899_OFFST_UWP_TH_SOF 11
#define STB0899_WIDTH_UWP_TH_SOF 15
#define STB0899_UWP_ESN0_QUANT (0xff << 3)
#define STB0899_OFFST_UWP_ESN0_QUANT 3
#define STB0899_WIDTH_UWP_ESN0_QUANT 8
#define STB0899_UWP_ESN0_AVE (0x03 << 1)
#define STB0899_OFFST_UWP_ESN0_AVE 1
#define STB0899_WIDTH_UWP_ESN0_AVE 2
#define STB0899_UWP_START (0x01 << 0)
#define STB0899_OFFST_UWP_START 0
#define STB0899_WIDTH_UWP_START 1
#define STB0899_OFF0_UWP_CNTRL2 0xf324
#define STB0899_BASE_UWP_CNTRL2 0x00000400
#define STB0899_UWP_MISS_TH (0xff << 16)
#define STB0899_OFFST_UWP_MISS_TH 16
#define STB0899_WIDTH_UWP_MISS_TH 8
#define STB0899_FE_FINE_TRK (0xff << 8)
#define STB0899_OFFST_FE_FINE_TRK 8
#define STB0899_WIDTH_FE_FINE_TRK 8
#define STB0899_FE_COARSE_TRK (0xff << 0)
#define STB0899_OFFST_FE_COARSE_TRK 0
#define STB0899_WIDTH_FE_COARSE_TRK 8
#define STB0899_OFF0_UWP_STAT1 0xf328
#define STB0899_BASE_UWP_STAT1 0x00000400
#define STB0899_UWP_STATE (0x03ff << 15)
#define STB0899_OFFST_UWP_STATE 15
#define STB0899_WIDTH_UWP_STATE 10
#define STB0899_UW_MAX_PEAK (0x7fff << 0)
#define STB0899_OFFST_UW_MAX_PEAK 0
#define STB0899_WIDTH_UW_MAX_PEAK 15
#define STB0899_OFF0_UWP_STAT2 0xf32c
#define STB0899_BASE_UWP_STAT2 0x00000400
#define STB0899_ESNO_EST (0x07ffff << 7)
#define STB0899_OFFST_ESN0_EST 7
#define STB0899_WIDTH_ESN0_EST 19
#define STB0899_UWP_DECODE_MOD (0x7f << 0)
#define STB0899_OFFST_UWP_DECODE_MOD 0
#define STB0899_WIDTH_UWP_DECODE_MOD 7
#define STB0899_OFF0_DMD_CORE_ID 0xf334
#define STB0899_BASE_DMD_CORE_ID 0x00000400
#define STB0899_CORE_ID (0xffffffff << 0)
#define STB0899_OFFST_CORE_ID 0
#define STB0899_WIDTH_CORE_ID 32
#define STB0899_OFF0_DMD_VERSION_ID 0xf33c
#define STB0899_BASE_DMD_VERSION_ID 0x00000400
#define STB0899_VERSION_ID (0xff << 0)
#define STB0899_OFFST_VERSION_ID 0
#define STB0899_WIDTH_VERSION_ID 8
#define STB0899_OFF0_DMD_STAT2 0xf340
#define STB0899_BASE_DMD_STAT2 0x00000400
#define STB0899_CSM_LOCK (0x01 << 1)
#define STB0899_OFFST_CSM_LOCK 1
#define STB0899_WIDTH_CSM_LOCK 1
#define STB0899_UWP_LOCK (0x01 << 0)
#define STB0899_OFFST_UWP_LOCK 0
#define STB0899_WIDTH_UWP_LOCK 1
#define STB0899_OFF0_FREQ_ADJ_SCALE 0xf344
#define STB0899_BASE_FREQ_ADJ_SCALE 0x00000400
#define STB0899_FREQ_ADJ_SCALE (0x0fff << 0)
#define STB0899_OFFST_FREQ_ADJ_SCALE 0
#define STB0899_WIDTH_FREQ_ADJ_SCALE 12
#define STB0899_OFF0_UWP_CNTRL3 0xf34c
#define STB0899_BASE_UWP_CNTRL3 0x00000400
#define STB0899_UWP_TH_TRACK (0x7fff << 15)
#define STB0899_OFFST_UWP_TH_TRACK 15
#define STB0899_WIDTH_UWP_TH_TRACK 15
#define STB0899_UWP_TH_ACQ (0x7fff << 0)
#define STB0899_OFFST_UWP_TH_ACQ 0
#define STB0899_WIDTH_UWP_TH_ACQ 15
#define STB0899_OFF0_SYM_CLK_SEL 0xf350
#define STB0899_BASE_SYM_CLK_SEL 0x00000400
#define STB0899_SYM_CLK_SEL (0x03 << 0)
#define STB0899_OFFST_SYM_CLK_SEL 0
#define STB0899_WIDTH_SYM_CLK_SEL 2
#define STB0899_OFF0_SOF_SRCH_TO 0xf354
#define STB0899_BASE_SOF_SRCH_TO 0x00000400
#define STB0899_SOF_SEARCH_TIMEOUT (0x3fffff << 0)
#define STB0899_OFFST_SOF_SEARCH_TIMEOUT 0
#define STB0899_WIDTH_SOF_SEARCH_TIMEOUT 22
#define STB0899_OFF0_ACQ_CNTRL1 0xf358
#define STB0899_BASE_ACQ_CNTRL1 0x00000400
#define STB0899_FE_FINE_ACQ (0xff << 8)
#define STB0899_OFFST_FE_FINE_ACQ 8
#define STB0899_WIDTH_FE_FINE_ACQ 8
#define STB0899_FE_COARSE_ACQ (0xff << 0)
#define STB0899_OFFST_FE_COARSE_ACQ 0
#define STB0899_WIDTH_FE_COARSE_ACQ 8
#define STB0899_OFF0_ACQ_CNTRL2 0xf35c
#define STB0899_BASE_ACQ_CNTRL2 0x00000400
#define STB0899_ZIGZAG (0x01 << 25)
#define STB0899_OFFST_ZIGZAG 25
#define STB0899_WIDTH_ZIGZAG 1
#define STB0899_NUM_STEPS (0xff << 17)
#define STB0899_OFFST_NUM_STEPS 17
#define STB0899_WIDTH_NUM_STEPS 8
#define STB0899_FREQ_STEPSIZE (0x1ffff << 0)
#define STB0899_OFFST_FREQ_STEPSIZE 0
#define STB0899_WIDTH_FREQ_STEPSIZE 17