Lines Matching defs:in

11  * Redistribution and use in source and binary forms, with or without
110 struct snd_usb_midi_in_endpoint *in;
351 struct snd_usb_midi_in_endpoint *in = umidi->endpoints[i].in;
352 if (in && in->error_resubmit) {
353 in->error_resubmit = 0;
355 if (atomic_read(&in->urbs[j]->use_count))
357 in->urbs[j]->dev = umidi->dev;
358 snd_usbmidi_submit_urb(in->urbs[j], GFP_ATOMIC);
386 * fourth byte in each packet, and uses length instead of CIN.
417 * Buggy M-Audio device: running status on input results in a packet that has
448 * packets could in theory, but this device
779 /* 9 bytes and no end marker in sight - malformed, skip it */
790 * Novation USB MIDI protocol: number of data bytes is in the first byte
791 * (when receiving) (+1!) or in the second byte (when sending); data begins
953 0x40, /* last preset in EEPROM */
1161 /* gobble up remaining bytes to prevent wait in
1181 * The substream buffer is empty, but some data might still be in the
1273 rep->in = NULL;
1310 dev_err(&umidi->dev->dev, "invalid MIDI in EP %x\n",
1316 rep->in = ep;
1461 if (ep->in)
1462 snd_usbmidi_in_endpoint_delete(ep->in);
1505 if (ep->in)
1507 usb_kill_urb(ep->in->urbs[j]);
1508 /* free endpoints here; later call can result in Oops */
1511 if (ep->in) {
1512 snd_usbmidi_in_endpoint_delete(ep->in);
1513 ep->in = NULL;
1867 &umidi->endpoints[i].in->ports[j].substream);
2074 * Try to find any usable endpoints in the interface.
2240 * numbers, so we have to identify the endpoints by their index in
2313 &umidi->endpoints[0].in->ports[cable].substream);
2362 if (ep->in)
2364 usb_kill_urb(ep->in->urbs[j]);
2401 snd_usbmidi_input_start_ep(umidi, umidi->endpoints[i].in);
2505 * numbers as in interface 0. Since it is interface 1 that the
2508 * attempts to submit bulk/interrupt URBs to the endpoints in