Lines Matching refs:purb
427 struct urb **purb = subs->urb + i; in usX2Y_urbs_allocate() local
428 if (*purb) { in usX2Y_urbs_allocate()
429 usb_kill_urb(*purb); in usX2Y_urbs_allocate()
432 *purb = usb_alloc_urb(nr_of_packs(), GFP_KERNEL); in usX2Y_urbs_allocate()
433 if (NULL == *purb) { in usX2Y_urbs_allocate()
437 if (!is_playback && !(*purb)->transfer_buffer) { in usX2Y_urbs_allocate()
439 (*purb)->transfer_buffer = in usX2Y_urbs_allocate()
442 if (NULL == (*purb)->transfer_buffer) { in usX2Y_urbs_allocate()
447 (*purb)->dev = dev; in usX2Y_urbs_allocate()
448 (*purb)->pipe = pipe; in usX2Y_urbs_allocate()
449 (*purb)->number_of_packets = nr_of_packs(); in usX2Y_urbs_allocate()
450 (*purb)->context = subs; in usX2Y_urbs_allocate()
451 (*purb)->interval = 1; in usX2Y_urbs_allocate()
452 (*purb)->complete = i_usX2Y_subs_startup; in usX2Y_urbs_allocate()