Go to the documentation of this file.
21 #define DRIVER_NAME "line6usb"
23 #if defined(CONFIG_LINE6_USB_DUMP_CTRL) || defined(CONFIG_LINE6_USB_DUMP_MIDI) || defined(CONFIG_LINE6_USB_DUMP_PCM)
24 #define CONFIG_LINE6_USB_DUMP_ANY
27 #define LINE6_TIMEOUT 1
28 #define LINE6_MAX_DEVICES 8
29 #define LINE6_BUFSIZE_LISTEN 32
30 #define LINE6_MESSAGE_MAXLEN 256
35 #define LINE6_PARAM_CHANGE 0xb0
36 #define LINE6_PROGRAM_CHANGE 0xc0
37 #define LINE6_SYSEX_BEGIN 0xf0
38 #define LINE6_SYSEX_END 0xf7
39 #define LINE6_RESET 0xff
45 #define LINE6_CHANNEL_HOST 0x00
50 #define LINE6_CHANNEL_DEVICE 0x02
52 #define LINE6_CHANNEL_UNKNOWN 5
54 #define LINE6_CHANNEL_MASK 0x0f
56 #ifdef CONFIG_LINE6_USB_DEBUG
57 #define DEBUG_MESSAGES(x) (x)
59 #define DEBUG_MESSAGES(x)
62 #define MISSING_CASE \
63 printk(KERN_ERR "line6usb driver bug: missing case in %s:%d\n", \
66 #define CHECK_RETURN(x) \
73 #define CHECK_STARTUP_PROGRESS(x, n) \
84 static const int SYSEX_EXTRA_SIZE =
sizeof(
line6_midi_id) + 4;
202 int code2,
int size);
224 void (*
function) (
unsigned long),
232 #ifdef CONFIG_LINE6_USB_DUMP_ANY
233 extern void line6_write_hexdump(
struct usb_line6 *line6,
char dir,