Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/gadget/legacy/
H A 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()
/openbmc/linux/sound/firewire/tascam/
H A 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()
H A 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()
H A Dtascam.h90 struct snd_fw_async_midi_port out_ports[TSCM_MIDI_OUT_PORT_MAX]; member
/openbmc/linux/drivers/usb/gadget/function/
H A 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()
1175 F_MIDI_OPT(out_ports, true, MAX_PORTS);
1276 opts->out_ports = 1; in f_midi_alloc_inst()
1340 if (opts->in_ports > MAX_PORTS || opts->out_ports > MAX_PORTS) { in f_midi_alloc()
1363 midi->out_ports = opts->out_ports; in f_midi_alloc()
H A Du_midi.h24 unsigned int out_ports; member
/openbmc/linux/sound/firewire/digi00x/
H A 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()
/openbmc/linux/Documentation/ABI/testing/
H A Dconfigfs-usb-gadget-midi13 out_ports number of MIDI output ports
/openbmc/linux/sound/pci/ctxfi/
H A 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()
/openbmc/linux/sound/usb/
H A 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()
2469 int out_ports, in_ports; in __snd_usbmidi_create() local
2580 out_ports = 0; in __snd_usbmidi_create()
2583 out_ports += hweight16(endpoints[i].out_cables); in __snd_usbmidi_create()
2586 err = snd_usbmidi_create_rawmidi(umidi, out_ports, in_ports); in __snd_usbmidi_create()
/openbmc/linux/drivers/tty/serial/
H A Dsc16is7xx.c1534 goto out_ports; in sc16is7xx_probe()
1562 goto out_ports; in sc16is7xx_probe()
1579 goto out_ports; in sc16is7xx_probe()
1615 goto out_ports; in sc16is7xx_probe()
1620 goto out_ports; in sc16is7xx_probe()
1647 out_ports: in sc16is7xx_probe()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/libusbgx/libusbgx/
H A D0001-fix-stack-buffer-overflow-in-usbg_f_foo_attr_val-pro.patch171 @@ -236,8 +227,8 @@ static inline int usbg_f_midi_get_out_ports(usbg_f_midi *mf, unsigned *out_ports
173 static inline int usbg_f_midi_set_out_ports(usbg_f_midi *mf, unsigned out_ports)
176 - USBG_F_MIDI_UINT_TO_ATTR_VAL(out_ports));
177 + union usbg_f_midi_attr_val val = {.out_ports = out_ports};
/openbmc/linux/Documentation/usb/
H A Dgadget-testing.rst368 out_ports number of MIDI output ports