xref: /openbmc/linux/drivers/media/dvb-frontends/drxk_map.h (revision 498495dba268b20e8eadd7fe93c140c68b6cc9d2)
1*b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */
29a0bf528SMauro Carvalho Chehab #define  AUD_COMM_EXEC__A                                                  0x1000000
39a0bf528SMauro Carvalho Chehab #define    AUD_COMM_EXEC_STOP                                              0x0
49a0bf528SMauro Carvalho Chehab #define  FEC_COMM_EXEC__A                                                  0x1C00000
59a0bf528SMauro Carvalho Chehab #define    FEC_COMM_EXEC_STOP                                              0x0
69a0bf528SMauro Carvalho Chehab #define    FEC_COMM_EXEC_ACTIVE                                            0x1
79a0bf528SMauro Carvalho Chehab #define  FEC_DI_COMM_EXEC__A                                               0x1C20000
89a0bf528SMauro Carvalho Chehab #define    FEC_DI_COMM_EXEC_STOP                                           0x0
99a0bf528SMauro Carvalho Chehab #define  FEC_DI_INPUT_CTL__A                                               0x1C20016
109a0bf528SMauro Carvalho Chehab #define  FEC_RS_COMM_EXEC__A                                               0x1C30000
119a0bf528SMauro Carvalho Chehab #define    FEC_RS_COMM_EXEC_STOP                                           0x0
129a0bf528SMauro Carvalho Chehab #define  FEC_RS_MEASUREMENT_PERIOD__A                                      0x1C30012
139a0bf528SMauro Carvalho Chehab #define  FEC_RS_MEASUREMENT_PRESCALE__A                                    0x1C30013
148f3741e0SMauro Carvalho Chehab #define FEC_RS_NR_BIT_ERRORS__A                                            0x1C30014
159a0bf528SMauro Carvalho Chehab #define  FEC_OC_MODE__A                                                    0x1C40011
169a0bf528SMauro Carvalho Chehab #define    FEC_OC_MODE_PARITY__M                                           0x1
179a0bf528SMauro Carvalho Chehab #define  FEC_OC_DTO_MODE__A                                                0x1C40014
189a0bf528SMauro Carvalho Chehab #define    FEC_OC_DTO_MODE_DYNAMIC__M                                      0x1
199a0bf528SMauro Carvalho Chehab #define    FEC_OC_DTO_MODE_OFFSET_ENABLE__M                                0x4
209a0bf528SMauro Carvalho Chehab #define  FEC_OC_DTO_PERIOD__A                                              0x1C40015
219a0bf528SMauro Carvalho Chehab #define  FEC_OC_DTO_BURST_LEN__A                                           0x1C40018
229a0bf528SMauro Carvalho Chehab #define  FEC_OC_FCT_MODE__A                                                0x1C4001A
239a0bf528SMauro Carvalho Chehab #define  FEC_OC_FCT_MODE__PRE                                              0x0
249a0bf528SMauro Carvalho Chehab #define    FEC_OC_FCT_MODE_RAT_ENA__M                                      0x1
259a0bf528SMauro Carvalho Chehab #define    FEC_OC_FCT_MODE_VIRT_ENA__M                                     0x2
269a0bf528SMauro Carvalho Chehab #define  FEC_OC_TMD_MODE__A                                                0x1C4001E
279a0bf528SMauro Carvalho Chehab #define  FEC_OC_TMD_COUNT__A                                               0x1C4001F
289a0bf528SMauro Carvalho Chehab #define  FEC_OC_TMD_HI_MARGIN__A                                           0x1C40020
299a0bf528SMauro Carvalho Chehab #define  FEC_OC_TMD_LO_MARGIN__A                                           0x1C40021
309a0bf528SMauro Carvalho Chehab #define  FEC_OC_TMD_INT_UPD_RATE__A                                        0x1C40023
319a0bf528SMauro Carvalho Chehab #define  FEC_OC_AVR_PARM_A__A                                              0x1C40026
329a0bf528SMauro Carvalho Chehab #define  FEC_OC_AVR_PARM_B__A                                              0x1C40027
339a0bf528SMauro Carvalho Chehab #define  FEC_OC_RCN_GAIN__A                                                0x1C4002E
349a0bf528SMauro Carvalho Chehab #define  FEC_OC_RCN_CTL_RATE_LO__A                                         0x1C40030
359a0bf528SMauro Carvalho Chehab #define  FEC_OC_RCN_CTL_STEP_LO__A                                         0x1C40032
369a0bf528SMauro Carvalho Chehab #define  FEC_OC_RCN_CTL_STEP_HI__A                                         0x1C40033
379a0bf528SMauro Carvalho Chehab #define  FEC_OC_SNC_MODE__A                                                0x1C40040
389a0bf528SMauro Carvalho Chehab #define    FEC_OC_SNC_MODE_SHUTDOWN__M                                     0x10
399a0bf528SMauro Carvalho Chehab #define  FEC_OC_SNC_LWM__A                                                 0x1C40041
409a0bf528SMauro Carvalho Chehab #define  FEC_OC_SNC_HWM__A                                                 0x1C40042
419a0bf528SMauro Carvalho Chehab #define  FEC_OC_SNC_UNLOCK__A                                              0x1C40043
429a0bf528SMauro Carvalho Chehab #define  FEC_OC_SNC_FAIL_PERIOD__A                                         0x1C40046
439a0bf528SMauro Carvalho Chehab #define  FEC_OC_IPR_MODE__A                                                0x1C40048
449a0bf528SMauro Carvalho Chehab #define    FEC_OC_IPR_MODE_SERIAL__M                                       0x1
459a0bf528SMauro Carvalho Chehab #define    FEC_OC_IPR_MODE_MCLK_DIS_DAT_ABS__M                             0x4
469a0bf528SMauro Carvalho Chehab #define    FEC_OC_IPR_MODE_MVAL_DIS_PAR__M                                 0x10
479a0bf528SMauro Carvalho Chehab #define  FEC_OC_IPR_INVERT__A                                              0x1C40049
489a0bf528SMauro Carvalho Chehab #define    FEC_OC_IPR_INVERT_MD0__M                                        0x1
499a0bf528SMauro Carvalho Chehab #define    FEC_OC_IPR_INVERT_MD1__M                                        0x2
509a0bf528SMauro Carvalho Chehab #define    FEC_OC_IPR_INVERT_MD2__M                                        0x4
519a0bf528SMauro Carvalho Chehab #define    FEC_OC_IPR_INVERT_MD3__M                                        0x8
529a0bf528SMauro Carvalho Chehab #define    FEC_OC_IPR_INVERT_MD4__M                                        0x10
539a0bf528SMauro Carvalho Chehab #define    FEC_OC_IPR_INVERT_MD5__M                                        0x20
549a0bf528SMauro Carvalho Chehab #define    FEC_OC_IPR_INVERT_MD6__M                                        0x40
559a0bf528SMauro Carvalho Chehab #define    FEC_OC_IPR_INVERT_MD7__M                                        0x80
569a0bf528SMauro Carvalho Chehab #define    FEC_OC_IPR_INVERT_MERR__M                                       0x100
579a0bf528SMauro Carvalho Chehab #define    FEC_OC_IPR_INVERT_MSTRT__M                                      0x200
589a0bf528SMauro Carvalho Chehab #define    FEC_OC_IPR_INVERT_MVAL__M                                       0x400
599a0bf528SMauro Carvalho Chehab #define    FEC_OC_IPR_INVERT_MCLK__M                                       0x800
609a0bf528SMauro Carvalho Chehab #define  FEC_OC_OCR_INVERT__A                                              0x1C40052
619a0bf528SMauro Carvalho Chehab #define  IQM_COMM_EXEC__A                                                  0x1800000
629a0bf528SMauro Carvalho Chehab #define      IQM_COMM_EXEC_B_STOP                                          0x0
639a0bf528SMauro Carvalho Chehab #define      IQM_COMM_EXEC_B_ACTIVE                                        0x1
649a0bf528SMauro Carvalho Chehab #define  IQM_FS_RATE_OFS_LO__A                                             0x1820010
659a0bf528SMauro Carvalho Chehab #define  IQM_FS_ADJ_SEL__A                                                 0x1820014
669a0bf528SMauro Carvalho Chehab #define      IQM_FS_ADJ_SEL_B_OFF                                          0x0
679a0bf528SMauro Carvalho Chehab #define      IQM_FS_ADJ_SEL_B_QAM                                          0x1
689a0bf528SMauro Carvalho Chehab #define      IQM_FS_ADJ_SEL_B_VSB                                          0x2
699a0bf528SMauro Carvalho Chehab #define  IQM_FD_RATESEL__A                                                 0x1830010
709a0bf528SMauro Carvalho Chehab #define  IQM_RC_RATE_OFS_LO__A                                             0x1840010
719a0bf528SMauro Carvalho Chehab #define  IQM_RC_RATE_OFS_LO__W                                             16
729a0bf528SMauro Carvalho Chehab #define  IQM_RC_RATE_OFS_LO__M                                             0xFFFF
739a0bf528SMauro Carvalho Chehab #define  IQM_RC_RATE_OFS_HI__M                                             0xFF
749a0bf528SMauro Carvalho Chehab #define  IQM_RC_ADJ_SEL__A                                                 0x1840014
759a0bf528SMauro Carvalho Chehab #define      IQM_RC_ADJ_SEL_B_OFF                                          0x0
769a0bf528SMauro Carvalho Chehab #define      IQM_RC_ADJ_SEL_B_QAM                                          0x1
779a0bf528SMauro Carvalho Chehab #define      IQM_RC_ADJ_SEL_B_VSB                                          0x2
789a0bf528SMauro Carvalho Chehab #define  IQM_RC_STRETCH__A                                                 0x1840016
799a0bf528SMauro Carvalho Chehab #define  IQM_CF_COMM_INT_MSK__A                                            0x1860006
809a0bf528SMauro Carvalho Chehab #define  IQM_CF_SYMMETRIC__A                                               0x1860010
819a0bf528SMauro Carvalho Chehab #define  IQM_CF_MIDTAP__A                                                  0x1860011
829a0bf528SMauro Carvalho Chehab #define    IQM_CF_MIDTAP_RE__B                                             0
839a0bf528SMauro Carvalho Chehab #define    IQM_CF_MIDTAP_IM__B                                             1
849a0bf528SMauro Carvalho Chehab #define  IQM_CF_OUT_ENA__A                                                 0x1860012
859a0bf528SMauro Carvalho Chehab #define    IQM_CF_OUT_ENA_QAM__B                                           1
869a0bf528SMauro Carvalho Chehab #define    IQM_CF_OUT_ENA_OFDM__M                                          0x4
879a0bf528SMauro Carvalho Chehab #define  IQM_CF_ADJ_SEL__A                                                 0x1860013
889a0bf528SMauro Carvalho Chehab #define  IQM_CF_SCALE__A                                                   0x1860014
899a0bf528SMauro Carvalho Chehab #define  IQM_CF_SCALE_SH__A                                                0x1860015
909a0bf528SMauro Carvalho Chehab #define  IQM_CF_SCALE_SH__PRE                                              0x0
919a0bf528SMauro Carvalho Chehab #define  IQM_CF_POW_MEAS_LEN__A                                            0x1860017
929a0bf528SMauro Carvalho Chehab #define  IQM_CF_DS_ENA__A                                                  0x1860019
939a0bf528SMauro Carvalho Chehab #define  IQM_CF_TAP_RE0__A                                                 0x1860020
949a0bf528SMauro Carvalho Chehab #define  IQM_CF_TAP_IM0__A                                                 0x1860040
959a0bf528SMauro Carvalho Chehab #define  IQM_CF_CLP_VAL__A                                                 0x1860060
969a0bf528SMauro Carvalho Chehab #define  IQM_CF_DATATH__A                                                  0x1860061
979a0bf528SMauro Carvalho Chehab #define  IQM_CF_PKDTH__A                                                   0x1860062
989a0bf528SMauro Carvalho Chehab #define  IQM_CF_WND_LEN__A                                                 0x1860063
999a0bf528SMauro Carvalho Chehab #define  IQM_CF_DET_LCT__A                                                 0x1860064
1009a0bf528SMauro Carvalho Chehab #define  IQM_CF_BYPASSDET__A                                               0x1860067
1019a0bf528SMauro Carvalho Chehab #define  IQM_AF_COMM_EXEC__A                                               0x1870000
1029a0bf528SMauro Carvalho Chehab #define    IQM_AF_COMM_EXEC_ACTIVE                                         0x1
1039a0bf528SMauro Carvalho Chehab #define  IQM_AF_CLKNEG__A                                                  0x1870012
1049a0bf528SMauro Carvalho Chehab #define    IQM_AF_CLKNEG_CLKNEGDATA__M                                     0x2
1059a0bf528SMauro Carvalho Chehab #define      IQM_AF_CLKNEG_CLKNEGDATA_CLK_ADC_DATA_POS                     0x0
1069a0bf528SMauro Carvalho Chehab #define      IQM_AF_CLKNEG_CLKNEGDATA_CLK_ADC_DATA_NEG                     0x2
1079a0bf528SMauro Carvalho Chehab #define  IQM_AF_START_LOCK__A                                              0x187001B
1089a0bf528SMauro Carvalho Chehab #define  IQM_AF_PHASE0__A                                                  0x187001C
1099a0bf528SMauro Carvalho Chehab #define  IQM_AF_PHASE1__A                                                  0x187001D
1109a0bf528SMauro Carvalho Chehab #define  IQM_AF_PHASE2__A                                                  0x187001E
1119a0bf528SMauro Carvalho Chehab #define  IQM_AF_CLP_LEN__A                                                 0x1870023
1129a0bf528SMauro Carvalho Chehab #define  IQM_AF_CLP_TH__A                                                  0x1870024
1139a0bf528SMauro Carvalho Chehab #define  IQM_AF_SNS_LEN__A                                                 0x1870026
1149a0bf528SMauro Carvalho Chehab #define  IQM_AF_AGC_IF__A                                                  0x1870028
1159a0bf528SMauro Carvalho Chehab #define  IQM_AF_AGC_RF__A                                                  0x1870029
1169a0bf528SMauro Carvalho Chehab #define  IQM_AF_PDREF__A                                                   0x187002B
1179a0bf528SMauro Carvalho Chehab #define  IQM_AF_PDREF__M                                                   0x1F
1189a0bf528SMauro Carvalho Chehab #define  IQM_AF_STDBY__A                                                   0x187002C
1199a0bf528SMauro Carvalho Chehab #define      IQM_AF_STDBY_STDBY_ADC_STANDBY                                0x2
1209a0bf528SMauro Carvalho Chehab #define      IQM_AF_STDBY_STDBY_AMP_STANDBY                                0x4
1219a0bf528SMauro Carvalho Chehab #define      IQM_AF_STDBY_STDBY_PD_STANDBY                                 0x8
1229a0bf528SMauro Carvalho Chehab #define      IQM_AF_STDBY_STDBY_TAGC_IF_STANDBY                            0x10
1239a0bf528SMauro Carvalho Chehab #define      IQM_AF_STDBY_STDBY_TAGC_RF_STANDBY                            0x20
1249a0bf528SMauro Carvalho Chehab #define  IQM_AF_AMUX__A                                                    0x187002D
1259a0bf528SMauro Carvalho Chehab #define    IQM_AF_AMUX_SIGNAL2ADC                                          0x1
1269a0bf528SMauro Carvalho Chehab #define  IQM_AF_UPD_SEL__A                                                 0x187002F
1279a0bf528SMauro Carvalho Chehab #define  IQM_AF_INC_LCT__A                                                 0x1870034
1289a0bf528SMauro Carvalho Chehab #define  IQM_AF_INC_BYPASS__A                                              0x1870036
1299a0bf528SMauro Carvalho Chehab #define  OFDM_CP_COMM_EXEC__A                                              0x2800000
1309a0bf528SMauro Carvalho Chehab #define    OFDM_CP_COMM_EXEC_STOP                                          0x0
1319a0bf528SMauro Carvalho Chehab #define  OFDM_EC_SB_PRIOR__A                                               0x3410013
1329a0bf528SMauro Carvalho Chehab #define    OFDM_EC_SB_PRIOR_HI                                             0x0
1339a0bf528SMauro Carvalho Chehab #define    OFDM_EC_SB_PRIOR_LO                                             0x1
1348f3741e0SMauro Carvalho Chehab #define OFDM_EC_VD_ERR_BIT_CNT__A                                          0x3420017
1358f3741e0SMauro Carvalho Chehab #define OFDM_EC_VD_IN_BIT_CNT__A                                           0x3420018
1369a0bf528SMauro Carvalho Chehab #define  OFDM_EQ_TOP_TD_TPS_CONST__A                                       0x3010054
1379a0bf528SMauro Carvalho Chehab #define  OFDM_EQ_TOP_TD_TPS_CONST__M                                       0x3
1389a0bf528SMauro Carvalho Chehab #define    OFDM_EQ_TOP_TD_TPS_CONST_64QAM                                  0x2
1399a0bf528SMauro Carvalho Chehab #define  OFDM_EQ_TOP_TD_TPS_CODE_HP__A                                     0x3010056
1409a0bf528SMauro Carvalho Chehab #define  OFDM_EQ_TOP_TD_TPS_CODE_HP__M                                     0x7
1419a0bf528SMauro Carvalho Chehab #define    OFDM_EQ_TOP_TD_TPS_CODE_LP_7_8                                  0x4
1429a0bf528SMauro Carvalho Chehab #define  OFDM_EQ_TOP_TD_SQR_ERR_I__A                                       0x301005E
1439a0bf528SMauro Carvalho Chehab #define  OFDM_EQ_TOP_TD_SQR_ERR_Q__A                                       0x301005F
1449a0bf528SMauro Carvalho Chehab #define  OFDM_EQ_TOP_TD_SQR_ERR_EXP__A                                     0x3010060
1459a0bf528SMauro Carvalho Chehab #define  OFDM_EQ_TOP_TD_REQ_SMB_CNT__A                                     0x3010061
1469a0bf528SMauro Carvalho Chehab #define  OFDM_EQ_TOP_TD_TPS_PWR_OFS__A                                     0x3010062
1479a0bf528SMauro Carvalho Chehab #define  OFDM_LC_COMM_EXEC__A                                              0x3800000
1489a0bf528SMauro Carvalho Chehab #define    OFDM_LC_COMM_EXEC_STOP                                          0x0
1499a0bf528SMauro Carvalho Chehab #define  OFDM_SC_COMM_EXEC__A                                              0x3C00000
1509a0bf528SMauro Carvalho Chehab #define    OFDM_SC_COMM_EXEC_STOP                                          0x0
1519a0bf528SMauro Carvalho Chehab #define  OFDM_SC_COMM_STATE__A                                             0x3C00001
1529a0bf528SMauro Carvalho Chehab #define  OFDM_SC_RA_RAM_PARAM0__A                                          0x3C20040
1539a0bf528SMauro Carvalho Chehab #define  OFDM_SC_RA_RAM_PARAM1__A                                          0x3C20041
1549a0bf528SMauro Carvalho Chehab #define  OFDM_SC_RA_RAM_CMD_ADDR__A                                        0x3C20042
1559a0bf528SMauro Carvalho Chehab #define  OFDM_SC_RA_RAM_CMD__A                                             0x3C20043
1569a0bf528SMauro Carvalho Chehab #define    OFDM_SC_RA_RAM_CMD_NULL                                         0x0
1579a0bf528SMauro Carvalho Chehab #define    OFDM_SC_RA_RAM_CMD_PROC_START                                   0x1
1589a0bf528SMauro Carvalho Chehab #define    OFDM_SC_RA_RAM_CMD_SET_PREF_PARAM                               0x3
1599a0bf528SMauro Carvalho Chehab #define    OFDM_SC_RA_RAM_CMD_PROGRAM_PARAM                                0x4
1609a0bf528SMauro Carvalho Chehab #define    OFDM_SC_RA_RAM_CMD_GET_OP_PARAM                                 0x5
1619a0bf528SMauro Carvalho Chehab #define    OFDM_SC_RA_RAM_CMD_USER_IO                                      0x6
1629a0bf528SMauro Carvalho Chehab #define    OFDM_SC_RA_RAM_CMD_SET_TIMER                                    0x7
1639a0bf528SMauro Carvalho Chehab #define    OFDM_SC_RA_RAM_CMD_SET_ECHO_TIMING                              0x8
1649a0bf528SMauro Carvalho Chehab #define    OFDM_SC_RA_RAM_SW_EVENT_RUN_NMASK__M                            0x1
1659a0bf528SMauro Carvalho Chehab #define    OFDM_SC_RA_RAM_LOCKTRACK_MIN                                    0x1
1669a0bf528SMauro Carvalho Chehab #define  OFDM_SC_RA_RAM_OP_PARAM__A                                        0x3C20048
1679a0bf528SMauro Carvalho Chehab #define    OFDM_SC_RA_RAM_OP_PARAM_MODE__M                                 0x3
1689a0bf528SMauro Carvalho Chehab #define      OFDM_SC_RA_RAM_OP_PARAM_MODE_2K                               0x0
1699a0bf528SMauro Carvalho Chehab #define      OFDM_SC_RA_RAM_OP_PARAM_MODE_8K                               0x1
1709a0bf528SMauro Carvalho Chehab #define      OFDM_SC_RA_RAM_OP_PARAM_GUARD_32                              0x0
1719a0bf528SMauro Carvalho Chehab #define      OFDM_SC_RA_RAM_OP_PARAM_GUARD_16                              0x4
1729a0bf528SMauro Carvalho Chehab #define      OFDM_SC_RA_RAM_OP_PARAM_GUARD_8                               0x8
1739a0bf528SMauro Carvalho Chehab #define      OFDM_SC_RA_RAM_OP_PARAM_GUARD_4                               0xC
1749a0bf528SMauro Carvalho Chehab #define      OFDM_SC_RA_RAM_OP_PARAM_CONST_QPSK                            0x0
1759a0bf528SMauro Carvalho Chehab #define      OFDM_SC_RA_RAM_OP_PARAM_CONST_QAM16                           0x10
1769a0bf528SMauro Carvalho Chehab #define      OFDM_SC_RA_RAM_OP_PARAM_CONST_QAM64                           0x20
1779a0bf528SMauro Carvalho Chehab #define      OFDM_SC_RA_RAM_OP_PARAM_HIER_NO                               0x0
1789a0bf528SMauro Carvalho Chehab #define      OFDM_SC_RA_RAM_OP_PARAM_HIER_A1                               0x40
1799a0bf528SMauro Carvalho Chehab #define      OFDM_SC_RA_RAM_OP_PARAM_HIER_A2                               0x80
1809a0bf528SMauro Carvalho Chehab #define      OFDM_SC_RA_RAM_OP_PARAM_HIER_A4                               0xC0
1819a0bf528SMauro Carvalho Chehab #define      OFDM_SC_RA_RAM_OP_PARAM_RATE_1_2                              0x0
1829a0bf528SMauro Carvalho Chehab #define      OFDM_SC_RA_RAM_OP_PARAM_RATE_2_3                              0x200
1839a0bf528SMauro Carvalho Chehab #define      OFDM_SC_RA_RAM_OP_PARAM_RATE_3_4                              0x400
1849a0bf528SMauro Carvalho Chehab #define      OFDM_SC_RA_RAM_OP_PARAM_RATE_5_6                              0x600
1859a0bf528SMauro Carvalho Chehab #define      OFDM_SC_RA_RAM_OP_PARAM_RATE_7_8                              0x800
1869a0bf528SMauro Carvalho Chehab #define      OFDM_SC_RA_RAM_OP_PARAM_PRIO_HI                               0x0
1879a0bf528SMauro Carvalho Chehab #define      OFDM_SC_RA_RAM_OP_PARAM_PRIO_LO                               0x1000
1889a0bf528SMauro Carvalho Chehab #define    OFDM_SC_RA_RAM_OP_AUTO_MODE__M                                  0x1
1899a0bf528SMauro Carvalho Chehab #define    OFDM_SC_RA_RAM_OP_AUTO_GUARD__M                                 0x2
1909a0bf528SMauro Carvalho Chehab #define    OFDM_SC_RA_RAM_OP_AUTO_CONST__M                                 0x4
1919a0bf528SMauro Carvalho Chehab #define    OFDM_SC_RA_RAM_OP_AUTO_HIER__M                                  0x8
1929a0bf528SMauro Carvalho Chehab #define    OFDM_SC_RA_RAM_OP_AUTO_RATE__M                                  0x10
1939a0bf528SMauro Carvalho Chehab #define  OFDM_SC_RA_RAM_LOCK__A                                            0x3C2004B
1949a0bf528SMauro Carvalho Chehab #define    OFDM_SC_RA_RAM_LOCK_DEMOD__M                                    0x1
1959a0bf528SMauro Carvalho Chehab #define    OFDM_SC_RA_RAM_LOCK_FEC__M                                      0x2
1969a0bf528SMauro Carvalho Chehab #define    OFDM_SC_RA_RAM_LOCK_MPEG__M                                     0x4
1979a0bf528SMauro Carvalho Chehab #define    OFDM_SC_RA_RAM_LOCK_NODVBT__M                                   0x8
1989a0bf528SMauro Carvalho Chehab #define  OFDM_SC_RA_RAM_BE_OPT_DELAY__A                                    0x3C2004D
1999a0bf528SMauro Carvalho Chehab #define  OFDM_SC_RA_RAM_BE_OPT_INIT_DELAY__A                               0x3C2004E
2009a0bf528SMauro Carvalho Chehab #define  OFDM_SC_RA_RAM_ECHO_THRES__A                                      0x3C2004F
2019a0bf528SMauro Carvalho Chehab #define    OFDM_SC_RA_RAM_ECHO_THRES_8K__B                                 0
2029a0bf528SMauro Carvalho Chehab #define    OFDM_SC_RA_RAM_ECHO_THRES_8K__M                                 0xFF
2039a0bf528SMauro Carvalho Chehab #define    OFDM_SC_RA_RAM_ECHO_THRES_2K__B                                 8
2049a0bf528SMauro Carvalho Chehab #define    OFDM_SC_RA_RAM_ECHO_THRES_2K__M                                 0xFF00
2059a0bf528SMauro Carvalho Chehab #define  OFDM_SC_RA_RAM_CONFIG__A                                          0x3C20050
2069a0bf528SMauro Carvalho Chehab #define    OFDM_SC_RA_RAM_CONFIG_NE_FIX_ENABLE__M                          0x800
2079a0bf528SMauro Carvalho Chehab #define  OFDM_SC_RA_RAM_FR_THRES_8K__A                                     0x3C2007D
2089a0bf528SMauro Carvalho Chehab #define  OFDM_SC_RA_RAM_NI_INIT_2K_PER_LEFT__A                             0x3C200E0
2099a0bf528SMauro Carvalho Chehab #define  OFDM_SC_RA_RAM_NI_INIT_2K_PER_RIGHT__A                            0x3C200E1
2109a0bf528SMauro Carvalho Chehab #define  OFDM_SC_RA_RAM_NI_INIT_8K_PER_LEFT__A                             0x3C200E3
2119a0bf528SMauro Carvalho Chehab #define  OFDM_SC_RA_RAM_NI_INIT_8K_PER_RIGHT__A                            0x3C200E4
2129a0bf528SMauro Carvalho Chehab #define  OFDM_SC_RA_RAM_SRMM_FIX_FACT_8K__A                                0x3C200F8
2139a0bf528SMauro Carvalho Chehab #define  QAM_COMM_EXEC__A                                                  0x1400000
2149a0bf528SMauro Carvalho Chehab #define    QAM_COMM_EXEC_STOP                                              0x0
2159a0bf528SMauro Carvalho Chehab #define    QAM_COMM_EXEC_ACTIVE                                            0x1
2169a0bf528SMauro Carvalho Chehab #define    QAM_TOP_ANNEX_A                                                 0x0
2179a0bf528SMauro Carvalho Chehab #define    QAM_TOP_ANNEX_C                                                 0x2
2189a0bf528SMauro Carvalho Chehab #define  QAM_SL_ERR_POWER__A                                               0x1430017
2199a0bf528SMauro Carvalho Chehab #define  QAM_DQ_QUAL_FUN0__A                                               0x1440018
2209a0bf528SMauro Carvalho Chehab #define  QAM_DQ_QUAL_FUN1__A                                               0x1440019
2219a0bf528SMauro Carvalho Chehab #define  QAM_DQ_QUAL_FUN2__A                                               0x144001A
2229a0bf528SMauro Carvalho Chehab #define  QAM_DQ_QUAL_FUN3__A                                               0x144001B
2239a0bf528SMauro Carvalho Chehab #define  QAM_DQ_QUAL_FUN4__A                                               0x144001C
2249a0bf528SMauro Carvalho Chehab #define  QAM_DQ_QUAL_FUN5__A                                               0x144001D
2259a0bf528SMauro Carvalho Chehab #define  QAM_LC_MODE__A                                                    0x1450010
2269a0bf528SMauro Carvalho Chehab #define  QAM_LC_QUAL_TAB0__A                                               0x1450018
2279a0bf528SMauro Carvalho Chehab #define  QAM_LC_QUAL_TAB1__A                                               0x1450019
2289a0bf528SMauro Carvalho Chehab #define  QAM_LC_QUAL_TAB2__A                                               0x145001A
2299a0bf528SMauro Carvalho Chehab #define  QAM_LC_QUAL_TAB3__A                                               0x145001B
2309a0bf528SMauro Carvalho Chehab #define  QAM_LC_QUAL_TAB4__A                                               0x145001C
2319a0bf528SMauro Carvalho Chehab #define  QAM_LC_QUAL_TAB5__A                                               0x145001D
2329a0bf528SMauro Carvalho Chehab #define  QAM_LC_QUAL_TAB6__A                                               0x145001E
2339a0bf528SMauro Carvalho Chehab #define  QAM_LC_QUAL_TAB8__A                                               0x145001F
2349a0bf528SMauro Carvalho Chehab #define  QAM_LC_QUAL_TAB9__A                                               0x1450020
2359a0bf528SMauro Carvalho Chehab #define  QAM_LC_QUAL_TAB10__A                                              0x1450021
2369a0bf528SMauro Carvalho Chehab #define  QAM_LC_QUAL_TAB12__A                                              0x1450022
2379a0bf528SMauro Carvalho Chehab #define  QAM_LC_QUAL_TAB15__A                                              0x1450023
2389a0bf528SMauro Carvalho Chehab #define  QAM_LC_QUAL_TAB16__A                                              0x1450024
2399a0bf528SMauro Carvalho Chehab #define  QAM_LC_QUAL_TAB20__A                                              0x1450025
2409a0bf528SMauro Carvalho Chehab #define  QAM_LC_QUAL_TAB25__A                                              0x1450026
2419a0bf528SMauro Carvalho Chehab #define  QAM_LC_LPF_FACTORP__A                                             0x1450028
2429a0bf528SMauro Carvalho Chehab #define  QAM_LC_LPF_FACTORI__A                                             0x1450029
2439a0bf528SMauro Carvalho Chehab #define  QAM_LC_RATE_LIMIT__A                                              0x145002A
2449a0bf528SMauro Carvalho Chehab #define  QAM_LC_SYMBOL_FREQ__A                                             0x145002B
2459a0bf528SMauro Carvalho Chehab #define  QAM_SY_TIMEOUT__A                                                 0x1470011
2469a0bf528SMauro Carvalho Chehab #define  QAM_SY_TIMEOUT__PRE                                               0x3A98
2479a0bf528SMauro Carvalho Chehab #define  QAM_SY_SYNC_LWM__A                                                0x1470012
2489a0bf528SMauro Carvalho Chehab #define  QAM_SY_SYNC_AWM__A                                                0x1470013
2499a0bf528SMauro Carvalho Chehab #define  QAM_SY_SYNC_HWM__A                                                0x1470014
2509a0bf528SMauro Carvalho Chehab #define  QAM_SY_SP_INV__A                                                  0x1470017
2519a0bf528SMauro Carvalho Chehab #define    QAM_SY_SP_INV_SPECTRUM_INV_DIS                                  0x0
2529a0bf528SMauro Carvalho Chehab #define  SCU_COMM_EXEC__A                                                  0x800000
2539a0bf528SMauro Carvalho Chehab #define    SCU_COMM_EXEC_STOP                                              0x0
2549a0bf528SMauro Carvalho Chehab #define    SCU_COMM_EXEC_ACTIVE                                            0x1
2559a0bf528SMauro Carvalho Chehab #define    SCU_COMM_EXEC_HOLD                                              0x2
2569a0bf528SMauro Carvalho Chehab #define  SCU_RAM_DRIVER_DEBUG__A                                           0x831EBF
2579a0bf528SMauro Carvalho Chehab #define  SCU_RAM_QAM_FSM_STEP_PERIOD__A                                    0x831EC4
2589a0bf528SMauro Carvalho Chehab #define  SCU_RAM_GPIO__A                                                   0x831EC7
2599a0bf528SMauro Carvalho Chehab #define      SCU_RAM_GPIO_HW_LOCK_IND_DISABLE                              0x0
2609a0bf528SMauro Carvalho Chehab #define  SCU_RAM_AGC_CLP_CTRL_MODE__A                                      0x831EC8
2619a0bf528SMauro Carvalho Chehab #define  SCU_RAM_FEC_ACCUM_PKT_FAILURES__A                                 0x831ECB
2629a0bf528SMauro Carvalho Chehab #define  SCU_RAM_FEC_PRE_RS_BER_FILTER_SH__A                               0x831F05
2639a0bf528SMauro Carvalho Chehab #define  SCU_RAM_AGC_FAST_SNS_CTRL_DELAY__A                                0x831F15
2649a0bf528SMauro Carvalho Chehab #define  SCU_RAM_AGC_KI_CYCLEN__A                                          0x831F17
2659a0bf528SMauro Carvalho Chehab #define  SCU_RAM_AGC_SNS_CYCLEN__A                                         0x831F18
2669a0bf528SMauro Carvalho Chehab #define  SCU_RAM_AGC_RF_SNS_DEV_MAX__A                                     0x831F19
2679a0bf528SMauro Carvalho Chehab #define  SCU_RAM_AGC_RF_SNS_DEV_MIN__A                                     0x831F1A
2689a0bf528SMauro Carvalho Chehab #define  SCU_RAM_AGC_RF_MAX__A                                             0x831F1B
2699a0bf528SMauro Carvalho Chehab #define  SCU_RAM_AGC_CONFIG__A                                             0x831F24
2709a0bf528SMauro Carvalho Chehab #define    SCU_RAM_AGC_CONFIG_DISABLE_RF_AGC__M                            0x1
2719a0bf528SMauro Carvalho Chehab #define    SCU_RAM_AGC_CONFIG_DISABLE_IF_AGC__M                            0x2
2729a0bf528SMauro Carvalho Chehab #define    SCU_RAM_AGC_CONFIG_INV_IF_POL__M                                0x100
2739a0bf528SMauro Carvalho Chehab #define    SCU_RAM_AGC_CONFIG_INV_RF_POL__M                                0x200
2749a0bf528SMauro Carvalho Chehab #define  SCU_RAM_AGC_KI__A                                                 0x831F25
2759a0bf528SMauro Carvalho Chehab #define    SCU_RAM_AGC_KI_RF__B                                            4
2769a0bf528SMauro Carvalho Chehab #define    SCU_RAM_AGC_KI_RF__M                                            0xF0
2779a0bf528SMauro Carvalho Chehab #define    SCU_RAM_AGC_KI_IF__B                                            8
2789a0bf528SMauro Carvalho Chehab #define    SCU_RAM_AGC_KI_IF__M                                            0xF00
2799a0bf528SMauro Carvalho Chehab #define  SCU_RAM_AGC_KI_RED__A                                             0x831F26
2809a0bf528SMauro Carvalho Chehab #define    SCU_RAM_AGC_KI_RED_RAGC_RED__B                                  2
2819a0bf528SMauro Carvalho Chehab #define    SCU_RAM_AGC_KI_RED_RAGC_RED__M                                  0xC
2829a0bf528SMauro Carvalho Chehab #define    SCU_RAM_AGC_KI_RED_IAGC_RED__B                                  4
2839a0bf528SMauro Carvalho Chehab #define    SCU_RAM_AGC_KI_RED_IAGC_RED__M                                  0x30
2849a0bf528SMauro Carvalho Chehab #define  SCU_RAM_AGC_KI_INNERGAIN_MIN__A                                   0x831F27
2859a0bf528SMauro Carvalho Chehab #define  SCU_RAM_AGC_KI_MINGAIN__A                                         0x831F28
2869a0bf528SMauro Carvalho Chehab #define  SCU_RAM_AGC_KI_MAXGAIN__A                                         0x831F29
2879a0bf528SMauro Carvalho Chehab #define  SCU_RAM_AGC_KI_MAXMINGAIN_TH__A                                   0x831F2A
2889a0bf528SMauro Carvalho Chehab #define  SCU_RAM_AGC_KI_MIN__A                                             0x831F2B
2899a0bf528SMauro Carvalho Chehab #define  SCU_RAM_AGC_KI_MAX__A                                             0x831F2C
2909a0bf528SMauro Carvalho Chehab #define  SCU_RAM_AGC_CLP_SUM__A                                            0x831F2D
2919a0bf528SMauro Carvalho Chehab #define  SCU_RAM_AGC_CLP_SUM_MIN__A                                        0x831F2E
2929a0bf528SMauro Carvalho Chehab #define  SCU_RAM_AGC_CLP_SUM_MAX__A                                        0x831F2F
2939a0bf528SMauro Carvalho Chehab #define  SCU_RAM_AGC_CLP_CYCLEN__A                                         0x831F30
2949a0bf528SMauro Carvalho Chehab #define  SCU_RAM_AGC_CLP_CYCCNT__A                                         0x831F31
2959a0bf528SMauro Carvalho Chehab #define  SCU_RAM_AGC_CLP_DIR_TO__A                                         0x831F32
2969a0bf528SMauro Carvalho Chehab #define  SCU_RAM_AGC_CLP_DIR_WD__A                                         0x831F33
2979a0bf528SMauro Carvalho Chehab #define  SCU_RAM_AGC_CLP_DIR_STP__A                                        0x831F34
2989a0bf528SMauro Carvalho Chehab #define  SCU_RAM_AGC_SNS_SUM__A                                            0x831F35
2999a0bf528SMauro Carvalho Chehab #define  SCU_RAM_AGC_SNS_SUM_MIN__A                                        0x831F36
3009a0bf528SMauro Carvalho Chehab #define  SCU_RAM_AGC_SNS_SUM_MAX__A                                        0x831F37
3019a0bf528SMauro Carvalho Chehab #define  SCU_RAM_AGC_SNS_CYCCNT__A                                         0x831F38
3029a0bf528SMauro Carvalho Chehab #define  SCU_RAM_AGC_SNS_DIR_TO__A                                         0x831F39
3039a0bf528SMauro Carvalho Chehab #define  SCU_RAM_AGC_SNS_DIR_WD__A                                         0x831F3A
3049a0bf528SMauro Carvalho Chehab #define  SCU_RAM_AGC_SNS_DIR_STP__A                                        0x831F3B
3059a0bf528SMauro Carvalho Chehab #define  SCU_RAM_AGC_INGAIN_TGT__A                                         0x831F3D
3069a0bf528SMauro Carvalho Chehab #define  SCU_RAM_AGC_INGAIN_TGT_MIN__A                                     0x831F3E
3079a0bf528SMauro Carvalho Chehab #define  SCU_RAM_AGC_INGAIN_TGT_MAX__A                                     0x831F3F
3089a0bf528SMauro Carvalho Chehab #define  SCU_RAM_AGC_IF_IACCU_HI__A                                        0x831F40
3099a0bf528SMauro Carvalho Chehab #define  SCU_RAM_AGC_IF_IACCU_LO__A                                        0x831F41
3109a0bf528SMauro Carvalho Chehab #define  SCU_RAM_AGC_IF_IACCU_HI_TGT__A                                    0x831F42
3119a0bf528SMauro Carvalho Chehab #define  SCU_RAM_AGC_IF_IACCU_HI_TGT_MIN__A                                0x831F43
3129a0bf528SMauro Carvalho Chehab #define  SCU_RAM_AGC_IF_IACCU_HI_TGT_MAX__A                                0x831F44
3139a0bf528SMauro Carvalho Chehab #define  SCU_RAM_AGC_RF_IACCU_HI__A                                        0x831F45
3149a0bf528SMauro Carvalho Chehab #define  SCU_RAM_AGC_RF_IACCU_LO__A                                        0x831F46
3159a0bf528SMauro Carvalho Chehab #define  SCU_RAM_AGC_RF_IACCU_HI_CO__A                                     0x831F47
3169a0bf528SMauro Carvalho Chehab #define  SCU_RAM_QAM_FSM_MEDIAN_AV_MULT__A                                 0x831F84
3179a0bf528SMauro Carvalho Chehab #define  SCU_RAM_QAM_FSM_RADIUS_AV_LIMIT__A                                0x831F85
3189a0bf528SMauro Carvalho Chehab #define  SCU_RAM_QAM_FSM_LCAVG_OFFSET1__A                                  0x831F86
3199a0bf528SMauro Carvalho Chehab #define  SCU_RAM_QAM_FSM_LCAVG_OFFSET2__A                                  0x831F87
3209a0bf528SMauro Carvalho Chehab #define  SCU_RAM_QAM_FSM_LCAVG_OFFSET3__A                                  0x831F88
3219a0bf528SMauro Carvalho Chehab #define  SCU_RAM_QAM_FSM_LCAVG_OFFSET4__A                                  0x831F89
3229a0bf528SMauro Carvalho Chehab #define  SCU_RAM_QAM_FSM_LCAVG_OFFSET5__A                                  0x831F8A
3239a0bf528SMauro Carvalho Chehab #define  SCU_RAM_QAM_FSM_RTH__A                                            0x831F8E
3249a0bf528SMauro Carvalho Chehab #define  SCU_RAM_QAM_FSM_FTH__A                                            0x831F8F
3259a0bf528SMauro Carvalho Chehab #define  SCU_RAM_QAM_FSM_PTH__A                                            0x831F90
3269a0bf528SMauro Carvalho Chehab #define  SCU_RAM_QAM_FSM_MTH__A                                            0x831F91
3279a0bf528SMauro Carvalho Chehab #define  SCU_RAM_QAM_FSM_CTH__A                                            0x831F92
3289a0bf528SMauro Carvalho Chehab #define  SCU_RAM_QAM_FSM_QTH__A                                            0x831F93
3299a0bf528SMauro Carvalho Chehab #define  SCU_RAM_QAM_FSM_RATE_LIM__A                                       0x831F94
3309a0bf528SMauro Carvalho Chehab #define  SCU_RAM_QAM_FSM_FREQ_LIM__A                                       0x831F95
3319a0bf528SMauro Carvalho Chehab #define  SCU_RAM_QAM_FSM_COUNT_LIM__A                                      0x831F96
3329a0bf528SMauro Carvalho Chehab #define  SCU_RAM_QAM_LC_CA_COARSE__A                                       0x831F97
3339a0bf528SMauro Carvalho Chehab #define  SCU_RAM_QAM_LC_CA_FINE__A                                         0x831F99
3349a0bf528SMauro Carvalho Chehab #define  SCU_RAM_QAM_LC_CP_COARSE__A                                       0x831F9A
3359a0bf528SMauro Carvalho Chehab #define  SCU_RAM_QAM_LC_CP_MEDIUM__A                                       0x831F9B
3369a0bf528SMauro Carvalho Chehab #define  SCU_RAM_QAM_LC_CP_FINE__A                                         0x831F9C
3379a0bf528SMauro Carvalho Chehab #define  SCU_RAM_QAM_LC_CI_COARSE__A                                       0x831F9D
3389a0bf528SMauro Carvalho Chehab #define  SCU_RAM_QAM_LC_CI_MEDIUM__A                                       0x831F9E
3399a0bf528SMauro Carvalho Chehab #define  SCU_RAM_QAM_LC_CI_FINE__A                                         0x831F9F
3409a0bf528SMauro Carvalho Chehab #define  SCU_RAM_QAM_LC_EP_COARSE__A                                       0x831FA0
3419a0bf528SMauro Carvalho Chehab #define  SCU_RAM_QAM_LC_EP_MEDIUM__A                                       0x831FA1
3429a0bf528SMauro Carvalho Chehab #define  SCU_RAM_QAM_LC_EP_FINE__A                                         0x831FA2
3439a0bf528SMauro Carvalho Chehab #define  SCU_RAM_QAM_LC_EI_COARSE__A                                       0x831FA3
3449a0bf528SMauro Carvalho Chehab #define  SCU_RAM_QAM_LC_EI_MEDIUM__A                                       0x831FA4
3459a0bf528SMauro Carvalho Chehab #define  SCU_RAM_QAM_LC_EI_FINE__A                                         0x831FA5
3469a0bf528SMauro Carvalho Chehab #define  SCU_RAM_QAM_LC_CF_COARSE__A                                       0x831FA6
3479a0bf528SMauro Carvalho Chehab #define  SCU_RAM_QAM_LC_CF_MEDIUM__A                                       0x831FA7
3489a0bf528SMauro Carvalho Chehab #define  SCU_RAM_QAM_LC_CF_FINE__A                                         0x831FA8
3499a0bf528SMauro Carvalho Chehab #define  SCU_RAM_QAM_LC_CF1_COARSE__A                                      0x831FA9
3509a0bf528SMauro Carvalho Chehab #define  SCU_RAM_QAM_LC_CF1_MEDIUM__A                                      0x831FAA
3519a0bf528SMauro Carvalho Chehab #define  SCU_RAM_QAM_LC_CF1_FINE__A                                        0x831FAB
3529a0bf528SMauro Carvalho Chehab #define  SCU_RAM_QAM_SL_SIG_POWER__A                                       0x831FAC
3539a0bf528SMauro Carvalho Chehab #define  SCU_RAM_QAM_EQ_CMA_RAD0__A                                        0x831FAD
3549a0bf528SMauro Carvalho Chehab #define  SCU_RAM_QAM_EQ_CMA_RAD1__A                                        0x831FAE
3559a0bf528SMauro Carvalho Chehab #define  SCU_RAM_QAM_EQ_CMA_RAD2__A                                        0x831FAF
3569a0bf528SMauro Carvalho Chehab #define  SCU_RAM_QAM_EQ_CMA_RAD3__A                                        0x831FB0
3579a0bf528SMauro Carvalho Chehab #define  SCU_RAM_QAM_EQ_CMA_RAD4__A                                        0x831FB1
3589a0bf528SMauro Carvalho Chehab #define  SCU_RAM_QAM_EQ_CMA_RAD5__A                                        0x831FB2
3599a0bf528SMauro Carvalho Chehab #define      SCU_RAM_QAM_LOCKED_LOCKED_DEMOD_LOCKED                        0x4000
3609a0bf528SMauro Carvalho Chehab #define      SCU_RAM_QAM_LOCKED_LOCKED_LOCKED                              0x8000
3619a0bf528SMauro Carvalho Chehab #define      SCU_RAM_QAM_LOCKED_LOCKED_NEVER_LOCK                          0xC000
3629a0bf528SMauro Carvalho Chehab #define  SCU_RAM_AGC_FAST_CLP_CTRL_DELAY__A                                0x831FEA
3639a0bf528SMauro Carvalho Chehab #define  SCU_RAM_DRIVER_VER_HI__A                                          0x831FEB
3649a0bf528SMauro Carvalho Chehab #define  SCU_RAM_DRIVER_VER_LO__A                                          0x831FEC
3659a0bf528SMauro Carvalho Chehab #define  SCU_RAM_PARAM_15__A                                               0x831FED
3669a0bf528SMauro Carvalho Chehab #define  SCU_RAM_PARAM_0__A                                                0x831FFC
3679a0bf528SMauro Carvalho Chehab #define  SCU_RAM_COMMAND__A                                                0x831FFD
3689a0bf528SMauro Carvalho Chehab #define    SCU_RAM_COMMAND_CMD_DEMOD_RESET                                 0x1
3699a0bf528SMauro Carvalho Chehab #define    SCU_RAM_COMMAND_CMD_DEMOD_SET_ENV                               0x2
3709a0bf528SMauro Carvalho Chehab #define    SCU_RAM_COMMAND_CMD_DEMOD_SET_PARAM                             0x3
3719a0bf528SMauro Carvalho Chehab #define    SCU_RAM_COMMAND_CMD_DEMOD_START                                 0x4
3729a0bf528SMauro Carvalho Chehab #define    SCU_RAM_COMMAND_CMD_DEMOD_GET_LOCK                              0x5
3739a0bf528SMauro Carvalho Chehab #define    SCU_RAM_COMMAND_CMD_DEMOD_STOP                                  0x9
3749a0bf528SMauro Carvalho Chehab #define      SCU_RAM_COMMAND_STANDARD_QAM                                  0x200
3759a0bf528SMauro Carvalho Chehab #define      SCU_RAM_COMMAND_STANDARD_OFDM                                 0x400
3769a0bf528SMauro Carvalho Chehab #define  SIO_TOP_COMM_KEY__A                                               0x41000F
3779a0bf528SMauro Carvalho Chehab #define    SIO_TOP_COMM_KEY_KEY                                            0xFABA
3789a0bf528SMauro Carvalho Chehab #define  SIO_TOP_JTAGID_LO__A                                              0x410012
3799a0bf528SMauro Carvalho Chehab #define  SIO_HI_RA_RAM_RES__A                                              0x420031
3809a0bf528SMauro Carvalho Chehab #define  SIO_HI_RA_RAM_CMD__A                                              0x420032
3819a0bf528SMauro Carvalho Chehab #define    SIO_HI_RA_RAM_CMD_RESET                                         0x2
3829a0bf528SMauro Carvalho Chehab #define    SIO_HI_RA_RAM_CMD_CONFIG                                        0x3
3839a0bf528SMauro Carvalho Chehab #define    SIO_HI_RA_RAM_CMD_BRDCTRL                                       0x7
3849a0bf528SMauro Carvalho Chehab #define  SIO_HI_RA_RAM_PAR_1__A                                            0x420033
3859a0bf528SMauro Carvalho Chehab #define      SIO_HI_RA_RAM_PAR_1_PAR1_SEC_KEY                              0x3945
3869a0bf528SMauro Carvalho Chehab #define  SIO_HI_RA_RAM_PAR_2__A                                            0x420034
3879a0bf528SMauro Carvalho Chehab #define    SIO_HI_RA_RAM_PAR_2_CFG_DIV__M                                  0x7F
3889a0bf528SMauro Carvalho Chehab #define      SIO_HI_RA_RAM_PAR_2_BRD_CFG_OPEN                              0x0
3899a0bf528SMauro Carvalho Chehab #define      SIO_HI_RA_RAM_PAR_2_BRD_CFG_CLOSED                            0x4
3909a0bf528SMauro Carvalho Chehab #define  SIO_HI_RA_RAM_PAR_3__A                                            0x420035
3919a0bf528SMauro Carvalho Chehab #define    SIO_HI_RA_RAM_PAR_3_CFG_DBL_SDA__M                              0x7F
3929a0bf528SMauro Carvalho Chehab #define    SIO_HI_RA_RAM_PAR_3_CFG_DBL_SCL__B                              7
3939a0bf528SMauro Carvalho Chehab #define      SIO_HI_RA_RAM_PAR_3_ACP_RW_READ                               0x0
3949a0bf528SMauro Carvalho Chehab #define      SIO_HI_RA_RAM_PAR_3_ACP_RW_WRITE                              0x8
3959a0bf528SMauro Carvalho Chehab #define  SIO_HI_RA_RAM_PAR_4__A                                            0x420036
3969a0bf528SMauro Carvalho Chehab #define  SIO_HI_RA_RAM_PAR_5__A                                            0x420037
3979a0bf528SMauro Carvalho Chehab #define      SIO_HI_RA_RAM_PAR_5_CFG_SLV0_SLAVE                            0x1
3989a0bf528SMauro Carvalho Chehab #define    SIO_HI_RA_RAM_PAR_5_CFG_SLEEP__M                                0x8
3999a0bf528SMauro Carvalho Chehab #define      SIO_HI_RA_RAM_PAR_5_CFG_SLEEP_ZZZ                             0x8
4009a0bf528SMauro Carvalho Chehab #define  SIO_HI_RA_RAM_PAR_6__A                                            0x420038
4019a0bf528SMauro Carvalho Chehab #define  SIO_CC_PLL_LOCK__A                                                0x450012
4029a0bf528SMauro Carvalho Chehab #define  SIO_CC_PWD_MODE__A                                                0x450015
4039a0bf528SMauro Carvalho Chehab #define      SIO_CC_PWD_MODE_LEVEL_NONE                                    0x0
4049a0bf528SMauro Carvalho Chehab #define      SIO_CC_PWD_MODE_LEVEL_OFDM                                    0x1
4059a0bf528SMauro Carvalho Chehab #define      SIO_CC_PWD_MODE_LEVEL_CLOCK                                   0x2
4069a0bf528SMauro Carvalho Chehab #define      SIO_CC_PWD_MODE_LEVEL_PLL                                     0x3
4079a0bf528SMauro Carvalho Chehab #define      SIO_CC_PWD_MODE_LEVEL_OSC                                     0x4
4089a0bf528SMauro Carvalho Chehab #define  SIO_CC_SOFT_RST__A                                                0x450016
4099a0bf528SMauro Carvalho Chehab #define    SIO_CC_SOFT_RST_OFDM__M                                         0x1
4109a0bf528SMauro Carvalho Chehab #define    SIO_CC_SOFT_RST_SYS__M                                          0x2
4119a0bf528SMauro Carvalho Chehab #define    SIO_CC_SOFT_RST_OSC__M                                          0x4
4129a0bf528SMauro Carvalho Chehab #define  SIO_CC_UPDATE__A                                                  0x450017
4139a0bf528SMauro Carvalho Chehab #define    SIO_CC_UPDATE_KEY                                               0xFABA
4149a0bf528SMauro Carvalho Chehab #define  SIO_OFDM_SH_OFDM_RING_ENABLE__A                                   0x470010
4159a0bf528SMauro Carvalho Chehab #define    SIO_OFDM_SH_OFDM_RING_ENABLE_OFF                                0x0
4169a0bf528SMauro Carvalho Chehab #define    SIO_OFDM_SH_OFDM_RING_ENABLE_ON                                 0x1
4179a0bf528SMauro Carvalho Chehab #define  SIO_OFDM_SH_OFDM_RING_STATUS__A                                   0x470012
4189a0bf528SMauro Carvalho Chehab #define    SIO_OFDM_SH_OFDM_RING_STATUS_DOWN                               0x0
4199a0bf528SMauro Carvalho Chehab #define    SIO_OFDM_SH_OFDM_RING_STATUS_ENABLED                            0x1
4209a0bf528SMauro Carvalho Chehab #define  SIO_BL_COMM_EXEC__A                                               0x480000
4219a0bf528SMauro Carvalho Chehab #define    SIO_BL_COMM_EXEC_ACTIVE                                         0x1
4229a0bf528SMauro Carvalho Chehab #define  SIO_BL_STATUS__A                                                  0x480010
4239a0bf528SMauro Carvalho Chehab #define  SIO_BL_MODE__A                                                    0x480011
4249a0bf528SMauro Carvalho Chehab #define    SIO_BL_MODE_DIRECT                                              0x0
4259a0bf528SMauro Carvalho Chehab #define    SIO_BL_MODE_CHAIN                                               0x1
4269a0bf528SMauro Carvalho Chehab #define  SIO_BL_ENABLE__A                                                  0x480012
4279a0bf528SMauro Carvalho Chehab #define    SIO_BL_ENABLE_ON                                                0x1
4289a0bf528SMauro Carvalho Chehab #define  SIO_BL_TGT_HDR__A                                                 0x480014
4299a0bf528SMauro Carvalho Chehab #define  SIO_BL_TGT_ADDR__A                                                0x480015
4309a0bf528SMauro Carvalho Chehab #define  SIO_BL_SRC_ADDR__A                                                0x480016
4319a0bf528SMauro Carvalho Chehab #define  SIO_BL_SRC_LEN__A                                                 0x480017
4329a0bf528SMauro Carvalho Chehab #define  SIO_BL_CHAIN_ADDR__A                                              0x480018
4339a0bf528SMauro Carvalho Chehab #define  SIO_BL_CHAIN_LEN__A                                               0x480019
4349a0bf528SMauro Carvalho Chehab #define  SIO_PDR_MON_CFG__A                                                0x7F0010
4359a0bf528SMauro Carvalho Chehab #define  SIO_PDR_UIO_IN_HI__A                                              0x7F0015
4369a0bf528SMauro Carvalho Chehab #define  SIO_PDR_UIO_OUT_LO__A                                             0x7F0016
4379a0bf528SMauro Carvalho Chehab #define  SIO_PDR_OHW_CFG__A                                                0x7F001F
4389a0bf528SMauro Carvalho Chehab #define    SIO_PDR_OHW_CFG_FREF_SEL__M                                     0x3
4399a0bf528SMauro Carvalho Chehab #define  SIO_PDR_GPIO_CFG__A                                               0x7F0021
4409a0bf528SMauro Carvalho Chehab #define  SIO_PDR_MSTRT_CFG__A                                              0x7F0025
4419a0bf528SMauro Carvalho Chehab #define  SIO_PDR_MERR_CFG__A                                               0x7F0026
4429a0bf528SMauro Carvalho Chehab #define  SIO_PDR_MCLK_CFG__A                                               0x7F0028
4439a0bf528SMauro Carvalho Chehab #define    SIO_PDR_MCLK_CFG_DRIVE__B                                       3
4449a0bf528SMauro Carvalho Chehab #define  SIO_PDR_MVAL_CFG__A                                               0x7F0029
4459a0bf528SMauro Carvalho Chehab #define  SIO_PDR_MD0_CFG__A                                                0x7F002A
4469a0bf528SMauro Carvalho Chehab #define    SIO_PDR_MD0_CFG_DRIVE__B                                        3
4479a0bf528SMauro Carvalho Chehab #define  SIO_PDR_MD1_CFG__A                                                0x7F002B
4489a0bf528SMauro Carvalho Chehab #define  SIO_PDR_MD2_CFG__A                                                0x7F002C
4499a0bf528SMauro Carvalho Chehab #define  SIO_PDR_MD3_CFG__A                                                0x7F002D
4509a0bf528SMauro Carvalho Chehab #define  SIO_PDR_MD4_CFG__A                                                0x7F002F
4519a0bf528SMauro Carvalho Chehab #define  SIO_PDR_MD5_CFG__A                                                0x7F0030
4529a0bf528SMauro Carvalho Chehab #define  SIO_PDR_MD6_CFG__A                                                0x7F0031
4539a0bf528SMauro Carvalho Chehab #define  SIO_PDR_MD7_CFG__A                                                0x7F0032
4549a0bf528SMauro Carvalho Chehab #define  SIO_PDR_SMA_RX_CFG__A                                             0x7F0037
4559a0bf528SMauro Carvalho Chehab #define  SIO_PDR_SMA_TX_CFG__A                                             0x7F0038
456