Home
last modified time | relevance | path

Searched refs:vmidi (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/sound/core/seq/
Dseq_virmidi.c44 static void snd_virmidi_init_event(struct snd_virmidi *vmidi, in snd_virmidi_init_event() argument
48 ev->source.port = vmidi->port; in snd_virmidi_init_event()
49 switch (vmidi->seq_mode) { in snd_virmidi_init_event()
55 ev->dest.client = vmidi->client; in snd_virmidi_init_event()
56 ev->dest.port = vmidi->port; in snd_virmidi_init_event()
69 struct snd_virmidi *vmidi; in snd_virmidi_dev_receive_event() local
77 list_for_each_entry(vmidi, &rdev->filelist, list) { in snd_virmidi_dev_receive_event()
78 if (!READ_ONCE(vmidi->trigger)) in snd_virmidi_dev_receive_event()
83 snd_seq_dump_var_event(ev, (snd_seq_dump_func_t)snd_rawmidi_receive, vmidi->substream); in snd_virmidi_dev_receive_event()
84 snd_midi_event_reset_decode(vmidi->parser); in snd_virmidi_dev_receive_event()
[all …]
/linux-5.19.10/sound/synth/emux/
Demux_seq.c356 emu->vmidi = NULL; in snd_emux_init_virmidi()
360 emu->vmidi = kcalloc(emu->midi_ports, sizeof(*emu->vmidi), GFP_KERNEL); in snd_emux_init_virmidi()
361 if (!emu->vmidi) in snd_emux_init_virmidi()
378 emu->vmidi[i] = rmidi; in snd_emux_init_virmidi()
393 if (!emu->vmidi) in snd_emux_delete_virmidi()
397 if (emu->vmidi[i]) in snd_emux_delete_virmidi()
398 snd_device_free(emu->card, emu->vmidi[i]); in snd_emux_delete_virmidi()
400 kfree(emu->vmidi); in snd_emux_delete_virmidi()
401 emu->vmidi = NULL; in snd_emux_delete_virmidi()
/linux-5.19.10/sound/drivers/
Dvirmidi.c74 struct snd_card_virmidi *vmidi; in snd_virmidi_probe() local
82 vmidi = card->private_data; in snd_virmidi_probe()
83 vmidi->card = card; in snd_virmidi_probe()
97 vmidi->midi[idx] = rmidi; in snd_virmidi_probe()
/linux-5.19.10/include/sound/
Demux_synth.h107 struct snd_rawmidi **vmidi; member