Home
last modified time | relevance | path

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

/linux-6.6.21/sound/firewire/
Damdtp-am824.c35 unsigned int midi_ports; member
55 unsigned int midi_ports, in amdtp_am824_set_parameters() argument
69 midi_channels = DIV_ROUND_UP(midi_ports, 8); in amdtp_am824_set_parameters()
97 p->midi_ports = midi_ports; in amdtp_am824_set_parameters()
257 if (port < p->midi_ports) in amdtp_am824_midi_trigger()
365 if (p->midi_ports) { in process_it_ctx_payloads()
390 if (p->midi_ports) { in process_ir_ctx_payloads()
Damdtp-am824.h32 unsigned int midi_ports,
/linux-6.6.21/sound/firewire/motu/
Damdtp-motu.c38 unsigned int midi_ports; member
49 unsigned int midi_ports, in amdtp_motu_set_parameters() argument
83 p->midi_ports = midi_ports; in amdtp_motu_set_parameters()
207 if (port < p->midi_ports) in amdtp_motu_midi_trigger()
355 if (p->midi_ports) in process_ir_ctx_payloads()
418 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.h152 unsigned int midi_ports,
/linux-6.6.21/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.c157 unsigned int pcm_chs, unsigned int midi_ports) in keep_resources() argument
177 err = amdtp_am824_set_parameters(stream, rate, pcm_chs, midi_ports, in keep_resources()
215 unsigned int midi_ports; in keep_dual_resources() local
237 midi_ports = be32_to_cpu(reg[1]); in keep_dual_resources()
243 pcm_chs, pcm_cache, midi_ports); in keep_dual_resources()
248 midi_ports); in keep_dual_resources()
/linux-6.6.21/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()
/linux-6.6.21/sound/firewire/fireworks/
Dfireworks_stream.c163 unsigned int midi_ports; in keep_resources() local
169 midi_ports = efw->midi_out_ports; in keep_resources()
173 midi_ports = efw->midi_in_ports; in keep_resources()
178 midi_ports, false); in keep_resources()
/linux-6.6.21/sound/firewire/bebob/
Dbebob_stream.c504 unsigned int midi_ports; in keep_resources() local
510 midi_ports = bebob->midi_input_ports; in keep_resources()
514 midi_ports = bebob->midi_output_ports; in keep_resources()
518 err = amdtp_am824_set_parameters(stream, rate, pcm_channels, midi_ports, false); in keep_resources()
825 unsigned int plug_count, unsigned int *midi_ports) in detect_midi_ports() argument
830 *midi_ports = 0; in detect_midi_ports()
864 *midi_ports += ch_count; in detect_midi_ports()
/linux-6.6.21/sound/pci/emu10k1/
Demu10k1_synth.c47 emux->midi_ports = arg->seq_ports < 2 ? arg->seq_ports : 2; in snd_emu10k1_synth_probe()
/linux-6.6.21/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()
/linux-6.6.21/include/sound/
Demux_synth.h89 int midi_ports; /* number of virtual midi devices */ member