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