Searched refs:max_mididev (Results 1 – 5 of 5) sorted by relevance
274 dp->max_mididev = max_midi_devs; in snd_seq_oss_midi_setup()285 for (i = 0; i < dp->max_mididev; i++) in snd_seq_oss_midi_cleanup()287 dp->max_mididev = 0; in snd_seq_oss_midi_cleanup()298 for (i = 0; i < dp->max_mididev; i++) in snd_seq_oss_midi_open_all()309 if (dev < 0 || dev >= dp->max_mididev) in get_mididev()311 dev = array_index_nospec(dev, dp->max_mididev); in get_mididev()
83 int max_mididev; member
200 if (dp->synth_opened == 0 && dp->max_mididev == 0) { in snd_seq_oss_open()439 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()