Searched refs:vmidi (Results 1 – 4 of 4) sorted by relevance
44 static void snd_virmidi_init_event(struct snd_virmidi *vmidi, in snd_virmidi_init_event() argument48 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() local77 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 …]
356 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()
75 struct snd_card_virmidi *vmidi; in snd_virmidi_probe() local83 vmidi = card->private_data; in snd_virmidi_probe()84 vmidi->card = card; in snd_virmidi_probe()100 vmidi->midi[idx] = rmidi; in snd_virmidi_probe()
107 struct snd_rawmidi **vmidi; member