Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[linux-btrfs-devel.git] / sound / usb / usx2y / us122l.h
blobf263b3f96c86e508d9db861a4ffd39408ed798fd
1 #ifndef US122L_H
2 #define US122L_H
5 struct us122l {
6 struct usb_device *dev;
7 int card_index;
8 int stride;
9 struct usb_stream_kernel sk;
11 struct mutex mutex;
12 struct file *first;
13 unsigned second_periods_polled;
14 struct file *master;
15 struct file *slave;
16 struct list_head midi_list;
18 atomic_t mmap_count;
22 #define US122L(c) ((struct us122l *)(c)->private_data)
24 #define NAME_ALLCAPS "US-122L"
26 #define USB_ID_US122L 0x800E
27 #define USB_ID_US144 0x800F
28 #define USB_ID_US122MKII 0x8021
29 #define USB_ID_US144MKII 0x8020
31 #endif