summaryrefslogtreecommitdiff
path: root/drivers/usb/misc/rio500_usb.h
blob: 6db7a58634963ff146c5913732148205eca253f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// SPDX-License-Identifier: GPL-2.0+
/*  ----------------------------------------------------------------------
    Copyright (C) 2000  Cesar Miquel  (miquel@df.uba.ar)
    ---------------------------------------------------------------------- */

#define RIO_SEND_COMMAND			0x1
#define RIO_RECV_COMMAND			0x2

#define RIO_DIR_OUT               	        0x0
#define RIO_DIR_IN				0x1

struct RioCommand {
	short length;
	int request;
	int requesttype;
	int value;
	int index;
	void __user *buffer;
	int timeout;
};