Searched refs:midi_ports (Results 1 – 6 of 6) sorted by relevance
48 unsigned int midi_ports; member108 unsigned int midi_ports) in amdtp_out_stream_set_midi() argument110 s->midi_ports = midi_ports; in amdtp_out_stream_set_midi()
126 s->data_block_quadlets += DIV_ROUND_UP(s->midi_ports, 8); in amdtp_out_stream_get_max_payload()345 if (s->midi_ports) in queue_out_packet()452 (!s->pcm_channels && !s->midi_ports))) { in amdtp_out_stream_start()
357 if (emu->midi_ports <= 0) in snd_emux_init_virmidi()360 emu->vmidi = kcalloc(emu->midi_ports, sizeof(struct snd_rawmidi *), GFP_KERNEL); in snd_emux_init_virmidi()364 for (i = 0; i < emu->midi_ports; i++) { in snd_emux_init_virmidi()396 for (i = 0; i < emu->midi_ports; i++) { in snd_emux_delete_virmidi()
60 emux->midi_ports = arg->seq_ports < 2 ? arg->seq_ports : 2; in snd_emu10k1_synth_new_device()
70 emu->midi_ports = hw->seq_ports < 2 ? hw->seq_ports : 2; /* number of virmidi ports */ in snd_emu8000_new_device()
104 int midi_ports; /* number of virtual midi devices */ member