linux/drivers/media/dvb-frontends/stb0899_reg.h

/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
	STB0899 Multistandard Frontend driver
	Copyright (C) Manu Abraham ([email protected])

	Copyright (C) ST Microelectronics

*/

#ifndef __STB0899_REG_H
#define __STB0899_REG_H

/*	S1	*/
#define STB0899_DEV_ID
#define STB0899_CHIP_ID
#define STB0899_OFFST_CHIP_ID
#define STB0899_WIDTH_CHIP_ID
#define STB0899_CHIP_REL
#define STB0899_OFFST_CHIP_REL
#define STB0899_WIDTH_CHIP_REL

#define STB0899_DEMOD
#define STB0899_MODECOEFF
#define STB0899_OFFST_MODECOEFF
#define STB0899_WIDTH_MODECOEFF

#define STB0899_RCOMPC
#define STB0899_AGC1CN
#define STB0899_AGC1REF
#define STB0899_RTC
#define STB0899_TMGCFG
#define STB0899_AGC2REF
#define STB0899_TLSR

#define STB0899_CFD
#define STB0899_CFD_ON
#define STB0899_OFFST_CFD_ON
#define STB0899_WIDTH_CFD_ON

#define STB0899_ACLC

#define STB0899_BCLC
#define STB0899_OFFST_ALGO
#define STB0899_WIDTH_ALGO_QPSK2
#define STB0899_ALGO_QPSK2
#define STB0899_ALGO_QPSK1
#define STB0899_ALGO_BPSK
#define STB0899_OFFST_BETA
#define STB0899_WIDTH_BETA

#define STB0899_EQON
#define STB0899_LDT
#define STB0899_LDT2
#define STB0899_EQUALREF
#define STB0899_TMGRAMP
#define STB0899_TMGTHD
#define STB0899_IDCCOMP
#define STB0899_QDCCOMP
#define STB0899_POWERI
#define STB0899_POWERQ
#define STB0899_RCOMP

#define STB0899_AGCIQIN
#define STB0899_AGCIQVALUE
#define STB0899_OFFST_AGCIQVALUE
#define STB0899_WIDTH_AGCIQVALUE

#define STB0899_AGC2I1
#define STB0899_AGC2I2

#define STB0899_TLIR
#define STB0899_TLIR_TMG_LOCK_IND
#define STB0899_OFFST_TLIR_TMG_LOCK_IND
#define STB0899_WIDTH_TLIR_TMG_LOCK_IND

#define STB0899_RTF
#define STB0899_RTF_TIMING_LOOP_FREQ
#define STB0899_OFFST_RTF_TIMING_LOOP_FREQ
#define STB0899_WIDTH_RTF_TIMING_LOOP_FREQ

#define STB0899_DSTATUS
#define STB0899_CARRIER_FOUND
#define STB0899_OFFST_CARRIER_FOUND
#define STB0899_WIDTH_CARRIER_FOUND
#define STB0899_TMG_LOCK
#define STB0899_OFFST_TMG_LOCK
#define STB0899_WIDTH_TMG_LOCK
#define STB0899_DEMOD_LOCK
#define STB0899_OFFST_DEMOD_LOCK
#define STB0899_WIDTH_DEMOD_LOCK
#define STB0899_TMG_AUTO
#define STB0899_OFFST_TMG_AUTO
#define STB0899_WIDTH_TMG_AUTO
#define STB0899_END_MAIN
#define STB0899_OFFST_END_MAIN
#define STB0899_WIDTH_END_MAIN

#define STB0899_LDI
#define STB0899_OFFST_LDI
#define STB0899_WIDTH_LDI

#define STB0899_CFRM
#define STB0899_OFFST_CFRM
#define STB0899_WIDTH_CFRM

#define STB0899_CFRL
#define STB0899_OFFST_CFRL
#define STB0899_WIDTH_CFRL

#define STB0899_NIRM
#define STB0899_OFFST_NIRM
#define STB0899_WIDTH_NIRM

#define STB0899_NIRL
#define STB0899_OFFST_NIRL
#define STB0899_WIDTH_NIRL

#define STB0899_ISYMB
#define STB0899_QSYMB

#define STB0899_SFRH
#define STB0899_OFFST_SFRH
#define STB0899_WIDTH_SFRH

#define STB0899_SFRM
#define STB0899_OFFST_SFRM
#define STB0899_WIDTH_SFRM

#define STB0899_SFRL
#define STB0899_OFFST_SFRL
#define STB0899_WIDTH_SFRL

#define STB0899_SFRUPH
#define STB0899_SFRUPM
#define STB0899_SFRUPL

#define STB0899_EQUAI1
#define STB0899_EQUAQ1
#define STB0899_EQUAI2
#define STB0899_EQUAQ2
#define STB0899_EQUAI3
#define STB0899_EQUAQ3
#define STB0899_EQUAI4
#define STB0899_EQUAQ4
#define STB0899_EQUAI5
#define STB0899_EQUAQ5

#define STB0899_DSTATUS2
#define STB0899_DS2_TMG_AUTOSRCH
#define STB8999_OFFST_DS2_TMG_AUTOSRCH
#define STB0899_WIDTH_DS2_TMG_AUTOSRCH
#define STB0899_DS2_END_MAINLOOP
#define STB0899_OFFST_DS2_END_MAINLOOP
#define STB0899_WIDTH_DS2_END_MAINLOOP
#define STB0899_DS2_CFSYNC
#define STB0899_OFFST_DS2_CFSYNC
#define STB0899_WIDTH_DS2_CFSYNC
#define STB0899_DS2_TMGLOCK
#define STB0899_OFFST_DS2_TMGLOCK
#define STB0899_WIDTH_DS2_TMGLOCK
#define STB0899_DS2_DEMODWAIT
#define STB0899_OFFST_DS2_DEMODWAIT
#define STB0899_WIDTH_DS2_DEMODWAIT
#define STB0899_DS2_FECON
#define STB0899_OFFST_DS2_FECON
#define STB0899_WIDTH_DS2_FECON

/*	S1 FEC	*/
#define STB0899_VSTATUS
#define STB0899_VSTATUS_VITERBI_ON
#define STB0899_OFFST_VSTATUS_VITERBI_ON
#define STB0899_WIDTH_VSTATUS_VITERBI_ON
#define STB0899_VSTATUS_END_LOOPVIT
#define STB0899_OFFST_VSTATUS_END_LOOPVIT
#define STB0899_WIDTH_VSTATUS_END_LOOPVIT
#define STB0899_VSTATUS_PRFVIT
#define STB0899_OFFST_VSTATUS_PRFVIT
#define STB0899_WIDTH_VSTATUS_PRFVIT
#define STB0899_VSTATUS_LOCKEDVIT
#define STB0899_OFFST_VSTATUS_LOCKEDVIT
#define STB0899_WIDTH_VSTATUS_LOCKEDVIT

#define STB0899_VERROR

#define STB0899_IQSWAP
#define STB0899_SYM
#define STB0899_OFFST_SYM
#define STB0899_WIDTH_SYM

#define STB0899_FECAUTO1
#define STB0899_DSSSRCH
#define STB0899_OFFST_DSSSRCH
#define STB0899_WIDTH_DSSSRCH
#define STB0899_SYMSRCH
#define STB0899_OFFST_SYMSRCH
#define STB0899_WIDTH_SYMSRCH
#define STB0899_QPSKSRCH
#define STB0899_OFFST_QPSKSRCH
#define STB0899_WIDTH_QPSKSRCH
#define STB0899_BPSKSRCH
#define STB0899_OFFST_BPSKSRCH
#define STB0899_WIDTH_BPSKSRCH

#define STB0899_FECM
#define STB0899_FECM_NOT_DVB
#define STB0899_OFFST_FECM_NOT_DVB
#define STB0899_WIDTH_FECM_NOT_DVB
#define STB0899_FECM_RSVD1
#define STB0899_OFFST_FECM_RSVD1
#define STB0899_WIDTH_FECM_RSVD1
#define STB0899_FECM_VITERBI_ON
#define STB0899_OFFST_FECM_VITERBI_ON
#define STB0899_WIDTH_FECM_VITERBI_ON
#define STB0899_FECM_RSVD0
#define STB0899_OFFST_FECM_RSVD0
#define STB0899_WIDTH_FECM_RSVD0
#define STB0899_FECM_SYNCDIS
#define STB0899_OFFST_FECM_SYNCDIS
#define STB0899_WIDTH_FECM_SYNCDIS
#define STB0899_FECM_SYMI
#define STB0899_OFFST_FECM_SYMI
#define STB0899_WIDTH_FECM_SYMI

#define STB0899_VTH12
#define STB0899_VTH23
#define STB0899_VTH34
#define STB0899_VTH56
#define STB0899_VTH67
#define STB0899_VTH78

#define STB0899_PRVIT
#define STB0899_PR_7_8
#define STB0899_OFFST_PR_7_8
#define STB0899_WIDTH_PR_7_8
#define STB0899_PR_6_7
#define STB0899_OFFST_PR_6_7
#define STB0899_WIDTH_PR_6_7
#define STB0899_PR_5_6
#define STB0899_OFFST_PR_5_6
#define STB0899_WIDTH_PR_5_6
#define STB0899_PR_3_4
#define STB0899_OFFST_PR_3_4
#define STB0899_WIDTH_PR_3_4
#define STB0899_PR_2_3
#define STB0899_OFFST_PR_2_3
#define STB0899_WIDTH_PR_2_3
#define STB0899_PR_1_2
#define STB0899_OFFST_PR_1_2
#define STB0899_WIDTH_PR_1_2

#define STB0899_VITSYNC
#define STB0899_AM
#define STB0899_OFFST_AM
#define STB0899_WIDTH_AM
#define STB0899_FREEZE
#define STB0899_OFFST_FREEZE
#define STB0899_WIDTH_FREEZE
#define STB0899_SN_65536
#define STB0899_OFFST_SN_65536
#define STB0899_WIDTH_SN_65536
#define STB0899_SN_16384
#define STB0899_OFFST_SN_16384
#define STB0899_WIDTH_SN_16384
#define STB0899_SN_4096
#define STB0899_OFFST_SN_4096
#define STB0899_WIDTH_SN_4096
#define STB0899_SN_1024
#define STB0899_OFFST_SN_1024
#define STB0899_WIDTH_SN_1024
#define STB0899_TO_128
#define STB0899_OFFST_TO_128
#define STB0899_WIDTH_TO_128
#define STB0899_TO_64
#define STB0899_OFFST_TO_64
#define STB0899_WIDTH_TO_64
#define STB0899_TO_32
#define STB0899_OFFST_TO_32
#define STB0899_WIDTH_TO_32
#define STB0899_TO_16
#define STB0899_OFFST_TO_16
#define STB0899_WIDTH_TO_16
#define STB0899_HYST_128
#define STB0899_OFFST_HYST_128
#define STB0899_WIDTH_HYST_128
#define STB0899_HYST_64
#define STB0899_OFFST_HYST_64
#define STB0899_WIDTH_HYST_64
#define STB0899_HYST_32
#define STB0899_OFFST_HYST_32
#define STB0899_WIDTH_HYST_32
#define STB0899_HYST_16
#define STB0899_OFFST_HYST_16
#define STB0899_WIDTH_HYST_16

#define STB0899_RSULC
#define STB0899_ULDIL_ON
#define STB0899_OFFST_ULDIL_ON
#define STB0899_WIDTH_ULDIL_ON
#define STB0899_ULAUTO_ON
#define STB0899_OFFST_ULAUTO_ON
#define STB0899_WIDTH_ULAUTO_ON
#define STB0899_ULRS_ON
#define STB0899_OFFST_ULRS_ON
#define STB0899_WIDTH_ULRS_ON
#define STB0899_ULDESCRAM_ON
#define STB0899_OFFST_ULDESCRAM_ON
#define STB0899_WIDTH_ULDESCRAM_ON
#define STB0899_UL_DISABLE
#define STB0899_OFFST_UL_DISABLE
#define STB0899_WIDTH_UL_DISABLE
#define STB0899_NOFTHRESHOLD
#define STB0899_OFFST_NOFTHRESHOLD
#define STB0899_WIDTH_NOFTHRESHOLD

#define STB0899_RSLLC
#define STB0899_DEMAPVIT
#define STB0899_DEMAPVIT_RSVD
#define STB0899_OFFST_DEMAPVIT_RSVD
#define STB0899_WIDTH_DEMAPVIT_RSVD
#define STB0899_DEMAPVIT_KDIVIDER
#define STB0899_OFFST_DEMAPVIT_KDIVIDER
#define STB0899_WIDTH_DEMAPVIT_KDIVIDER

#define STB0899_PLPARM
#define STB0899_VITMAPPING
#define STB0899_OFFST_VITMAPPING
#define STB0899_WIDTH_VITMAPPING
#define STB0899_VITMAPPING_BPSK
#define STB0899_OFFST_VITMAPPING_BPSK
#define STB0899_WIDTH_VITMAPPING_BPSK
#define STB0899_VITMAPPING_QPSK
#define STB0899_OFFST_VITMAPPING_QPSK
#define STB0899_WIDTH_VITMAPPING_QPSK
#define STB0899_VITCURPUN
#define STB0899_OFFST_VITCURPUN
#define STB0899_WIDTH_VITCURPUN
#define STB0899_VITCURPUN_1_2
#define STB0899_VITCURPUN_2_3
#define STB0899_VITCURPUN_3_4
#define STB0899_VITCURPUN_5_6
#define STB0899_VITCURPUN_6_7
#define STB0899_VITCURPUN_7_8

/*	S2 DEMOD	*/
#define STB0899_OFF0_DMD_STATUS
#define STB0899_BASE_DMD_STATUS
#define STB0899_IF_AGC_LOCK
#define STB0899_OFFST_IF_AGC_LOCK
#define STB0899_WIDTH_IF_AGC_LOCK

#define STB0899_OFF0_CRL_FREQ
#define STB0899_BASE_CRL_FREQ
#define STB0899_CARR_FREQ
#define STB0899_OFFST_CARR_FREQ
#define STB0899_WIDTH_CARR_FREQ

#define STB0899_OFF0_BTR_FREQ
#define STB0899_BASE_BTR_FREQ
#define STB0899_BTR_FREQ
#define STB0899_OFFST_BTR_FREQ
#define STB0899_WIDTH_BTR_FREQ

#define STB0899_OFF0_IF_AGC_GAIN
#define STB0899_BASE_IF_AGC_GAIN
#define STB0899_IF_AGC_GAIN
#define STB0899_OFFST_IF_AGC_GAIN
#define STB0899_WIDTH_IF_AGC_GAIN

#define STB0899_OFF0_BB_AGC_GAIN
#define STB0899_BASE_BB_AGC_GAIN
#define STB0899_BB_AGC_GAIN
#define STB0899_OFFST_BB_AGC_GAIN
#define STB0899_WIDTH_BB_AGC_GAIN

#define STB0899_OFF0_DC_OFFSET
#define STB0899_BASE_DC_OFFSET
#define STB0899_I
#define STB0899_OFFST_I
#define STB0899_WIDTH_I
#define STB0899_Q
#define STB0899_OFFST_Q
#define STB0899_WIDTH_Q

#define STB0899_OFF0_DMD_CNTRL
#define STB0899_BASE_DMD_CNTRL
#define STB0899_ADC0_PINS1IN
#define STB0899_OFFST_ADC0_PINS1IN
#define STB0899_WIDTH_ADC0_PINS1IN
#define STB0899_IN2COMP1_OFFBIN0
#define STB0899_OFFST_IN2COMP1_OFFBIN0
#define STB0899_WIDTH_IN2COMP1_OFFBIN0
#define STB0899_DC_COMP
#define STB0899_OFFST_DC_COMP
#define STB0899_WIDTH_DC_COMP
#define STB0899_MODMODE
#define STB0899_OFFST_MODMODE
#define STB0899_WIDTH_MODMODE

#define STB0899_OFF0_IF_AGC_CNTRL
#define STB0899_BASE_IF_AGC_CNTRL
#define STB0899_IF_GAIN_INIT
#define STB0899_OFFST_IF_GAIN_INIT
#define STB0899_WIDTH_IF_GAIN_INIT
#define STB0899_IF_GAIN_SENSE
#define STB0899_OFFST_IF_GAIN_SENSE
#define STB0899_WIDTH_IF_GAIN_SENSE
#define STB0899_IF_LOOP_GAIN
#define STB0899_OFFST_IF_LOOP_GAIN
#define STB0899_WIDTH_IF_LOOP_GAIN
#define STB0899_IF_LD_GAIN_INIT
#define STB0899_OFFST_IF_LD_GAIN_INIT
#define STB0899_WIDTH_IF_LD_GAIN_INIT
#define STB0899_IF_AGC_REF
#define STB0899_OFFST_IF_AGC_REF
#define STB0899_WIDTH_IF_AGC_REF

#define STB0899_OFF0_BB_AGC_CNTRL
#define STB0899_BASE_BB_AGC_CNTRL
#define STB0899_BB_GAIN_INIT
#define STB0899_OFFST_BB_GAIN_INIT
#define STB0899_WIDTH_BB_GAIN_INIT
#define STB0899_BB_LOOP_GAIN
#define STB0899_OFFST_BB_LOOP_GAIN
#define STB0899_WIDTH_BB_LOOP_GAIN
#define STB0899_BB_LD_GAIN_INIT
#define STB0899_OFFST_BB_LD_GAIN_INIT
#define STB0899_WIDTH_BB_LD_GAIN_INIT
#define STB0899_BB_AGC_REF
#define STB0899_OFFST_BB_AGC_REF
#define STB0899_WIDTH_BB_AGC_REF

#define STB0899_OFF0_CRL_CNTRL
#define STB0899_BASE_CRL_CNTRL
#define STB0899_CRL_LOCK_CLEAR
#define STB0899_OFFST_CRL_LOCK_CLEAR
#define STB0899_WIDTH_CRL_LOCK_CLEAR
#define STB0899_CRL_SWPR_CLEAR
#define STB0899_OFFST_CRL_SWPR_CLEAR
#define STB0899_WIDTH_CRL_SWPR_CLEAR
#define STB0899_CRL_SWP_ENA
#define STB0899_OFFST_CRL_SWP_ENA
#define STB0899_WIDTH_CRL_SWP_ENA
#define STB0899_CRL_DET_SEL
#define STB0899_OFFST_CRL_DET_SEL
#define STB0899_WIDTH_CRL_DET_SEL
#define STB0899_CRL_SENSE
#define STB0899_OFFST_CRL_SENSE
#define STB0899_WIDTH_CRL_SENSE
#define STB0899_CRL_PHSERR_CLEAR
#define STB0899_OFFST_CRL_PHSERR_CLEAR
#define STB0899_WIDTH_CRL_PHSERR_CLEAR

#define STB0899_OFF0_CRL_PHS_INIT
#define STB0899_BASE_CRL_PHS_INIT
#define STB0899_CRL_PHS_INIT_31
#define STB0899_OFFST_CRL_PHS_INIT_31
#define STB0899_WIDTH_CRL_PHS_INIT_31
#define STB0899_CRL_LD_INIT_PHASE
#define STB0899_OFFST_CRL_LD_INIT_PHASE
#define STB0899_WIDTH_CRL_LD_INIT_PHASE
#define STB0899_CRL_INIT_PHASE
#define STB0899_OFFST_CRL_INIT_PHASE
#define STB0899_WIDTH_CRL_INIT_PHASE

#define STB0899_OFF0_CRL_FREQ_INIT
#define STB0899_BASE_CRL_FREQ_INIT
#define STB0899_CRL_FREQ_INIT_31
#define STB0899_OFFST_CRL_FREQ_INIT_31
#define STB0899_WIDTH_CRL_FREQ_INIT_31
#define STB0899_CRL_LD_FREQ_INIT
#define STB0899_OFFST_CRL_LD_FREQ_INIT
#define STB0899_WIDTH_CRL_LD_FREQ_INIT
#define STB0899_CRL_FREQ_INIT
#define STB0899_OFFST_CRL_FREQ_INIT
#define STB0899_WIDTH_CRL_FREQ_INIT

#define STB0899_OFF0_CRL_LOOP_GAIN
#define STB0899_BASE_CRL_LOOP_GAIN
#define STB0899_KCRL2_RSHFT
#define STB0899_OFFST_KCRL2_RSHFT
#define STB0899_WIDTH_KCRL2_RSHFT
#define STB0899_KCRL1
#define STB0899_OFFST_KCRL1
#define STB0899_WIDTH_KCRL1
#define STB0899_KCRL1_RSHFT
#define STB0899_OFFST_KCRL1_RSHFT
#define STB0899_WIDTH_KCRL1_RSHFT
#define STB0899_KCRL0
#define STB0899_OFFST_KCRL0
#define STB0899_WIDTH_KCRL0
#define STB0899_KCRL0_RSHFT
#define STB0899_OFFST_KCRL0_RSHFT
#define STB0899_WIDTH_KCRL0_RSHFT

#define STB0899_OFF0_CRL_NOM_FREQ
#define STB0899_BASE_CRL_NOM_FREQ
#define STB0899_CRL_NOM_FREQ
#define STB0899_OFFST_CRL_NOM_FREQ
#define STB0899_WIDTH_CRL_NOM_FREQ

#define STB0899_OFF0_CRL_SWP_RATE
#define STB0899_BASE_CRL_SWP_RATE
#define STB0899_CRL_SWP_RATE
#define STB0899_OFFST_CRL_SWP_RATE
#define STB0899_WIDTH_CRL_SWP_RATE

#define STB0899_OFF0_CRL_MAX_SWP
#define STB0899_BASE_CRL_MAX_SWP
#define STB0899_CRL_MAX_SWP
#define STB0899_OFFST_CRL_MAX_SWP
#define STB0899_WIDTH_CRL_MAX_SWP

#define STB0899_OFF0_CRL_LK_CNTRL
#define STB0899_BASE_CRL_LK_CNTRL

#define STB0899_OFF0_DECIM_CNTRL
#define STB0899_BASE_DECIM_CNTRL
#define STB0899_BAND_LIMIT_B
#define STB0899_OFFST_BAND_LIMIT_B
#define STB0899_WIDTH_BAND_LIMIT_B
#define STB0899_WIN_SEL
#define STB0899_OFFST_WIN_SEL
#define STB0899_WIDTH_WIN_SEL
#define STB0899_DECIM_RATE
#define STB0899_OFFST_DECIM_RATE
#define STB0899_WIDTH_DECIM_RATE

#define STB0899_OFF0_BTR_CNTRL
#define STB0899_BASE_BTR_CNTRL
#define STB0899_BTR_FREQ_CORR
#define STB0899_OFFST_BTR_FREQ_CORR
#define STB0899_WIDTH_BTR_FREQ_CORR
#define STB0899_BTR_CLR_LOCK
#define STB0899_OFFST_BTR_CLR_LOCK
#define STB0899_WIDTH_BTR_CLR_LOCK
#define STB0899_BTR_SENSE
#define STB0899_OFFST_BTR_SENSE
#define STB0899_WIDTH_BTR_SENSE
#define STB0899_BTR_ERR_ENA
#define STB0899_OFFST_BTR_ERR_ENA
#define STB0899_WIDTH_BTR_ERR_ENA
#define STB0899_INTRP_PHS_SENSE
#define STB0899_OFFST_INTRP_PHS_SENSE
#define STB0899_WIDTH_INTRP_PHS_SENSE

#define STB0899_OFF0_BTR_LOOP_GAIN
#define STB0899_BASE_BTR_LOOP_GAIN
#define STB0899_KBTR2_RSHFT
#define STB0899_OFFST_KBTR2_RSHFT
#define STB0899_WIDTH_KBTR2_RSHFT
#define STB0899_KBTR1
#define STB0899_OFFST_KBTR1
#define STB0899_WIDTH_KBTR1
#define STB0899_KBTR1_RSHFT
#define STB0899_OFFST_KBTR1_RSHFT
#define STB0899_WIDTH_KBTR1_RSHFT
#define STB0899_KBTR0
#define STB0899_OFFST_KBTR0
#define STB0899_WIDTH_KBTR0
#define STB0899_KBTR0_RSHFT
#define STB0899_OFFST_KBTR0_RSHFT
#define STB0899_WIDTH_KBTR0_RSHFT

#define STB0899_OFF0_BTR_PHS_INIT
#define STB0899_BASE_BTR_PHS_INIT
#define STB0899_BTR_LD_PHASE_INIT
#define STB0899_OFFST_BTR_LD_PHASE_INIT
#define STB0899_WIDTH_BTR_LD_PHASE_INIT
#define STB0899_BTR_INIT_PHASE
#define STB0899_OFFST_BTR_INIT_PHASE
#define STB0899_WIDTH_BTR_INIT_PHASE

#define STB0899_OFF0_BTR_FREQ_INIT
#define STB0899_BASE_BTR_FREQ_INIT
#define STB0899_BTR_LD_FREQ_INIT
#define STB0899_OFFST_BTR_LD_FREQ_INIT
#define STB0899_WIDTH_BTR_LD_FREQ_INIT
#define STB0899_BTR_FREQ_INIT
#define STB0899_OFFST_BTR_FREQ_INIT
#define STB0899_WIDTH_BTR_FREQ_INIT

#define STB0899_OFF0_BTR_NOM_FREQ
#define STB0899_BASE_BTR_NOM_FREQ
#define STB0899_BTR_NOM_FREQ
#define STB0899_OFFST_BTR_NOM_FREQ
#define STB0899_WIDTH_BTR_NOM_FREQ

#define STB0899_OFF0_BTR_LK_CNTRL
#define STB0899_BASE_BTR_LK_CNTRL
#define STB0899_BTR_MIN_ENERGY
#define STB0899_OFFST_BTR_MIN_ENERGY
#define STB0899_WIDTH_BTR_MIN_ENERGY
#define STB0899_BTR_LOCK_TH_LO
#define STB0899_OFFST_BTR_LOCK_TH_LO
#define STB0899_WIDTH_BTR_LOCK_TH_LO
#define STB0899_BTR_LOCK_TH_HI
#define STB0899_OFFST_BTR_LOCK_TH_HI
#define STB0899_WIDTH_BTR_LOCK_TH_HI
#define STB0899_BTR_LOCK_GAIN
#define STB0899_OFFST_BTR_LOCK_GAIN
#define STB0899_WIDTH_BTR_LOCK_GAIN
#define STB0899_BTR_LOCK_LEAK
#define STB0899_OFFST_BTR_LOCK_LEAK
#define STB0899_WIDTH_BTR_LOCK_LEAK

#define STB0899_OFF0_DECN_CNTRL
#define STB0899_BASE_DECN_CNTRL

#define STB0899_OFF0_TP_CNTRL
#define STB0899_BASE_TP_CNTRL

#define STB0899_OFF0_TP_BUF_STATUS
#define STB0899_BASE_TP_BUF_STATUS
#define STB0899_TP_BUFFER_FULL

#define STB0899_OFF0_DC_ESTIM
#define STB0899_BASE_DC_ESTIM
#define STB0899_I_DC_ESTIMATE
#define STB0899_OFFST_I_DC_ESTIMATE
#define STB0899_WIDTH_I_DC_ESTIMATE
#define STB0899_Q_DC_ESTIMATE
#define STB0899_OFFST_Q_DC_ESTIMATE
#define STB0899_WIDTH_Q_DC_ESTIMATE

#define STB0899_OFF0_FLL_CNTRL
#define STB0899_BASE_FLL_CNTRL
#define STB0899_CRL_FLL_ACC
#define STB0899_OFFST_CRL_FLL_ACC
#define STB0899_WIDTH_CRL_FLL_ACC
#define STB0899_FLL_AVG_PERIOD
#define STB0899_OFFST_FLL_AVG_PERIOD
#define STB0899_WIDTH_FLL_AVG_PERIOD

#define STB0899_OFF0_FLL_FREQ_WD
#define STB0899_BASE_FLL_FREQ_WD
#define STB0899_FLL_FREQ_WD
#define STB0899_OFFST_FLL_FREQ_WD
#define STB0899_WIDTH_FLL_FREQ_WD

#define STB0899_OFF0_ANTI_ALIAS_SEL
#define STB0899_BASE_ANTI_ALIAS_SEL
#define STB0899_ANTI_ALIAS_SELB
#define STB0899_OFFST_ANTI_ALIAS_SELB
#define STB0899_WIDTH_ANTI_ALIAS_SELB

#define STB0899_OFF0_RRC_ALPHA
#define STB0899_BASE_RRC_ALPHA
#define STB0899_RRC_ALPHA
#define STB0899_OFFST_RRC_ALPHA
#define STB0899_WIDTH_RRC_ALPHA

#define STB0899_OFF0_DC_ADAPT_LSHFT
#define STB0899_BASE_DC_ADAPT_LSHFT
#define STB0899_DC_ADAPT_LSHFT
#define STB0899_OFFST_DC_ADAPT_LSHFT
#define STB0899_WIDTH_DC_ADAPT_LSHFT

#define STB0899_OFF0_IMB_OFFSET
#define STB0899_BASE_IMB_OFFSET
#define STB0899_PHS_IMB_COMP
#define STB0899_OFFST_PHS_IMB_COMP
#define STB0899_WIDTH_PHS_IMB_COMP
#define STB0899_AMPL_IMB_COMP
#define STB0899_OFFST_AMPL_IMB_COMP
#define STB0899_WIDTH_AMPL_IMB_COMP

#define STB0899_OFF0_IMB_ESTIMATE
#define STB0899_BASE_IMB_ESTIMATE
#define STB0899_PHS_IMB_ESTIMATE
#define STB0899_OFFST_PHS_IMB_ESTIMATE
#define STB0899_WIDTH_PHS_IMB_ESTIMATE
#define STB0899_AMPL_IMB_ESTIMATE
#define STB0899_OFFST_AMPL_IMB_ESTIMATE
#define STB0899_WIDTH_AMPL_IMB_ESTIMATE

#define STB0899_OFF0_IMB_CNTRL
#define STB0899_BASE_IMB_CNTRL
#define STB0899_PHS_ADAPT_LSHFT
#define STB0899_OFFST_PHS_ADAPT_LSHFT
#define STB0899_WIDTH_PHS_ADAPT_LSHFT
#define STB0899_AMPL_ADAPT_LSHFT
#define STB0899_OFFST_AMPL_ADAPT_LSHFT
#define STB0899_WIDTH_AMPL_ADAPT_LSHFT
#define STB0899_IMB_COMP
#define STB0899_OFFST_IMB_COMP
#define STB0899_WIDTH_IMB_COMP

#define STB0899_OFF0_IF_AGC_CNTRL2
#define STB0899_BASE_IF_AGC_CNTRL2
#define STB0899_IF_AGC_LOCK_TH
#define STB0899_OFFST_IF_AGC_LOCK_TH
#define STB0899_WIDTH_IF_AGC_LOCK_TH
#define STB0899_IF_AGC_SD_DIV
#define STB0899_OFFST_IF_AGC_SD_DIV
#define STB0899_WIDTH_IF_AGC_SD_DIV
#define STB0899_IF_AGC_DUMP_PER
#define STB0899_OFFST_IF_AGC_DUMP_PER
#define STB0899_WIDTH_IF_AGC_DUMP_PER

#define STB0899_OFF0_DMD_CNTRL2
#define STB0899_BASE_DMD_CNTRL2
#define STB0899_SPECTRUM_INVERT
#define STB0899_OFFST_SPECTRUM_INVERT
#define STB0899_WIDTH_SPECTRUM_INVERT
#define STB0899_AGC_MODE
#define STB0899_OFFST_AGC_MODE
#define STB0899_WIDTH_AGC_MODE
#define STB0899_CRL_FREQ_ADJ
#define STB0899_OFFST_CRL_FREQ_ADJ
#define STB0899_WIDTH_CRL_FREQ_ADJ

#define STB0899_OFF0_TP_BUFFER
#define STB0899_BASE_TP_BUFFER
#define STB0899_TP_BUFFER_IN
#define STB0899_OFFST_TP_BUFFER_IN
#define STB0899_WIDTH_TP_BUFFER_IN

#define STB0899_OFF0_TP_BUFFER1
#define STB0899_BASE_TP_BUFFER1
#define STB0899_OFF0_TP_BUFFER2
#define STB0899_BASE_TP_BUFFER2
#define STB0899_OFF0_TP_BUFFER3
#define STB0899_BASE_TP_BUFFER3
#define STB0899_OFF0_TP_BUFFER4
#define STB0899_BASE_TP_BUFFER4
#define STB0899_OFF0_TP_BUFFER5
#define STB0899_BASE_TP_BUFFER5
#define STB0899_OFF0_TP_BUFFER6
#define STB0899_BASE_TP_BUFFER6
#define STB0899_OFF0_TP_BUFFER7
#define STB0899_BASE_TP_BUFFER7
#define STB0899_OFF0_TP_BUFFER8
#define STB0899_BASE_TP_BUFFER8
#define STB0899_OFF0_TP_BUFFER9
#define STB0899_BASE_TP_BUFFER9
#define STB0899_OFF0_TP_BUFFER10
#define STB0899_BASE_TP_BUFFER10
#define STB0899_OFF0_TP_BUFFER11
#define STB0899_BASE_TP_BUFFER11
#define STB0899_OFF0_TP_BUFFER12
#define STB0899_BASE_TP_BUFFER12
#define STB0899_OFF0_TP_BUFFER13
#define STB0899_BASE_TP_BUFFER13
#define STB0899_OFF0_TP_BUFFER14
#define STB0899_BASE_TP_BUFFER14
#define STB0899_OFF0_TP_BUFFER15
#define STB0899_BASE_TP_BUFFER15
#define STB0899_OFF0_TP_BUFFER16
#define STB0899_BASE_TP_BUFFER16
#define STB0899_OFF0_TP_BUFFER17
#define STB0899_BASE_TP_BUFFER17
#define STB0899_OFF0_TP_BUFFER18
#define STB0899_BASE_TP_BUFFER18
#define STB0899_OFF0_TP_BUFFER19
#define STB0899_BASE_TP_BUFFER19
#define STB0899_OFF0_TP_BUFFER20
#define STB0899_BASE_TP_BUFFER20
#define STB0899_OFF0_TP_BUFFER21
#define STB0899_BASE_TP_BUFFER21
#define STB0899_OFF0_TP_BUFFER22
#define STB0899_BASE_TP_BUFFER22
#define STB0899_OFF0_TP_BUFFER23
#define STB0899_BASE_TP_BUFFER23
#define STB0899_OFF0_TP_BUFFER24
#define STB0899_BASE_TP_BUFFER24
#define STB0899_OFF0_TP_BUFFER25
#define STB0899_BASE_TP_BUFFER25
#define STB0899_OFF0_TP_BUFFER26
#define STB0899_BASE_TP_BUFFER26
#define STB0899_OFF0_TP_BUFFER27
#define STB0899_BASE_TP_BUFFER27
#define STB0899_OFF0_TP_BUFFER28
#define STB0899_BASE_TP_BUFFER28
#define STB0899_OFF0_TP_BUFFER29
#define STB0899_BASE_TP_BUFFER29
#define STB0899_OFF0_TP_BUFFER30
#define STB0899_BASE_TP_BUFFER30
#define STB0899_OFF0_TP_BUFFER31
#define STB0899_BASE_TP_BUFFER31
#define STB0899_OFF0_TP_BUFFER32
#define STB0899_BASE_TP_BUFFER32
#define STB0899_OFF0_TP_BUFFER33
#define STB0899_BASE_TP_BUFFER33
#define STB0899_OFF0_TP_BUFFER34
#define STB0899_BASE_TP_BUFFER34
#define STB0899_OFF0_TP_BUFFER35
#define STB0899_BASE_TP_BUFFER35
#define STB0899_OFF0_TP_BUFFER36
#define STB0899_BASE_TP_BUFFER36
#define STB0899_OFF0_TP_BUFFER37
#define STB0899_BASE_TP_BUFFER37
#define STB0899_OFF0_TP_BUFFER38
#define STB0899_BASE_TP_BUFFER38
#define STB0899_OFF0_TP_BUFFER39
#define STB0899_BASE_TP_BUFFER39
#define STB0899_OFF0_TP_BUFFER40
#define STB0899_BASE_TP_BUFFER40
#define STB0899_OFF0_TP_BUFFER41
#define STB0899_BASE_TP_BUFFER41
#define STB0899_OFF0_TP_BUFFER42
#define STB0899_BASE_TP_BUFFER42
#define STB0899_OFF0_TP_BUFFER43
#define STB0899_BASE_TP_BUFFER43
#define STB0899_OFF0_TP_BUFFER44
#define STB0899_BASE_TP_BUFFER44
#define STB0899_OFF0_TP_BUFFER45
#define STB0899_BASE_TP_BUFFER45
#define STB0899_OFF0_TP_BUFFER46
#define STB0899_BASE_TP_BUFFER46
#define STB0899_OFF0_TP_BUFFER47
#define STB0899_BASE_TP_BUFFER47
#define STB0899_OFF0_TP_BUFFER48
#define STB0899_BASE_TP_BUFFER48
#define STB0899_OFF0_TP_BUFFER49
#define STB0899_BASE_TP_BUFFER49
#define STB0899_OFF0_TP_BUFFER50
#define STB0899_BASE_TP_BUFFER50
#define STB0899_OFF0_TP_BUFFER51
#define STB0899_BASE_TP_BUFFER51
#define STB0899_OFF0_TP_BUFFER52
#define STB0899_BASE_TP_BUFFER52
#define STB0899_OFF0_TP_BUFFER53
#define STB0899_BASE_TP_BUFFER53
#define STB0899_OFF0_TP_BUFFER54
#define STB0899_BASE_TP_BUFFER54
#define STB0899_OFF0_TP_BUFFER55
#define STB0899_BASE_TP_BUFFER55
#define STB0899_OFF0_TP_BUFFER56
#define STB0899_BASE_TP_BUFFER56
#define STB0899_OFF0_TP_BUFFER57
#define STB0899_BASE_TP_BUFFER57
#define STB0899_OFF0_TP_BUFFER58
#define STB0899_BASE_TP_BUFFER58
#define STB0899_OFF0_TP_BUFFER59
#define STB0899_BASE_TP_BUFFER59
#define STB0899_OFF0_TP_BUFFER60
#define STB0899_BASE_TP_BUFFER60
#define STB0899_OFF0_TP_BUFFER61
#define STB0899_BASE_TP_BUFFER61
#define STB0899_OFF0_TP_BUFFER62
#define STB0899_BASE_TP_BUFFER62
#define STB0899_OFF0_TP_BUFFER63
#define STB0899_BASE_TP_BUFFER63

#define STB0899_OFF0_RESET_CNTRL
#define STB0899_BASE_RESET_CNTRL
#define STB0899_DVBS2_RESET
#define STB0899_OFFST_DVBS2_RESET
#define STB0899_WIDTH_DVBS2_RESET

#define STB0899_OFF0_ACM_ENABLE
#define STB0899_BASE_ACM_ENABLE
#define STB0899_ACM_ENABLE

#define STB0899_OFF0_DESCR_CNTRL
#define STB0899_BASE_DESCR_CNTRL
#define STB0899_OFFST_DESCR_CNTRL
#define STB0899_WIDTH_DESCR_CNTRL

#define STB0899_OFF0_UWP_CNTRL1
#define STB0899_BASE_UWP_CNTRL1
#define STB0899_UWP_TH_SOF
#define STB0899_OFFST_UWP_TH_SOF
#define STB0899_WIDTH_UWP_TH_SOF
#define STB0899_UWP_ESN0_QUANT
#define STB0899_OFFST_UWP_ESN0_QUANT
#define STB0899_WIDTH_UWP_ESN0_QUANT
#define STB0899_UWP_ESN0_AVE
#define STB0899_OFFST_UWP_ESN0_AVE
#define STB0899_WIDTH_UWP_ESN0_AVE
#define STB0899_UWP_START
#define STB0899_OFFST_UWP_START
#define STB0899_WIDTH_UWP_START

#define STB0899_OFF0_UWP_CNTRL2
#define STB0899_BASE_UWP_CNTRL2
#define STB0899_UWP_MISS_TH
#define STB0899_OFFST_UWP_MISS_TH
#define STB0899_WIDTH_UWP_MISS_TH
#define STB0899_FE_FINE_TRK
#define STB0899_OFFST_FE_FINE_TRK
#define STB0899_WIDTH_FE_FINE_TRK
#define STB0899_FE_COARSE_TRK
#define STB0899_OFFST_FE_COARSE_TRK
#define STB0899_WIDTH_FE_COARSE_TRK

#define STB0899_OFF0_UWP_STAT1
#define STB0899_BASE_UWP_STAT1
#define STB0899_UWP_STATE
#define STB0899_OFFST_UWP_STATE
#define STB0899_WIDTH_UWP_STATE
#define STB0899_UW_MAX_PEAK
#define STB0899_OFFST_UW_MAX_PEAK
#define STB0899_WIDTH_UW_MAX_PEAK

#define STB0899_OFF0_UWP_STAT2
#define STB0899_BASE_UWP_STAT2
#define STB0899_ESNO_EST
#define STB0899_OFFST_ESN0_EST
#define STB0899_WIDTH_ESN0_EST
#define STB0899_UWP_DECODE_MOD
#define STB0899_OFFST_UWP_DECODE_MOD
#define STB0899_WIDTH_UWP_DECODE_MOD

#define STB0899_OFF0_DMD_CORE_ID
#define STB0899_BASE_DMD_CORE_ID
#define STB0899_CORE_ID
#define STB0899_OFFST_CORE_ID
#define STB0899_WIDTH_CORE_ID

#define STB0899_OFF0_DMD_VERSION_ID
#define STB0899_BASE_DMD_VERSION_ID
#define STB0899_VERSION_ID
#define STB0899_OFFST_VERSION_ID
#define STB0899_WIDTH_VERSION_ID

#define STB0899_OFF0_DMD_STAT2
#define STB0899_BASE_DMD_STAT2
#define STB0899_CSM_LOCK
#define STB0899_OFFST_CSM_LOCK
#define STB0899_WIDTH_CSM_LOCK
#define STB0899_UWP_LOCK
#define STB0899_OFFST_UWP_LOCK
#define STB0899_WIDTH_UWP_LOCK

#define STB0899_OFF0_FREQ_ADJ_SCALE
#define STB0899_BASE_FREQ_ADJ_SCALE
#define STB0899_FREQ_ADJ_SCALE
#define STB0899_OFFST_FREQ_ADJ_SCALE
#define STB0899_WIDTH_FREQ_ADJ_SCALE

#define STB0899_OFF0_UWP_CNTRL3
#define STB0899_BASE_UWP_CNTRL3
#define STB0899_UWP_TH_TRACK
#define STB0899_OFFST_UWP_TH_TRACK
#define STB0899_WIDTH_UWP_TH_TRACK
#define STB0899_UWP_TH_ACQ
#define STB0899_OFFST_UWP_TH_ACQ
#define STB0899_WIDTH_UWP_TH_ACQ

#define STB0899_OFF0_SYM_CLK_SEL
#define STB0899_BASE_SYM_CLK_SEL
#define STB0899_SYM_CLK_SEL
#define STB0899_OFFST_SYM_CLK_SEL
#define STB0899_WIDTH_SYM_CLK_SEL

#define STB0899_OFF0_SOF_SRCH_TO
#define STB0899_BASE_SOF_SRCH_TO
#define STB0899_SOF_SEARCH_TIMEOUT
#define STB0899_OFFST_SOF_SEARCH_TIMEOUT
#define STB0899_WIDTH_SOF_SEARCH_TIMEOUT

#define STB0899_OFF0_ACQ_CNTRL1
#define STB0899_BASE_ACQ_CNTRL1
#define STB0899_FE_FINE_ACQ
#define STB0899_OFFST_FE_FINE_ACQ
#define STB0899_WIDTH_FE_FINE_ACQ
#define STB0899_FE_COARSE_ACQ
#define STB0899_OFFST_FE_COARSE_ACQ
#define STB0899_WIDTH_FE_COARSE_ACQ

#define STB0899_OFF0_ACQ_CNTRL2
#define STB0899_BASE_ACQ_CNTRL2
#define STB0899_ZIGZAG
#define STB0899_OFFST_ZIGZAG
#define STB0899_WIDTH_ZIGZAG
#define STB0899_NUM_STEPS
#define STB0899_OFFST_NUM_STEPS
#define STB0899_WIDTH_NUM_STEPS
#define STB0899_FREQ_STEPSIZE
#define STB0899_OFFST_FREQ_STEPSIZE
#define STB0899_WIDTH_FREQ_STEPSIZE

#define STB0899_OFF0_ACQ_CNTRL3
#define STB0899_BASE_ACQ_CNTRL3
#define STB0899_THRESHOLD_SCL
#define STB0899_OFFST_THRESHOLD_SCL
#define STB0899_WIDTH_THRESHOLD_SCL
#define STB0899_UWP_TH_SRCH
#define STB0899_OFFST_UWP_TH_SRCH
#define STB0899_WIDTH_UWP_TH_SRCH
#define STB0899_AUTO_REACQUIRE
#define STB0899_OFFST_AUTO_REACQUIRE
#define STB0899_WIDTH_AUTO_REACQUIRE
#define STB0899_TRACK_LOCK_SEL
#define STB0899_OFFST_TRACK_LOCK_SEL
#define STB0899_WIDTH_TRACK_LOCK_SEL
#define STB0899_ACQ_SEARCH_MODE
#define STB0899_OFFST_ACQ_SEARCH_MODE
#define STB0899_WIDTH_ACQ_SEARCH_MODE
#define STB0899_CONFIRM_FRAMES
#define STB0899_OFFST_CONFIRM_FRAMES
#define STB0899_WIDTH_CONFIRM_FRAMES

#define STB0899_OFF0_FE_SETTLE
#define STB0899_BASE_FE_SETTLE
#define STB0899_SETTLING_TIME
#define STB0899_OFFST_SETTLING_TIME
#define STB0899_WIDTH_SETTLING_TIME

#define STB0899_OFF0_AC_DWELL
#define STB0899_BASE_AC_DWELL
#define STB0899_DWELL_TIME
#define STB0899_OFFST_DWELL_TIME
#define STB0899_WIDTH_DWELL_TIME

#define STB0899_OFF0_ACQUIRE_TRIG
#define STB0899_BASE_ACQUIRE_TRIG
#define STB0899_ACQUIRE
#define STB0899_OFFST_ACQUIRE
#define STB0899_WIDTH_ACQUIRE

#define STB0899_OFF0_LOCK_LOST
#define STB0899_BASE_LOCK_LOST
#define STB0899_LOCK_LOST
#define STB0899_OFFST_LOCK_LOST
#define STB0899_WIDTH_LOCK_LOST

#define STB0899_OFF0_ACQ_STAT1
#define STB0899_BASE_ACQ_STAT1
#define STB0899_STEP_FREQ
#define STB0899_OFFST_STEP_FREQ
#define STB0899_WIDTH_STEP_FREQ
#define STB0899_ACQ_STATE
#define STB0899_OFFST_ACQ_STATE
#define STB0899_WIDTH_ACQ_STATE
#define STB0899_UW_DETECT_COUNT
#define STB0899_OFFST_UW_DETECT_COUNT
#define STB0899_WIDTH_UW_DETECT_COUNT

#define STB0899_OFF0_ACQ_TIMEOUT
#define STB0899_BASE_ACQ_TIMEOUT
#define STB0899_ACQ_TIMEOUT
#define STB0899_OFFST_ACQ_TIMEOUT
#define STB0899_WIDTH_ACQ_TIMEOUT

#define STB0899_OFF0_ACQ_TIME
#define STB0899_BASE_ACQ_TIME
#define STB0899_ACQ_TIME_SYM
#define STB0899_OFFST_ACQ_TIME_SYM
#define STB0899_WIDTH_ACQ_TIME_SYM

#define STB0899_OFF0_FINAL_AGC_CNTRL
#define STB0899_BASE_FINAL_AGC_CNTRL
#define STB0899_FINAL_GAIN_INIT
#define STB0899_OFFST_FINAL_GAIN_INIT
#define STB0899_WIDTH_FINAL_GAIN_INIT
#define STB0899_FINAL_LOOP_GAIN
#define STB0899_OFFST_FINAL_LOOP_GAIN
#define STB0899_WIDTH_FINAL_LOOP_GAIN
#define STB0899_FINAL_LD_GAIN_INIT
#define STB0899_OFFST_FINAL_LD_GAIN_INIT
#define STB0899_WIDTH_FINAL_LD_GAIN_INIT
#define STB0899_FINAL_AGC_REF
#define STB0899_OFFST_FINAL_AGC_REF
#define STB0899_WIDTH_FINAL_AGC_REF

#define STB0899_OFF0_FINAL_AGC_GAIN
#define STB0899_BASE_FINAL_AGC_GAIN
#define STB0899_FINAL_AGC_GAIN
#define STB0899_OFFST_FINAL_AGC_GAIN
#define STB0899_WIDTH_FINAL_AGC_GAIN

#define STB0899_OFF0_EQUALIZER_INIT
#define STB0899_BASE_EQUALIZER_INIT
#define STB0899_EQ_SRST
#define STB0899_OFFST_EQ_SRST
#define STB0899_WIDTH_EQ_SRST
#define STB0899_EQ_INIT
#define STB0899_OFFST_EQ_INIT
#define STB0899_WIDTH_EQ_INIT

#define STB0899_OFF0_EQ_CNTRL
#define STB0899_BASE_EQ_CNTRL
#define STB0899_EQ_ADAPT_MODE
#define STB0899_OFFST_EQ_ADAPT_MODE
#define STB0899_WIDTH_EQ_ADAPT_MODE
#define STB0899_EQ_DELAY
#define STB0899_OFFST_EQ_DELAY
#define STB0899_WIDTH_EQ_DELAY
#define STB0899_EQ_QUANT_LEVEL
#define STB0899_OFFST_EQ_QUANT_LEVEL
#define STB0899_WIDTH_EQ_QUANT_LEVEL
#define STB0899_EQ_DISABLE_UPDATE
#define STB0899_OFFST_EQ_DISABLE_UPDATE
#define STB0899_WIDTH_EQ_DISABLE_UPDATE
#define STB0899_EQ_BYPASS
#define STB0899_OFFST_EQ_BYPASS
#define STB0899_WIDTH_EQ_BYPASS
#define STB0899_EQ_SHIFT
#define STB0899_OFFST_EQ_SHIFT
#define STB0899_WIDTH_EQ_SHIFT

#define STB0899_OFF0_EQ_I_INIT_COEFF_0
#define STB0899_OFF1_EQ_I_INIT_COEFF_1
#define STB0899_OFF2_EQ_I_INIT_COEFF_2
#define STB0899_OFF3_EQ_I_INIT_COEFF_3
#define STB0899_OFF4_EQ_I_INIT_COEFF_4
#define STB0899_OFF5_EQ_I_INIT_COEFF_5
#define STB0899_OFF6_EQ_I_INIT_COEFF_6
#define STB0899_OFF7_EQ_I_INIT_COEFF_7
#define STB0899_OFF8_EQ_I_INIT_COEFF_8
#define STB0899_OFF9_EQ_I_INIT_COEFF_9
#define STB0899_OFFa_EQ_I_INIT_COEFF_10
#define STB0899_BASE_EQ_I_INIT_COEFF_N
#define STB0899_EQ_I_INIT_COEFF_N
#define STB0899_OFFST_EQ_I_INIT_COEFF_N
#define STB0899_WIDTH_EQ_I_INIT_COEFF_N

#define STB0899_OFF0_EQ_Q_INIT_COEFF_0
#define STB0899_OFF1_EQ_Q_INIT_COEFF_1
#define STB0899_OFF2_EQ_Q_INIT_COEFF_2
#define STB0899_OFF3_EQ_Q_INIT_COEFF_3
#define STB0899_OFF4_EQ_Q_INIT_COEFF_4
#define STB0899_OFF5_EQ_Q_INIT_COEFF_5
#define STB0899_OFF6_EQ_Q_INIT_COEFF_6
#define STB0899_OFF7_EQ_Q_INIT_COEFF_7
#define STB0899_OFF8_EQ_Q_INIT_COEFF_8
#define STB0899_OFF9_EQ_Q_INIT_COEFF_9
#define STB0899_OFFa_EQ_Q_INIT_COEFF_10
#define STB0899_BASE_EQ_Q_INIT_COEFF_N
#define STB0899_EQ_Q_INIT_COEFF_N
#define STB0899_OFFST_EQ_Q_INIT_COEFF_N
#define STB0899_WIDTH_EQ_Q_INIT_COEFF_N

#define STB0899_OFF0_EQ_I_OUT_COEFF_0
#define STB0899_OFF1_EQ_I_OUT_COEFF_1
#define STB0899_OFF2_EQ_I_OUT_COEFF_2
#define STB0899_OFF3_EQ_I_OUT_COEFF_3
#define STB0899_OFF4_EQ_I_OUT_COEFF_4
#define STB0899_OFF5_EQ_I_OUT_COEFF_5
#define STB0899_OFF6_EQ_I_OUT_COEFF_6
#define STB0899_OFF7_EQ_I_OUT_COEFF_7
#define STB0899_OFF8_EQ_I_OUT_COEFF_8
#define STB0899_OFF9_EQ_I_OUT_COEFF_9
#define STB0899_OFFa_EQ_I_OUT_COEFF_10
#define STB0899_BASE_EQ_I_OUT_COEFF_N
#define STB0899_EQ_I_OUT_COEFF_N
#define STB0899_OFFST_EQ_I_OUT_COEFF_N
#define STB0899_WIDTH_EQ_I_OUT_COEFF_N

#define STB0899_OFF0_EQ_Q_OUT_COEFF_0
#define STB0899_OFF1_EQ_Q_OUT_COEFF_1
#define STB0899_OFF2_EQ_Q_OUT_COEFF_2
#define STB0899_OFF3_EQ_Q_OUT_COEFF_3
#define STB0899_OFF4_EQ_Q_OUT_COEFF_4
#define STB0899_OFF5_EQ_Q_OUT_COEFF_5
#define STB0899_OFF6_EQ_Q_OUT_COEFF_6
#define STB0899_OFF7_EQ_Q_OUT_COEFF_7
#define STB0899_OFF8_EQ_Q_OUT_COEFF_8
#define STB0899_OFF9_EQ_Q_OUT_COEFF_9
#define STB0899_OFFa_EQ_Q_OUT_COEFF_10
#define STB0899_BASE_EQ_Q_OUT_COEFF_N
#define STB0899_EQ_Q_OUT_COEFF_N
#define STB0899_OFFST_EQ_Q_OUT_COEFF_N
#define STB0899_WIDTH_EQ_Q_OUT_COEFF_N

/*	S2 FEC	*/
#define STB0899_OFF0_BLOCK_LNGTH
#define STB0899_BASE_BLOCK_LNGTH
#define STB0899_BLOCK_LENGTH
#define STB0899_OFFST_BLOCK_LENGTH
#define STB0899_WIDTH_BLOCK_LENGTH

#define STB0899_OFF0_ROW_STR
#define STB0899_BASE_ROW_STR
#define STB0899_ROW_STRIDE
#define STB0899_OFFST_ROW_STRIDE
#define STB0899_WIDTH_ROW_STRIDE

#define STB0899_OFF0_MAX_ITER
#define STB0899_BASE_MAX_ITER
#define STB0899_MAX_ITERATIONS
#define STB0899_OFFST_MAX_ITERATIONS
#define STB0899_WIDTH_MAX_ITERATIONS

#define STB0899_OFF0_BN_END_ADDR
#define STB0899_BASE_BN_END_ADDR
#define STB0899_BN_END_ADDR
#define STB0899_OFFST_BN_END_ADDR
#define STB0899_WIDTH_BN_END_ADDR

#define STB0899_OFF0_CN_END_ADDR
#define STB0899_BASE_CN_END_ADDR
#define STB0899_CN_END_ADDR
#define STB0899_OFFST_CN_END_ADDR
#define STB0899_WIDTH_CN_END_ADDR

#define STB0899_OFF0_INFO_LENGTH
#define STB0899_BASE_INFO_LENGTH
#define STB0899_INFO_LENGTH
#define STB0899_OFFST_INFO_LENGTH
#define STB0899_WIDTH_INFO_LENGTH

#define STB0899_OFF0_BOT_ADDR
#define STB0899_BASE_BOT_ADDR
#define STB0899_BOTTOM_BASE_ADDR
#define STB0899_OFFST_BOTTOM_BASE_ADDR
#define STB0899_WIDTH_BOTTOM_BASE_ADDR

#define STB0899_OFF0_BCH_BLK_LN
#define STB0899_BASE_BCH_BLK_LN
#define STB0899_BCH_BLOCK_LENGTH
#define STB0899_OFFST_BCH_BLOCK_LENGTH
#define STB0899_WIDTH_BCH_BLOCK_LENGTH

#define STB0899_OFF0_BCH_T
#define STB0899_BASE_BCH_T
#define STB0899_BCH_T
#define STB0899_OFFST_BCH_T
#define STB0899_WIDTH_BCH_T

#define STB0899_OFF0_CNFG_MODE
#define STB0899_BASE_CNFG_MODE
#define STB0899_MODCOD
#define STB0899_OFFST_MODCOD
#define STB0899_WIDTH_MODCOD
#define STB0899_MODCOD_SEL
#define STB0899_OFFST_MODCOD_SEL
#define STB0899_WIDTH_MODCOD_SEL
#define STB0899_CONFIG_MODE
#define STB0899_OFFST_CONFIG_MODE
#define STB0899_WIDTH_CONFIG_MODE

#define STB0899_OFF0_LDPC_STAT
#define STB0899_BASE_LDPC_STAT
#define STB0899_ITERATION
#define STB0899_OFFST_ITERATION
#define STB0899_WIDTH_ITERATION
#define STB0899_LDPC_DEC_STATE
#define STB0899_OFFST_LDPC_DEC_STATE
#define STB0899_WIDTH_LDPC_DEC_STATE

#define STB0899_OFF0_ITER_SCALE
#define STB0899_BASE_ITER_SCALE
#define STB0899_ITERATION_SCALE
#define STB0899_OFFST_ITERATION_SCALE
#define STB0899_WIDTH_ITERATION_SCALE

#define STB0899_OFF0_INPUT_MODE
#define STB0899_BASE_INPUT_MODE
#define STB0899_SD_BLOCK1_STREAM0
#define STB0899_OFFST_SD_BLOCK1_STREAM0
#define STB0899_WIDTH_SD_BLOCK1_STREAM0

#define STB0899_OFF0_LDPCDECRST
#define STB0899_BASE_LDPCDECRST
#define STB0899_LDPC_DEC_RST
#define STB0899_OFFST_LDPC_DEC_RST
#define STB0899_WIDTH_LDPC_DEC_RST

#define STB0899_OFF0_CLK_PER_BYTE_RW
#define STB0899_BASE_CLK_PER_BYTE_RW
#define STB0899_CLKS_PER_BYTE
#define STB0899_OFFST_CLKS_PER_BYTE
#define STB0899_WIDTH_CLKS_PER_BYTE

#define STB0899_OFF0_BCH_ERRORS
#define STB0899_BASE_BCH_ERRORS
#define STB0899_BCH_ERRORS
#define STB0899_OFFST_BCH_ERRORS
#define STB0899_WIDTH_BCH_ERRORS

#define STB0899_OFF0_LDPC_ERRORS
#define STB0899_BASE_LDPC_ERRORS
#define STB0899_LDPC_ERRORS
#define STB0899_OFFST_LDPC_ERRORS
#define STB0899_WIDTH_LDPC_ERRORS

#define STB0899_OFF0_BCH_MODE
#define STB0899_BASE_BCH_MODE
#define STB0899_BCH_CORRECT_N
#define STB0899_OFFST_BCH_CORRECT_N
#define STB0899_WIDTH_BCH_CORRECT_N
#define STB0899_FULL_BYPASS
#define STB0899_OFFST_FULL_BYPASS
#define STB0899_WIDTH_FULL_BYPASS

#define STB0899_OFF0_ERR_ACC_PER
#define STB0899_BASE_ERR_ACC_PER
#define STB0899_BCH_ERR_ACC_PERIOD
#define STB0899_OFFST_BCH_ERR_ACC_PERIOD
#define STB0899_WIDTH_BCH_ERR_ACC_PERIOD

#define STB0899_OFF0_BCH_ERR_ACC
#define STB0899_BASE_BCH_ERR_ACC
#define STB0899_BCH_ERR_ACCUM
#define STB0899_OFFST_BCH_ERR_ACCUM
#define STB0899_WIDTH_BCH_ERR_ACCUM

#define STB0899_OFF0_FEC_CORE_ID_REG
#define STB0899_BASE_FEC_CORE_ID_REG
#define STB0899_FEC_CORE_ID
#define STB0899_OFFST_FEC_CORE_ID
#define STB0899_WIDTH_FEC_CORE_ID

#define STB0899_OFF0_FEC_VER_ID_REG
#define STB0899_BASE_FEC_VER_ID_REG
#define STB0899_FEC_VER_ID
#define STB0899_OFFST_FEC_VER_ID
#define STB0899_WIDTH_FEC_VER_ID

#define STB0899_OFF0_FEC_TP_SEL
#define STB0899_BASE_FEC_TP_SEL

#define STB0899_OFF0_CSM_CNTRL1
#define STB0899_BASE_CSM_CNTRL1
#define STB0899_CSM_FORCE_FREQLOCK
#define STB0899_OFFST_CSM_FORCE_FREQLOCK
#define STB0899_WIDTH_CSM_FORCE_FREQLOCK
#define STB0899_CSM_FREQ_LOCKSTATE
#define STB0899_OFFST_CSM_FREQ_LOCKSTATE
#define STB0899_WIDTH_CSM_FREQ_LOCKSTATE
#define STB0899_CSM_AUTO_PARAM
#define STB0899_OFFST_CSM_AUTO_PARAM
#define STB0899_WIDTH_CSM_AUTO_PARAM
#define STB0899_FE_LOOP_SHIFT
#define STB0899_OFFST_FE_LOOP_SHIFT
#define STB0899_WIDTH_FE_LOOP_SHIFT
#define STB0899_CSM_AGC_SHIFT
#define STB0899_OFFST_CSM_AGC_SHIFT
#define STB0899_WIDTH_CSM_AGC_SHIFT
#define STB0899_CSM_AGC_GAIN
#define STB0899_OFFST_CSM_AGC_GAIN
#define STB0899_WIDTH_CSM_AGC_GAIN
#define STB0899_CSM_TWO_PASS
#define STB0899_OFFST_CSM_TWO_PASS
#define STB0899_WIDTH_CSM_TWO_PASS
#define STB0899_CSM_DVT_TABLE
#define STB0899_OFFST_CSM_DVT_TABLE
#define STB0899_WIDTH_CSM_DVT_TABLE

#define STB0899_OFF0_CSM_CNTRL2
#define STB0899_BASE_CSM_CNTRL2
#define STB0899_CSM_GAMMA_RHO_ACQ
#define STB0899_OFFST_CSM_GAMMA_RHOACQ
#define STB0899_WIDTH_CSM_GAMMA_RHOACQ
#define STB0899_CSM_GAMMA_ACQ
#define STB0899_OFFST_CSM_GAMMA_ACQ
#define STB0899_WIDTH_CSM_GAMMA_ACQ

#define STB0899_OFF0_CSM_CNTRL3
#define STB0899_BASE_CSM_CNTRL3
#define STB0899_CSM_GAMMA_RHO_TRACK
#define STB0899_OFFST_CSM_GAMMA_RHOTRACK
#define STB0899_WIDTH_CSM_GAMMA_RHOTRACK
#define STB0899_CSM_GAMMA_TRACK
#define STB0899_OFFST_CSM_GAMMA_TRACK
#define STB0899_WIDTH_CSM_GAMMA_TRACK

#define STB0899_OFF0_CSM_CNTRL4
#define STB0899_BASE_CSM_CNTRL4
#define STB0899_CSM_PHASEDIFF_THRESH
#define STB0899_OFFST_CSM_PHASEDIFF_THRESH
#define STB0899_WIDTH_CSM_PHASEDIFF_THRESH
#define STB0899_CSM_LOCKCOUNT_THRESH
#define STB0899_OFFST_CSM_LOCKCOUNT_THRESH
#define STB0899_WIDTH_CSM_LOCKCOUNT_THRESH

/*	Check on chapter 8 page 42	*/
#define STB0899_ERRCTRL1
#define STB0899_ERRCTRL2
#define STB0899_ERRCTRL3
#define STB0899_ERR_SRC_S1
#define STB0899_OFFST_ERR_SRC_S1
#define STB0899_WIDTH_ERR_SRC_S1
#define STB0899_ERR_SRC_S2
#define STB0899_OFFST_ERR_SRC_S2
#define STB0899_WIDTH_ERR_SRC_S2
#define STB0899_NOE
#define STB0899_OFFST_NOE
#define STB0899_WIDTH_NOE

#define STB0899_ECNT1M
#define STB0899_ECNT1L
#define STB0899_ECNT2M
#define STB0899_ECNT2L
#define STB0899_ECNT3M
#define STB0899_ECNT3L

#define STB0899_DMONMSK1
#define STB0899_DMONMSK1_WAIT_1STEP
#define STB0899_DMONMSK1_FREE_14
#define STB0899_DMONMSK1_AVRGVIT_CALC
#define STB0899_DMONMSK1_FREE_12
#define STB0899_DMONMSK1_FREE_11
#define STB0899_DMONMSK1_B0DIV_CALC
#define STB0899_DMONMSK1_KDIVB1_CALC
#define STB0899_DMONMSK1_KDIVB2_CALC

#define STB0899_DMONMSK0
#define STB0899_DMONMSK0_SMOTTH_CALC
#define STB0899_DMONMSK0_FREE_6
#define STB0899_DMONMSK0_SIGPOWER_CALC
#define STB0899_DMONMSK0_QSEUIL_CALC
#define STB0899_DMONMSK0_FREE_3
#define STB0899_DMONMSK0_FREE_2
#define STB0899_DMONMSK0_KVDIVB1_CALC
#define STB0899_DMONMSK0_KVDIVB2_CALC

#define STB0899_TSULC
#define STB0899_ULNOSYNCBYTES
#define STB0899_OFFST_ULNOSYNCBYTES
#define STB0899_WIDTH_ULNOSYNCBYTES
#define STB0899_ULPARITY_ON
#define STB0899_OFFST_ULPARITY_ON
#define STB0899_WIDTH_ULPARITY_ON
#define STB0899_ULSYNCOUTRS
#define STB0899_OFFST_ULSYNCOUTRS
#define STB0899_WIDTH_ULSYNCOUTRS
#define STB0899_ULDSS_PACKETS
#define STB0899_OFFST_ULDSS_PACKETS
#define STB0899_WIDTH_ULDSS_PACKETS

#define STB0899_TSLPL
#define STB0899_LLDVBS2_MODE
#define STB0899_OFFST_LLDVBS2_MODE
#define STB0899_WIDTH_LLDVBS2_MODE
#define STB0899_LLISSYI_ON
#define STB0899_OFFST_LLISSYI_ON
#define STB0899_WIDTH_LLISSYI_ON
#define STB0899_LLNPD_ON
#define STB0899_OFFST_LLNPD_ON
#define STB0899_WIDTH_LLNPD_ON
#define STB0899_LLCRC8_ON
#define STB0899_OFFST_LLCRC8_ON
#define STB0899_WIDTH_LLCRC8_ON

#define STB0899_TSCFGH
#define STB0899_OUTRS_PS
#define STB0899_OFFST_OUTRS_PS
#define STB0899_WIDTH_OUTRS_PS
#define STB0899_SYNCBYTE
#define STB0899_OFFST_SYNCBYTE
#define STB0899_WIDTH_SYNCBYTE
#define STB0899_PFBIT
#define STB0899_OFFST_PFBIT
#define STB0899_WIDTH_PFBIT
#define STB0899_ERR_BIT
#define STB0899_OFFST_ERR_BIT
#define STB0899_WIDTH_ERR_BIT
#define STB0899_MPEG
#define STB0899_OFFST_MPEG
#define STB0899_WIDTH_MPEG
#define STB0899_CLK_POL
#define STB0899_OFFST_CLK_POL
#define STB0899_WIDTH_CLK_POL
#define STB0899_FORCE0
#define STB0899_OFFST_FORCE0
#define STB0899_WIDTH_FORCE0

#define STB0899_TSCFGM
#define STB0899_LLPRIORITY
#define STB0899_OFFST_LLPRIORIY
#define STB0899_WIDTH_LLPRIORITY
#define STB0899_EN188
#define STB0899_OFFST_EN188
#define STB0899_WIDTH_EN188

#define STB0899_TSCFGL
#define STB0899_DEL_ERRPCK
#define STB0899_OFFST_DEL_ERRPCK
#define STB0899_WIDTH_DEL_ERRPCK
#define STB0899_ERRFLAGSTD
#define STB0899_OFFST_ERRFLAGSTD
#define STB0899_WIDTH_ERRFLAGSTD
#define STB0899_MPEGERR
#define STB0899_OFFST_MPEGERR
#define STB0899_WIDTH_MPEGERR
#define STB0899_BCH_CHK
#define STB0899_OFFST_BCH_CHK
#define STB0899_WIDTH_BCH_CHK
#define STB0899_CRC8CHK
#define STB0899_OFFST_CRC8CHK
#define STB0899_WIDTH_CRC8CHK
#define STB0899_SPEC_INFO
#define STB0899_OFFST_SPEC_INFO
#define STB0899_WIDTH_SPEC_INFO
#define STB0899_LOW_PRIO_CLK
#define STB0899_OFFST_LOW_PRIO_CLK
#define STB0899_WIDTH_LOW_PRIO_CLK
#define STB0899_ERROR_NORM
#define STB0899_OFFST_ERROR_NORM
#define STB0899_WIDTH_ERROR_NORM

#define STB0899_TSOUT
#define STB0899_RSSYNCDEL
#define STB0899_TSINHDELH
#define STB0899_TSINHDELM
#define STB0899_TSINHDELL
#define STB0899_TSLLSTKM
#define STB0899_TSLLSTKL
#define STB0899_TSULSTKM
#define STB0899_TSULSTKL
#define STB0899_TSSTATUS

#define STB0899_PDELCTRL
#define STB0899_INVERT_RES
#define STB0899_OFFST_INVERT_RES
#define STB0899_WIDTH_INVERT_RES
#define STB0899_FORCE_ACCEPTED
#define STB0899_OFFST_FORCE_ACCEPTED
#define STB0899_WIDTH_FORCE_ACCEPTED
#define STB0899_FILTER_EN
#define STB0899_OFFST_FILTER_EN
#define STB0899_WIDTH_FILTER_EN
#define STB0899_LOCKFALL_THRESH
#define STB0899_OFFST_LOCKFALL_THRESH
#define STB0899_WIDTH_LOCKFALL_THRESH
#define STB0899_HYST_EN
#define STB0899_OFFST_HYST_EN
#define STB0899_WIDTH_HYST_EN
#define STB0899_HYST_SWRST
#define STB0899_OFFST_HYST_SWRST
#define STB0899_WIDTH_HYST_SWRST
#define STB0899_ALGO_EN
#define STB0899_OFFST_ALGO_EN
#define STB0899_WIDTH_ALGO_EN
#define STB0899_ALGO_SWRST
#define STB0899_OFFST_ALGO_SWRST
#define STB0899_WIDTH_ALGO_SWRST

#define STB0899_PDELCTRL2
#define STB0899_BBHCTRL1
#define STB0899_BBHCTRL2
#define STB0899_HYSTTHRESH

#define STB0899_MATCSTM
#define STB0899_MATCSTL
#define STB0899_UPLCSTM
#define STB0899_UPLCSTL
#define STB0899_DFLCSTM
#define STB0899_DFLCSTL
#define STB0899_SYNCCST
#define STB0899_SYNCDCSTM
#define STB0899_SYNCDCSTL
#define STB0899_ISI_ENTRY
#define STB0899_ISI_BIT_EN
#define STB0899_MATSTRM
#define STB0899_MATSTRL
#define STB0899_UPLSTRM
#define STB0899_UPLSTRL
#define STB0899_DFLSTRM
#define STB0899_DFLSTRL
#define STB0899_SYNCSTR
#define STB0899_SYNCDSTRM
#define STB0899_SYNCDSTRL

#define STB0899_CFGPDELSTATUS1
#define STB0899_BADDFL
#define STB0899_OFFST_BADDFL
#define STB0899_WIDTH_BADDFL
#define STB0899_CONTINUOUS_STREAM
#define STB0899_OFFST_CONTINUOUS_STREAM
#define STB0899_WIDTH_CONTINUOUS_STREAM
#define STB0899_ACCEPTED_STREAM
#define STB0899_OFFST_ACCEPTED_STREAM
#define STB0899_WIDTH_ACCEPTED_STREAM
#define STB0899_BCH_ERRFLAG
#define STB0899_OFFST_BCH_ERRFLAG
#define STB0899_WIDTH_BCH_ERRFLAG
#define STB0899_CRCRES
#define STB0899_OFFST_CRCRES
#define STB0899_WIDTH_CRCRES
#define STB0899_CFGPDELSTATUS_LOCK
#define STB0899_OFFST_CFGPDELSTATUS_LOCK
#define STB0899_WIDTH_CFGPDELSTATUS_LOCK
#define STB0899_1STLOCK
#define STB0899_OFFST_1STLOCK
#define STB0899_WIDTH_1STLOCK

#define STB0899_CFGPDELSTATUS2
#define STB0899_BBFERRORM
#define STB0899_BBFERRORL
#define STB0899_UPKTERRORM
#define STB0899_UPKTERRORL

#define STB0899_TSTCK

#define STB0899_TSTRES
#define STB0899_FRESLDPC
#define STB0899_OFFST_FRESLDPC
#define STB0899_WIDTH_FRESLDPC
#define STB0899_FRESRS
#define STB0899_OFFST_FRESRS
#define STB0899_WIDTH_FRESRS
#define STB0899_FRESVIT
#define STB0899_OFFST_FRESVIT
#define STB0899_WIDTH_FRESVIT
#define STB0899_FRESMAS1_2
#define STB0899_OFFST_FRESMAS1_2
#define STB0899_WIDTH_FRESMAS1_2
#define STB0899_FRESACS
#define STB0899_OFFST_FRESACS
#define STB0899_WIDTH_FRESACS
#define STB0899_FRESSYM
#define STB0899_OFFST_FRESSYM
#define STB0899_WIDTH_FRESSYM
#define STB0899_FRESMAS
#define STB0899_OFFST_FRESMAS
#define STB0899_WIDTH_FRESMAS
#define STB0899_FRESINT
#define STB0899_OFFST_FRESINIT
#define STB0899_WIDTH_FRESINIT

#define STB0899_TSTOUT
#define STB0899_EN_SIGNATURE
#define STB0899_OFFST_EN_SIGNATURE
#define STB0899_WIDTH_EN_SIGNATURE
#define STB0899_BCLK_CLK
#define STB0899_OFFST_BCLK_CLK
#define STB0899_WIDTH_BCLK_CLK
#define STB0899_SGNL_OUT
#define STB0899_OFFST_SGNL_OUT
#define STB0899_WIDTH_SGNL_OUT
#define STB0899_TS
#define STB0899_OFFST_TS
#define STB0899_WIDTH_TS
#define STB0899_CTEST
#define STB0899_OFFST_CTEST
#define STB0899_WIDTH_CTEST

#define STB0899_TSTIN
#define STB0899_TEST_IN
#define STB0899_OFFST_TEST_IN
#define STB0899_WIDTH_TEST_IN
#define STB0899_EN_ADC
#define STB0899_OFFST_EN_ADC
#define STB0899_WIDTH_ENADC
#define STB0899_SGN_ADC
#define STB0899_OFFST_SGN_ADC
#define STB0899_WIDTH_SGN_ADC
#define STB0899_BCLK_IN
#define STB0899_OFFST_BCLK_IN
#define STB0899_WIDTH_BCLK_IN
#define STB0899_JETONIN_MODE
#define STB0899_OFFST_JETONIN_MODE
#define STB0899_WIDTH_JETONIN_MODE
#define STB0899_BCLK_VALUE
#define STB0899_OFFST_BCLK_VALUE
#define STB0899_WIDTH_BCLK_VALUE
#define STB0899_SGNRST_T12
#define STB0899_OFFST_SGNRST_T12
#define STB0899_WIDTH_SGNRST_T12
#define STB0899_LOWSP_ENAX
#define STB0899_OFFST_LOWSP_ENAX
#define STB0899_WIDTH_LOWSP_ENAX

#define STB0899_TSTSYS
#define STB0899_TSTCHIP
#define STB0899_TSTFREE
#define STB0899_TSTI2C
#define STB0899_BITSPEEDM
#define STB0899_BITSPEEDL
#define STB0899_TBUSBIT
#define STB0899_TSTDIS
#define STB0899_TSTDISRX
#define STB0899_TSTJETON
#define STB0899_TSTDCADJ
#define STB0899_TSTAGC1
#define STB0899_TSTAGC1N
#define STB0899_TSTPOLYPH
#define STB0899_TSTR
#define STB0899_TSTAGC2
#define STB0899_TSTCTL1
#define STB0899_TSTCTL2
#define STB0899_TSTCTL3
#define STB0899_TSTDEMAP
#define STB0899_TSTDEMAP2
#define STB0899_TSTDEMMON
#define STB0899_TSTRATE
#define STB0899_TSTSELOUT
#define STB0899_TSYNC
#define STB0899_TSTERR
#define STB0899_TSTRAM1
#define STB0899_TSTVSELOUT
#define STB0899_TSTFORCEIN
#define STB0899_TSTRS1
#define STB0899_TSTRS2
#define STB0899_TSTRS3

#define STB0899_INTBUFSTATUS
#define STB0899_INTBUFCTRL
#define STB0899_PCKLENUL
#define STB0899_PCKLENLL
#define STB0899_RSPCKLEN

/*	2 registers	*/
#define STB0899_SYNCDCST

/*	DiSEqC	*/
#define STB0899_DISCNTRL1
#define STB0899_TIMOFF
#define STB0899_OFFST_TIMOFF
#define STB0899_WIDTH_TIMOFF
#define STB0899_DISEQCRESET
#define STB0899_OFFST_DISEQCRESET
#define STB0899_WIDTH_DISEQCRESET
#define STB0899_TIMCMD
#define STB0899_OFFST_TIMCMD
#define STB0899_WIDTH_TIMCMD
#define STB0899_DISPRECHARGE
#define STB0899_OFFST_DISPRECHARGE
#define STB0899_WIDTH_DISPRECHARGE
#define STB0899_DISEQCMODE
#define STB0899_OFFST_DISEQCMODE
#define STB0899_WIDTH_DISEQCMODE

#define STB0899_DISCNTRL2
#define STB0899_RECEIVER_ON
#define STB0899_OFFST_RECEIVER_ON
#define STB0899_WIDTH_RECEIVER_ON
#define STB0899_IGNO_SHORT_22K
#define STB0899_OFFST_IGNO_SHORT_22K
#define STB0899_WIDTH_IGNO_SHORT_22K
#define STB0899_ONECHIP_TRX
#define STB0899_OFFST_ONECHIP_TRX
#define STB0899_WIDTH_ONECHIP_TRX
#define STB0899_EXT_ENVELOP
#define STB0899_OFFST_EXT_ENVELOP
#define STB0899_WIDTH_EXT_ENVELOP
#define STB0899_PIN_SELECT
#define STB0899_OFFST_PIN_SELCT
#define STB0899_WIDTH_PIN_SELCT
#define STB0899_IRQ_RXEND
#define STB0899_OFFST_IRQ_RXEND
#define STB0899_WIDTH_IRQ_RXEND
#define STB0899_IRQ_4NBYTES
#define STB0899_OFFST_IRQ_4NBYTES
#define STB0899_WIDTH_IRQ_4NBYTES

#define STB0899_DISRX_ST0
#define STB0899_RXEND
#define STB0899_OFFST_RXEND
#define STB0899_WIDTH_RXEND
#define STB0899_RXACTIVE
#define STB0899_OFFST_RXACTIVE
#define STB0899_WIDTH_RXACTIVE
#define STB0899_SHORT22K
#define STB0899_OFFST_SHORT22K
#define STB0899_WIDTH_SHORT22K
#define STB0899_CONTTONE
#define STB0899_OFFST_CONTTONE
#define STB0899_WIDTH_CONTONE
#define STB0899_4BFIFOREDY
#define STB0899_OFFST_4BFIFOREDY
#define STB0899_WIDTH_4BFIFOREDY
#define STB0899_FIFOEMPTY
#define STB0899_OFFST_FIFOEMPTY
#define STB0899_WIDTH_FIFOEMPTY
#define STB0899_ABORTTRX
#define STB0899_OFFST_ABORTTRX
#define STB0899_WIDTH_ABORTTRX

#define STB0899_DISRX_ST1
#define STB0899_RXFAIL
#define STB0899_OFFST_RXFAIL
#define STB0899_WIDTH_RXFAIL
#define STB0899_FIFOPFAIL
#define STB0899_OFFST_FIFOPFAIL
#define STB0899_WIDTH_FIFOPFAIL
#define STB0899_RXNONBYTES
#define STB0899_OFFST_RXNONBYTES
#define STB0899_WIDTH_RXNONBYTES
#define STB0899_FIFOOVF
#define STB0899_OFFST_FIFOOVF
#define STB0899_WIDTH_FIFOOVF
#define STB0899_FIFOBYTENBR
#define STB0899_OFFST_FIFOBYTENBR
#define STB0899_WIDTH_FIFOBYTENBR

#define STB0899_DISPARITY

#define STB0899_DISFIFO

#define STB0899_DISSTATUS
#define STB0899_FIFOFULL
#define STB0899_OFFST_FIFOFULL
#define STB0899_WIDTH_FIFOFULL
#define STB0899_TXIDLE
#define STB0899_OFFST_TXIDLE
#define STB0899_WIDTH_TXIDLE
#define STB0899_GAPBURST
#define STB0899_OFFST_GAPBURST
#define STB0899_WIDTH_GAPBURST
#define STB0899_TXFIFOBYTES
#define STB0899_OFFST_TXFIFOBYTES
#define STB0899_WIDTH_TXFIFOBYTES
#define STB0899_DISF22

#define STB0899_DISF22RX

/*	General Purpose	*/
#define STB0899_SYSREG
#define STB0899_ACRPRESC
#define STB0899_OFFST_RSVD2
#define STB0899_WIDTH_RSVD2
#define STB0899_OFFST_ACRPRESC
#define STB0899_WIDTH_ACRPRESC
#define STB0899_OFFST_RSVD1
#define STB0899_WIDTH_RSVD1
#define STB0899_OFFST_ACRPRESC2
#define STB0899_WIDTH_ACRPRESC2

#define STB0899_ACRDIV1
#define STB0899_ACRDIV2
#define STB0899_DACR1
#define STB0899_DACR2
#define STB0899_OUTCFG
#define STB0899_MODECFG
#define STB0899_NCOARSE

#define STB0899_SYNTCTRL
#define STB0899_STANDBY
#define STB0899_OFFST_STANDBY
#define STB0899_WIDTH_STANDBY
#define STB0899_BYPASSPLL
#define STB0899_OFFST_BYPASSPLL
#define STB0899_WIDTH_BYPASSPLL
#define STB0899_SEL1XRATIO
#define STB0899_OFFST_SEL1XRATIO
#define STB0899_WIDTH_SEL1XRATIO
#define STB0899_SELOSCI
#define STB0899_OFFST_SELOSCI
#define STB0899_WIDTH_SELOSCI

#define STB0899_FILTCTRL
#define STB0899_SYSCTRL

#define STB0899_STOPCLK1
#define STB0899_STOP_CKINTBUF108
#define STB0899_OFFST_STOP_CKINTBUF108
#define STB0899_WIDTH_STOP_CKINTBUF108
#define STB0899_STOP_CKINTBUF216
#define STB0899_OFFST_STOP_CKINTBUF216
#define STB0899_WIDTH_STOP_CKINTBUF216
#define STB0899_STOP_CHK8PSK
#define STB0899_OFFST_STOP_CHK8PSK
#define STB0899_WIDTH_STOP_CHK8PSK
#define STB0899_STOP_CKFEC108
#define STB0899_OFFST_STOP_CKFEC108
#define STB0899_WIDTH_STOP_CKFEC108
#define STB0899_STOP_CKFEC216
#define STB0899_OFFST_STOP_CKFEC216
#define STB0899_WIDTH_STOP_CKFEC216
#define STB0899_STOP_CKCORE216
#define STB0899_OFFST_STOP_CKCORE216
#define STB0899_WIDTH_STOP_CKCORE216
#define STB0899_STOP_CKADCI108
#define STB0899_OFFST_STOP_CKADCI108
#define STB0899_WIDTH_STOP_CKADCI108
#define STB0899_STOP_INVCKADCI108
#define STB0899_OFFST_STOP_INVCKADCI108
#define STB0899_WIDTH_STOP_INVCKADCI108

#define STB0899_STOPCLK2
#define STB0899_STOP_CKS2DMD108
#define STB0899_OFFST_STOP_CKS2DMD108
#define STB0899_WIDTH_STOP_CKS2DMD108
#define STB0899_STOP_CKPKDLIN108
#define STB0899_OFFST_STOP_CKPKDLIN108
#define STB0899_WIDTH_STOP_CKPKDLIN108
#define STB0899_STOP_CKPKDLIN216
#define STB0899_OFFST_STOP_CKPKDLIN216
#define STB0899_WIDTH_STOP_CKPKDLIN216

#define STB0899_TSTTNR1
#define STB0899_BYPASS_ADC
#define STB0899_OFFST_BYPASS_ADC
#define STB0899_WIDTH_BYPASS_ADC
#define STB0899_INVADCICKOUT
#define STB0899_OFFST_INVADCICKOUT
#define STB0899_WIDTH_INVADCICKOUT
#define STB0899_ADCTEST_VOLTAGE
#define STB0899_OFFST_ADCTEST_VOLTAGE
#define STB0899_WIDTH_ADCTEST_VOLTAGE
#define STB0899_ADC_RESET
#define STB0899_OFFST_ADC_RESET
#define STB0899_WIDTH_ADC_RESET
#define STB0899_TSTTNR1_2
#define STB0899_OFFST_TSTTNR1_2
#define STB0899_WIDTH_TSTTNR1_2
#define STB0899_ADCPON
#define STB0899_OFFST_ADCPON
#define STB0899_WIDTH_ADCPON
#define STB0899_ADCIN_MODE
#define STB0899_OFFST_ADCIN_MODE
#define STB0899_WIDTH_ADCIN_MODE

#define STB0899_TSTTNR2
#define STB0899_TSTTNR2_7
#define STB0899_OFFST_TSTTNR2_7
#define STB0899_WIDTH_TSTTNR2_7
#define STB0899_NOT_DISRX_WIRED
#define STB0899_OFFST_NOT_DISRX_WIRED
#define STB0899_WIDTH_NOT_DISRX_WIRED
#define STB0899_DISEQC_DCURRENT
#define STB0899_OFFST_DISEQC_DCURRENT
#define STB0899_WIDTH_DISEQC_DCURRENT
#define STB0899_DISEQC_ZCURRENT
#define STB0899_OFFST_DISEQC_ZCURRENT
#define STB0899_WIDTH_DISEQC_ZCURRENT
#define STB0899_DISEQC_SINC_SOURCE
#define STB0899_OFFST_DISEQC_SINC_SOURCE
#define STB0899_WIDTH_DISEQC_SINC_SOURCE
#define STB0899_SELIQSRC
#define STB0899_OFFST_SELIQSRC
#define STB0899_WIDTH_SELIQSRC

#define STB0899_TSTTNR3

#define STB0899_I2CCFG
#define STB0899_I2CCFGRSVD
#define STB0899_OFFST_I2CCFGRSVD
#define STB0899_WIDTH_I2CCFGRSVD
#define STB0899_I2CFASTMODE
#define STB0899_OFFST_I2CFASTMODE
#define STB0899_WIDTH_I2CFASTMODE
#define STB0899_STATUSWR
#define STB0899_OFFST_STATUSWR
#define STB0899_WIDTH_STATUSWR
#define STB0899_I2CADDRINC
#define STB0899_OFFST_I2CADDRINC
#define STB0899_WIDTH_I2CADDRINC

#define STB0899_I2CRPT
#define STB0899_I2CTON
#define STB0899_OFFST_I2CTON
#define STB0899_WIDTH_I2CTON
#define STB0899_ENARPTLEVEL
#define STB0899_OFFST_ENARPTLEVEL
#define STB0899_WIDTH_ENARPTLEVEL
#define STB0899_SCLTDELAY
#define STB0899_OFFST_SCLTDELAY
#define STB0899_WIDTH_SCLTDELAY
#define STB0899_STOPENA
#define STB0899_OFFST_STOPENA
#define STB0899_WIDTH_STOPENA
#define STB0899_STOPSDAT2SDA
#define STB0899_OFFST_STOPSDAT2SDA
#define STB0899_WIDTH_STOPSDAT2SDA

#define STB0899_IOPVALUE8
#define STB0899_IOPVALUE7
#define STB0899_IOPVALUE6
#define STB0899_IOPVALUE5
#define STB0899_IOPVALUE4
#define STB0899_IOPVALUE3
#define STB0899_IOPVALUE2
#define STB0899_IOPVALUE1
#define STB0899_IOPVALUE0

#define STB0899_GPIO00CFG

#define STB0899_GPIO01CFG
#define STB0899_GPIO02CFG
#define STB0899_GPIO03CFG
#define STB0899_GPIO04CFG
#define STB0899_GPIO05CFG
#define STB0899_GPIO06CFG
#define STB0899_GPIO07CFG
#define STB0899_GPIO08CFG
#define STB0899_GPIO09CFG
#define STB0899_GPIO10CFG
#define STB0899_GPIO11CFG
#define STB0899_GPIO12CFG
#define STB0899_GPIO13CFG
#define STB0899_GPIO14CFG
#define STB0899_GPIO15CFG
#define STB0899_GPIO16CFG
#define STB0899_GPIO17CFG
#define STB0899_GPIO18CFG
#define STB0899_GPIO19CFG
#define STB0899_GPIO20CFG

#define STB0899_SDATCFG
#define STB0899_SCLTCFG
#define STB0899_AGCRFCFG
#define STB0899_GPIO22
#define STB0899_GPIO21
#define STB0899_DIRCLKCFG
#define STB0899_CLKOUT27CFG
#define STB0899_STDBYCFG
#define STB0899_CS0CFG
#define STB0899_CS1CFG
#define STB0899_DISEQCOCFG

#define STB0899_GPIO32CFG
#define STB0899_GPIO33CFG
#define STB0899_GPIO34CFG
#define STB0899_GPIO35CFG
#define STB0899_GPIO36CFG
#define STB0899_GPIO37CFG
#define STB0899_GPIO38CFG
#define STB0899_GPIO39CFG

#define STB0899_IRQSTATUS_3
#define STB0899_IRQSTATUS_2
#define STB0899_IRQSTATUS_1
#define STB0899_IRQSTATUS_0

#define STB0899_IRQMSK_3
#define STB0899_IRQMSK_2
#define STB0899_IRQMSK_1
#define STB0899_IRQMSK_0

#define STB0899_IRQCFG

#define STB0899_GHOSTREG

#define STB0899_S2DEMOD
#define STB0899_S2FEC


#endif