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