Home
last modified time | relevance | path

Searched refs:midi_devs (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/sound/drivers/
H A Dvirmidi.c41 #undef midi_devs
52 static int midi_devs[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 4}; variable
60 module_param_array(midi_devs, int, NULL, 0444);
61 MODULE_PARM_DESC(midi_devs, "MIDI devices # (1-4)");
85 if (midi_devs[dev] > MAX_MIDI_DEVICES) { in snd_virmidi_probe()
89 midi_devs[dev] = MAX_MIDI_DEVICES; in snd_virmidi_probe()
91 for (idx = 0; idx < midi_devs[dev]; idx++) { in snd_virmidi_probe()
/openbmc/linux/sound/core/seq/oss/
H A Dseq_oss_midi.c48 static struct seq_oss_midi *midi_devs[SNDRV_SEQ_OSS_MAX_MIDI_DEVS]; variable
101 mdev = midi_devs[dev]; in get_mdev()
120 mdev = midi_devs[i]; in find_slot()
195 if (midi_devs[i] == NULL) in snd_seq_oss_midi_check_new_port()
208 midi_devs[mdev->seq_device] = mdev; in snd_seq_oss_midi_check_new_port()
227 midi_devs[mdev->seq_device] = NULL; in snd_seq_oss_midi_check_exit_port()
236 if (midi_devs[index]) in snd_seq_oss_midi_check_exit_port()
257 mdev = midi_devs[i]; in snd_seq_oss_midi_clear_all()
261 midi_devs[i] = NULL; in snd_seq_oss_midi_clear_all()
/openbmc/linux/Documentation/sound/
H A Dalsa-configuration.rst2427 midi_devs