1/*
2 * Driver for
3 *    Samsung S5H1420 and
4 *    PnpNetwork PN1010 QPSK Demodulator
5 *
6 * Copyright (C) 2005 Andrew de Quincey <adq_dvb@lidskialf.net>
7 * Copyright (C) 2005 Patrick Boettcher <pb@linuxtv.org>
8 *
9 * This program is free software; you can redistribute it and/or modify it
10 * under the terms of the GNU General Public License as published by the Free
11 * Software Foundation; either version 2 of the License, or (at your option)
12 * any later version.
13 *
14 * This program is distributed in the hope that it will be useful, but WITHOUT
15 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
16 * FITNESS FOR A PARTICULAR PURPOSE.  See the
17 *
18 * GNU General Public License for more details.
19 *
20 * You should have received a copy of the GNU General Public License along with
21 * this program; if not, write to the Free Software Foundation, Inc., 675 Mass
22 * Ave, Cambridge, MA 02139, USA.
23 */
24#ifndef S5H1420_PRIV
25#define S5H1420_PRIV
26
27#include <asm/types.h>
28
29enum s5h1420_register {
30	ID01      = 0x00,
31	CON_0     = 0x01,
32	CON_1     = 0x02,
33	PLL01     = 0x03,
34	PLL02     = 0x04,
35	QPSK01    = 0x05,
36	QPSK02    = 0x06,
37	Pre01     = 0x07,
38	Post01    = 0x08,
39	Loop01    = 0x09,
40	Loop02    = 0x0a,
41	Loop03    = 0x0b,
42	Loop04    = 0x0c,
43	Loop05    = 0x0d,
44	Pnco01    = 0x0e,
45	Pnco02    = 0x0f,
46	Pnco03    = 0x10,
47	Tnco01    = 0x11,
48	Tnco02    = 0x12,
49	Tnco03    = 0x13,
50	Monitor01 = 0x14,
51	Monitor02 = 0x15,
52	Monitor03 = 0x16,
53	Monitor04 = 0x17,
54	Monitor05 = 0x18,
55	Monitor06 = 0x19,
56	Monitor07 = 0x1a,
57	Monitor12 = 0x1f,
58
59	FEC01     = 0x22,
60	Soft01    = 0x23,
61	Soft02    = 0x24,
62	Soft03    = 0x25,
63	Soft04    = 0x26,
64	Soft05    = 0x27,
65	Soft06    = 0x28,
66	Vit01     = 0x29,
67	Vit02     = 0x2a,
68	Vit03     = 0x2b,
69	Vit04     = 0x2c,
70	Vit05     = 0x2d,
71	Vit06     = 0x2e,
72	Vit07     = 0x2f,
73	Vit08     = 0x30,
74	Vit09     = 0x31,
75	Vit10     = 0x32,
76	Vit11     = 0x33,
77	Vit12     = 0x34,
78	Sync01    = 0x35,
79	Sync02    = 0x36,
80	Rs01      = 0x37,
81	Mpeg01    = 0x38,
82	Mpeg02    = 0x39,
83	DiS01     = 0x3a,
84	DiS02     = 0x3b,
85	DiS03     = 0x3c,
86	DiS04     = 0x3d,
87	DiS05     = 0x3e,
88	DiS06     = 0x3f,
89	DiS07     = 0x40,
90	DiS08     = 0x41,
91	DiS09     = 0x42,
92	DiS10     = 0x43,
93	DiS11     = 0x44,
94	Rf01      = 0x45,
95	Err01     = 0x46,
96	Err02     = 0x47,
97	Err03     = 0x48,
98	Err04     = 0x49,
99};
100
101
102#endif
103