Ralph Metzler | 126f1e6 | 2011-03-12 23:44:33 -0500 | [diff] [blame] | 1 | /* |
| 2 | * drx3973d_map_firm.h |
| 3 | * |
| 4 | * Copyright (C) 2006-2007 Micronas |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or |
| 7 | * modify it under the terms of the GNU General Public License |
| 8 | * version 2 only, as published by the Free Software Foundation. |
| 9 | * |
| 10 | * |
| 11 | * This program is distributed in the hope that it will be useful, |
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | * GNU General Public License for more details. |
| 15 | * |
Sakari Ailus | bcb6331 | 2016-10-28 09:31:20 -0200 | [diff] [blame] | 16 | * To obtain the license, point your browser to |
| 17 | * http://www.gnu.org/copyleft/gpl.html |
Ralph Metzler | 126f1e6 | 2011-03-12 23:44:33 -0500 | [diff] [blame] | 18 | */ |
| 19 | |
| 20 | #ifndef __DRX3973D_MAP__H__ |
| 21 | #define __DRX3973D_MAP__H__ |
| 22 | |
Mauro Carvalho Chehab | 935c630 | 2011-03-25 10:21:31 -0300 | [diff] [blame] | 23 | /* |
| 24 | * Note: originally, this file contained 12000+ lines of data |
| 25 | * Probably a few lines for every firwmare assembler instruction. However, |
| 26 | * only a few defines were actually used. So, removed all uneeded lines. |
| 27 | * If ever needed, the other lines can be easily obtained via git history. |
| 28 | */ |
Ralph Metzler | 126f1e6 | 2011-03-12 23:44:33 -0500 | [diff] [blame] | 29 | |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 30 | #define HI_COMM_EXEC__A 0x400000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 31 | #define HI_COMM_MB__A 0x400002 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 32 | #define HI_CT_REG_COMM_STATE__A 0x410001 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 33 | #define HI_RA_RAM_SRV_RES__A 0x420031 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 34 | #define HI_RA_RAM_SRV_CMD__A 0x420032 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 35 | #define HI_RA_RAM_SRV_CMD_RESET 0x2 |
| 36 | #define HI_RA_RAM_SRV_CMD_CONFIG 0x3 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 37 | #define HI_RA_RAM_SRV_CMD_EXECUTE 0x6 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 38 | #define HI_RA_RAM_SRV_RST_KEY__A 0x420033 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 39 | #define HI_RA_RAM_SRV_RST_KEY_ACT 0x3973 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 40 | #define HI_RA_RAM_SRV_CFG_KEY__A 0x420033 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 41 | #define HI_RA_RAM_SRV_CFG_DIV__A 0x420034 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 42 | #define HI_RA_RAM_SRV_CFG_BDL__A 0x420035 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 43 | #define HI_RA_RAM_SRV_CFG_WUP__A 0x420036 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 44 | #define HI_RA_RAM_SRV_CFG_ACT__A 0x420037 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 45 | #define HI_RA_RAM_SRV_CFG_ACT_SLV0_ON 0x1 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 46 | #define HI_RA_RAM_SRV_CFG_ACT_BRD__M 0x4 |
| 47 | #define HI_RA_RAM_SRV_CFG_ACT_BRD_OFF 0x0 |
| 48 | #define HI_RA_RAM_SRV_CFG_ACT_BRD_ON 0x4 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 49 | #define HI_RA_RAM_SRV_CFG_ACT_PWD_EXE 0x8 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 50 | #define HI_RA_RAM_USR_BEGIN__A 0x420040 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 51 | #define HI_IF_RAM_TRP_BPT0__AX 0x430000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 52 | #define HI_IF_RAM_USR_BEGIN__A 0x430200 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 53 | #define SC_COMM_EXEC__A 0x800000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 54 | #define SC_COMM_EXEC_CTL_STOP 0x0 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 55 | #define SC_COMM_STATE__A 0x800001 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 56 | #define SC_RA_RAM_PARAM0__A 0x820040 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 57 | #define SC_RA_RAM_PARAM1__A 0x820041 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 58 | #define SC_RA_RAM_CMD_ADDR__A 0x820042 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 59 | #define SC_RA_RAM_CMD__A 0x820043 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 60 | #define SC_RA_RAM_CMD_PROC_START 0x1 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 61 | #define SC_RA_RAM_CMD_SET_PREF_PARAM 0x3 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 62 | #define SC_RA_RAM_CMD_GET_OP_PARAM 0x5 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 63 | #define SC_RA_RAM_SW_EVENT_RUN_NMASK__M 0x1 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 64 | #define SC_RA_RAM_LOCKTRACK_MIN 0x1 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 65 | #define SC_RA_RAM_OP_PARAM_MODE_2K 0x0 |
| 66 | #define SC_RA_RAM_OP_PARAM_MODE_8K 0x1 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 67 | #define SC_RA_RAM_OP_PARAM_GUARD_32 0x0 |
| 68 | #define SC_RA_RAM_OP_PARAM_GUARD_16 0x4 |
| 69 | #define SC_RA_RAM_OP_PARAM_GUARD_8 0x8 |
| 70 | #define SC_RA_RAM_OP_PARAM_GUARD_4 0xC |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 71 | #define SC_RA_RAM_OP_PARAM_CONST_QPSK 0x0 |
| 72 | #define SC_RA_RAM_OP_PARAM_CONST_QAM16 0x10 |
| 73 | #define SC_RA_RAM_OP_PARAM_CONST_QAM64 0x20 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 74 | #define SC_RA_RAM_OP_PARAM_HIER_NO 0x0 |
| 75 | #define SC_RA_RAM_OP_PARAM_HIER_A1 0x40 |
| 76 | #define SC_RA_RAM_OP_PARAM_HIER_A2 0x80 |
| 77 | #define SC_RA_RAM_OP_PARAM_HIER_A4 0xC0 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 78 | #define SC_RA_RAM_OP_PARAM_RATE_1_2 0x0 |
| 79 | #define SC_RA_RAM_OP_PARAM_RATE_2_3 0x200 |
| 80 | #define SC_RA_RAM_OP_PARAM_RATE_3_4 0x400 |
| 81 | #define SC_RA_RAM_OP_PARAM_RATE_5_6 0x600 |
| 82 | #define SC_RA_RAM_OP_PARAM_RATE_7_8 0x800 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 83 | #define SC_RA_RAM_OP_PARAM_PRIO_HI 0x0 |
| 84 | #define SC_RA_RAM_OP_PARAM_PRIO_LO 0x1000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 85 | #define SC_RA_RAM_OP_AUTO_MODE__M 0x1 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 86 | #define SC_RA_RAM_OP_AUTO_GUARD__M 0x2 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 87 | #define SC_RA_RAM_OP_AUTO_CONST__M 0x4 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 88 | #define SC_RA_RAM_OP_AUTO_HIER__M 0x8 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 89 | #define SC_RA_RAM_OP_AUTO_RATE__M 0x10 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 90 | #define SC_RA_RAM_LOCK__A 0x82004B |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 91 | #define SC_RA_RAM_LOCK_DEMOD__M 0x1 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 92 | #define SC_RA_RAM_LOCK_FEC__M 0x2 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 93 | #define SC_RA_RAM_LOCK_MPEG__M 0x4 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 94 | #define SC_RA_RAM_BE_OPT_ENA__A 0x82004C |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 95 | #define SC_RA_RAM_BE_OPT_ENA_CP_OPT 0x1 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 96 | #define SC_RA_RAM_BE_OPT_DELAY__A 0x82004D |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 97 | #define SC_RA_RAM_CONFIG__A 0x820050 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 98 | #define SC_RA_RAM_CONFIG_FR_ENABLE__M 0x4 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 99 | #define SC_RA_RAM_CONFIG_FREQSCAN__M 0x10 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 100 | #define SC_RA_RAM_CONFIG_SLAVE__M 0x20 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 101 | #define SC_RA_RAM_IF_SAVE__AX 0x82008E |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 102 | #define SC_RA_RAM_IR_COARSE_2K_LENGTH__A 0x8200D1 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 103 | #define SC_RA_RAM_IR_COARSE_2K_LENGTH__PRE 0x9 |
| 104 | #define SC_RA_RAM_IR_COARSE_2K_FREQINC__A 0x8200D2 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 105 | #define SC_RA_RAM_IR_COARSE_2K_FREQINC__PRE 0x4 |
| 106 | #define SC_RA_RAM_IR_COARSE_2K_KAISINC__A 0x8200D3 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 107 | #define SC_RA_RAM_IR_COARSE_2K_KAISINC__PRE 0x100 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 108 | #define SC_RA_RAM_IR_COARSE_8K_LENGTH__A 0x8200D4 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 109 | #define SC_RA_RAM_IR_COARSE_8K_LENGTH__PRE 0x8 |
| 110 | #define SC_RA_RAM_IR_COARSE_8K_FREQINC__A 0x8200D5 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 111 | #define SC_RA_RAM_IR_COARSE_8K_FREQINC__PRE 0x8 |
| 112 | #define SC_RA_RAM_IR_COARSE_8K_KAISINC__A 0x8200D6 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 113 | #define SC_RA_RAM_IR_COARSE_8K_KAISINC__PRE 0x200 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 114 | #define SC_RA_RAM_IR_FINE_2K_LENGTH__A 0x8200D7 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 115 | #define SC_RA_RAM_IR_FINE_2K_LENGTH__PRE 0x9 |
| 116 | #define SC_RA_RAM_IR_FINE_2K_FREQINC__A 0x8200D8 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 117 | #define SC_RA_RAM_IR_FINE_2K_FREQINC__PRE 0x4 |
| 118 | #define SC_RA_RAM_IR_FINE_2K_KAISINC__A 0x8200D9 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 119 | #define SC_RA_RAM_IR_FINE_2K_KAISINC__PRE 0x100 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 120 | #define SC_RA_RAM_IR_FINE_8K_LENGTH__A 0x8200DA |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 121 | #define SC_RA_RAM_IR_FINE_8K_LENGTH__PRE 0xB |
| 122 | #define SC_RA_RAM_IR_FINE_8K_FREQINC__A 0x8200DB |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 123 | #define SC_RA_RAM_IR_FINE_8K_FREQINC__PRE 0x1 |
| 124 | #define SC_RA_RAM_IR_FINE_8K_KAISINC__A 0x8200DC |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 125 | #define SC_RA_RAM_IR_FINE_8K_KAISINC__PRE 0x40 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 126 | #define SC_RA_RAM_ECHO_SHIFT_LIM__A 0x8200DD |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 127 | #define SC_RA_RAM_SAMPLE_RATE_COUNT__A 0x8200E8 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 128 | #define SC_RA_RAM_SAMPLE_RATE_STEP__A 0x8200E9 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 129 | #define SC_RA_RAM_BAND__A 0x8200EC |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 130 | #define SC_RA_RAM_LC_ABS_2K__A 0x8200F4 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 131 | #define SC_RA_RAM_LC_ABS_2K__PRE 0x1F |
| 132 | #define SC_RA_RAM_LC_ABS_8K__A 0x8200F5 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 133 | #define SC_RA_RAM_LC_ABS_8K__PRE 0x1F |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 134 | #define SC_RA_RAM_EQ_IS_GAIN_UNKNOWN_MAN__PRE 0x1D6 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 135 | #define SC_RA_RAM_EQ_IS_GAIN_UNKNOWN_EXP__PRE 0x4 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 136 | #define SC_RA_RAM_EQ_IS_GAIN_QPSK_MAN__PRE 0x1BB |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 137 | #define SC_RA_RAM_EQ_IS_GAIN_QPSK_EXP__PRE 0x5 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 138 | #define SC_RA_RAM_EQ_IS_GAIN_16QAM_MAN__PRE 0x1EF |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 139 | #define SC_RA_RAM_EQ_IS_GAIN_16QAM_EXP__PRE 0x5 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 140 | #define SC_RA_RAM_EQ_IS_GAIN_16QAM_A2_MAN__PRE 0x15E |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 141 | #define SC_RA_RAM_EQ_IS_GAIN_16QAM_A2_EXP__PRE 0x5 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 142 | #define SC_RA_RAM_EQ_IS_GAIN_16QAM_A4_MAN__PRE 0x11A |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 143 | #define SC_RA_RAM_EQ_IS_GAIN_16QAM_A4_EXP__PRE 0x6 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 144 | #define SC_RA_RAM_EQ_IS_GAIN_64QAM_MAN__PRE 0x1FB |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 145 | #define SC_RA_RAM_EQ_IS_GAIN_64QAM_EXP__PRE 0x5 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 146 | #define SC_RA_RAM_EQ_IS_GAIN_64QAM_A2_MAN__PRE 0x12F |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 147 | #define SC_RA_RAM_EQ_IS_GAIN_64QAM_A2_EXP__PRE 0x5 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 148 | #define SC_RA_RAM_EQ_IS_GAIN_64QAM_A4_MAN__PRE 0x197 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 149 | #define SC_RA_RAM_EQ_IS_GAIN_64QAM_A4_EXP__PRE 0x5 |
| 150 | #define SC_RA_RAM_DRIVER_VERSION__AX 0x8201FE |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 151 | #define SC_RA_RAM_PROC_LOCKTRACK 0x0 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 152 | #define FE_COMM_EXEC__A 0xC00000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 153 | #define FE_AD_REG_COMM_EXEC__A 0xC10000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 154 | #define FE_AD_REG_FDB_IN__A 0xC10012 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 155 | #define FE_AD_REG_PD__A 0xC10013 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 156 | #define FE_AD_REG_INVEXT__A 0xC10014 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 157 | #define FE_AD_REG_CLKNEG__A 0xC10015 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 158 | #define FE_AG_REG_COMM_EXEC__A 0xC20000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 159 | #define FE_AG_REG_AG_MODE_LOP__A 0xC20010 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 160 | #define FE_AG_REG_AG_MODE_LOP_MODE_4__M 0x10 |
| 161 | #define FE_AG_REG_AG_MODE_LOP_MODE_4_STATIC 0x0 |
| 162 | #define FE_AG_REG_AG_MODE_LOP_MODE_4_DYNAMIC 0x10 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 163 | #define FE_AG_REG_AG_MODE_LOP_MODE_5__M 0x20 |
| 164 | #define FE_AG_REG_AG_MODE_LOP_MODE_5_STATIC 0x0 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 165 | #define FE_AG_REG_AG_MODE_LOP_MODE_C__M 0x1000 |
| 166 | #define FE_AG_REG_AG_MODE_LOP_MODE_C_STATIC 0x0 |
| 167 | #define FE_AG_REG_AG_MODE_LOP_MODE_C_DYNAMIC 0x1000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 168 | #define FE_AG_REG_AG_MODE_LOP_MODE_E__M 0x4000 |
| 169 | #define FE_AG_REG_AG_MODE_LOP_MODE_E_STATIC 0x0 |
| 170 | #define FE_AG_REG_AG_MODE_LOP_MODE_E_DYNAMIC 0x4000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 171 | #define FE_AG_REG_AG_MODE_HIP__A 0xC20011 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 172 | #define FE_AG_REG_AG_PGA_MODE__A 0xC20012 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 173 | #define FE_AG_REG_AG_PGA_MODE_PFY_PCY_AFY_REN 0x0 |
| 174 | #define FE_AG_REG_AG_PGA_MODE_PFN_PCN_AFY_REN 0x1 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 175 | #define FE_AG_REG_AG_AGC_SIO__A 0xC20013 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 176 | #define FE_AG_REG_AG_AGC_SIO_AGC_SIO_2__M 0x2 |
| 177 | #define FE_AG_REG_AG_AGC_SIO_AGC_SIO_2_OUTPUT 0x0 |
| 178 | #define FE_AG_REG_AG_AGC_SIO_AGC_SIO_2_INPUT 0x2 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 179 | #define FE_AG_REG_AG_PWD__A 0xC20015 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 180 | #define FE_AG_REG_AG_PWD_PWD_PD2__M 0x2 |
| 181 | #define FE_AG_REG_AG_PWD_PWD_PD2_DISABLE 0x0 |
| 182 | #define FE_AG_REG_AG_PWD_PWD_PD2_ENABLE 0x2 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 183 | #define FE_AG_REG_DCE_AUR_CNT__A 0xC20016 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 184 | #define FE_AG_REG_DCE_RUR_CNT__A 0xC20017 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 185 | #define FE_AG_REG_ACE_AUR_CNT__A 0xC2001A |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 186 | #define FE_AG_REG_ACE_RUR_CNT__A 0xC2001B |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 187 | #define FE_AG_REG_CDR_RUR_CNT__A 0xC20020 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 188 | #define FE_AG_REG_EGC_RUR_CNT__A 0xC20024 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 189 | #define FE_AG_REG_EGC_SET_LVL__A 0xC20025 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 190 | #define FE_AG_REG_EGC_SET_LVL__M 0x1FF |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 191 | #define FE_AG_REG_EGC_FLA_RGN__A 0xC20026 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 192 | #define FE_AG_REG_EGC_SLO_RGN__A 0xC20027 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 193 | #define FE_AG_REG_EGC_JMP_PSN__A 0xC20028 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 194 | #define FE_AG_REG_EGC_FLA_INC__A 0xC20029 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 195 | #define FE_AG_REG_EGC_FLA_DEC__A 0xC2002A |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 196 | #define FE_AG_REG_EGC_SLO_INC__A 0xC2002B |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 197 | #define FE_AG_REG_EGC_SLO_DEC__A 0xC2002C |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 198 | #define FE_AG_REG_EGC_FAS_INC__A 0xC2002D |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 199 | #define FE_AG_REG_EGC_FAS_DEC__A 0xC2002E |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 200 | #define FE_AG_REG_PM1_AGC_WRI__A 0xC20030 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 201 | #define FE_AG_REG_PM1_AGC_WRI__M 0x7FF |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 202 | #define FE_AG_REG_GC1_AGC_RIC__A 0xC20031 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 203 | #define FE_AG_REG_GC1_AGC_OFF__A 0xC20032 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 204 | #define FE_AG_REG_GC1_AGC_MAX__A 0xC20033 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 205 | #define FE_AG_REG_GC1_AGC_MIN__A 0xC20034 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 206 | #define FE_AG_REG_GC1_AGC_DAT__A 0xC20035 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 207 | #define FE_AG_REG_GC1_AGC_DAT__M 0x3FF |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 208 | #define FE_AG_REG_PM2_AGC_WRI__A 0xC20036 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 209 | #define FE_AG_REG_IND_WIN__A 0xC2003C |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 210 | #define FE_AG_REG_IND_THD_LOL__A 0xC2003D |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 211 | #define FE_AG_REG_IND_THD_HIL__A 0xC2003E |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 212 | #define FE_AG_REG_IND_DEL__A 0xC2003F |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 213 | #define FE_AG_REG_IND_PD1_WRI__A 0xC20040 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 214 | #define FE_AG_REG_PDA_AUR_CNT__A 0xC20041 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 215 | #define FE_AG_REG_PDA_RUR_CNT__A 0xC20042 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 216 | #define FE_AG_REG_PDA_AVE_DAT__A 0xC20043 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 217 | #define FE_AG_REG_PDC_RUR_CNT__A 0xC20044 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 218 | #define FE_AG_REG_PDC_SET_LVL__A 0xC20045 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 219 | #define FE_AG_REG_PDC_FLA_RGN__A 0xC20046 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 220 | #define FE_AG_REG_PDC_JMP_PSN__A 0xC20047 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 221 | #define FE_AG_REG_PDC_FLA_STP__A 0xC20048 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 222 | #define FE_AG_REG_PDC_SLO_STP__A 0xC20049 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 223 | #define FE_AG_REG_PDC_PD2_WRI__A 0xC2004A |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 224 | #define FE_AG_REG_PDC_MAP_DAT__A 0xC2004B |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 225 | #define FE_AG_REG_PDC_MAX__A 0xC2004C |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 226 | #define FE_AG_REG_TGA_AUR_CNT__A 0xC2004D |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 227 | #define FE_AG_REG_TGA_RUR_CNT__A 0xC2004E |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 228 | #define FE_AG_REG_TGA_AVE_DAT__A 0xC2004F |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 229 | #define FE_AG_REG_TGC_RUR_CNT__A 0xC20050 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 230 | #define FE_AG_REG_TGC_SET_LVL__A 0xC20051 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 231 | #define FE_AG_REG_TGC_SET_LVL__M 0x3F |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 232 | #define FE_AG_REG_TGC_FLA_RGN__A 0xC20052 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 233 | #define FE_AG_REG_TGC_JMP_PSN__A 0xC20053 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 234 | #define FE_AG_REG_TGC_FLA_STP__A 0xC20054 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 235 | #define FE_AG_REG_TGC_SLO_STP__A 0xC20055 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 236 | #define FE_AG_REG_TGC_MAP_DAT__A 0xC20056 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 237 | #define FE_AG_REG_FGA_AUR_CNT__A 0xC20057 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 238 | #define FE_AG_REG_FGA_RUR_CNT__A 0xC20058 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 239 | #define FE_AG_REG_FGM_WRI__A 0xC20061 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 240 | #define FE_AG_REG_BGC_FGC_WRI__A 0xC20068 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 241 | #define FE_AG_REG_BGC_CGC_WRI__A 0xC20069 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 242 | #define FE_FS_REG_COMM_EXEC__A 0xC30000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 243 | #define FE_FS_REG_ADD_INC_LOP__A 0xC30010 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 244 | #define FE_FD_REG_COMM_EXEC__A 0xC40000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 245 | #define FE_FD_REG_SCL__A 0xC40010 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 246 | #define FE_FD_REG_MAX_LEV__A 0xC40011 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 247 | #define FE_FD_REG_NR__A 0xC40012 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 248 | #define FE_FD_REG_MEAS_VAL__A 0xC40014 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 249 | #define FE_IF_REG_COMM_EXEC__A 0xC50000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 250 | #define FE_IF_REG_INCR0__A 0xC50010 |
| 251 | #define FE_IF_REG_INCR0__W 16 |
| 252 | #define FE_IF_REG_INCR0__M 0xFFFF |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 253 | #define FE_IF_REG_INCR1__A 0xC50011 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 254 | #define FE_IF_REG_INCR1__M 0xFF |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 255 | #define FE_CF_REG_COMM_EXEC__A 0xC60000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 256 | #define FE_CF_REG_SCL__A 0xC60010 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 257 | #define FE_CF_REG_MAX_LEV__A 0xC60011 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 258 | #define FE_CF_REG_NR__A 0xC60012 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 259 | #define FE_CF_REG_IMP_VAL__A 0xC60013 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 260 | #define FE_CF_REG_MEAS_VAL__A 0xC60014 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 261 | #define FE_CU_REG_COMM_EXEC__A 0xC70000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 262 | #define FE_CU_REG_FRM_CNT_RST__A 0xC70011 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 263 | #define FE_CU_REG_FRM_CNT_STR__A 0xC70012 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 264 | #define FT_COMM_EXEC__A 0x1000000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 265 | #define FT_REG_COMM_EXEC__A 0x1010000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 266 | #define CP_COMM_EXEC__A 0x1400000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 267 | #define CP_REG_COMM_EXEC__A 0x1410000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 268 | #define CP_REG_INTERVAL__A 0x1410011 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 269 | #define CP_REG_BR_SPL_OFFSET__A 0x1410023 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 270 | #define CP_REG_BR_STR_DEL__A 0x1410024 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 271 | #define CP_REG_RT_ANG_INC0__A 0x1410030 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 272 | #define CP_REG_RT_ANG_INC1__A 0x1410031 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 273 | #define CP_REG_RT_DETECT_ENA__A 0x1410032 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 274 | #define CP_REG_RT_DETECT_TRH__A 0x1410033 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 275 | #define CP_REG_RT_EXP_MARG__A 0x141003E |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 276 | #define CP_REG_AC_NEXP_OFFS__A 0x1410040 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 277 | #define CP_REG_AC_AVER_POW__A 0x1410041 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 278 | #define CP_REG_AC_MAX_POW__A 0x1410042 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 279 | #define CP_REG_AC_WEIGHT_MAN__A 0x1410043 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 280 | #define CP_REG_AC_WEIGHT_EXP__A 0x1410044 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 281 | #define CP_REG_AC_AMP_MODE__A 0x1410047 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 282 | #define CP_REG_AC_AMP_FIX__A 0x1410048 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 283 | #define CP_REG_AC_ANG_MODE__A 0x141004A |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 284 | #define CE_COMM_EXEC__A 0x1800000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 285 | #define CE_REG_COMM_EXEC__A 0x1810000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 286 | #define CE_REG_TAPSET__A 0x1810011 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 287 | #define CE_REG_AVG_POW__A 0x1810012 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 288 | #define CE_REG_MAX_POW__A 0x1810013 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 289 | #define CE_REG_ATT__A 0x1810014 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 290 | #define CE_REG_NRED__A 0x1810015 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 291 | #define CE_REG_NE_ERR_SELECT__A 0x1810043 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 292 | #define CE_REG_NE_TD_CAL__A 0x1810044 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 293 | #define CE_REG_NE_MIXAVG__A 0x1810046 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 294 | #define CE_REG_NE_NUPD_OFS__A 0x1810047 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 295 | #define CE_REG_PE_NEXP_OFFS__A 0x1810050 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 296 | #define CE_REG_PE_TIMESHIFT__A 0x1810051 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 297 | #define CE_REG_TP_A0_TAP_NEW__A 0x1810064 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 298 | #define CE_REG_TP_A0_TAP_NEW_VALID__A 0x1810065 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 299 | #define CE_REG_TP_A0_MU_LMS_STEP__A 0x1810066 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 300 | #define CE_REG_TP_A1_TAP_NEW__A 0x1810068 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 301 | #define CE_REG_TP_A1_TAP_NEW_VALID__A 0x1810069 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 302 | #define CE_REG_TP_A1_MU_LMS_STEP__A 0x181006A |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 303 | #define CE_REG_TI_NEXP_OFFS__A 0x1810070 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 304 | #define CE_REG_FI_SHT_INCR__A 0x1810090 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 305 | #define CE_REG_FI_EXP_NORM__A 0x1810091 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 306 | #define CE_REG_IR_INPUTSEL__A 0x18100A0 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 307 | #define CE_REG_IR_STARTPOS__A 0x18100A1 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 308 | #define CE_REG_IR_NEXP_THRES__A 0x18100A2 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 309 | #define CE_REG_FR_TREAL00__A 0x1820010 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 310 | #define CE_REG_FR_TIMAG00__A 0x1820011 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 311 | #define CE_REG_FR_TREAL01__A 0x1820012 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 312 | #define CE_REG_FR_TIMAG01__A 0x1820013 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 313 | #define CE_REG_FR_TREAL02__A 0x1820014 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 314 | #define CE_REG_FR_TIMAG02__A 0x1820015 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 315 | #define CE_REG_FR_TREAL03__A 0x1820016 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 316 | #define CE_REG_FR_TIMAG03__A 0x1820017 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 317 | #define CE_REG_FR_TREAL04__A 0x1820018 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 318 | #define CE_REG_FR_TIMAG04__A 0x1820019 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 319 | #define CE_REG_FR_TREAL05__A 0x182001A |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 320 | #define CE_REG_FR_TIMAG05__A 0x182001B |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 321 | #define CE_REG_FR_TREAL06__A 0x182001C |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 322 | #define CE_REG_FR_TIMAG06__A 0x182001D |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 323 | #define CE_REG_FR_TREAL07__A 0x182001E |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 324 | #define CE_REG_FR_TIMAG07__A 0x182001F |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 325 | #define CE_REG_FR_TREAL08__A 0x1820020 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 326 | #define CE_REG_FR_TIMAG08__A 0x1820021 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 327 | #define CE_REG_FR_TREAL09__A 0x1820022 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 328 | #define CE_REG_FR_TIMAG09__A 0x1820023 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 329 | #define CE_REG_FR_TREAL10__A 0x1820024 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 330 | #define CE_REG_FR_TIMAG10__A 0x1820025 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 331 | #define CE_REG_FR_TREAL11__A 0x1820026 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 332 | #define CE_REG_FR_TIMAG11__A 0x1820027 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 333 | #define CE_REG_FR_MID_TAP__A 0x1820028 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 334 | #define CE_REG_FR_SQS_G00__A 0x1820029 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 335 | #define CE_REG_FR_SQS_G01__A 0x182002A |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 336 | #define CE_REG_FR_SQS_G02__A 0x182002B |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 337 | #define CE_REG_FR_SQS_G03__A 0x182002C |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 338 | #define CE_REG_FR_SQS_G04__A 0x182002D |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 339 | #define CE_REG_FR_SQS_G05__A 0x182002E |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 340 | #define CE_REG_FR_SQS_G06__A 0x182002F |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 341 | #define CE_REG_FR_SQS_G07__A 0x1820030 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 342 | #define CE_REG_FR_SQS_G08__A 0x1820031 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 343 | #define CE_REG_FR_SQS_G09__A 0x1820032 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 344 | #define CE_REG_FR_SQS_G10__A 0x1820033 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 345 | #define CE_REG_FR_SQS_G11__A 0x1820034 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 346 | #define CE_REG_FR_SQS_G12__A 0x1820035 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 347 | #define CE_REG_FR_RIO_G00__A 0x1820036 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 348 | #define CE_REG_FR_RIO_G01__A 0x1820037 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 349 | #define CE_REG_FR_RIO_G02__A 0x1820038 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 350 | #define CE_REG_FR_RIO_G03__A 0x1820039 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 351 | #define CE_REG_FR_RIO_G04__A 0x182003A |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 352 | #define CE_REG_FR_RIO_G05__A 0x182003B |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 353 | #define CE_REG_FR_RIO_G06__A 0x182003C |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 354 | #define CE_REG_FR_RIO_G07__A 0x182003D |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 355 | #define CE_REG_FR_RIO_G08__A 0x182003E |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 356 | #define CE_REG_FR_RIO_G09__A 0x182003F |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 357 | #define CE_REG_FR_RIO_G10__A 0x1820040 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 358 | #define CE_REG_FR_MODE__A 0x1820041 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 359 | #define CE_REG_FR_SQS_TRH__A 0x1820042 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 360 | #define CE_REG_FR_RIO_GAIN__A 0x1820043 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 361 | #define CE_REG_FR_BYPASS__A 0x1820044 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 362 | #define CE_REG_FR_PM_SET__A 0x1820045 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 363 | #define CE_REG_FR_ERR_SH__A 0x1820046 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 364 | #define CE_REG_FR_MAN_SH__A 0x1820047 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 365 | #define CE_REG_FR_TAP_SH__A 0x1820048 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 366 | #define EQ_COMM_EXEC__A 0x1C00000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 367 | #define EQ_REG_COMM_EXEC__A 0x1C10000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 368 | #define EQ_REG_COMM_MB__A 0x1C10002 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 369 | #define EQ_REG_IS_GAIN_MAN__A 0x1C10015 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 370 | #define EQ_REG_IS_GAIN_EXP__A 0x1C10016 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 371 | #define EQ_REG_IS_CLIP_EXP__A 0x1C10017 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 372 | #define EQ_REG_SN_CEGAIN__A 0x1C1002A |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 373 | #define EQ_REG_SN_OFFSET__A 0x1C1002B |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 374 | #define EQ_REG_RC_SEL_CAR__A 0x1C10032 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 375 | #define EQ_REG_RC_SEL_CAR_INIT 0x0 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 376 | #define EQ_REG_RC_SEL_CAR_DIV_ON 0x1 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 377 | #define EQ_REG_RC_SEL_CAR_PASS_A_CC 0x0 |
| 378 | #define EQ_REG_RC_SEL_CAR_PASS_B_CE 0x2 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 379 | #define EQ_REG_RC_SEL_CAR_LOCAL_A_CC 0x0 |
| 380 | #define EQ_REG_RC_SEL_CAR_LOCAL_B_CE 0x8 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 381 | #define EQ_REG_RC_SEL_CAR_MEAS_A_CC 0x0 |
| 382 | #define EQ_REG_RC_SEL_CAR_MEAS_B_CE 0x20 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 383 | #define EQ_REG_OT_CONST__A 0x1C10046 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 384 | #define EQ_REG_OT_ALPHA__A 0x1C10047 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 385 | #define EQ_REG_OT_QNT_THRES0__A 0x1C10048 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 386 | #define EQ_REG_OT_QNT_THRES1__A 0x1C10049 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 387 | #define EQ_REG_OT_CSI_STEP__A 0x1C1004A |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 388 | #define EQ_REG_OT_CSI_OFFSET__A 0x1C1004B |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 389 | #define EQ_REG_TD_REQ_SMB_CNT__A 0x1C10061 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 390 | #define EQ_REG_TD_TPS_PWR_OFS__A 0x1C10062 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 391 | #define EC_SB_REG_COMM_EXEC__A 0x2010000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 392 | #define EC_SB_REG_TR_MODE__A 0x2010010 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 393 | #define EC_SB_REG_TR_MODE_8K 0x0 |
| 394 | #define EC_SB_REG_TR_MODE_2K 0x1 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 395 | #define EC_SB_REG_CONST__A 0x2010011 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 396 | #define EC_SB_REG_CONST_QPSK 0x0 |
| 397 | #define EC_SB_REG_CONST_16QAM 0x1 |
| 398 | #define EC_SB_REG_CONST_64QAM 0x2 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 399 | #define EC_SB_REG_ALPHA__A 0x2010012 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 400 | #define EC_SB_REG_PRIOR__A 0x2010013 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 401 | #define EC_SB_REG_PRIOR_HI 0x0 |
| 402 | #define EC_SB_REG_PRIOR_LO 0x1 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 403 | #define EC_SB_REG_CSI_HI__A 0x2010014 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 404 | #define EC_SB_REG_CSI_LO__A 0x2010015 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 405 | #define EC_SB_REG_SMB_TGL__A 0x2010016 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 406 | #define EC_SB_REG_SNR_HI__A 0x2010017 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 407 | #define EC_SB_REG_SNR_MID__A 0x2010018 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 408 | #define EC_SB_REG_SNR_LO__A 0x2010019 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 409 | #define EC_SB_REG_SCALE_MSB__A 0x201001A |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 410 | #define EC_SB_REG_SCALE_BIT2__A 0x201001B |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 411 | #define EC_SB_REG_SCALE_LSB__A 0x201001C |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 412 | #define EC_SB_REG_CSI_OFS__A 0x201001D |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 413 | #define EC_VD_REG_COMM_EXEC__A 0x2090000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 414 | #define EC_VD_REG_FORCE__A 0x2090010 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 415 | #define EC_VD_REG_SET_CODERATE__A 0x2090011 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 416 | #define EC_VD_REG_SET_CODERATE_C1_2 0x0 |
| 417 | #define EC_VD_REG_SET_CODERATE_C2_3 0x1 |
| 418 | #define EC_VD_REG_SET_CODERATE_C3_4 0x2 |
| 419 | #define EC_VD_REG_SET_CODERATE_C5_6 0x3 |
| 420 | #define EC_VD_REG_SET_CODERATE_C7_8 0x4 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 421 | #define EC_VD_REG_REQ_SMB_CNT__A 0x2090012 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 422 | #define EC_VD_REG_RLK_ENA__A 0x2090014 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 423 | #define EC_OD_REG_COMM_EXEC__A 0x2110000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 424 | #define EC_OD_REG_SYNC__A 0x2110010 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 425 | #define EC_OD_DEINT_RAM__A 0x2120000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 426 | #define EC_RS_REG_COMM_EXEC__A 0x2130000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 427 | #define EC_RS_REG_REQ_PCK_CNT__A 0x2130010 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 428 | #define EC_RS_REG_VAL__A 0x2130011 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 429 | #define EC_RS_REG_VAL_PCK 0x1 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 430 | #define EC_RS_EC_RAM__A 0x2140000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 431 | #define EC_OC_REG_COMM_EXEC__A 0x2150000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 432 | #define EC_OC_REG_COMM_EXEC_CTL_ACTIVE 0x1 |
| 433 | #define EC_OC_REG_COMM_EXEC_CTL_HOLD 0x2 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 434 | #define EC_OC_REG_COMM_INT_STA__A 0x2150007 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 435 | #define EC_OC_REG_OC_MODE_LOP__A 0x2150010 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 436 | #define EC_OC_REG_OC_MODE_LOP_PAR_ENA__M 0x1 |
| 437 | #define EC_OC_REG_OC_MODE_LOP_PAR_ENA_ENABLE 0x0 |
| 438 | #define EC_OC_REG_OC_MODE_LOP_PAR_ENA_DISABLE 0x1 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 439 | #define EC_OC_REG_OC_MODE_LOP_DTO_CTR_SRC__M 0x4 |
| 440 | #define EC_OC_REG_OC_MODE_LOP_DTO_CTR_SRC_STATIC 0x0 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 441 | #define EC_OC_REG_OC_MODE_LOP_MPG_TRM_MDE__M 0x80 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 442 | #define EC_OC_REG_OC_MODE_LOP_MPG_TRM_MDE_SERIAL 0x80 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 443 | #define EC_OC_REG_OC_MODE_HIP__A 0x2150011 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 444 | #define EC_OC_REG_OC_MODE_HIP_MPG_BUS_SRC_MONITOR 0x10 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 445 | #define EC_OC_REG_OC_MODE_HIP_MPG_PAR_VAL__M 0x200 |
| 446 | #define EC_OC_REG_OC_MODE_HIP_MPG_PAR_VAL_DISABLE 0x0 |
| 447 | #define EC_OC_REG_OC_MODE_HIP_MPG_PAR_VAL_ENABLE 0x200 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 448 | #define EC_OC_REG_OC_MPG_SIO__A 0x2150012 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 449 | #define EC_OC_REG_OC_MPG_SIO__M 0xFFF |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 450 | #define EC_OC_REG_OC_MON_SIO__A 0x2150013 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 451 | #define EC_OC_REG_DTO_INC_LOP__A 0x2150014 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 452 | #define EC_OC_REG_DTO_INC_HIP__A 0x2150015 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 453 | #define EC_OC_REG_SNC_ISC_LVL__A 0x2150016 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 454 | #define EC_OC_REG_SNC_ISC_LVL_OSC__M 0xF0 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 455 | #define EC_OC_REG_TMD_TOP_MODE__A 0x215001D |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 456 | #define EC_OC_REG_TMD_TOP_CNT__A 0x215001E |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 457 | #define EC_OC_REG_TMD_HIL_MAR__A 0x215001F |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 458 | #define EC_OC_REG_TMD_LOL_MAR__A 0x2150020 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 459 | #define EC_OC_REG_TMD_CUR_CNT__A 0x2150021 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 460 | #define EC_OC_REG_AVR_ASH_CNT__A 0x2150023 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 461 | #define EC_OC_REG_AVR_BSH_CNT__A 0x2150024 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 462 | #define EC_OC_REG_RCN_MODE__A 0x2150027 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 463 | #define EC_OC_REG_RCN_CRA_LOP__A 0x2150028 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 464 | #define EC_OC_REG_RCN_CRA_HIP__A 0x2150029 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 465 | #define EC_OC_REG_RCN_CST_LOP__A 0x215002A |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 466 | #define EC_OC_REG_RCN_CST_HIP__A 0x215002B |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 467 | #define EC_OC_REG_RCN_SET_LVL__A 0x215002C |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 468 | #define EC_OC_REG_RCN_GAI_LVL__A 0x215002D |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 469 | #define EC_OC_REG_RCN_CLP_LOP__A 0x2150032 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 470 | #define EC_OC_REG_RCN_CLP_HIP__A 0x2150033 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 471 | #define EC_OC_REG_RCN_MAP_LOP__A 0x2150034 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 472 | #define EC_OC_REG_RCN_MAP_HIP__A 0x2150035 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 473 | #define EC_OC_REG_OCR_MPG_UOS__A 0x2150036 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 474 | #define EC_OC_REG_OCR_MPG_UOS__M 0xFFF |
| 475 | #define EC_OC_REG_OCR_MPG_UOS_INIT 0x0 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 476 | #define EC_OC_REG_OCR_MPG_USR_DAT__A 0x2150038 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 477 | #define EC_OC_REG_OCR_MON_UOS__A 0x2150039 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 478 | #define EC_OC_REG_OCR_MON_UOS_DAT_0_ENABLE 0x1 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 479 | #define EC_OC_REG_OCR_MON_UOS_DAT_1_ENABLE 0x2 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 480 | #define EC_OC_REG_OCR_MON_UOS_DAT_2_ENABLE 0x4 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 481 | #define EC_OC_REG_OCR_MON_UOS_DAT_3_ENABLE 0x8 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 482 | #define EC_OC_REG_OCR_MON_UOS_DAT_4_ENABLE 0x10 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 483 | #define EC_OC_REG_OCR_MON_UOS_DAT_5_ENABLE 0x20 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 484 | #define EC_OC_REG_OCR_MON_UOS_DAT_6_ENABLE 0x40 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 485 | #define EC_OC_REG_OCR_MON_UOS_DAT_7_ENABLE 0x80 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 486 | #define EC_OC_REG_OCR_MON_UOS_DAT_8_ENABLE 0x100 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 487 | #define EC_OC_REG_OCR_MON_UOS_DAT_9_ENABLE 0x200 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 488 | #define EC_OC_REG_OCR_MON_UOS_VAL_ENABLE 0x400 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 489 | #define EC_OC_REG_OCR_MON_UOS_CLK_ENABLE 0x800 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 490 | #define EC_OC_REG_OCR_MON_WRI__A 0x215003A |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 491 | #define EC_OC_REG_OCR_MON_WRI_INIT 0x0 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 492 | #define EC_OC_REG_IPR_INV_MPG__A 0x2150045 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 493 | #define CC_REG_OSC_MODE__A 0x2410010 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 494 | #define CC_REG_OSC_MODE_M20 0x1 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 495 | #define CC_REG_PLL_MODE__A 0x2410011 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 496 | #define CC_REG_PLL_MODE_BYPASS_PLL 0x1 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 497 | #define CC_REG_PLL_MODE_PUMP_CUR_12 0x14 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 498 | #define CC_REG_REF_DIVIDE__A 0x2410012 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 499 | #define CC_REG_PWD_MODE__A 0x2410015 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 500 | #define CC_REG_PWD_MODE_DOWN_PLL 0x2 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 501 | #define CC_REG_UPDATE__A 0x2410017 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 502 | #define CC_REG_UPDATE_KEY 0x3973 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 503 | #define CC_REG_JTAGID_L__A 0x2410019 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 504 | #define LC_COMM_EXEC__A 0x2800000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 505 | #define LC_RA_RAM_IFINCR_NOM_L__A 0x282000C |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 506 | #define LC_RA_RAM_FILTER_SYM_SET__A 0x282001A |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 507 | #define LC_RA_RAM_FILTER_SYM_SET__PRE 0x3E8 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 508 | #define LC_RA_RAM_FILTER_CRMM_A__A 0x2820060 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 509 | #define LC_RA_RAM_FILTER_CRMM_A__PRE 0x4 |
| 510 | #define LC_RA_RAM_FILTER_CRMM_B__A 0x2820061 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 511 | #define LC_RA_RAM_FILTER_CRMM_B__PRE 0x1 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 512 | #define LC_RA_RAM_FILTER_SRMM_A__A 0x2820068 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 513 | #define LC_RA_RAM_FILTER_SRMM_A__PRE 0x4 |
| 514 | #define LC_RA_RAM_FILTER_SRMM_B__A 0x2820069 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 515 | #define LC_RA_RAM_FILTER_SRMM_B__PRE 0x1 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 516 | #define B_HI_COMM_EXEC__A 0x400000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 517 | #define B_HI_COMM_MB__A 0x400002 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 518 | #define B_HI_CT_REG_COMM_STATE__A 0x410001 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 519 | #define B_HI_RA_RAM_SRV_RES__A 0x420031 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 520 | #define B_HI_RA_RAM_SRV_CMD__A 0x420032 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 521 | #define B_HI_RA_RAM_SRV_CMD_RESET 0x2 |
| 522 | #define B_HI_RA_RAM_SRV_CMD_CONFIG 0x3 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 523 | #define B_HI_RA_RAM_SRV_CMD_EXECUTE 0x6 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 524 | #define B_HI_RA_RAM_SRV_RST_KEY__A 0x420033 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 525 | #define B_HI_RA_RAM_SRV_RST_KEY_ACT 0x3973 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 526 | #define B_HI_RA_RAM_SRV_CFG_KEY__A 0x420033 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 527 | #define B_HI_RA_RAM_SRV_CFG_DIV__A 0x420034 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 528 | #define B_HI_RA_RAM_SRV_CFG_BDL__A 0x420035 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 529 | #define B_HI_RA_RAM_SRV_CFG_WUP__A 0x420036 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 530 | #define B_HI_RA_RAM_SRV_CFG_ACT__A 0x420037 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 531 | #define B_HI_RA_RAM_SRV_CFG_ACT_SLV0_ON 0x1 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 532 | #define B_HI_RA_RAM_SRV_CFG_ACT_BRD__M 0x4 |
| 533 | #define B_HI_RA_RAM_SRV_CFG_ACT_BRD_OFF 0x0 |
| 534 | #define B_HI_RA_RAM_SRV_CFG_ACT_BRD_ON 0x4 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 535 | #define B_HI_RA_RAM_SRV_CFG_ACT_PWD_EXE 0x8 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 536 | #define B_HI_RA_RAM_USR_BEGIN__A 0x420040 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 537 | #define B_HI_IF_RAM_TRP_BPT0__AX 0x430000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 538 | #define B_HI_IF_RAM_USR_BEGIN__A 0x430200 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 539 | #define B_SC_COMM_EXEC__A 0x800000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 540 | #define B_SC_COMM_EXEC_CTL_STOP 0x0 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 541 | #define B_SC_COMM_STATE__A 0x800001 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 542 | #define B_SC_RA_RAM_PARAM0__A 0x820040 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 543 | #define B_SC_RA_RAM_PARAM1__A 0x820041 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 544 | #define B_SC_RA_RAM_CMD_ADDR__A 0x820042 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 545 | #define B_SC_RA_RAM_CMD__A 0x820043 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 546 | #define B_SC_RA_RAM_CMD_PROC_START 0x1 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 547 | #define B_SC_RA_RAM_CMD_SET_PREF_PARAM 0x3 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 548 | #define B_SC_RA_RAM_CMD_GET_OP_PARAM 0x5 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 549 | #define B_SC_RA_RAM_SW_EVENT_RUN_NMASK__M 0x1 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 550 | #define B_SC_RA_RAM_LOCKTRACK_MIN 0x1 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 551 | #define B_SC_RA_RAM_OP_PARAM_MODE_2K 0x0 |
| 552 | #define B_SC_RA_RAM_OP_PARAM_MODE_8K 0x1 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 553 | #define B_SC_RA_RAM_OP_PARAM_GUARD_32 0x0 |
| 554 | #define B_SC_RA_RAM_OP_PARAM_GUARD_16 0x4 |
| 555 | #define B_SC_RA_RAM_OP_PARAM_GUARD_8 0x8 |
| 556 | #define B_SC_RA_RAM_OP_PARAM_GUARD_4 0xC |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 557 | #define B_SC_RA_RAM_OP_PARAM_CONST_QPSK 0x0 |
| 558 | #define B_SC_RA_RAM_OP_PARAM_CONST_QAM16 0x10 |
| 559 | #define B_SC_RA_RAM_OP_PARAM_CONST_QAM64 0x20 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 560 | #define B_SC_RA_RAM_OP_PARAM_HIER_NO 0x0 |
| 561 | #define B_SC_RA_RAM_OP_PARAM_HIER_A1 0x40 |
| 562 | #define B_SC_RA_RAM_OP_PARAM_HIER_A2 0x80 |
| 563 | #define B_SC_RA_RAM_OP_PARAM_HIER_A4 0xC0 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 564 | #define B_SC_RA_RAM_OP_PARAM_RATE_1_2 0x0 |
| 565 | #define B_SC_RA_RAM_OP_PARAM_RATE_2_3 0x200 |
| 566 | #define B_SC_RA_RAM_OP_PARAM_RATE_3_4 0x400 |
| 567 | #define B_SC_RA_RAM_OP_PARAM_RATE_5_6 0x600 |
| 568 | #define B_SC_RA_RAM_OP_PARAM_RATE_7_8 0x800 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 569 | #define B_SC_RA_RAM_OP_PARAM_PRIO_HI 0x0 |
| 570 | #define B_SC_RA_RAM_OP_PARAM_PRIO_LO 0x1000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 571 | #define B_SC_RA_RAM_OP_AUTO_MODE__M 0x1 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 572 | #define B_SC_RA_RAM_OP_AUTO_GUARD__M 0x2 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 573 | #define B_SC_RA_RAM_OP_AUTO_CONST__M 0x4 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 574 | #define B_SC_RA_RAM_OP_AUTO_HIER__M 0x8 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 575 | #define B_SC_RA_RAM_OP_AUTO_RATE__M 0x10 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 576 | #define B_SC_RA_RAM_LOCK__A 0x82004B |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 577 | #define B_SC_RA_RAM_LOCK_DEMOD__M 0x1 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 578 | #define B_SC_RA_RAM_LOCK_FEC__M 0x2 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 579 | #define B_SC_RA_RAM_LOCK_MPEG__M 0x4 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 580 | #define B_SC_RA_RAM_BE_OPT_ENA__A 0x82004C |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 581 | #define B_SC_RA_RAM_BE_OPT_ENA_CP_OPT 0x1 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 582 | #define B_SC_RA_RAM_BE_OPT_DELAY__A 0x82004D |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 583 | #define B_SC_RA_RAM_CONFIG__A 0x820050 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 584 | #define B_SC_RA_RAM_CONFIG_FR_ENABLE__M 0x4 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 585 | #define B_SC_RA_RAM_CONFIG_FREQSCAN__M 0x10 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 586 | #define B_SC_RA_RAM_CONFIG_SLAVE__M 0x20 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 587 | #define B_SC_RA_RAM_CONFIG_DIV_BLANK_ENABLE__M 0x200 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 588 | #define B_SC_RA_RAM_CONFIG_DIV_ECHO_ENABLE__M 0x400 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 589 | #define B_SC_RA_RAM_CO_TD_CAL_2K__A 0x82005D |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 590 | #define B_SC_RA_RAM_CO_TD_CAL_8K__A 0x82005E |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 591 | #define B_SC_RA_RAM_IF_SAVE__AX 0x82008E |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 592 | #define B_SC_RA_RAM_DIVERSITY_DELAY_2K_32__A 0x820098 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 593 | #define B_SC_RA_RAM_DIVERSITY_DELAY_2K_16__A 0x820099 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 594 | #define B_SC_RA_RAM_DIVERSITY_DELAY_2K_8__A 0x82009A |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 595 | #define B_SC_RA_RAM_DIVERSITY_DELAY_2K_4__A 0x82009B |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 596 | #define B_SC_RA_RAM_DIVERSITY_DELAY_8K_32__A 0x82009C |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 597 | #define B_SC_RA_RAM_DIVERSITY_DELAY_8K_16__A 0x82009D |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 598 | #define B_SC_RA_RAM_DIVERSITY_DELAY_8K_8__A 0x82009E |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 599 | #define B_SC_RA_RAM_DIVERSITY_DELAY_8K_4__A 0x82009F |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 600 | #define B_SC_RA_RAM_IR_COARSE_2K_LENGTH__A 0x8200D1 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 601 | #define B_SC_RA_RAM_IR_COARSE_2K_LENGTH__PRE 0x9 |
| 602 | #define B_SC_RA_RAM_IR_COARSE_2K_FREQINC__A 0x8200D2 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 603 | #define B_SC_RA_RAM_IR_COARSE_2K_FREQINC__PRE 0x4 |
| 604 | #define B_SC_RA_RAM_IR_COARSE_2K_KAISINC__A 0x8200D3 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 605 | #define B_SC_RA_RAM_IR_COARSE_2K_KAISINC__PRE 0x100 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 606 | #define B_SC_RA_RAM_IR_COARSE_8K_LENGTH__A 0x8200D4 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 607 | #define B_SC_RA_RAM_IR_COARSE_8K_LENGTH__PRE 0x8 |
| 608 | #define B_SC_RA_RAM_IR_COARSE_8K_FREQINC__A 0x8200D5 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 609 | #define B_SC_RA_RAM_IR_COARSE_8K_FREQINC__PRE 0x8 |
| 610 | #define B_SC_RA_RAM_IR_COARSE_8K_KAISINC__A 0x8200D6 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 611 | #define B_SC_RA_RAM_IR_COARSE_8K_KAISINC__PRE 0x200 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 612 | #define B_SC_RA_RAM_IR_FINE_2K_LENGTH__A 0x8200D7 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 613 | #define B_SC_RA_RAM_IR_FINE_2K_LENGTH__PRE 0x9 |
| 614 | #define B_SC_RA_RAM_IR_FINE_2K_FREQINC__A 0x8200D8 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 615 | #define B_SC_RA_RAM_IR_FINE_2K_FREQINC__PRE 0x4 |
| 616 | #define B_SC_RA_RAM_IR_FINE_2K_KAISINC__A 0x8200D9 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 617 | #define B_SC_RA_RAM_IR_FINE_2K_KAISINC__PRE 0x100 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 618 | #define B_SC_RA_RAM_IR_FINE_8K_LENGTH__A 0x8200DA |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 619 | #define B_SC_RA_RAM_IR_FINE_8K_LENGTH__PRE 0xB |
| 620 | #define B_SC_RA_RAM_IR_FINE_8K_FREQINC__A 0x8200DB |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 621 | #define B_SC_RA_RAM_IR_FINE_8K_FREQINC__PRE 0x1 |
| 622 | #define B_SC_RA_RAM_IR_FINE_8K_KAISINC__A 0x8200DC |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 623 | #define B_SC_RA_RAM_IR_FINE_8K_KAISINC__PRE 0x40 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 624 | #define B_SC_RA_RAM_ECHO_SHIFT_LIM__A 0x8200DD |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 625 | #define B_SC_RA_RAM_SAMPLE_RATE_COUNT__A 0x8200E8 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 626 | #define B_SC_RA_RAM_SAMPLE_RATE_STEP__A 0x8200E9 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 627 | #define B_SC_RA_RAM_BAND__A 0x8200EC |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 628 | #define B_SC_RA_RAM_LC_ABS_2K__A 0x8200F4 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 629 | #define B_SC_RA_RAM_LC_ABS_2K__PRE 0x1F |
| 630 | #define B_SC_RA_RAM_LC_ABS_8K__A 0x8200F5 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 631 | #define B_SC_RA_RAM_LC_ABS_8K__PRE 0x1F |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 632 | #define B_SC_RA_RAM_EQ_IS_GAIN_UNKNOWN_MAN__PRE 0x100 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 633 | #define B_SC_RA_RAM_EQ_IS_GAIN_UNKNOWN_EXP__PRE 0x4 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 634 | #define B_SC_RA_RAM_EQ_IS_GAIN_QPSK_MAN__PRE 0x1E2 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 635 | #define B_SC_RA_RAM_EQ_IS_GAIN_QPSK_EXP__PRE 0x4 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 636 | #define B_SC_RA_RAM_EQ_IS_GAIN_16QAM_MAN__PRE 0x10D |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 637 | #define B_SC_RA_RAM_EQ_IS_GAIN_16QAM_EXP__PRE 0x5 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 638 | #define B_SC_RA_RAM_EQ_IS_GAIN_16QAM_A2_MAN__PRE 0x17D |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 639 | #define B_SC_RA_RAM_EQ_IS_GAIN_16QAM_A2_EXP__PRE 0x4 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 640 | #define B_SC_RA_RAM_EQ_IS_GAIN_16QAM_A4_MAN__PRE 0x133 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 641 | #define B_SC_RA_RAM_EQ_IS_GAIN_16QAM_A4_EXP__PRE 0x5 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 642 | #define B_SC_RA_RAM_EQ_IS_GAIN_64QAM_MAN__PRE 0x114 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 643 | #define B_SC_RA_RAM_EQ_IS_GAIN_64QAM_EXP__PRE 0x5 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 644 | #define B_SC_RA_RAM_EQ_IS_GAIN_64QAM_A2_MAN__PRE 0x14A |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 645 | #define B_SC_RA_RAM_EQ_IS_GAIN_64QAM_A2_EXP__PRE 0x4 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 646 | #define B_SC_RA_RAM_EQ_IS_GAIN_64QAM_A4_MAN__PRE 0x1BB |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 647 | #define B_SC_RA_RAM_EQ_IS_GAIN_64QAM_A4_EXP__PRE 0x4 |
| 648 | #define B_SC_RA_RAM_DRIVER_VERSION__AX 0x8201FE |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 649 | #define B_SC_RA_RAM_PROC_LOCKTRACK 0x0 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 650 | #define B_FE_COMM_EXEC__A 0xC00000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 651 | #define B_FE_AD_REG_COMM_EXEC__A 0xC10000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 652 | #define B_FE_AD_REG_FDB_IN__A 0xC10012 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 653 | #define B_FE_AD_REG_PD__A 0xC10013 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 654 | #define B_FE_AD_REG_INVEXT__A 0xC10014 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 655 | #define B_FE_AD_REG_CLKNEG__A 0xC10015 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 656 | #define B_FE_AG_REG_COMM_EXEC__A 0xC20000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 657 | #define B_FE_AG_REG_AG_MODE_LOP__A 0xC20010 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 658 | #define B_FE_AG_REG_AG_MODE_LOP_MODE_4__M 0x10 |
| 659 | #define B_FE_AG_REG_AG_MODE_LOP_MODE_4_STATIC 0x0 |
| 660 | #define B_FE_AG_REG_AG_MODE_LOP_MODE_4_DYNAMIC 0x10 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 661 | #define B_FE_AG_REG_AG_MODE_LOP_MODE_5__M 0x20 |
| 662 | #define B_FE_AG_REG_AG_MODE_LOP_MODE_5_STATIC 0x0 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 663 | #define B_FE_AG_REG_AG_MODE_LOP_MODE_C__M 0x1000 |
| 664 | #define B_FE_AG_REG_AG_MODE_LOP_MODE_C_STATIC 0x0 |
| 665 | #define B_FE_AG_REG_AG_MODE_LOP_MODE_C_DYNAMIC 0x1000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 666 | #define B_FE_AG_REG_AG_MODE_LOP_MODE_E__M 0x4000 |
| 667 | #define B_FE_AG_REG_AG_MODE_LOP_MODE_E_STATIC 0x0 |
| 668 | #define B_FE_AG_REG_AG_MODE_LOP_MODE_E_DYNAMIC 0x4000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 669 | #define B_FE_AG_REG_AG_MODE_HIP__A 0xC20011 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 670 | #define B_FE_AG_REG_AG_MODE_HIP_MODE_J__M 0x8 |
| 671 | #define B_FE_AG_REG_AG_MODE_HIP_MODE_J_STATIC 0x0 |
| 672 | #define B_FE_AG_REG_AG_MODE_HIP_MODE_J_DYNAMIC 0x8 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 673 | #define B_FE_AG_REG_AG_PGA_MODE__A 0xC20012 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 674 | #define B_FE_AG_REG_AG_PGA_MODE_PFY_PCY_AFY_REN 0x0 |
| 675 | #define B_FE_AG_REG_AG_PGA_MODE_PFN_PCN_AFY_REN 0x1 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 676 | #define B_FE_AG_REG_AG_AGC_SIO__A 0xC20013 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 677 | #define B_FE_AG_REG_AG_AGC_SIO_AGC_SIO_2__M 0x2 |
| 678 | #define B_FE_AG_REG_AG_AGC_SIO_AGC_SIO_2_OUTPUT 0x0 |
| 679 | #define B_FE_AG_REG_AG_AGC_SIO_AGC_SIO_2_INPUT 0x2 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 680 | #define B_FE_AG_REG_AG_PWD__A 0xC20015 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 681 | #define B_FE_AG_REG_AG_PWD_PWD_PD2__M 0x2 |
| 682 | #define B_FE_AG_REG_AG_PWD_PWD_PD2_DISABLE 0x0 |
| 683 | #define B_FE_AG_REG_AG_PWD_PWD_PD2_ENABLE 0x2 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 684 | #define B_FE_AG_REG_DCE_AUR_CNT__A 0xC20016 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 685 | #define B_FE_AG_REG_DCE_RUR_CNT__A 0xC20017 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 686 | #define B_FE_AG_REG_ACE_AUR_CNT__A 0xC2001A |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 687 | #define B_FE_AG_REG_ACE_RUR_CNT__A 0xC2001B |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 688 | #define B_FE_AG_REG_CDR_RUR_CNT__A 0xC20020 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 689 | #define B_FE_AG_REG_EGC_RUR_CNT__A 0xC20024 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 690 | #define B_FE_AG_REG_EGC_SET_LVL__A 0xC20025 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 691 | #define B_FE_AG_REG_EGC_SET_LVL__M 0x1FF |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 692 | #define B_FE_AG_REG_EGC_FLA_RGN__A 0xC20026 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 693 | #define B_FE_AG_REG_EGC_SLO_RGN__A 0xC20027 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 694 | #define B_FE_AG_REG_EGC_JMP_PSN__A 0xC20028 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 695 | #define B_FE_AG_REG_EGC_FLA_INC__A 0xC20029 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 696 | #define B_FE_AG_REG_EGC_FLA_DEC__A 0xC2002A |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 697 | #define B_FE_AG_REG_EGC_SLO_INC__A 0xC2002B |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 698 | #define B_FE_AG_REG_EGC_SLO_DEC__A 0xC2002C |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 699 | #define B_FE_AG_REG_EGC_FAS_INC__A 0xC2002D |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 700 | #define B_FE_AG_REG_EGC_FAS_DEC__A 0xC2002E |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 701 | #define B_FE_AG_REG_PM1_AGC_WRI__A 0xC20030 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 702 | #define B_FE_AG_REG_PM1_AGC_WRI__M 0x7FF |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 703 | #define B_FE_AG_REG_GC1_AGC_RIC__A 0xC20031 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 704 | #define B_FE_AG_REG_GC1_AGC_OFF__A 0xC20032 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 705 | #define B_FE_AG_REG_GC1_AGC_MAX__A 0xC20033 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 706 | #define B_FE_AG_REG_GC1_AGC_MIN__A 0xC20034 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 707 | #define B_FE_AG_REG_GC1_AGC_DAT__A 0xC20035 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 708 | #define B_FE_AG_REG_GC1_AGC_DAT__M 0x3FF |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 709 | #define B_FE_AG_REG_PM2_AGC_WRI__A 0xC20036 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 710 | #define B_FE_AG_REG_IND_WIN__A 0xC2003C |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 711 | #define B_FE_AG_REG_IND_THD_LOL__A 0xC2003D |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 712 | #define B_FE_AG_REG_IND_THD_HIL__A 0xC2003E |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 713 | #define B_FE_AG_REG_IND_DEL__A 0xC2003F |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 714 | #define B_FE_AG_REG_IND_PD1_WRI__A 0xC20040 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 715 | #define B_FE_AG_REG_PDA_AUR_CNT__A 0xC20041 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 716 | #define B_FE_AG_REG_PDA_RUR_CNT__A 0xC20042 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 717 | #define B_FE_AG_REG_PDA_AVE_DAT__A 0xC20043 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 718 | #define B_FE_AG_REG_PDC_RUR_CNT__A 0xC20044 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 719 | #define B_FE_AG_REG_PDC_SET_LVL__A 0xC20045 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 720 | #define B_FE_AG_REG_PDC_FLA_RGN__A 0xC20046 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 721 | #define B_FE_AG_REG_PDC_JMP_PSN__A 0xC20047 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 722 | #define B_FE_AG_REG_PDC_FLA_STP__A 0xC20048 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 723 | #define B_FE_AG_REG_PDC_SLO_STP__A 0xC20049 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 724 | #define B_FE_AG_REG_PDC_PD2_WRI__A 0xC2004A |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 725 | #define B_FE_AG_REG_PDC_MAP_DAT__A 0xC2004B |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 726 | #define B_FE_AG_REG_PDC_MAX__A 0xC2004C |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 727 | #define B_FE_AG_REG_TGA_AUR_CNT__A 0xC2004D |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 728 | #define B_FE_AG_REG_TGA_RUR_CNT__A 0xC2004E |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 729 | #define B_FE_AG_REG_TGA_AVE_DAT__A 0xC2004F |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 730 | #define B_FE_AG_REG_TGC_RUR_CNT__A 0xC20050 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 731 | #define B_FE_AG_REG_TGC_SET_LVL__A 0xC20051 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 732 | #define B_FE_AG_REG_TGC_SET_LVL__M 0x3F |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 733 | #define B_FE_AG_REG_TGC_FLA_RGN__A 0xC20052 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 734 | #define B_FE_AG_REG_TGC_JMP_PSN__A 0xC20053 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 735 | #define B_FE_AG_REG_TGC_FLA_STP__A 0xC20054 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 736 | #define B_FE_AG_REG_TGC_SLO_STP__A 0xC20055 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 737 | #define B_FE_AG_REG_TGC_MAP_DAT__A 0xC20056 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 738 | #define B_FE_AG_REG_FGM_WRI__A 0xC20061 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 739 | #define B_FE_AG_REG_BGC_FGC_WRI__A 0xC20068 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 740 | #define B_FE_AG_REG_BGC_CGC_WRI__A 0xC20069 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 741 | #define B_FE_FS_REG_COMM_EXEC__A 0xC30000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 742 | #define B_FE_FS_REG_ADD_INC_LOP__A 0xC30010 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 743 | #define B_FE_FD_REG_COMM_EXEC__A 0xC40000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 744 | #define B_FE_FD_REG_SCL__A 0xC40010 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 745 | #define B_FE_FD_REG_MAX_LEV__A 0xC40011 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 746 | #define B_FE_FD_REG_NR__A 0xC40012 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 747 | #define B_FE_FD_REG_MEAS_VAL__A 0xC40014 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 748 | #define B_FE_IF_REG_COMM_EXEC__A 0xC50000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 749 | #define B_FE_IF_REG_INCR0__A 0xC50010 |
| 750 | #define B_FE_IF_REG_INCR0__W 16 |
| 751 | #define B_FE_IF_REG_INCR0__M 0xFFFF |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 752 | #define B_FE_IF_REG_INCR1__A 0xC50011 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 753 | #define B_FE_IF_REG_INCR1__M 0xFF |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 754 | #define B_FE_CF_REG_COMM_EXEC__A 0xC60000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 755 | #define B_FE_CF_REG_SCL__A 0xC60010 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 756 | #define B_FE_CF_REG_MAX_LEV__A 0xC60011 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 757 | #define B_FE_CF_REG_NR__A 0xC60012 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 758 | #define B_FE_CF_REG_IMP_VAL__A 0xC60013 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 759 | #define B_FE_CF_REG_MEAS_VAL__A 0xC60014 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 760 | #define B_FE_CU_REG_COMM_EXEC__A 0xC70000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 761 | #define B_FE_CU_REG_FRM_CNT_RST__A 0xC70011 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 762 | #define B_FE_CU_REG_FRM_CNT_STR__A 0xC70012 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 763 | #define B_FE_CU_REG_CTR_NFC_ICR__A 0xC70020 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 764 | #define B_FE_CU_REG_CTR_NFC_OCR__A 0xC70021 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 765 | #define B_FE_CU_REG_DIV_NFC_CLP__A 0xC70027 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 766 | #define B_FT_COMM_EXEC__A 0x1000000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 767 | #define B_FT_REG_COMM_EXEC__A 0x1010000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 768 | #define B_CP_COMM_EXEC__A 0x1400000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 769 | #define B_CP_REG_COMM_EXEC__A 0x1410000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 770 | #define B_CP_REG_INTERVAL__A 0x1410011 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 771 | #define B_CP_REG_BR_SPL_OFFSET__A 0x1410023 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 772 | #define B_CP_REG_BR_STR_DEL__A 0x1410024 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 773 | #define B_CP_REG_RT_ANG_INC0__A 0x1410030 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 774 | #define B_CP_REG_RT_ANG_INC1__A 0x1410031 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 775 | #define B_CP_REG_RT_DETECT_TRH__A 0x1410033 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 776 | #define B_CP_REG_AC_NEXP_OFFS__A 0x1410040 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 777 | #define B_CP_REG_AC_AVER_POW__A 0x1410041 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 778 | #define B_CP_REG_AC_MAX_POW__A 0x1410042 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 779 | #define B_CP_REG_AC_WEIGHT_MAN__A 0x1410043 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 780 | #define B_CP_REG_AC_WEIGHT_EXP__A 0x1410044 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 781 | #define B_CP_REG_AC_AMP_MODE__A 0x1410047 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 782 | #define B_CP_REG_AC_AMP_FIX__A 0x1410048 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 783 | #define B_CP_REG_AC_ANG_MODE__A 0x141004A |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 784 | #define B_CE_COMM_EXEC__A 0x1800000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 785 | #define B_CE_REG_COMM_EXEC__A 0x1810000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 786 | #define B_CE_REG_TAPSET__A 0x1810011 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 787 | #define B_CE_REG_AVG_POW__A 0x1810012 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 788 | #define B_CE_REG_MAX_POW__A 0x1810013 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 789 | #define B_CE_REG_ATT__A 0x1810014 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 790 | #define B_CE_REG_NRED__A 0x1810015 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 791 | #define B_CE_REG_NE_ERR_SELECT__A 0x1810043 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 792 | #define B_CE_REG_NE_TD_CAL__A 0x1810044 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 793 | #define B_CE_REG_NE_MIXAVG__A 0x1810046 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 794 | #define B_CE_REG_NE_NUPD_OFS__A 0x1810047 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 795 | #define B_CE_REG_PE_NEXP_OFFS__A 0x1810050 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 796 | #define B_CE_REG_PE_TIMESHIFT__A 0x1810051 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 797 | #define B_CE_REG_TP_A0_TAP_NEW__A 0x1810064 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 798 | #define B_CE_REG_TP_A0_TAP_NEW_VALID__A 0x1810065 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 799 | #define B_CE_REG_TP_A0_MU_LMS_STEP__A 0x1810066 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 800 | #define B_CE_REG_TP_A1_TAP_NEW__A 0x1810068 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 801 | #define B_CE_REG_TP_A1_TAP_NEW_VALID__A 0x1810069 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 802 | #define B_CE_REG_TP_A1_MU_LMS_STEP__A 0x181006A |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 803 | #define B_CE_REG_TI_PHN_ENABLE__A 0x1810073 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 804 | #define B_CE_REG_FI_SHT_INCR__A 0x1810090 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 805 | #define B_CE_REG_FI_EXP_NORM__A 0x1810091 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 806 | #define B_CE_REG_IR_INPUTSEL__A 0x18100A0 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 807 | #define B_CE_REG_IR_STARTPOS__A 0x18100A1 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 808 | #define B_CE_REG_IR_NEXP_THRES__A 0x18100A2 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 809 | #define B_CE_REG_FR_TREAL00__A 0x1820010 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 810 | #define B_CE_REG_FR_TIMAG00__A 0x1820011 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 811 | #define B_CE_REG_FR_TREAL01__A 0x1820012 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 812 | #define B_CE_REG_FR_TIMAG01__A 0x1820013 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 813 | #define B_CE_REG_FR_TREAL02__A 0x1820014 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 814 | #define B_CE_REG_FR_TIMAG02__A 0x1820015 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 815 | #define B_CE_REG_FR_TREAL03__A 0x1820016 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 816 | #define B_CE_REG_FR_TIMAG03__A 0x1820017 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 817 | #define B_CE_REG_FR_TREAL04__A 0x1820018 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 818 | #define B_CE_REG_FR_TIMAG04__A 0x1820019 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 819 | #define B_CE_REG_FR_TREAL05__A 0x182001A |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 820 | #define B_CE_REG_FR_TIMAG05__A 0x182001B |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 821 | #define B_CE_REG_FR_TREAL06__A 0x182001C |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 822 | #define B_CE_REG_FR_TIMAG06__A 0x182001D |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 823 | #define B_CE_REG_FR_TREAL07__A 0x182001E |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 824 | #define B_CE_REG_FR_TIMAG07__A 0x182001F |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 825 | #define B_CE_REG_FR_TREAL08__A 0x1820020 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 826 | #define B_CE_REG_FR_TIMAG08__A 0x1820021 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 827 | #define B_CE_REG_FR_TREAL09__A 0x1820022 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 828 | #define B_CE_REG_FR_TIMAG09__A 0x1820023 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 829 | #define B_CE_REG_FR_TREAL10__A 0x1820024 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 830 | #define B_CE_REG_FR_TIMAG10__A 0x1820025 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 831 | #define B_CE_REG_FR_TREAL11__A 0x1820026 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 832 | #define B_CE_REG_FR_TIMAG11__A 0x1820027 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 833 | #define B_CE_REG_FR_MID_TAP__A 0x1820028 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 834 | #define B_CE_REG_FR_SQS_G00__A 0x1820029 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 835 | #define B_CE_REG_FR_SQS_G01__A 0x182002A |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 836 | #define B_CE_REG_FR_SQS_G02__A 0x182002B |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 837 | #define B_CE_REG_FR_SQS_G03__A 0x182002C |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 838 | #define B_CE_REG_FR_SQS_G04__A 0x182002D |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 839 | #define B_CE_REG_FR_SQS_G05__A 0x182002E |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 840 | #define B_CE_REG_FR_SQS_G06__A 0x182002F |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 841 | #define B_CE_REG_FR_SQS_G07__A 0x1820030 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 842 | #define B_CE_REG_FR_SQS_G08__A 0x1820031 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 843 | #define B_CE_REG_FR_SQS_G09__A 0x1820032 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 844 | #define B_CE_REG_FR_SQS_G10__A 0x1820033 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 845 | #define B_CE_REG_FR_SQS_G11__A 0x1820034 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 846 | #define B_CE_REG_FR_SQS_G12__A 0x1820035 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 847 | #define B_CE_REG_FR_RIO_G00__A 0x1820036 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 848 | #define B_CE_REG_FR_RIO_G01__A 0x1820037 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 849 | #define B_CE_REG_FR_RIO_G02__A 0x1820038 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 850 | #define B_CE_REG_FR_RIO_G03__A 0x1820039 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 851 | #define B_CE_REG_FR_RIO_G04__A 0x182003A |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 852 | #define B_CE_REG_FR_RIO_G05__A 0x182003B |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 853 | #define B_CE_REG_FR_RIO_G06__A 0x182003C |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 854 | #define B_CE_REG_FR_RIO_G07__A 0x182003D |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 855 | #define B_CE_REG_FR_RIO_G08__A 0x182003E |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 856 | #define B_CE_REG_FR_RIO_G09__A 0x182003F |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 857 | #define B_CE_REG_FR_RIO_G10__A 0x1820040 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 858 | #define B_CE_REG_FR_MODE__A 0x1820041 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 859 | #define B_CE_REG_FR_SQS_TRH__A 0x1820042 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 860 | #define B_CE_REG_FR_RIO_GAIN__A 0x1820043 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 861 | #define B_CE_REG_FR_BYPASS__A 0x1820044 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 862 | #define B_CE_REG_FR_PM_SET__A 0x1820045 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 863 | #define B_CE_REG_FR_ERR_SH__A 0x1820046 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 864 | #define B_CE_REG_FR_MAN_SH__A 0x1820047 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 865 | #define B_CE_REG_FR_TAP_SH__A 0x1820048 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 866 | #define B_EQ_COMM_EXEC__A 0x1C00000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 867 | #define B_EQ_REG_COMM_EXEC__A 0x1C10000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 868 | #define B_EQ_REG_COMM_MB__A 0x1C10002 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 869 | #define B_EQ_REG_IS_GAIN_MAN__A 0x1C10015 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 870 | #define B_EQ_REG_IS_GAIN_EXP__A 0x1C10016 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 871 | #define B_EQ_REG_IS_CLIP_EXP__A 0x1C10017 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 872 | #define B_EQ_REG_SN_CEGAIN__A 0x1C1002A |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 873 | #define B_EQ_REG_SN_OFFSET__A 0x1C1002B |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 874 | #define B_EQ_REG_RC_SEL_CAR__A 0x1C10032 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 875 | #define B_EQ_REG_RC_SEL_CAR_INIT 0x2 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 876 | #define B_EQ_REG_RC_SEL_CAR_DIV_ON 0x1 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 877 | #define B_EQ_REG_RC_SEL_CAR_PASS_A_CC 0x0 |
| 878 | #define B_EQ_REG_RC_SEL_CAR_PASS_B_CE 0x2 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 879 | #define B_EQ_REG_RC_SEL_CAR_LOCAL_A_CC 0x0 |
| 880 | #define B_EQ_REG_RC_SEL_CAR_LOCAL_B_CE 0x8 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 881 | #define B_EQ_REG_RC_SEL_CAR_MEAS_A_CC 0x0 |
| 882 | #define B_EQ_REG_RC_SEL_CAR_MEAS_B_CE 0x20 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 883 | #define B_EQ_REG_RC_SEL_CAR_FFTMODE__M 0x80 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 884 | #define B_EQ_REG_OT_CONST__A 0x1C10046 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 885 | #define B_EQ_REG_OT_ALPHA__A 0x1C10047 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 886 | #define B_EQ_REG_OT_QNT_THRES0__A 0x1C10048 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 887 | #define B_EQ_REG_OT_QNT_THRES1__A 0x1C10049 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 888 | #define B_EQ_REG_OT_CSI_STEP__A 0x1C1004A |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 889 | #define B_EQ_REG_OT_CSI_OFFSET__A 0x1C1004B |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 890 | #define B_EQ_REG_TD_REQ_SMB_CNT__A 0x1C10061 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 891 | #define B_EQ_REG_TD_TPS_PWR_OFS__A 0x1C10062 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 892 | #define B_EC_SB_REG_COMM_EXEC__A 0x2010000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 893 | #define B_EC_SB_REG_TR_MODE__A 0x2010010 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 894 | #define B_EC_SB_REG_TR_MODE_8K 0x0 |
| 895 | #define B_EC_SB_REG_TR_MODE_2K 0x1 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 896 | #define B_EC_SB_REG_CONST__A 0x2010011 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 897 | #define B_EC_SB_REG_CONST_QPSK 0x0 |
| 898 | #define B_EC_SB_REG_CONST_16QAM 0x1 |
| 899 | #define B_EC_SB_REG_CONST_64QAM 0x2 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 900 | #define B_EC_SB_REG_ALPHA__A 0x2010012 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 901 | #define B_EC_SB_REG_PRIOR__A 0x2010013 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 902 | #define B_EC_SB_REG_PRIOR_HI 0x0 |
| 903 | #define B_EC_SB_REG_PRIOR_LO 0x1 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 904 | #define B_EC_SB_REG_CSI_HI__A 0x2010014 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 905 | #define B_EC_SB_REG_CSI_LO__A 0x2010015 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 906 | #define B_EC_SB_REG_SMB_TGL__A 0x2010016 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 907 | #define B_EC_SB_REG_SNR_HI__A 0x2010017 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 908 | #define B_EC_SB_REG_SNR_MID__A 0x2010018 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 909 | #define B_EC_SB_REG_SNR_LO__A 0x2010019 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 910 | #define B_EC_SB_REG_SCALE_MSB__A 0x201001A |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 911 | #define B_EC_SB_REG_SCALE_BIT2__A 0x201001B |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 912 | #define B_EC_SB_REG_SCALE_LSB__A 0x201001C |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 913 | #define B_EC_SB_REG_CSI_OFS0__A 0x201001D |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 914 | #define B_EC_SB_REG_CSI_OFS1__A 0x201001E |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 915 | #define B_EC_SB_REG_CSI_OFS2__A 0x201001F |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 916 | #define B_EC_VD_REG_COMM_EXEC__A 0x2090000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 917 | #define B_EC_VD_REG_FORCE__A 0x2090010 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 918 | #define B_EC_VD_REG_SET_CODERATE__A 0x2090011 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 919 | #define B_EC_VD_REG_SET_CODERATE_C1_2 0x0 |
| 920 | #define B_EC_VD_REG_SET_CODERATE_C2_3 0x1 |
| 921 | #define B_EC_VD_REG_SET_CODERATE_C3_4 0x2 |
| 922 | #define B_EC_VD_REG_SET_CODERATE_C5_6 0x3 |
| 923 | #define B_EC_VD_REG_SET_CODERATE_C7_8 0x4 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 924 | #define B_EC_VD_REG_REQ_SMB_CNT__A 0x2090012 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 925 | #define B_EC_VD_REG_RLK_ENA__A 0x2090014 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 926 | #define B_EC_OD_REG_COMM_EXEC__A 0x2110000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 927 | #define B_EC_OD_REG_SYNC__A 0x2110664 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 928 | #define B_EC_OD_DEINT_RAM__A 0x2120000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 929 | #define B_EC_RS_REG_COMM_EXEC__A 0x2130000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 930 | #define B_EC_RS_REG_REQ_PCK_CNT__A 0x2130010 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 931 | #define B_EC_RS_REG_VAL__A 0x2130011 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 932 | #define B_EC_RS_REG_VAL_PCK 0x1 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 933 | #define B_EC_RS_EC_RAM__A 0x2140000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 934 | #define B_EC_OC_REG_COMM_EXEC__A 0x2150000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 935 | #define B_EC_OC_REG_COMM_EXEC_CTL_ACTIVE 0x1 |
| 936 | #define B_EC_OC_REG_COMM_EXEC_CTL_HOLD 0x2 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 937 | #define B_EC_OC_REG_COMM_INT_STA__A 0x2150007 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 938 | #define B_EC_OC_REG_OC_MODE_LOP__A 0x2150010 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 939 | #define B_EC_OC_REG_OC_MODE_LOP_PAR_ENA__M 0x1 |
| 940 | #define B_EC_OC_REG_OC_MODE_LOP_PAR_ENA_ENABLE 0x0 |
| 941 | #define B_EC_OC_REG_OC_MODE_LOP_PAR_ENA_DISABLE 0x1 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 942 | #define B_EC_OC_REG_OC_MODE_LOP_DTO_CTR_SRC__M 0x4 |
| 943 | #define B_EC_OC_REG_OC_MODE_LOP_DTO_CTR_SRC_STATIC 0x0 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 944 | #define B_EC_OC_REG_OC_MODE_LOP_MPG_TRM_MDE__M 0x80 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 945 | #define B_EC_OC_REG_OC_MODE_LOP_MPG_TRM_MDE_SERIAL 0x80 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 946 | #define B_EC_OC_REG_OC_MODE_HIP__A 0x2150011 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 947 | #define B_EC_OC_REG_OC_MODE_HIP_MPG_BUS_SRC_MONITOR 0x10 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 948 | #define B_EC_OC_REG_OC_MODE_HIP_MPG_PAR_VAL__M 0x200 |
| 949 | #define B_EC_OC_REG_OC_MODE_HIP_MPG_PAR_VAL_DISABLE 0x0 |
| 950 | #define B_EC_OC_REG_OC_MODE_HIP_MPG_PAR_VAL_ENABLE 0x200 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 951 | #define B_EC_OC_REG_OC_MPG_SIO__A 0x2150012 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 952 | #define B_EC_OC_REG_OC_MPG_SIO__M 0xFFF |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 953 | #define B_EC_OC_REG_DTO_INC_LOP__A 0x2150014 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 954 | #define B_EC_OC_REG_DTO_INC_HIP__A 0x2150015 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 955 | #define B_EC_OC_REG_SNC_ISC_LVL__A 0x2150016 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 956 | #define B_EC_OC_REG_SNC_ISC_LVL_OSC__M 0xF0 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 957 | #define B_EC_OC_REG_TMD_TOP_MODE__A 0x215001D |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 958 | #define B_EC_OC_REG_TMD_TOP_CNT__A 0x215001E |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 959 | #define B_EC_OC_REG_TMD_HIL_MAR__A 0x215001F |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 960 | #define B_EC_OC_REG_TMD_LOL_MAR__A 0x2150020 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 961 | #define B_EC_OC_REG_TMD_CUR_CNT__A 0x2150021 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 962 | #define B_EC_OC_REG_AVR_ASH_CNT__A 0x2150023 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 963 | #define B_EC_OC_REG_AVR_BSH_CNT__A 0x2150024 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 964 | #define B_EC_OC_REG_RCN_MODE__A 0x2150027 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 965 | #define B_EC_OC_REG_RCN_CRA_LOP__A 0x2150028 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 966 | #define B_EC_OC_REG_RCN_CRA_HIP__A 0x2150029 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 967 | #define B_EC_OC_REG_RCN_CST_LOP__A 0x215002A |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 968 | #define B_EC_OC_REG_RCN_CST_HIP__A 0x215002B |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 969 | #define B_EC_OC_REG_RCN_SET_LVL__A 0x215002C |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 970 | #define B_EC_OC_REG_RCN_GAI_LVL__A 0x215002D |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 971 | #define B_EC_OC_REG_RCN_CLP_LOP__A 0x2150032 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 972 | #define B_EC_OC_REG_RCN_CLP_HIP__A 0x2150033 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 973 | #define B_EC_OC_REG_RCN_MAP_LOP__A 0x2150034 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 974 | #define B_EC_OC_REG_RCN_MAP_HIP__A 0x2150035 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 975 | #define B_EC_OC_REG_OCR_MPG_UOS__A 0x2150036 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 976 | #define B_EC_OC_REG_OCR_MPG_UOS__M 0xFFF |
| 977 | #define B_EC_OC_REG_OCR_MPG_UOS_INIT 0x0 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 978 | #define B_EC_OC_REG_OCR_MPG_USR_DAT__A 0x2150038 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 979 | #define B_EC_OC_REG_IPR_INV_MPG__A 0x2150045 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 980 | #define B_EC_OC_REG_DTO_CLKMODE__A 0x2150047 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 981 | #define B_EC_OC_REG_DTO_PER__A 0x2150048 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 982 | #define B_EC_OC_REG_DTO_BUR__A 0x2150049 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 983 | #define B_EC_OC_REG_RCR_CLKMODE__A 0x215004A |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 984 | #define B_CC_REG_OSC_MODE__A 0x2410010 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 985 | #define B_CC_REG_OSC_MODE_M20 0x1 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 986 | #define B_CC_REG_PLL_MODE__A 0x2410011 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 987 | #define B_CC_REG_PLL_MODE_BYPASS_PLL 0x1 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 988 | #define B_CC_REG_PLL_MODE_PUMP_CUR_12 0x14 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 989 | #define B_CC_REG_REF_DIVIDE__A 0x2410012 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 990 | #define B_CC_REG_PWD_MODE__A 0x2410015 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 991 | #define B_CC_REG_PWD_MODE_DOWN_PLL 0x2 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 992 | #define B_CC_REG_UPDATE__A 0x2410017 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 993 | #define B_CC_REG_UPDATE_KEY 0x3973 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 994 | #define B_CC_REG_JTAGID_L__A 0x2410019 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 995 | #define B_CC_REG_DIVERSITY__A 0x241001B |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 996 | #define B_LC_COMM_EXEC__A 0x2800000 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 997 | #define B_LC_RA_RAM_IFINCR_NOM_L__A 0x282000C |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 998 | #define B_LC_RA_RAM_FILTER_SYM_SET__A 0x282001A |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 999 | #define B_LC_RA_RAM_FILTER_SYM_SET__PRE 0x3E8 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 1000 | #define B_LC_RA_RAM_FILTER_CRMM_A__A 0x2820060 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 1001 | #define B_LC_RA_RAM_FILTER_CRMM_A__PRE 0x4 |
| 1002 | #define B_LC_RA_RAM_FILTER_CRMM_B__A 0x2820061 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 1003 | #define B_LC_RA_RAM_FILTER_CRMM_B__PRE 0x1 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 1004 | #define B_LC_RA_RAM_FILTER_SRMM_A__A 0x2820068 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 1005 | #define B_LC_RA_RAM_FILTER_SRMM_A__PRE 0x4 |
| 1006 | #define B_LC_RA_RAM_FILTER_SRMM_B__A 0x2820069 |
Mauro Carvalho Chehab | be9297d | 2011-03-25 09:42:26 -0300 | [diff] [blame] | 1007 | #define B_LC_RA_RAM_FILTER_SRMM_B__PRE 0x1 |
Ralph Metzler | 126f1e6 | 2011-03-12 23:44:33 -0500 | [diff] [blame] | 1008 | |
Ralph Metzler | 126f1e6 | 2011-03-12 23:44:33 -0500 | [diff] [blame] | 1009 | #endif |