Searched refs:synth_devs (Results 1 – 7 of 7) sorted by relevance
/linux-2.6.39/sound/oss/ |
D | sequencer.c | 237 if (dev < 0 || dev >= max_synthdev || synth_devs[dev] == NULL) in sequencer_write() 244 err = synth_devs[dev]->load_patch(dev, fmt, buf + p, c, 0); in sequencer_write() 375 synth_devs[dev]->kill_note(dev, q[3], q[4], q[5]); in extended_event() 384 synth_devs[dev]->kill_note(dev, q[3], q[4], q[5]); in extended_event() 387 synth_devs[dev]->start_note(dev, q[3], q[4], q[5]); in extended_event() 391 synth_devs[dev]->set_instr(dev, q[3], q[4]); in extended_event() 395 synth_devs[dev]->aftertouch(dev, q[3], q[4]); in extended_event() 399 synth_devs[dev]->panning(dev, q[3], (char) q[4]); in extended_event() 403 synth_devs[dev]->controller(dev, q[3], q[4], (short) (q[5] | (q[6] << 8))); in extended_event() 407 if (synth_devs[dev]->volume_method != NULL) in extended_event() [all …]
|
D | midi_synth.c | 237 int orig_dev = synth_devs[dev]->midi_dev; in leave_sysex() 269 if (__copy_to_user(arg, synth_devs[dev]->info, sizeof(struct synth_info))) in midi_synth_ioctl() 285 int orig_dev = synth_devs[dev]->midi_dev; in midi_synth_kill_note() 352 int orig_dev = synth_devs[dev]->midi_dev; in midi_synth_set_instr() 375 int orig_dev = synth_devs[dev]->midi_dev; in midi_synth_start_note() 425 int orig_dev = synth_devs[dev]->midi_dev; in midi_synth_open() 458 int orig_dev = synth_devs[dev]->midi_dev; in midi_synth_close() 481 int orig_dev = synth_devs[dev]->midi_dev; in midi_synth_load_patch() 561 int orig_dev = synth_devs[dev]->midi_dev; in midi_synth_aftertouch() 593 int orig_dev = synth_devs[dev]->midi_dev; in midi_synth_controller() [all …]
|
D | dev_table.c | 30 struct synth_operations *synth_devs[MAX_SYNTH_DEV+MAX_MIDI_DEV]; variable 31 EXPORT_SYMBOL(synth_devs); 187 if (synth_devs[i] == NULL) { in sound_alloc_synthdev() 246 synth_devs[dev] = NULL; in sound_unload_synthdev()
|
D | opl3.c | 1077 info = &synth_devs[dev]->chn_info[chn]; in opl3_setup_voice() 1154 synth_devs[me] = &opl3_operations; in opl3_init() 1157 synth_devs[me]->owner = owner; in opl3_init()
|
D | dev_table.h | 361 extern struct synth_operations *synth_devs[MAX_SYNTH_DEV+MAX_MIDI_DEV];
|
D | mpu401.c | 772 midi_dev = synth_devs[dev]->midi_dev; in mpu_synth_ioctl() 802 midi_dev = synth_devs[dev]->midi_dev; in mpu_synth_open() 861 midi_dev = synth_devs[dev]->midi_dev; in mpu_synth_close()
|
/linux-2.6.39/sound/core/seq/oss/ |
D | seq_oss_synth.c | 70 static struct seq_oss_synth *synth_devs[SNDRV_SEQ_OSS_MAX_SYNTH_DEVS]; variable 126 if (synth_devs[i] == NULL) in snd_seq_oss_synth_register() 139 synth_devs[i] = rec; in snd_seq_oss_synth_register() 160 if (synth_devs[index] == rec) in snd_seq_oss_synth_unregister() 168 synth_devs[index] = NULL; in snd_seq_oss_synth_unregister() 171 if (synth_devs[index]) in snd_seq_oss_synth_unregister() 198 rec = synth_devs[dev]; in get_sdev()
|