Merge branch 'drm-intel-next' of git://git.kernel.org/pub/scm/linux/kernel/git/anholt...
[linux-2.6] / sound / usb / usx2y / us122l.h
1 #ifndef US122L_H
2 #define US122L_H
3
4
5 struct us122l {
6         struct snd_usb_audio    chip;
7         int                     stride;
8         struct usb_stream_kernel sk;
9
10         struct mutex            mutex;
11         struct file             *first;
12         unsigned                second_periods_polled;
13         struct file             *master;
14         struct file             *slave;
15
16         atomic_t                mmap_count;
17 };
18
19
20 #define US122L(c) ((struct us122l *)(c)->private_data)
21
22 #define NAME_ALLCAPS "US-122L"
23
24 #define USB_ID_US122L 0x800E
25 #define USB_ID_US144 0x800F
26
27 #endif