/linux-2.4.37.9/drivers/sound/ |
D | v_midi.c | 49 vmidi_devc *devc = midi_devs[dev]->devc; in v_midi_open() 78 vmidi_devc *devc = midi_devs[dev]->devc; in v_midi_close() 94 vmidi_devc *devc = midi_devs[dev]->devc; in v_midi_out() 95 vmidi_devc *pdevc = midi_devs[devc->pair_mididev]->devc; in v_midi_out() 115 vmidi_devc *devc = midi_devs[dev]->devc; in v_midi_end_read() 199 midi_devs[midi1] = &m->m_ops[0]; in attach_v_midi() 211 midi_devs[midi2] = &m->m_ops[1]; in attach_v_midi() 217 memcpy ((char *) midi_devs[midi1], (char *) &v_midi_operations, in attach_v_midi() 226 midi_devs[midi1]->devc = v_devc[0]; in attach_v_midi() 228 midi_devs[midi1]->converter = &m->s_ops[0]; in attach_v_midi() [all …]
|
D | sb_midi.c | 35 sb_devc *devc = midi_devs[dev]->devc; in sb_midi_open() 72 sb_devc *devc = midi_devs[dev]->devc; in sb_midi_close() 88 sb_devc *devc = midi_devs[dev]->devc; in sb_midi_out() 111 sb_devc *devc = midi_devs[dev]->devc; in sb_midi_end_read() 176 midi_devs[dev] = (struct midi_operations *)kmalloc(sizeof(struct midi_operations), GFP_KERNEL); in sb_dsp_midi_init() 177 if (midi_devs[dev] == NULL) in sb_dsp_midi_init() 183 memcpy((char *) midi_devs[dev], (char *) &sb_midi_operations, in sb_dsp_midi_init() 187 midi_devs[dev]->owner = owner; in sb_dsp_midi_init() 189 midi_devs[dev]->devc = devc; in sb_dsp_midi_init() 192 …midi_devs[dev]->converter = (struct synth_operations *)kmalloc(sizeof(struct synth_operations), GF… in sb_dsp_midi_init() [all …]
|
D | midibuf.c | 89 if (midi_devs[dev]->buffer_status != NULL) in drain_midi_queue() 90 while (!signal_pending(current) && midi_devs[dev]->buffer_status(dev)) in drain_midi_queue() 130 if (midi_devs[dev] != NULL && midi_out_buf[dev] != NULL) in midi_poll() 138 ok = midi_devs[dev]->outputc(dev, c); in midi_poll() 170 if (dev < 0 || dev >= num_midis || midi_devs[dev] == NULL) in MIDIbuf_open() 176 if (midi_devs[dev]->owner) in MIDIbuf_open() 177 __MOD_INC_USE_COUNT (midi_devs[dev]->owner); in MIDIbuf_open() 179 if ((err = midi_devs[dev]->open(dev, mode, in MIDIbuf_open() 189 midi_devs[dev]->close(dev); in MIDIbuf_open() 199 midi_devs[dev]->close(dev); in MIDIbuf_open() [all …]
|
D | uart401.c | 117 uart401_devc *devc = (uart401_devc *) midi_devs[dev]->devc; in uart401_open() 137 uart401_devc *devc = (uart401_devc *) midi_devs[dev]->devc; in uart401_close() 147 uart401_devc *devc = (uart401_devc *) midi_devs[dev]->devc; in uart401_out() 354 midi_devs[devc->my_dev] = kmalloc(sizeof(struct midi_operations), GFP_KERNEL); in probe_uart401() 355 if (!midi_devs[devc->my_dev]) { in probe_uart401() 359 memcpy(midi_devs[devc->my_dev], &uart401_operations, sizeof(struct midi_operations)); in probe_uart401() 362 midi_devs[devc->my_dev]->owner = owner; in probe_uart401() 364 midi_devs[devc->my_dev]->devc = devc; in probe_uart401() 365 midi_devs[devc->my_dev]->converter = kmalloc(sizeof(struct synth_operations), GFP_KERNEL); in probe_uart401() 366 if (!midi_devs[devc->my_dev]->converter) { in probe_uart401() [all …]
|
D | midi_synth.c | 94 if (midi_devs[midi_dev]->outputc(midi_dev, (unsigned char) (data & 0xff))) in midi_outc() 116 if ((char *) midi_devs[midi_dev]->prefix_cmd == NULL) in prefix_cmd() 119 return midi_devs[midi_dev]->prefix_cmd(midi_dev, status); in prefix_cmd() 141 if (orig_dev < 0 || orig_dev > num_midis || midi_devs[orig_dev] == NULL) in midi_synth_input() 148 inc = &midi_devs[orig_dev]->in_info; in midi_synth_input() 244 while (!midi_devs[orig_dev]->outputc(orig_dev, 0xf7) && in leave_sysex() 424 if (orig_dev < 0 || orig_dev > num_midis || midi_devs[orig_dev] == NULL) in midi_synth_open() 431 if ((err = midi_devs[orig_dev]->open(orig_dev, mode, in midi_synth_open() 434 inc = &midi_devs[orig_dev]->in_info; in midi_synth_open() 458 midi_devs[orig_dev]->outputc(orig_dev, 0xfe); in midi_synth_close() [all …]
|
D | wf_midi.c | 146 struct midi_input_info *mi = &midi_devs[devno]->in_info; in wf_mpu_input_scanner() 360 struct midi_input_info *mi = &midi_devs[physical_dev->devno]->in_info; in wf_mpuintr() 419 if (dev < 0 || dev >= num_midis || midi_devs[dev]==NULL) in wf_mpu_open() 448 if (dev < 0 || dev >= num_midis || midi_devs[dev]==NULL) in wf_mpu_close() 580 if (midi_dev < 0 || midi_dev > num_midis || midi_devs[midi_dev]==NULL) in wf_mpu_synth_ioctl() 616 if (midi_dev < 0 || midi_dev > num_midis || midi_devs[midi_dev]==NULL) { in wf_mpu_synth_open() 736 midi_devs[dev->devno] = &wf_mpu_midi_operations[index]; in config_wf_mpu() 737 midi_devs[dev->devno]->in_info.m_busy = 0; in config_wf_mpu() 738 midi_devs[dev->devno]->in_info.m_state = MST_INIT; in config_wf_mpu() 739 midi_devs[dev->devno]->in_info.m_ptr = 0; in config_wf_mpu() [all …]
|
D | sequencer.c | 288 if (dev >= max_mididev || midi_devs[dev]==NULL) in sequencer_write() 295 if ((err = midi_devs[dev]->open(dev, mode, in sequencer_write() 806 if (dev < 0 || dev >= num_midis || midi_devs[dev] == NULL) in play_event() 809 if (!midi_devs[dev]->outputc(dev, q[1])) in play_event() 915 if (midi_devs[dev] && midi_devs[dev]->converter != NULL) in setup_mode2() 917 synth_devs[max_synthdev++] = midi_devs[dev]->converter; in setup_mode2() 1072 if (!midi_opened[i] && midi_devs[i]) in sequencer_open() 1074 if (midi_devs[i]->owner) in sequencer_open() 1075 __MOD_INC_USE_COUNT (midi_devs[i]->owner); in sequencer_open() 1077 if ((retval = midi_devs[i]->open(i, mode, in sequencer_open() [all …]
|
D | mpu401.c | 475 if (dev < 0 || dev >= num_midis || midi_devs[dev] == NULL) in mpu401_open() 499 if ( (coprocessor = midi_devs[dev]->coproc) != NULL ) in mpu401_open() 537 coprocessor = midi_devs[dev]->coproc; in mpu401_close() 785 if (midi_dev < 0 || midi_dev > num_midis || midi_devs[midi_dev] == NULL) in mpu_synth_ioctl() 814 if (midi_dev < 0 || midi_dev > num_midis || midi_devs[midi_dev] == NULL) in mpu_synth_open() 842 coprocessor = midi_devs[midi_dev]->coproc; in mpu_synth_open() 879 coprocessor = midi_devs[midi_dev]->coproc; in mpu_synth_close() 1124 midi_devs[m] = &mpu401_midi_operations[devc->devno]; in attach_mpu401() 1127 midi_devs[m]->owner = owner; in attach_mpu401()
|
D | sound_syms.c | 22 EXPORT_SYMBOL(midi_devs);
|
D | dev_table.h | 359 struct midi_operations *midi_devs[MAX_MIDI_DEV]; variable 374 extern struct midi_operations *midi_devs[MAX_MIDI_DEV];
|
D | pas2_midi.c | 220 midi_devs[dev] = &pas_midi_operations; in pas_midi_init()
|
D | gus_midi.c | 221 midi_devs[dev] = &gus_midi_operations; in gus_midi_init()
|
D | dev_table.c | 206 midi_devs[dev] = NULL; in sound_unload_mididev()
|
D | uart6850.c | 282 midi_devs[my_dev] = &uart6850_operations; in attach_uart6850()
|
D | maui.c | 391 synth = midi_devs[this_dev]->converter; in attach_maui()
|
D | wavfront.c | 2620 if (midi_devs[dev.mididev]->converter != NULL) { in wavefront_config_midi() 2621 midi_load_patch = midi_devs[dev.mididev]->converter->load_patch; in wavefront_config_midi() 2622 midi_devs[dev.mididev]->converter->load_patch = in wavefront_config_midi()
|
D | sb_common.c | 1272 last_sb->midi_irq_cookie=midi_devs[hw_config->slots[4]]->devc; in probe_sbmpu()
|
D | pss.c | 1031 midi_devs[hw_config->slots[1]]->coproc = &pss_coproc_operations; in attach_pss_mpu()
|
D | sscape.c | 740 midi_devs[hw_config->slots[1]]->coproc = &sscape_coproc_operations; in attach_sscape()
|
D | via82cxxx_audio.c | 3521 card->midi_devc=midi_devs[card->midi_info.slots[4]]->devc; in via_init_one()
|
D | awe_wave.c | 5248 midi_devs[my_mididev] = &awe_midi_operations; in attach_midiemu()
|
/linux-2.4.37.9/drivers/sound/emu10k1/ |
D | midi.c | 490 if (midi_devs[dev] == NULL || midi_devs[dev]->devc == NULL) in emu10k1_seq_midi_open() 493 card = midi_devs[dev]->devc; in emu10k1_seq_midi_open() 529 if (midi_devs[dev] == NULL || midi_devs[dev]->devc == NULL) in emu10k1_seq_midi_close() 532 card = midi_devs[dev]->devc; in emu10k1_seq_midi_close() 547 if (midi_devs[dev] == NULL || midi_devs[dev]->devc == NULL) in emu10k1_seq_midi_out() 550 card = midi_devs[dev]->devc; in emu10k1_seq_midi_out() 602 if (midi_devs[dev] == NULL || midi_devs[dev]->devc == NULL) in emu10k1_seq_midi_buffer_status() 607 card = midi_devs[dev]->devc; in emu10k1_seq_midi_buffer_status()
|
D | main.c | 376 midi_devs[card->seq_dev] = in emu10k1_midi_init() 380 if (midi_devs[card->seq_dev] == NULL) { in emu10k1_midi_init() 386 memcpy((char *)midi_devs[card->seq_dev], in emu10k1_midi_init() 389 midi_devs[card->seq_dev]->devc = card; in emu10k1_midi_init() 416 kfree(midi_devs[card->seq_dev]); in emu10k1_midi_cleanup() 417 midi_devs[card->seq_dev] = NULL; in emu10k1_midi_cleanup()
|