Home
last modified time | relevance | path

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

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

Completed in 8 milliseconds