Searched refs:num_midis (Results 1 – 8 of 8) sorted by relevance
129 for (dev = 0; dev < num_midis; dev++) in midi_poll()165 if (num_midis > MAX_MIDI_DEV) in MIDIbuf_open()168 num_midis = MAX_MIDI_DEV; in MIDIbuf_open()170 if (dev < 0 || dev >= num_midis || midi_devs[dev] == NULL) in MIDIbuf_open()226 if (dev < 0 || dev >= num_midis || midi_devs[dev] == NULL) in MIDIbuf_release()
150 if(i>=num_midis) in sound_alloc_mididev()151 num_midis = i + 1; in sound_alloc_mididev()
419 if (dev < 0 || dev >= num_midis || midi_devs[dev]==NULL) in wf_mpu_open()448 if (dev < 0 || dev >= num_midis || midi_devs[dev]==NULL) in wf_mpu_close()580 if (midi_dev < 0 || midi_dev > num_midis || midi_devs[midi_dev]==NULL) in wf_mpu_synth_ioctl()616 if (midi_dev < 0 || midi_dev > num_midis || midi_devs[midi_dev]==NULL) { in wf_mpu_synth_open()
23 EXPORT_SYMBOL(num_midis);
360 int num_midis; variable375 extern int num_midis;
141 if (orig_dev < 0 || orig_dev > num_midis || midi_devs[orig_dev] == NULL) in midi_synth_input()424 if (orig_dev < 0 || orig_dev > num_midis || midi_devs[orig_dev] == NULL) in midi_synth_open()
806 if (dev < 0 || dev >= num_midis || midi_devs[dev] == NULL) in play_event()913 for (dev = 0; dev < num_midis; dev++) in setup_mode2()970 if (!num_midis) in sequencer_open()988 max_mididev = num_midis; in sequencer_open()
475 if (dev < 0 || dev >= num_midis || midi_devs[dev] == NULL) in mpu401_open()785 if (midi_dev < 0 || midi_dev > num_midis || midi_devs[midi_dev] == NULL) in mpu_synth_ioctl()814 if (midi_dev < 0 || midi_dev > num_midis || midi_devs[midi_dev] == NULL) in mpu_synth_open()