Home
last modified time | relevance | path

Searched refs:midi2 (Results 1 – 15 of 15) sorted by relevance

/openbmc/linux/sound/core/
H A Dump_convert.c102 static int cvt_ump_midi2_to_legacy(const union snd_ump_midi2_msg *midi2, in cvt_ump_midi2_to_legacy() argument
105 unsigned char status = midi2->note.status; in cvt_ump_midi2_to_legacy()
106 unsigned char channel = midi2->note.channel; in cvt_ump_midi2_to_legacy()
113 buf[1] = midi2->note.note; in cvt_ump_midi2_to_legacy()
114 buf[2] = downscale_16_to_7bit(midi2->note.velocity); in cvt_ump_midi2_to_legacy()
119 buf[1] = midi2->paf.note; in cvt_ump_midi2_to_legacy()
120 buf[2] = downscale_32_to_7bit(midi2->paf.data); in cvt_ump_midi2_to_legacy()
123 buf[1] = midi2->cc.index; in cvt_ump_midi2_to_legacy()
124 buf[2] = downscale_32_to_7bit(midi2->cc.data); in cvt_ump_midi2_to_legacy()
127 buf[1] = downscale_32_to_7bit(midi2->caf.data); in cvt_ump_midi2_to_legacy()
[all …]
/openbmc/linux/drivers/usb/gadget/function/
H A Df_midi2.c502 struct f_midi2 *midi2 = ep->card; in reply_ump_stream_string() local
533 if (midi2->info.req_buf_size - req->length < UMP_STREAM_PKT_BYTES) in reply_ump_stream_string()
610 struct f_midi2 *midi2 = ep->card; in process_ump_stream_msg() local
633 DBG(midi2, "Switching Protocol to MIDI2\n"); in process_ump_stream_msg()
636 DBG(midi2, "Switching Protocol to MIDI1\n"); in process_ump_stream_msg()
689 struct f_midi2 *midi2 = ep->card; in f_midi2_ep_out_complete() local
693 DBG(midi2, "%s complete error %d: %d/%d\n", in f_midi2_ep_out_complete()
701 if (midi2->info.process_ump) in f_midi2_ep_out_complete()
706 if (midi2->operation_mode != MIDI_OP_MODE_MIDI2) in f_midi2_ep_out_complete()
721 struct f_midi2 *midi2 = ep->card; in process_ump_transmit() local
[all …]
/openbmc/linux/sound/core/seq/
H A Dseq_ump_convert.c370 union snd_ump_midi2_msg *midi2 = (union snd_ump_midi2_msg *)ev_cvt.ump; in cvt_ump_midi1_to_midi2() local
376 midi2->note.type = UMP_MSG_TYPE_MIDI2_CHANNEL_VOICE; in cvt_ump_midi1_to_midi2()
377 midi2->note.group = midi1->note.group; in cvt_ump_midi1_to_midi2()
378 midi2->note.status = midi1->note.status; in cvt_ump_midi1_to_midi2()
379 midi2->note.channel = midi1->note.channel; in cvt_ump_midi1_to_midi2()
383 midi2->note.note = midi1->note.note; in cvt_ump_midi1_to_midi2()
384 midi2->note.velocity = upscale_7_to_16bit(midi1->note.velocity); in cvt_ump_midi1_to_midi2()
387 midi2->paf.note = midi1->paf.note; in cvt_ump_midi1_to_midi2()
388 midi2->paf.data = upscale_7_to_32bit(midi1->paf.data); in cvt_ump_midi1_to_midi2()
402 midi2->cc.index = midi1->cc.index; in cvt_ump_midi1_to_midi2()
[all …]
/openbmc/linux/Documentation/sound/designs/
H A Dmidi-2.0.rst411 % mkdir functions/midi2.usb0
428 % echo "ACMESynth" > functions/midi2.usb0/iface_name
429 % echo "ACMESynth" > functions/midi2.usb0/ep.0/ep_name
430 % echo "ABCD12345" > functions/midi2.usb0/ep.0/product_id
431 % echo 0x0123 > functions/midi2.usb0/ep.0/family
432 % echo 0x4567 > functions/midi2.usb0/ep.0/model
433 % echo 0x123456 > functions/midi2.usb0/ep.0/manufacturer
434 % echo 0x12345678 > functions/midi2.usb0/ep.0/sw_revision
438 % echo 2 > functions/midi2.usb0/ep.0/protocol
443 % echo "Monosynth" > functions/midi2.usb0/ep.0/block.0/name
[all …]
/openbmc/linux/Documentation/ABI/testing/
H A Dconfigfs-usb-gadget-midi21 What: /config/usb-gadget/gadget/functions/midi2.name
13 What: /config/usb-gadget/gadget/functions/midi2.name/ep.number
33 What: /config/usb-gadget/gadget/functions/midi2.name/ep.number/block.number
/openbmc/linux/sound/pci/emu10k1/
H A Dirq.c112 if (emu->midi2.interrupt) in snd_emu10k1_interrupt()
113 emu->midi2.interrupt(emu, status); in snd_emu10k1_interrupt()
H A Demumpu401.c102 do_emu10k1_midi_interrupt(emu, &emu->midi2, status); in snd_emu10k1_midi_interrupt2()
370 midi = &emu->midi2; in snd_emu10k1_audigy_midi()
/openbmc/linux/sound/usb/
H A DMakefile25 snd-usb-audio-$(CONFIG_SND_USB_AUDIO_MIDI_V2) += midi2.o
/openbmc/linux/sound/pci/ca0106/
H A Dca0106.h693 struct snd_ca_midi midi2; member
H A Dca0106_main.c1684 midi = &chip->midi2; in snd_ca0106_midi()
/openbmc/linux/arch/alpha/kernel/
H A Dsmc37c669.c350 unsigned midi2 : 1; /* See note above */ member
/openbmc/linux/include/sound/
H A Demu10k1.h1780 struct snd_emu10k1_midi midi2; /* for audigy */ member
/openbmc/linux/Documentation/usb/
H A Dgadget-testing.rst983 The function name to use when creating the function directory is "midi2".
984 The midi2 function provides these attributes in its function directory
/openbmc/linux/Documentation/admin-guide/
H A Ddevices.txt740 2 = /dev/midi2 Third MIDI port, kernel timed
/openbmc/linux/
H A Dopengrok0.0.log2088 2024-12-28 20:09:06.370-0600 FINEST t1083 PendingFileCompleter.doRename: Moved pending as file: '/opengrok/data/xref/openbmc/linux/sound/usb/midi2.c.gz'
[all...]