tag | line | file | source code |
orig_dev | 147 | drivers/sound/midi_synth.c | midi_synth_input (int orig_dev, unsigned char data) |
orig_dev | 165 | drivers/sound/midi_synth.c | if (orig_dev < 0 || orig_dev > num_midis) |
orig_dev | 171 | drivers/sound/midi_synth.c | dev = midi2synth[orig_dev]; |
orig_dev | 172 | drivers/sound/midi_synth.c | inc = &midi_devs[orig_dev]->in_info; |
orig_dev | 248 | drivers/sound/midi_synth.c | printk ("MIDI%d: Unexpected state %d (%02x)\n", orig_dev, inc->m_state, |
orig_dev | 257 | drivers/sound/midi_synth.c | int orig_dev = synth_devs[dev]->midi_dev; |
orig_dev | 265 | drivers/sound/midi_synth.c | while (!midi_devs[orig_dev]->putc (orig_dev, 0xf7) && |
orig_dev | 309 | drivers/sound/midi_synth.c | int orig_dev = synth_devs[dev]->midi_dev; |
orig_dev | 323 | drivers/sound/midi_synth.c | msg = prev_out_status[orig_dev] & 0xf0; |
orig_dev | 324 | drivers/sound/midi_synth.c | chn = prev_out_status[orig_dev] & 0x0f; |
orig_dev | 330 | drivers/sound/midi_synth.c | if (!prefix_cmd (orig_dev, note)) |
orig_dev | 333 | drivers/sound/midi_synth.c | midi_outc (orig_dev, note); |
orig_dev | 338 | drivers/sound/midi_synth.c | midi_outc (orig_dev, 0); /* |
orig_dev | 343 | drivers/sound/midi_synth.c | midi_outc (orig_dev, velocity); |
orig_dev | 349 | drivers/sound/midi_synth.c | if (!prefix_cmd (orig_dev, 0x90 | (channel & 0x0f))) |
orig_dev | 351 | drivers/sound/midi_synth.c | midi_outc (orig_dev, 0x90 | (channel & 0x0f)); /* |
orig_dev | 354 | drivers/sound/midi_synth.c | midi_outc (orig_dev, note); |
orig_dev | 355 | drivers/sound/midi_synth.c | midi_outc (orig_dev, 0); /* |
orig_dev | 361 | drivers/sound/midi_synth.c | if (!prefix_cmd (orig_dev, 0x80 | (channel & 0x0f))) |
orig_dev | 363 | drivers/sound/midi_synth.c | midi_outc (orig_dev, 0x80 | (channel & 0x0f)); /* |
orig_dev | 366 | drivers/sound/midi_synth.c | midi_outc (orig_dev, note); |
orig_dev | 367 | drivers/sound/midi_synth.c | midi_outc (orig_dev, velocity); |
orig_dev | 377 | drivers/sound/midi_synth.c | int orig_dev = synth_devs[dev]->midi_dev; |
orig_dev | 386 | drivers/sound/midi_synth.c | if (!prefix_cmd (orig_dev, 0xc0 | (channel & 0x0f))) |
orig_dev | 388 | drivers/sound/midi_synth.c | midi_outc (orig_dev, 0xc0 | (channel & 0x0f)); /* |
orig_dev | 391 | drivers/sound/midi_synth.c | midi_outc (orig_dev, instr_no); |
orig_dev | 399 | drivers/sound/midi_synth.c | int orig_dev = synth_devs[dev]->midi_dev; |
orig_dev | 413 | drivers/sound/midi_synth.c | msg = prev_out_status[orig_dev] & 0xf0; |
orig_dev | 414 | drivers/sound/midi_synth.c | chn = prev_out_status[orig_dev] & 0x0f; |
orig_dev | 420 | drivers/sound/midi_synth.c | if (!prefix_cmd (orig_dev, note)) |
orig_dev | 422 | drivers/sound/midi_synth.c | midi_outc (orig_dev, note); |
orig_dev | 423 | drivers/sound/midi_synth.c | midi_outc (orig_dev, velocity); |
orig_dev | 427 | drivers/sound/midi_synth.c | if (!prefix_cmd (orig_dev, 0x90 | (channel & 0x0f))) |
orig_dev | 429 | drivers/sound/midi_synth.c | midi_outc (orig_dev, 0x90 | (channel & 0x0f)); /* |
orig_dev | 432 | drivers/sound/midi_synth.c | midi_outc (orig_dev, note); |
orig_dev | 433 | drivers/sound/midi_synth.c | midi_outc (orig_dev, velocity); |
orig_dev | 448 | drivers/sound/midi_synth.c | int orig_dev = synth_devs[dev]->midi_dev; |
orig_dev | 453 | drivers/sound/midi_synth.c | if (orig_dev < 0 || orig_dev > num_midis) |
orig_dev | 456 | drivers/sound/midi_synth.c | midi2synth[orig_dev] = dev; |
orig_dev | 458 | drivers/sound/midi_synth.c | prev_out_status[orig_dev] = 0; |
orig_dev | 460 | drivers/sound/midi_synth.c | if ((err = midi_devs[orig_dev]->open (orig_dev, mode, |
orig_dev | 464 | drivers/sound/midi_synth.c | inc = &midi_devs[orig_dev]->in_info; |
orig_dev | 481 | drivers/sound/midi_synth.c | int orig_dev = synth_devs[dev]->midi_dev; |
orig_dev | 488 | drivers/sound/midi_synth.c | midi_devs[orig_dev]->putc (orig_dev, 0xfe); |
orig_dev | 490 | drivers/sound/midi_synth.c | midi_devs[orig_dev]->close (orig_dev); |
orig_dev | 502 | drivers/sound/midi_synth.c | int orig_dev = synth_devs[dev]->midi_dev; |
orig_dev | 512 | drivers/sound/midi_synth.c | if (!prefix_cmd (orig_dev, 0xf0)) |
orig_dev | 568 | drivers/sound/midi_synth.c | while (!midi_devs[orig_dev]->putc (orig_dev, (unsigned char) (data & 0xff)) && |
orig_dev | 594 | drivers/sound/midi_synth.c | midi_outc (orig_dev, 0xf7); |
orig_dev | 606 | drivers/sound/midi_synth.c | int orig_dev = synth_devs[dev]->midi_dev; |
orig_dev | 616 | drivers/sound/midi_synth.c | msg = prev_out_status[orig_dev] & 0xf0; |
orig_dev | 617 | drivers/sound/midi_synth.c | chn = prev_out_status[orig_dev] & 0x0f; |
orig_dev | 623 | drivers/sound/midi_synth.c | if (!prefix_cmd (orig_dev, 0xd0 | (channel & 0x0f))) |
orig_dev | 625 | drivers/sound/midi_synth.c | midi_outc (orig_dev, 0xd0 | (channel & 0x0f)); /* |
orig_dev | 629 | drivers/sound/midi_synth.c | else if (!prefix_cmd (orig_dev, pressure)) |
orig_dev | 632 | drivers/sound/midi_synth.c | midi_outc (orig_dev, pressure); |
orig_dev | 638 | drivers/sound/midi_synth.c | int orig_dev = synth_devs[dev]->midi_dev; |
orig_dev | 648 | drivers/sound/midi_synth.c | msg = prev_out_status[orig_dev] & 0xf0; |
orig_dev | 649 | drivers/sound/midi_synth.c | chn = prev_out_status[orig_dev] & 0x0f; |
orig_dev | 653 | drivers/sound/midi_synth.c | if (!prefix_cmd (orig_dev, 0xb0 | (channel & 0x0f))) |
orig_dev | 655 | drivers/sound/midi_synth.c | midi_outc (orig_dev, 0xb0 | (channel & 0x0f)); |
orig_dev | 657 | drivers/sound/midi_synth.c | else if (!prefix_cmd (orig_dev, ctrl_num)) |
orig_dev | 660 | drivers/sound/midi_synth.c | midi_outc (orig_dev, ctrl_num); |
orig_dev | 661 | drivers/sound/midi_synth.c | midi_outc (orig_dev, value & 0x7f); |
orig_dev | 673 | drivers/sound/midi_synth.c | int orig_dev = synth_devs[dev]->midi_dev; |
orig_dev | 684 | drivers/sound/midi_synth.c | msg = prev_out_status[orig_dev] & 0xf0; |
orig_dev | 685 | drivers/sound/midi_synth.c | prev_chn = prev_out_status[orig_dev] & 0x0f; |
orig_dev | 691 | drivers/sound/midi_synth.c | if (!prefix_cmd (orig_dev, 0xe0 | (channel & 0x0f))) |
orig_dev | 693 | drivers/sound/midi_synth.c | midi_outc (orig_dev, 0xe0 | (channel & 0x0f)); |
orig_dev | 695 | drivers/sound/midi_synth.c | else if (!prefix_cmd (orig_dev, value & 0x7f)) |
orig_dev | 698 | drivers/sound/midi_synth.c | midi_outc (orig_dev, value & 0x7f); |
orig_dev | 699 | drivers/sound/midi_synth.c | midi_outc (orig_dev, (value >> 7) & 0x7f); |
orig_dev | 710 | drivers/sound/midi_synth.c | int orig_dev = synth_devs[dev]->midi_dev; |
orig_dev | 718 | drivers/sound/midi_synth.c | if (!prefix_cmd (orig_dev, 0xf0)) |
orig_dev | 740 | drivers/sound/midi_synth.c | if (!midi_devs[orig_dev]->putc (orig_dev, bytes[i])) |
orig_dev | 751 | drivers/sound/midi_synth.c | while (!midi_devs[orig_dev]->putc (orig_dev, bytes[i]) && |
orig_dev | 1557 | drivers/sound/sequencer.c | int midi_dev, orig_dev; |
orig_dev | 1560 | drivers/sound/sequencer.c | orig_dev = dev = dev >> 4; |
orig_dev | 1696 | drivers/sound/sequencer.c | if (!(synth_open_mask & (1 << dev)) && !orig_dev) |
orig_dev | 1701 | drivers/sound/sequencer.c | if (!orig_dev && pmgr_present[dev]) |
orig_dev | 1724 | drivers/sound/sequencer.c | if (!(synth_open_mask & (1 << dev)) && !orig_dev) |
orig_dev | 1757 | drivers/sound/sequencer.c | if (!(synth_open_mask & (1 << dev)) && !orig_dev) |