Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/sound/
Dmidibuf.c46 static struct midi_buf *midi_out_buf[MAX_MIDI_DEV] = {NULL}; variable
130 if (midi_devs[dev] != NULL && midi_out_buf[dev] != NULL) in midi_poll()
132 while (DATA_AVAIL(midi_out_buf[dev])) in midi_poll()
135 int c = midi_out_buf[dev]->queue[midi_out_buf[dev]->head]; in midi_poll()
142 midi_out_buf[dev]->head = (midi_out_buf[dev]->head + 1) % MAX_QUEUE_SIZE; in midi_poll()
143 midi_out_buf[dev]->len--; in midi_poll()
146 if (DATA_AVAIL(midi_out_buf[dev]) < 100) in midi_poll()
194 midi_out_buf[dev] = (struct midi_buf *) vmalloc(sizeof(struct midi_buf)); in MIDIbuf_open()
196 if (midi_out_buf[dev] == NULL) in MIDIbuf_open()
204 midi_out_buf[dev]->len = midi_out_buf[dev]->head = midi_out_buf[dev]->tail = 0; in MIDIbuf_open()
[all …]