tag | line | file | source code |
num_midis | 307 | drivers/sound/dev_table.c | return num_audiodevs + num_mixers + num_synths + num_midis; |
num_midis | 266 | drivers/sound/dev_table.h | struct midi_operations *midi_devs[MAX_MIDI_DEV] = {NULL}; int num_midis = 0; |
num_midis | 480 | drivers/sound/dev_table.h | extern struct midi_operations * midi_devs[MAX_MIDI_DEV]; extern int num_midis; |
num_midis | 257 | drivers/sound/gus_midi.c | if (num_midis >= MAX_MIDI_DEV) |
num_midis | 265 | drivers/sound/gus_midi.c | std_midi_synth.midi_dev = my_dev = num_midis; |
num_midis | 266 | drivers/sound/gus_midi.c | midi_devs[num_midis++] = &gus_midi_operations; |
num_midis | 202 | drivers/sound/mad16_sb_midi.c | if (num_midis == 1) |
num_midis | 329 | drivers/sound/mad16_sb_midi.c | if (num_midis >= MAX_MIDI_DEV) |
num_midis | 335 | drivers/sound/mad16_sb_midi.c | std_midi_synth.midi_dev = num_midis; |
num_midis | 336 | drivers/sound/mad16_sb_midi.c | my_dev = num_midis; |
num_midis | 337 | drivers/sound/mad16_sb_midi.c | midi_devs[num_midis++] = &mad16_sb_midi_operations; |
num_midis | 223 | drivers/sound/maui.c | int this_dev = num_midis; |
num_midis | 230 | drivers/sound/maui.c | if (num_midis > this_dev) /* The MPU401 driver installed itself */ |
num_midis | 165 | drivers/sound/midi_synth.c | if (orig_dev < 0 || orig_dev > num_midis) |
num_midis | 453 | drivers/sound/midi_synth.c | if (orig_dev < 0 || orig_dev > num_midis) |
num_midis | 173 | drivers/sound/midibuf.c | for (dev = 0; dev < num_midis; dev++) |
num_midis | 211 | drivers/sound/midibuf.c | if (num_midis > MAX_MIDI_DEV) |
num_midis | 214 | drivers/sound/midibuf.c | num_midis = MAX_MIDI_DEV; |
num_midis | 217 | drivers/sound/midibuf.c | if (dev < 0 || dev >= num_midis) |
num_midis | 497 | drivers/sound/mpu401.c | if (dev < 0 || dev >= num_midis) |
num_midis | 839 | drivers/sound/mpu401.c | if (midi_dev < 0 || midi_dev > num_midis) |
num_midis | 870 | drivers/sound/mpu401.c | if (midi_dev < 0 || midi_dev > num_midis) |
num_midis | 1005 | drivers/sound/mpu401.c | if ((tmp = mpu_cmd (num_midis, 0xAC, 0)) < 0) |
num_midis | 1013 | drivers/sound/mpu401.c | if ((tmp = mpu_cmd (num_midis, 0xAD, 0)) < 0) |
num_midis | 1029 | drivers/sound/mpu401.c | if (num_midis >= MAX_MIDI_DEV) |
num_midis | 1035 | drivers/sound/mpu401.c | devc = &dev_conf[num_midis]; |
num_midis | 1057 | drivers/sound/mpu401.c | irq2dev[devc->irq] = num_midis; |
num_midis | 1082 | drivers/sound/mpu401.c | if (mpu_cmd (num_midis, 0xC5, 0) >= 0) /* Set timebase OK */ |
num_midis | 1083 | drivers/sound/mpu401.c | if (mpu_cmd (num_midis, 0xE0, 120) >= 0) /* Set tempo OK */ |
num_midis | 1087 | 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 | 1092 | drivers/sound/mpu401.c | if (mpu401_synth_operations[num_midis] == NULL) |
num_midis | 1100 | drivers/sound/mpu401.c | memcpy ((char *) mpu401_synth_operations[num_midis], |
num_midis | 1106 | drivers/sound/mpu401.c | memcpy ((char *) mpu401_synth_operations[num_midis], |
num_midis | 1111 | drivers/sound/mpu401.c | memcpy ((char *) &mpu401_midi_operations[num_midis], |
num_midis | 1115 | drivers/sound/mpu401.c | mpu401_midi_operations[num_midis].converter = |
num_midis | 1116 | drivers/sound/mpu401.c | mpu401_synth_operations[num_midis]; |
num_midis | 1118 | drivers/sound/mpu401.c | memcpy ((char *) &mpu_synth_info[num_midis], |
num_midis | 1135 | drivers/sound/mpu401.c | sprintf (mpu_synth_info[num_midis].name, |
num_midis | 1154 | drivers/sound/mpu401.c | sprintf (mpu_synth_info[num_midis].name, |
num_midis | 1162 | drivers/sound/mpu401.c | strcpy (mpu401_midi_operations[num_midis].info.name, |
num_midis | 1163 | drivers/sound/mpu401.c | mpu_synth_info[num_midis].name); |
num_midis | 1165 | drivers/sound/mpu401.c | mpu401_synth_operations[num_midis]->midi_dev = devc->devno = num_midis; |
num_midis | 1170 | drivers/sound/mpu401.c | mpu_timer_init (num_midis); |
num_midis | 1172 | drivers/sound/mpu401.c | irq2dev[devc->irq] = num_midis; |
num_midis | 1173 | 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 | 704 | drivers/sound/pss.c | prev_devs = num_midis; |
num_midis | 707 | drivers/sound/pss.c | if (num_midis == (prev_devs + 1)) /* The MPU driver installed itself */ |
num_midis | 226 | drivers/sound/sb16_midi.c | if (num_midis >= MAX_MIDI_DEV) |
num_midis | 234 | drivers/sound/sb16_midi.c | std_midi_synth.midi_dev = my_dev = num_midis; |
num_midis | 235 | drivers/sound/sb16_midi.c | midi_devs[num_midis++] = &sb16midi_operations; |
num_midis | 87 | drivers/sound/sb_midi.c | if (num_midis == 1) |
num_midis | 246 | drivers/sound/sb_midi.c | if (num_midis >= MAX_MIDI_DEV) |
num_midis | 252 | drivers/sound/sb_midi.c | std_midi_synth.midi_dev = num_midis; |
num_midis | 253 | drivers/sound/sb_midi.c | my_dev = num_midis; |
num_midis | 254 | drivers/sound/sb_midi.c | midi_devs[num_midis++] = &sb_midi_operations; |
num_midis | 1068 | drivers/sound/sequencer.c | for (dev = 0; dev < num_midis; dev++) |
num_midis | 1142 | drivers/sound/sequencer.c | max_mididev = num_midis; |
num_midis | 265 | drivers/sound/sound_switch.c | for (i = 0; i < num_midis; i++) |
num_midis | 285 | drivers/sound/soundcard.c | if (num_midis) |
num_midis | 290 | drivers/sound/soundcard.c | if (num_midis + num_synths) |
num_midis | 995 | drivers/sound/sscape.c | prev_devs = num_midis; |
num_midis | 998 | drivers/sound/sscape.c | if (num_midis == (prev_devs + 1)) /* The MPU driver installed itself */ |
num_midis | 276 | drivers/sound/uart6850.c | if (num_midis >= MAX_MIDI_DEV) |
num_midis | 303 | drivers/sound/uart6850.c | std_midi_synth.midi_dev = my_dev = num_midis; |
num_midis | 304 | drivers/sound/uart6850.c | midi_devs[num_midis++] = &uart6850_operations; |