Home
last modified time | relevance | path

Searched refs:midi_in_buf (Results 1 – 1 of 1) sorted by relevance

/linux-2.4.37.9/drivers/sound/
Dmidibuf.c47 static struct midi_buf *midi_in_buf[MAX_MIDI_DEV] = {NULL}; variable
97 if (midi_in_buf[dev] == NULL) in midi_input_intr()
107 if (SPACE_AVAIL(midi_in_buf[dev])) { in midi_input_intr()
108 QUEUE_BYTE(midi_in_buf[dev], data); in midi_input_intr()
184 midi_in_buf[dev] = (struct midi_buf *) vmalloc(sizeof(struct midi_buf)); in MIDIbuf_open()
186 if (midi_in_buf[dev] == NULL) in MIDIbuf_open()
192 midi_in_buf[dev]->len = midi_in_buf[dev]->head = midi_in_buf[dev]->tail = 0; in MIDIbuf_open()
200 vfree(midi_in_buf[dev]); in MIDIbuf_open()
201 midi_in_buf[dev] = NULL; in MIDIbuf_open()
260 vfree(midi_in_buf[dev]); in MIDIbuf_release()
[all …]