Lines Matching refs:max_mididev
36 static int max_mididev;
290 if (dev >= max_mididev || midi_devs[dev]==NULL)
939 max_mididev = 0;
985 max_mididev = num_midis;
1021 if (!max_synthdev && !max_mididev)
1029 for (i = 0; i < max_mididev; i++)
1068 for (i = 0; i < max_mididev; i++)
1108 for (i = 0; i < max_mididev; i++)
1174 for (i = 0; i < max_mididev; i++)
1265 for (i = 0; i < max_mididev; i++)
1378 if (midi_dev < 0 || midi_dev >= max_mididev || !midi_devs[midi_dev])
1436 val = max_mididev;
1492 if (dev < 0 || dev >= max_mididev || !midi_devs[dev])