Linux 4.16.11
[linux/fpc-iii.git] / drivers / usb / misc / rio500_usb.h
blob6db7a58634963ff146c5913732148205eca253f5
1 // SPDX-License-Identifier: GPL-2.0+
2 /* ----------------------------------------------------------------------
3 Copyright (C) 2000 Cesar Miquel (miquel@df.uba.ar)
4 ---------------------------------------------------------------------- */
6 #define RIO_SEND_COMMAND 0x1
7 #define RIO_RECV_COMMAND 0x2
9 #define RIO_DIR_OUT 0x0
10 #define RIO_DIR_IN 0x1
12 struct RioCommand {
13 short length;
14 int request;
15 int requesttype;
16 int value;
17 int index;
18 void __user *buffer;
19 int timeout;