tag | line | file | source code |
midi_dev | 161 | drivers/sound/dev_table.h | int midi_dev; |
midi_dev | 260 | drivers/sound/gus_midi.c | std_midi_synth.midi_dev = my_dev = num_midis; |
midi_dev | 102 | drivers/sound/midi_synth.c | midi_outc (int midi_dev, int data) |
midi_dev | 107 | drivers/sound/midi_synth.c | if (midi_devs[midi_dev]->putc (midi_dev, (unsigned char) (data & 0xff))) |
midi_dev | 112 | drivers/sound/midi_synth.c | prev_out_status[midi_dev] = |
midi_dev | 128 | drivers/sound/midi_synth.c | prefix_cmd (int midi_dev, unsigned char status) |
midi_dev | 130 | drivers/sound/midi_synth.c | if ((char *) midi_devs[midi_dev]->prefix_cmd == NULL) |
midi_dev | 133 | drivers/sound/midi_synth.c | return midi_devs[midi_dev]->prefix_cmd (midi_dev, status); |
midi_dev | 282 | drivers/sound/midi_synth.c | int orig_dev = synth_devs[dev]->midi_dev; |
midi_dev | 348 | drivers/sound/midi_synth.c | int orig_dev = synth_devs[dev]->midi_dev; |
midi_dev | 368 | drivers/sound/midi_synth.c | int orig_dev = synth_devs[dev]->midi_dev; |
midi_dev | 413 | drivers/sound/midi_synth.c | int orig_dev = synth_devs[dev]->midi_dev; |
midi_dev | 444 | drivers/sound/midi_synth.c | int orig_dev = synth_devs[dev]->midi_dev; |
midi_dev | 463 | drivers/sound/midi_synth.c | int orig_dev = synth_devs[dev]->midi_dev; |
midi_dev | 549 | drivers/sound/midi_synth.c | int orig_dev = synth_devs[dev]->midi_dev; |
midi_dev | 579 | drivers/sound/midi_synth.c | int orig_dev = synth_devs[dev]->midi_dev; |
midi_dev | 612 | drivers/sound/midi_synth.c | int orig_dev = synth_devs[dev]->midi_dev; |
midi_dev | 114 | drivers/sound/mpu401.c | static void mpu_timer_init (int midi_dev); |
midi_dev | 821 | drivers/sound/mpu401.c | int midi_dev; |
midi_dev | 824 | drivers/sound/mpu401.c | midi_dev = synth_devs[dev]->midi_dev; |
midi_dev | 826 | drivers/sound/mpu401.c | if (midi_dev < 0 || midi_dev > num_midis) |
midi_dev | 829 | drivers/sound/mpu401.c | devc = &dev_conf[midi_dev]; |
midi_dev | 835 | drivers/sound/mpu401.c | IOCTL_TO_USER ((char *) arg, 0, &mpu_synth_info[midi_dev], |
midi_dev | 853 | drivers/sound/mpu401.c | int midi_dev, err; |
midi_dev | 856 | drivers/sound/mpu401.c | midi_dev = synth_devs[dev]->midi_dev; |
midi_dev | 858 | drivers/sound/mpu401.c | if (midi_dev < 0 || midi_dev > num_midis) |
midi_dev | 863 | drivers/sound/mpu401.c | devc = &dev_conf[midi_dev]; |
midi_dev | 892 | drivers/sound/mpu401.c | irq2dev[devc->irq] = midi_dev; |
midi_dev | 894 | drivers/sound/mpu401.c | if ((err = snd_set_irq_handler (devc->irq, mpuintr, midi_devs[midi_dev]->info.name) < 0)) |
midi_dev | 899 | drivers/sound/mpu401.c | if (midi_devs[midi_dev]->coproc) |
midi_dev | 900 | drivers/sound/mpu401.c | if ((err = midi_devs[midi_dev]->coproc-> |
midi_dev | 901 | drivers/sound/mpu401.c | open (midi_devs[midi_dev]->coproc->devc, COPR_MIDI)) < 0) |
midi_dev | 915 | drivers/sound/mpu401.c | exec_cmd (midi_dev, 0x8B, 0); /* Enable data in stop mode */ |
midi_dev | 916 | drivers/sound/mpu401.c | exec_cmd (midi_dev, 0x34, 0); /* Return timing bytes in stop mode */ |
midi_dev | 925 | drivers/sound/mpu401.c | int midi_dev; |
midi_dev | 928 | drivers/sound/mpu401.c | midi_dev = synth_devs[dev]->midi_dev; |
midi_dev | 930 | drivers/sound/mpu401.c | devc = &dev_conf[midi_dev]; |
midi_dev | 931 | drivers/sound/mpu401.c | exec_cmd (midi_dev, 0x15, 0); /* Stop recording, playback and MIDI */ |
midi_dev | 932 | drivers/sound/mpu401.c | exec_cmd (midi_dev, 0x8a, 0); /* Disable data in stopped mode */ |
midi_dev | 938 | drivers/sound/mpu401.c | if (midi_devs[midi_dev]->coproc) |
midi_dev | 939 | drivers/sound/mpu401.c | midi_devs[midi_dev]->coproc->close (midi_devs[midi_dev]->coproc->devc, COPR_MIDI); |
midi_dev | 1127 | drivers/sound/mpu401.c | mpu401_synth_operations[num_midis].midi_dev = devc->devno = num_midis; |
midi_dev | 1276 | drivers/sound/mpu401.c | set_timebase (int midi_dev, int val) |
midi_dev | 1290 | drivers/sound/mpu401.c | if (exec_cmd (midi_dev, 0xC0 | (hw_val & 0x0f), 0) < 0) |
midi_dev | 1313 | drivers/sound/mpu401.c | set_timer_mode (int midi_dev) |
midi_dev | 1316 | drivers/sound/mpu401.c | exec_cmd (midi_dev, 0x3c, 0); /* Use CLS sync */ |
midi_dev | 1318 | drivers/sound/mpu401.c | exec_cmd (midi_dev, 0x3d, 0); /* Use SMPTE sync */ |
midi_dev | 1322 | drivers/sound/mpu401.c | exec_cmd (midi_dev, 0x80, 0); /* Use MIDI sync */ |
midi_dev | 1328 | drivers/sound/mpu401.c | exec_cmd (midi_dev, 0x82, 0); /* Use MIDI sync */ |
midi_dev | 1329 | drivers/sound/mpu401.c | exec_cmd (midi_dev, 0x91, 0); /* Enable ext MIDI ctrl */ |
midi_dev | 1332 | drivers/sound/mpu401.c | exec_cmd (midi_dev, 0x81, 0); /* Use FSK sync */ |
midi_dev | 1337 | drivers/sound/mpu401.c | stop_metronome (int midi_dev) |
midi_dev | 1339 | drivers/sound/mpu401.c | exec_cmd (midi_dev, 0x84, 0); /* Disable metronome */ |
midi_dev | 1343 | drivers/sound/mpu401.c | setup_metronome (int midi_dev) |
midi_dev | 1356 | drivers/sound/mpu401.c | exec_cmd (midi_dev, 0x84, 0); /* Disable metronome */ |
midi_dev | 1359 | drivers/sound/mpu401.c | exec_cmd (midi_dev, 0xE4, clks_per_click); |
midi_dev | 1360 | drivers/sound/mpu401.c | exec_cmd (midi_dev, 0xE6, beats_per_measure); |
midi_dev | 1361 | drivers/sound/mpu401.c | exec_cmd (midi_dev, 0x83, 0); /* Enable metronome without accents */ |
midi_dev | 1366 | drivers/sound/mpu401.c | start_timer (int midi_dev) |
midi_dev | 1369 | drivers/sound/mpu401.c | set_timer_mode (midi_dev); |
midi_dev | 1376 | drivers/sound/mpu401.c | exec_cmd (midi_dev, 0x02, 0); /* Send MIDI start */ |
midi_dev | 1382 | drivers/sound/mpu401.c | exec_cmd (midi_dev, 0x35, 0); /* Enable mode messages to PC */ |
midi_dev | 1383 | drivers/sound/mpu401.c | exec_cmd (midi_dev, 0x38, 0); /* Enable sys common messages to PC */ |
midi_dev | 1384 | drivers/sound/mpu401.c | exec_cmd (midi_dev, 0x39, 0); /* Enable real time messages to PC */ |
midi_dev | 1385 | drivers/sound/mpu401.c | exec_cmd (midi_dev, 0x97, 0); /* Enable system exclusive messages to PC */ |
midi_dev | 1394 | drivers/sound/mpu401.c | int midi_dev = sound_timer_devs[dev]->devlink; |
midi_dev | 1401 | drivers/sound/mpu401.c | exec_cmd (midi_dev, 0xE0, 50); |
midi_dev | 1403 | drivers/sound/mpu401.c | set_timebase (midi_dev, 120); |
midi_dev | 1406 | drivers/sound/mpu401.c | set_timer_mode (midi_dev); |
midi_dev | 1408 | drivers/sound/mpu401.c | exec_cmd (midi_dev, 0xe7, 0x04); /* Send all clocks to host */ |
midi_dev | 1409 | drivers/sound/mpu401.c | exec_cmd (midi_dev, 0x95, 0); /* Enable clock to host */ |
midi_dev | 1417 | drivers/sound/mpu401.c | int midi_dev = sound_timer_devs[dev]->devlink; |
midi_dev | 1420 | drivers/sound/mpu401.c | exec_cmd (midi_dev, 0x15, 0); /* Stop all */ |
midi_dev | 1421 | drivers/sound/mpu401.c | exec_cmd (midi_dev, 0x94, 0); /* Disable clock to host */ |
midi_dev | 1422 | drivers/sound/mpu401.c | exec_cmd (midi_dev, 0x8c, 0); /* Disable measure end messages to host */ |
midi_dev | 1423 | drivers/sound/mpu401.c | stop_metronome (midi_dev); |
midi_dev | 1431 | drivers/sound/mpu401.c | int midi_dev = sound_timer_devs[dev]->devlink; |
midi_dev | 1455 | drivers/sound/mpu401.c | return start_timer (midi_dev); |
midi_dev | 1459 | drivers/sound/mpu401.c | exec_cmd (midi_dev, 0x01, 0); /* Send MIDI stop */ |
midi_dev | 1460 | drivers/sound/mpu401.c | stop_metronome (midi_dev); |
midi_dev | 1467 | drivers/sound/mpu401.c | exec_cmd (midi_dev, 0x03, 0); /* Send MIDI continue */ |
midi_dev | 1468 | drivers/sound/mpu401.c | setup_metronome (midi_dev); |
midi_dev | 1480 | drivers/sound/mpu401.c | if (exec_cmd (midi_dev, 0xE0, parm) < 0) |
midi_dev | 1494 | drivers/sound/mpu401.c | setup_metronome (midi_dev); |
midi_dev | 1517 | drivers/sound/mpu401.c | int midi_dev = sound_timer_devs[dev]->devlink; |
midi_dev | 1530 | drivers/sound/mpu401.c | exec_cmd (midi_dev, 0x3c, 0); /* Use CLS sync */ |
midi_dev | 1532 | drivers/sound/mpu401.c | exec_cmd (midi_dev, 0x3d, 0); /* Use SMPTE sync */ |
midi_dev | 1540 | drivers/sound/mpu401.c | start_timer (midi_dev); |
midi_dev | 1546 | drivers/sound/mpu401.c | exec_cmd (midi_dev, 0x01, 0); /* Send MIDI stop */ |
midi_dev | 1547 | drivers/sound/mpu401.c | stop_metronome (midi_dev); |
midi_dev | 1555 | drivers/sound/mpu401.c | exec_cmd (midi_dev, 0x03, 0); /* Send MIDI continue */ |
midi_dev | 1564 | drivers/sound/mpu401.c | set_timebase (midi_dev, val); |
midi_dev | 1581 | drivers/sound/mpu401.c | if ((ret = exec_cmd (midi_dev, 0xE0, val)) < 0) |
midi_dev | 1603 | drivers/sound/mpu401.c | setup_metronome (midi_dev); |
midi_dev | 1662 | drivers/sound/mpu401.c | int midi_dev = devc->devno; |
midi_dev | 1679 | drivers/sound/mpu401.c | setup_metronome (midi_dev); |
midi_dev | 1690 | drivers/sound/mpu401.c | stop_metronome (midi_dev); |
midi_dev | 1700 | drivers/sound/mpu401.c | setup_metronome (midi_dev); |
midi_dev | 1716 | drivers/sound/mpu401.c | mpu_timer_init (int midi_dev) |
midi_dev | 1721 | drivers/sound/mpu401.c | devc = &dev_conf[midi_dev]; |
midi_dev | 1728 | drivers/sound/mpu401.c | mpu_timer.devlink = midi_dev; |
midi_dev | 1729 | drivers/sound/mpu401.c | dev_conf[midi_dev].timer_flag = 1; |
midi_dev | 266 | drivers/sound/pas2_midi.c | std_midi_synth.midi_dev = my_dev = num_midis; |
midi_dev | 230 | drivers/sound/sb16_midi.c | std_midi_synth.midi_dev = my_dev = num_midis; |
midi_dev | 248 | drivers/sound/sb_midi.c | std_midi_synth.midi_dev = num_midis; |
midi_dev | 1103 | drivers/sound/sequencer.c | if (synth_devs[i]->midi_dev) |
midi_dev | 1104 | drivers/sound/sequencer.c | printk ("(Maps to MIDI dev #%d)\n", synth_devs[i]->midi_dev); |
midi_dev | 1109 | drivers/sound/sequencer.c | if (synth_devs[i]->midi_dev) /* |
midi_dev | 1112 | drivers/sound/sequencer.c | midi_opened[synth_devs[i]->midi_dev] = 1; |
midi_dev | 1228 | drivers/sound/sequencer.c | if (synth_devs[i]->midi_dev) |
midi_dev | 1229 | drivers/sound/sequencer.c | midi_opened[synth_devs[i]->midi_dev] = 0; |
midi_dev | 1397 | drivers/sound/sequencer.c | int midi_dev, orig_dev; |
midi_dev | 1472 | drivers/sound/sequencer.c | midi_dev = IOCTL_IN (arg); |
midi_dev | 1473 | drivers/sound/sequencer.c | if (midi_dev >= max_mididev) |
midi_dev | 1476 | drivers/sound/sequencer.c | if (!midi_opened[midi_dev]) |
midi_dev | 1481 | drivers/sound/sequencer.c | if ((err = midi_devs[midi_dev]->open (midi_dev, mode, |
midi_dev | 1487 | drivers/sound/sequencer.c | midi_opened[midi_dev] = 1; |
midi_dev | 289 | drivers/sound/uart6850.c | std_midi_synth.midi_dev = my_dev = num_midis; |