Searched refs:max_mididev (Results 1 – 6 of 6) sorted by relevance
36 static int max_mididev; variable290 if (dev >= max_mididev || midi_devs[dev]==NULL) in sequencer_write()939 max_mididev = 0; in setup_mode2()985 max_mididev = num_midis; in sequencer_open()1021 if (!max_synthdev && !max_mididev) in sequencer_open()1029 for (i = 0; i < max_mididev; i++) in sequencer_open()1068 for (i = 0; i < max_mididev; i++) in sequencer_open()1108 for (i = 0; i < max_mididev; i++) in seq_drain_midi_queues()1174 for (i = 0; i < max_mididev; i++) in sequencer_release()1265 for (i = 0; i < max_mididev; i++) in seq_reset()[all …]
286 dp->max_mididev = max_midi_devs; in snd_seq_oss_midi_setup()296 for (i = 0; i < dp->max_mididev; i++) in snd_seq_oss_midi_cleanup()298 dp->max_mididev = 0; in snd_seq_oss_midi_cleanup()309 for (i = 0; i < dp->max_mididev; i++) in snd_seq_oss_midi_open_all()320 if (dev < 0 || dev >= dp->max_mididev) in get_mididev()
99 int max_mididev; member
208 if (dp->synth_opened == 0 && dp->max_mididev == 0) { in snd_seq_oss_open()480 for (i = 0; i < dp->max_mididev; i++) in snd_seq_oss_reset()
146 return put_user(dp->max_mididev, p) ? -EFAULT : 0; in snd_seq_oss_ioctl()
280 for (i = 0; i < dp->max_mididev; i++) { in snd_seq_oss_synth_setup_midi()