Home
last modified time | relevance | path

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

/openbmc/linux/sound/core/
H A Dump_convert.c113 buf[1] = midi2->note.note; in cvt_ump_midi2_to_legacy()
119 buf[1] = midi2->paf.note; in cvt_ump_midi2_to_legacy()
123 buf[1] = midi2->cc.index; in cvt_ump_midi2_to_legacy()
130 if (midi2->pg.bank_valid) { in cvt_ump_midi2_to_legacy()
138 buf[7] = midi2->pg.program; in cvt_ump_midi2_to_legacy()
141 buf[1] = midi2->pg.program; in cvt_ump_midi2_to_legacy()
152 buf[2] = midi2->rpn.bank; in cvt_ump_midi2_to_legacy()
155 buf[5] = midi2->rpn.index; in cvt_ump_midi2_to_legacy()
369 midi2->note.note = buf[1]; in cvt_legacy_cmd_to_ump()
373 midi2->paf.note = buf[1]; in cvt_legacy_cmd_to_ump()
[all …]
/openbmc/linux/drivers/usb/gadget/function/
H A Df_midi2.c1299 f_midi2_stop_eps(&midi2->midi1_ep_in, &midi2->midi1_ep_out); in f_midi2_set_alt()
1760 if (midi2->num_midi1_in && midi2->num_midi1_out) in f_midi2_create_usb_configs()
1981 status = f_midi2_init_ep(midi2, NULL, &midi2->midi1_ep_in, in f_midi2_bind()
2695 kfree(midi2); in do_f_midi2_free()
2771 map = midi2->in_cable_mapping + midi2->num_midi1_in; in fill_midi1_cable_mapping()
2786 map = midi2->out_cable_mapping + midi2->num_midi1_out; in fill_midi1_cable_mapping()
2807 midi2 = kzalloc(sizeof(*midi2), GFP_KERNEL); in f_midi2_alloc()
2808 if (!midi2) in f_midi2_alloc()
2816 kfree(midi2); in f_midi2_alloc()
2849 midi2->string_defs = kcalloc(midi2->total_blocks + 1, in f_midi2_alloc()
[all …]
/openbmc/linux/sound/core/seq/
H A Dseq_ump_convert.c377 midi2->note.group = midi1->note.group; in cvt_ump_midi1_to_midi2()
383 midi2->note.note = midi1->note.note; in cvt_ump_midi1_to_midi2()
387 midi2->paf.note = midi1->paf.note; in cvt_ump_midi1_to_midi2()
402 midi2->cc.index = midi1->cc.index; in cvt_ump_midi1_to_midi2()
409 midi2->pg.bank_valid = 1; in cvt_ump_midi1_to_midi2()
448 midi1->note.group = midi2->note.group; in cvt_ump_midi2_to_midi1()
451 switch (midi2->note.status) { in cvt_ump_midi2_to_midi1()
454 midi1->note.note = midi2->note.note; in cvt_ump_midi2_to_midi1()
458 midi1->paf.note = midi2->paf.note; in cvt_ump_midi2_to_midi1()
462 midi1->cc.index = midi2->cc.index; in cvt_ump_midi2_to_midi1()
[all …]
/openbmc/linux/Documentation/sound/designs/
H A Dmidi-2.0.rst411 % mkdir functions/midi2.usb0
428 % echo "ACMESynth" > functions/midi2.usb0/iface_name
431 % echo 0x0123 > functions/midi2.usb0/ep.0/family
432 % echo 0x4567 > functions/midi2.usb0/ep.0/model
438 % echo 2 > functions/midi2.usb0/ep.0/protocol
449 % ln -s functions/midi2.usb0 configs/c.1
494 % echo 2 > functions/midi2.usb0/ep.0/block.0/ui_hint
501 % mkdir functions/midi2.usb0/ep.0/block.1
520 % echo 0 > functions/midi2.usb0/process_ump
542 % mkdir functions/midi2.usb0/ep.1
[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