Linux Kernel
3.7.1
|
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/spinlock.h>
#include "sound_config.h"
#include "midi_synth.h"
Go to the source code of this file.
Macros | |
#define | DATAPORT (uart6850_base) |
#define | COMDPORT (uart6850_base+1) |
#define | STATPORT (uart6850_base+1) |
#define | input_avail() (uart6850_status()&INPUT_AVAIL) |
#define | output_ready() (uart6850_status()&OUTPUT_READY) |
#define | OUTPUT_READY 0x02 /* Mask for data ready Bit */ |
#define | INPUT_AVAIL 0x01 /* Mask for Data Send Ready Bit */ |
#define | UART_RESET 0x95 |
#define | UART_MODE_ON 0x03 |
#define | MIDI_SYNTH_NAME "6850 UART Midi" |
#define | MIDI_SYNTH_CAPS SYNTH_CAP_INPUT |
Functions | |
module_param (io, int, 0) | |
module_param (irq, int, 0) | |
module_init (init_uart6850) | |
module_exit (cleanup_uart6850) | |
__setup ("uart6850=", setup_uart6850) | |
MODULE_LICENSE ("GPL") | |
#define COMDPORT (uart6850_base+1) |
Definition at line 39 of file uart6850.c.
#define DATAPORT (uart6850_base) |
Definition at line 38 of file uart6850.c.
#define input_avail | ( | ) | (uart6850_status()&INPUT_AVAIL) |
Definition at line 47 of file uart6850.c.
#define INPUT_AVAIL 0x01 /* Mask for Data Send Ready Bit */ |
Definition at line 66 of file uart6850.c.
#define MIDI_SYNTH_CAPS SYNTH_CAP_INPUT |
Definition at line 229 of file uart6850.c.
#define MIDI_SYNTH_NAME "6850 UART Midi" |
Definition at line 228 of file uart6850.c.
#define output_ready | ( | ) | (uart6850_status()&OUTPUT_READY) |
Definition at line 48 of file uart6850.c.
#define OUTPUT_READY 0x02 /* Mask for data ready Bit */ |
Definition at line 65 of file uart6850.c.
#define STATPORT (uart6850_base+1) |
Definition at line 40 of file uart6850.c.
#define UART_MODE_ON 0x03 |
Definition at line 69 of file uart6850.c.
#define UART_RESET 0x95 |
Definition at line 68 of file uart6850.c.
__setup | ( | ) |
module_exit | ( | cleanup_uart6850 | ) |
module_init | ( | init_uart6850 | ) |
MODULE_LICENSE | ( | "GPL" | ) |