Searched refs:purb (Results 1 – 4 of 4) sorted by relevance
708 static void dib0700_rc_urb_completion(struct urb *purb) in dib0700_rc_urb_completion() argument710 struct dvb_usb_device *d = purb->context; in dib0700_rc_urb_completion()719 kfree(purb->transfer_buffer); in dib0700_rc_urb_completion()720 usb_free_urb(purb); in dib0700_rc_urb_completion()724 poll_reply = purb->transfer_buffer; in dib0700_rc_urb_completion()726 if (purb->status < 0) { in dib0700_rc_urb_completion()728 kfree(purb->transfer_buffer); in dib0700_rc_urb_completion()729 usb_free_urb(purb); in dib0700_rc_urb_completion()733 if (purb->actual_length != RC_MSG_SIZE_V1_20) { in dib0700_rc_urb_completion()734 deb_info("malformed rc msg size=%d\n", purb->actual_length); in dib0700_rc_urb_completion()[all …]
321 struct urb **purb; in usx2y_usbpcm_urbs_allocate() local331 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()[all …]
400 struct urb **purb; in usx2y_urbs_allocate() 415 purb = subs->urb + i; in usx2y_urbs_allocate() 416 if (*purb) { in usx2y_urbs_allocate() 417 usb_kill_urb(*purb); in usx2y_urbs_allocate() 420 *purb = usb_alloc_urb(nr_of_packs(), GFP_KERNEL); in usx2y_urbs_allocate() 421 if (!*purb) { in usx2y_urbs_allocate() 425 if (!is_playback && !(*purb)->transfer_buffer) { in usx2y_urbs_allocate() 427 (*purb)->transfer_buffer = in usx2y_urbs_allocate() 430 if (!(*purb)->transfer_buffer) { in usx2y_urbs_allocate() 435 (*purb) in usx2y_urbs_allocate() 401 struct urb **purb; usx2y_urbs_allocate() local [all...]
84 struct urb *purb; member110 (bp ? bp->purb : NULL), in pvr2_buffer_describe()243 usb_kill_urb(bp->purb); in pvr2_buffer_wipe()259 bp->purb = usb_alloc_urb(0, GFP_KERNEL); in pvr2_buffer_init()260 if (! bp->purb) return -ENOMEM; in pvr2_buffer_init()276 usb_free_urb(bp->purb); in pvr2_buffer_done()616 usb_fill_bulk_urb(bp->purb, // struct urb *urb in pvr2_buffer_queue()624 usb_submit_urb(bp->purb, GFP_KERNEL); in pvr2_buffer_queue()