Home
last modified time | relevance | path

Searched refs:max_synthdev (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/sound/core/seq/oss/
Dseq_oss_synth.c206 dp->max_synthdev = max_synth_devs; in snd_seq_oss_synth_setup()
209 for (i = 0; i < dp->max_synthdev; i++) { in snd_seq_oss_synth_setup()
263 if (dp->max_synthdev >= SNDRV_SEQ_OSS_MAX_SYNTH_DEVS) in snd_seq_oss_synth_setup_midi()
268 info = &dp->synths[dp->max_synthdev]; in snd_seq_oss_synth_setup_midi()
281 dp->max_synthdev++; in snd_seq_oss_synth_setup_midi()
282 if (dp->max_synthdev >= SNDRV_SEQ_OSS_MAX_SYNTH_DEVS) in snd_seq_oss_synth_setup_midi()
299 if (snd_BUG_ON(dp->max_synthdev > SNDRV_SEQ_OSS_MAX_SYNTH_DEVS)) in snd_seq_oss_synth_cleanup()
301 for (i = 0; i < dp->max_synthdev; i++) { in snd_seq_oss_synth_cleanup()
327 dp->max_synthdev = 0; in snd_seq_oss_synth_cleanup()
333 if (dev < 0 || dev >= dp->max_synthdev) in get_synthinfo_nospec()
Dseq_oss_device.h86 int max_synthdev; member
Dseq_oss_ioctl.c120 return put_user(dp->max_synthdev, p) ? -EFAULT : 0; in snd_seq_oss_ioctl()
Dseq_oss_init.c429 for (i = 0; i < dp->max_synthdev; i++) in snd_seq_oss_reset()