Home
last modified time | relevance | path

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

/sound/oss/
Dmidibuf.c48 static struct midi_buf *midi_out_buf[MAX_MIDI_DEV] = {NULL}; variable
129 if (midi_devs[dev] != NULL && midi_out_buf[dev] != NULL) in midi_poll()
131 while (DATA_AVAIL(midi_out_buf[dev])) in midi_poll()
134 int c = midi_out_buf[dev]->queue[midi_out_buf[dev]->head]; in midi_poll()
141 midi_out_buf[dev]->head = (midi_out_buf[dev]->head + 1) % MAX_QUEUE_SIZE; in midi_poll()
142 midi_out_buf[dev]->len--; in midi_poll()
145 if (DATA_AVAIL(midi_out_buf[dev]) < 100) in midi_poll()
192 midi_out_buf[dev] = vmalloc(sizeof(struct midi_buf)); in MIDIbuf_open()
194 if (midi_out_buf[dev] == NULL) in MIDIbuf_open()
202 midi_out_buf[dev]->len = midi_out_buf[dev]->head = midi_out_buf[dev]->tail = 0; in MIDIbuf_open()
[all …]
/sound/usb/caiaq/
Dmidi.c71 cdev->midi_out_buf[0] = EP1_CMD_MIDI_WRITE; in snd_usb_caiaq_midi_send()
72 cdev->midi_out_buf[1] = 0; /* port */ in snd_usb_caiaq_midi_send()
73 len = snd_rawmidi_transmit(substream, cdev->midi_out_buf + 3, in snd_usb_caiaq_midi_send()
79 cdev->midi_out_buf[2] = len; in snd_usb_caiaq_midi_send()
Ddevice.h71 unsigned char midi_out_buf[EP1_BUFSIZE]; member
Ddevice.c461 cdev->midi_out_buf, EP1_BUFSIZE, in init_card()
/sound/usb/bcd2000/
Dbcd2000.c61 unsigned char midi_out_buf[BUFSIZE]; member
147 memcpy(bcd2k->midi_out_buf, device_cmd_prefix, in bcd2000_midi_send()
155 bcd2k->midi_out_buf + 3, BUFSIZE - 3); in bcd2000_midi_send()
165 bcd2k->midi_out_buf[2] = len; in bcd2000_midi_send()
169 bcd2k->midi_out_buf, len+3); in bcd2000_midi_send()
276 memcpy(bcd2k->midi_out_buf, bcd2000_init_sequence, 52); in bcd2000_init_device()
342 bcd2k->midi_out_buf, BUFSIZE, in bcd2000_init_midi()