Home
last modified time | relevance | path

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

/Linux-v4.19/sound/drivers/
Dvirmidi.c55 #undef midi_devs
67 static int midi_devs[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 4}; variable
75 module_param_array(midi_devs, int, NULL, 0444);
76 MODULE_PARM_DESC(midi_devs, "MIDI devices # (1-4)");
100 if (midi_devs[dev] > MAX_MIDI_DEVICES) { in snd_virmidi_probe()
104 midi_devs[dev] = MAX_MIDI_DEVICES; in snd_virmidi_probe()
106 for (idx = 0; idx < midi_devs[dev]; idx++) { in snd_virmidi_probe()
/Linux-v4.19/sound/core/seq/oss/
Dseq_oss_midi.c60 static struct seq_oss_midi *midi_devs[SNDRV_SEQ_OSS_MAX_MIDI_DEVS]; variable
113 mdev = midi_devs[dev]; in get_mdev()
132 mdev = midi_devs[i]; in find_slot()
205 if (midi_devs[i] == NULL) in snd_seq_oss_midi_check_new_port()
218 midi_devs[mdev->seq_device] = mdev; in snd_seq_oss_midi_check_new_port()
236 midi_devs[mdev->seq_device] = NULL; in snd_seq_oss_midi_check_exit_port()
245 if (midi_devs[index]) in snd_seq_oss_midi_check_exit_port()
266 if ((mdev = midi_devs[i]) != NULL) { in snd_seq_oss_midi_clear_all()
269 midi_devs[i] = NULL; in snd_seq_oss_midi_clear_all()
/Linux-v4.19/Documentation/sound/
Dalsa-configuration.rst2351 midi_devs