Merge tag 'block-5.11-2021-01-10' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / drivers / media / dvb-frontends / itd1000_priv.h
blobf33157d2ec233c56bc8a4cbd4a5627a4775bbaa9
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 * Driver for the Integrant ITD1000 "Zero-IF Tuner IC for Direct Broadcast Satellite"
5 * Copyright (c) 2007 Patrick Boettcher <pb@linuxtv.org>
6 */
8 #ifndef ITD1000_PRIV_H
9 #define ITD1000_PRIV_H
11 struct itd1000_state {
12 struct itd1000_config *cfg;
13 struct i2c_adapter *i2c;
15 u32 frequency; /* contains the value resulting from the LO-setting */
17 /* ugly workaround for flexcop's incapable i2c-controller
18 * FIXME, if possible
20 u8 shadow[256];
23 enum itd1000_register {
24 VCO_CHP1 = 0x65,
25 VCO_CHP2,
26 PLLCON1,
27 PLLNH,
28 PLLNL,
29 PLLFH,
30 PLLFM,
31 PLLFL,
32 RESERVED_0X6D,
33 PLLLOCK,
34 VCO_CHP2_I2C,
35 VCO_CHP1_I2C,
36 BW,
37 RESERVED_0X73 = 0x73,
38 RESERVED_0X74,
39 RESERVED_0X75,
40 GVBB,
41 GVRF,
42 GVBB_I2C,
43 EXTGVBBRF,
44 DIVAGCCK,
45 BBTR,
46 RFTR,
47 BBGVMIN,
48 RESERVED_0X7E,
49 RESERVED_0X85 = 0x85,
50 RESERVED_0X86,
51 CON1,
52 RESERVED_0X88,
53 RESERVED_0X89,
54 RFST0,
55 RFST1,
56 RFST2,
57 RFST3,
58 RFST4,
59 RFST5,
60 RFST6,
61 RFST7,
62 RFST8,
63 RFST9,
64 RESERVED_0X94,
65 RESERVED_0X95,
66 RESERVED_0X96,
67 RESERVED_0X97,
68 RESERVED_0X98,
69 RESERVED_0X99,
70 RESERVED_0X9A,
71 RESERVED_0X9B,
74 #endif