Home
last modified time | relevance | path

Searched refs:num_midis (Results 1 – 6 of 6) sorted by relevance

/sound/oss/
Ddev_table.c38 int num_midis; variable
39 EXPORT_SYMBOL(num_midis);
176 if(i>=num_midis) in sound_alloc_mididev()
177 num_midis = i + 1; in sound_alloc_mididev()
Dmidibuf.c128 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()
Dmidi_synth.c142 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()
Dsequencer.c807 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()
Ddev_table.h364 extern int num_midis;
Dmpu401.c468 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()