drm/virtio: Add drm_panic support
[drm/drm-misc.git] / sound / usb / usx2y / us122l.h
blob8e59b78d35142d4e35c6d11fb334c6db091615aa
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef US122L_H
3 #define US122L_H
6 struct us122l {
7 struct usb_device *dev;
8 int card_index;
9 int stride;
10 struct usb_stream_kernel sk;
12 struct mutex mutex;
13 struct file *first;
14 unsigned int second_periods_polled;
15 struct file *master;
16 struct file *slave;
17 struct list_head midi_list;
19 bool is_us144;
23 #define US122L(c) ((struct us122l *)(c)->private_data)
25 #define NAME_ALLCAPS "US-122L"
27 #define USB_ID_US122L 0x800E
28 #define USB_ID_US144 0x800F
29 #define USB_ID_US122MKII 0x8021
30 #define USB_ID_US144MKII 0x8020
32 #endif