0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029 #ifndef _LINUX_USBDEVICE_FS_H
0030 #define _LINUX_USBDEVICE_FS_H
0031
0032 #include <uapi/linux/usbdevice_fs.h>
0033
0034 #ifdef CONFIG_COMPAT
0035 #include <linux/compat.h>
0036
0037 struct usbdevfs_ctrltransfer32 {
0038 u8 bRequestType;
0039 u8 bRequest;
0040 u16 wValue;
0041 u16 wIndex;
0042 u16 wLength;
0043 u32 timeout;
0044 compat_caddr_t data;
0045 };
0046
0047 struct usbdevfs_bulktransfer32 {
0048 compat_uint_t ep;
0049 compat_uint_t len;
0050 compat_uint_t timeout;
0051 compat_caddr_t data;
0052 };
0053
0054 struct usbdevfs_disconnectsignal32 {
0055 compat_int_t signr;
0056 compat_caddr_t context;
0057 };
0058
0059 struct usbdevfs_urb32 {
0060 unsigned char type;
0061 unsigned char endpoint;
0062 compat_int_t status;
0063 compat_uint_t flags;
0064 compat_caddr_t buffer;
0065 compat_int_t buffer_length;
0066 compat_int_t actual_length;
0067 compat_int_t start_frame;
0068 compat_int_t number_of_packets;
0069 compat_int_t error_count;
0070 compat_uint_t signr;
0071 compat_caddr_t usercontext;
0072 struct usbdevfs_iso_packet_desc iso_frame_desc[];
0073 };
0074
0075 struct usbdevfs_ioctl32 {
0076 s32 ifno;
0077 s32 ioctl_code;
0078 compat_caddr_t data;
0079 };
0080 #endif
0081 #endif