Linux Kernel
3.7.1
|
Go to the source code of this file.
Macros | |
#define | ca_midi_write_data(midi, data) midi->write(midi, data, 0) |
#define | ca_midi_write_cmd(midi, data) midi->write(midi, data, 1) |
#define | ca_midi_read_data(midi) midi->read(midi, 0) |
#define | ca_midi_read_stat(midi) midi->read(midi, 1) |
#define | ca_midi_input_avail(midi) (!(ca_midi_read_stat(midi) & midi->input_avail)) |
#define | ca_midi_output_ready(midi) (!(ca_midi_read_stat(midi) & midi->output_ready)) |
Functions | |
int __devinit | ca_midi_init (void *dev_id, struct snd_ca_midi *midi, int device, char *name) |
#define ca_midi_input_avail | ( | midi | ) | (!(ca_midi_read_stat(midi) & midi->input_avail)) |
#define ca_midi_output_ready | ( | midi | ) | (!(ca_midi_read_stat(midi) & midi->output_ready)) |