Searched refs:purb (Results 1 – 10 of 10) sorted by relevance
/linux-6.12.1/drivers/staging/rtl8712/ |
D | usb_ops_linux.c | 134 static void usb_write_mem_complete(struct urb *purb) in usb_write_mem_complete() argument 136 struct io_queue *pio_q = (struct io_queue *)purb->context; in usb_write_mem_complete() 141 if (purb->status != 0) { in usb_write_mem_complete() 142 if (purb->status == (-ESHUTDOWN)) in usb_write_mem_complete() 174 static void r8712_usb_read_port_complete(struct urb *purb) in r8712_usb_read_port_complete() argument 178 struct recv_buf *precvbuf = (struct recv_buf *)purb->context; in r8712_usb_read_port_complete() 184 if (purb->status == 0) { /* SUCCESS */ in r8712_usb_read_port_complete() 185 if ((purb->actual_length > (MAX_RECVBUF_SZ)) || in r8712_usb_read_port_complete() 186 (purb->actual_length < RXDESC_SIZE)) { in r8712_usb_read_port_complete() 192 precvbuf->transfer_len = purb->actual_length; in r8712_usb_read_port_complete() [all …]
|
D | recv_linux.c | 46 precvbuf->purb = usb_alloc_urb(0, GFP_KERNEL); in r8712_os_recvbuf_resource_alloc() 47 if (!precvbuf->purb) in r8712_os_recvbuf_resource_alloc() 67 if (precvbuf->purb) { in r8712_os_recvbuf_resource_free() 68 usb_kill_urb(precvbuf->purb); in r8712_os_recvbuf_resource_free() 69 usb_free_urb(precvbuf->purb); in r8712_os_recvbuf_resource_free()
|
D | rtl8712_recv.h | 93 struct urb *purb; member
|
/linux-6.12.1/drivers/media/usb/au0828/ |
D | au0828-dvb.c | 108 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-6.12.1/drivers/media/usb/dvb-usb/ |
D | dib0700_core.c | 708 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-6.12.1/sound/usb/usx2y/ |
D | usbusx2yaudio.c | 428 struct urb **purb; in usx2y_urbs_allocate() local 443 purb = subs->urb + i; in usx2y_urbs_allocate() 444 if (*purb) { in usx2y_urbs_allocate() 445 usb_kill_urb(*purb); in usx2y_urbs_allocate() 448 *purb = usb_alloc_urb(nr_of_packs(), GFP_KERNEL); in usx2y_urbs_allocate() 449 if (!*purb) { in usx2y_urbs_allocate() 453 if (!is_playback && !(*purb)->transfer_buffer) { in usx2y_urbs_allocate() 455 (*purb)->transfer_buffer = in usx2y_urbs_allocate() 458 if (!(*purb)->transfer_buffer) { in usx2y_urbs_allocate() 463 (*purb)->dev = dev; in usx2y_urbs_allocate() [all …]
|
D | usx2yhwdeppcm.c | 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() [all …]
|
/linux-6.12.1/drivers/media/usb/pvrusb2/ |
D | pvrusb2-io.c | 84 struct urb *purb; member 110 (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()
|
/linux-6.12.1/drivers/usb/usbip/ |
D | usbip_common.h | 302 void usbip_dump_urb(struct urb *purb);
|
/linux-6.12.1/drivers/media/usb/s2255/ |
D | s2255drv.c | 2034 static void read_pipe_completion(struct urb *purb) in read_pipe_completion() argument 2040 pipe_info = purb->context; in read_pipe_completion() 2042 dev_err(&purb->dev->dev, "no context!\n"); in read_pipe_completion() 2047 dev_err(&purb->dev->dev, "no context!\n"); in read_pipe_completion() 2050 status = purb->status; in read_pipe_completion()
|