#include <linux/spinlock.h>
#include <linux/usb.h>
#include <sound/core.h>
#include "midi.h"
Go to the source code of this file.
|
char * | line6_alloc_sysex_buffer (struct usb_line6 *line6, int code1, int code2, int size) |
|
ssize_t | line6_nop_read (struct device *dev, struct device_attribute *attr, char *buf) |
|
ssize_t | line6_nop_write (struct device *dev, struct device_attribute *attr, const char *buf, size_t count) |
|
int | line6_read_data (struct usb_line6 *line6, int address, void *data, size_t datalen) |
|
int | line6_read_serial_number (struct usb_line6 *line6, int *serial_number) |
|
int | line6_send_program (struct usb_line6 *line6, u8 value) |
|
int | line6_send_raw_message (struct usb_line6 *line6, const char *buffer, int size) |
|
int | line6_send_raw_message_async (struct usb_line6 *line6, const char *buffer, int size) |
|
int | line6_send_sysex_message (struct usb_line6 *line6, const char *buffer, int size) |
|
int | line6_send_sysex_message_async (struct usb_line6 *line6, const char *buffer, int size) |
|
ssize_t | line6_set_raw (struct device *dev, struct device_attribute *attr, const char *buf, size_t count) |
|
void | line6_start_timer (struct timer_list *timer, unsigned int msecs, void(*function)(unsigned long), unsigned long data) |
|
int | line6_transmit_parameter (struct usb_line6 *line6, int param, u8 value) |
|
int | line6_version_request_async (struct usb_line6 *line6) |
|
int | line6_write_data (struct usb_line6 *line6, int address, void *data, size_t datalen) |
|
#define CHECK_RETURN |
( |
|
x | ) |
|
#define CHECK_STARTUP_PROGRESS |
( |
|
x, |
|
|
|
n |
|
) |
| |
Value:do { \
return; \
} while (0)
Definition at line 73 of file driver.h.
#define DEBUG_MESSAGES |
( |
|
x | ) |
|
#define DRIVER_NAME "line6usb" |
#define LINE6_BUFSIZE_LISTEN 32 |
#define LINE6_CHANNEL_DEVICE 0x02 |
#define LINE6_CHANNEL_HOST 0x00 |
#define LINE6_CHANNEL_MASK 0x0f |
#define LINE6_CHANNEL_UNKNOWN 5 /* don't know yet what this is good for */ |
#define LINE6_MAX_DEVICES 8 |
#define LINE6_MESSAGE_MAXLEN 256 |
#define LINE6_PARAM_CHANGE 0xb0 |
#define LINE6_PROGRAM_CHANGE 0xc0 |
#define LINE6_SYSEX_BEGIN 0xf0 |
#define LINE6_SYSEX_END 0xf7 |