Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/usb/host/
Duhci-q.c74 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 …]
Duhci-debug.c100 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 …]
/kernel/linux/linux-5.10/drivers/usb/c67x00/
Dc67x00-sched.c201 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 …]
/kernel/linux/linux-5.10/drivers/usb/usbip/
Dvudc.h45 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);
Dvudc_rx.c15 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()
Dvudc_tx.c25 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()
Dvudc_dev.c42 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()
Dvudc_transfer.c306 struct urbp *urb_p, *tmp; in v_timer()
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/
Ddummy_hcd.c226 struct urbp { struct
250 struct urbp *next_frame_urbp; argument
1254 struct urbp *urbp; in dummy_urb_enqueue() local
1258 urbp = kmalloc(sizeof *urbp, mem_flags); in dummy_urb_enqueue()
1259 if (!urbp) in dummy_urb_enqueue()
1261 urbp->urb = urb; in dummy_urb_enqueue()
1262 urbp->miter_started = 0; in dummy_urb_enqueue()
1269 kfree(urbp); in dummy_urb_enqueue()
1275 kfree(urbp); in dummy_urb_enqueue()
1285 list_add_tail(&urbp->urbp_list, &dum_hcd->urbp_list); in dummy_urb_enqueue()
[all …]