Home
last modified time | relevance | path

Searched refs:urbp (Results 1 – 4 of 4) sorted by relevance

/linux-2.6.39/drivers/usb/host/
Duhci-q.c73 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()
318 struct urb_priv *urbp = urb->hcpriv; in uhci_cleanup_queue() local
335 if (qh->queue.next != &urbp->node) { in uhci_cleanup_queue()
[all …]
Duhci-debug.c94 static int uhci_show_urbp(struct urb_priv *urbp, char *buf, int len, int space) in uhci_show_urbp() argument
104 out += sprintf(out, "urb_priv [%p] ", urbp); in uhci_show_urbp()
105 out += sprintf(out, "urb [%p] ", urbp->urb); in uhci_show_urbp()
106 out += sprintf(out, "qh [%p] ", urbp->qh); in uhci_show_urbp()
107 out += sprintf(out, "Dev=%d ", usb_pipedevice(urbp->urb->pipe)); in uhci_show_urbp()
108 out += sprintf(out, "EP=%x(%s) ", usb_pipeendpoint(urbp->urb->pipe), in uhci_show_urbp()
109 (usb_pipein(urbp->urb->pipe) ? "IN" : "OUT")); in uhci_show_urbp()
111 switch (usb_pipetype(urbp->urb->pipe)) { in uhci_show_urbp()
119 out += sprintf(out, "%s%s", ptype, (urbp->fsbr ? " FSBR" : "")); in uhci_show_urbp()
120 out += sprintf(out, " Actlen=%d%s", urbp->urb->actual_length, in uhci_show_urbp()
[all …]
/linux-2.6.39/drivers/usb/c67x00/
Dc67x00-sched.c225 struct c67x00_urb_priv *urbp; in c67x00_release_urb() local
246 urbp = urb->hcpriv; in c67x00_release_urb()
248 list_del(&urbp->hep_node); in c67x00_release_urb()
249 kfree(urbp); in c67x00_release_urb()
371 struct c67x00_urb_priv *urbp; in c67x00_urb_enqueue() local
388 urbp = kzalloc(sizeof(*urbp), mem_flags); in c67x00_urb_enqueue()
389 if (!urbp) { in c67x00_urb_enqueue()
394 INIT_LIST_HEAD(&urbp->hep_node); in c67x00_urb_enqueue()
395 urbp->urb = urb; in c67x00_urb_enqueue()
396 urbp->port = port; in c67x00_urb_enqueue()
[all …]
/linux-2.6.39/drivers/usb/gadget/
Ddummy_hcd.c143 struct urbp { struct
971 struct urbp *urbp; in dummy_urb_enqueue() local
978 urbp = kmalloc (sizeof *urbp, mem_flags); in dummy_urb_enqueue()
979 if (!urbp) in dummy_urb_enqueue()
981 urbp->urb = urb; in dummy_urb_enqueue()
987 kfree(urbp); in dummy_urb_enqueue()
997 list_add_tail (&urbp->urbp_list, &dum->urbp_list); in dummy_urb_enqueue()
998 urb->hcpriv = urbp; in dummy_urb_enqueue()
1339 struct urbp *urbp, *tmp; in dummy_timer() local
1379 list_for_each_entry_safe (urbp, tmp, &dum->urbp_list, urbp_list) { in dummy_timer()
[all …]