Lines Matching full:midi
19 * Nominally 3125 bytes/second, but the MIDI port's clock might be
26 * In any case, this is more than enough for the MIDI data rate.
47 struct snd_rawmidi_substream *midi[MAX_MIDI_PORTS]; member
123 * A first data channel is for MIDI messages, the rest is Multi Bit in amdtp_dot_set_parameters()
135 * We do not know the actual MIDI FIFO size of most devices. Just in amdtp_dot_set_parameters()
137 * the previous one is transmitted over MIDI. in amdtp_dot_set_parameters()
263 p->midi[port] != NULL) in write_midi_messages()
264 len = snd_rawmidi_transmit(p->midi[port], b + 1, 2); in write_midi_messages()
269 * - 0000b: physical MIDI port 1. in write_midi_messages()
270 * - 0010b: physical MIDI port 2. in write_midi_messages()
271 * - 1110b: console MIDI port. in write_midi_messages()
306 * - 0000b: physical MIDI port 1. Use port 0. in read_midi_messages()
307 * - 1110b: console MIDI port. Use port 2. in read_midi_messages()
314 if (port < MAX_MIDI_PORTS && p->midi[port]) in read_midi_messages()
315 snd_rawmidi_receive(p->midi[port], b + 1, len); in read_midi_messages()
336 struct snd_rawmidi_substream *midi) in amdtp_dot_midi_trigger() argument
341 WRITE_ONCE(p->midi[port], midi); in amdtp_dot_midi_trigger()