Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Variables
usbdevice_fs.h File Reference
#include <linux/types.h>
#include <linux/magic.h>

Go to the source code of this file.

Data Structures

struct  usbdevfs_ctrltransfer
 
struct  usbdevfs_bulktransfer
 
struct  usbdevfs_setinterface
 
struct  usbdevfs_disconnectsignal
 
struct  usbdevfs_getdriver
 
struct  usbdevfs_connectinfo
 
struct  usbdevfs_iso_packet_desc
 
struct  usbdevfs_urb
 
struct  usbdevfs_ioctl
 
struct  usbdevfs_hub_portinfo
 
struct  usbdevfs_disconnect_claim
 

Macros

#define USBDEVFS_MAXDRIVERNAME   255
 
#define USBDEVFS_URB_SHORT_NOT_OK   0x01
 
#define USBDEVFS_URB_ISO_ASAP   0x02
 
#define USBDEVFS_URB_BULK_CONTINUATION   0x04
 
#define USBDEVFS_URB_NO_FSBR   0x20
 
#define USBDEVFS_URB_ZERO_PACKET   0x40
 
#define USBDEVFS_URB_NO_INTERRUPT   0x80
 
#define USBDEVFS_URB_TYPE_ISO   0
 
#define USBDEVFS_URB_TYPE_INTERRUPT   1
 
#define USBDEVFS_URB_TYPE_CONTROL   2
 
#define USBDEVFS_URB_TYPE_BULK   3
 
#define USBDEVFS_CAP_ZERO_PACKET   0x01
 
#define USBDEVFS_CAP_BULK_CONTINUATION   0x02
 
#define USBDEVFS_CAP_NO_PACKET_SIZE_LIM   0x04
 
#define USBDEVFS_CAP_BULK_SCATTER_GATHER   0x08
 
#define USBDEVFS_DISCONNECT_CLAIM_IF_DRIVER   0x01
 
#define USBDEVFS_DISCONNECT_CLAIM_EXCEPT_DRIVER   0x02
 
#define USBDEVFS_CONTROL   _IOWR('U', 0, struct usbdevfs_ctrltransfer)
 
#define USBDEVFS_CONTROL32   _IOWR('U', 0, struct usbdevfs_ctrltransfer32)
 
#define USBDEVFS_BULK   _IOWR('U', 2, struct usbdevfs_bulktransfer)
 
#define USBDEVFS_BULK32   _IOWR('U', 2, struct usbdevfs_bulktransfer32)
 
#define USBDEVFS_RESETEP   _IOR('U', 3, unsigned int)
 
#define USBDEVFS_SETINTERFACE   _IOR('U', 4, struct usbdevfs_setinterface)
 
#define USBDEVFS_SETCONFIGURATION   _IOR('U', 5, unsigned int)
 
#define USBDEVFS_GETDRIVER   _IOW('U', 8, struct usbdevfs_getdriver)
 
#define USBDEVFS_SUBMITURB   _IOR('U', 10, struct usbdevfs_urb)
 
#define USBDEVFS_SUBMITURB32   _IOR('U', 10, struct usbdevfs_urb32)
 
#define USBDEVFS_DISCARDURB   _IO('U', 11)
 
#define USBDEVFS_REAPURB   _IOW('U', 12, void *)
 
#define USBDEVFS_REAPURB32   _IOW('U', 12, __u32)
 
#define USBDEVFS_REAPURBNDELAY   _IOW('U', 13, void *)
 
#define USBDEVFS_REAPURBNDELAY32   _IOW('U', 13, __u32)
 
#define USBDEVFS_DISCSIGNAL   _IOR('U', 14, struct usbdevfs_disconnectsignal)
 
#define USBDEVFS_DISCSIGNAL32   _IOR('U', 14, struct usbdevfs_disconnectsignal32)
 
#define USBDEVFS_CLAIMINTERFACE   _IOR('U', 15, unsigned int)
 
#define USBDEVFS_RELEASEINTERFACE   _IOR('U', 16, unsigned int)
 
#define USBDEVFS_CONNECTINFO   _IOW('U', 17, struct usbdevfs_connectinfo)
 
#define USBDEVFS_IOCTL   _IOWR('U', 18, struct usbdevfs_ioctl)
 
#define USBDEVFS_IOCTL32   _IOWR('U', 18, struct usbdevfs_ioctl32)
 
#define USBDEVFS_HUB_PORTINFO   _IOR('U', 19, struct usbdevfs_hub_portinfo)
 
#define USBDEVFS_RESET   _IO('U', 20)
 
#define USBDEVFS_CLEAR_HALT   _IOR('U', 21, unsigned int)
 
#define USBDEVFS_DISCONNECT   _IO('U', 22)
 
#define USBDEVFS_CONNECT   _IO('U', 23)
 
#define USBDEVFS_CLAIM_PORT   _IOR('U', 24, unsigned int)
 
#define USBDEVFS_RELEASE_PORT   _IOR('U', 25, unsigned int)
 
#define USBDEVFS_GET_CAPABILITIES   _IOR('U', 26, __u32)
 
#define USBDEVFS_DISCONNECT_CLAIM   _IOR('U', 27, struct usbdevfs_disconnect_claim)
 

Variables

struct usbdevfs_ctrltransfer __attribute__
 

Macro Definition Documentation

#define USBDEVFS_BULK   _IOWR('U', 2, struct usbdevfs_bulktransfer)

Definition at line 150 of file usbdevice_fs.h.

#define USBDEVFS_BULK32   _IOWR('U', 2, struct usbdevfs_bulktransfer32)

Definition at line 151 of file usbdevice_fs.h.

#define USBDEVFS_CAP_BULK_CONTINUATION   0x02

Definition at line 130 of file usbdevice_fs.h.

#define USBDEVFS_CAP_BULK_SCATTER_GATHER   0x08

Definition at line 132 of file usbdevice_fs.h.

#define USBDEVFS_CAP_NO_PACKET_SIZE_LIM   0x04

Definition at line 131 of file usbdevice_fs.h.

#define USBDEVFS_CAP_ZERO_PACKET   0x01

Definition at line 129 of file usbdevice_fs.h.

#define USBDEVFS_CLAIM_PORT   _IOR('U', 24, unsigned int)

Definition at line 175 of file usbdevice_fs.h.

#define USBDEVFS_CLAIMINTERFACE   _IOR('U', 15, unsigned int)

Definition at line 165 of file usbdevice_fs.h.

#define USBDEVFS_CLEAR_HALT   _IOR('U', 21, unsigned int)

Definition at line 172 of file usbdevice_fs.h.

#define USBDEVFS_CONNECT   _IO('U', 23)

Definition at line 174 of file usbdevice_fs.h.

#define USBDEVFS_CONNECTINFO   _IOW('U', 17, struct usbdevfs_connectinfo)

Definition at line 167 of file usbdevice_fs.h.

#define USBDEVFS_CONTROL   _IOWR('U', 0, struct usbdevfs_ctrltransfer)

Definition at line 148 of file usbdevice_fs.h.

#define USBDEVFS_CONTROL32   _IOWR('U', 0, struct usbdevfs_ctrltransfer32)

Definition at line 149 of file usbdevice_fs.h.

#define USBDEVFS_DISCARDURB   _IO('U', 11)

Definition at line 158 of file usbdevice_fs.h.

#define USBDEVFS_DISCONNECT   _IO('U', 22)

Definition at line 173 of file usbdevice_fs.h.

#define USBDEVFS_DISCONNECT_CLAIM   _IOR('U', 27, struct usbdevfs_disconnect_claim)

Definition at line 178 of file usbdevice_fs.h.

#define USBDEVFS_DISCONNECT_CLAIM_EXCEPT_DRIVER   0x02

Definition at line 139 of file usbdevice_fs.h.

#define USBDEVFS_DISCONNECT_CLAIM_IF_DRIVER   0x01

Definition at line 137 of file usbdevice_fs.h.

#define USBDEVFS_DISCSIGNAL   _IOR('U', 14, struct usbdevfs_disconnectsignal)

Definition at line 163 of file usbdevice_fs.h.

#define USBDEVFS_DISCSIGNAL32   _IOR('U', 14, struct usbdevfs_disconnectsignal32)

Definition at line 164 of file usbdevice_fs.h.

#define USBDEVFS_GET_CAPABILITIES   _IOR('U', 26, __u32)

Definition at line 177 of file usbdevice_fs.h.

#define USBDEVFS_GETDRIVER   _IOW('U', 8, struct usbdevfs_getdriver)

Definition at line 155 of file usbdevice_fs.h.

#define USBDEVFS_HUB_PORTINFO   _IOR('U', 19, struct usbdevfs_hub_portinfo)

Definition at line 170 of file usbdevice_fs.h.

#define USBDEVFS_IOCTL   _IOWR('U', 18, struct usbdevfs_ioctl)

Definition at line 168 of file usbdevice_fs.h.

#define USBDEVFS_IOCTL32   _IOWR('U', 18, struct usbdevfs_ioctl32)

Definition at line 169 of file usbdevice_fs.h.

#define USBDEVFS_MAXDRIVERNAME   255

Definition at line 66 of file usbdevice_fs.h.

#define USBDEVFS_REAPURB   _IOW('U', 12, void *)

Definition at line 159 of file usbdevice_fs.h.

#define USBDEVFS_REAPURB32   _IOW('U', 12, __u32)

Definition at line 160 of file usbdevice_fs.h.

#define USBDEVFS_REAPURBNDELAY   _IOW('U', 13, void *)

Definition at line 161 of file usbdevice_fs.h.

#define USBDEVFS_REAPURBNDELAY32   _IOW('U', 13, __u32)

Definition at line 162 of file usbdevice_fs.h.

#define USBDEVFS_RELEASE_PORT   _IOR('U', 25, unsigned int)

Definition at line 176 of file usbdevice_fs.h.

#define USBDEVFS_RELEASEINTERFACE   _IOR('U', 16, unsigned int)

Definition at line 166 of file usbdevice_fs.h.

#define USBDEVFS_RESET   _IO('U', 20)

Definition at line 171 of file usbdevice_fs.h.

#define USBDEVFS_RESETEP   _IOR('U', 3, unsigned int)

Definition at line 152 of file usbdevice_fs.h.

#define USBDEVFS_SETCONFIGURATION   _IOR('U', 5, unsigned int)

Definition at line 154 of file usbdevice_fs.h.

#define USBDEVFS_SETINTERFACE   _IOR('U', 4, struct usbdevfs_setinterface)

Definition at line 153 of file usbdevice_fs.h.

#define USBDEVFS_SUBMITURB   _IOR('U', 10, struct usbdevfs_urb)

Definition at line 156 of file usbdevice_fs.h.

#define USBDEVFS_SUBMITURB32   _IOR('U', 10, struct usbdevfs_urb32)

Definition at line 157 of file usbdevice_fs.h.

#define USBDEVFS_URB_BULK_CONTINUATION   0x04

Definition at line 80 of file usbdevice_fs.h.

#define USBDEVFS_URB_ISO_ASAP   0x02

Definition at line 79 of file usbdevice_fs.h.

#define USBDEVFS_URB_NO_FSBR   0x20

Definition at line 81 of file usbdevice_fs.h.

#define USBDEVFS_URB_NO_INTERRUPT   0x80

Definition at line 83 of file usbdevice_fs.h.

#define USBDEVFS_URB_SHORT_NOT_OK   0x01

Definition at line 78 of file usbdevice_fs.h.

#define USBDEVFS_URB_TYPE_BULK   3

Definition at line 88 of file usbdevice_fs.h.

#define USBDEVFS_URB_TYPE_CONTROL   2

Definition at line 87 of file usbdevice_fs.h.

#define USBDEVFS_URB_TYPE_INTERRUPT   1

Definition at line 86 of file usbdevice_fs.h.

#define USBDEVFS_URB_TYPE_ISO   0

Definition at line 85 of file usbdevice_fs.h.

#define USBDEVFS_URB_ZERO_PACKET   0x40

Definition at line 82 of file usbdevice_fs.h.

Variable Documentation