Searched refs:num_midis (Results 1 – 6 of 6) sorted by relevance
38 int num_midis; variable39 EXPORT_SYMBOL(num_midis);176 if(i>=num_midis) in sound_alloc_mididev()177 num_midis = i + 1; in sound_alloc_mididev()
128 for (dev = 0; dev < num_midis; dev++) in midi_poll()164 if (num_midis > MAX_MIDI_DEV) in MIDIbuf_open()167 num_midis = MAX_MIDI_DEV; in MIDIbuf_open()169 if (dev < 0 || dev >= num_midis || midi_devs[dev] == NULL) in MIDIbuf_open()223 if (dev < 0 || dev >= num_midis || midi_devs[dev] == NULL) in MIDIbuf_release()
142 if (orig_dev < 0 || orig_dev > num_midis || midi_devs[orig_dev] == NULL) in midi_synth_input()429 if (orig_dev < 0 || orig_dev >= num_midis || midi_devs[orig_dev] == NULL) in midi_synth_open()
807 if (dev < 0 || dev >= num_midis || midi_devs[dev] == NULL) in play_event()914 for (dev = 0; dev < num_midis; dev++) in setup_mode2()968 if (!num_midis) in sequencer_open()982 max_mididev = num_midis; in sequencer_open()
364 extern int num_midis;
468 if (dev < 0 || dev >= num_midis || midi_devs[dev] == NULL) in mpu401_open()773 if (midi_dev < 0 || midi_dev >= num_midis || midi_devs[midi_dev] == NULL) in mpu_synth_ioctl()803 if (midi_dev < 0 || midi_dev > num_midis || midi_devs[midi_dev] == NULL) in mpu_synth_open()