tag | line | file | source code |
num_midis | 68 | drivers/sound/dev_table.c | if (num_midis) |
num_midis | 73 | drivers/sound/dev_table.c | if (num_midis + num_synths) |
num_midis | 319 | drivers/sound/dev_table.c | return num_audiodevs + num_mixers + num_synths + num_midis; |
num_midis | 274 | drivers/sound/dev_table.h | struct midi_operations *midi_devs[MAX_MIDI_DEV] = {NULL}; int num_midis = 0; |
num_midis | 500 | drivers/sound/dev_table.h | extern struct midi_operations * midi_devs[MAX_MIDI_DEV]; extern int num_midis; |
num_midis | 255 | drivers/sound/gus_midi.c | if (num_midis >= MAX_MIDI_DEV) |
num_midis | 263 | drivers/sound/gus_midi.c | std_midi_synth.midi_dev = my_dev = num_midis; |
num_midis | 264 | drivers/sound/gus_midi.c | midi_devs[num_midis++] = &gus_midi_operations; |
num_midis | 219 | drivers/sound/mad16_sb_midi.c | if (num_midis == 1) |
num_midis | 346 | drivers/sound/mad16_sb_midi.c | if (num_midis >= MAX_MIDI_DEV) |
num_midis | 352 | drivers/sound/mad16_sb_midi.c | std_midi_synth.midi_dev = num_midis; |
num_midis | 353 | drivers/sound/mad16_sb_midi.c | my_dev = num_midis; |
num_midis | 354 | drivers/sound/mad16_sb_midi.c | midi_devs[num_midis++] = &mad16_sb_midi_operations; |
num_midis | 282 | drivers/sound/maui.c | int this_dev = num_midis; |
num_midis | 289 | drivers/sound/maui.c | if (num_midis > this_dev) /* The MPU401 driver installed itself */ |
num_midis | 167 | drivers/sound/midi_synth.c | if (orig_dev < 0 || orig_dev > num_midis) |
num_midis | 455 | drivers/sound/midi_synth.c | if (orig_dev < 0 || orig_dev > num_midis) |
num_midis | 175 | drivers/sound/midibuf.c | for (dev = 0; dev < num_midis; dev++) |
num_midis | 212 | drivers/sound/midibuf.c | if (num_midis > MAX_MIDI_DEV) |
num_midis | 215 | drivers/sound/midibuf.c | num_midis = MAX_MIDI_DEV; |
num_midis | 218 | drivers/sound/midibuf.c | if (dev < 0 || dev >= num_midis) |
num_midis | 284 | drivers/sound/midibuf.c | if (dev < 0 || dev >= num_midis) |
num_midis | 510 | drivers/sound/mpu401.c | if (dev < 0 || dev >= num_midis) |
num_midis | 855 | drivers/sound/mpu401.c | if (midi_dev < 0 || midi_dev > num_midis) |
num_midis | 886 | drivers/sound/mpu401.c | if (midi_dev < 0 || midi_dev > num_midis) |
num_midis | 1025 | drivers/sound/mpu401.c | if ((tmp = mpu_cmd (num_midis, 0xAC, 0)) < 0) |
num_midis | 1039 | drivers/sound/mpu401.c | if ((tmp = mpu_cmd (num_midis, 0xAD, 0)) < 0) |
num_midis | 1058 | drivers/sound/mpu401.c | if (num_midis >= MAX_MIDI_DEV) |
num_midis | 1064 | drivers/sound/mpu401.c | devc = &dev_conf[num_midis]; |
num_midis | 1086 | drivers/sound/mpu401.c | irq2dev[devc->irq] = num_midis; |
num_midis | 1115 | drivers/sound/mpu401.c | if (mpu_cmd (num_midis, 0xC5, 0) >= 0) /* Set timebase OK */ |
num_midis | 1116 | drivers/sound/mpu401.c | if (mpu_cmd (num_midis, 0xE0, 120) >= 0) /* Set tempo OK */ |
num_midis | 1120 | drivers/sound/mpu401.c | mpu401_synth_operations[num_midis] = (struct synth_operations *) (sound_mem_blocks[sound_num_blocks] = kmalloc (sizeof (struct synth_operations), GFP_KERNEL)); |
num_midis | 1125 | drivers/sound/mpu401.c | if (mpu401_synth_operations[num_midis] == NULL) |
num_midis | 1133 | drivers/sound/mpu401.c | memcpy ((char *) mpu401_synth_operations[num_midis], |
num_midis | 1139 | drivers/sound/mpu401.c | memcpy ((char *) mpu401_synth_operations[num_midis], |
num_midis | 1144 | drivers/sound/mpu401.c | memcpy ((char *) &mpu401_midi_operations[num_midis], |
num_midis | 1148 | drivers/sound/mpu401.c | mpu401_midi_operations[num_midis].converter = |
num_midis | 1149 | drivers/sound/mpu401.c | mpu401_synth_operations[num_midis]; |
num_midis | 1151 | drivers/sound/mpu401.c | memcpy ((char *) &mpu_synth_info[num_midis], |
num_midis | 1165 | drivers/sound/mpu401.c | sprintf (mpu_synth_info[num_midis].name, |
num_midis | 1180 | drivers/sound/mpu401.c | sprintf (mpu_synth_info[num_midis].name, |
num_midis | 1188 | drivers/sound/mpu401.c | strcpy (mpu401_midi_operations[num_midis].info.name, |
num_midis | 1189 | drivers/sound/mpu401.c | mpu_synth_info[num_midis].name); |
num_midis | 1191 | drivers/sound/mpu401.c | conf_printf (mpu_synth_info[num_midis].name, hw_config); |
num_midis | 1193 | drivers/sound/mpu401.c | mpu401_synth_operations[num_midis]->midi_dev = devc->devno = num_midis; |
num_midis | 1198 | drivers/sound/mpu401.c | mpu_timer_init (num_midis); |
num_midis | 1200 | drivers/sound/mpu401.c | irq2dev[devc->irq] = num_midis; |
num_midis | 1201 | drivers/sound/mpu401.c | midi_devs[num_midis++] = &mpu401_midi_operations[devc->devno]; |
num_midis | 263 | drivers/sound/pas2_midi.c | if (num_midis >= MAX_MIDI_DEV) |
num_midis | 269 | drivers/sound/pas2_midi.c | std_midi_synth.midi_dev = my_dev = num_midis; |
num_midis | 270 | drivers/sound/pas2_midi.c | midi_devs[num_midis++] = &pas_midi_operations; |
num_midis | 782 | drivers/sound/pss.c | prev_devs = num_midis; |
num_midis | 785 | drivers/sound/pss.c | if (num_midis == (prev_devs + 1)) /* The MPU driver installed itself */ |
num_midis | 267 | drivers/sound/sb16_midi.c | if (num_midis >= MAX_MIDI_DEV) |
num_midis | 275 | drivers/sound/sb16_midi.c | std_midi_synth.midi_dev = my_dev = num_midis; |
num_midis | 276 | drivers/sound/sb16_midi.c | midi_devs[num_midis++] = &sb16midi_operations; |
num_midis | 89 | drivers/sound/sb_midi.c | if (num_midis == 1) |
num_midis | 248 | drivers/sound/sb_midi.c | if (num_midis >= MAX_MIDI_DEV) |
num_midis | 254 | drivers/sound/sb_midi.c | std_midi_synth.midi_dev = num_midis; |
num_midis | 255 | drivers/sound/sb_midi.c | my_dev = num_midis; |
num_midis | 256 | drivers/sound/sb_midi.c | midi_devs[num_midis++] = &sb_midi_operations; |
num_midis | 1053 | drivers/sound/sequencer.c | for (dev = 0; dev < num_midis; dev++) |
num_midis | 1115 | drivers/sound/sequencer.c | max_mididev = num_midis; |
num_midis | 269 | drivers/sound/sound_switch.c | for (i = 0; i < num_midis; i++) |
num_midis | 360 | drivers/sound/soundcard.c | if (num_midis) |
num_midis | 365 | drivers/sound/soundcard.c | if (num_midis + num_synths) |
num_midis | 977 | drivers/sound/sscape.c | prev_devs = num_midis; |
num_midis | 980 | drivers/sound/sscape.c | if (num_midis == (prev_devs + 1)) /* The MPU driver installed itself */ |
num_midis | 284 | drivers/sound/uart6850.c | if (num_midis >= MAX_MIDI_DEV) |
num_midis | 311 | drivers/sound/uart6850.c | std_midi_synth.midi_dev = my_dev = num_midis; |
num_midis | 312 | drivers/sound/uart6850.c | midi_devs[num_midis++] = &uart6850_operations; |