1
2
3
4
5
6
7
8
9 #ifndef RTL2832_H
10 #define RTL2832_H
11
12 #include <linux/dvb/frontend.h>
13 #include <linux/i2c-mux.h>
14
15
16
17
18
19
20
21
22
23
24
25 struct rtl2832_platform_data {
26 u32 clk;
27
28
29
30 #define RTL2832_TUNER_FC2580 0x21
31 #define RTL2832_TUNER_TUA9001 0x24
32 #define RTL2832_TUNER_FC0012 0x26
33 #define RTL2832_TUNER_E4000 0x27
34 #define RTL2832_TUNER_FC0013 0x29
35 #define RTL2832_TUNER_R820T 0x2a
36 #define RTL2832_TUNER_R828D 0x2b
37 #define RTL2832_TUNER_SI2157 0x2c
38 u8 tuner;
39
40 struct dvb_frontend* (*get_dvb_frontend)(struct i2c_client *);
41 struct i2c_adapter* (*get_i2c_adapter)(struct i2c_client *);
42 int (*slave_ts_ctrl)(struct i2c_client *, bool);
43 int (*pid_filter)(struct dvb_frontend *, u8, u16, int);
44 int (*pid_filter_ctrl)(struct dvb_frontend *, int);
45
46 struct regmap *regmap;
47 };
48
49 #endif