Lines Matching refs:purb
413 struct urb **purb = subs->urb + i; in usx2y_urbs_allocate() local
414 if (*purb) { in usx2y_urbs_allocate()
415 usb_kill_urb(*purb); in usx2y_urbs_allocate()
418 *purb = usb_alloc_urb(nr_of_packs(), GFP_KERNEL); in usx2y_urbs_allocate()
419 if (NULL == *purb) { in usx2y_urbs_allocate()
423 if (!is_playback && !(*purb)->transfer_buffer) { in usx2y_urbs_allocate()
425 (*purb)->transfer_buffer = in usx2y_urbs_allocate()
428 if (NULL == (*purb)->transfer_buffer) { in usx2y_urbs_allocate()
433 (*purb)->dev = dev; in usx2y_urbs_allocate()
434 (*purb)->pipe = pipe; in usx2y_urbs_allocate()
435 (*purb)->number_of_packets = nr_of_packs(); in usx2y_urbs_allocate()
436 (*purb)->context = subs; in usx2y_urbs_allocate()
437 (*purb)->interval = 1; in usx2y_urbs_allocate()
438 (*purb)->complete = i_usx2y_subs_startup; in usx2y_urbs_allocate()