brintos

brintos / linux-shallow public Read only

0
0
Text · 602 B · c32ae5e Raw
35 lines · c
1/* SPDX-License-Identifier: GPL-2.0 */2#ifndef US122L_H3#define US122L_H4 5 6struct us122l {7	struct usb_device	*dev;8	int			card_index;9	int			stride;10	struct usb_stream_kernel sk;11 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;18 19	atomic_t		mmap_count;20 21	bool			is_us144;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 0x800E30#define USB_ID_US144 0x800F31#define USB_ID_US122MKII 0x802132#define USB_ID_US144MKII 0x802033 34#endif35