aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/mdtv/smscharioctl.h
blob: e57b89efc49924844e0c4ecafa35fa74e2ac35ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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__