Home
last modified time | relevance | path

Searched refs:purb (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/media/usb/au0828/
H A Dau0828-dvb.c108 static void urb_completion(struct urb *purb) in urb_completion() argument
110 struct au0828_dev *dev = purb->context; in urb_completion()
111 int ptype = usb_pipetype(purb->pipe); in urb_completion()
114 dprintk(2, "%s: %d\n", __func__, purb->actual_length); in urb_completion()
134 ptr = purb->transfer_buffer; in urb_completion()
135 if (purb->actual_length > 0 && ptr[0] != 0x47) { in urb_completion()
137 ptr[0], purb->actual_length); in urb_completion()
151 purb->transfer_buffer, purb->actual_length / 188); in urb_completion()
154 memset(purb->transfer_buffer, 0, URB_BUFSIZE); in urb_completion()
157 usb_submit_urb(purb, GFP_ATOMIC); in urb_completion()
[all …]
/linux/drivers/media/usb/dvb-usb/
H A Ddib0700_core.c708 static void dib0700_rc_urb_completion(struct urb *purb) in dib0700_rc_urb_completion() argument
710 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 …]
/linux/sound/usb/usx2y/
H A Dusbusx2yaudio.c401 struct urb **purb; in usx2y_urbs_allocate() local
416 purb = subs->urb + i; in usx2y_urbs_allocate()
417 if (*purb) { in usx2y_urbs_allocate()
418 usb_kill_urb(*purb); in usx2y_urbs_allocate()
421 *purb = usb_alloc_urb(nr_of_packs(), GFP_KERNEL); in usx2y_urbs_allocate()
422 if (!*purb) { in usx2y_urbs_allocate()
426 if (!is_playback && !(*purb)->transfer_buffer) { in usx2y_urbs_allocate()
428 (*purb)->transfer_buffer = in usx2y_urbs_allocate()
431 if (!(*purb)->transfer_buffer) { in usx2y_urbs_allocate()
436 (*purb)->dev = dev; in usx2y_urbs_allocate()
[all …]
H A Dusx2yhwdeppcm.c321 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()
[all …]
/linux/drivers/usb/usbip/
H A Dusbip_common.h302 void usbip_dump_urb(struct urb *purb);