Home
last modified time | relevance | path

Searched refs:max_mididev (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/sound/core/seq/oss/
Dseq_oss_midi.c274 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()
Dseq_oss_device.h83 int max_mididev; member
Dseq_oss_init.c200 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()
Dseq_oss_ioctl.c123 return put_user(dp->max_mididev, p) ? -EFAULT : 0; in snd_seq_oss_ioctl()
Dseq_oss_synth.c266 for (i = 0; i < dp->max_mididev; i++) { in snd_seq_oss_synth_setup_midi()