Searched refs:synth_devs (Results 1 – 7 of 7) sorted by relevance
/sound/oss/ |
D | sequencer.c | 238 if (dev < 0 || dev >= max_synthdev || synth_devs[dev] == NULL) in sequencer_write() 245 err = synth_devs[dev]->load_patch(dev, fmt, buf, p + 4, c, 0); in sequencer_write() 376 synth_devs[dev]->kill_note(dev, q[3], q[4], q[5]); in extended_event() 385 synth_devs[dev]->kill_note(dev, q[3], q[4], q[5]); in extended_event() 388 synth_devs[dev]->start_note(dev, q[3], q[4], q[5]); in extended_event() 392 synth_devs[dev]->set_instr(dev, q[3], q[4]); in extended_event() 396 synth_devs[dev]->aftertouch(dev, q[3], q[4]); in extended_event() 400 synth_devs[dev]->panning(dev, q[3], (char) q[4]); in extended_event() 404 synth_devs[dev]->controller(dev, q[3], q[4], (short) (q[5] | (q[6] << 8))); in extended_event() 408 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() 563 int orig_dev = synth_devs[dev]->midi_dev; in midi_synth_aftertouch() 595 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 | 1069 &synth_devs[dev]->chn_info[chn]; in opl3_setup_voice() 1146 synth_devs[me] = &opl3_operations; in opl3_init() 1149 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 | 771 midi_dev = synth_devs[dev]->midi_dev; in mpu_synth_ioctl() 801 midi_dev = synth_devs[dev]->midi_dev; in mpu_synth_open() 860 midi_dev = synth_devs[dev]->midi_dev; in mpu_synth_close()
|
/sound/core/seq/oss/ |
D | seq_oss_synth.c | 69 static struct seq_oss_synth *synth_devs[SNDRV_SEQ_OSS_MAX_SYNTH_DEVS]; variable 125 if (synth_devs[i] == NULL) in snd_seq_oss_synth_register() 138 synth_devs[i] = rec; in snd_seq_oss_synth_register() 159 if (synth_devs[index] == rec) in snd_seq_oss_synth_unregister() 167 synth_devs[index] = NULL; in snd_seq_oss_synth_unregister() 170 if (synth_devs[index]) in snd_seq_oss_synth_unregister() 197 rec = synth_devs[dev]; in get_sdev()
|