This source file includes following definitions.
- lnbh24_attach
1
2
3
4
5
6
7
8
9 #ifndef _LNBH24_H
10 #define _LNBH24_H
11
12
13 #define LNBH24_OLF 0x01
14 #define LNBH24_OTF 0x02
15 #define LNBH24_EN 0x04
16 #define LNBH24_VSEL 0x08
17 #define LNBH24_LLC 0x10
18 #define LNBH24_TEN 0x20
19 #define LNBH24_TTX 0x40
20 #define LNBH24_PCL 0x80
21
22 #include <linux/dvb/frontend.h>
23
24 #if IS_REACHABLE(CONFIG_DVB_LNBP21)
25
26
27 extern struct dvb_frontend *lnbh24_attach(struct dvb_frontend *fe,
28 struct i2c_adapter *i2c, u8 override_set,
29 u8 override_clear, u8 i2c_addr);
30 #else
31 static inline struct dvb_frontend *lnbh24_attach(struct dvb_frontend *fe,
32 struct i2c_adapter *i2c, u8 override_set,
33 u8 override_clear, u8 i2c_addr)
34 {
35 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
36 return NULL;
37 }
38 #endif
39
40 #endif