Home
last modified time | relevance | path

Searched refs:in_ports (Results 1 – 2 of 2) sorted by relevance

/drivers/usb/gadget/
Dgmidi.c68 static unsigned int in_ports = 1; variable
69 module_param(in_ports, uint, S_IRUGO);
70 MODULE_PARM_DESC(in_ports, "Number of MIDI input ports");
134 in_ports, out_ports, in midi_bind_config()
Df_midi.c86 unsigned int in_ports; member
700 midi->out_ports, midi->in_ports, &rmidi); in f_midi_register_card()
807 + (midi->in_ports + midi->out_ports) * in f_midi_bind()
814 for (n = 0; n < midi->in_ports; n++) { in f_midi_bind()
870 ms_out_desc.bLength = USB_DT_MS_ENDPOINT_SIZE(midi->in_ports); in f_midi_bind()
871 ms_out_desc.bNumEmbMIDIJack = midi->in_ports; in f_midi_bind()
933 unsigned int in_ports, in f_midi_bind_config() argument
948 if (in_ports > MAX_PORTS || out_ports > MAX_PORTS) in f_midi_bind_config()
958 for (i = 0; i < in_ports; i++) { in f_midi_bind_config()
979 midi->in_ports = in_ports; in f_midi_bind_config()