This source file includes following definitions.
- lnbp21_attach
1
2
3
4
5
6
7
8
9
10 #ifndef _LNBP21_H
11 #define _LNBP21_H
12
13
14
15 #define LNBP21_OLF 0x01
16
17 #define LNBP21_OTF 0x02
18
19
20 #define LNBP21_EN 0x04
21
22
23 #define LNBP21_VSEL 0x08
24
25
26 #define LNBP21_LLC 0x10
27
28
29 #define LNBP21_TEN 0x20
30
31
32
33 #define LNBP21_ISEL 0x40
34
35
36
37 #define LNBP21_PCL 0x80
38
39 #include <linux/dvb/frontend.h>
40
41 #if IS_REACHABLE(CONFIG_DVB_LNBP21)
42
43
44 extern struct dvb_frontend *lnbp21_attach(struct dvb_frontend *fe,
45 struct i2c_adapter *i2c, u8 override_set,
46 u8 override_clear);
47 #else
48 static inline struct dvb_frontend *lnbp21_attach(struct dvb_frontend *fe,
49 struct i2c_adapter *i2c, u8 override_set,
50 u8 override_clear)
51 {
52 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
53 return NULL;
54 }
55 #endif
56
57 #endif