Searched refs:max_mididev (Results 1 – 5 of 5) sorted by relevance
271 dp->max_mididev = max_midi_devs; in snd_seq_oss_midi_setup()282 for (i = 0; i < dp->max_mididev; i++) in snd_seq_oss_midi_cleanup()284 dp->max_mididev = 0; in snd_seq_oss_midi_cleanup()295 for (i = 0; i < dp->max_mididev; i++) in snd_seq_oss_midi_open_all()306 if (dev < 0 || dev >= dp->max_mididev) in get_mididev()308 dev = array_index_nospec(dev, dp->max_mididev); in get_mididev()
83 int max_mididev; member
195 if (dp->synth_opened == 0 && dp->max_mididev == 0) { in snd_seq_oss_open()434 for (i = 0; i < dp->max_mididev; i++) in snd_seq_oss_reset()
123 return put_user(dp->max_mididev, p) ? -EFAULT : 0; in snd_seq_oss_ioctl()
266 for (i = 0; i < dp->max_mididev; i++) { in snd_seq_oss_synth_setup_midi()