V4L/DVB (8258): add support for SMS1010 and SMS1150 based digital television devices
[pandora-kernel.git] / drivers / media / mdtv / smscharioctl.h
1 #ifndef __smscharioctl_h__
2 #define __smscharioctl_h__
3
4 #include <linux/ioctl.h>
5
6 typedef struct _smschar_buffer_t
7 {
8         unsigned long offset;           // offset in common buffer (mapped to user space)
9         int size;
10 } smschar_buffer_t;
11
12 #define SMSCHAR_SET_DEVICE_MODE _IOW('K', 0, int)
13 #define SMSCHAR_GET_DEVICE_MODE _IOR('K', 1, int)
14 #define SMSCHAR_GET_BUFFER_SIZE _IOR('K', 2, int)
15 #define SMSCHAR_WAIT_GET_BUFFER _IOR('K', 3, smschar_buffer_t)
16
17 #endif // __smscharioctl_h__