tag | line | file | source code |
synth_devs | 273 | drivers/sound/dev_table.h | struct synth_operations *synth_devs[MAX_SYNTH_DEV+MAX_MIDI_DEV] = {NULL}; int num_synths = 0; |
synth_devs | 499 | drivers/sound/dev_table.h | extern struct synth_operations * synth_devs[MAX_SYNTH_DEV+MAX_MIDI_DEV]; extern int num_synths; |
synth_devs | 2504 | drivers/sound/gus_wave.c | &synth_devs[dev]->chn_info[chn]; |
synth_devs | 3142 | drivers/sound/gus_wave.c | synth_devs[num_synths++] = &guswave_operations; |
synth_devs | 259 | drivers/sound/midi_synth.c | int orig_dev = synth_devs[dev]->midi_dev; |
synth_devs | 294 | drivers/sound/midi_synth.c | memcpy_tofs ((&((char *) arg)[0]), synth_devs[dev]->info, sizeof (struct synth_info)); |
synth_devs | 311 | drivers/sound/midi_synth.c | int orig_dev = synth_devs[dev]->midi_dev; |
synth_devs | 379 | drivers/sound/midi_synth.c | int orig_dev = synth_devs[dev]->midi_dev; |
synth_devs | 401 | drivers/sound/midi_synth.c | int orig_dev = synth_devs[dev]->midi_dev; |
synth_devs | 450 | drivers/sound/midi_synth.c | int orig_dev = synth_devs[dev]->midi_dev; |
synth_devs | 485 | drivers/sound/midi_synth.c | int orig_dev = synth_devs[dev]->midi_dev; |
synth_devs | 506 | drivers/sound/midi_synth.c | int orig_dev = synth_devs[dev]->midi_dev; |
synth_devs | 610 | drivers/sound/midi_synth.c | int orig_dev = synth_devs[dev]->midi_dev; |
synth_devs | 642 | drivers/sound/midi_synth.c | int orig_dev = synth_devs[dev]->midi_dev; |
synth_devs | 677 | drivers/sound/midi_synth.c | int orig_dev = synth_devs[dev]->midi_dev; |
synth_devs | 714 | drivers/sound/midi_synth.c | int orig_dev = synth_devs[dev]->midi_dev; |
synth_devs | 853 | drivers/sound/mpu401.c | midi_dev = synth_devs[dev]->midi_dev; |
synth_devs | 884 | drivers/sound/mpu401.c | midi_dev = synth_devs[dev]->midi_dev; |
synth_devs | 950 | drivers/sound/mpu401.c | midi_dev = synth_devs[dev]->midi_dev; |
synth_devs | 1141 | drivers/sound/opl3.c | &synth_devs[dev]->chn_info[chn]; |
synth_devs | 1221 | drivers/sound/opl3.c | synth_devs[num_synths++] = &opl3_operations; |
synth_devs | 158 | drivers/sound/patmgr.c | return synth_devs[dev]->load_patch (dev, *(unsigned short *) mbox[dev], |
synth_devs | 300 | drivers/sound/sequencer.c | err = synth_devs[dev]->load_patch (dev, *(short *) &event_rec[0], buf, p + 4, c, 0); |
synth_devs | 446 | drivers/sound/sequencer.c | synth_devs[dev]->kill_note (dev, q[3], q[4], q[5]); |
synth_devs | 453 | drivers/sound/sequencer.c | synth_devs[dev]->start_note (dev, q[3], q[4], q[5]); |
synth_devs | 457 | drivers/sound/sequencer.c | synth_devs[dev]->set_instr (dev, q[3], q[4]); |
synth_devs | 461 | drivers/sound/sequencer.c | synth_devs[dev]->aftertouch (dev, q[3], q[4]); |
synth_devs | 465 | drivers/sound/sequencer.c | synth_devs[dev]->panning (dev, q[3], (char) q[4]); |
synth_devs | 469 | drivers/sound/sequencer.c | synth_devs[dev]->controller (dev, q[3], q[4], (short) (q[5] | (q[6] << 8))); |
synth_devs | 473 | drivers/sound/sequencer.c | if (synth_devs[dev]->volume_method != NULL) |
synth_devs | 474 | drivers/sound/sequencer.c | synth_devs[dev]->volume_method (dev, q[3]); |
synth_devs | 492 | drivers/sound/sequencer.c | for (i = 0; i < synth_devs[dev]->alloc.max_voice; i++) |
synth_devs | 493 | drivers/sound/sequencer.c | if (synth_devs[dev]->alloc.map[i] == key) |
synth_devs | 507 | drivers/sound/sequencer.c | voice = synth_devs[dev]->alloc_voice (dev, chn, note, |
synth_devs | 508 | drivers/sound/sequencer.c | &synth_devs[dev]->alloc); |
synth_devs | 509 | drivers/sound/sequencer.c | synth_devs[dev]->alloc.map[voice] = key; |
synth_devs | 510 | drivers/sound/sequencer.c | synth_devs[dev]->alloc.alloc_times[voice] = |
synth_devs | 511 | drivers/sound/sequencer.c | synth_devs[dev]->alloc.timestamp++; |
synth_devs | 529 | drivers/sound/sequencer.c | if (!synth_devs[dev]) |
synth_devs | 534 | drivers/sound/sequencer.c | if (synth_devs[dev]->alloc_voice) |
synth_devs | 550 | drivers/sound/sequencer.c | if (voice == -1 && seq_mode == SEQ_2 && synth_devs[dev]->alloc_voice) |
synth_devs | 567 | drivers/sound/sequencer.c | synth_devs[dev]->set_instr (dev, voice, 128 + note); |
synth_devs | 575 | drivers/sound/sequencer.c | synth_devs[dev]->setup_voice (dev, voice, chn); |
synth_devs | 578 | drivers/sound/sequencer.c | synth_devs[dev]->start_note (dev, voice, note, parm); |
synth_devs | 584 | drivers/sound/sequencer.c | synth_devs[dev]->kill_note (dev, voice, note, parm); |
synth_devs | 590 | drivers/sound/sequencer.c | synth_devs[dev]->aftertouch (dev, voice, parm); |
synth_devs | 612 | drivers/sound/sequencer.c | if (!synth_devs[dev]) |
synth_devs | 620 | drivers/sound/sequencer.c | synth_devs[dev]->chn_info[chn].pgm_num = p1; |
synth_devs | 622 | drivers/sound/sequencer.c | synth_devs[dev]->set_instr (dev, chn, p1); |
synth_devs | 625 | drivers/sound/sequencer.c | synth_devs[dev]->set_instr (dev, chn, p1); |
synth_devs | 635 | drivers/sound/sequencer.c | synth_devs[dev]->chn_info[chn].controllers[p1] = w14 & 0x7f; |
synth_devs | 638 | drivers/sound/sequencer.c | synth_devs[dev]->chn_info[chn].controllers[p1 + 32] = 0; |
synth_devs | 647 | drivers/sound/sequencer.c | val = ((synth_devs[dev]-> |
synth_devs | 649 | drivers/sound/sequencer.c | | (synth_devs[dev]-> |
synth_devs | 658 | drivers/sound/sequencer.c | for (i = 0; i < synth_devs[dev]->alloc.max_voice; i++) |
synth_devs | 659 | drivers/sound/sequencer.c | if ((synth_devs[dev]->alloc.map[i] & 0xff00) == key) |
synth_devs | 660 | drivers/sound/sequencer.c | synth_devs[dev]->controller (dev, i, p1, val); |
synth_devs | 663 | drivers/sound/sequencer.c | synth_devs[dev]->controller (dev, chn, p1, w14); |
synth_devs | 666 | drivers/sound/sequencer.c | synth_devs[dev]->controller (dev, chn, p1, w14); |
synth_devs | 672 | drivers/sound/sequencer.c | synth_devs[dev]->chn_info[chn].bender_value = w14; |
synth_devs | 680 | drivers/sound/sequencer.c | for (i = 0; i < synth_devs[dev]->alloc.max_voice; i++) |
synth_devs | 681 | drivers/sound/sequencer.c | if ((synth_devs[dev]->alloc.map[i] & 0xff00) == key) |
synth_devs | 682 | drivers/sound/sequencer.c | synth_devs[dev]->bender (dev, i, w14); |
synth_devs | 685 | drivers/sound/sequencer.c | synth_devs[dev]->bender (dev, chn, w14); |
synth_devs | 688 | drivers/sound/sequencer.c | synth_devs[dev]->bender (dev, chn, w14); |
synth_devs | 827 | drivers/sound/sequencer.c | if (!synth_devs[dev]) |
synth_devs | 829 | drivers/sound/sequencer.c | if (!synth_devs[dev]->send_sysex) |
synth_devs | 837 | drivers/sound/sequencer.c | synth_devs[dev]->send_sysex (dev, buf, l); |
synth_devs | 855 | drivers/sound/sequencer.c | if (synth_devs[0]) |
synth_devs | 856 | drivers/sound/sequencer.c | synth_devs[0]->kill_note (0, q[1], 255, q[3]); |
synth_devs | 862 | drivers/sound/sequencer.c | if (synth_devs[0]) |
synth_devs | 863 | drivers/sound/sequencer.c | synth_devs[0]->start_note (0, q[1], q[2], q[3]); |
synth_devs | 908 | drivers/sound/sequencer.c | if (synth_devs[0]) |
synth_devs | 909 | drivers/sound/sequencer.c | synth_devs[0]->set_instr (0, q[1], q[2]); |
synth_devs | 952 | drivers/sound/sequencer.c | synth_devs[q[1]]->hw_control (q[1], q); |
synth_devs | 1056 | drivers/sound/sequencer.c | synth_devs[max_synthdev++] = |
synth_devs | 1066 | drivers/sound/sequencer.c | synth_devs[dev]->chn_info[chn].pgm_num = 0; |
synth_devs | 1068 | drivers/sound/sequencer.c | synth_devs[dev]->chn_info[chn].controllers, |
synth_devs | 1070 | drivers/sound/sequencer.c | synth_devs[dev]->chn_info[chn].bender_value = (1 << 7); /* Neutral */ |
synth_devs | 1180 | drivers/sound/sequencer.c | if ((tmp = synth_devs[i]->open (i, mode)) < 0) |
synth_devs | 1183 | drivers/sound/sequencer.c | if (synth_devs[i]->midi_dev) |
synth_devs | 1184 | drivers/sound/sequencer.c | printk ("(Maps to MIDI dev #%d)\n", synth_devs[i]->midi_dev); |
synth_devs | 1189 | drivers/sound/sequencer.c | if (synth_devs[i]->midi_dev) /* |
synth_devs | 1192 | drivers/sound/sequencer.c | midi_opened[synth_devs[i]->midi_dev] = 1; |
synth_devs | 1320 | drivers/sound/sequencer.c | if (synth_devs[i]) |
synth_devs | 1322 | drivers/sound/sequencer.c | synth_devs[i]->close (i); |
synth_devs | 1324 | drivers/sound/sequencer.c | if (synth_devs[i]->midi_dev) |
synth_devs | 1325 | drivers/sound/sequencer.c | midi_opened[synth_devs[i]->midi_dev] = 0; |
synth_devs | 1442 | drivers/sound/sequencer.c | if (synth_devs[i]) |
synth_devs | 1443 | drivers/sound/sequencer.c | synth_devs[i]->reset (i); |
synth_devs | 1451 | drivers/sound/sequencer.c | if (synth_devs[i]) |
synth_devs | 1453 | drivers/sound/sequencer.c | synth_devs[i]->controller (i, chn, 123, 0); /* All notes off */ |
synth_devs | 1454 | drivers/sound/sequencer.c | synth_devs[i]->controller (i, chn, 121, 0); /* Reset all ctl */ |
synth_devs | 1455 | drivers/sound/sequencer.c | synth_devs[i]->bender (i, chn, 1 << 13); /* Bender off */ |
synth_devs | 1678 | drivers/sound/sequencer.c | err = synth_devs[dev]->ioctl (dev, cmd, arg); |
synth_devs | 1701 | drivers/sound/sequencer.c | return snd_ioctl_return ((int *) arg, synth_devs[dev]->ioctl (dev, cmd, arg)); |
synth_devs | 1715 | drivers/sound/sequencer.c | synth_devs[dev]->ioctl (dev, cmd, arg); |
synth_devs | 1734 | drivers/sound/sequencer.c | return synth_devs[dev]->ioctl (dev, cmd, arg); |
synth_devs | 1790 | drivers/sound/sequencer.c | if (!synth_devs[dev]->pmgr_interface) |
synth_devs | 1796 | drivers/sound/sequencer.c | if ((err = synth_devs[dev]->pmgr_interface (dev, inf)) == -1) |
synth_devs | 1886 | drivers/sound/sequencer.c | if (!synth_devs[0]) |
synth_devs | 1890 | drivers/sound/sequencer.c | return synth_devs[0]->ioctl (0, cmd, arg); |
synth_devs | 255 | drivers/sound/sound_switch.c | if (!put_status (synth_devs[i]->info->name)) |