Lines Matching refs:ports

147 	} ports[0x10];
159 } ports[0x10];
213 struct usbmidi_in_port *port = &ep->ports[portidx];
430 struct usbmidi_in_port *port = &ep->ports[cable];
643 /* FIXME: lower-numbered ports can starve higher-numbered ports */
645 struct usbmidi_out_port *port = &ep->ports[p];
728 struct snd_rawmidi_substream *substream = ep->ports[0].substream;
730 if (!ep->ports[0].active)
741 ep->ports[0].active = 0;
776 ep->ports[0].active = 0;
809 if (!ep->ports[0].active)
812 count = snd_rawmidi_transmit(ep->ports[0].substream,
816 ep->ports[0].active = 0;
844 if (!ep->ports[0].active)
846 count = snd_rawmidi_transmit(ep->ports[0].substream,
850 ep->ports[0].active = 0;
894 if (!ep->ports[0].active)
905 count = snd_rawmidi_transmit(ep->ports[0].substream,
909 ep->ports[0].active = 0;
1014 struct usbmidi_out_port *port = &ep->ports[portnum];
1132 if (umidi->endpoints[i].out->ports[j].substream == substream) {
1133 port = &umidi->endpoints[i].out->ports[j];
1347 * Creates an output endpoint, and initializes output ports.
1435 ep->ports[i].ep = ep;
1436 ep->ports[i].cable = i << 4;
1540 * This list specifies names for ports that do not fit into the standard
1541 * "(product) MIDI (n)" schema because they aren't external MIDI ports,
1542 * such as internal control or synthesizer ports.
1852 * Creates the endpoints and their ports.
1882 &umidi->endpoints[i].out->ports[j].substream);
1890 &umidi->endpoints[i].in->ports[j].substream);
1895 dev_dbg(&umidi->dev->dev, "created %d output and %d input ports\n",
2163 * Detects the endpoints and ports of Yamaha devices.
2204 * Detects the endpoints and ports of Roland devices.
2244 * Creates the endpoints and their ports for Midiman devices.
2266 * There is one interrupt input endpoint for all input ports, one
2267 * bulk output endpoint for even-numbered ports, and one for odd-
2268 * numbered ports. Both bulk output endpoints have corresponding
2330 &umidi->endpoints[cable & 1].out->ports[cable].substream);
2336 &umidi->endpoints[0].in->ports[cable].substream);