Lines Matching refs:ports

163 	} ports[0x10];
175 } ports[0x10];
229 struct usbmidi_in_port *port = &ep->ports[portidx];
446 struct usbmidi_in_port *port = &ep->ports[cable];
659 /* FIXME: lower-numbered ports can starve higher-numbered ports */
661 struct usbmidi_out_port *port = &ep->ports[p];
744 struct snd_rawmidi_substream *substream = ep->ports[0].substream;
746 if (!ep->ports[0].active)
757 ep->ports[0].active = 0;
792 ep->ports[0].active = 0;
825 if (!ep->ports[0].active)
828 count = snd_rawmidi_transmit(ep->ports[0].substream,
832 ep->ports[0].active = 0;
860 if (!ep->ports[0].active)
862 count = snd_rawmidi_transmit(ep->ports[0].substream,
866 ep->ports[0].active = 0;
910 if (!ep->ports[0].active)
921 count = snd_rawmidi_transmit(ep->ports[0].substream,
925 ep->ports[0].active = 0;
1030 struct usbmidi_out_port *port = &ep->ports[portnum];
1148 if (umidi->endpoints[i].out->ports[j].substream == substream) {
1149 port = &umidi->endpoints[i].out->ports[j];
1363 * Creates an output endpoint, and initializes output ports.
1451 ep->ports[i].ep = ep;
1452 ep->ports[i].cable = i << 4;
1556 * This list specifies names for ports that do not fit into the standard
1557 * "(product) MIDI (n)" schema because they aren't external MIDI ports,
1558 * such as internal control or synthesizer ports.
1786 * Creates the endpoints and their ports.
1815 &umidi->endpoints[i].out->ports[j].substream);
1822 &umidi->endpoints[i].in->ports[j].substream);
1827 dev_dbg(&umidi->dev->dev, "created %d output and %d input ports\n",
2087 * Detects the endpoints and ports of Yamaha devices.
2128 * Detects the endpoints and ports of Roland devices.
2168 * Creates the endpoints and their ports for Midiman devices.
2190 * There is one interrupt input endpoint for all input ports, one
2191 * bulk output endpoint for even-numbered ports, and one for odd-
2192 * numbered ports. Both bulk output endpoints have corresponding
2253 &umidi->endpoints[cable & 1].out->ports[cable].substream);
2258 &umidi->endpoints[0].in->ports[cable].substream);