Lines Matching refs:purb
321 struct urb **purb; in usx2y_usbpcm_urbs_allocate() local
331 purb = subs->urb + i; in usx2y_usbpcm_urbs_allocate()
332 if (*purb) { in usx2y_usbpcm_urbs_allocate()
333 usb_kill_urb(*purb); in usx2y_usbpcm_urbs_allocate()
336 *purb = usb_alloc_urb(nr_of_packs(), GFP_KERNEL); in usx2y_usbpcm_urbs_allocate()
337 if (!*purb) { in usx2y_usbpcm_urbs_allocate()
341 (*purb)->transfer_buffer = is_playback ? in usx2y_usbpcm_urbs_allocate()
347 (*purb)->dev = dev; in usx2y_usbpcm_urbs_allocate()
348 (*purb)->pipe = pipe; in usx2y_usbpcm_urbs_allocate()
349 (*purb)->number_of_packets = nr_of_packs(); in usx2y_usbpcm_urbs_allocate()
350 (*purb)->context = subs; in usx2y_usbpcm_urbs_allocate()
351 (*purb)->interval = 1; in usx2y_usbpcm_urbs_allocate()
352 (*purb)->complete = i_usx2y_usbpcm_subs_startup; in usx2y_usbpcm_urbs_allocate()