Home
last modified time | relevance | path

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

/linux-6.1.9/sound/drivers/
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()
/linux-6.1.9/sound/core/seq/oss/
Dseq_oss_midi.c47 static struct seq_oss_midi *midi_devs[SNDRV_SEQ_OSS_MAX_MIDI_DEVS]; variable
100 mdev = midi_devs[dev]; in get_mdev()
119 mdev = midi_devs[i]; in find_slot()
193 if (midi_devs[i] == NULL) in snd_seq_oss_midi_check_new_port()
206 midi_devs[mdev->seq_device] = mdev; in snd_seq_oss_midi_check_new_port()
225 midi_devs[mdev->seq_device] = NULL; in snd_seq_oss_midi_check_exit_port()
234 if (midi_devs[index]) in snd_seq_oss_midi_check_exit_port()
255 mdev = midi_devs[i]; in snd_seq_oss_midi_clear_all()
259 midi_devs[i] = NULL; in snd_seq_oss_midi_clear_all()
/linux-6.1.9/Documentation/sound/
Dalsa-configuration.rst2413 midi_devs