Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
InterfaceAdapter.h
Go to the documentation of this file.
1 #ifndef _INTERFACE_ADAPTER_H
2 #define _INTERFACE_ADAPTER_H
3 
4 typedef struct _BULK_ENDP_IN
5 {
7  size_t bulk_in_size;
11 
12 
13 typedef struct _BULK_ENDP_OUT
14 {
16  size_t bulk_out_size;
19  //this is used when int out endpoint is used as bulk out end point
22 
23 typedef struct _INTR_ENDP_IN
24 {
26  size_t int_in_size;
31 
32 typedef struct _INTR_ENDP_OUT
33 {
35  size_t int_out_size;
40 
41 
42 typedef struct _USB_TCB
43 {
44  struct urb *urb;
47 }USB_TCB, *PUSB_TCB;
48 
49 
50 typedef struct _USB_RCB
51 {
52  struct urb *urb;
55 }USB_RCB, *PUSB_RCB;
56 
57 /*
58 //This is the interface specific Sub-Adapter
59 //Structure.
60 */
61 typedef struct _S_INTERFACE_ADAPTER
62 {
63  struct usb_device * udev;
65 
66  /* Bulk endpoint in info */
68  /* Bulk endpoint out info */
70  /* Interrupt endpoint in info */
72  /* Interrupt endpoint out info */
74 
75 
76 
78 
80 
87 
91 
96 
97 #endif