aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/media/dvb/mantis/mantis_ioc.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/drivers/media/dvb/mantis/mantis_ioc.h b/drivers/media/dvb/mantis/mantis_ioc.h
new file mode 100644
index 000000000000..20526406723b
--- /dev/null
+++ b/drivers/media/dvb/mantis/mantis_ioc.h
@@ -0,0 +1,31 @@
1#ifndef __MANTIS_IOC_H
2#define __MANTIS_IOC_H
3
4#define GPIF_A00 0x00
5#define GPIF_A01 0x01
6#define GPIF_A02 0x02
7#define GPIF_A03 0x03
8#define GPIF_A04 0x04
9#define GPIF_A05 0x05
10#define GPIF_A06 0x06
11#define GPIF_A07 0x07
12#define GPIF_A08 0x08
13#define GPIF_A09 0x09
14#define GPIF_A10 0x0a
15#define GPIF_A11 0x0b
16
17#define GPIF_A12 0x0c
18#define GPIF_A13 0x0d
19#define GPIF_A14 0x0e
20
21enum mantis_stream_control {
22 STREAM_TO_HIF = 0,
23 STREAM_TO_CAM
24};
25
26extern int mantis_get_mac(struct mantis_pci *mantis);
27extern void gpio_set_bits(struct mantis_pci *mantis, u32 bitpos, u8 value);
28
29extern int mantis_stream_control(struct mantis_pci *mantis, enum mantis_stream_control stream_ctl);
30
31#endif /* __MANTIS_IOC_H */