Lines Matching defs:protocol
486 snd_iprintf(buffer, "Protocol: 0x%08x\n", ump->info.protocol);
621 ump->info.protocol_caps = (buf->ep_info.protocol << 8) |
670 /* notify the protocol change to sequencer */
680 * snd_ump_switch_protocol - switch MIDI protocol
682 * @protocol: protocol to switch to
684 * Returns 1 if the protocol is actually switched, 0 if unchanged
686 int snd_ump_switch_protocol(struct snd_ump_endpoint *ump, unsigned int protocol)
688 protocol &= ump->info.protocol_caps;
689 if (protocol == ump->info.protocol)
692 ump->info.protocol = protocol;
693 ump_dbg(ump, "New protocol = %x (caps = %x)\n",
694 protocol, ump->info.protocol_caps);
700 /* handle EP stream config message; update the UMP protocol */
704 unsigned int protocol =
705 (buf->stream_cfg.protocol << 8) | buf->stream_cfg.jrts;
707 snd_ump_switch_protocol(ump, protocol);
1086 snd_ump_convert_to_ump(ctx, group, ump->info.protocol, c);