This source file includes following definitions.
- zl10353_attach
1
2
3
4
5
6
7
8 #ifndef ZL10353_H
9 #define ZL10353_H
10
11 #include <linux/dvb/frontend.h>
12
13 struct zl10353_config
14 {
15
16 u8 demod_address;
17
18
19 int adc_clock;
20 int if2;
21
22
23 int no_tuner;
24
25
26 int parallel_ts;
27
28
29 u8 disable_i2c_gate_ctrl:1;
30
31
32 u8 clock_ctl_1;
33 u8 pll_0;
34 };
35
36 #if IS_REACHABLE(CONFIG_DVB_ZL10353)
37 extern struct dvb_frontend* zl10353_attach(const struct zl10353_config *config,
38 struct i2c_adapter *i2c);
39 #else
40 static inline struct dvb_frontend* zl10353_attach(const struct zl10353_config *config,
41 struct i2c_adapter *i2c)
42 {
43 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
44 return NULL;
45 }
46 #endif
47
48 #endif