aboutsummaryrefslogtreecommitdiffstats
path: root/sound/usb/usx2y/us122l.h
diff options
context:
space:
mode:
Diffstat (limited to 'sound/usb/usx2y/us122l.h')
-rw-r--r--sound/usb/usx2y/us122l.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/sound/usb/usx2y/us122l.h b/sound/usb/usx2y/us122l.h
new file mode 100644
index 000000000000..3d10c4b2a0f5
--- /dev/null
+++ b/sound/usb/usx2y/us122l.h
@@ -0,0 +1,27 @@
1#ifndef US122L_H
2#define US122L_H
3
4
5struct 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