Searched refs:max_synthdev (Results 1 – 4 of 4) sorted by relevance
206 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()
86 int max_synthdev; member
120 return put_user(dp->max_synthdev, p) ? -EFAULT : 0; in snd_seq_oss_ioctl()
429 for (i = 0; i < dp->max_synthdev; i++) in snd_seq_oss_reset()