Home
last modified time | relevance | path

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

/linux-3.4.99/sound/oss/
Dsequencer.c36 static int max_mididev; variable
290 if (dev >= max_mididev || midi_devs[dev]==NULL) in sequencer_write()
939 max_mididev = 0; in setup_mode2()
985 max_mididev = num_midis; in sequencer_open()
1021 if (!max_synthdev && !max_mididev) in sequencer_open()
1029 for (i = 0; i < max_mididev; i++) in sequencer_open()
1068 for (i = 0; i < max_mididev; i++) in sequencer_open()
1108 for (i = 0; i < max_mididev; i++) in seq_drain_midi_queues()
1174 for (i = 0; i < max_mididev; i++) in sequencer_release()
1265 for (i = 0; i < max_mididev; i++) in seq_reset()
[all …]
/linux-3.4.99/sound/core/seq/oss/
Dseq_oss_midi.c286 dp->max_mididev = max_midi_devs; in snd_seq_oss_midi_setup()
296 for (i = 0; i < dp->max_mididev; i++) in snd_seq_oss_midi_cleanup()
298 dp->max_mididev = 0; in snd_seq_oss_midi_cleanup()
309 for (i = 0; i < dp->max_mididev; i++) in snd_seq_oss_midi_open_all()
320 if (dev < 0 || dev >= dp->max_mididev) in get_mididev()
Dseq_oss_device.h99 int max_mididev; member
Dseq_oss_init.c208 if (dp->synth_opened == 0 && dp->max_mididev == 0) { in snd_seq_oss_open()
480 for (i = 0; i < dp->max_mididev; i++) in snd_seq_oss_reset()
Dseq_oss_ioctl.c146 return put_user(dp->max_mididev, p) ? -EFAULT : 0; in snd_seq_oss_ioctl()
Dseq_oss_synth.c280 for (i = 0; i < dp->max_mididev; i++) { in snd_seq_oss_synth_setup_midi()