Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/usb/gadget/legacy/
Dgmidi.c60 static unsigned int out_ports = 1; variable
61 module_param(out_ports, uint, S_IRUGO);
62 MODULE_PARM_DESC(out_ports, "Number of MIDI output ports");
154 midi_opts->out_ports = out_ports; in midi_bind()
/linux-6.1.9/sound/firewire/tascam/
Dtascam-midi.c20 snd_fw_async_midi_port_init(&tscm->out_ports[substream->number]); in midi_playback_open()
40 snd_fw_async_midi_port_finish(&tscm->out_ports[substream->number]); in midi_playback_drain()
66 snd_fw_async_midi_port_run(&tscm->out_ports[substrm->number], in midi_playback_trigger()
Dtascam-transaction.c320 tscm->out_ports[i].parent = fw_parent_device(tscm->unit); in snd_tscm_transaction_register()
321 tscm->out_ports[i].next_ktime = 0; in snd_tscm_transaction_register()
322 INIT_WORK(&tscm->out_ports[i].work, midi_port_work); in snd_tscm_transaction_register()
Dtascam.h90 struct snd_fw_async_midi_port out_ports[TSCM_MIDI_OUT_PORT_MAX]; member
/linux-6.1.9/drivers/usb/gadget/function/
Df_midi.c92 unsigned int out_ports; member
828 midi->out_ports, midi->in_ports, &rmidi); in f_midi_register_card()
939 + (midi->in_ports + midi->out_ports) * in f_midi_bind()
974 for (n = 0; n < midi->out_ports; n++) { in f_midi_bind()
1005 ms_in_desc.bLength = USB_DT_MS_ENDPOINT_SIZE(midi->out_ports); in f_midi_bind()
1006 ms_in_desc.bNumEmbMIDIJack = midi->out_ports; in f_midi_bind()
1185 F_MIDI_OPT(out_ports, true, MAX_PORTS);
1286 opts->out_ports = 1; in f_midi_alloc_inst()
1350 if (opts->in_ports > MAX_PORTS || opts->out_ports > MAX_PORTS) { in f_midi_alloc()
1373 midi->out_ports = opts->out_ports; in f_midi_alloc()
Du_midi.h24 unsigned int out_ports; member
/linux-6.1.9/sound/firewire/digi00x/
Ddigi00x-midi.c116 static int add_substream_pair(struct snd_dg00x *dg00x, unsigned int out_ports, in add_substream_pair() argument
135 out_ports, in_ports, &rmidi); in add_substream_pair()
/linux-6.1.9/sound/pci/ctxfi/
Dctatc.c653 struct rsc *out_ports[8] = {NULL}; in atc_pcm_capture_prepare() local
667 &out_ports[0], &out_ports[1]); in atc_pcm_capture_prepare()
674 amixer->ops->setup(amixer, out_ports[i], in atc_pcm_capture_prepare()
677 out_ports[0] = &mono->rsc; in atc_pcm_capture_prepare()
686 srcimp->ops->map(srcimp, src, out_ports[i%multi]); in atc_pcm_capture_prepare()
688 out_ports[i%multi] = &amixer->rsc; in atc_pcm_capture_prepare()
698 out_ports[i]->ops->master(out_ports[i]); in atc_pcm_capture_prepare()
701 amixer->ops->set_input(amixer, out_ports[i]); in atc_pcm_capture_prepare()
705 out_ports[i]->ops->next_conj(out_ports[i]); in atc_pcm_capture_prepare()
715 srcimp->ops->map(srcimp, apcm->src, out_ports[i]); in atc_pcm_capture_prepare()
/linux-6.1.9/Documentation/ABI/testing/
Dconfigfs-usb-gadget-midi13 out_ports number of MIDI output ports
/linux-6.1.9/sound/usb/
Dmidi.c1858 int out_ports = 0, in_ports = 0; in snd_usbmidi_create_endpoints() local
1880 out_ports, in snd_usbmidi_create_endpoints()
1883 ++out_ports; in snd_usbmidi_create_endpoints()
1896 out_ports, in_ports); in snd_usbmidi_create_endpoints()
2346 int out_ports, int in_ports) in snd_usbmidi_create_rawmidi() argument
2353 out_ports, in_ports, &rmidi); in snd_usbmidi_create_rawmidi()
2468 int out_ports, in_ports; in __snd_usbmidi_create() local
2577 out_ports = 0; in __snd_usbmidi_create()
2580 out_ports += hweight16(endpoints[i].out_cables); in __snd_usbmidi_create()
2583 err = snd_usbmidi_create_rawmidi(umidi, out_ports, in_ports); in __snd_usbmidi_create()
/linux-6.1.9/drivers/tty/serial/
Dsc16is7xx.c1471 goto out_ports; in sc16is7xx_probe()
1543 out_ports: in sc16is7xx_probe()
/linux-6.1.9/Documentation/usb/
Dgadget-testing.rst367 out_ports number of MIDI output ports