summaryrefslogtreecommitdiff
path: root/linux/drivers/media/mdtv/smscharioctl.h
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2008-05-19 14:56:13 -0400
committerMichael Krufky <mkrufky@linuxtv.org>2008-05-19 14:56:13 -0400
commitaba072902ac0dc668d31da3c3cbaac0a5ed5d6e5 (patch)
tree541f15c437a2ca7e9241f8a3ffaedfc8670ef38f /linux/drivers/media/mdtv/smscharioctl.h
parentf240359569256bde592be1b5a647a301a1b40a6d (diff)
downloadmediapointer-dvb-s2-aba072902ac0dc668d31da3c3cbaac0a5ed5d6e5.tar.gz
mediapointer-dvb-s2-aba072902ac0dc668d31da3c3cbaac0a5ed5d6e5.tar.bz2
add support for SMS1010 and SMS1150 based digital television devices
From: Michael Krufky <mkrufky@linuxtv.org> initial driver drop, provided by Siano Mobile Silicon, Inc. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/mdtv/smscharioctl.h')
-rw-r--r--linux/drivers/media/mdtv/smscharioctl.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/linux/drivers/media/mdtv/smscharioctl.h b/linux/drivers/media/mdtv/smscharioctl.h
new file mode 100644
index 000000000..e57b89efc
--- /dev/null
+++ b/linux/drivers/media/mdtv/smscharioctl.h
@@ -0,0 +1,17 @@
+#ifndef __smscharioctl_h__
+#define __smscharioctl_h__
+
+#include <linux/ioctl.h>
+
+typedef struct _smschar_buffer_t
+{
+ unsigned long offset; // offset in common buffer (mapped to user space)
+ int size;
+} smschar_buffer_t;
+
+#define SMSCHAR_SET_DEVICE_MODE _IOW('K', 0, int)
+#define SMSCHAR_GET_DEVICE_MODE _IOR('K', 1, int)
+#define SMSCHAR_GET_BUFFER_SIZE _IOR('K', 2, int)
+#define SMSCHAR_WAIT_GET_BUFFER _IOR('K', 3, smschar_buffer_t)
+
+#endif // __smscharioctl_h__