Searched refs:midi_dev (Results 1 – 12 of 12) sorted by relevance
/sound/oss/ |
D | mpu401.c | 120 static int mpu_timer_init(int midi_dev); 768 int midi_dev; in mpu_synth_ioctl() local 771 midi_dev = synth_devs[dev]->midi_dev; in mpu_synth_ioctl() 773 if (midi_dev < 0 || midi_dev >= num_midis || midi_devs[midi_dev] == NULL) in mpu_synth_ioctl() 776 devc = &dev_conf[midi_dev]; in mpu_synth_ioctl() 782 if (copy_to_user(arg, &mpu_synth_info[midi_dev], in mpu_synth_ioctl() 797 int midi_dev, err; in mpu_synth_open() local 801 midi_dev = synth_devs[dev]->midi_dev; in mpu_synth_open() 803 if (midi_dev < 0 || midi_dev > num_midis || midi_devs[midi_dev] == NULL) in mpu_synth_open() 806 devc = &dev_conf[midi_dev]; in mpu_synth_open() [all …]
|
D | midi_synth.c | 90 midi_outc(int midi_dev, int data) in midi_outc() argument 95 if (midi_devs[midi_dev]->outputc(midi_dev, (unsigned char) (data & 0xff))) in midi_outc() 100 prev_out_status[midi_dev] = in midi_outc() 115 prefix_cmd(int midi_dev, unsigned char status) in prefix_cmd() argument 117 if ((char *) midi_devs[midi_dev]->prefix_cmd == NULL) in prefix_cmd() 120 return midi_devs[midi_dev]->prefix_cmd(midi_dev, status); in prefix_cmd() 237 int orig_dev = synth_devs[dev]->midi_dev; in leave_sysex() 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() [all …]
|
D | sequencer.c | 1043 if (synth_devs[i]->midi_dev) in sequencer_open() 1044 printk(KERN_WARNING "(Maps to MIDI dev #%d)\n", synth_devs[i]->midi_dev); in sequencer_open() 1049 if (synth_devs[i]->midi_dev) in sequencer_open() 1050 midi_opened[synth_devs[i]->midi_dev] = 1; in sequencer_open() 1162 if (synth_devs[i]->midi_dev) in sequencer_release() 1163 midi_opened[synth_devs[i]->midi_dev] = 0; in sequencer_release() 1318 int midi_dev, orig_dev, val, err; in sequencer_ioctl() local 1368 if (__get_user(midi_dev, p)) in sequencer_ioctl() 1370 if (midi_dev < 0 || midi_dev >= max_mididev || !midi_devs[midi_dev]) in sequencer_ioctl() 1373 if (!midi_opened[midi_dev] && in sequencer_ioctl() [all …]
|
D | v_midi.c | 228 std_midi_synth.midi_dev = midi1; in attach_v_midi() 249 std_midi_synth.midi_dev = midi2; in attach_v_midi()
|
D | midi_synth.h | 28 .midi_dev = 0,
|
D | pas2_midi.c | 219 std_midi_synth.midi_dev = my_dev = dev; in pas_midi_init()
|
D | sb_midi.c | 176 std_midi_synth.midi_dev = devc->my_mididev = dev; in sb_dsp_midi_init()
|
D | uart6850.c | 277 std_midi_synth.midi_dev = my_dev; in attach_uart6850()
|
D | dev_table.h | 261 int midi_dev; member
|
D | uart401.c | 372 midi_devs[devc->my_dev]->converter->midi_dev = devc->my_dev; in probe_uart401()
|
D | opl3.c | 1089 .midi_dev = 0,
|
/sound/isa/wavefront/ |
D | wavefront.c | 286 int midi_dev, in snd_wavefront_new_midi() argument 304 if (snd_rawmidi_new (card, "WaveFront MIDI", midi_dev, 1, 1, &rmidi) < 0) in snd_wavefront_new_midi() 371 int hw_dev = 0, midi_dev = 0, err; in snd_wavefront_probe() local 448 err = snd_mpu401_uart_new(card, midi_dev, MPU401_HW_CS4232, in snd_wavefront_probe() 455 midi_dev++; in snd_wavefront_probe() 463 midi_dev, in snd_wavefront_probe() 471 midi_dev++; in snd_wavefront_probe() 479 midi_dev, in snd_wavefront_probe() 487 midi_dev++; in snd_wavefront_probe()
|