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