2008-07-30 13:13:29 +00:00
|
|
|
#ifndef US122L_H
|
|
|
|
#define US122L_H
|
|
|
|
|
|
|
|
|
|
|
|
struct us122l {
|
2009-11-16 11:26:30 +00:00
|
|
|
struct usb_device *dev;
|
|
|
|
int card_index;
|
2008-07-30 13:13:29 +00:00
|
|
|
int stride;
|
|
|
|
struct usb_stream_kernel sk;
|
|
|
|
|
|
|
|
struct mutex mutex;
|
|
|
|
struct file *first;
|
|
|
|
unsigned second_periods_polled;
|
|
|
|
struct file *master;
|
|
|
|
struct file *slave;
|
2009-11-16 11:23:46 +00:00
|
|
|
struct list_head midi_list;
|
2008-07-30 13:13:29 +00:00
|
|
|
|
|
|
|
atomic_t mmap_count;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#define US122L(c) ((struct us122l *)(c)->private_data)
|
|
|
|
|
|
|
|
#define NAME_ALLCAPS "US-122L"
|
|
|
|
|
|
|
|
#define USB_ID_US122L 0x800E
|
|
|
|
#define USB_ID_US144 0x800F
|
2009-12-07 18:08:19 +00:00
|
|
|
#define USB_ID_US122MKII 0x8021
|
|
|
|
#define USB_ID_US144MKII 0x8020
|
2008-07-30 13:13:29 +00:00
|
|
|
|
|
|
|
#endif
|