Lines Matching full:urbs

125 	} urbs[OUTPUT_URBS];  member
155 struct urb *urbs[INPUT_URBS]; member
271 urb_index = context - ep->urbs; in snd_usbmidi_out_urb_complete()
309 urb = ep->urbs[urb_index].urb; in snd_usbmidi_do_output()
355 if (atomic_read(&in->urbs[j]->use_count)) in snd_usbmidi_error_timer()
357 in->urbs[j]->dev = umidi->dev; in snd_usbmidi_error_timer()
358 snd_usbmidi_submit_urb(in->urbs[j], GFP_ATOMIC); in snd_usbmidi_error_timer()
376 if (ep->urbs[0].urb) in send_bulk_static_data()
377 err = usb_bulk_msg(ep->umidi->dev, ep->urbs[0].urb->pipe, in send_bulk_static_data()
1182 * currently active URBs, so we have to wait for those to complete. in snd_usbmidi_output_drain()
1253 if (ep->urbs[i]) in snd_usbmidi_in_endpoint_delete()
1254 free_urb_and_buffer(ep->umidi, ep->urbs[i], in snd_usbmidi_in_endpoint_delete()
1255 ep->urbs[i]->transfer_buffer_length); in snd_usbmidi_in_endpoint_delete()
1280 ep->urbs[i] = usb_alloc_urb(0, GFP_KERNEL); in snd_usbmidi_in_endpoint_create()
1281 if (!ep->urbs[i]) { in snd_usbmidi_in_endpoint_create()
1293 &ep->urbs[i]->transfer_dma); in snd_usbmidi_in_endpoint_create()
1299 usb_fill_int_urb(ep->urbs[i], umidi->dev, in snd_usbmidi_in_endpoint_create()
1304 usb_fill_bulk_urb(ep->urbs[i], umidi->dev, in snd_usbmidi_in_endpoint_create()
1307 ep->urbs[i]->transfer_flags = URB_NO_TRANSFER_DMA_MAP; in snd_usbmidi_in_endpoint_create()
1308 err = usb_urb_ep_type_check(ep->urbs[i]); in snd_usbmidi_in_endpoint_create()
1333 if (ep->urbs[i].urb) { in snd_usbmidi_out_endpoint_clear()
1334 free_urb_and_buffer(ep->umidi, ep->urbs[i].urb, in snd_usbmidi_out_endpoint_clear()
1336 ep->urbs[i].urb = NULL; in snd_usbmidi_out_endpoint_clear()
1366 ep->urbs[i].urb = usb_alloc_urb(0, GFP_KERNEL); in snd_usbmidi_out_endpoint_create()
1367 if (!ep->urbs[i].urb) { in snd_usbmidi_out_endpoint_create()
1371 ep->urbs[i].ep = ep; in snd_usbmidi_out_endpoint_create()
1405 &ep->urbs[i].urb->transfer_dma); in snd_usbmidi_out_endpoint_create()
1411 usb_fill_int_urb(ep->urbs[i].urb, umidi->dev, in snd_usbmidi_out_endpoint_create()
1414 &ep->urbs[i], ep_info->out_interval); in snd_usbmidi_out_endpoint_create()
1416 usb_fill_bulk_urb(ep->urbs[i].urb, umidi->dev, in snd_usbmidi_out_endpoint_create()
1419 &ep->urbs[i]); in snd_usbmidi_out_endpoint_create()
1420 err = usb_urb_ep_type_check(ep->urbs[i].urb); in snd_usbmidi_out_endpoint_create()
1426 ep->urbs[i].urb->transfer_flags = URB_NO_TRANSFER_DMA_MAP; in snd_usbmidi_out_endpoint_create()
1469 * Unlinks all URBs (must be done before the usb_device is deleted).
1496 usb_kill_urb(ep->out->urbs[j].urb); in snd_usbmidi_disconnect()
1507 usb_kill_urb(ep->in->urbs[j]); in snd_usbmidi_disconnect()
2364 usb_kill_urb(ep->in->urbs[j]); in snd_usbmidi_input_stop()
2379 struct urb *urb = ep->urbs[i]; in snd_usbmidi_input_start_ep()
2508 * attempts to submit bulk/interrupt URBs to the endpoints in in __snd_usbmidi_create()