Home
last modified time | relevance | path

Searched refs:urbp (Results 1 - 19 of 19) sorted by relevance

/kernel/linux/linux-5.10/drivers/usb/c67x00/
H A Dc67x00-sched.c201 struct c67x00_urb_priv *urbp; in c67x00_release_urb() local
216 * * keep a list of tds with each urbp in c67x00_release_urb()
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 in c67x00_urb_enqueue()
476 struct c67x00_urb_priv *urbp; c67x00_giveback_urb() local
498 struct c67x00_urb_priv *urbp = urb->hcpriv; c67x00_claim_frame_bw() local
568 struct c67x00_urb_priv *urbp = urb->hcpriv; c67x00_create_td() local
732 struct c67x00_urb_priv *urbp = urb->hcpriv; c67x00_add_int_urb() local
744 struct c67x00_urb_priv *urbp = urb->hcpriv; c67x00_add_iso_urb() local
[all...]
/kernel/linux/linux-6.6/drivers/usb/c67x00/
H A Dc67x00-sched.c201 struct c67x00_urb_priv *urbp; in c67x00_release_urb() local
216 * * keep a list of tds with each urbp in c67x00_release_urb()
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 in c67x00_urb_enqueue()
476 struct c67x00_urb_priv *urbp; c67x00_giveback_urb() local
498 struct c67x00_urb_priv *urbp = urb->hcpriv; c67x00_claim_frame_bw() local
568 struct c67x00_urb_priv *urbp = urb->hcpriv; c67x00_create_td() local
732 struct c67x00_urb_priv *urbp = urb->hcpriv; c67x00_add_int_urb() local
744 struct c67x00_urb_priv *urbp = urb->hcpriv; c67x00_add_iso_urb() local
[all...]
/kernel/linux/linux-6.6/drivers/usb/host/
H A Dxen-hcd.c554 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 in xenhcd_do_request()
822 struct urb_priv *urbp; xenhcd_kick_pending_urbs() local
845 struct urb_priv *urbp, *tmp; xenhcd_cancel_all_enqueued_urbs() local
874 struct urb_priv *urbp, *tmp; xenhcd_giveback_unlinked_urbs() local
880 xenhcd_submit_urb(struct xenhcd_info *info, struct urb_priv *urbp) xenhcd_submit_urb() argument
903 xenhcd_unlink_urb(struct xenhcd_info *info, struct urb_priv *urbp) xenhcd_unlink_urb() argument
1327 struct urb_priv *urbp; xenhcd_urb_enqueue() local
1364 struct urb_priv *urbp; xenhcd_urb_dequeue() local
[all...]
H A 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 in uhci_cleanup_queue()
375 struct urb_priv *urbp = NULL; uhci_fixup_toggles() local
487 struct urb_priv *urbp = list_entry(qh->queue.next, uhci_activate_qh() local
725 struct urb_priv *urbp; uhci_alloc_urb_priv() local
740 uhci_free_urb_priv(struct uhci_hcd *uhci, struct urb_priv *urbp) uhci_free_urb_priv() argument
798 struct urb_priv *urbp = urb->hcpriv; uhci_submit_control() local
925 struct urb_priv *urbp = urb->hcpriv; uhci_submit_common() local
1122 uhci_fixup_short_transfer(struct uhci_hcd *uhci, struct uhci_qh *qh, struct urb_priv *urbp) uhci_fixup_short_transfer() argument
1172 struct urb_priv *urbp = urb->hcpriv; uhci_result_common() local
1261 struct urb_priv *urbp = (struct urb_priv *) urb->hcpriv; uhci_submit_isochronous() local
1372 struct urb_priv *urbp = urb->hcpriv; uhci_result_isochronous() local
1414 struct urb_priv *urbp; uhci_urb_enqueue() local
1521 struct urb_priv *urbp = (struct urb_priv *) urb->hcpriv; global() variable
1577 struct urb_priv *urbp; uhci_scan_qh() local
1670 struct urb_priv *urbp = NULL; uhci_advance_check() local
[all...]
H A 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 in uhci_show_urbp()
220 struct urb_priv *urbp = list_entry(qh->queue.next, uhci_show_qh() local
[all...]
/kernel/linux/linux-5.10/drivers/usb/host/
H A 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 in uhci_cleanup_queue()
375 struct urb_priv *urbp = NULL; uhci_fixup_toggles() local
487 struct urb_priv *urbp = list_entry(qh->queue.next, uhci_activate_qh() local
725 struct urb_priv *urbp; uhci_alloc_urb_priv() local
740 uhci_free_urb_priv(struct uhci_hcd *uhci, struct urb_priv *urbp) uhci_free_urb_priv() argument
798 struct urb_priv *urbp = urb->hcpriv; uhci_submit_control() local
925 struct urb_priv *urbp = urb->hcpriv; uhci_submit_common() local
1122 uhci_fixup_short_transfer(struct uhci_hcd *uhci, struct uhci_qh *qh, struct urb_priv *urbp) uhci_fixup_short_transfer() argument
1172 struct urb_priv *urbp = urb->hcpriv; uhci_result_common() local
1261 struct urb_priv *urbp = (struct urb_priv *) urb->hcpriv; uhci_submit_isochronous() local
1372 struct urb_priv *urbp = urb->hcpriv; uhci_result_isochronous() local
1414 struct urb_priv *urbp; uhci_urb_enqueue() local
1521 struct urb_priv *urbp = (struct urb_priv *) urb->hcpriv; global() variable
1577 struct urb_priv *urbp; uhci_scan_qh() local
1670 struct urb_priv *urbp = NULL; uhci_advance_check() local
[all...]
H A 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 in uhci_show_urbp()
220 struct urb_priv *urbp = list_entry(qh->queue.next, uhci_show_qh() local
[all...]
/kernel/linux/linux-5.10/drivers/usb/usbip/
H A Dvudc.h45 struct urbp { struct
68 struct urbp *s;
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);
H A 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()
H A 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()
H A 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()
H A Dvudc_transfer.c306 struct urbp *urb_p, *tmp; in v_timer()
/kernel/linux/linux-6.6/drivers/usb/usbip/
H A Dvudc.h45 struct urbp { struct
68 struct urbp *s;
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);
H A 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()
H A 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()
H A 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()
H A Dvudc_transfer.c306 struct urbp *urb_p, *tmp; in v_timer()
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/
H A Ddummy_hcd.c226 struct urbp { struct
250 struct urbp *next_frame_urbp;
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()
1325 struct urbp *urbp = urb->hcpriv; dummy_perform_transfer() local
1771 struct urbp *urbp, *tmp; dummy_timer() local
[all...]
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/
H A Ddummy_hcd.c226 struct urbp { struct
250 struct urbp *next_frame_urbp;
1265 struct urbp *urbp; in dummy_urb_enqueue() local
1269 urbp = kmalloc(sizeof *urbp, mem_flags); in dummy_urb_enqueue()
1270 if (!urbp) in dummy_urb_enqueue()
1272 urbp->urb = urb; in dummy_urb_enqueue()
1273 urbp->miter_started = 0; in dummy_urb_enqueue()
1280 kfree(urbp); in dummy_urb_enqueue()
1336 struct urbp *urbp = urb->hcpriv; dummy_perform_transfer() local
1784 struct urbp *urbp, *tmp; dummy_timer() local
[all...]

Completed in 17 milliseconds