xref: /linux/drivers/media/dvb-frontends/stv090x_reg.h (revision 58e16d792a6a8c6b750f637a4649967fcac853dc)
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 	STV0900/0903 Multistandard Broadcast Frontend driver
4 	Copyright (C) Manu Abraham <abraham.manu@gmail.com>
5 
6 	Copyright (C) ST Microelectronics
7 
8 */
9 
10 #ifndef __STV090x_REG_H
11 #define __STV090x_REG_H
12 
13 #define STV090x_MID				0xf100
14 #define STV090x_OFFST_MCHIP_IDENT_FIELD		4
15 #define STV090x_WIDTH_MCHIP_IDENT_FIELD		4
16 #define STV090x_OFFST_MRELEASE_FIELD		0
17 #define STV090x_WIDTH_MRELEASE_FIELD		4
18 
19 #define STV090x_DACR1				0xf113
20 #define STV090x_OFFST_DACR1_MODE_FIELD		5
21 #define STV090x_WIDTH_DACR1_MODE_FIELD		3
22 #define STV090x_OFFST_DACR1_VALUE_FIELD		0
23 #define STV090x_WIDTH_DACR1_VALUE_FIELD		4
24 
25 #define STV090x_DACR2				0xf114
26 #define STV090x_OFFST_DACR2_VALUE_FIELD		0
27 #define STV090x_WIDTH_DACR2_VALUE_FIELD		8
28 
29 #define STV090x_OUTCFG				0xf11c
30 #define STV090x_OFFST_OUTSERRS1_HZ_FIELD	6
31 #define STV090x_WIDTH_OUTSERRS1_HZ_FIELD	1
32 #define STV090x_OFFST_OUTSERRS2_HZ_FIELD	5
33 #define STV090x_WIDTH_OUTSERRS2_HZ_FIELD	1
34 #define STV090x_OFFST_OUTSERRS3_HZ_FIELD	4
35 #define STV090x_WIDTH_OUTSERRS3_HZ_FIELD	1
36 #define STV090x_OFFST_OUTPARRS3_HZ_FIELD	3
37 #define STV090x_WIDTH_OUTPARRS3_HZ_FIELD	1
38 
39 #define STV090x_MODECFG				0xf11d
40 
41 #define STV090x_IRQSTATUS3			0xf120
42 #define STV090x_OFFST_SPLL_LOCK_FIELD		5
43 #define STV090x_WIDTH_SPLL_LOCK_FIELD		1
44 #define STV090x_OFFST_SSTREAM_LCK_3_FIELD	4
45 #define STV090x_WIDTH_SSTREAM_LCK_3_FIELD	1
46 #define STV090x_OFFST_SSTREAM_LCK_2_FIELD	3
47 #define STV090x_WIDTH_SSTREAM_LCK_2_FIELD	1
48 #define STV090x_OFFST_SSTREAM_LCK_1_FIELD	2
49 #define STV090x_WIDTH_SSTREAM_LCK_1_FIELD	1
50 #define STV090x_OFFST_SDVBS1_PRF_2_FIELD	1
51 #define STV090x_WIDTH_SDVBS1_PRF_2_FIELD	1
52 #define STV090x_OFFST_SDVBS1_PRF_1_FIELD	0
53 #define STV090x_WIDTH_SDVBS1_PRF_1_FIELD	1
54 
55 #define STV090x_IRQSTATUS2			0xf121
56 #define STV090x_OFFST_SSPY_ENDSIM_3_FIELD	7
57 #define STV090x_WIDTH_SSPY_ENDSIM_3_FIELD	1
58 #define STV090x_OFFST_SSPY_ENDSIM_2_FIELD	6
59 #define STV090x_WIDTH_SSPY_ENDSIM_2_FIELD	1
60 #define STV090x_OFFST_SSPY_ENDSIM_1_FIELD	5
61 #define STV090x_WIDTH_SSPY_ENDSIM_1_FIELD	1
62 #define STV090x_OFFST_SPKTDEL_ERROR_2_FIELD	4
63 #define STV090x_WIDTH_SPKTDEL_ERROR_2_FIELD	1
64 #define STV090x_OFFST_SPKTDEL_LOCKB_2_FIELD	3
65 #define STV090x_WIDTH_SPKTDEL_LOCKB_2_FIELD	1
66 #define STV090x_OFFST_SPKTDEL_LOCK_2_FIELD	2
67 #define STV090x_WIDTH_SPKTDEL_LOCK_2_FIELD	1
68 #define STV090x_OFFST_SPKTDEL_ERROR_1_FIELD	1
69 #define STV090x_WIDTH_SPKTDEL_ERROR_1_FIELD	1
70 #define STV090x_OFFST_SPKTDEL_LOCKB_1_FIELD	0
71 #define STV090x_WIDTH_SPKTDEL_LOCKB_1_FIELD	1
72 
73 #define STV090x_IRQSTATUS1			0xf122
74 #define STV090x_OFFST_SPKTDEL_LOCK_1_FIELD	7
75 #define STV090x_WIDTH_SPKTDEL_LOCK_1_FIELD	1
76 #define STV090x_OFFST_SDEMOD_LOCKB_2_FIELD	2
77 #define STV090x_WIDTH_SDEMOD_LOCKB_2_FIELD	1
78 #define STV090x_OFFST_SDEMOD_LOCK_2_FIELD	1
79 #define STV090x_WIDTH_SDEMOD_LOCK_2_FIELD	1
80 #define STV090x_OFFST_SDEMOD_IRQ_2_FIELD	0
81 #define STV090x_WIDTH_SDEMOD_IRQ_2_FIELD	1
82 
83 #define STV090x_IRQSTATUS0			0xf123
84 #define STV090x_OFFST_SDEMOD_LOCKB_1_FIELD	7
85 #define STV090x_WIDTH_SDEMOD_LOCKB_1_FIELD	1
86 #define STV090x_OFFST_SDEMOD_LOCK_1_FIELD	6
87 #define STV090x_WIDTH_SDEMOD_LOCK_1_FIELD	1
88 #define STV090x_OFFST_SDEMOD_IRQ_1_FIELD	5
89 #define STV090x_WIDTH_SDEMOD_IRQ_1_FIELD	1
90 #define STV090x_OFFST_SBCH_ERRFLAG_FIELD	4
91 #define STV090x_WIDTH_SBCH_ERRFLAG_FIELD	1
92 #define STV090x_OFFST_SDISEQC2RX_IRQ_FIELD	3
93 #define STV090x_WIDTH_SDISEQC2RX_IRQ_FIELD	1
94 #define STV090x_OFFST_SDISEQC2TX_IRQ_FIELD	2
95 #define STV090x_WIDTH_SDISEQC2TX_IRQ_FIELD	1
96 #define STV090x_OFFST_SDISEQC1RX_IRQ_FIELD	1
97 #define STV090x_WIDTH_SDISEQC1RX_IRQ_FIELD	1
98 #define STV090x_OFFST_SDISEQC1TX_IRQ_FIELD	0
99 #define STV090x_WIDTH_SDISEQC1TX_IRQ_FIELD	1
100 
101 #define STV090x_IRQMASK3			0xf124
102 #define STV090x_OFFST_MPLL_LOCK_FIELD		5
103 #define STV090x_WIDTH_MPLL_LOCK_FIELD		1
104 #define STV090x_OFFST_MSTREAM_LCK_3_FIELD	4
105 #define STV090x_WIDTH_MSTREAM_LCK_3_FIELD	1
106 #define STV090x_OFFST_MSTREAM_LCK_2_FIELD	3
107 #define STV090x_WIDTH_MSTREAM_LCK_2_FIELD	1
108 #define STV090x_OFFST_MSTREAM_LCK_1_FIELD	2
109 #define STV090x_WIDTH_MSTREAM_LCK_1_FIELD	1
110 #define STV090x_OFFST_MDVBS1_PRF_2_FIELD	1
111 #define STV090x_WIDTH_MDVBS1_PRF_2_FIELD	1
112 #define STV090x_OFFST_MDVBS1_PRF_1_FIELD	0
113 #define STV090x_WIDTH_MDVBS1_PRF_1_FIELD	1
114 
115 #define STV090x_IRQMASK2			0xf125
116 #define STV090x_OFFST_MSPY_ENDSIM_3_FIELD	7
117 #define STV090x_WIDTH_MSPY_ENDSIM_3_FIELD	1
118 #define STV090x_OFFST_MSPY_ENDSIM_2_FIELD	6
119 #define STV090x_WIDTH_MSPY_ENDSIM_2_FIELD	1
120 #define STV090x_OFFST_MSPY_ENDSIM_1_FIELD	5
121 #define STV090x_WIDTH_MSPY_ENDSIM_1_FIELD	1
122 #define STV090x_OFFST_MPKTDEL_ERROR_2_FIELD	4
123 #define STV090x_WIDTH_MPKTDEL_ERROR_2_FIELD	1
124 #define STV090x_OFFST_MPKTDEL_LOCKB_2_FIELD	3
125 #define STV090x_WIDTH_MPKTDEL_LOCKB_2_FIELD	1
126 #define STV090x_OFFST_MPKTDEL_LOCK_2_FIELD	2
127 #define STV090x_WIDTH_MPKTDEL_LOCK_2_FIELD	1
128 #define STV090x_OFFST_MPKTDEL_ERROR_1_FIELD	1
129 #define STV090x_WIDTH_MPKTDEL_ERROR_1_FIELD	1
130 #define STV090x_OFFST_MPKTDEL_LOCKB_1_FIELD	0
131 #define STV090x_WIDTH_MPKTDEL_LOCKB_1_FIELD	1
132 
133 #define STV090x_IRQMASK1			0xf126
134 #define STV090x_OFFST_MPKTDEL_LOCK_1_FIELD	7
135 #define STV090x_WIDTH_MPKTDEL_LOCK_1_FIELD	1
136 #define STV090x_OFFST_MEXTPINB2_FIELD		6
137 #define STV090x_WIDTH_MEXTPINB2_FIELD		1
138 #define STV090x_OFFST_MEXTPIN2_FIELD		5
139 #define STV090x_WIDTH_MEXTPIN2_FIELD		1
140 #define STV090x_OFFST_MEXTPINB1_FIELD		4
141 #define STV090x_WIDTH_MEXTPINB1_FIELD		1
142 #define STV090x_OFFST_MEXTPIN1_FIELD		3
143 #define STV090x_WIDTH_MEXTPIN1_FIELD		1
144 #define STV090x_OFFST_MDEMOD_LOCKB_2_FIELD	2
145 #define STV090x_WIDTH_MDEMOD_LOCKB_2_FIELD	1
146 #define STV090x_OFFST_MDEMOD_LOCK_2_FIELD	1
147 #define STV090x_WIDTH_MDEMOD_LOCK_2_FIELD	1
148 #define STV090x_OFFST_MDEMOD_IRQ_2_FIELD	0
149 #define STV090x_WIDTH_MDEMOD_IRQ_2_FIELD	1
150 
151 #define STV090x_IRQMASK0			0xf127
152 #define STV090x_OFFST_MDEMOD_LOCKB_1_FIELD	7
153 #define STV090x_WIDTH_MDEMOD_LOCKB_1_FIELD	1
154 #define STV090x_OFFST_MDEMOD_LOCK_1_FIELD	6
155 #define STV090x_WIDTH_MDEMOD_LOCK_1_FIELD	1
156 #define STV090x_OFFST_MDEMOD_IRQ_1_FIELD	5
157 #define STV090x_WIDTH_MDEMOD_IRQ_1_FIELD	1
158 #define STV090x_OFFST_MBCH_ERRFLAG_FIELD	4
159 #define STV090x_WIDTH_MBCH_ERRFLAG_FIELD	1
160 #define STV090x_OFFST_MDISEQC2RX_IRQ_FIELD	3
161 #define STV090x_WIDTH_MDISEQC2RX_IRQ_FIELD	1
162 #define STV090x_OFFST_MDISEQC2TX_IRQ_FIELD	2
163 #define STV090x_WIDTH_MDISEQC2TX_IRQ_FIELD	1
164 #define STV090x_OFFST_MDISEQC1RX_IRQ_FIELD	1
165 #define STV090x_WIDTH_MDISEQC1RX_IRQ_FIELD	1
166 #define STV090x_OFFST_MDISEQC1TX_IRQ_FIELD	0
167 #define STV090x_WIDTH_MDISEQC1TX_IRQ_FIELD	1
168 
169 #define STV090x_I2CCFG				0xf129
170 #define STV090x_OFFST_12C_FASTMODE_FIELD	3
171 #define STV090x_WIDTH_12C_FASTMODE_FIELD	1
172 #define STV090x_OFFST_12CADDR_INC_FIELD		0
173 #define STV090x_WIDTH_12CADDR_INC_FIELD		2
174 
175 #define STV090x_Px_I2CRPT(__x)			(0xf12a + (__x - 1) * 0x1)
176 #define STV090x_P1_I2CRPT			STV090x_Px_I2CRPT(1)
177 #define STV090x_P2_I2CRPT			STV090x_Px_I2CRPT(2)
178 #define STV090x_OFFST_Px_I2CT_ON_FIELD		7
179 #define STV090x_WIDTH_Px_I2CT_ON_FIELD		1
180 #define STV090x_OFFST_Px_ENARPT_LEVEL_FIELD	4
181 #define STV090x_WIDTH_Px_ENARPT_LEVEL_FIELD	3
182 #define STV090x_OFFST_Px_SCLT_DELAY_FIELD	3
183 #define STV090x_WIDTH_Px_SCLT_DELAY_FIELD	1
184 #define STV090x_OFFST_Px_STOP_ENABLE_FIELD	2
185 #define STV090x_WIDTH_Px_STOP_ENABLE_FIELD	1
186 #define STV090x_OFFST_Px_STOP_SDAT2SDA_FIELD	1
187 #define STV090x_WIDTH_Px_STOP_SDAT2SDA_FIELD	1
188 
189 #define STV090x_CLKI2CFG			0xf140
190 #define STV090x_OFFST_CLKI2_OPD_FIELD		7
191 #define STV090x_WIDTH_CLKI2_OPD_FIELD		1
192 #define STV090x_OFFST_CLKI2_CONFIG_FIELD	1
193 #define STV090x_WIDTH_CLKI2_CONFIG_FIELD	6
194 #define STV090x_OFFST_CLKI2_XOR_FIELD		0
195 #define STV090x_WIDTH_CLKI2_XOR_FIELD		1
196 
197 #define STV090x_GPIOxCFG(__x)			(0xf141 + (__x - 1))
198 #define STV090x_GPIO1CFG			STV090x_GPIOxCFG(1)
199 #define STV090x_GPIO2CFG			STV090x_GPIOxCFG(2)
200 #define STV090x_GPIO3CFG			STV090x_GPIOxCFG(3)
201 #define STV090x_GPIO4CFG			STV090x_GPIOxCFG(4)
202 #define STV090x_GPIO5CFG			STV090x_GPIOxCFG(5)
203 #define STV090x_GPIO6CFG			STV090x_GPIOxCFG(6)
204 #define STV090x_GPIO7CFG			STV090x_GPIOxCFG(7)
205 #define STV090x_GPIO8CFG			STV090x_GPIOxCFG(8)
206 #define STV090x_GPIO9CFG			STV090x_GPIOxCFG(9)
207 #define STV090x_GPIO10CFG			STV090x_GPIOxCFG(10)
208 #define STV090x_GPIO11CFG			STV090x_GPIOxCFG(11)
209 #define STV090x_GPIO12CFG			STV090x_GPIOxCFG(12)
210 #define STV090x_GPIO13CFG			STV090x_GPIOxCFG(13)
211 #define STV090x_OFFST_GPIOx_OPD_FIELD		7
212 #define STV090x_WIDTH_GPIOx_OPD_FIELD		1
213 #define STV090x_OFFST_GPIOx_CONFIG_FIELD	1
214 #define STV090x_WIDTH_GPIOx_CONFIG_FIELD	6
215 #define STV090x_OFFST_GPIOx_XOR_FIELD		0
216 #define STV090x_WIDTH_GPIOx_XOR_FIELD		1
217 
218 #define STV090x_CSxCFG(__x)			(0xf14e + __x * 0x1)
219 #define STV090x_CS0CFG				STV090x_CSxCFG(0)
220 #define STV090x_CS1CFG				STV090x_CSxCFG(1)
221 #define STV090x_OFFST_CSX_OPD_FIELD		7
222 #define STV090x_WIDTH_CSX_OPD_FIELD		1
223 #define STV090x_OFFST_CSX_CONFIG_FIELD		1
224 #define STV090x_WIDTH_CSX_CONFIG_FIELD		6
225 #define STV090x_OFFST_CSX_XOR_FIELD		0
226 #define STV090x_WIDTH_CSX_XOR_FIELD		1
227 
228 
229 #define STV090x_STDBYCFG			0xf150
230 #define STV090x_OFFST_STDBY_OPD_FIELD		7
231 #define STV090x_WIDTH_STDBY_OPD_FIELD		1
232 #define STV090x_OFFST_STDBY_CONFIG_FIELD	1
233 #define STV090x_WIDTH_STDBY_CONFIG_FIELD	6
234 #define STV090x_OFFST_STDBY_XOR_FIELD		0
235 #define STV090x_WIDTH_STDBY_XOR_FIELD		1
236 
237 #define STV090x_DIRCLKCFG			0xf151
238 #define STV090x_OFFST_DIRCLK_OPD_FIELD		7
239 #define STV090x_WIDTH_DIRCLK_OPD_FIELD		1
240 #define STV090x_OFFST_DIRCLK_CONFIG_FIELD	1
241 #define STV090x_WIDTH_DIRCLK_CONFIG_FIELD	6
242 #define STV090x_OFFST_DIRCLK_XOR_FIELD		0
243 #define STV090x_WIDTH_DIRCLK_XOR_FIELD		1
244 
245 
246 #define STV090x_AGCRFxCFG(__x)			(0xf152 + (__x - 1) * 0x4)
247 #define STV090x_AGCRF1CFG			STV090x_AGCRFxCFG(1)
248 #define STV090x_AGCRF2CFG			STV090x_AGCRFxCFG(2)
249 #define STV090x_OFFST_AGCRFx_OPD_FIELD		7
250 #define STV090x_WIDTH_AGCRFx_OPD_FIELD		1
251 #define STV090x_OFFST_AGCRFx_CONFIG_FIELD	1
252 #define STV090x_WIDTH_AGCRFx_CONFIG_FIELD	6
253 #define STV090x_OFFST_AGCRFx_XOR_FIELD		0
254 #define STV090x_WIDTH_AGCRFx_XOR_FIELD		1
255 
256 #define STV090x_SDATxCFG(__x)			(0xf153 + (__x - 1) * 0x4)
257 #define STV090x_SDAT1CFG			STV090x_SDATxCFG(1)
258 #define STV090x_SDAT2CFG			STV090x_SDATxCFG(2)
259 #define STV090x_OFFST_SDATx_OPD_FIELD		7
260 #define STV090x_WIDTH_SDATx_OPD_FIELD		1
261 #define STV090x_OFFST_SDATx_CONFIG_FIELD	1
262 #define STV090x_WIDTH_SDATx_CONFIG_FIELD	6
263 #define STV090x_OFFST_SDATx_XOR_FIELD		0
264 #define STV090x_WIDTH_SDATx_XOR_FIELD		1
265 
266 #define STV090x_SCLTxCFG(__x)			(0xf154 + (__x - 1) * 0x4)
267 #define STV090x_SCLT1CFG			STV090x_SCLTxCFG(1)
268 #define STV090x_SCLT2CFG			STV090x_SCLTxCFG(2)
269 #define STV090x_OFFST_SCLTx_OPD_FIELD		7
270 #define STV090x_WIDTH_SCLTx_OPD_FIELD		1
271 #define STV090x_OFFST_SCLTx_CONFIG_FIELD	1
272 #define STV090x_WIDTH_SCLTx_CONFIG_FIELD	6
273 #define STV090x_OFFST_SCLTx_XOR_FIELD		0
274 #define STV090x_WIDTH_SCLTx_XOR_FIELD		1
275 
276 #define STV090x_DISEQCOxCFG(__x)		(0xf155 + (__x - 1) * 0x4)
277 #define STV090x_DISEQCO1CFG			STV090x_DISEQCOxCFG(1)
278 #define STV090x_DISEQCO2CFG			STV090x_DISEQCOxCFG(2)
279 #define STV090x_OFFST_DISEQCOx_OPD_FIELD	7
280 #define STV090x_WIDTH_DISEQCOx_OPD_FIELD	1
281 #define STV090x_OFFST_DISEQCOx_CONFIG_FIELD	1
282 #define STV090x_WIDTH_DISEQCOx_CONFIG_FIELD	6
283 #define STV090x_OFFST_DISEQCOx_XOR_FIELD	0
284 #define STV090x_WIDTH_DISEQCOx_XOR_FIELD	1
285 
286 #define STV090x_CLKOUT27CFG			0xf15a
287 #define STV090x_OFFST_CLKOUT27_OPD_FIELD	7
288 #define STV090x_WIDTH_CLKOUT27_OPD_FIELD	1
289 #define STV090x_OFFST_CLKOUT27_CONFIG_FIELD	1
290 #define STV090x_WIDTH_CLKOUT27_CONFIG_FIELD	6
291 #define STV090x_OFFST_CLKOUT27_XOR_FIELD	0
292 #define STV090x_WIDTH_CLKOUT27_XOR_FIELD	1
293 
294 #define STV090x_ERRORxCFG(__x)			(0xf15b + (__x - 1) * 0x5)
295 #define STV090x_ERROR1CFG			STV090x_ERRORxCFG(1)
296 #define STV090x_ERROR2CFG			STV090x_ERRORxCFG(2)
297 #define STV090x_ERROR3CFG			STV090x_ERRORxCFG(3)
298 #define STV090x_OFFST_ERRORx_OPD_FIELD		7
299 #define STV090x_WIDTH_ERRORx_OPD_FIELD		1
300 #define STV090x_OFFST_ERRORx_CONFIG_FIELD	1
301 #define STV090x_WIDTH_ERRORx_CONFIG_FIELD	6
302 #define STV090x_OFFST_ERRORx_XOR_FIELD		0
303 #define STV090x_WIDTH_ERRORx_XOR_FIELD		1
304 
305 #define STV090x_DPNxCFG(__x)			(0xf15c + (__x - 1) * 0x5)
306 #define STV090x_DPN1CFG				STV090x_DPNxCFG(1)
307 #define STV090x_DPN2CFG				STV090x_DPNxCFG(2)
308 #define STV090x_DPN3CFG				STV090x_DPNxCFG(3)
309 #define STV090x_OFFST_DPNx_OPD_FIELD		7
310 #define STV090x_WIDTH_DPNx_OPD_FIELD		1
311 #define STV090x_OFFST_DPNx_CONFIG_FIELD		1
312 #define STV090x_WIDTH_DPNx_CONFIG_FIELD		6
313 #define STV090x_OFFST_DPNx_XOR_FIELD		0
314 #define STV090x_WIDTH_DPNx_XOR_FIELD		1
315 
316 #define STV090x_STROUTxCFG(__x)			(0xf15d + (__x - 1) * 0x5)
317 #define STV090x_STROUT1CFG			STV090x_STROUTxCFG(1)
318 #define STV090x_STROUT2CFG			STV090x_STROUTxCFG(2)
319 #define STV090x_STROUT3CFG			STV090x_STROUTxCFG(3)
320 #define STV090x_OFFST_STROUTx_OPD_FIELD		7
321 #define STV090x_WIDTH_STROUTx_OPD_FIELD		1
322 #define STV090x_OFFST_STROUTx_CONFIG_FIELD	1
323 #define STV090x_WIDTH_STROUTx_CONFIG_FIELD	6
324 #define STV090x_OFFST_STROUTx_XOR_FIELD		0
325 #define STV090x_WIDTH_STROUTx_XOR_FIELD		1
326 
327 #define STV090x_CLKOUTxCFG(__x)			(0xf15e + (__x - 1) * 0x5)
328 #define STV090x_CLKOUT1CFG			STV090x_CLKOUTxCFG(1)
329 #define STV090x_CLKOUT2CFG			STV090x_CLKOUTxCFG(2)
330 #define STV090x_CLKOUT3CFG			STV090x_CLKOUTxCFG(3)
331 #define STV090x_OFFST_CLKOUTx_OPD_FIELD		7
332 #define STV090x_WIDTH_CLKOUTx_OPD_FIELD		1
333 #define STV090x_OFFST_CLKOUTx_CONFIG_FIELD	1
334 #define STV090x_WIDTH_CLKOUTx_CONFIG_FIELD	6
335 #define STV090x_OFFST_CLKOUTx_XOR_FIELD		0
336 #define STV090x_WIDTH_CLKOUTx_XOR_FIELD		1
337 
338 #define STV090x_DATAxCFG(__x)			(0xf15f + (__x - 71) * 0x5)
339 #define STV090x_DATA71CFG			STV090x_DATAxCFG(71)
340 #define STV090x_DATA72CFG			STV090x_DATAxCFG(72)
341 #define STV090x_DATA73CFG			STV090x_DATAxCFG(73)
342 #define STV090x_OFFST_DATAx_OPD_FIELD		7
343 #define STV090x_WIDTH_DATAx_OPD_FIELD		1
344 #define STV090x_OFFST_DATAx_CONFIG_FIELD	1
345 #define STV090x_WIDTH_DATAx_CONFIG_FIELD	6
346 #define STV090x_OFFST_DATAx_XOR_FIELD		0
347 #define STV090x_WIDTH_DATAx_XOR_FIELD		1
348 
349 #define STV090x_NCOARSE				0xf1b3
350 #define STV090x_OFFST_M_DIV_FIELD		0
351 #define STV090x_WIDTH_M_DIV_FIELD		8
352 
353 #define STV090x_SYNTCTRL			0xf1b6
354 #define STV090x_OFFST_STANDBY_FIELD		7
355 #define STV090x_WIDTH_STANDBY_FIELD		1
356 #define STV090x_OFFST_BYPASSPLLCORE_FIELD	6
357 #define STV090x_WIDTH_BYPASSPLLCORE_FIELD	1
358 #define STV090x_OFFST_SELX1RATIO_FIELD		5
359 #define STV090x_WIDTH_SELX1RATIO_FIELD		1
360 #define STV090x_OFFST_STOP_PLL_FIELD		3
361 #define STV090x_WIDTH_STOP_PLL_FIELD		1
362 #define STV090x_OFFST_BYPASSPLLFSK_FIELD	2
363 #define STV090x_WIDTH_BYPASSPLLFSK_FIELD	1
364 #define STV090x_OFFST_SELOSCI_FIELD		1
365 #define STV090x_WIDTH_SELOSCI_FIELD		1
366 #define STV090x_OFFST_BYPASSPLLADC_FIELD	0
367 #define STV090x_WIDTH_BYPASSPLLADC_FIELD	1
368 
369 #define STV090x_FILTCTRL			0xf1b7
370 #define STV090x_OFFST_INV_CLK135_FIELD		7
371 #define STV090x_WIDTH_INV_CLK135_FIELD		1
372 #define STV090x_OFFST_SEL_FSKCKDIV_FIELD	2
373 #define STV090x_WIDTH_SEL_FSKCKDIV_FIELD	1
374 #define STV090x_OFFST_INV_CLKFSK_FIELD		1
375 #define STV090x_WIDTH_INV_CLKFSK_FIELD		1
376 #define STV090x_OFFST_BYPASS_APPLI_FIELD	0
377 #define STV090x_WIDTH_BYPASS_APPLI_FIELD	1
378 
379 #define STV090x_PLLSTAT				0xf1b8
380 #define STV090x_OFFST_PLLLOCK_FIELD		0
381 #define STV090x_WIDTH_PLLLOCK_FIELD		1
382 
383 #define STV090x_STOPCLK1			0xf1c2
384 #define STV090x_OFFST_STOP_CLKPKDT2_FIELD	6
385 #define STV090x_WIDTH_STOP_CLKPKDT2_FIELD	1
386 #define STV090x_OFFST_STOP_CLKPKDT1_FIELD	5
387 #define STV090x_WIDTH_STOP_CLKPKDT1_FIELD	1
388 #define STV090x_OFFST_STOP_CLKFEC_FIELD		4
389 #define STV090x_WIDTH_STOP_CLKFEC_FIELD		1
390 #define STV090x_OFFST_STOP_CLKADCI2_FIELD	3
391 #define STV090x_WIDTH_STOP_CLKADCI2_FIELD	1
392 #define STV090x_OFFST_INV_CLKADCI2_FIELD	2
393 #define STV090x_WIDTH_INV_CLKADCI2_FIELD	1
394 #define STV090x_OFFST_STOP_CLKADCI1_FIELD	1
395 #define STV090x_WIDTH_STOP_CLKADCI1_FIELD	1
396 #define STV090x_OFFST_INV_CLKADCI1_FIELD	0
397 #define STV090x_WIDTH_INV_CLKADCI1_FIELD	1
398 
399 #define STV090x_STOPCLK2			0xf1c3
400 #define STV090x_OFFST_STOP_CLKSAMP2_FIELD	4
401 #define STV090x_WIDTH_STOP_CLKSAMP2_FIELD	1
402 #define STV090x_OFFST_STOP_CLKSAMP1_FIELD	3
403 #define STV090x_WIDTH_STOP_CLKSAMP1_FIELD	1
404 #define STV090x_OFFST_STOP_CLKVIT2_FIELD	2
405 #define STV090x_WIDTH_STOP_CLKVIT2_FIELD	1
406 #define STV090x_OFFST_STOP_CLKVIT1_FIELD	1
407 #define STV090x_WIDTH_STOP_CLKVIT1_FIELD	1
408 #define STV090x_OFFST_STOP_CLKTS_FIELD		0
409 #define STV090x_WIDTH_STOP_CLKTS_FIELD		1
410 
411 #define STV090x_TSTTNR0				0xf1df
412 #define STV090x_OFFST_SEL_FSK_FIELD		7
413 #define STV090x_WIDTH_SEL_FSK_FIELD		1
414 #define STV090x_OFFST_FSK_PON_FIELD		2
415 #define STV090x_WIDTH_FSK_PON_FIELD		1
416 
417 #define STV090x_TSTTNR1				0xf1e0
418 #define STV090x_OFFST_ADC1_PON_FIELD		1
419 #define STV090x_WIDTH_ADC1_PON_FIELD		1
420 #define STV090x_OFFST_ADC1_INMODE_FIELD		0
421 #define STV090x_WIDTH_ADC1_INMODE_FIELD		1
422 
423 #define STV090x_TSTTNR2				0xf1e1
424 #define STV090x_OFFST_DISEQC1_PON_FIELD		5
425 #define STV090x_WIDTH_DISEQC1_PON_FIELD		1
426 
427 #define STV090x_TSTTNR3				0xf1e2
428 #define STV090x_OFFST_ADC2_PON_FIELD		1
429 #define STV090x_WIDTH_ADC2_PON_FIELD		1
430 #define STV090x_OFFST_ADC2_INMODE_FIELD		0
431 #define STV090x_WIDTH_ADC2_INMODE_FIELD		1
432 
433 #define STV090x_TSTTNR4				0xf1e3
434 #define STV090x_OFFST_DISEQC2_PON_FIELD		5
435 #define STV090x_WIDTH_DISEQC2_PON_FIELD		1
436 
437 #define STV090x_FSKTFC2				0xf170
438 #define STV090x_OFFST_FSKT_KMOD_FIELD		2
439 #define STV090x_WIDTH_FSKT_KMOD_FIELD		6
440 #define STV090x_OFFST_FSKT_CAR_FIELD		0
441 #define STV090x_WIDTH_FSKT_CAR_FIELD		2
442 
443 #define STV090x_FSKTFC1				0xf171
444 #define STV090x_OFFST_FSKTC1_CAR_FIELD		0
445 #define STV090x_WIDTH_FSKTC1_CAR_FIELD		8
446 
447 #define STV090x_FSKTFC0				0xf172
448 #define STV090x_OFFST_FSKTC0_CAR_FIELD		0
449 #define STV090x_WIDTH_FSKTC0_CAR_FIELD		8
450 
451 #define STV090x_FSKTDELTAF1			0xf173
452 #define STV090x_OFFST_FSKTF1_DELTAF_FIELD	0
453 #define STV090x_WIDTH_FSKTF1_DELTAF_FIELD	4
454 
455 #define STV090x_FSKTDELTAF0			0xf174
456 #define STV090x_OFFST_FSKTF0_DELTAF_FIELD	0
457 #define STV090x_WIDTH_FSKTF0_DELTAF_FIELD	8
458 
459 #define STV090x_FSKTCTRL			0xf175
460 #define STV090x_OFFST_FSKT_EN_SGN_FIELD		6
461 #define STV090x_WIDTH_FSKT_EN_SGN_FIELD		1
462 #define STV090x_OFFST_FSKT_MOD_SGN_FIELD	5
463 #define STV090x_WIDTH_FSKT_MOD_SGN_FIELD	1
464 #define STV090x_OFFST_FSKT_MOD_EN_FIELD		2
465 #define STV090x_WIDTH_FSKT_MOD_EN_FIELD		3
466 #define STV090x_OFFST_FSKT_DACMODE_FIELD	0
467 #define STV090x_WIDTH_FSKT_DACMODE_FIELD	2
468 
469 #define STV090x_FSKRFC2				0xf176
470 #define STV090x_OFFST_FSKRC2_DETSGN_FIELD	6
471 #define STV090x_WIDTH_FSKRC2_DETSGN_FIELD	1
472 #define STV090x_OFFST_FSKRC2_OUTSGN_FIELD	5
473 #define STV090x_WIDTH_FSKRC2_OUTSGN_FIELD	1
474 #define STV090x_OFFST_FSKRC2_KAGC_FIELD		2
475 #define STV090x_WIDTH_FSKRC2_KAGC_FIELD		3
476 #define STV090x_OFFST_FSKRC2_CAR_FIELD		0
477 #define STV090x_WIDTH_FSKRC2_CAR_FIELD		2
478 
479 #define STV090x_FSKRFC1				0xf177
480 #define STV090x_OFFST_FSKRC1_CAR_FIELD		0
481 #define STV090x_WIDTH_FSKRC1_CAR_FIELD		8
482 
483 #define STV090x_FSKRFC0				0xf178
484 #define STV090x_OFFST_FSKRC0_CAR_FIELD		0
485 #define STV090x_WIDTH_FSKRC0_CAR_FIELD		8
486 
487 #define STV090x_FSKRK1				0xf179
488 #define STV090x_OFFST_FSKR_K1_EXP_FIELD		5
489 #define STV090x_WIDTH_FSKR_K1_EXP_FIELD		3
490 #define STV090x_OFFST_FSKR_K1_MANT_FIELD	0
491 #define STV090x_WIDTH_FSKR_K1_MANT_FIELD	5
492 
493 #define STV090x_FSKRK2				0xf17a
494 #define STV090x_OFFST_FSKR_K2_EXP_FIELD		5
495 #define STV090x_WIDTH_FSKR_K2_EXP_FIELD		3
496 #define STV090x_OFFST_FSKR_K2_MANT_FIELD	0
497 #define STV090x_WIDTH_FSKR_K2_MANT_FIELD	5
498 
499 #define STV090x_FSKRAGCR			0xf17b
500 #define STV090x_OFFST_FSKR_OUTCTL_FIELD		6
501 #define STV090x_WIDTH_FSKR_OUTCTL_FIELD		2
502 #define STV090x_OFFST_FSKR_AGC_REF_FIELD	0
503 #define STV090x_WIDTH_FSKR_AGC_REF_FIELD	6
504 
505 #define STV090x_FSKRAGC				0xf17c
506 #define STV090x_OFFST_FSKR_AGC_ACCU_FIELD	0
507 #define STV090x_WIDTH_FSKR_AGC_ACCU_FIELD	8
508 
509 #define STV090x_FSKRALPHA			0xf17d
510 #define STV090x_OFFST_FSKR_ALPHA_EXP_FIELD	2
511 #define STV090x_WIDTH_FSKR_ALPHA_EXP_FIELD	3
512 #define STV090x_OFFST_FSKR_ALPHA_M_FIELD	0
513 #define STV090x_WIDTH_FSKR_ALPHA_M_FIELD	2
514 
515 #define STV090x_FSKRPLTH1			0xf17e
516 #define STV090x_OFFST_FSKR_BETA_FIELD		4
517 #define STV090x_WIDTH_FSKR_BETA_FIELD		4
518 #define STV090x_OFFST_FSKR_PLL_TRESH1_FIELD	0
519 #define STV090x_WIDTH_FSKR_PLL_TRESH1_FIELD	4
520 
521 #define STV090x_FSKRPLTH0			0xf17f
522 #define STV090x_OFFST_FSKR_PLL_TRESH0_FIELD	0
523 #define STV090x_WIDTH_FSKR_PLL_TRESH0_FIELD	8
524 
525 #define STV090x_FSKRDF1				0xf180
526 #define STV090x_OFFST_FSKR_DELTAF1_FIELD	0
527 #define STV090x_WIDTH_FSKR_DELTAF1_FIELD	5
528 
529 #define STV090x_FSKRDF0				0xf181
530 #define STV090x_OFFST_FSKR_DELTAF0_FIELD	0
531 #define STV090x_WIDTH_FSKR_DELTAF0_FIELD	8
532 
533 #define STV090x_FSKRSTEPP			0xf182
534 #define STV090x_OFFST_FSKR_STEP_PLUS_FIELD	0
535 #define STV090x_WIDTH_FSKR_STEP_PLUS_FIELD	8
536 
537 #define STV090x_FSKRSTEPM			0xf183
538 #define STV090x_OFFST_FSKR_STEP_MINUS_FIELD	0
539 #define STV090x_WIDTH_FSKR_STEP_MINUS_FIELD	8
540 
541 #define STV090x_FSKRDET1			0xf184
542 #define STV090x_OFFST_FSKR_CARDET1_ACCU_FIELD	0
543 #define STV090x_WIDTH_FSKR_CARDET1_ACCU_FIELD	4
544 
545 #define STV090x_FSKRDET0			0xf185
546 #define STV090x_OFFST_FSKR_CARDET0_ACCU_FIELD	0
547 #define STV090x_WIDTH_FSKR_CARDET0_ACCU_FIELD	8
548 
549 #define STV090x_FSKRDTH1				0xf186
550 #define STV090x_OFFST_FSKR_CARLOSS_THRESH1_FIELD	4
551 #define STV090x_WIDTH_FSKR_CARLOSS_THRESH1_FIELD	4
552 #define STV090x_OFFST_FSKR_CARDET_THRESH1_FIELD		0
553 #define STV090x_WIDTH_FSKR_CARDET_THRESH1_FIELD		4
554 
555 #define STV090x_FSKRDTH0			0xf187
556 #define STV090x_OFFST_FSKR_CARDET_THRESH0_FIELD	0
557 #define STV090x_WIDTH_FSKR_CARDET_THRESH0_FIELD	8
558 
559 #define STV090x_FSKRLOSS			0xf188
560 #define STV090x_OFFST_FSKR_CARLOSS_THRESH_FIELD	0
561 #define STV090x_WIDTH_FSKR_CARLOSS_THRESH_FIELD	8
562 
563 #define STV090x_Px_DISTXCTL(__x)		(0xF1A0 - (__x - 1) * 0x10)
564 #define STV090x_P1_DISTXCTL			STV090x_Px_DISTXCTL(1)
565 #define STV090x_P2_DISTXCTL			STV090x_Px_DISTXCTL(2)
566 #define STV090x_OFFST_Px_TIM_OFF_FIELD		7
567 #define STV090x_WIDTH_Px_TIM_OFF_FIELD		1
568 #define STV090x_OFFST_Px_DISEQC_RESET_FIELD	6
569 #define STV090x_WIDTH_Px_DISEQC_RESET_FIELD	1
570 #define STV090x_OFFST_Px_TIM_CMD_FIELD		4
571 #define STV090x_WIDTH_Px_TIM_CMD_FIELD		2
572 #define STV090x_OFFST_Px_DIS_PRECHARGE_FIELD	3
573 #define STV090x_WIDTH_Px_DIS_PRECHARGE_FIELD	1
574 #define STV090x_OFFST_Px_DISTX_MODE_FIELD	0
575 #define STV090x_WIDTH_Px_DISTX_MODE_FIELD	3
576 
577 #define STV090x_Px_DISRXCTL(__x)		(0xf1a1 - (__x - 1) * 0x10)
578 #define STV090x_P1_DISRXCTL			STV090x_Px_DISRXCTL(1)
579 #define STV090x_P2_DISRXCTL			STV090x_Px_DISRXCTL(2)
580 #define STV090x_OFFST_Px_RECEIVER_ON_FIELD	7
581 #define STV090x_WIDTH_Px_RECEIVER_ON_FIELD	1
582 #define STV090x_OFFST_Px_IGNO_SHORT22K_FIELD	6
583 #define STV090x_WIDTH_Px_IGNO_SHORT22K_FIELD	1
584 #define STV090x_OFFST_Px_ONECHIP_TRX_FIELD	5
585 #define STV090x_WIDTH_Px_ONECHIP_TRX_FIELD	1
586 #define STV090x_OFFST_Px_EXT_ENVELOP_FIELD	4
587 #define STV090x_WIDTH_Px_EXT_ENVELOP_FIELD	1
588 #define STV090x_OFFST_Px_PIN_SELECT_FIELD	2
589 #define STV090x_WIDTH_Px_PIN_SELECT_FIELD	2
590 #define STV090x_OFFST_Px_IRQ_RXEND_FIELD	1
591 #define STV090x_WIDTH_Px_IRQ_RXEND_FIELD	1
592 #define STV090x_OFFST_Px_IRQ_4NBYTES_FIELD	0
593 #define STV090x_WIDTH_Px_IRQ_4NBYTES_FIELD	1
594 
595 #define STV090x_Px_DISRX_ST0(__x)		(0xf1a4 - (__x - 1) * 0x10)
596 #define STV090x_P1_DISRX_ST0			STV090x_Px_DISRX_ST0(1)
597 #define STV090x_P2_DISRX_ST0			STV090x_Px_DISRX_ST0(2)
598 #define STV090x_OFFST_Px_RX_END_FIELD		7
599 #define STV090x_WIDTH_Px_RX_END_FIELD		1
600 #define STV090x_OFFST_Px_RX_ACTIVE_FIELD	6
601 #define STV090x_WIDTH_Px_RX_ACTIVE_FIELD	1
602 #define STV090x_OFFST_Px_SHORT_22KHZ_FIELD	5
603 #define STV090x_WIDTH_Px_SHORT_22KHZ_FIELD	1
604 #define STV090x_OFFST_Px_CONT_TONE_FIELD	4
605 #define STV090x_WIDTH_Px_CONT_TONE_FIELD	1
606 #define STV090x_OFFST_Px_FIFO_4BREADY_FIELD	3
607 #define STV090x_WIDTH_Px_FIFO_4BREADY_FIELD	1
608 #define STV090x_OFFST_Px_FIFO_EMPTY_FIELD	2
609 #define STV090x_WIDTH_Px_FIFO_EMPTY_FIELD	1
610 #define STV090x_OFFST_Px_ABORT_DISRX_FIELD	0
611 #define STV090x_WIDTH_Px_ABORT_DISRX_FIELD	1
612 
613 #define STV090x_Px_DISRX_ST1(__x)		(0xf1a5 - (__x - 1) * 0x10)
614 #define STV090x_P1_DISRX_ST1			STV090x_Px_DISRX_ST1(1)
615 #define STV090x_P2_DISRX_ST1			STV090x_Px_DISRX_ST1(2)
616 #define STV090x_OFFST_Px_RX_FAIL_FIELD		7
617 #define STV090x_WIDTH_Px_RX_FAIL_FIELD		1
618 #define STV090x_OFFST_Px_FIFO_PARITYFAIL_FIELD	6
619 #define STV090x_WIDTH_Px_FIFO_PARITYFAIL_FIELD	1
620 #define STV090x_OFFST_Px_RX_NONBYTE_FIELD	5
621 #define STV090x_WIDTH_Px_RX_NONBYTE_FIELD	1
622 #define STV090x_OFFST_Px_FIFO_OVERFLOW_FIELD	4
623 #define STV090x_WIDTH_Px_FIFO_OVERFLOW_FIELD	1
624 #define STV090x_OFFST_Px_FIFO_BYTENBR_FIELD	0
625 #define STV090x_WIDTH_Px_FIFO_BYTENBR_FIELD	4
626 
627 #define STV090x_Px_DISRXDATA(__x)		(0xf1a6 - (__x - 1) * 0x10)
628 #define STV090x_P1_DISRXDATA			STV090x_Px_DISRXDATA(1)
629 #define STV090x_P2_DISRXDATA			STV090x_Px_DISRXDATA(2)
630 #define STV090x_OFFST_Px_DISRX_DATA_FIELD	0
631 #define STV090x_WIDTH_Px_DISRX_DATA_FIELD	8
632 
633 #define STV090x_Px_DISTXDATA(__x)		(0xf1a7 - (__x - 1) * 0x10)
634 #define STV090x_P1_DISTXDATA			STV090x_Px_DISTXDATA(1)
635 #define STV090x_P2_DISTXDATA			STV090x_Px_DISTXDATA(2)
636 #define STV090x_OFFST_Px_DISEQC_FIFO_FIELD	0
637 #define STV090x_WIDTH_Px_DISEQC_FIFO_FIELD	8
638 
639 #define STV090x_Px_DISTXSTATUS(__x)		(0xf1a8 - (__x - 1) * 0x10)
640 #define STV090x_P1_DISTXSTATUS			STV090x_Px_DISTXSTATUS(1)
641 #define STV090x_P2_DISTXSTATUS			STV090x_Px_DISTXSTATUS(2)
642 #define STV090x_OFFST_Px_TX_FAIL_FIELD		7
643 #define STV090x_WIDTH_Px_TX_FAIL_FIELD		1
644 #define STV090x_OFFST_Px_FIFO_FULL_FIELD	6
645 #define STV090x_WIDTH_Px_FIFO_FULL_FIELD	1
646 #define STV090x_OFFST_Px_TX_IDLE_FIELD		5
647 #define STV090x_WIDTH_Px_TX_IDLE_FIELD		1
648 #define STV090x_OFFST_Px_GAP_BURST_FIELD	4
649 #define STV090x_WIDTH_Px_GAP_BURST_FIELD	1
650 #define STV090x_OFFST_Px_TXFIFO_BYTES_FIELD	0
651 #define STV090x_WIDTH_Px_TXFIFO_BYTES_FIELD	4
652 
653 #define STV090x_Px_F22TX(__x)			(0xf1a9 - (__x - 1) * 0x10)
654 #define STV090x_P1_F22TX			STV090x_Px_F22TX(1)
655 #define STV090x_P2_F22TX			STV090x_Px_F22TX(2)
656 #define STV090x_OFFST_Px_F22_REG_FIELD		0
657 #define STV090x_WIDTH_Px_F22_REG_FIELD		8
658 
659 #define STV090x_Px_F22RX(__x)			(0xf1aa - (__x - 1) * 0x10)
660 #define STV090x_P1_F22RX			STV090x_Px_F22RX(1)
661 #define STV090x_P2_F22RX			STV090x_Px_F22RX(2)
662 #define STV090x_OFFST_Px_F22RX_REG_FIELD	0
663 #define STV090x_WIDTH_Px_F22RX_REG_FIELD	8
664 
665 #define STV090x_Px_ACRPRESC(__x)		(0xf1ac - (__x - 1) * 0x10)
666 #define STV090x_P1_ACRPRESC			STV090x_Px_ACRPRESC(1)
667 #define STV090x_P2_ACRPRESC			STV090x_Px_ACRPRESC(2)
668 #define STV090x_OFFST_Px_ACR_PRESC_FIELD	0
669 #define STV090x_WIDTH_Px_ACR_PRESC_FIELD	3
670 
671 #define STV090x_Px_ACRDIV(__x)			(0xf1ad - (__x - 1) * 0x10)
672 #define STV090x_P1_ACRDIV			STV090x_Px_ACRDIV(1)
673 #define STV090x_P2_ACRDIV			STV090x_Px_ACRDIV(2)
674 #define STV090x_OFFST_Px_ACR_DIV_FIELD		0
675 #define STV090x_WIDTH_Px_ACR_DIV_FIELD		8
676 
677 #define STV090x_Px_IQCONST(__x)			(0xF400 - (__x - 1) * 0x200)
678 #define STV090x_P1_IQCONST			STV090x_Px_IQCONST(1)
679 #define STV090x_P2_IQCONST			STV090x_Px_IQCONST(2)
680 #define STV090x_OFFST_Px_CONSTEL_SELECT_FIELD	5
681 #define STV090x_WIDTH_Px_CONSTEL_SELECT_FIELD	2
682 
683 #define STV090x_Px_NOSCFG(__x)			(0xF401 - (__x - 1) * 0x200)
684 #define STV090x_P1_NOSCFG			STV090x_Px_NOSCFG(1)
685 #define STV090x_P2_NOSCFG			STV090x_Px_NOSCFG(2)
686 #define STV090x_OFFST_Px_NOSPLH_BETA_FIELD	3
687 #define STV090x_WIDTH_Px_NOSPLH_BETA_FIELD	2
688 #define STV090x_OFFST_Px_NOSDATA_BETA_FIELD	0
689 #define STV090x_WIDTH_Px_NOSDATA_BETA_FIELD	3
690 
691 #define STV090x_Px_ISYMB(__x)			(0xF402 - (__x - 1) * 0x200)
692 #define STV090x_P1_ISYMB			STV090x_Px_ISYMB(1)
693 #define STV090x_P2_ISYMB			STV090x_Px_ISYMB(2)
694 #define STV090x_OFFST_Px_I_SYMBOL_FIELD		0
695 #define STV090x_WIDTH_Px_I_SYMBOL_FIELD		8
696 
697 #define STV090x_Px_QSYMB(__x)			(0xF403 - (__x - 1) * 0x200)
698 #define STV090x_P1_QSYMB			STV090x_Px_QSYMB(1)
699 #define STV090x_P2_QSYMB			STV090x_Px_QSYMB(2)
700 #define STV090x_OFFST_Px_Q_SYMBOL_FIELD		0
701 #define STV090x_WIDTH_Px_Q_SYMBOL_FIELD		8
702 
703 #define STV090x_Px_AGC1CFG(__x)			(0xF404 - (__x - 1) * 0x200)
704 #define STV090x_P1_AGC1CFG			STV090x_Px_AGC1CFG(1)
705 #define STV090x_P2_AGC1CFG			STV090x_Px_AGC1CFG(2)
706 #define STV090x_OFFST_Px_DC_FROZEN_FIELD	7
707 #define STV090x_WIDTH_Px_DC_FROZEN_FIELD	1
708 #define STV090x_OFFST_Px_DC_CORRECT_FIELD	6
709 #define STV090x_WIDTH_Px_DC_CORRECT_FIELD	1
710 #define STV090x_OFFST_Px_AMM_FROZEN_FIELD	5
711 #define STV090x_WIDTH_Px_AMM_FROZEN_FIELD	1
712 #define STV090x_OFFST_Px_AMM_CORRECT_FIELD	4
713 #define STV090x_WIDTH_Px_AMM_CORRECT_FIELD	1
714 #define STV090x_OFFST_Px_QUAD_FROZEN_FIELD	3
715 #define STV090x_WIDTH_Px_QUAD_FROZEN_FIELD	1
716 #define STV090x_OFFST_Px_QUAD_CORRECT_FIELD	2
717 #define STV090x_WIDTH_Px_QUAD_CORRECT_FIELD	1
718 
719 #define STV090x_Px_AGC1CN(__x)			(0xF406 - (__x - 1) * 0x200)
720 #define STV090x_P1_AGC1CN			STV090x_Px_AGC1CN(1)
721 #define STV090x_P2_AGC1CN			STV090x_Px_AGC1CN(2)
722 #define STV090x_WIDTH_Px_AGC1_LOCKED_FIELD	7
723 #define STV090x_OFFST_Px_AGC1_LOCKED_FIELD	1
724 #define STV090x_OFFST_Px_AGC1_MINPOWER_FIELD	4
725 #define STV090x_WIDTH_Px_AGC1_MINPOWER_FIELD	1
726 #define STV090x_OFFST_Px_AGCOUT_FAST_FIELD	3
727 #define STV090x_WIDTH_Px_AGCOUT_FAST_FIELD	1
728 #define STV090x_OFFST_Px_AGCIQ_BETA_FIELD	0
729 #define STV090x_WIDTH_Px_AGCIQ_BETA_FIELD	3
730 
731 #define STV090x_Px_AGC1REF(__x)			(0xF407 - (__x - 1) * 0x200)
732 #define STV090x_P1_AGC1REF			STV090x_Px_AGC1REF(1)
733 #define STV090x_P2_AGC1REF			STV090x_Px_AGC1REF(2)
734 #define STV090x_OFFST_Px_AGCIQ_REF_FIELD	0
735 #define STV090x_WIDTH_Px_AGCIQ_REF_FIELD	8
736 
737 #define STV090x_Px_IDCCOMP(__x)			(0xF408 - (__x - 1) * 0x200)
738 #define STV090x_P1_IDCCOMP			STV090x_Px_IDCCOMP(1)
739 #define STV090x_P2_IDCCOMP			STV090x_Px_IDCCOMP(2)
740 #define STV090x_OFFST_Px_IAVERAGE_ADJ_FIELD	0
741 #define STV090x_WIDTH_Px_IAVERAGE_ADJ_FIELD	8
742 
743 #define STV090x_Px_QDCCOMP(__x)			(0xF409 - (__x - 1) * 0x200)
744 #define STV090x_P1_QDCCOMP			STV090x_Px_QDCCOMP(1)
745 #define STV090x_P2_QDCCOMP			STV090x_Px_QDCCOMP(2)
746 #define STV090x_OFFST_Px_QAVERAGE_ADJ_FIELD	0
747 #define STV090x_WIDTH_Px_QAVERAGE_ADJ_FIELD	8
748 
749 #define STV090x_Px_POWERI(__x)			(0xF40A - (__x - 1) * 0x200)
750 #define STV090x_P1_POWERI			STV090x_Px_POWERI(1)
751 #define STV090x_P2_POWERI			STV090x_Px_POWERI(2)
752 #define STV090x_OFFST_Px_POWER_I_FIELD		0
753 #define STV090x_WIDTH_Px_POWER_I_FIELD		8
754 
755 #define STV090x_Px_POWERQ(__x)			(0xF40B - (__x - 1) * 0x200)
756 #define STV090x_P1_POWERQ			STV090x_Px_POWERQ(1)
757 #define STV090x_P2_POWERQ			STV090x_Px_POWERQ(2)
758 #define STV090x_OFFST_Px_POWER_Q_FIELD		0
759 #define STV090x_WIDTH_Px_POWER_Q_FIELD		8
760 
761 #define STV090x_Px_AGC1AMM(__x)			(0xF40C - (__x - 1) * 0x200)
762 #define STV090x_P1_AGC1AMM			STV090x_Px_AGC1AMM(1)
763 #define STV090x_P2_AGC1AMM			STV090x_Px_AGC1AMM(2)
764 #define STV090x_OFFST_Px_AMM_VALUE_FIELD	0
765 #define STV090x_WIDTH_Px_AMM_VALUE_FIELD	8
766 
767 #define STV090x_Px_AGC1QUAD(__x)		(0xF40D - (__x - 1) * 0x200)
768 #define STV090x_P1_AGC1QUAD			STV090x_Px_AGC1QUAD(1)
769 #define STV090x_P2_AGC1QUAD			STV090x_Px_AGC1QUAD(2)
770 #define STV090x_OFFST_Px_QUAD_VALUE_FIELD	0
771 #define STV090x_WIDTH_Px_QUAD_VALUE_FIELD	8
772 
773 #define STV090x_Px_AGCIQINy(__x, __y)		(0xF40F - (__x-1) * 0x200 - __y * 0x1)
774 #define STV090x_P1_AGCIQIN0			STV090x_Px_AGCIQINy(1, 0)
775 #define STV090x_P1_AGCIQIN1			STV090x_Px_AGCIQINy(1, 1)
776 #define STV090x_P2_AGCIQIN0			STV090x_Px_AGCIQINy(2, 0)
777 #define STV090x_P2_AGCIQIN1			STV090x_Px_AGCIQINy(2, 1)
778 #define STV090x_OFFST_Px_AGCIQ_VALUE_FIELD	0
779 #define STV090x_WIDTH_Px_AGCIQ_VALUE_FIELD	8
780 
781 #define STV090x_Px_DEMOD(__x)			(0xF410 - (__x - 1) * 0x200)
782 #define STV090x_P1_DEMOD			STV090x_Px_DEMOD(1)
783 #define STV090x_P2_DEMOD			STV090x_Px_DEMOD(2)
784 #define STV090x_OFFST_Px_MANUAL_S2ROLLOFF_FIELD	7
785 #define STV090x_WIDTH_Px_MANUAL_S2ROLLOFF_FIELD	1
786 #define STV090x_OFFST_Px_DEMOD_STOP_FIELD	6
787 #define STV090x_WIDTH_Px_DEMOD_STOP_FIELD	1
788 #define STV090x_OFFST_Px_SPECINV_CONTROL_FIELD	4
789 #define STV090x_WIDTH_Px_SPECINV_CONTROL_FIELD	2
790 #define STV090x_OFFST_Px_FORCE_ENASAMP_FIELD	3
791 #define STV090x_WIDTH_Px_FORCE_ENASAMP_FIELD	1
792 #define STV090x_OFFST_Px_MANUAL_SXROLLOFF_FIELD	2
793 #define STV090x_WIDTH_Px_MANUAL_SXROLLOFF_FIELD	1
794 #define STV090x_OFFST_Px_ROLLOFF_CONTROL_FIELD	0
795 #define STV090x_WIDTH_Px_ROLLOFF_CONTROL_FIELD	2
796 
797 #define STV090x_Px_DMDMODCOD(__x)		(0xF411 - (__x - 1) * 0x200)
798 #define STV090x_P1_DMDMODCOD			STV090x_Px_DMDMODCOD(1)
799 #define STV090x_P2_DMDMODCOD			STV090x_Px_DMDMODCOD(2)
800 #define STV090x_OFFST_Px_MANUAL_MODCOD_FIELD	7
801 #define STV090x_WIDTH_Px_MANUAL_MODCOD_FIELD	1
802 #define STV090x_OFFST_Px_DEMOD_MODCOD_FIELD	2
803 #define STV090x_WIDTH_Px_DEMOD_MODCOD_FIELD	5
804 #define STV090x_OFFST_Px_DEMOD_TYPE_FIELD	0
805 #define STV090x_WIDTH_Px_DEMOD_TYPE_FIELD	2
806 
807 #define STV090x_Px_DSTATUS(__x)			(0xF412 - (__x - 1) * 0x200)
808 #define STV090x_P1_DSTATUS			STV090x_Px_DSTATUS(1)
809 #define STV090x_P2_DSTATUS			STV090x_Px_DSTATUS(2)
810 #define STV090x_OFFST_Px_CAR_LOCK_FIELD		7
811 #define STV090x_WIDTH_Px_CAR_LOCK_FIELD		1
812 #define STV090x_OFFST_Px_TMGLOCK_QUALITY_FIELD	5
813 #define STV090x_WIDTH_Px_TMGLOCK_QUALITY_FIELD	2
814 #define STV090x_OFFST_Px_LOCK_DEFINITIF_FIELD	3
815 #define STV090x_WIDTH_Px_LOCK_DEFINITIF_FIELD	1
816 
817 #define STV090x_Px_DSTATUS2(__x)		(0xF413 - (__x - 1) * 0x200)
818 #define STV090x_P1_DSTATUS2			STV090x_Px_DSTATUS2(1)
819 #define STV090x_P2_DSTATUS2			STV090x_Px_DSTATUS2(2)
820 #define STV090x_OFFST_Px_DEMOD_DELOCK_FIELD	7
821 #define STV090x_WIDTH_Px_DEMOD_DELOCK_FIELD	1
822 #define STV090x_OFFST_Px_AGC1_NOSIGNALACK_FIELD	3
823 #define STV090x_WIDTH_Px_AGC1_NOSIGNALACK_FIELD	1
824 #define STV090x_OFFST_Px_AGC2_OVERFLOW_FIELD	2
825 #define STV090x_WIDTH_Px_AGC2_OVERFLOW_FIELD	1
826 #define STV090x_OFFST_Px_CFR_OVERFLOW_FIELD	1
827 #define STV090x_WIDTH_Px_CFR_OVERFLOW_FIELD	1
828 #define STV090x_OFFST_Px_GAMMA_OVERUNDER_FIELD	0
829 #define STV090x_WIDTH_Px_GAMMA_OVERUNDER_FIELD	1
830 
831 #define STV090x_Px_DMDCFGMD(__x)		(0xF414 - (__x - 1) * 0x200)
832 #define STV090x_P1_DMDCFGMD			STV090x_Px_DMDCFGMD(1)
833 #define STV090x_P2_DMDCFGMD			STV090x_Px_DMDCFGMD(2)
834 #define STV090x_OFFST_Px_DVBS2_ENABLE_FIELD	7
835 #define STV090x_WIDTH_Px_DVBS2_ENABLE_FIELD	1
836 #define STV090x_OFFST_Px_DVBS1_ENABLE_FIELD	6
837 #define STV090x_WIDTH_Px_DVBS1_ENABLE_FIELD	1
838 #define STV090x_OFFST_Px_SCAN_ENABLE_FIELD	4
839 #define STV090x_WIDTH_Px_SCAN_ENABLE_FIELD	1
840 #define STV090x_OFFST_Px_CFR_AUTOSCAN_FIELD	3
841 #define STV090x_WIDTH_Px_CFR_AUTOSCAN_FIELD	1
842 #define STV090x_OFFST_Px_NOFORCE_RELOCK_FIELD	2
843 #define STV090x_WIDTH_Px_NOFORCE_RELOCK_FIELD	1
844 #define STV090x_OFFST_Px_TUN_RNG_FIELD		0
845 #define STV090x_WIDTH_Px_TUN_RNG_FIELD		2
846 
847 #define STV090x_Px_DMDCFG2(__x)			(0xF415 - (__x - 1) * 0x200)
848 #define STV090x_P1_DMDCFG2			STV090x_Px_DMDCFG2(1)
849 #define STV090x_P2_DMDCFG2			STV090x_Px_DMDCFG2(2)
850 #define STV090x_OFFST_Px_S1S2_SEQUENTIAL_FIELD	6
851 #define STV090x_WIDTH_Px_S1S2_SEQUENTIAL_FIELD	1
852 
853 #define STV090x_Px_DMDISTATE(__x)		(0xF416 - (__x - 1) * 0x200)
854 #define STV090x_P1_DMDISTATE			STV090x_Px_DMDISTATE(1)
855 #define STV090x_P2_DMDISTATE			STV090x_Px_DMDISTATE(2)
856 #define STV090x_OFFST_Px_I2C_DEMOD_MODE_FIELD	0
857 #define STV090x_WIDTH_Px_I2C_DEMOD_MODE_FIELD	5
858 
859 #define STV090x_Px_DMDTOM(__x)			(0xF417 - (__x - 1) * 0x200) /* check */
860 #define STV090x_P1_DMDTOM			STV090x_Px_DMDTOM(1)
861 #define STV090x_P2_DMDTOM			STV090x_Px_DMDTOM(2)
862 
863 #define STV090x_Px_DMDSTATE(__x)		(0xF41B - (__x - 1) * 0x200)
864 #define STV090x_P1_DMDSTATE			STV090x_Px_DMDSTATE(1)
865 #define STV090x_P2_DMDSTATE			STV090x_Px_DMDSTATE(2)
866 #define STV090x_OFFST_Px_HEADER_MODE_FIELD	5
867 #define STV090x_WIDTH_Px_HEADER_MODE_FIELD	2
868 
869 #define STV090x_Px_DMDFLYW(__x)			(0xF41C - (__x - 1) * 0x200)
870 #define STV090x_P1_DMDFLYW			STV090x_Px_DMDFLYW(1)
871 #define STV090x_P2_DMDFLYW			STV090x_Px_DMDFLYW(2)
872 #define STV090x_OFFST_Px_I2C_IRQVAL_FIELD	4
873 #define STV090x_WIDTH_Px_I2C_IRQVAL_FIELD	4
874 #define STV090x_OFFST_Px_FLYWHEEL_CPT_FIELD	0
875 #define STV090x_WIDTH_Px_FLYWHEEL_CPT_FIELD	4
876 
877 #define STV090x_Px_DSTATUS3(__x)		(0xF41D - (__x - 1) * 0x200)
878 #define STV090x_P1_DSTATUS3			STV090x_Px_DSTATUS3(1)
879 #define STV090x_P2_DSTATUS3			STV090x_Px_DSTATUS3(2)
880 #define STV090x_OFFST_Px_DEMOD_CFGMODE_FIELD	5
881 #define STV090x_WIDTH_Px_DEMOD_CFGMODE_FIELD	2
882 
883 #define STV090x_Px_DMDCFG3(__x)			(0xF41E - (__x - 1) * 0x200)
884 #define STV090x_P1_DMDCFG3			STV090x_Px_DMDCFG3(1)
885 #define STV090x_P2_DMDCFG3			STV090x_Px_DMDCFG3(2)
886 #define STV090x_OFFST_Px_NOSTOP_FIFOFULL_FIELD	3
887 #define STV090x_WIDTH_Px_NOSTOP_FIFOFULL_FIELD	1
888 
889 #define STV090x_Px_DMDCFG4(__x)			(0xf41f - (__x - 1) * 0x200)
890 #define STV090x_P1_DMDCFG4			STV090x_Px_DMDCFG4(1)
891 #define STV090x_P2_DMDCFG4			STV090x_Px_DMDCFG4(2)
892 
893 #define STV090x_Px_CORRELMANT(__x)		(0xF420 - (__x - 1) * 0x200)
894 #define STV090x_P1_CORRELMANT			STV090x_Px_CORRELMANT(1)
895 #define STV090x_P2_CORRELMANT			STV090x_Px_CORRELMANT(2)
896 #define STV090x_OFFST_Px_CORREL_MANT_FIELD	0
897 #define STV090x_WIDTH_Px_CORREL_MANT_FIELD	8
898 
899 #define STV090x_Px_CORRELABS(__x)		(0xF421 - (__x - 1) * 0x200)
900 #define STV090x_P1_CORRELABS			STV090x_Px_CORRELABS(1)
901 #define STV090x_P2_CORRELABS			STV090x_Px_CORRELABS(2)
902 #define STV090x_OFFST_Px_CORREL_ABS_FIELD	0
903 #define STV090x_WIDTH_Px_CORREL_ABS_FIELD	8
904 
905 #define STV090x_Px_CORRELEXP(__x)		(0xF422 - (__x - 1) * 0x200)
906 #define STV090x_P1_CORRELEXP			STV090x_Px_CORRELEXP(1)
907 #define STV090x_P2_CORRELEXP			STV090x_Px_CORRELEXP(2)
908 #define STV090x_OFFST_Px_CORREL_ABSEXP_FIELD	4
909 #define STV090x_WIDTH_Px_CORREL_ABSEXP_FIELD	4
910 #define STV090x_OFFST_Px_CORREL_EXP_FIELD	0
911 #define STV090x_WIDTH_Px_CORREL_EXP_FIELD	4
912 
913 #define STV090x_Px_PLHMODCOD(__x)		(0xF424 - (__x - 1) * 0x200)
914 #define STV090x_P1_PLHMODCOD			STV090x_Px_PLHMODCOD(1)
915 #define STV090x_P2_PLHMODCOD			STV090x_Px_PLHMODCOD(2)
916 #define STV090x_OFFST_Px_SPECINV_DEMOD_FIELD	7
917 #define STV090x_WIDTH_Px_SPECINV_DEMOD_FIELD	1
918 #define STV090x_OFFST_Px_PLH_MODCOD_FIELD	2
919 #define STV090x_WIDTH_Px_PLH_MODCOD_FIELD	5
920 #define STV090x_OFFST_Px_PLH_TYPE_FIELD		0
921 #define STV090x_WIDTH_Px_PLH_TYPE_FIELD		2
922 
923 #define STV090x_Px_AGCK32(__x)			(0xf42b - (__x - 1) * 0x200)
924 #define STV090x_P1_AGCK32			STV090x_Px_AGCK32(1)
925 #define STV090x_P2_AGCK32			STV090x_Px_AGCK32(2)
926 
927 #define STV090x_Px_AGC2O(__x)			(0xF42C - (__x - 1) * 0x200)
928 #define STV090x_P1_AGC2O			STV090x_Px_AGC2O(1)
929 #define STV090x_P2_AGC2O			STV090x_Px_AGC2O(2)
930 
931 #define STV090x_Px_AGC2REF(__x)			(0xF42D - (__x - 1) * 0x200)
932 #define STV090x_P1_AGC2REF			STV090x_Px_AGC2REF(1)
933 #define STV090x_P2_AGC2REF			STV090x_Px_AGC2REF(2)
934 #define STV090x_OFFST_Px_AGC2_REF_FIELD		0
935 #define STV090x_WIDTH_Px_AGC2_REF_FIELD		8
936 
937 #define STV090x_Px_AGC1ADJ(__x)			(0xF42E - (__x - 1) * 0x200)
938 #define STV090x_P1_AGC1ADJ			STV090x_Px_AGC1ADJ(1)
939 #define STV090x_P2_AGC1ADJ			STV090x_Px_AGC1ADJ(2)
940 #define STV090x_OFFST_Px_AGC1_ADJUSTED_FIELD	0
941 #define STV090x_WIDTH_Px_AGC1_ADJUSTED_FIELD	7
942 
943 #define STV090x_Px_AGC2Iy(__x, __y)		(0xF437 - (__x - 1) * 0x200 - __y * 0x1)
944 #define STV090x_P1_AGC2I0			STV090x_Px_AGC2Iy(1, 0)
945 #define STV090x_P1_AGC2I1			STV090x_Px_AGC2Iy(1, 1)
946 #define STV090x_P2_AGC2I0			STV090x_Px_AGC2Iy(2, 0)
947 #define STV090x_P2_AGC2I1			STV090x_Px_AGC2Iy(2, 1)
948 #define STV090x_OFFST_Px_AGC2_INTEGRATOR_FIELD	0
949 #define STV090x_WIDTH_Px_AGC2_INTEGRATOR_FIELD	8
950 
951 #define STV090x_Px_CARCFG(__x)			(0xF438 - (__x - 1) * 0x200)
952 #define STV090x_P1_CARCFG			STV090x_Px_CARCFG(1)
953 #define STV090x_P2_CARCFG			STV090x_Px_CARCFG(2)
954 #define STV090x_OFFST_Px_EN_CAR2CENTER_FIELD	5
955 #define STV090x_WIDTH_Px_EN_CAR2CENTER_FIELD	1
956 #define STV090x_OFFST_Px_ROTATON_FIELD		2
957 #define STV090x_WIDTH_Px_ROTATON_FIELD		1
958 #define STV090x_OFFST_Px_PH_DET_ALGO_FIELD	0
959 #define STV090x_WIDTH_Px_PH_DET_ALGO_FIELD	2
960 
961 #define STV090x_Px_ACLC(__x)			(0xF439 - (__x - 1) * 0x200)
962 #define STV090x_P1_ACLC				STV090x_Px_ACLC(1)
963 #define STV090x_P2_ACLC				STV090x_Px_ACLC(2)
964 #define STV090x_OFFST_Px_CAR_ALPHA_MANT_FIELD	4
965 #define STV090x_WIDTH_Px_CAR_ALPHA_MANT_FIELD	2
966 #define STV090x_OFFST_Px_CAR_ALPHA_EXP_FIELD	0
967 #define STV090x_WIDTH_Px_CAR_ALPHA_EXP_FIELD	4
968 
969 #define STV090x_Px_BCLC(__x)			(0xF43A - (__x - 1) * 0x200)
970 #define STV090x_P1_BCLC				STV090x_Px_BCLC(1)
971 #define STV090x_P2_BCLC				STV090x_Px_BCLC(2)
972 #define STV090x_OFFST_Px_CAR_BETA_MANT_FIELD	4
973 #define STV090x_WIDTH_Px_CAR_BETA_MANT_FIELD	2
974 #define STV090x_OFFST_Px_CAR_BETA_EXP_FIELD	0
975 #define STV090x_WIDTH_Px_CAR_BETA_EXP_FIELD	4
976 
977 #define STV090x_Px_CARFREQ(__x)			(0xF43D - (__x - 1) * 0x200)
978 #define STV090x_P1_CARFREQ			STV090x_Px_CARFREQ(1)
979 #define STV090x_P2_CARFREQ			STV090x_Px_CARFREQ(2)
980 #define STV090x_OFFST_Px_KC_COARSE_EXP_FIELD	4
981 #define STV090x_WIDTH_Px_KC_COARSE_EXP_FIELD	4
982 #define STV090x_OFFST_Px_BETA_FREQ_FIELD	0
983 #define STV090x_WIDTH_Px_BETA_FREQ_FIELD	4
984 
985 #define STV090x_Px_CARHDR(__x)			(0xF43E - (__x - 1) * 0x200)
986 #define STV090x_P1_CARHDR			STV090x_Px_CARHDR(1)
987 #define STV090x_P2_CARHDR			STV090x_Px_CARHDR(2)
988 #define STV090x_OFFST_Px_FREQ_HDR_FIELD		0
989 #define STV090x_WIDTH_Px_FREQ_HDR_FIELD		8
990 
991 #define STV090x_Px_LDT(__x)			(0xF43F - (__x - 1) * 0x200)
992 #define STV090x_P1_LDT				STV090x_Px_LDT(1)
993 #define STV090x_P2_LDT				STV090x_Px_LDT(2)
994 #define STV090x_OFFST_Px_CARLOCK_THRES_FIELD	0
995 #define STV090x_WIDTH_Px_CARLOCK_THRES_FIELD	8
996 
997 #define STV090x_Px_LDT2(__x)			(0xF440 - (__x - 1) * 0x200)
998 #define STV090x_P1_LDT2				STV090x_Px_LDT2(1)
999 #define STV090x_P2_LDT2				STV090x_Px_LDT2(2)
1000 #define STV090x_OFFST_Px_CARLOCK_THRES2_FIELD	0
1001 #define STV090x_WIDTH_Px_CARLOCK_THRES2_FIELD	8
1002 
1003 #define STV090x_Px_CFRICFG(__x)			(0xF441 - (__x - 1) * 0x200)
1004 #define STV090x_P1_CFRICFG			STV090x_Px_CFRICFG(1)
1005 #define STV090x_P2_CFRICFG			STV090x_Px_CFRICFG(2)
1006 #define STV090x_OFFST_Px_NEG_CFRSTEP_FIELD	0
1007 #define STV090x_WIDTH_Px_NEG_CFRSTEP_FIELD	1
1008 
1009 #define STV090x_Pn_CFRUPy(__x, __y)		(0xF443 - (__x - 1) * 0x200 - __y * 0x1)
1010 #define STV090x_P1_CFRUP0			STV090x_Pn_CFRUPy(1, 0)
1011 #define STV090x_P1_CFRUP1			STV090x_Pn_CFRUPy(1, 1)
1012 #define STV090x_P2_CFRUP0			STV090x_Pn_CFRUPy(2, 0)
1013 #define STV090x_P2_CFRUP1			STV090x_Pn_CFRUPy(2, 1)
1014 #define STV090x_OFFST_Px_CFR_UP_FIELD		0
1015 #define STV090x_WIDTH_Px_CFR_UP_FIELD		8
1016 
1017 #define STV090x_Pn_CFRLOWy(__x, __y)		(0xF447 - (__x - 1) * 0x200 - __y * 0x1)
1018 #define STV090x_P1_CFRLOW0			STV090x_Pn_CFRLOWy(1, 0)
1019 #define STV090x_P1_CFRLOW1			STV090x_Pn_CFRLOWy(1, 1)
1020 #define STV090x_P2_CFRLOW0			STV090x_Pn_CFRLOWy(2, 0)
1021 #define STV090x_P2_CFRLOW1			STV090x_Pn_CFRLOWy(2, 1)
1022 #define STV090x_OFFST_Px_CFR_LOW_FIELD		0
1023 #define STV090x_WIDTH_Px_CFR_LOW_FIELD		8
1024 
1025 #define STV090x_Pn_CFRINITy(__x, __y)		(0xF449 - (__x - 1) * 0x200 - __y * 0x1)
1026 #define STV090x_P1_CFRINIT0			STV090x_Pn_CFRINITy(1, 0)
1027 #define STV090x_P1_CFRINIT1			STV090x_Pn_CFRINITy(1, 1)
1028 #define STV090x_P2_CFRINIT0			STV090x_Pn_CFRINITy(2, 0)
1029 #define STV090x_P2_CFRINIT1			STV090x_Pn_CFRINITy(2, 1)
1030 #define STV090x_OFFST_Px_CFR_INIT_FIELD		0
1031 #define STV090x_WIDTH_Px_CFR_INIT_FIELD		8
1032 
1033 #define STV090x_Px_CFRINC1(__x)			(0xF44A - (__x - 1) * 0x200)
1034 #define STV090x_P1_CFRINC1			STV090x_Px_CFRINC1(1)
1035 #define STV090x_P2_CFRINC1			STV090x_Px_CFRINC1(2)
1036 #define STV090x_OFFST_Px_CFR_INC1_FIELD		0
1037 #define STV090x_WIDTH_Px_CFR_INC1_FIELD		7 /* check */
1038 
1039 #define STV090x_Px_CFRINC0(__x)			(0xF44B - (__x - 1) * 0x200)
1040 #define STV090x_P1_CFRINC0			STV090x_Px_CFRINC0(1)
1041 #define STV090x_P2_CFRINC0			STV090x_Px_CFRINC0(2)
1042 #define STV090x_OFFST_Px_CFR_INC0_FIELD		4 /* check */
1043 #define STV090x_WIDTH_Px_CFR_INC0_FIELD		4
1044 
1045 #define STV090x_Pn_CFRy(__x, __y)		(0xF44E - (__x - 1) * 0x200 - __y * 0x1)
1046 #define STV090x_P1_CFR0				STV090x_Pn_CFRy(1, 0)
1047 #define STV090x_P1_CFR1				STV090x_Pn_CFRy(1, 1)
1048 #define STV090x_P1_CFR2				STV090x_Pn_CFRy(1, 2)
1049 #define STV090x_P2_CFR0				STV090x_Pn_CFRy(2, 0)
1050 #define STV090x_P2_CFR1				STV090x_Pn_CFRy(2, 1)
1051 #define STV090x_P2_CFR2				STV090x_Pn_CFRy(2, 2)
1052 #define STV090x_OFFST_Px_CAR_FREQ_FIELD		0
1053 #define STV090x_WIDTH_Px_CAR_FREQ_FIELD		8
1054 
1055 #define STV090x_Px_LDI(__x)			(0xF44F - (__x - 1) * 0x200)
1056 #define STV090x_P1_LDI				STV090x_Px_LDI(1)
1057 #define STV090x_P2_LDI				STV090x_Px_LDI(2)
1058 #define STV090x_OFFST_Px_LOCK_DET_INTEGR_FIELD	0
1059 #define STV090x_WIDTH_Px_LOCK_DET_INTEGR_FIELD	8
1060 
1061 #define STV090x_Px_TMGCFG(__x)			(0xF450 - (__x - 1) * 0x200)
1062 #define STV090x_P1_TMGCFG			STV090x_Px_TMGCFG(1)
1063 #define STV090x_P2_TMGCFG			STV090x_Px_TMGCFG(2)
1064 #define STV090x_OFFST_Px_TMGLOCK_BETA_FIELD	6
1065 #define STV090x_WIDTH_Px_TMGLOCK_BETA_FIELD	2
1066 #define STV090x_OFFST_Px_DO_TIMING_FIELD	4
1067 #define STV090x_WIDTH_Px_DO_TIMING_FIELD	1
1068 #define STV090x_OFFST_Px_TMG_MINFREQ_FIELD	0
1069 #define STV090x_WIDTH_Px_TMG_MINFREQ_FIELD	2
1070 
1071 #define STV090x_Px_RTC(__x)			(0xF451 - (__x - 1) * 0x200)
1072 #define STV090x_P1_RTC				STV090x_Px_RTC(1)
1073 #define STV090x_P2_RTC				STV090x_Px_RTC(2)
1074 #define STV090x_OFFST_Px_TMGALPHA_EXP_FIELD	4
1075 #define STV090x_WIDTH_Px_TMGALPHA_EXP_FIELD	4
1076 #define STV090x_OFFST_Px_TMGBETA_EXP_FIELD	0
1077 #define STV090x_WIDTH_Px_TMGBETA_EXP_FIELD	4
1078 
1079 #define STV090x_Px_RTCS2(__x)			(0xF452 - (__x - 1) * 0x200)
1080 #define STV090x_P1_RTCS2			STV090x_Px_RTCS2(1)
1081 #define STV090x_P2_RTCS2			STV090x_Px_RTCS2(2)
1082 #define STV090x_OFFST_Px_TMGALPHAS2_EXP_FIELD	4
1083 #define STV090x_WIDTH_Px_TMGALPHAS2_EXP_FIELD	4
1084 #define STV090x_OFFST_Px_TMGBETAS2_EXP_FIELD	0
1085 #define STV090x_WIDTH_Px_TMGBETAS2_EXP_FIELD	4
1086 
1087 #define STV090x_Px_TMGTHRISE(__x)		(0xF453 - (__x - 1) * 0x200)
1088 #define STV090x_P1_TMGTHRISE			STV090x_Px_TMGTHRISE(1)
1089 #define STV090x_P2_TMGTHRISE			STV090x_Px_TMGTHRISE(2)
1090 #define STV090x_OFFST_Px_TMGLOCK_THRISE_FIELD	0
1091 #define STV090x_WIDTH_Px_TMGLOCK_THRISE_FIELD	8
1092 
1093 #define STV090x_Px_TMGTHFALL(__x)		(0xF454 - (__x - 1) * 0x200)
1094 #define STV090x_P1_TMGTHFALL			STV090x_Px_TMGTHFALL(1)
1095 #define STV090x_P2_TMGTHFALL			STV090x_Px_TMGTHFALL(2)
1096 #define STV090x_OFFST_Px_TMGLOCK_THFALL_FIELD	0
1097 #define STV090x_WIDTH_Px_TMGLOCK_THFALL_FIELD	8
1098 
1099 #define STV090x_Px_SFRUPRATIO(__x)		(0xF455 - (__x - 1) * 0x200)
1100 #define STV090x_P1_SFRUPRATIO			STV090x_Px_SFRUPRATIO(1)
1101 #define STV090x_P2_SFRUPRATIO			STV090x_Px_SFRUPRATIO(2)
1102 #define STV090x_OFFST_Px_SFR_UPRATIO_FIELD	0
1103 #define STV090x_WIDTH_Px_SFR_UPRATIO_FIELD	8
1104 
1105 #define STV090x_Px_SFRLOWRATIO(__x)		(0xF456 - (__x - 1) * 0x200)
1106 #define STV090x_P1_SFRLOWRATIO			STV090x_Px_SFRLOWRATIO(1)
1107 #define STV090x_P2_SFRLOWRATIO			STV090x_Px_SFRLOWRATIO(2)
1108 #define STV090x_OFFST_Px_SFR_LOWRATIO_FIELD	0
1109 #define STV090x_WIDTH_Px_SFR_LOWRATIO_FIELD	8
1110 
1111 #define STV090x_Px_KREFTMG(__x)			(0xF458 - (__x - 1) * 0x200)
1112 #define STV090x_P1_KREFTMG			STV090x_Px_KREFTMG(1)
1113 #define STV090x_P2_KREFTMG			STV090x_Px_KREFTMG(2)
1114 #define STV090x_OFFST_Px_KREF_TMG_FIELD		0
1115 #define STV090x_WIDTH_Px_KREF_TMG_FIELD		8
1116 
1117 #define STV090x_Px_SFRSTEP(__x)			(0xF459 - (__x - 1) * 0x200)
1118 #define STV090x_P1_SFRSTEP			STV090x_Px_SFRSTEP(1)
1119 #define STV090x_P2_SFRSTEP			STV090x_Px_SFRSTEP(2)
1120 #define STV090x_OFFST_Px_SFR_SCANSTEP_FIELD	4
1121 #define STV090x_WIDTH_Px_SFR_SCANSTEP_FIELD	4
1122 #define STV090x_OFFST_Px_SFR_CENTERSTEP_FIELD	0
1123 #define STV090x_WIDTH_Px_SFR_CENTERSTEP_FIELD	4
1124 
1125 #define STV090x_Px_TMGCFG2(__x)			(0xF45A - (__x - 1) * 0x200)
1126 #define STV090x_P1_TMGCFG2			STV090x_Px_TMGCFG2(1)
1127 #define STV090x_P2_TMGCFG2			STV090x_Px_TMGCFG2(2)
1128 #define STV090x_OFFST_Px_SFRRATIO_FINE_FIELD	0
1129 #define STV090x_WIDTH_Px_SFRRATIO_FINE_FIELD	1
1130 
1131 #define STV090x_Px_SFRINIT1(__x)		(0xF45E - (__x - 1) * 0x200)
1132 #define STV090x_P1_SFRINIT1			STV090x_Px_SFRINIT1(1)
1133 #define STV090x_P2_SFRINIT1			STV090x_Px_SFRINIT1(2)
1134 #define STV090x_OFFST_Px_SFR_INIT1_FIELD	0
1135 #define STV090x_WIDTH_Px_SFR_INIT1_FIELD	7
1136 
1137 #define STV090x_Px_SFRINIT0(__x)		(0xF45F - (__x - 1) * 0x200)
1138 #define STV090x_P1_SFRINIT0			STV090x_Px_SFRINIT0(1)
1139 #define STV090x_P2_SFRINIT0			STV090x_Px_SFRINIT0(2)
1140 #define STV090x_OFFST_Px_SFR_INIT0_FIELD	0
1141 #define STV090x_WIDTH_Px_SFR_INIT0_FIELD	8
1142 
1143 #define STV090x_Px_SFRUP1(__x)			(0xF460 - (__x - 1) * 0x200)
1144 #define STV090x_P1_SFRUP1			STV090x_Px_SFRUP1(1)
1145 #define STV090x_P2_SFRUP1			STV090x_Px_SFRUP1(2)
1146 #define STV090x_OFFST_Px_SYMB_FREQ_UP1_FIELD	0
1147 #define STV090x_WIDTH_Px_SYMB_FREQ_UP1_FIELD	7
1148 
1149 #define STV090x_Px_SFRUP0(__x)			(0xF461 - (__x - 1) * 0x200)
1150 #define STV090x_P1_SFRUP0			STV090x_Px_SFRUP0(1)
1151 #define STV090x_P2_SFRUP0			STV090x_Px_SFRUP0(2)
1152 #define STV090x_OFFST_Px_SYMB_FREQ_UP0_FIELD	0
1153 #define STV090x_WIDTH_Px_SYMB_FREQ_UP0_FIELD	8
1154 
1155 #define STV090x_Px_SFRLOW1(__x)			(0xF462 - (__x - 1) * 0x200)
1156 #define STV090x_P1_SFRLOW1			STV090x_Px_SFRLOW1(1)
1157 #define STV090x_P2_SFRLOW1			STV090x_Px_SFRLOW1(2)
1158 #define STV090x_OFFST_Px_SYMB_FREQ_LOW1_FIELD	0
1159 #define STV090x_WIDTH_Px_SYMB_FREQ_LOW1_FIELD	7
1160 
1161 #define STV090x_Px_SFRLOW0(__x)			(0xF463 - (__x - 1) * 0x200)
1162 #define STV090x_P1_SFRLOW0			STV090x_Px_SFRLOW0(1)
1163 #define STV090x_P2_SFRLOW0			STV090x_Px_SFRLOW0(2)
1164 #define STV090x_OFFST_Px_SYMB_FREQ_LOW0_FIELD	0
1165 #define STV090x_WIDTH_Px_SYMB_FREQ_LOW0_FIELD	8
1166 
1167 #define STV090x_Px_SFRy(__x, __y)		(0xF467 - (__x-1) * 0x200 - __y)
1168 #define STV090x_P1_SFR0				STV090x_Px_SFRy(1, 0)
1169 #define STV090x_P1_SFR1				STV090x_Px_SFRy(1, 1)
1170 #define STV090x_P1_SFR2				STV090x_Px_SFRy(1, 2)
1171 #define STV090x_P1_SFR3				STV090x_Px_SFRy(1, 3)
1172 #define STV090x_P2_SFR0				STV090x_Px_SFRy(2, 0)
1173 #define STV090x_P2_SFR1				STV090x_Px_SFRy(2, 1)
1174 #define STV090x_P2_SFR2				STV090x_Px_SFRy(2, 2)
1175 #define STV090x_P2_SFR3				STV090x_Px_SFRy(2, 3)
1176 #define STV090x_OFFST_Px_SYMB_FREQ_FIELD	0
1177 #define STV090x_WIDTH_Px_SYMB_FREQ_FIELD	8
1178 
1179 #define STV090x_Px_TMGREG2(__x)			(0xF468 - (__x - 1) * 0x200)
1180 #define STV090x_P1_TMGREG2			STV090x_Px_TMGREG2(1)
1181 #define STV090x_P2_TMGREG2			STV090x_Px_TMGREG2(2)
1182 #define STV090x_OFFST_Px_TMGREG_FIELD		0
1183 #define STV090x_WIDTH_Px_TMGREG_FIELD		8
1184 
1185 #define STV090x_Px_TMGREG1(__x)			(0xF469 - (__x - 1) * 0x200)
1186 #define STV090x_P1_TMGREG1			STV090x_Px_TMGREG1(1)
1187 #define STV090x_P2_TMGREG1			STV090x_Px_TMGREG1(2)
1188 #define STV090x_OFFST_Px_TMGREG_FIELD		0
1189 #define STV090x_WIDTH_Px_TMGREG_FIELD		8
1190 
1191 #define STV090x_Px_TMGREG0(__x)			(0xF46A - (__x - 1) * 0x200)
1192 #define STV090x_P1_TMGREG0			STV090x_Px_TMGREG0(1)
1193 #define STV090x_P2_TMGREG0			STV090x_Px_TMGREG0(2)
1194 #define STV090x_OFFST_Px_TMGREG_FIELD		0
1195 #define STV090x_WIDTH_Px_TMGREG_FIELD		8
1196 
1197 #define STV090x_Px_TMGLOCKy(__x, __y)		(0xF46C - (__x - 1) * 0x200 - __y * 0x1)
1198 #define STV090x_P1_TMGLOCK0			STV090x_Px_TMGLOCKy(1, 0)
1199 #define STV090x_P1_TMGLOCK1			STV090x_Px_TMGLOCKy(1, 1)
1200 #define STV090x_P2_TMGLOCK0			STV090x_Px_TMGLOCKy(2, 0)
1201 #define STV090x_P2_TMGLOCK1			STV090x_Px_TMGLOCKy(2, 1)
1202 #define STV090x_OFFST_Px_TMGLOCK_LEVEL_FIELD	0
1203 #define STV090x_WIDTH_Px_TMGLOCK_LEVEL_FIELD	8
1204 
1205 #define STV090x_Px_TMGOBS(__x)			(0xF46D - (__x - 1) * 0x200)
1206 #define STV090x_P1_TMGOBS			STV090x_Px_TMGOBS(1)
1207 #define STV090x_P2_TMGOBS			STV090x_Px_TMGOBS(2)
1208 #define STV090x_OFFST_Px_ROLLOFF_STATUS_FIELD	6
1209 #define STV090x_WIDTH_Px_ROLLOFF_STATUS_FIELD	2
1210 
1211 #define STV090x_Px_EQUALCFG(__x)		(0xF46F - (__x - 1) * 0x200)
1212 #define STV090x_P1_EQUALCFG			STV090x_Px_EQUALCFG(1)
1213 #define STV090x_P2_EQUALCFG			STV090x_Px_EQUALCFG(2)
1214 #define STV090x_OFFST_Px_EQUAL_ON_FIELD		6
1215 #define STV090x_WIDTH_Px_EQUAL_ON_FIELD		1
1216 #define STV090x_OFFST_Px_MU_EQUALDFE_FIELD	0
1217 #define STV090x_WIDTH_Px_MU_EQUALDFE_FIELD	3
1218 
1219 #define STV090x_Px_EQUAIy(__x, __y)	(0xf470 - (__x-1) * 0x200 + 2 * (__y-1))
1220 #define STV090x_P1_EQUAI1			STV090x_Px_EQUAIy(1, 1)
1221 #define STV090x_P1_EQUAI2			STV090x_Px_EQUAIy(1, 2)
1222 #define STV090x_P1_EQUAI3			STV090x_Px_EQUAIy(1, 3)
1223 #define STV090x_P1_EQUAI4			STV090x_Px_EQUAIy(1, 4)
1224 #define STV090x_P1_EQUAI5			STV090x_Px_EQUAIy(1, 5)
1225 #define STV090x_P1_EQUAI6			STV090x_Px_EQUAIy(1, 6)
1226 #define STV090x_P1_EQUAI7			STV090x_Px_EQUAIy(1, 7)
1227 #define STV090x_P1_EQUAI8			STV090x_Px_EQUAIy(1, 8)
1228 
1229 #define STV090x_P2_EQUAI1			STV090x_Px_EQUAIy(2, 1)
1230 #define STV090x_P2_EQUAI2			STV090x_Px_EQUAIy(2, 2)
1231 #define STV090x_P2_EQUAI3			STV090x_Px_EQUAIy(2, 3)
1232 #define STV090x_P2_EQUAI4			STV090x_Px_EQUAIy(2, 4)
1233 #define STV090x_P2_EQUAI5			STV090x_Px_EQUAIy(2, 5)
1234 #define STV090x_P2_EQUAI6			STV090x_Px_EQUAIy(2, 6)
1235 #define STV090x_P2_EQUAI7			STV090x_Px_EQUAIy(2, 7)
1236 #define STV090x_P2_EQUAI8			STV090x_Px_EQUAIy(2, 8)
1237 #define STV090x_OFFST_Px_EQUA_ACCIy_FIELD	0
1238 #define STV090x_WIDTH_Px_EQUA_ACCIy_FIELD	8
1239 
1240 #define STV090x_Px_EQUAQy(__x, __y)	(0xf471 - (__x-1) * 0x200 + 2 * (__y-1))
1241 #define STV090x_P1_EQUAQ1			STV090x_Px_EQUAQy(1, 1)
1242 #define STV090x_P1_EQUAQ2			STV090x_Px_EQUAQy(1, 2)
1243 #define STV090x_P1_EQUAQ3			STV090x_Px_EQUAQy(1, 3)
1244 #define STV090x_P1_EQUAQ4			STV090x_Px_EQUAQy(1, 4)
1245 #define STV090x_P1_EQUAQ5			STV090x_Px_EQUAQy(1, 5)
1246 #define STV090x_P1_EQUAQ6			STV090x_Px_EQUAQy(1, 6)
1247 #define STV090x_P1_EQUAQ7			STV090x_Px_EQUAQy(1, 7)
1248 #define STV090x_P1_EQUAQ8			STV090x_Px_EQUAQy(1, 8)
1249 
1250 #define STV090x_P2_EQUAQ1			STV090x_Px_EQUAQy(2, 1)
1251 #define STV090x_P2_EQUAQ2			STV090x_Px_EQUAQy(2, 2)
1252 #define STV090x_P2_EQUAQ3			STV090x_Px_EQUAQy(2, 3)
1253 #define STV090x_P2_EQUAQ4			STV090x_Px_EQUAQy(2, 4)
1254 #define STV090x_P2_EQUAQ5			STV090x_Px_EQUAQy(2, 5)
1255 #define STV090x_P2_EQUAQ6			STV090x_Px_EQUAQy(2, 6)
1256 #define STV090x_P2_EQUAQ7			STV090x_Px_EQUAQy(2, 7)
1257 #define STV090x_P2_EQUAQ8			STV090x_Px_EQUAQy(2, 8)
1258 #define STV090x_OFFST_Px_EQUA_ACCQy_FIELD	0
1259 #define STV090x_WIDTH_Px_EQUA_ACCQy_FIELD	8
1260 
1261 #define STV090x_Px_NNOSDATATy(__x, __y)		(0xf481 - (__x - 1) * 0x200 - __y * 0x1)
1262 #define STV090x_P1_NNOSDATAT0			STV090x_Px_NNOSDATATy(1, 0)
1263 #define STV090x_P1_NNOSDATAT1			STV090x_Px_NNOSDATATy(1, 1)
1264 #define STV090x_P2_NNOSDATAT0			STV090x_Px_NNOSDATATy(2, 0)
1265 #define STV090x_P2_NNOSDATAT1			STV090x_Px_NNOSDATATy(2, 1)
1266 #define STV090x_OFFST_Px_NOSDATAT_NORMED_FIELD	0
1267 #define STV090x_WIDTH_Px_NOSDATAT_NORMED_FIELD	8
1268 
1269 #define STV090x_Px_NNOSDATAy(__x, __y)		(0xf483 - (__x - 1) * 0x200 - __y * 0x1)
1270 #define STV090x_P1_NNOSDATA0			STV090x_Px_NNOSDATAy(1, 0)
1271 #define STV090x_P1_NNOSDATA1			STV090x_Px_NNOSDATAy(1, 1)
1272 #define STV090x_P2_NNOSDATA0			STV090x_Px_NNOSDATAy(2, 0)
1273 #define STV090x_P2_NNOSDATA1			STV090x_Px_NNOSDATAy(2, 1)
1274 #define STV090x_OFFST_Px_NOSDATA_NORMED_FIELD	0
1275 #define STV090x_WIDTH_Px_NOSDATA_NORMED_FIELD	8
1276 
1277 #define STV090x_Px_NNOSPLHTy(__x, __y)		(0xf485 - (__x - 1) * 0x200 - __y * 0x1)
1278 #define STV090x_P1_NNOSPLHT0			STV090x_Px_NNOSPLHTy(1, 0)
1279 #define STV090x_P1_NNOSPLHT1			STV090x_Px_NNOSPLHTy(1, 1)
1280 #define STV090x_P2_NNOSPLHT0			STV090x_Px_NNOSPLHTy(2, 0)
1281 #define STV090x_P2_NNOSPLHT1			STV090x_Px_NNOSPLHTy(2, 1)
1282 #define STV090x_OFFST_Px_NOSPLHT_NORMED_FIELD	0
1283 #define STV090x_WIDTH_Px_NOSPLHT_NORMED_FIELD	8
1284 
1285 #define STV090x_Px_NNOSPLHy(__x, __y)		(0xf487 - (__x - 1) * 0x200 - __y * 0x1)
1286 #define STV090x_P1_NNOSPLH0			STV090x_Px_NNOSPLHy(1, 0)
1287 #define STV090x_P1_NNOSPLH1			STV090x_Px_NNOSPLHy(1, 1)
1288 #define STV090x_P2_NNOSPLH0			STV090x_Px_NNOSPLHy(2, 0)
1289 #define STV090x_P2_NNOSPLH1			STV090x_Px_NNOSPLHy(2, 1)
1290 #define STV090x_OFFST_Px_NOSPLH_NORMED_FIELD	0
1291 #define STV090x_WIDTH_Px_NOSPLH_NORMED_FIELD	8
1292 
1293 #define STV090x_Px_NOSDATATy(__x, __y)			(0xf489 - (__x - 1) * 0x200 - __y * 0x1)
1294 #define STV090x_P1_NOSDATAT0				STV090x_Px_NOSDATATy(1, 0)
1295 #define STV090x_P1_NOSDATAT1				STV090x_Px_NOSDATATy(1, 1)
1296 #define STV090x_P2_NOSDATAT0				STV090x_Px_NOSDATATy(2, 0)
1297 #define STV090x_P2_NOSDATAT1				STV090x_Px_NOSDATATy(2, 1)
1298 #define STV090x_OFFST_Px_NOSDATAT_UNNORMED_FIELD	0
1299 #define STV090x_WIDTH_Px_NOSDATAT_UNNORMED_FIELD	8
1300 
1301 #define STV090x_Px_NOSDATAy(__x, __y)		(0xf48b - (__x - 1) * 0x200 - __y * 0x1)
1302 #define STV090x_P1_NOSDATA0			STV090x_Px_NOSDATAy(1, 0)
1303 #define STV090x_P1_NOSDATA1			STV090x_Px_NOSDATAy(1, 1)
1304 #define STV090x_P2_NOSDATA0			STV090x_Px_NOSDATAy(2, 0)
1305 #define STV090x_P2_NOSDATA1			STV090x_Px_NOSDATAy(2, 1)
1306 #define STV090x_OFFST_Px_NOSDATA_UNNORMED_FIELD	0
1307 #define STV090x_WIDTH_Px_NOSDATA_UNNORMED_FIELD	8
1308 
1309 #define STV090x_Px_NOSPLHTy(__x, __y)		(0xf48d - (__x - 1) * 0x200 - __y * 0x1)
1310 #define STV090x_P1_NOSPLHT0			STV090x_Px_NOSPLHTy(1, 0)
1311 #define STV090x_P1_NOSPLHT1			STV090x_Px_NOSPLHTy(1, 1)
1312 #define STV090x_P2_NOSPLHT0			STV090x_Px_NOSPLHTy(2, 0)
1313 #define STV090x_P2_NOSPLHT1			STV090x_Px_NOSPLHTy(2, 1)
1314 #define STV090x_OFFST_Px_NOSPLHT_UNNORMED_FIELD	0
1315 #define STV090x_WIDTH_Px_NOSPLHT_UNNORMED_FIELD	8
1316 
1317 #define STV090x_Px_NOSPLHy(__x, __y)		(0xf48f - (__x - 1) * 0x200 - __y * 0x1)
1318 #define STV090x_P1_NOSPLH0			STV090x_Px_NOSPLHy(1, 0)
1319 #define STV090x_P1_NOSPLH1			STV090x_Px_NOSPLHy(1, 1)
1320 #define STV090x_P2_NOSPLH0			STV090x_Px_NOSPLHy(2, 0)
1321 #define STV090x_P2_NOSPLH1			STV090x_Px_NOSPLHy(2, 1)
1322 #define STV090x_OFFST_Px_NOSPLH_UNNORMED_FIELD	0
1323 #define STV090x_WIDTH_Px_NOSPLH_UNNORMED_FIELD	8
1324 
1325 #define STV090x_Px_CAR2CFG(__x)			(0xf490 - (__x - 1) * 0x200)
1326 #define STV090x_P1_CAR2CFG			STV090x_Px_CAR2CFG(1)
1327 #define STV090x_P2_CAR2CFG			STV090x_Px_CAR2CFG(2)
1328 #define STV090x_OFFST_Px_PN4_SELECT_FIELD	6
1329 #define STV090x_WIDTH_Px_PN4_SELECT_FIELD	1
1330 #define STV090x_OFFST_Px_CFR2_STOPDVBS1_FIELD	5
1331 #define STV090x_WIDTH_Px_CFR2_STOPDVBS1_FIELD	1
1332 #define STV090x_OFFST_Px_ROTA2ON_FIELD		2
1333 #define STV090x_WIDTH_Px_ROTA2ON_FIELD		1
1334 #define STV090x_OFFST_Px_PH_DET_ALGO2_FIELD	0
1335 #define STV090x_WIDTH_Px_PH_DET_ALGO2_FIELD	2
1336 
1337 #define STV090x_Px_ACLC2(__x)			(0xf491 - (__x - 1) * 0x200)
1338 #define STV090x_P1_ACLC2			STV090x_Px_ACLC2(1)
1339 #define STV090x_P2_ACLC2			STV090x_Px_ACLC2(2)
1340 #define STV090x_OFFST_Px_CAR2_ALPHA_MANT_FIELD	4
1341 #define STV090x_WIDTH_Px_CAR2_ALPHA_MANT_FIELD	2
1342 #define STV090x_OFFST_Px_CAR2_ALPHA_EXP_FIELD	0
1343 #define STV090x_WIDTH_Px_CAR2_ALPHA_EXP_FIELD	4
1344 
1345 #define STV090x_Px_BCLC2(__x)			(0xf492 - (__x - 1) * 0x200)
1346 #define STV090x_P1_BCLC2			STV090x_Px_BCLC2(1)
1347 #define STV090x_P2_BCLC2			STV090x_Px_BCLC2(2)
1348 #define STV090x_OFFST_Px_CAR2_BETA_MANT_FIELD	4
1349 #define STV090x_WIDTH_Px_CAR2_BETA_MANT_FIELD	2
1350 #define STV090x_OFFST_Px_CAR2_BETA_EXP_FIELD	0
1351 #define STV090x_WIDTH_Px_CAR2_BETA_EXP_FIELD	4
1352 
1353 #define STV090x_Px_ACLC2S2Q(__x)		(0xf497 - (__x - 1) * 0x200)
1354 #define STV090x_P1_ACLC2S2Q			STV090x_Px_ACLC2S2Q(1)
1355 #define STV090x_P2_ACLC2S2Q			STV090x_Px_ACLC2S2Q(2)
1356 #define STV090x_OFFST_Px_ENAB_SPSKSYMB_FIELD	7
1357 #define STV090x_WIDTH_Px_ENAB_SPSKSYMB_FIELD	1
1358 #define STV090x_OFFST_Px_CAR2S2_Q_ALPH_M_FIELD	4
1359 #define STV090x_WIDTH_Px_CAR2S2_Q_ALPH_M_FIELD	2
1360 #define STV090x_OFFST_Px_CAR2S2_Q_ALPH_E_FIELD	0
1361 #define STV090x_WIDTH_Px_CAR2S2_Q_ALPH_E_FIELD	4
1362 
1363 #define STV090x_Px_ACLC2S28(__x)		(0xf498 - (__x - 1) * 0x200)
1364 #define STV090x_P1_ACLC2S28			STV090x_Px_ACLC2S28(1)
1365 #define STV090x_P2_ACLC2S28			STV090x_Px_ACLC2S28(2)
1366 #define STV090x_OFFST_Px_CAR2S2_8_ALPH_M_FIELD	4
1367 #define STV090x_WIDTH_Px_CAR2S2_8_ALPH_M_FIELD	2
1368 #define STV090x_OFFST_Px_CAR2S2_8_ALPH_E_FIELD	0
1369 #define STV090x_WIDTH_Px_CAR2S2_8_ALPH_E_FIELD	4
1370 
1371 #define STV090x_Px_ACLC2S216A(__x)		(0xf499 - (__x - 1) * 0x200)
1372 #define STV090x_P1_ACLC2S216A			STV090x_Px_ACLC2S216A(1)
1373 #define STV090x_P2_ACLC2S216A			STV090x_Px_ACLC2S216A(2)
1374 #define STV090x_OFFST_Px_CAR2S2_16A_ALPH_M_FIELD	4
1375 #define STV090x_WIDTH_Px_CAR2S2_16A_ALPH_M_FIELD	2
1376 #define STV090x_OFFST_Px_CAR2S2_16A_ALPH_E_FIELD	0
1377 #define STV090x_WIDTH_Px_CAR2S2_16A_ALPH_E_FIELD	4
1378 
1379 #define STV090x_Px_ACLC2S232A(__x)		(0xf49A - (__x - 1) * 0x200)
1380 #define STV090x_P1_ACLC2S232A			STV090x_Px_ACLC2S232A(1)
1381 #define STV090x_P2_ACLC2S232A			STV090x_Px_ACLC2S232A(2)
1382 #define STV090x_OFFST_Px_CAR2S2_32A_ALPH_M_FIELD	4
1383 #define STV090x_WIDTH_Px_CAR2S2_32A_ALPH_M_FIELD	2
1384 #define STV090x_OFFST_Px_CAR2S2_32A_ALPH_E_FIELD	0
1385 #define STV090x_WIDTH_Px_CAR2S2_32A_ALPH_E_FIELD	4
1386 
1387 #define STV090x_Px_BCLC2S2Q(__x)		(0xf49c - (__x - 1) * 0x200)
1388 #define STV090x_P1_BCLC2S2Q			STV090x_Px_BCLC2S2Q(1)
1389 #define STV090x_P2_BCLC2S2Q			STV090x_Px_BCLC2S2Q(2)
1390 #define STV090x_OFFST_Px_CAR2S2_Q_BETA_M_FIELD	4
1391 #define STV090x_WIDTH_Px_CAR2S2_Q_BETA_M_FIELD	2
1392 #define STV090x_OFFST_Px_CAR2S2_Q_BETA_E_FIELD	0
1393 #define STV090x_WIDTH_Px_CAR2S2_Q_BETA_E_FIELD	4
1394 
1395 #define STV090x_Px_BCLC2S28(__x)		(0xf49d - (__x - 1) * 0x200)
1396 #define STV090x_P1_BCLC2S28			STV090x_Px_BCLC2S28(1)
1397 #define STV090x_P2_BCLC2S28			STV090x_Px_BCLC2S28(2)
1398 #define STV090x_OFFST_Px_CAR2S2_8_BETA_M_FIELD	4
1399 #define STV090x_WIDTH_Px_CAR2S2_8_BETA_M_FIELD	2
1400 #define STV090x_OFFST_Px_CAR2S2_8_BETA_E_FIELD	0
1401 #define STV090x_WIDTH_Px_CAR2S2_8_BETA_E_FIELD	4
1402 
1403 #define STV090x_Px_BCLC2S216A(__x)		(0xf49e - (__x - 1) * 0x200)
1404 #define STV090x_P1_BCLC2S216A			STV090x_Px_BCLC2S216A(1)
1405 #define STV090x_P2_BCLC2S216A			STV090x_Px_BCLC2S216A(2)
1406 #define STV090x_OFFST_Px_CAR2S2_16A_BETA_M_FIELD	4
1407 #define STV090x_WIDTH_Px_CAR2S2_16A_BETA_M_FIELD	2
1408 #define STV090x_OFFST_Px_CAR2S2_16A_BETA_E_FIELD	0
1409 #define STV090x_WIDTH_Px_CAR2S2_16A_BETA_E_FIELD	4
1410 
1411 #define STV090x_Px_BCLC2S232A(__x)		(0xf49f - (__x - 1) * 0x200)
1412 #define STV090x_P1_BCLC2S232A			STV090x_Px_BCLC2S232A(1)
1413 #define STV090x_P2_BCLC2S232A			STV090x_Px_BCLC2S232A(2)
1414 #define STV090x_OFFST_Px_CAR2S2_32A_BETA_M_FIELD	4
1415 #define STV090x_WIDTH_Px_CAR2S2_32A_BETA_M_FIELD	2
1416 #define STV090x_OFFST_Px_CAR2S2_32A_BETA_E_FIELD	0
1417 #define STV090x_WIDTH_Px_CAR2S2_32A_BETA_E_FIELD	4
1418 
1419 #define STV090x_Px_PLROOT2(__x)			(0xf4ac - (__x - 1) * 0x200)
1420 #define STV090x_P1_PLROOT2			STV090x_Px_PLROOT2(1)
1421 #define STV090x_P2_PLROOT2			STV090x_Px_PLROOT2(2)
1422 #define STV090x_OFFST_Px_PLSCRAMB_MODE_FIELD	2
1423 #define STV090x_WIDTH_Px_PLSCRAMB_MODE_FIELD	2
1424 #define STV090x_OFFST_Px_PLSCRAMB_ROOT_FIELD	0
1425 #define STV090x_WIDTH_Px_PLSCRAMB_ROOT_FIELD	2
1426 
1427 #define STV090x_Px_PLROOT1(__x)			(0xf4ad - (__x - 1) * 0x200)
1428 #define STV090x_P1_PLROOT1			STV090x_Px_PLROOT1(1)
1429 #define STV090x_P2_PLROOT1			STV090x_Px_PLROOT1(2)
1430 #define STV090x_OFFST_Px_PLSCRAMB_ROOT1_FIELD	0
1431 #define STV090x_WIDTH_Px_PLSCRAMB_ROOT1_FIELD	8
1432 
1433 #define STV090x_Px_PLROOT0(__x)			(0xf4ae - (__x - 1) * 0x200)
1434 #define STV090x_P1_PLROOT0			STV090x_Px_PLROOT0(1)
1435 #define STV090x_P2_PLROOT0			STV090x_Px_PLROOT0(2)
1436 #define STV090x_OFFST_Px_PLSCRAMB_ROOT0_FIELD	0
1437 #define STV090x_WIDTH_Px_PLSCRAMB_ROOT0_FIELD	8
1438 
1439 #define STV090x_Px_MODCODLST0(__x)		(0xf4b0 - (__x - 1) * 0x200) /* check */
1440 #define STV090x_P1_MODCODLST0			STV090x_Px_MODCODLST0(1)
1441 #define STV090x_P2_MODCODLST0			STV090x_Px_MODCODLST0(2)
1442 
1443 #define STV090x_Px_MODCODLST1(__x)		(0xf4b1 - (__x - 1) * 0x200)
1444 #define STV090x_P1_MODCODLST1			STV090x_Px_MODCODLST1(1)
1445 #define STV090x_P2_MODCODLST1			STV090x_Px_MODCODLST1(2)
1446 #define STV090x_OFFST_Px_DIS_MODCOD29_FIELD	4
1447 #define STV090x_WIDTH_Px_DIS_MODCOD29_FIELD	4
1448 #define STV090x_OFFST_Px_DIS_32PSK_9_10_FIELD	0
1449 #define STV090x_WIDTH_Px_DIS_32PSK_9_10_FIELD	4
1450 
1451 #define STV090x_Px_MODCODLST2(__x)		(0xf4b2 - (__x - 1) * 0x200)
1452 #define STV090x_P1_MODCODLST2			STV090x_Px_MODCODLST2(1)
1453 #define STV090x_P2_MODCODLST2			STV090x_Px_MODCODLST2(2)
1454 #define STV090x_OFFST_Px_DIS_32PSK_8_9_FIELD	4
1455 #define STV090x_WIDTH_Px_DIS_32PSK_8_9_FIELD	4
1456 #define STV090x_OFFST_Px_DIS_32PSK_5_6_FIELD	0
1457 #define STV090x_WIDTH_Px_DIS_32PSK_5_6_FIELD	4
1458 
1459 #define STV090x_Px_MODCODLST3(__x)		(0xf4b3 - (__x - 1) * 0x200)
1460 #define STV090x_P1_MODCODLST3			STV090x_Px_MODCODLST3(1)
1461 #define STV090x_P2_MODCODLST3			STV090x_Px_MODCODLST3(2)
1462 #define STV090x_OFFST_Px_DIS_32PSK_4_5_FIELD	4
1463 #define STV090x_WIDTH_Px_DIS_32PSK_4_5_FIELD	4
1464 #define STV090x_OFFST_Px_DIS_32PSK_3_4_FIELD	0
1465 #define STV090x_WIDTH_Px_DIS_32PSK_3_4_FIELD	4
1466 
1467 #define STV090x_Px_MODCODLST4(__x)		(0xf4b4 - (__x - 1) * 0x200)
1468 #define STV090x_P1_MODCODLST4			STV090x_Px_MODCODLST4(1)
1469 #define STV090x_P2_MODCODLST4			STV090x_Px_MODCODLST4(2)
1470 #define STV090x_OFFST_Px_DIS_16PSK_9_10_FIELD	4
1471 #define STV090x_WIDTH_Px_DIS_16PSK_9_10_FIELD	4
1472 #define STV090x_OFFST_Px_DIS_16PSK_8_9_FIELD	0
1473 #define STV090x_WIDTH_Px_DIS_16PSK_8_9_FIELD	4
1474 
1475 #define STV090x_Px_MODCODLST5(__x)		(0xf4b5 - (__x - 1) * 0x200)
1476 #define STV090x_P1_MODCODLST5			STV090x_Px_MODCODLST5(1)
1477 #define STV090x_P2_MODCODLST5			STV090x_Px_MODCODLST5(2)
1478 #define STV090x_OFFST_Px_DIS_16PSK_5_6_FIELD	4
1479 #define STV090x_WIDTH_Px_DIS_16PSK_5_6_FIELD	4
1480 #define STV090x_OFFST_Px_DIS_16PSK_4_5_FIELD	0
1481 #define STV090x_WIDTH_Px_DIS_16PSK_4_5_FIELD	4
1482 
1483 #define STV090x_Px_MODCODLST6(__x)		(0xf4b6 - (__x - 1) * 0x200)
1484 #define STV090x_P1_MODCODLST6			STV090x_Px_MODCODLST6(1)
1485 #define STV090x_P2_MODCODLST6			STV090x_Px_MODCODLST6(2)
1486 #define STV090x_OFFST_Px_DIS_16PSK_3_4_FIELD	4
1487 #define STV090x_WIDTH_Px_DIS_16PSK_3_4_FIELD	4
1488 #define STV090x_OFFST_Px_DIS_16PSK_2_3_FIELD	0
1489 #define STV090x_WIDTH_Px_DIS_16PSK_2_3_FIELD	4
1490 
1491 #define STV090x_Px_MODCODLST7(__x)		(0xf4b7 - (__x - 1) * 0x200)
1492 #define STV090x_P1_MODCODLST7			STV090x_Px_MODCODLST7(1)
1493 #define STV090x_P2_MODCODLST7			STV090x_Px_MODCODLST7(2)
1494 #define STV090x_OFFST_Px_DIS_8P_9_10_FIELD	4
1495 #define STV090x_WIDTH_Px_DIS_8P_9_10_FIELD	4
1496 #define STV090x_OFFST_Px_DIS_8P_8_9_FIELD	0
1497 #define STV090x_WIDTH_Px_DIS_8P_8_9_FIELD	4
1498 
1499 #define STV090x_Px_MODCODLST8(__x)		(0xf4b8 - (__x - 1) * 0x200)
1500 #define STV090x_P1_MODCODLST8			STV090x_Px_MODCODLST8(1)
1501 #define STV090x_P2_MODCODLST8			STV090x_Px_MODCODLST8(2)
1502 #define STV090x_OFFST_Px_DIS_8P_5_6_FIELD	4
1503 #define STV090x_WIDTH_Px_DIS_8P_5_6_FIELD	4
1504 #define STV090x_OFFST_Px_DIS_8P_3_4_FIELD	0
1505 #define STV090x_WIDTH_Px_DIS_8P_3_4_FIELD	4
1506 
1507 #define STV090x_Px_MODCODLST9(__x)		(0xf4b9 - (__x - 1) * 0x200)
1508 #define STV090x_P1_MODCODLST9			STV090x_Px_MODCODLST9(1)
1509 #define STV090x_P2_MODCODLST9			STV090x_Px_MODCODLST9(2)
1510 #define STV090x_OFFST_Px_DIS_8P_2_3_FIELD	4
1511 #define STV090x_WIDTH_Px_DIS_8P_2_3_FIELD	4
1512 #define STV090x_OFFST_Px_DIS_8P_3_5_FIELD	0
1513 #define STV090x_WIDTH_Px_DIS_8P_3_5_FIELD	4
1514 
1515 #define STV090x_Px_MODCODLSTA(__x)		(0xf4ba - (__x - 1) * 0x200)
1516 #define STV090x_P1_MODCODLSTA			STV090x_Px_MODCODLSTA(1)
1517 #define STV090x_P2_MODCODLSTA			STV090x_Px_MODCODLSTA(2)
1518 #define STV090x_OFFST_Px_DIS_QP_9_10_FIELD	4
1519 #define STV090x_WIDTH_Px_DIS_QP_9_10_FIELD	4
1520 #define STV090x_OFFST_Px_DIS_QP_8_9_FIELD	0
1521 #define STV090x_WIDTH_Px_DIS_QP_8_9_FIELD	4
1522 
1523 #define STV090x_Px_MODCODLSTB(__x)		(0xf4bb - (__x - 1) * 0x200)
1524 #define STV090x_P1_MODCODLSTB			STV090x_Px_MODCODLSTB(1)
1525 #define STV090x_P2_MODCODLSTB			STV090x_Px_MODCODLSTB(2)
1526 #define STV090x_OFFST_Px_DIS_QP_5_6_FIELD	4
1527 #define STV090x_WIDTH_Px_DIS_QP_5_6_FIELD	4
1528 #define STV090x_OFFST_Px_DIS_QP_4_5_FIELD	0
1529 #define STV090x_WIDTH_Px_DIS_QP_4_5_FIELD	4
1530 
1531 #define STV090x_Px_MODCODLSTC(__x)		(0xf4bc - (__x - 1) * 0x200)
1532 #define STV090x_P1_MODCODLSTC			STV090x_Px_MODCODLSTC(1)
1533 #define STV090x_P2_MODCODLSTC			STV090x_Px_MODCODLSTC(2)
1534 #define STV090x_OFFST_Px_DIS_QP_3_4_FIELD	4
1535 #define STV090x_WIDTH_Px_DIS_QP_3_4_FIELD	4
1536 #define STV090x_OFFST_Px_DIS_QP_2_3_FIELD	0
1537 #define STV090x_WIDTH_Px_DIS_QP_2_3_FIELD	4
1538 
1539 #define STV090x_Px_MODCODLSTD(__x)		(0xf4bd - (__x - 1) * 0x200)
1540 #define STV090x_P1_MODCODLSTD			STV090x_Px_MODCODLSTD(1)
1541 #define STV090x_P2_MODCODLSTD			STV090x_Px_MODCODLSTD(2)
1542 #define STV090x_OFFST_Px_DIS_QP_3_5_FIELD	4
1543 #define STV090x_WIDTH_Px_DIS_QP_3_5_FIELD	4
1544 #define STV090x_OFFST_Px_DIS_QP_1_2_FIELD	0
1545 #define STV090x_WIDTH_Px_DIS_QP_1_2_FIELD	4
1546 
1547 #define STV090x_Px_MODCODLSTE(__x)		(0xf4be - (__x - 1) * 0x200)
1548 #define STV090x_P1_MODCODLSTE			STV090x_Px_MODCODLSTE(1)
1549 #define STV090x_P2_MODCODLSTE			STV090x_Px_MODCODLSTE(2)
1550 #define STV090x_OFFST_Px_DIS_QP_2_5_FIELD	4
1551 #define STV090x_WIDTH_Px_DIS_QP_2_5_FIELD	4
1552 #define STV090x_OFFST_Px_DIS_QP_1_3_FIELD	0
1553 #define STV090x_WIDTH_Px_DIS_QP_1_3_FIELD	4
1554 
1555 #define STV090x_Px_MODCODLSTF(__x)		(0xf4bf - (__x - 1) * 0x200)
1556 #define STV090x_P1_MODCODLSTF			STV090x_Px_MODCODLSTF(1)
1557 #define STV090x_P2_MODCODLSTF			STV090x_Px_MODCODLSTF(2)
1558 #define STV090x_OFFST_Px_DIS_QP_1_4_FIELD	4
1559 #define STV090x_WIDTH_Px_DIS_QP_1_4_FIELD	4
1560 
1561 #define STV090x_Px_GAUSSR0(__x)			(0xf4c0 - (__x - 1) * 0x200)
1562 #define STV090x_P1_GAUSSR0			STV090x_Px_GAUSSR0(1)
1563 #define STV090x_P2_GAUSSR0			STV090x_Px_GAUSSR0(2)
1564 #define STV090x_OFFST_Px_EN_CCIMODE_FIELD	7
1565 #define STV090x_WIDTH_Px_EN_CCIMODE_FIELD	1
1566 #define STV090x_OFFST_Px_R0_GAUSSIEN_FIELD	0
1567 #define STV090x_WIDTH_Px_R0_GAUSSIEN_FIELD	7
1568 
1569 #define STV090x_Px_CCIR0(__x)			(0xf4c1 - (__x - 1) * 0x200)
1570 #define STV090x_P1_CCIR0			STV090x_Px_CCIR0(1)
1571 #define STV090x_P2_CCIR0			STV090x_Px_CCIR0(2)
1572 #define STV090x_OFFST_Px_CCIDETECT_PLH_FIELD	7
1573 #define STV090x_WIDTH_Px_CCIDETECT_PLH_FIELD	1
1574 #define STV090x_OFFST_Px_R0_CCI_FIELD		0
1575 #define STV090x_WIDTH_Px_R0_CCI_FIELD		7
1576 
1577 #define STV090x_Px_CCIQUANT(__x)		(0xf4c2 - (__x - 1) * 0x200)
1578 #define STV090x_P1_CCIQUANT			STV090x_Px_CCIQUANT(1)
1579 #define STV090x_P2_CCIQUANT			STV090x_Px_CCIQUANT(2)
1580 #define STV090x_OFFST_Px_CCI_BETA_FIELD		5
1581 #define STV090x_WIDTH_Px_CCI_BETA_FIELD		3
1582 #define STV090x_OFFST_Px_CCI_QUANT_FIELD	0
1583 #define STV090x_WIDTH_Px_CCI_QUANT_FIELD	5
1584 
1585 #define STV090x_Px_CCITHRESH(__x)		(0xf4c3 - (__x - 1) * 0x200)
1586 #define STV090x_P1_CCITHRESH			STV090x_Px_CCITHRESH(1)
1587 #define STV090x_P2_CCITHRESH			STV090x_Px_CCITHRESH(2)
1588 #define STV090x_OFFST_Px_CCI_THRESHOLD_FIELD	0
1589 #define STV090x_WIDTH_Px_CCI_THRESHOLD_FIELD	8
1590 
1591 #define STV090x_Px_CCIACC(__x)			(0xf4c4 - (__x - 1) * 0x200)
1592 #define STV090x_P1_CCIACC			STV090x_Px_CCIACC(1)
1593 #define STV090x_P2_CCIACC			STV090x_Px_CCIACC(2)
1594 #define STV090x_OFFST_Px_CCI_VALUE_FIELD	0
1595 #define STV090x_WIDTH_Px_CCI_VALUE_FIELD	8
1596 
1597 #define STV090x_Px_DMDRESCFG(__x)		(0xF4C6 - (__x - 1) * 0x200)
1598 #define STV090x_P1_DMDRESCFG			STV090x_Px_DMDRESCFG(1)
1599 #define STV090x_P2_DMDRESCFG			STV090x_Px_DMDRESCFG(2)
1600 #define STV090x_OFFST_Px_DMDRES_RESET_FIELD	7
1601 #define STV090x_WIDTH_Px_DMDRES_RESET_FIELD	1
1602 
1603 #define STV090x_Px_DMDRESADR(__x)		(0xF4C7 - (__x - 1) * 0x200)
1604 #define STV090x_P1_DMDRESADR			STV090x_Px_DMDRESADR(1)
1605 #define STV090x_P2_DMDRESADR			STV090x_Px_DMDRESADR(2)
1606 #define STV090x_OFFST_Px_DMDRES_RESNBR_FIELD	0
1607 #define STV090x_WIDTH_Px_DMDRES_RESNBR_FIELD	4
1608 
1609 #define STV090x_Px_DMDRESDATAy(__x, __y)	(0xF4C8 - (__x - 1) * 0x200 + (7 - __y))
1610 #define STV090x_P1_DMDRESDATA0			STV090x_Px_DMDRESDATAy(1, 0)
1611 #define STV090x_P1_DMDRESDATA1			STV090x_Px_DMDRESDATAy(1, 1)
1612 #define STV090x_P1_DMDRESDATA2			STV090x_Px_DMDRESDATAy(1, 2)
1613 #define STV090x_P1_DMDRESDATA3			STV090x_Px_DMDRESDATAy(1, 3)
1614 #define STV090x_P1_DMDRESDATA4			STV090x_Px_DMDRESDATAy(1, 4)
1615 #define STV090x_P1_DMDRESDATA5			STV090x_Px_DMDRESDATAy(1, 5)
1616 #define STV090x_P1_DMDRESDATA6			STV090x_Px_DMDRESDATAy(1, 6)
1617 #define STV090x_P1_DMDRESDATA7			STV090x_Px_DMDRESDATAy(1, 7)
1618 #define STV090x_P2_DMDRESDATA0			STV090x_Px_DMDRESDATAy(2, 0)
1619 #define STV090x_P2_DMDRESDATA1			STV090x_Px_DMDRESDATAy(2, 1)
1620 #define STV090x_P2_DMDRESDATA2			STV090x_Px_DMDRESDATAy(2, 2)
1621 #define STV090x_P2_DMDRESDATA3			STV090x_Px_DMDRESDATAy(2, 3)
1622 #define STV090x_P2_DMDRESDATA4			STV090x_Px_DMDRESDATAy(2, 4)
1623 #define STV090x_P2_DMDRESDATA5			STV090x_Px_DMDRESDATAy(2, 5)
1624 #define STV090x_P2_DMDRESDATA6			STV090x_Px_DMDRESDATAy(2, 6)
1625 #define STV090x_P2_DMDRESDATA7			STV090x_Px_DMDRESDATAy(2, 7)
1626 #define STV090x_OFFST_Px_DMDRES_DATA_FIELD	0
1627 #define STV090x_WIDTH_Px_DMDRES_DATA_FIELD	8
1628 
1629 #define STV090x_Px_FFEIy(__x, __y)		(0xf4d0 - (__x - 1) * 0x200 + 0x2 * (__y - 1))
1630 #define STV090x_P1_FFEI1			STV090x_Px_FFEIy(1, 1)
1631 #define STV090x_P1_FFEI2			STV090x_Px_FFEIy(1, 2)
1632 #define STV090x_P1_FFEI3			STV090x_Px_FFEIy(1, 3)
1633 #define STV090x_P1_FFEI4			STV090x_Px_FFEIy(1, 4)
1634 #define STV090x_P2_FFEI1			STV090x_Px_FFEIy(2, 1)
1635 #define STV090x_P2_FFEI2			STV090x_Px_FFEIy(2, 2)
1636 #define STV090x_P2_FFEI3			STV090x_Px_FFEIy(2, 3)
1637 #define STV090x_P2_FFEI4			STV090x_Px_FFEIy(2, 4)
1638 #define STV090x_OFFST_Px_FFE_ACCIy_FIELD	0
1639 #define STV090x_WIDTH_Px_FFE_ACCIy_FIELD	8
1640 
1641 #define STV090x_Px_FFEQy(__x, __y)		(0xf4d1 - (__x - 1) * 0x200 + 0x2 * (__y - 1))
1642 #define STV090x_P1_FFEQ1			STV090x_Px_FFEQy(1, 1)
1643 #define STV090x_P1_FFEQ2			STV090x_Px_FFEQy(1, 2)
1644 #define STV090x_P1_FFEQ3			STV090x_Px_FFEQy(1, 3)
1645 #define STV090x_P1_FFEQ4			STV090x_Px_FFEQy(1, 4)
1646 #define STV090x_P2_FFEQ1			STV090x_Px_FFEQy(2, 1)
1647 #define STV090x_P2_FFEQ2			STV090x_Px_FFEQy(2, 2)
1648 #define STV090x_P2_FFEQ3			STV090x_Px_FFEQy(2, 3)
1649 #define STV090x_P2_FFEQ4			STV090x_Px_FFEQy(2, 4)
1650 #define STV090x_OFFST_Px_FFE_ACCQy_FIELD	0
1651 #define STV090x_WIDTH_Px_FFE_ACCQy_FIELD	8
1652 
1653 #define STV090x_Px_FFECFG(__x)			(0xf4d8 - (__x - 1) * 0x200)
1654 #define STV090x_P1_FFECFG			STV090x_Px_FFECFG(1)
1655 #define STV090x_P2_FFECFG			STV090x_Px_FFECFG(2)
1656 #define STV090x_OFFST_Px_EQUALFFE_ON_FIELD	6
1657 #define STV090x_WIDTH_Px_EQUALFFE_ON_FIELD	1
1658 
1659 #define STV090x_Px_SMAPCOEF7(__x)		(0xf500 - (__x - 1) * 0x200)
1660 #define STV090x_P1_SMAPCOEF7			STV090x_Px_SMAPCOEF7(1)
1661 #define STV090x_P2_SMAPCOEF7			STV090x_Px_SMAPCOEF7(2)
1662 #define STV090x_OFFST_Px_DIS_QSCALE_FIELD	7
1663 #define STV090x_WIDTH_Px_DIS_QSCALE_FIELD	1
1664 #define STV090x_OFFST_Px_SMAPCOEF_Q_LLR12_FIELD	0
1665 #define STV090x_WIDTH_Px_SMAPCOEF_Q_LLR12_FIELD	7
1666 
1667 #define STV090x_Px_SMAPCOEF6(__x)		(0xf501 - (__x - 1) * 0x200)
1668 #define STV090x_P1_SMAPCOEF6			STV090x_Px_SMAPCOEF6(1)
1669 #define STV090x_P2_SMAPCOEF6			STV090x_Px_SMAPCOEF6(2)
1670 #define STV090x_OFFST_Px_ADJ_8PSKLLR1_FIELD	2
1671 #define STV090x_WIDTH_Px_ADJ_8PSKLLR1_FIELD	1
1672 #define STV090x_OFFST_Px_OLD_8PSKLLR1_FIELD	1
1673 #define STV090x_WIDTH_Px_OLD_8PSKLLR1_FIELD	1
1674 #define STV090x_OFFST_Px_DIS_AB8PSK_FIELD	0
1675 #define STV090x_WIDTH_Px_DIS_AB8PSK_FIELD	1
1676 
1677 #define STV090x_Px_SMAPCOEF5(__x)			(0xf502 - (__x - 1) * 0x200)
1678 #define STV090x_P1_SMAPCOEF5				STV090x_Px_SMAPCOEF5(1)
1679 #define STV090x_P2_SMAPCOEF5				STV090x_Px_SMAPCOEF5(2)
1680 #define STV090x_OFFST_Px_DIS_8SCALE_FIELD		7
1681 #define STV090x_WIDTH_Px_DIS_8SCALE_FIELD		1
1682 #define STV090x_OFFST_Px_SMAPCOEF_8P_LLR23_FIELD	0
1683 #define STV090x_WIDTH_Px_SMAPCOEF_8P_LLR23_FIELD	7
1684 
1685 #define STV090x_Px_DMDPLHSTAT(__x)		(0xF520 - (__x - 1) * 0x200)
1686 #define STV090x_P1_DMDPLHSTAT			STV090x_Px_DMDPLHSTAT(1)
1687 #define STV090x_P2_DMDPLHSTAT			STV090x_Px_DMDPLHSTAT(2)
1688 #define STV090x_OFFST_Px_PLH_STATISTIC_FIELD	0
1689 #define STV090x_WIDTH_Px_PLH_STATISTIC_FIELD	8
1690 
1691 #define STV090x_Px_LOCKTIMEy(__x, __y)		(0xF525 - (__x - 1) * 0x200 - __y * 0x1)
1692 #define STV090x_P1_LOCKTIME0			STV090x_Px_LOCKTIMEy(1, 0)
1693 #define STV090x_P1_LOCKTIME1			STV090x_Px_LOCKTIMEy(1, 1)
1694 #define STV090x_P1_LOCKTIME2			STV090x_Px_LOCKTIMEy(1, 2)
1695 #define STV090x_P1_LOCKTIME3			STV090x_Px_LOCKTIMEy(1, 3)
1696 #define STV090x_P2_LOCKTIME0			STV090x_Px_LOCKTIMEy(2, 0)
1697 #define STV090x_P2_LOCKTIME1			STV090x_Px_LOCKTIMEy(2, 1)
1698 #define STV090x_P2_LOCKTIME2			STV090x_Px_LOCKTIMEy(2, 2)
1699 #define STV090x_P2_LOCKTIME3			STV090x_Px_LOCKTIMEy(2, 3)
1700 #define STV090x_OFFST_Px_DEMOD_LOCKTIME_FIELD	0
1701 #define STV090x_WIDTH_Px_DEMOD_LOCKTIME_FIELD	8
1702 
1703 #define STV090x_Px_TNRCFG(__x)			(0xf4e0 - (__x - 1) * 0x200) /* check */
1704 #define STV090x_P1_TNRCFG			STV090x_Px_TNRCFG(1)
1705 #define STV090x_P2_TNRCFG			STV090x_Px_TNRCFG(2)
1706 
1707 #define STV090x_Px_TNRCFG2(__x)			(0xf4e1 - (__x - 1) * 0x200)
1708 #define STV090x_P1_TNRCFG2			STV090x_Px_TNRCFG2(1)
1709 #define STV090x_P2_TNRCFG2			STV090x_Px_TNRCFG2(2)
1710 #define STV090x_OFFST_Px_TUN_IQSWAP_FIELD	7
1711 #define STV090x_WIDTH_Px_TUN_IQSWAP_FIELD	1
1712 
1713 #define STV090x_Px_VITSCALE(__x)		(0xf532 - (__x - 1) * 0x200)
1714 #define STV090x_P1_VITSCALE			STV090x_Px_VITSCALE(1)
1715 #define STV090x_P2_VITSCALE			STV090x_Px_VITSCALE(2)
1716 #define STV090x_OFFST_Px_NVTH_NOSRANGE_FIELD	7
1717 #define STV090x_WIDTH_Px_NVTH_NOSRANGE_FIELD	1
1718 #define STV090x_OFFST_Px_VERROR_MAXMODE_FIELD	6
1719 #define STV090x_WIDTH_Px_VERROR_MAXMODE_FIELD	1
1720 #define STV090x_OFFST_Px_NSLOWSN_LOCKED_FIELD	3
1721 #define STV090x_WIDTH_Px_NSLOWSN_LOCKED_FIELD	1
1722 #define STV090x_OFFST_Px_DIS_RSFLOCK_FIELD	1
1723 #define STV090x_WIDTH_Px_DIS_RSFLOCK_FIELD	1
1724 
1725 #define STV090x_Px_FECM(__x)			(0xf533 - (__x - 1) * 0x200)
1726 #define STV090x_P1_FECM				STV090x_Px_FECM(1)
1727 #define STV090x_P2_FECM				STV090x_Px_FECM(2)
1728 #define STV090x_OFFST_Px_DSS_DVB_FIELD		7
1729 #define STV090x_WIDTH_Px_DSS_DVB_FIELD		1
1730 #define STV090x_OFFST_Px_DSS_SRCH_FIELD		4
1731 #define STV090x_WIDTH_Px_DSS_SRCH_FIELD		1
1732 #define STV090x_OFFST_Px_SYNCVIT_FIELD		1
1733 #define STV090x_WIDTH_Px_SYNCVIT_FIELD		1
1734 #define STV090x_OFFST_Px_IQINV_FIELD		0
1735 #define STV090x_WIDTH_Px_IQINV_FIELD		1
1736 
1737 #define STV090x_Px_VTH12(__x)			(0xf534 - (__x - 1) * 0x200)
1738 #define STV090x_P1_VTH12			STV090x_Px_VTH12(1)
1739 #define STV090x_P2_VTH12			STV090x_Px_VTH12(2)
1740 #define STV090x_OFFST_Px_VTH12_FIELD		0
1741 #define STV090x_WIDTH_Px_VTH12_FIELD		8
1742 
1743 #define STV090x_Px_VTH23(__x)			(0xf535 - (__x - 1) * 0x200)
1744 #define STV090x_P1_VTH23			STV090x_Px_VTH23(1)
1745 #define STV090x_P2_VTH23			STV090x_Px_VTH23(2)
1746 #define STV090x_OFFST_Px_VTH23_FIELD		0
1747 #define STV090x_WIDTH_Px_VTH23_FIELD		8
1748 
1749 #define STV090x_Px_VTH34(__x)			(0xf536 - (__x - 1) * 0x200)
1750 #define STV090x_P1_VTH34			STV090x_Px_VTH34(1)
1751 #define STV090x_P2_VTH34			STV090x_Px_VTH34(2)
1752 #define STV090x_OFFST_Px_VTH34_FIELD		0
1753 #define STV090x_WIDTH_Px_VTH34_FIELD		8
1754 
1755 #define STV090x_Px_VTH56(__x)			(0xf537 - (__x - 1) * 0x200)
1756 #define STV090x_P1_VTH56			STV090x_Px_VTH56(1)
1757 #define STV090x_P2_VTH56			STV090x_Px_VTH56(2)
1758 #define STV090x_OFFST_Px_VTH56_FIELD		0
1759 #define STV090x_WIDTH_Px_VTH56_FIELD		8
1760 
1761 #define STV090x_Px_VTH67(__x)			(0xf538 - (__x - 1) * 0x200)
1762 #define STV090x_P1_VTH67			STV090x_Px_VTH67(1)
1763 #define STV090x_P2_VTH67			STV090x_Px_VTH67(2)
1764 #define STV090x_OFFST_Px_VTH67_FIELD		0
1765 #define STV090x_WIDTH_Px_VTH67_FIELD		8
1766 
1767 #define STV090x_Px_VTH78(__x)			(0xf539 - (__x - 1) * 0x200)
1768 #define STV090x_P1_VTH78			STV090x_Px_VTH78(1)
1769 #define STV090x_P2_VTH78			STV090x_Px_VTH78(2)
1770 #define STV090x_OFFST_Px_VTH78_FIELD		0
1771 #define STV090x_WIDTH_Px_VTH78_FIELD		8
1772 
1773 #define STV090x_Px_VITCURPUN(__x)		(0xf53a - (__x - 1) * 0x200)
1774 #define STV090x_P1_VITCURPUN			STV090x_Px_VITCURPUN(1)
1775 #define STV090x_P2_VITCURPUN			STV090x_Px_VITCURPUN(2)
1776 #define STV090x_OFFST_Px_VIT_CURPUN_FIELD	0
1777 #define STV090x_WIDTH_Px_VIT_CURPUN_FIELD	5
1778 
1779 #define STV090x_Px_VERROR(__x)			(0xf53b - (__x - 1) * 0x200)
1780 #define STV090x_P1_VERROR			STV090x_Px_VERROR(1)
1781 #define STV090x_P2_VERROR			STV090x_Px_VERROR(2)
1782 #define STV090x_OFFST_Px_REGERR_VIT_FIELD	0
1783 #define STV090x_WIDTH_Px_REGERR_VIT_FIELD	8
1784 
1785 #define STV090x_Px_PRVIT(__x)			(0xf53c - (__x - 1) * 0x200)
1786 #define STV090x_P1_PRVIT			STV090x_Px_PRVIT(1)
1787 #define STV090x_P2_PRVIT			STV090x_Px_PRVIT(2)
1788 #define STV090x_OFFST_Px_DIS_VTHLOCK_FIELD	6
1789 #define STV090x_WIDTH_Px_DIS_VTHLOCK_FIELD	1
1790 #define STV090x_OFFST_Px_E7_8VIT_FIELD		5
1791 #define STV090x_WIDTH_Px_E7_8VIT_FIELD		1
1792 #define STV090x_OFFST_Px_E6_7VIT_FIELD		4
1793 #define STV090x_WIDTH_Px_E6_7VIT_FIELD		1
1794 #define STV090x_OFFST_Px_E5_6VIT_FIELD		3
1795 #define STV090x_WIDTH_Px_E5_6VIT_FIELD		1
1796 #define STV090x_OFFST_Px_E3_4VIT_FIELD		2
1797 #define STV090x_WIDTH_Px_E3_4VIT_FIELD		1
1798 #define STV090x_OFFST_Px_E2_3VIT_FIELD		1
1799 #define STV090x_WIDTH_Px_E2_3VIT_FIELD		1
1800 #define STV090x_OFFST_Px_E1_2VIT_FIELD		0
1801 #define STV090x_WIDTH_Px_E1_2VIT_FIELD		1
1802 
1803 #define STV090x_Px_VAVSRVIT(__x)		(0xf53d - (__x - 1) * 0x200)
1804 #define STV090x_P1_VAVSRVIT			STV090x_Px_VAVSRVIT(1)
1805 #define STV090x_P2_VAVSRVIT			STV090x_Px_VAVSRVIT(2)
1806 #define STV090x_OFFST_Px_SNVIT_FIELD		4
1807 #define STV090x_WIDTH_Px_SNVIT_FIELD		2
1808 #define STV090x_OFFST_Px_TOVVIT_FIELD		2
1809 #define STV090x_WIDTH_Px_TOVVIT_FIELD		2
1810 #define STV090x_OFFST_Px_HYPVIT_FIELD		0
1811 #define STV090x_WIDTH_Px_HYPVIT_FIELD		2
1812 
1813 #define STV090x_Px_VSTATUSVIT(__x)		(0xf53e - (__x - 1) * 0x200)
1814 #define STV090x_P1_VSTATUSVIT			STV090x_Px_VSTATUSVIT(1)
1815 #define STV090x_P2_VSTATUSVIT			STV090x_Px_VSTATUSVIT(2)
1816 #define STV090x_OFFST_Px_PRFVIT_FIELD		4
1817 #define STV090x_WIDTH_Px_PRFVIT_FIELD		1
1818 #define STV090x_OFFST_Px_LOCKEDVIT_FIELD	3
1819 #define STV090x_WIDTH_Px_LOCKEDVIT_FIELD	1
1820 
1821 #define STV090x_Px_VTHINUSE(__x)		(0xf53f - (__x - 1) * 0x200)
1822 #define STV090x_P1_VTHINUSE			STV090x_Px_VTHINUSE(1)
1823 #define STV090x_P2_VTHINUSE			STV090x_Px_VTHINUSE(2)
1824 #define STV090x_OFFST_Px_VIT_INUSE_FIELD	0
1825 #define STV090x_WIDTH_Px_VIT_INUSE_FIELD	8
1826 
1827 #define STV090x_Px_KDIV12(__x)			(0xf540 - (__x - 1) * 0x200)
1828 #define STV090x_P1_KDIV12			STV090x_Px_KDIV12(1)
1829 #define STV090x_P2_KDIV12			STV090x_Px_KDIV12(2)
1830 #define STV090x_OFFST_Px_K_DIVIDER_12_FIELD	0
1831 #define STV090x_WIDTH_Px_K_DIVIDER_12_FIELD	7
1832 
1833 #define STV090x_Px_KDIV23(__x)			(0xf541 - (__x - 1) * 0x200)
1834 #define STV090x_P1_KDIV23			STV090x_Px_KDIV23(1)
1835 #define STV090x_P2_KDIV23			STV090x_Px_KDIV23(2)
1836 #define STV090x_OFFST_Px_K_DIVIDER_23_FIELD	0
1837 #define STV090x_WIDTH_Px_K_DIVIDER_23_FIELD	7
1838 
1839 #define STV090x_Px_KDIV34(__x)			(0xf542 - (__x - 1) * 0x200)
1840 #define STV090x_P1_KDIV34			STV090x_Px_KDIV34(1)
1841 #define STV090x_P2_KDIV34			STV090x_Px_KDIV34(2)
1842 #define STV090x_OFFST_Px_K_DIVIDER_34_FIELD	0
1843 #define STV090x_WIDTH_Px_K_DIVIDER_34_FIELD	7
1844 
1845 #define STV090x_Px_KDIV56(__x)			(0xf543 - (__x - 1) * 0x200)
1846 #define STV090x_P1_KDIV56			STV090x_Px_KDIV56(1)
1847 #define STV090x_P2_KDIV56			STV090x_Px_KDIV56(2)
1848 #define STV090x_OFFST_Px_K_DIVIDER_56_FIELD	0
1849 #define STV090x_WIDTH_Px_K_DIVIDER_56_FIELD	7
1850 
1851 #define STV090x_Px_KDIV67(__x)			(0xf544 - (__x - 1) * 0x200)
1852 #define STV090x_P1_KDIV67			STV090x_Px_KDIV67(1)
1853 #define STV090x_P2_KDIV67			STV090x_Px_KDIV67(2)
1854 #define STV090x_OFFST_Px_K_DIVIDER_67_FIELD	0
1855 #define STV090x_WIDTH_Px_K_DIVIDER_67_FIELD	7
1856 
1857 #define STV090x_Px_KDIV78(__x)			(0xf545 - (__x - 1) * 0x200)
1858 #define STV090x_P1_KDIV78			STV090x_Px_KDIV78(1)
1859 #define STV090x_P2_KDIV78			STV090x_Px_KDIV78(2)
1860 #define STV090x_OFFST_Px_K_DIVIDER_78_FIELD	0
1861 #define STV090x_WIDTH_Px_K_DIVIDER_78_FIELD	7
1862 
1863 #define STV090x_Px_PDELCTRL1(__x)		(0xf550 - (__x - 1) * 0x200)
1864 #define STV090x_P1_PDELCTRL1			STV090x_Px_PDELCTRL1(1)
1865 #define STV090x_P2_PDELCTRL1			STV090x_Px_PDELCTRL1(2)
1866 #define STV090x_OFFST_Px_INV_MISMASK_FIELD	7
1867 #define STV090x_WIDTH_Px_INV_MISMASK_FIELD	1
1868 #define STV090x_OFFST_Px_FILTER_EN_FIELD	5
1869 #define STV090x_WIDTH_Px_FILTER_EN_FIELD	1
1870 #define STV090x_OFFST_Px_EN_MIS00_FIELD		1
1871 #define STV090x_WIDTH_Px_EN_MIS00_FIELD		1
1872 #define STV090x_OFFST_Px_ALGOSWRST_FIELD	0
1873 #define STV090x_WIDTH_Px_ALGOSWRST_FIELD	1
1874 
1875 #define STV090x_Px_PDELCTRL2(__x)		(0xf551 - (__x - 1) * 0x200)
1876 #define STV090x_P1_PDELCTRL2			STV090x_Px_PDELCTRL2(1)
1877 #define STV090x_P2_PDELCTRL2			STV090x_Px_PDELCTRL2(2)
1878 #define STV090x_OFFST_Px_FORCE_CONTINUOUS	7
1879 #define STV090x_WIDTH_Px_FORCE_CONTINUOUS	1
1880 #define STV090x_OFFST_Px_RESET_UPKO_COUNT	6
1881 #define STV090x_WIDTH_Px_RESET_UPKO_COUNT	1
1882 #define STV090x_OFFST_Px_USER_PKTDELIN_NB	5
1883 #define STV090x_WIDTH_Px_USER_PKTDELIN_NB	1
1884 #define STV090x_OFFST_Px_FORCE_LOCKED		4
1885 #define STV090x_WIDTH_Px_FORCE_LOCKED		1
1886 #define STV090x_OFFST_Px_DATA_UNBBSCRAM		3
1887 #define STV090x_WIDTH_Px_DATA_UNBBSCRAM		1
1888 #define STV090x_OFFST_Px_FORCE_LONGPACKET	2
1889 #define STV090x_WIDTH_Px_FORCE_LONGPACKET	1
1890 #define STV090x_OFFST_Px_FRAME_MODE_FIELD	1
1891 #define STV090x_WIDTH_Px_FRAME_MODE_FIELD	1
1892 
1893 #define STV090x_Px_HYSTTHRESH(__x)		(0xf554 - (__x - 1) * 0x200)
1894 #define STV090x_P1_HYSTTHRESH			STV090x_Px_HYSTTHRESH(1)
1895 #define STV090x_P2_HYSTTHRESH			STV090x_Px_HYSTTHRESH(2)
1896 #define STV090x_OFFST_Px_UNLCK_THRESH_FIELD	4
1897 #define STV090x_WIDTH_Px_UNLCK_THRESH_FIELD	4
1898 #define STV090x_OFFST_Px_DELIN_LCK_THRESH_FIELD	0
1899 #define STV090x_WIDTH_Px_DELIN_LCK_THRESH_FIELD	4
1900 
1901 #define STV090x_Px_ISIENTRY(__x)		(0xf55e - (__x - 1) * 0x200)
1902 #define STV090x_P1_ISIENTRY			STV090x_Px_ISIENTRY(1)
1903 #define STV090x_P2_ISIENTRY			STV090x_Px_ISIENTRY(2)
1904 #define STV090x_OFFST_Px_ISI_ENTRY_FIELD	0
1905 #define STV090x_WIDTH_Px_ISI_ENTRY_FIELD	8
1906 
1907 #define STV090x_Px_ISIBITENA(__x)		(0xf55f - (__x - 1) * 0x200)
1908 #define STV090x_P1_ISIBITENA			STV090x_Px_ISIBITENA(1)
1909 #define STV090x_P2_ISIBITENA			STV090x_Px_ISIBITENA(2)
1910 #define STV090x_OFFST_Px_ISI_BIT_EN_FIELD	0
1911 #define STV090x_WIDTH_Px_ISI_BIT_EN_FIELD	8
1912 
1913 #define STV090x_Px_MATSTRy(__x, __y)		(0xf561 - (__x - 1) * 0x200 - __y * 0x1)
1914 #define STV090x_P1_MATSTR0			STV090x_Px_MATSTRy(1, 0)
1915 #define STV090x_P1_MATSTR1			STV090x_Px_MATSTRy(1, 1)
1916 #define STV090x_P2_MATSTR0			STV090x_Px_MATSTRy(2, 0)
1917 #define STV090x_P2_MATSTR1			STV090x_Px_MATSTRy(2, 1)
1918 #define STV090x_OFFST_Px_MATYPE_CURRENT_FIELD	0
1919 #define STV090x_WIDTH_Px_MATYPE_CURRENT_FIELD	8
1920 
1921 #define STV090x_Px_UPLSTRy(__x, __y)		(0xf563 - (__x - 1) * 0x200 - __y * 0x1)
1922 #define STV090x_P1_UPLSTR0			STV090x_Px_UPLSTRy(1, 0)
1923 #define STV090x_P1_UPLSTR1			STV090x_Px_UPLSTRy(1, 1)
1924 #define STV090x_P2_UPLSTR0			STV090x_Px_UPLSTRy(2, 0)
1925 #define STV090x_P2_UPLSTR1			STV090x_Px_UPLSTRy(2, 1)
1926 #define STV090x_OFFST_Px_UPL_CURRENT_FIELD	0
1927 #define STV090x_WIDTH_Px_UPL_CURRENT_FIELD	8
1928 
1929 #define STV090x_Px_DFLSTRy(__x, __y)		(0xf565 - (__x - 1) * 0x200 - __y * 0x1)
1930 #define STV090x_P1_DFLSTR0			STV090x_Px_DFLSTRy(1, 0)
1931 #define STV090x_P1_DFLSTR1			STV090x_Px_DFLSTRy(1, 1)
1932 #define STV090x_P2_DFLSTR0			STV090x_Px_DFLSTRy(2, 0)
1933 #define STV090x_P2_DFLSTR1			STV090x_Px_DFLSTRy(2, 1)
1934 #define STV090x_OFFST_Px_DFL_CURRENT_FIELD	0
1935 #define STV090x_WIDTH_Px_DFL_CURRENT_FIELD	8
1936 
1937 #define STV090x_Px_SYNCSTR(__x)			(0xf566 - (__x - 1) * 0x200)
1938 #define STV090x_P1_SYNCSTR			STV090x_Px_SYNCSTR(1)
1939 #define STV090x_P2_SYNCSTR			STV090x_Px_SYNCSTR(2)
1940 #define STV090x_OFFST_Px_SYNC_CURRENT_FIELD	0
1941 #define STV090x_WIDTH_Px_SYNC_CURRENT_FIELD	8
1942 
1943 #define STV090x_Px_SYNCDSTRy(__x, __y)		(0xf568 - (__x - 1) * 0x200 - __y * 0x1)
1944 #define STV090x_P1_SYNCDSTR0			STV090x_Px_SYNCDSTRy(1, 0)
1945 #define STV090x_P1_SYNCDSTR1			STV090x_Px_SYNCDSTRy(1, 1)
1946 #define STV090x_P2_SYNCDSTR0			STV090x_Px_SYNCDSTRy(2, 0)
1947 #define STV090x_P2_SYNCDSTR1			STV090x_Px_SYNCDSTRy(2, 1)
1948 #define STV090x_OFFST_Px_SYNCD_CURRENT_FIELD	0
1949 #define STV090x_WIDTH_Px_SYNCD_CURRENT_FIELD	8
1950 
1951 #define STV090x_Px_PDELSTATUS1(__x)		(0xf569 - (__x - 1) * 0x200)
1952 #define STV090x_P1_PDELSTATUS1			STV090x_Px_PDELSTATUS1(1)
1953 #define STV090x_P2_PDELSTATUS1			STV090x_Px_PDELSTATUS1(2)
1954 #define STV090x_OFFST_Px_PKTDELIN_LOCK_FIELD	1
1955 #define STV090x_WIDTH_Px_PKTDELIN_LOCK_FIELD	1
1956 #define STV090x_OFFST_Px_FIRST_LOCK_FIELD	0
1957 #define STV090x_WIDTH_Px_FIRST_LOCK_FIELD	1
1958 
1959 #define STV090x_Px_PDELSTATUS2(__x)		(0xf56a - (__x - 1) * 0x200)
1960 #define STV090x_P1_PDELSTATUS2			STV090x_Px_PDELSTATUS2(1)
1961 #define STV090x_P2_PDELSTATUS2			STV090x_Px_PDELSTATUS2(2)
1962 #define STV090x_OFFST_Px_FRAME_MODCOD_FIELD	2
1963 #define STV090x_WIDTH_Px_FRAME_MODCOD_FIELD	5
1964 #define STV090x_OFFST_Px_FRAME_TYPE_FIELD	0
1965 #define STV090x_WIDTH_Px_FRAME_TYPE_FIELD	2
1966 
1967 #define STV090x_Px_BBFCRCKO1(__x)		(0xf56b - (__x - 1) * 0x200)
1968 #define STV090x_P1_BBFCRCKO1			STV090x_Px_BBFCRCKO1(1)
1969 #define STV090x_P2_BBFCRCKO1			STV090x_Px_BBFCRCKO1(2)
1970 #define STV090x_OFFST_Px_BBHCRC_KOCNT_FIELD	0
1971 #define STV090x_WIDTH_Px_BBHCRC_KOCNT_FIELD	8
1972 
1973 #define STV090x_Px_BBFCRCKO0(__x)		(0xf56c - (__x - 1) * 0x200)
1974 #define STV090x_P1_BBFCRCKO0			STV090x_Px_BBFCRCKO0(1)
1975 #define STV090x_P2_BBFCRCKO0			STV090x_Px_BBFCRCKO0(2)
1976 #define STV090x_OFFST_Px_BBHCRC_KOCNT_FIELD	0
1977 #define STV090x_WIDTH_Px_BBHCRC_KOCNT_FIELD	8
1978 
1979 #define STV090x_Px_UPCRCKO1(__x)		(0xf56d - (__x - 1) * 0x200)
1980 #define STV090x_P1_UPCRCKO1			STV090x_Px_UPCRCKO1(1)
1981 #define STV090x_P2_UPCRCKO1			STV090x_Px_UPCRCKO1(2)
1982 #define STV090x_OFFST_Px_PKTCRC_KOCNT_FIELD	0
1983 #define STV090x_WIDTH_Px_PKTCRC_KOCNT_FIELD	8
1984 
1985 #define STV090x_Px_UPCRCKO0(__x)		(0xf56e - (__x - 1) * 0x200)
1986 #define STV090x_P1_UPCRCKO0			STV090x_Px_UPCRCKO0(1)
1987 #define STV090x_P2_UPCRCKO0			STV090x_Px_UPCRCKO0(2)
1988 #define STV090x_OFFST_Px_PKTCRC_KOCNT_FIELD	0
1989 #define STV090x_WIDTH_Px_PKTCRC_KOCNT_FIELD	8
1990 
1991 #define STV090x_NBITER_NFx(__x)				(0xFA03 + (__x - 4) * 0x1)
1992 #define STV090x_NBITER_NF4				STV090x_NBITER_NFx(4)
1993 #define STV090x_NBITER_NF5				STV090x_NBITER_NFx(5)
1994 #define STV090x_NBITER_NF6				STV090x_NBITER_NFx(6)
1995 #define STV090x_NBITER_NF7				STV090x_NBITER_NFx(7)
1996 #define STV090x_NBITER_NF8				STV090x_NBITER_NFx(8)
1997 #define STV090x_NBITER_NF9				STV090x_NBITER_NFx(9)
1998 #define STV090x_NBITER_NF10				STV090x_NBITER_NFx(10)
1999 #define STV090x_NBITER_NF11				STV090x_NBITER_NFx(11)
2000 #define STV090x_NBITER_NF12				STV090x_NBITER_NFx(12)
2001 #define STV090x_NBITER_NF13				STV090x_NBITER_NFx(13)
2002 #define STV090x_NBITER_NF14				STV090x_NBITER_NFx(14)
2003 #define STV090x_NBITER_NF15				STV090x_NBITER_NFx(15)
2004 #define STV090x_NBITER_NF16				STV090x_NBITER_NFx(16)
2005 #define STV090x_NBITER_NF17				STV090x_NBITER_NFx(17)
2006 
2007 #define STV090x_NBITERNOERR				0xFA3F
2008 #define STV090x_OFFST_NBITER_STOP_CRIT_FIELD		0
2009 #define STV090x_WIDTH_NBITER_STOP_CRIT_FIELD		4
2010 
2011 #define STV090x_GAINLLR_NFx(__x)			(0xFA43 + (__x - 4) * 0x1)
2012 #define STV090x_GAINLLR_NF4				STV090x_GAINLLR_NFx(4)
2013 #define STV090x_OFFST_GAINLLR_NF_QP_1_2_FIELD		0
2014 #define STV090x_WIDTH_GAINLLR_NF_QP_1_2_FIELD		7
2015 
2016 #define STV090x_GAINLLR_NF5				STV090x_GAINLLR_NFx(5)
2017 #define STV090x_OFFST_GAINLLR_NF_QP_3_5_FIELD		0
2018 #define STV090x_WIDTH_GAINLLR_NF_QP_3_5_FIELD		7
2019 
2020 #define STV090x_GAINLLR_NF6				STV090x_GAINLLR_NFx(6)
2021 #define STV090x_OFFST_GAINLLR_NF_QP_2_3_FIELD		0
2022 #define STV090x_WIDTH_GAINLLR_NF_QP_2_3_FIELD		7
2023 
2024 #define STV090x_GAINLLR_NF7				STV090x_GAINLLR_NFx(7)
2025 #define STV090x_OFFST_GAINLLR_NF_QP_3_4_FIELD		0
2026 #define STV090x_WIDTH_GAINLLR_NF_QP_3_4_FIELD		7
2027 
2028 #define STV090x_GAINLLR_NF8				STV090x_GAINLLR_NFx(8)
2029 #define STV090x_OFFST_GAINLLR_NF_QP_4_5_FIELD		0
2030 #define STV090x_WIDTH_GAINLLR_NF_QP_4_5_FIELD		7
2031 
2032 #define STV090x_GAINLLR_NF9				STV090x_GAINLLR_NFx(9)
2033 #define STV090x_OFFST_GAINLLR_NF_QP_5_6_FIELD		0
2034 #define STV090x_WIDTH_GAINLLR_NF_QP_5_6_FIELD		7
2035 
2036 #define STV090x_GAINLLR_NF10				STV090x_GAINLLR_NFx(10)
2037 #define STV090x_OFFST_GAINLLR_NF_QP_8_9_FIELD		0
2038 #define STV090x_WIDTH_GAINLLR_NF_QP_8_9_FIELD		7
2039 
2040 #define STV090x_GAINLLR_NF11				STV090x_GAINLLR_NFx(11)
2041 #define STV090x_OFFST_GAINLLR_NF_QP_9_10_FIELD		0
2042 #define STV090x_WIDTH_GAINLLR_NF_QP_9_10_FIELD		7
2043 
2044 #define STV090x_GAINLLR_NF12				STV090x_GAINLLR_NFx(12)
2045 #define STV090x_OFFST_GAINLLR_NF_8P_3_5_FIELD		0
2046 #define STV090x_WIDTH_GAINLLR_NF_8P_3_5_FIELD		7
2047 
2048 #define STV090x_GAINLLR_NF13				STV090x_GAINLLR_NFx(13)
2049 #define STV090x_OFFST_GAINLLR_NF_8P_2_3_FIELD		0
2050 #define STV090x_WIDTH_GAINLLR_NF_8P_2_3_FIELD		7
2051 
2052 #define STV090x_GAINLLR_NF14				STV090x_GAINLLR_NFx(14)
2053 #define STV090x_OFFST_GAINLLR_NF_8P_3_4_FIELD		0
2054 #define STV090x_WIDTH_GAINLLR_NF_8P_3_4_FIELD		7
2055 
2056 #define STV090x_GAINLLR_NF15				STV090x_GAINLLR_NFx(15)
2057 #define STV090x_OFFST_GAINLLR_NF_8P_5_6_FIELD		0
2058 #define STV090x_WIDTH_GAINLLR_NF_8P_5_6_FIELD		7
2059 
2060 #define STV090x_GAINLLR_NF16				STV090x_GAINLLR_NFx(16)
2061 #define STV090x_OFFST_GAINLLR_NF_8P_8_9_FIELD		0
2062 #define STV090x_WIDTH_GAINLLR_NF_8P_8_9_FIELD		7
2063 
2064 #define STV090x_GAINLLR_NF17				STV090x_GAINLLR_NFx(17)
2065 #define STV090x_OFFST_GAINLLR_NF_8P_9_10_FIELD		0
2066 #define STV090x_WIDTH_GAINLLR_NF_8P_9_10_FIELD		7
2067 
2068 #define STV090x_GENCFG					0xFA86
2069 #define STV090x_OFFST_BROADCAST_FIELD			4
2070 #define STV090x_WIDTH_BROADCAST_FIELD			1
2071 #define STV090x_OFFST_PRIORITY_FIELD			1
2072 #define STV090x_WIDTH_PRIORITY_FIELD			1
2073 #define STV090x_OFFST_DDEMOD_FIELD			0
2074 #define STV090x_WIDTH_DDEMOD_FIELD			1
2075 
2076 #define STV090x_LDPCERRx(__x)				(0xFA97 - (__x  * 0x1))
2077 #define STV090x_LDPCERR0				STV090x_LDPCERRx(0)
2078 #define STV090x_LDPCERR1				STV090x_LDPCERRx(1)
2079 #define STV090x_OFFST_Px_LDPC_ERRORS_COUNTER_FIELD	0
2080 #define STV090x_WIDTH_Px_LDPC_ERRORS_COUNTER_FIELD	8
2081 
2082 #define STV090x_BCHERR					0xFA98
2083 #define STV090x_OFFST_Px_ERRORFLAG_FIELD		4
2084 #define STV090x_WIDTH_Px_ERRORFLAG_FIELD		1
2085 #define STV090x_OFFST_Px_BCH_ERRORS_COUNTER_FIELD	0
2086 #define STV090x_WIDTH_Px_BCH_ERRORS_COUNTER_FIELD	4
2087 
2088 #define STV090x_Px_TSSTATEM(__x)			(0xF570 - (__x - 1) * 0x200)
2089 #define STV090x_P1_TSSTATEM				STV090x_Px_TSSTATEM(1)
2090 #define STV090x_P2_TSSTATEM				STV090x_Px_TSSTATEM(2)
2091 #define STV090x_OFFST_Px_TSDIL_ON_FIELD			7
2092 #define STV090x_WIDTH_Px_TSDIL_ON_FIELD			1
2093 #define STV090x_OFFST_Px_TSRS_ON_FIELD			5
2094 #define STV090x_WIDTH_Px_TSRS_ON_FIELD			1
2095 
2096 #define STV090x_Px_TSCFGH(__x)				(0xF572 - (__x - 1) * 0x200)
2097 #define STV090x_P1_TSCFGH				STV090x_Px_TSCFGH(1)
2098 #define STV090x_P2_TSCFGH				STV090x_Px_TSCFGH(2)
2099 #define STV090x_OFFST_Px_TSFIFO_DVBCI_FIELD		7
2100 #define STV090x_WIDTH_Px_TSFIFO_DVBCI_FIELD		1
2101 #define STV090x_OFFST_Px_TSFIFO_SERIAL_FIELD		6
2102 #define STV090x_WIDTH_Px_TSFIFO_SERIAL_FIELD		1
2103 #define STV090x_OFFST_Px_TSFIFO_TEIUPDATE_FIELD		5
2104 #define STV090x_WIDTH_Px_TSFIFO_TEIUPDATE_FIELD		1
2105 #define STV090x_OFFST_Px_TSFIFO_DUTY50_FIELD		4
2106 #define STV090x_WIDTH_Px_TSFIFO_DUTY50_FIELD		1
2107 #define STV090x_OFFST_Px_TSFIFO_HSGNLOUT_FIELD		3
2108 #define STV090x_WIDTH_Px_TSFIFO_HSGNLOUT_FIELD		1
2109 #define STV090x_OFFST_Px_TSFIFO_ERRORMODE_FIELD		1
2110 #define STV090x_WIDTH_Px_TSFIFO_ERRORMODE_FIELD		2
2111 #define STV090x_OFFST_Px_RST_HWARE_FIELD		0
2112 #define STV090x_WIDTH_Px_RST_HWARE_FIELD		1
2113 
2114 #define STV090x_Px_TSCFGM(__x)				(0xF573 - (__x - 1) * 0x200)
2115 #define STV090x_P1_TSCFGM				STV090x_Px_TSCFGM(1)
2116 #define STV090x_P2_TSCFGM				STV090x_Px_TSCFGM(2)
2117 #define STV090x_OFFST_Px_TSFIFO_MANSPEED_FIELD		6
2118 #define STV090x_WIDTH_Px_TSFIFO_MANSPEED_FIELD		2
2119 #define STV090x_OFFST_Px_TSFIFO_PERMDATA_FIELD		5
2120 #define STV090x_WIDTH_Px_TSFIFO_PERMDATA_FIELD		1
2121 #define STV090x_OFFST_Px_TSFIFO_INVDATA_FIELD		0
2122 #define STV090x_WIDTH_Px_TSFIFO_INVDATA_FIELD		1
2123 
2124 #define STV090x_Px_TSCFGL(__x)				(0xF574 - (__x - 1) * 0x200)
2125 #define STV090x_P1_TSCFGL				STV090x_Px_TSCFGL(1)
2126 #define STV090x_P2_TSCFGL				STV090x_Px_TSCFGL(2)
2127 #define STV090x_OFFST_Px_TSFIFO_BCLKDEL1CK_FIELD	6
2128 #define STV090x_WIDTH_Px_TSFIFO_BCLKDEL1CK_FIELD	2
2129 #define STV090x_OFFST_Px_BCHERROR_MODE_FIELD		4
2130 #define STV090x_WIDTH_Px_BCHERROR_MODE_FIELD		2
2131 #define STV090x_OFFST_Px_TSFIFO_NSGNL2DATA_FIELD	3
2132 #define STV090x_WIDTH_Px_TSFIFO_NSGNL2DATA_FIELD	1
2133 #define STV090x_OFFST_Px_TSFIFO_EMBINDVB_FIELD		2
2134 #define STV090x_WIDTH_Px_TSFIFO_EMBINDVB_FIELD		1
2135 #define STV090x_OFFST_Px_TSFIFO_DPUNACT_FIELD		1
2136 #define STV090x_WIDTH_Px_TSFIFO_DPUNACT_FIELD		1
2137 
2138 #define STV090x_Px_TSINSDELH(__x)			(0xF576 - (__x - 1) * 0x200)
2139 #define STV090x_P1_TSINSDELH				STV090x_Px_TSINSDELH(1)
2140 #define STV090x_P2_TSINSDELH				STV090x_Px_TSINSDELH(2)
2141 #define STV090x_OFFST_Px_TSDEL_SYNCBYTE_FIELD		7
2142 #define STV090x_WIDTH_Px_TSDEL_SYNCBYTE_FIELD		1
2143 #define STV090x_OFFST_Px_TSDEL_XXHEADER_FIELD		6
2144 #define STV090x_WIDTH_Px_TSDEL_XXHEADER_FIELD		1
2145 
2146 #define STV090x_Px_TSSPEED(__x)				(0xF580 - (__x - 1) * 0x200)
2147 #define STV090x_P1_TSSPEED				STV090x_Px_TSSPEED(1)
2148 #define STV090x_P2_TSSPEED				STV090x_Px_TSSPEED(2)
2149 #define STV090x_OFFST_Px_TSFIFO_OUTSPEED_FIELD		0
2150 #define STV090x_WIDTH_Px_TSFIFO_OUTSPEED_FIELD		8
2151 
2152 #define STV090x_Px_TSSTATUS(__x)			(0xF581 - (__x - 1) * 0x200)
2153 #define STV090x_P1_TSSTATUS				STV090x_Px_TSSTATUS(1)
2154 #define STV090x_P2_TSSTATUS				STV090x_Px_TSSTATUS(2)
2155 #define STV090x_OFFST_Px_TSFIFO_LINEOK_FIELD		7
2156 #define STV090x_WIDTH_Px_TSFIFO_LINEOK_FIELD		1
2157 #define STV090x_OFFST_Px_TSFIFO_ERROR_FIELD		6
2158 #define STV090x_WIDTH_Px_TSFIFO_ERROR_FIELD		1
2159 
2160 #define STV090x_Px_TSSTATUS2(__x)			(0xF582 - (__x - 1) * 0x200)
2161 #define STV090x_P1_TSSTATUS2				STV090x_Px_TSSTATUS2(1)
2162 #define STV090x_P2_TSSTATUS2				STV090x_Px_TSSTATUS2(2)
2163 #define STV090x_OFFST_Px_TSFIFO_DEMODSEL_FIELD		7
2164 #define STV090x_WIDTH_Px_TSFIFO_DEMODSEL_FIELD		1
2165 #define STV090x_OFFST_Px_TSFIFOSPEED_STORE_FIELD	6
2166 #define STV090x_WIDTH_Px_TSFIFOSPEED_STORE_FIELD	1
2167 #define STV090x_OFFST_Px_DILXX_RESET_FIELD		5
2168 #define STV090x_WIDTH_Px_DILXX_RESET_FIELD		1
2169 #define STV090x_OFFST_Px_TSSERIAL_IMPOS_FIELD		4
2170 #define STV090x_WIDTH_Px_TSSERIAL_IMPOS_FIELD		1
2171 #define STV090x_OFFST_Px_SCRAMBDETECT_FIELD		1
2172 #define STV090x_WIDTH_Px_SCRAMBDETECT_FIELD		1
2173 
2174 #define STV090x_Px_TSBITRATEy(__x, __y)			(0xF584 - (__x - 1) * 0x200 - __y * 0x1)
2175 #define STV090x_P1_TSBITRATE0				STV090x_Px_TSBITRATEy(1, 0)
2176 #define STV090x_P1_TSBITRATE1				STV090x_Px_TSBITRATEy(1, 1)
2177 #define STV090x_P2_TSBITRATE0				STV090x_Px_TSBITRATEy(2, 0)
2178 #define STV090x_P2_TSBITRATE1				STV090x_Px_TSBITRATEy(2, 1)
2179 #define STV090x_OFFST_Px_TSFIFO_BITRATE_FIELD		0
2180 #define STV090x_WIDTH_Px_TSFIFO_BITRATE_FIELD		8
2181 
2182 #define STV090x_Px_ERRCTRL1(__x)			(0xF598 - (__x - 1) * 0x200)
2183 #define STV090x_P1_ERRCTRL1				STV090x_Px_ERRCTRL1(1)
2184 #define STV090x_P2_ERRCTRL1				STV090x_Px_ERRCTRL1(2)
2185 #define STV090x_OFFST_Px_ERR_SOURCE_FIELD		4
2186 #define STV090x_WIDTH_Px_ERR_SOURCE_FIELD		4
2187 #define STV090x_OFFST_Px_NUM_EVENT_FIELD		0
2188 #define STV090x_WIDTH_Px_NUM_EVENT_FIELD		3
2189 
2190 #define STV090x_Px_ERRCNT12(__x)			(0xF599 - (__x - 1) * 0x200)
2191 #define STV090x_P1_ERRCNT12				STV090x_Px_ERRCNT12(1)
2192 #define STV090x_P2_ERRCNT12				STV090x_Px_ERRCNT12(2)
2193 #define STV090x_OFFST_Px_ERRCNT1_OLDVALUE_FIELD		7
2194 #define STV090x_WIDTH_Px_ERRCNT1_OLDVALUE_FIELD		1
2195 #define STV090x_OFFST_Px_ERR_CNT12_FIELD		0
2196 #define STV090x_WIDTH_Px_ERR_CNT12_FIELD		7
2197 
2198 #define STV090x_Px_ERRCNT11(__x)			(0xF59A - (__x - 1) * 0x200)
2199 #define STV090x_P1_ERRCNT11				STV090x_Px_ERRCNT11(1)
2200 #define STV090x_P2_ERRCNT11				STV090x_Px_ERRCNT11(2)
2201 #define STV090x_OFFST_Px_ERR_CNT11_FIELD		0
2202 #define STV090x_WIDTH_Px_ERR_CNT11_FIELD		8
2203 
2204 #define STV090x_Px_ERRCNT10(__x)			(0xF59B - (__x - 1) * 0x200)
2205 #define STV090x_P1_ERRCNT10				STV090x_Px_ERRCNT10(1)
2206 #define STV090x_P2_ERRCNT10				STV090x_Px_ERRCNT10(2)
2207 #define STV090x_OFFST_Px_ERR_CNT10_FIELD		0
2208 #define STV090x_WIDTH_Px_ERR_CNT10_FIELD		8
2209 
2210 #define STV090x_Px_ERRCTRL2(__x)			(0xF59C - (__x - 1) * 0x200)
2211 #define STV090x_P1_ERRCTRL2				STV090x_Px_ERRCTRL2(1)
2212 #define STV090x_P2_ERRCTRL2				STV090x_Px_ERRCTRL2(2)
2213 #define STV090x_OFFST_Px_ERR_SOURCE2_FIELD		4
2214 #define STV090x_WIDTH_Px_ERR_SOURCE2_FIELD		4
2215 #define STV090x_OFFST_Px_NUM_EVENT2_FIELD		0
2216 #define STV090x_WIDTH_Px_NUM_EVENT2_FIELD		3
2217 
2218 #define STV090x_Px_ERRCNT22(__x)			(0xF59D - (__x - 1) * 0x200)
2219 #define STV090x_P1_ERRCNT22				STV090x_Px_ERRCNT22(1)
2220 #define STV090x_P2_ERRCNT22				STV090x_Px_ERRCNT22(2)
2221 #define STV090x_OFFST_Px_ERRCNT2_OLDVALUE_FIELD		7
2222 #define STV090x_WIDTH_Px_ERRCNT2_OLDVALUE_FIELD		1
2223 #define STV090x_OFFST_Px_ERR_CNT2_FIELD			0
2224 #define STV090x_WIDTH_Px_ERR_CNT2_FIELD			7
2225 
2226 #define STV090x_Px_ERRCNT21(__x)			(0xF59E - (__x - 1) * 0x200)
2227 #define STV090x_P1_ERRCNT21				STV090x_Px_ERRCNT21(1)
2228 #define STV090x_P2_ERRCNT21				STV090x_Px_ERRCNT21(2)
2229 #define STV090x_OFFST_Px_ERR_CNT21_FIELD		0
2230 #define STV090x_WIDTH_Px_ERR_CNT21_FIELD		8
2231 
2232 #define STV090x_Px_ERRCNT20(__x)			(0xF59F - (__x - 1) * 0x200)
2233 #define STV090x_P1_ERRCNT20				STV090x_Px_ERRCNT20(1)
2234 #define STV090x_P2_ERRCNT20				STV090x_Px_ERRCNT20(2)
2235 #define STV090x_OFFST_Px_ERR_CNT20_FIELD		0
2236 #define STV090x_WIDTH_Px_ERR_CNT20_FIELD		8
2237 
2238 #define STV090x_Px_FECSPY(__x)				(0xF5A0 - (__x - 1) * 0x200)
2239 #define STV090x_P1_FECSPY				STV090x_Px_FECSPY(1)
2240 #define STV090x_P2_FECSPY				STV090x_Px_FECSPY(2)
2241 #define STV090x_OFFST_Px_SPY_ENABLE_FIELD		7
2242 #define STV090x_WIDTH_Px_SPY_ENABLE_FIELD		1
2243 #define STV090x_OFFST_Px_BERMETER_DATAMAODE_FIELD	2
2244 #define STV090x_WIDTH_Px_BERMETER_DATAMAODE_FIELD	2
2245 
2246 #define STV090x_Px_FSPYCFG(__x)				(0xF5A1 - (__x - 1) * 0x200)
2247 #define STV090x_P1_FSPYCFG				STV090x_Px_FSPYCFG(1)
2248 #define STV090x_P2_FSPYCFG				STV090x_Px_FSPYCFG(2)
2249 #define STV090x_OFFST_Px_RST_ON_ERROR_FIELD		5
2250 #define STV090x_WIDTH_Px_RST_ON_ERROR_FIELD		1
2251 #define STV090x_OFFST_Px_ONE_SHOT_FIELD			4
2252 #define STV090x_WIDTH_Px_ONE_SHOT_FIELD			1
2253 #define STV090x_OFFST_Px_I2C_MODE_FIELD			2
2254 #define STV090x_WIDTH_Px_I2C_MODE_FIELD			2
2255 
2256 #define STV090x_Px_FSPYDATA(__x)			(0xF5A2 - (__x - 1) * 0x200)
2257 #define STV090x_P1_FSPYDATA				STV090x_Px_FSPYDATA(1)
2258 #define STV090x_P2_FSPYDATA				STV090x_Px_FSPYDATA(2)
2259 #define STV090x_OFFST_Px_SPY_STUFFING_FIELD		7
2260 #define STV090x_WIDTH_Px_SPY_STUFFING_FIELD		1
2261 #define STV090x_OFFST_Px_SPY_CNULLPKT_FIELD		5
2262 #define STV090x_WIDTH_Px_SPY_CNULLPKT_FIELD		1
2263 #define STV090x_OFFST_Px_SPY_OUTDATA_MODE_FIELD		0
2264 #define STV090x_WIDTH_Px_SPY_OUTDATA_MODE_FIELD		5
2265 
2266 #define STV090x_Px_FSPYOUT(__x)				(0xF5A3 - (__x - 1) * 0x200)
2267 #define STV090x_P1_FSPYOUT				STV090x_Px_FSPYOUT(1)
2268 #define STV090x_P2_FSPYOUT				STV090x_Px_FSPYOUT(2)
2269 #define STV090x_OFFST_Px_FSPY_DIRECT_FIELD		7
2270 #define STV090x_WIDTH_Px_FSPY_DIRECT_FIELD		1
2271 #define STV090x_OFFST_Px_STUFF_MODE_FIELD		0
2272 #define STV090x_WIDTH_Px_STUFF_MODE_FIELD		3
2273 
2274 #define STV090x_Px_FSTATUS(__x)				(0xF5A4 - (__x - 1) * 0x200)
2275 #define STV090x_P1_FSTATUS				STV090x_Px_FSTATUS(1)
2276 #define STV090x_P2_FSTATUS				STV090x_Px_FSTATUS(2)
2277 #define STV090x_OFFST_Px_SPY_ENDSIM_FIELD		7
2278 #define STV090x_WIDTH_Px_SPY_ENDSIM_FIELD		1
2279 #define STV090x_OFFST_Px_VALID_SIM_FIELD		6
2280 #define STV090x_WIDTH_Px_VALID_SIM_FIELD		1
2281 #define STV090x_OFFST_Px_FOUND_SIGNAL_FIELD		5
2282 #define STV090x_WIDTH_Px_FOUND_SIGNAL_FIELD		1
2283 #define STV090x_OFFST_Px_DSS_SYNCBYTE_FIELD		4
2284 #define STV090x_WIDTH_Px_DSS_SYNCBYTE_FIELD		1
2285 #define STV090x_OFFST_Px_RESULT_STATE_FIELD		0
2286 #define STV090x_WIDTH_Px_RESULT_STATE_FIELD		4
2287 
2288 #define STV090x_Px_FBERCPT4(__x)			(0xF5A8 - (__x - 1) * 0x200)
2289 #define STV090x_P1_FBERCPT4				STV090x_Px_FBERCPT4(1)
2290 #define STV090x_P2_FBERCPT4				STV090x_Px_FBERCPT4(2)
2291 #define STV090x_OFFST_Px_FBERMETER_CPT_FIELD		0
2292 #define STV090x_WIDTH_Px_FBERMETER_CPT_FIELD		8
2293 
2294 #define STV090x_Px_FBERCPT3(__x)			(0xF5A9 - (__x - 1) * 0x200)
2295 #define STV090x_P1_FBERCPT3				STV090x_Px_FBERCPT3(1)
2296 #define STV090x_P2_FBERCPT3				STV090x_Px_FBERCPT3(2)
2297 #define STV090x_OFFST_Px_FBERMETER_CPT_FIELD		0
2298 #define STV090x_WIDTH_Px_FBERMETER_CPT_FIELD		8
2299 
2300 #define STV090x_Px_FBERCPT2(__x)			(0xF5AA - (__x - 1) * 0x200)
2301 #define STV090x_P1_FBERCPT2				STV090x_Px_FBERCPT2(1)
2302 #define STV090x_P2_FBERCPT2				STV090x_Px_FBERCPT2(2)
2303 #define STV090x_OFFST_Px_FBERMETER_CPT_FIELD		0
2304 #define STV090x_WIDTH_Px_FBERMETER_CPT_FIELD		8
2305 
2306 #define STV090x_Px_FBERCPT1(__x)			(0xF5AB - (__x - 1) * 0x200)
2307 #define STV090x_P1_FBERCPT1				STV090x_Px_FBERCPT1(1)
2308 #define STV090x_P2_FBERCPT1				STV090x_Px_FBERCPT1(2)
2309 #define STV090x_OFFST_Px_FBERMETER_CPT_FIELD		0
2310 #define STV090x_WIDTH_Px_FBERMETER_CPT_FIELD		8
2311 
2312 #define STV090x_Px_FBERCPT0(__x)			(0xF5AC - (__x - 1) * 0x200)
2313 #define STV090x_P1_FBERCPT0				STV090x_Px_FBERCPT0(1)
2314 #define STV090x_P2_FBERCPT0				STV090x_Px_FBERCPT0(2)
2315 #define STV090x_OFFST_Px_FBERMETER_CPT_FIELD		0
2316 #define STV090x_WIDTH_Px_FBERMETER_CPT_FIELD		8
2317 
2318 #define STV090x_Px_FBERERRy(__x, __y)			(0xF5AF - (__x - 1) * 0x200 - __y * 0x1)
2319 #define STV090x_P1_FBERERR0				STV090x_Px_FBERERRy(1, 0)
2320 #define STV090x_P1_FBERERR1				STV090x_Px_FBERERRy(1, 1)
2321 #define STV090x_P1_FBERERR2				STV090x_Px_FBERERRy(1, 2)
2322 #define STV090x_P2_FBERERR0				STV090x_Px_FBERERRy(2, 0)
2323 #define STV090x_P2_FBERERR1				STV090x_Px_FBERERRy(2, 1)
2324 #define STV090x_P2_FBERERR2				STV090x_Px_FBERERRy(2, 2)
2325 #define STV090x_OFFST_Px_FBERMETER_CPT_ERR_FIELD	0
2326 #define STV090x_WIDTH_Px_FBERMETER_CPT_ERR_FIELD	8
2327 
2328 #define STV090x_Px_FSPYBER(__x)				(0xF5B2 - (__x - 1) * 0x200)
2329 #define STV090x_P1_FSPYBER				STV090x_Px_FSPYBER(1)
2330 #define STV090x_P2_FSPYBER				STV090x_Px_FSPYBER(2)
2331 #define STV090x_OFFST_Px_FSPYBER_SYNCBYTE_FIELD		4
2332 #define STV090x_WIDTH_Px_FSPYBER_SYNCBYTE_FIELD		1
2333 #define STV090x_OFFST_Px_FSPYBER_UNSYNC_FIELD		3
2334 #define STV090x_WIDTH_Px_FSPYBER_UNSYNC_FIELD		1
2335 #define STV090x_OFFST_Px_FSPYBER_CTIME_FIELD		0
2336 #define STV090x_WIDTH_Px_FSPYBER_CTIME_FIELD		3
2337 
2338 #define STV090x_RCCFGH					0xf600
2339 
2340 #define STV090x_TSGENERAL				0xF630
2341 #define STV090x_OFFST_Px_MUXSTREAM_OUT_FIELD		3
2342 #define STV090x_WIDTH_Px_MUXSTREAM_OUT_FIELD		1
2343 #define STV090x_OFFST_Px_TSFIFO_PERMPARAL_FIELD		1
2344 #define STV090x_WIDTH_Px_TSFIFO_PERMPARAL_FIELD		2
2345 
2346 #define STV090x_TSGENERAL1X				0xf670
2347 #define STV090x_CFGEXT					0xfa80
2348 
2349 #define STV090x_TSTRES0					0xFF11
2350 #define STV090x_OFFST_FRESFEC_FIELD			7
2351 #define STV090x_WIDTH_FRESFEC_FIELD			1
2352 
2353 #define STV090x_Px_TSTDISRX(__x)			(0xFF67 - (__x - 1) * 0x2)
2354 #define STV090x_P1_TSTDISRX				STV090x_Px_TSTDISRX(1)
2355 #define STV090x_P2_TSTDISRX				STV090x_Px_TSTDISRX(2)
2356 #define STV090x_OFFST_Px_TSTDISRX_SELECT_FIELD		3
2357 #define STV090x_WIDTH_Px_TSTDISRX_SELECT_FIELD		1
2358 
2359 #endif /* __STV090x_REG_H */
2360