Home
last modified time | relevance | path

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

/sound/firewire/
Damdtp-am824.c35 unsigned int midi_ports; member
57 unsigned int midi_ports, in amdtp_am824_set_parameters() argument
71 midi_channels = DIV_ROUND_UP(midi_ports, 8); in amdtp_am824_set_parameters()
89 p->midi_ports = midi_ports; in amdtp_am824_set_parameters()
259 if (port < p->midi_ports) in amdtp_am824_midi_trigger()
370 if (p->midi_ports) { in process_it_ctx_payloads()
398 if (p->midi_ports) { in process_ir_ctx_payloads()
Damdtp-am824.h32 unsigned int midi_ports,
/sound/firewire/motu/
Damdtp-motu.c38 unsigned int midi_ports; member
47 unsigned int midi_ports, in amdtp_motu_set_parameters() argument
93 p->midi_ports = midi_ports; in amdtp_motu_set_parameters()
230 if (port < p->midi_ports) in amdtp_motu_midi_trigger()
345 if (p->midi_ports) in process_ir_ctx_payloads()
421 if (p->midi_ports) in process_it_ctx_payloads()
Dmotu-stream.c33 unsigned int midi_ports = 0; in keep_resources() local
42 midi_ports = 1; in keep_resources()
49 midi_ports = 1; in keep_resources()
52 err = amdtp_motu_set_parameters(stream, rate, midi_ports, in keep_resources()
Dmotu.h129 unsigned int midi_ports,
/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.c170 unsigned int pcm_chs, unsigned int midi_ports) in keep_resources() argument
190 err = amdtp_am824_set_parameters(stream, rate, pcm_chs, midi_ports, in keep_resources()
228 unsigned int midi_ports; in keep_dual_resources() local
250 midi_ports = be32_to_cpu(reg[1]); in keep_dual_resources()
256 pcm_chs, pcm_cache, midi_ports); in keep_dual_resources()
261 midi_ports); in keep_dual_resources()
/sound/firewire/fireworks/
Dfireworks_stream.c162 unsigned int midi_ports; in keep_resources() local
168 midi_ports = efw->midi_out_ports; in keep_resources()
172 midi_ports = efw->midi_in_ports; in keep_resources()
177 midi_ports, false); in keep_resources()
/sound/synth/emux/
Demux_seq.c357 if (emu->midi_ports <= 0) in snd_emux_init_virmidi()
360 emu->vmidi = kcalloc(emu->midi_ports, sizeof(*emu->vmidi), 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()
/sound/firewire/bebob/
Dbebob_stream.c521 unsigned int midi_ports; in keep_resources() local
527 midi_ports = bebob->midi_input_ports; in keep_resources()
531 midi_ports = bebob->midi_output_ports; in keep_resources()
535 err = amdtp_am824_set_parameters(stream, rate, pcm_channels, midi_ports, false); in keep_resources()
/sound/pci/emu10k1/
Demu10k1_synth.c49 emux->midi_ports = arg->seq_ports < 2 ? arg->seq_ports : 2; in snd_emu10k1_synth_probe()
/sound/isa/sb/
Demu8000_synth.c59 emu->midi_ports = hw->seq_ports < 2 ? hw->seq_ports : 2; /* number of virmidi ports */ in snd_emu8000_probe()