Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
us122l.h
Go to the documentation of this file.
1 #ifndef US122L_H
2 #define US122L_H
3 
4 
5 struct us122l {
6  struct usb_device *dev;
7  int card_index;
8  int stride;
9  struct usb_stream_kernel sk;
10 
11  struct mutex mutex;
12  struct file *first;
14  struct file *master;
15  struct file *slave;
17 
19 };
20 
21 
22 #define US122L(c) ((struct us122l *)(c)->private_data)
23 
24 #define NAME_ALLCAPS "US-122L"
25 
26 #define USB_ID_US122L 0x800E
27 #define USB_ID_US144 0x800F
28 #define USB_ID_US122MKII 0x8021
29 #define USB_ID_US144MKII 0x8020
30 
31 #endif