This source file includes following definitions.
- ds3000_attach
1
2
3
4
5
6
7
8
9
10 #ifndef DS3000_H
11 #define DS3000_H
12
13 #include <linux/dvb/frontend.h>
14
15 struct ds3000_config {
16
17 u8 demod_address;
18 u8 ci_mode;
19
20 int (*set_ts_params)(struct dvb_frontend *fe, int is_punctured);
21
22 void (*set_lock_led)(struct dvb_frontend *fe, int offon);
23 };
24
25 #if IS_REACHABLE(CONFIG_DVB_DS3000)
26 extern struct dvb_frontend *ds3000_attach(const struct ds3000_config *config,
27 struct i2c_adapter *i2c);
28 #else
29 static inline
30 struct dvb_frontend *ds3000_attach(const struct ds3000_config *config,
31 struct i2c_adapter *i2c)
32 {
33 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
34 return NULL;
35 }
36 #endif
37 #endif