/drivers/usb/host/ |
D | uhci-q.c | 74 struct urb_priv *urbp = urb->hcpriv; in uhci_add_fsbr() local 76 urbp->fsbr = 1; in uhci_add_fsbr() 79 static void uhci_urbp_wants_fsbr(struct uhci_hcd *uhci, struct urb_priv *urbp) in uhci_urbp_wants_fsbr() argument 81 if (urbp->fsbr) { in uhci_urbp_wants_fsbr() 142 static void uhci_add_td_to_urbp(struct uhci_td *td, struct urb_priv *urbp) in uhci_add_td_to_urbp() argument 144 list_add_tail(&td->list, &urbp->td_list); in uhci_add_td_to_urbp() 238 struct urb_priv *urbp = (struct urb_priv *) urb->hcpriv; in uhci_unlink_isochronous_tds() local 241 list_for_each_entry(td, &urbp->td_list, list) in uhci_unlink_isochronous_tds() 317 struct urb_priv *urbp = urb->hcpriv; in uhci_cleanup_queue() local 334 if (qh->queue.next != &urbp->node) { in uhci_cleanup_queue() [all …]
|
D | xen-hcd.c | 554 static void xenhcd_free_urb_priv(struct urb_priv *urbp) in xenhcd_free_urb_priv() argument 556 urbp->urb->hcpriv = NULL; in xenhcd_free_urb_priv() 557 kmem_cache_free(xenhcd_urbp_cachep, urbp); in xenhcd_free_urb_priv() 765 struct urb_priv *urbp = (struct urb_priv *)urb->hcpriv; in xenhcd_giveback_urb() local 766 int priv_status = urbp->status; in xenhcd_giveback_urb() 768 list_del_init(&urbp->list); in xenhcd_giveback_urb() 769 xenhcd_free_urb_priv(urbp); in xenhcd_giveback_urb() 780 static int xenhcd_do_request(struct xenhcd_info *info, struct urb_priv *urbp) in xenhcd_do_request() argument 783 struct urb *urb = urbp->urb; in xenhcd_do_request() 792 if (unlikely(urbp->unlinked)) { in xenhcd_do_request() [all …]
|
D | uhci-debug.c | 100 static int uhci_show_urbp(struct uhci_hcd *uhci, struct urb_priv *urbp, in uhci_show_urbp() argument 109 out += sprintf(out, "urb_priv [%p] ", urbp); in uhci_show_urbp() 110 out += sprintf(out, "urb [%p] ", urbp->urb); in uhci_show_urbp() 111 out += sprintf(out, "qh [%p] ", urbp->qh); in uhci_show_urbp() 112 out += sprintf(out, "Dev=%d ", usb_pipedevice(urbp->urb->pipe)); in uhci_show_urbp() 113 out += sprintf(out, "EP=%x(%s) ", usb_pipeendpoint(urbp->urb->pipe), in uhci_show_urbp() 114 (usb_pipein(urbp->urb->pipe) ? "IN" : "OUT")); in uhci_show_urbp() 118 switch (usb_pipetype(urbp->urb->pipe)) { in uhci_show_urbp() 126 out += sprintf(out, "%s%s", ptype, (urbp->fsbr ? " FSBR" : "")); in uhci_show_urbp() 127 out += sprintf(out, " Actlen=%d%s", urbp->urb->actual_length, in uhci_show_urbp() [all …]
|
/drivers/usb/c67x00/ |
D | c67x00-sched.c | 201 struct c67x00_urb_priv *urbp; in c67x00_release_urb() local 222 urbp = urb->hcpriv; in c67x00_release_urb() 224 list_del(&urbp->hep_node); in c67x00_release_urb() 225 kfree(urbp); in c67x00_release_urb() 347 struct c67x00_urb_priv *urbp; in c67x00_urb_enqueue() local 352 urbp = kzalloc(sizeof(*urbp), mem_flags); in c67x00_urb_enqueue() 353 if (!urbp) { in c67x00_urb_enqueue() 370 INIT_LIST_HEAD(&urbp->hep_node); in c67x00_urb_enqueue() 371 urbp->urb = urb; in c67x00_urb_enqueue() 372 urbp->port = port; in c67x00_urb_enqueue() [all …]
|
/drivers/usb/usbip/ |
D | vudc.h | 45 struct urbp { struct 68 struct urbp *s; argument 152 void v_enqueue_ret_submit(struct vudc *udc, struct urbp *urb_p); 167 struct urbp *alloc_urbp(void); 168 void free_urbp_and_urb(struct urbp *urb_p);
|
D | vudc_rx.c | 15 static int alloc_urb_from_cmd(struct urb **urbp, in alloc_urb_from_cmd() argument 50 *urbp = urb; in alloc_urb_from_cmd() 66 struct urbp *urb_p; in v_recv_cmd_unlink() 92 struct urbp *urb_p; in v_recv_cmd_submit()
|
D | vudc_dev.c | 42 struct urbp *alloc_urbp(void) in alloc_urbp() 44 struct urbp *urb_p; in alloc_urbp() 56 static void free_urbp(struct urbp *urb_p) in free_urbp() 61 void free_urbp_and_urb(struct urbp *urb_p) in free_urbp_and_urb() 93 struct urbp *urb_p, *tmp; in stop_activity()
|
D | vudc_tx.c | 25 static void setup_ret_submit_pdu(struct usbip_header *rpdu, struct urbp *urb_p) in setup_ret_submit_pdu() 73 static int v_send_ret_submit(struct vudc *udc, struct urbp *urb_p) in v_send_ret_submit() 270 void v_enqueue_ret_submit(struct vudc *udc, struct urbp *urb_p) in v_enqueue_ret_submit()
|
D | vudc_transfer.c | 306 struct urbp *urb_p, *tmp; in v_timer()
|
/drivers/usb/gadget/udc/ |
D | dummy_hcd.c | 226 struct urbp { struct 250 struct urbp *next_frame_urbp; argument 1266 struct urbp *urbp; in dummy_urb_enqueue() local 1270 urbp = kmalloc(sizeof *urbp, mem_flags); in dummy_urb_enqueue() 1271 if (!urbp) in dummy_urb_enqueue() 1273 urbp->urb = urb; in dummy_urb_enqueue() 1274 urbp->miter_started = 0; in dummy_urb_enqueue() 1281 kfree(urbp); in dummy_urb_enqueue() 1287 kfree(urbp); in dummy_urb_enqueue() 1297 list_add_tail(&urbp->urbp_list, &dum_hcd->urbp_list); in dummy_urb_enqueue() [all …]
|