Lines Matching refs:in_ports
91 unsigned int in_ports; member
328 for (i = 0; i < midi->in_ports; i++) { in f_midi_drop_out_substreams()
632 for (i = midi->in_last_port; i < midi->in_ports; ++i) { in f_midi_do_transmit()
714 if (substream->number >= midi->in_ports) in f_midi_in_open()
736 if (substream->number >= midi->in_ports) in f_midi_in_trigger()
828 midi->out_ports, midi->in_ports, &rmidi); in f_midi_register_card()
939 + (midi->in_ports + midi->out_ports) * in f_midi_bind()
946 for (n = 0; n < midi->in_ports; n++) { in f_midi_bind()
1002 ms_out_desc.bLength = USB_DT_MS_ENDPOINT_SIZE(midi->in_ports); in f_midi_bind()
1003 ms_out_desc.bNumEmbMIDIJack = midi->in_ports; in f_midi_bind()
1184 F_MIDI_OPT(in_ports, true, MAX_PORTS);
1285 opts->in_ports = 1; in f_midi_alloc_inst()
1350 if (opts->in_ports > MAX_PORTS || opts->out_ports > MAX_PORTS) { in f_midi_alloc()
1356 midi = kzalloc(struct_size(midi, in_ports_array, opts->in_ports), in f_midi_alloc()
1363 for (i = 0; i < opts->in_ports; i++) in f_midi_alloc()
1372 midi->in_ports = opts->in_ports; in f_midi_alloc()