From aba072902ac0dc668d31da3c3cbaac0a5ed5d6e5 Mon Sep 17 00:00:00 2001 From: Michael Krufky Date: Mon, 19 May 2008 14:56:13 -0400 Subject: add support for SMS1010 and SMS1150 based digital television devices From: Michael Krufky initial driver drop, provided by Siano Mobile Silicon, Inc. Signed-off-by: Michael Krufky --- linux/drivers/media/mdtv/smscharioctl.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 linux/drivers/media/mdtv/smscharioctl.h (limited to 'linux/drivers/media/mdtv/smscharioctl.h') 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 + +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__ -- cgit v1.2.3