#include <linux/module.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/spinlock.h>
#include "sound_config.h"
#include "coproc.h"
#include "mpu401.h"
#include "midi_synth.h"
Go to the source code of this file.
#define _SEQ_ADVBUF |
( |
|
x | ) |
len=x |
Value:
{
printk(
"MPU: Invalid buffer pointer %d/%d, s=%d\n",
dc->m_ptr,
dc->m_left,
dc->m_state);
dc->m_ptr--;}
Definition at line 63 of file mpu401.c.
#define input_avail |
( |
|
devc | ) |
(!(mpu401_status(devc)&INPUT_AVAIL)) |
#define MIDI_SYNTH_NAME "MPU-401 UART Midi" |
#define MPU_CAP_2PORT 0x00000001 |
#define MPU_CAP_CLS 0x00000040 |
#define MPU_CAP_FSK 0x00000020 |
#define MPU_CAP_INTLG 0x10000000 |
#define MPU_CAP_SMPTE 0x00000080 |
#define MPU_CAP_SYNC 0x00000010 |
#define output_ready |
( |
|
devc | ) |
(!(mpu401_status(devc)&OUTPUT_READY)) |
#define OUTPUT_READY 0x40 |
#define ST_DATABYTE 2 /* Waiting for (nr_left) data bytes */ |
#define ST_MTC 102 /* Midi Time Code (MTC) qframe msg */ |
#define ST_SONGPOS 104 /* Song position pointer */ |
#define ST_SONGSEL 103 /* Song select */ |
#define ST_SYSEX 101 /* System exclusive msg */ |
#define ST_SYSMSG 100 /* System message (sysx etc). */ |
Value:{ \
seq_input_event(obuf, len); \
}
Definition at line 163 of file mpu401.c.
#define UART_MODE_ON 0x3F |
#define USE_SIMPLE_MACROS |
module_exit |
( |
cleanup_mpu401 |
| ) |
|
module_init |
( |
init_mpu401 |
| ) |
|
module_param |
( |
irq |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
module_param |
( |
io |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |