Searched refs:max_mididev (Results 1 – 5 of 5) sorted by relevance
283 dp->max_mididev = max_midi_devs; in snd_seq_oss_midi_setup()293 for (i = 0; i < dp->max_mididev; i++) in snd_seq_oss_midi_cleanup()295 dp->max_mididev = 0; in snd_seq_oss_midi_cleanup()306 for (i = 0; i < dp->max_mididev; i++) in snd_seq_oss_midi_open_all()317 if (dev < 0 || dev >= dp->max_mididev) in get_mididev()319 dev = array_index_nospec(dev, dp->max_mididev); in get_mididev()
95 int max_mididev; member
214 if (dp->synth_opened == 0 && dp->max_mididev == 0) { in snd_seq_oss_open()452 for (i = 0; i < dp->max_mididev; i++) in snd_seq_oss_reset()
136 return put_user(dp->max_mididev, p) ? -EFAULT : 0; in snd_seq_oss_ioctl()
279 for (i = 0; i < dp->max_mididev; i++) { in snd_seq_oss_synth_setup_midi()