tag | line | file | source code |
midi_out_buf | 56 | drivers/sound/midibuf.c | static struct midi_buf *midi_out_buf[MAX_MIDI_DEV] = |
midi_out_buf | 144 | drivers/sound/midibuf.c | if (midi_out_buf[dev] != NULL) |
midi_out_buf | 146 | drivers/sound/midibuf.c | while (DATA_AVAIL (midi_out_buf[dev]) && |
midi_out_buf | 148 | drivers/sound/midibuf.c | midi_out_buf[dev]->queue[midi_out_buf[dev]->head])) |
midi_out_buf | 150 | drivers/sound/midibuf.c | midi_out_buf[dev]->head = (midi_out_buf[dev]->head + 1) % MAX_QUEUE_SIZE; |
midi_out_buf | 151 | drivers/sound/midibuf.c | midi_out_buf[dev]->len--; |
midi_out_buf | 154 | drivers/sound/midibuf.c | if (DATA_AVAIL (midi_out_buf[dev]) < 100 && |
midi_out_buf | 214 | drivers/sound/midibuf.c | midi_out_buf[dev] = (struct midi_buf *) KERNEL_MALLOC (sizeof (struct midi_buf)); |
midi_out_buf | 216 | drivers/sound/midibuf.c | if (midi_out_buf[dev] == NULL) |
midi_out_buf | 225 | drivers/sound/midibuf.c | midi_out_buf[dev]->len = midi_out_buf[dev]->head = midi_out_buf[dev]->tail = 0; |
midi_out_buf | 259 | drivers/sound/midibuf.c | DATA_AVAIL (midi_out_buf[dev])) |
midi_out_buf | 271 | drivers/sound/midibuf.c | KERNEL_FREE (midi_out_buf[dev]); |
midi_out_buf | 273 | drivers/sound/midibuf.c | midi_out_buf[dev] = NULL; |
midi_out_buf | 296 | drivers/sound/midibuf.c | n = SPACE_AVAIL (midi_out_buf[dev]); |
midi_out_buf | 309 | drivers/sound/midibuf.c | n = SPACE_AVAIL (midi_out_buf[dev]); |
midi_out_buf | 318 | drivers/sound/midibuf.c | QUEUE_BYTE (midi_out_buf[dev], tmp_data); |
midi_out_buf | 419 | drivers/sound/midibuf.c | if (SPACE_AVAIL (midi_out_buf[dev])) |