summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends
diff options
context:
space:
mode:
authorJamie Honan <devnull@localhost>2003-10-13 03:14:49 +0000
committerJamie Honan <devnull@localhost>2003-10-13 03:14:49 +0000
commit1bec03e1fe0e1ee258feda72fb76d01bc859405f (patch)
tree9904df4a9a1b59b4592c332eaea1548936c3c215 /linux/drivers/media/dvb/frontends
parent1bcd4c4b8c00b7d94525bc420b85539962f67cec (diff)
downloadmediapointer-dvb-s2-1bec03e1fe0e1ee258feda72fb76d01bc859405f.tar.gz
mediapointer-dvb-s2-1bec03e1fe0e1ee258feda72fb76d01bc859405f.tar.bz2
Initial dst.h
Diffstat (limited to 'linux/drivers/media/dvb/frontends')
-rw-r--r--linux/drivers/media/dvb/frontends/dst.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/frontends/dst.h b/linux/drivers/media/dvb/frontends/dst.h
new file mode 100644
index 000000000..fe4638497
--- /dev/null
+++ b/linux/drivers/media/dvb/frontends/dst.h
@@ -0,0 +1,30 @@
+
+#define DST_IG_ADDR 0xff /* fake address to do gpio */
+
+struct dst_gpio_enable {
+ u32 mask;
+ u32 enable;
+};
+
+struct dst_gpio_output {
+ u32 mask;
+ u32 highvals;
+};
+
+struct dst_gpio_read {
+ unsigned long value;
+};
+
+struct dst_gpio_packet {
+ u8 cmd;
+ union {
+ struct dst_gpio_enable enb;
+ struct dst_gpio_output outp;
+ struct dst_gpio_read rd;
+ } dstg;
+};
+
+#define DST_IG_ENABLE 0
+#define DST_IG_WRITE 1
+#define DST_IG_READ 2
+#define DST_IG_TS 3