This source file includes following definitions.
- tda10086_attach
1
2
3
4
5
6
7
8
9
10 #ifndef TDA10086_H
11 #define TDA10086_H
12
13 #include <linux/dvb/frontend.h>
14 #include <linux/firmware.h>
15
16 enum tda10086_xtal {
17 TDA10086_XTAL_16M,
18 TDA10086_XTAL_4M
19 };
20
21 struct tda10086_config
22 {
23
24 u8 demod_address;
25
26
27 u8 invert;
28
29
30 u8 diseqc_tone;
31
32
33 enum tda10086_xtal xtal_freq;
34 };
35
36 #if IS_REACHABLE(CONFIG_DVB_TDA10086)
37 extern struct dvb_frontend* tda10086_attach(const struct tda10086_config* config,
38 struct i2c_adapter* i2c);
39 #else
40 static inline struct dvb_frontend* tda10086_attach(const struct tda10086_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