Searched refs:midi_out_buf (Results 1 – 4 of 4) sorted by relevance
46 static struct midi_buf *midi_out_buf[MAX_MIDI_DEV] = {NULL}; variable128 if (midi_devs[dev] != NULL && midi_out_buf[dev] != NULL) in midi_poll()130 while (DATA_AVAIL(midi_out_buf[dev])) in midi_poll()133 int c = midi_out_buf[dev]->queue[midi_out_buf[dev]->head]; in midi_poll()140 midi_out_buf[dev]->head = (midi_out_buf[dev]->head + 1) % MAX_QUEUE_SIZE; in midi_poll()141 midi_out_buf[dev]->len--; in midi_poll()144 if (DATA_AVAIL(midi_out_buf[dev]) < 100) in midi_poll()191 midi_out_buf[dev] = vmalloc(sizeof(struct midi_buf)); in MIDIbuf_open()193 if (midi_out_buf[dev] == NULL) in MIDIbuf_open()201 midi_out_buf[dev]->len = midi_out_buf[dev]->head = midi_out_buf[dev]->tail = 0; in MIDIbuf_open()[all …]
69 dev->midi_out_buf[0] = EP1_CMD_MIDI_WRITE; in snd_usb_caiaq_midi_send()70 dev->midi_out_buf[1] = 0; /* port */ in snd_usb_caiaq_midi_send()71 len = snd_rawmidi_transmit(substream, dev->midi_out_buf + 3, in snd_usb_caiaq_midi_send()77 dev->midi_out_buf[2] = len; in snd_usb_caiaq_midi_send()
78 unsigned char midi_out_buf[EP1_BUFSIZE]; member
426 dev->midi_out_buf, EP1_BUFSIZE, in init_card()