xref: /OK3568_Linux_fs/kernel/drivers/media/dvb-frontends/s5h1420_priv.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0-or-later */
2*4882a593Smuzhiyun /*
3*4882a593Smuzhiyun  * Driver for
4*4882a593Smuzhiyun  *    Samsung S5H1420 and
5*4882a593Smuzhiyun  *    PnpNetwork PN1010 QPSK Demodulator
6*4882a593Smuzhiyun  *
7*4882a593Smuzhiyun  * Copyright (C) 2005 Andrew de Quincey <adq_dvb@lidskialf.net>
8*4882a593Smuzhiyun  * Copyright (C) 2005 Patrick Boettcher <pb@linuxtv.org>
9*4882a593Smuzhiyun  */
10*4882a593Smuzhiyun #ifndef S5H1420_PRIV
11*4882a593Smuzhiyun #define S5H1420_PRIV
12*4882a593Smuzhiyun 
13*4882a593Smuzhiyun #include <asm/types.h>
14*4882a593Smuzhiyun 
15*4882a593Smuzhiyun enum s5h1420_register {
16*4882a593Smuzhiyun 	ID01      = 0x00,
17*4882a593Smuzhiyun 	CON_0     = 0x01,
18*4882a593Smuzhiyun 	CON_1     = 0x02,
19*4882a593Smuzhiyun 	PLL01     = 0x03,
20*4882a593Smuzhiyun 	PLL02     = 0x04,
21*4882a593Smuzhiyun 	QPSK01    = 0x05,
22*4882a593Smuzhiyun 	QPSK02    = 0x06,
23*4882a593Smuzhiyun 	Pre01     = 0x07,
24*4882a593Smuzhiyun 	Post01    = 0x08,
25*4882a593Smuzhiyun 	Loop01    = 0x09,
26*4882a593Smuzhiyun 	Loop02    = 0x0a,
27*4882a593Smuzhiyun 	Loop03    = 0x0b,
28*4882a593Smuzhiyun 	Loop04    = 0x0c,
29*4882a593Smuzhiyun 	Loop05    = 0x0d,
30*4882a593Smuzhiyun 	Pnco01    = 0x0e,
31*4882a593Smuzhiyun 	Pnco02    = 0x0f,
32*4882a593Smuzhiyun 	Pnco03    = 0x10,
33*4882a593Smuzhiyun 	Tnco01    = 0x11,
34*4882a593Smuzhiyun 	Tnco02    = 0x12,
35*4882a593Smuzhiyun 	Tnco03    = 0x13,
36*4882a593Smuzhiyun 	Monitor01 = 0x14,
37*4882a593Smuzhiyun 	Monitor02 = 0x15,
38*4882a593Smuzhiyun 	Monitor03 = 0x16,
39*4882a593Smuzhiyun 	Monitor04 = 0x17,
40*4882a593Smuzhiyun 	Monitor05 = 0x18,
41*4882a593Smuzhiyun 	Monitor06 = 0x19,
42*4882a593Smuzhiyun 	Monitor07 = 0x1a,
43*4882a593Smuzhiyun 	Monitor12 = 0x1f,
44*4882a593Smuzhiyun 
45*4882a593Smuzhiyun 	FEC01     = 0x22,
46*4882a593Smuzhiyun 	Soft01    = 0x23,
47*4882a593Smuzhiyun 	Soft02    = 0x24,
48*4882a593Smuzhiyun 	Soft03    = 0x25,
49*4882a593Smuzhiyun 	Soft04    = 0x26,
50*4882a593Smuzhiyun 	Soft05    = 0x27,
51*4882a593Smuzhiyun 	Soft06    = 0x28,
52*4882a593Smuzhiyun 	Vit01     = 0x29,
53*4882a593Smuzhiyun 	Vit02     = 0x2a,
54*4882a593Smuzhiyun 	Vit03     = 0x2b,
55*4882a593Smuzhiyun 	Vit04     = 0x2c,
56*4882a593Smuzhiyun 	Vit05     = 0x2d,
57*4882a593Smuzhiyun 	Vit06     = 0x2e,
58*4882a593Smuzhiyun 	Vit07     = 0x2f,
59*4882a593Smuzhiyun 	Vit08     = 0x30,
60*4882a593Smuzhiyun 	Vit09     = 0x31,
61*4882a593Smuzhiyun 	Vit10     = 0x32,
62*4882a593Smuzhiyun 	Vit11     = 0x33,
63*4882a593Smuzhiyun 	Vit12     = 0x34,
64*4882a593Smuzhiyun 	Sync01    = 0x35,
65*4882a593Smuzhiyun 	Sync02    = 0x36,
66*4882a593Smuzhiyun 	Rs01      = 0x37,
67*4882a593Smuzhiyun 	Mpeg01    = 0x38,
68*4882a593Smuzhiyun 	Mpeg02    = 0x39,
69*4882a593Smuzhiyun 	DiS01     = 0x3a,
70*4882a593Smuzhiyun 	DiS02     = 0x3b,
71*4882a593Smuzhiyun 	DiS03     = 0x3c,
72*4882a593Smuzhiyun 	DiS04     = 0x3d,
73*4882a593Smuzhiyun 	DiS05     = 0x3e,
74*4882a593Smuzhiyun 	DiS06     = 0x3f,
75*4882a593Smuzhiyun 	DiS07     = 0x40,
76*4882a593Smuzhiyun 	DiS08     = 0x41,
77*4882a593Smuzhiyun 	DiS09     = 0x42,
78*4882a593Smuzhiyun 	DiS10     = 0x43,
79*4882a593Smuzhiyun 	DiS11     = 0x44,
80*4882a593Smuzhiyun 	Rf01      = 0x45,
81*4882a593Smuzhiyun 	Err01     = 0x46,
82*4882a593Smuzhiyun 	Err02     = 0x47,
83*4882a593Smuzhiyun 	Err03     = 0x48,
84*4882a593Smuzhiyun 	Err04     = 0x49,
85*4882a593Smuzhiyun };
86*4882a593Smuzhiyun 
87*4882a593Smuzhiyun 
88*4882a593Smuzhiyun #endif
89