This source file includes following definitions.
- xc4000_attach
1
2
3
4
5
6
7
8 #ifndef __XC4000_H__
9 #define __XC4000_H__
10
11 #include <linux/firmware.h>
12
13 struct dvb_frontend;
14 struct i2c_adapter;
15
16 struct xc4000_config {
17 u8 i2c_address;
18
19 u8 default_pm;
20
21 u8 dvb_amplitude;
22
23 u8 set_smoothedcvbs;
24
25 u32 if_khz;
26 };
27
28
29 #define XC4000_TUNER_RESET 0
30
31
32
33
34
35
36
37
38
39 #if IS_REACHABLE(CONFIG_MEDIA_TUNER_XC4000)
40 extern struct dvb_frontend *xc4000_attach(struct dvb_frontend *fe,
41 struct i2c_adapter *i2c,
42 struct xc4000_config *cfg);
43 #else
44 static inline struct dvb_frontend *xc4000_attach(struct dvb_frontend *fe,
45 struct i2c_adapter *i2c,
46 struct xc4000_config *cfg)
47 {
48 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
49 return NULL;
50 }
51 #endif
52
53 #endif