Home
last modified time | relevance | path

Searched refs:midi_ports (Results 1 – 13 of 13) sorted by relevance

/Linux-v4.19/sound/firewire/
Damdtp-am824.c36 unsigned int midi_ports; member
58 unsigned int midi_ports, in amdtp_am824_set_parameters() argument
72 midi_channels = DIV_ROUND_UP(midi_ports, 8); in amdtp_am824_set_parameters()
89 p->midi_ports = midi_ports; in amdtp_am824_set_parameters()
249 if (port < p->midi_ports) in amdtp_am824_midi_trigger()
350 if (p->midi_ports) in process_rx_data_blocks()
370 if (p->midi_ports) in process_tx_data_blocks()
Damdtp-am824.h32 unsigned int midi_ports,
/Linux-v4.19/sound/firewire/motu/
Damdtp-motu.c39 unsigned int midi_ports; member
48 unsigned int midi_ports, in amdtp_motu_set_parameters() argument
98 p->midi_ports = midi_ports; in amdtp_motu_set_parameters()
221 if (port < p->midi_ports) in amdtp_motu_midi_trigger()
310 if (p->midi_ports) in process_tx_data_blocks()
374 if (p->midi_ports) in process_rx_data_blocks()
Dmotu-stream.c31 unsigned int midi_ports = 0; in start_both_streams() local
38 midi_ports = 1; in start_both_streams()
41 err = amdtp_motu_set_parameters(&motu->rx_stream, rate, midi_ports, in start_both_streams()
48 midi_ports = 1; in start_both_streams()
50 midi_ports = 0; in start_both_streams()
52 err = amdtp_motu_set_parameters(&motu->tx_stream, rate, midi_ports, in start_both_streams()
Dmotu.h138 unsigned int midi_ports,
/Linux-v4.19/sound/firewire/dice/
Ddice-extension.c63 unsigned int midi_ports[MAX_STREAMS]) in read_stream_entries()
78 midi_ports[i] = max(midi_ports[i], be32_to_cpu(reg[1])); in read_stream_entries()
Ddice-stream.c181 unsigned int midi_ports) in keep_resources() argument
213 err = amdtp_am824_set_parameters(stream, rate, pcm_chs, midi_ports, in keep_resources()
238 unsigned int i, pcm_chs, midi_ports; in start_streams() local
276 midi_ports = be32_to_cpu(reg[1]); in start_streams()
279 if (pcm_chs != pcm_cache || midi_ports != midi_cache) { in start_streams()
282 pcm_chs, pcm_cache, midi_ports, midi_cache); in start_streams()
286 err = keep_resources(dice, dir, i, rate, pcm_chs, midi_ports); in start_streams()
/Linux-v4.19/sound/firewire/fireworks/
Dfireworks_stream.c60 unsigned int mode, pcm_channels, midi_ports; in start_stream() local
69 midi_ports = efw->midi_out_ports; in start_stream()
73 midi_ports = efw->midi_in_ports; in start_stream()
77 pcm_channels, midi_ports, false); in start_stream()
/Linux-v4.19/sound/synth/emux/
Demux_seq.c370 if (emu->midi_ports <= 0) in snd_emux_init_virmidi()
373 emu->vmidi = kcalloc(emu->midi_ports, sizeof(*emu->vmidi), GFP_KERNEL); in snd_emux_init_virmidi()
377 for (i = 0; i < emu->midi_ports; i++) { in snd_emux_init_virmidi()
409 for (i = 0; i < emu->midi_ports; i++) { in snd_emux_delete_virmidi()
/Linux-v4.19/sound/pci/emu10k1/
Demu10k1_synth.c62 emux->midi_ports = arg->seq_ports < 2 ? arg->seq_ports : 2; in snd_emu10k1_synth_probe()
/Linux-v4.19/sound/isa/sb/
Demu8000_synth.c72 emu->midi_ports = hw->seq_ports < 2 ? hw->seq_ports : 2; /* number of virmidi ports */ in snd_emu8000_probe()
/Linux-v4.19/sound/firewire/oxfw/
Doxfw-stream.c121 unsigned int i, midi_ports; in start_stream() local
151 midi_ports = formation.midi * 8; in start_stream()
158 err = amdtp_am824_set_parameters(stream, rate, pcm_channels, midi_ports, in start_stream()
/Linux-v4.19/include/sound/
Demux_synth.h102 int midi_ports; /* number of virtual midi devices */ member