This source file includes following definitions.
- ix2505v_attach
1
2
3
4
5
6
7
8 #ifndef DVB_IX2505V_H
9 #define DVB_IX2505V_H
10
11 #include <linux/i2c.h>
12 #include <media/dvb_frontend.h>
13
14
15
16
17
18
19
20
21
22
23 struct ix2505v_config {
24 u8 tuner_address;
25 u8 tuner_gain;
26 u8 tuner_chargepump;
27 int min_delay_ms;
28 u8 tuner_write_only;
29
30 };
31
32 #if IS_REACHABLE(CONFIG_DVB_IX2505V)
33
34
35
36
37
38
39
40
41
42 extern struct dvb_frontend *ix2505v_attach(struct dvb_frontend *fe,
43 const struct ix2505v_config *config, struct i2c_adapter *i2c);
44 #else
45 static inline struct dvb_frontend *ix2505v_attach(struct dvb_frontend *fe,
46 const struct ix2505v_config *config, struct i2c_adapter *i2c)
47 {
48 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
49 return NULL;
50 }
51 #endif
52
53 #endif