License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[linux-2.6-block.git] / sound / usb / usx2y / us122l.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
030a07e4
KW
2#ifndef US122L_H
3#define US122L_H
4
5
6struct us122l {
a014bbad
CL
7 struct usb_device *dev;
8 int card_index;
030a07e4
KW
9 int stride;
10 struct usb_stream_kernel sk;
11
12 struct mutex mutex;
13 struct file *first;
14 unsigned second_periods_polled;
15 struct file *master;
16 struct file *slave;
d82af9f9 17 struct list_head midi_list;
030a07e4
KW
18
19 atomic_t mmap_count;
5c7e7d58
JH
20
21 bool is_us144;
030a07e4
KW
22};
23
24
25#define US122L(c) ((struct us122l *)(c)->private_data)
26
27#define NAME_ALLCAPS "US-122L"
28
29#define USB_ID_US122L 0x800E
30#define USB_ID_US144 0x800F
2b6f6c0d
TH
31#define USB_ID_US122MKII 0x8021
32#define USB_ID_US144MKII 0x8020
030a07e4
KW
33
34#endif