|
Linux Kernel
3.7.1
|
#include <linux/init.h>#include <linux/interrupt.h>#include <linux/module.h>#include <linux/slab.h>#include <linux/spinlock.h>#include "sound_config.h"#include "mpu401.h"#include "midi_synth.h"Go to the source code of this file.
Data Structures | |
| struct | uart401_devc |
Macros | |
| #define | DATAPORT (devc->base) |
| #define | COMDPORT (devc->base+1) |
| #define | STATPORT (devc->base+1) |
| #define | input_avail(devc) (!(uart401_status(devc)&INPUT_AVAIL)) |
| #define | output_ready(devc) (!(uart401_status(devc)&OUTPUT_READY)) |
| #define | OUTPUT_READY 0x40 |
| #define | INPUT_AVAIL 0x80 |
| #define | MPU_ACK 0xFE |
| #define | MPU_RESET 0xFF |
| #define | UART_MODE_ON 0x3F |
| #define | MIDI_SYNTH_NAME "MPU-401 UART" |
| #define | MIDI_SYNTH_CAPS SYNTH_CAP_INPUT |
Typedefs | |
| typedef struct uart401_devc | uart401_devc |
Functions | |
| irqreturn_t | uart401intr (int irq, void *dev_id) |
| int | probe_uart401 (struct address_info *hw_config, struct module *owner) |
| void | unload_uart401 (struct address_info *hw_config) |
| EXPORT_SYMBOL (probe_uart401) | |
| EXPORT_SYMBOL (unload_uart401) | |
| EXPORT_SYMBOL (uart401intr) | |
| module_param (io, int, 0444) | |
| module_param (irq, int, 0444) | |
| module_init (init_uart401) | |
| module_exit (cleanup_uart401) | |
| __setup ("uart401=", setup_uart401) | |
| MODULE_LICENSE ("GPL") | |
| #define input_avail | ( | devc | ) | (!(uart401_status(devc)&INPUT_AVAIL)) |
| #define MIDI_SYNTH_CAPS SYNTH_CAP_INPUT |
| #define output_ready | ( | devc | ) | (!(uart401_status(devc)&OUTPUT_READY)) |
| typedef struct uart401_devc uart401_devc |
| __setup | ( | ) |
| EXPORT_SYMBOL | ( | probe_uart401 | ) |
| EXPORT_SYMBOL | ( | unload_uart401 | ) |
| EXPORT_SYMBOL | ( | uart401intr | ) |
| module_exit | ( | cleanup_uart401 | ) |
| module_init | ( | init_uart401 | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
| int probe_uart401 | ( | struct address_info * | hw_config, |
| struct module * | owner | ||
| ) |
| irqreturn_t uart401intr | ( | int | irq, |
| void * | dev_id | ||
| ) |
| void unload_uart401 | ( | struct address_info * | hw_config | ) |
1.8.2