Home
last modified time | relevance | path

Searched refs:usb_pipetype (Results 1 – 25 of 38) sorted by relevance

12

/openbmc/u-boot/include/
H A Dusb.h392 #define usb_pipetype(pipe) (((pipe) >> 30) & 3) macro
393 #define usb_pipeisoc(pipe) (usb_pipetype((pipe)) == PIPE_ISOCHRONOUS)
394 #define usb_pipeint(pipe) (usb_pipetype((pipe)) == PIPE_INTERRUPT)
395 #define usb_pipecontrol(pipe) (usb_pipetype((pipe)) == PIPE_CONTROL)
396 #define usb_pipebulk(pipe) (usb_pipetype((pipe)) == PIPE_BULK)
/openbmc/linux/drivers/usb/usbip/
H A Dstub_tx.c183 if (usb_pipetype(urb->pipe) == PIPE_ISOCHRONOUS) in stub_send_ret_submit()
238 usb_pipetype(urb->pipe) != PIPE_ISOCHRONOUS && in stub_send_ret_submit()
266 usb_pipetype(urb->pipe) == PIPE_ISOCHRONOUS) { in stub_send_ret_submit()
299 if (usb_pipetype(urb->pipe) == PIPE_ISOCHRONOUS) { in stub_send_ret_submit()
H A Dvhci_tx.c123 if (usb_pipetype(urb->pipe) == PIPE_ISOCHRONOUS) { in vhci_send_cmd_submit()
H A Dusbip_common.c60 unsigned char type = usb_pipetype(p); in usbip_dump_pipe()
248 if (urb->setup_packet && usb_pipetype(urb->pipe) == PIPE_CONTROL) in usbip_dump_urb()
H A Dstub_rx.c180 if (usb_pipetype(urb->pipe) != PIPE_CONTROL) in tweak_special_requests()
/openbmc/u-boot/drivers/usb/host/
H A Dxhci.c1114 if (usb_pipetype(pipe) != PIPE_INTERRUPT) { in _xhci_submit_int_msg()
1115 printf("non-interrupt pipe (type=%lu)", usb_pipetype(pipe)); in _xhci_submit_int_msg()
1140 if (usb_pipetype(pipe) != PIPE_BULK) { in _xhci_submit_bulk_msg()
1141 printf("non-bulk pipe (type=%lu)", usb_pipetype(pipe)); in _xhci_submit_bulk_msg()
1166 if (usb_pipetype(pipe) != PIPE_CONTROL) { in _xhci_submit_control_msg()
1167 printf("non-control pipe (type=%lu)", usb_pipetype(pipe)); in _xhci_submit_control_msg()
H A Dehci-hcd.c1154 if (usb_pipetype(pipe) != PIPE_BULK) { in _ehci_submit_bulk_msg()
1155 debug("non-bulk pipe (type=%lu)", usb_pipetype(pipe)); in _ehci_submit_bulk_msg()
1167 if (usb_pipetype(pipe) != PIPE_CONTROL) { in _ehci_submit_control_msg()
1168 debug("non-control pipe (type=%lu)", usb_pipetype(pipe)); in _ehci_submit_control_msg()
1258 if (usb_pipetype(pipe) != PIPE_INTERRUPT) { in _ehci_create_int_queue()
1259 debug("non-interrupt pipe (type=%lu)", usb_pipetype(pipe)); in _ehci_create_int_queue()
H A Dohci-hcd.c286 usb_pipetype(pipe) < 2 ? \ in pkt_print()
539 switch (usb_pipetype(pipe)) { in sohci_submit_job()
865 ed->type = usb_pipetype(pipe); in ep_add_ed()
977 switch (usb_pipetype(pipe)) { in td_submit_job()
/openbmc/linux/drivers/usb/c67x00/
H A Dc67x00-sched.c207 if (usb_pipetype(urb->pipe) == PIPE_ISOCHRONOUS) { in c67x00_release_urb()
267 type = usb_pipetype(urb->pipe); in c67x00_ep_data_alloc()
388 switch (usb_pipetype(urb->pipe)) { in c67x00_urb_enqueue()
588 switch (usb_pipetype(td->pipe)) { in c67x00_create_td()
917 switch (usb_pipetype(td->pipe)) { in c67x00_handle_successful_td()
/openbmc/linux/include/linux/
H A Dusb.h1991 #define usb_pipetype(pipe) (((pipe) >> 30) & 3) macro
1992 #define usb_pipeisoc(pipe) (usb_pipetype((pipe)) == PIPE_ISOCHRONOUS)
1993 #define usb_pipeint(pipe) (usb_pipetype((pipe)) == PIPE_INTERRUPT)
1994 #define usb_pipecontrol(pipe) (usb_pipetype((pipe)) == PIPE_CONTROL)
1995 #define usb_pipebulk(pipe) (usb_pipetype((pipe)) == PIPE_BULK)
/openbmc/linux/drivers/usb/dwc2/
H A Dhcd.h594 return usb_pipetype(urb->pipe) == PIPE_BULK || in dbg_urb()
595 usb_pipetype(urb->pipe) == PIPE_CONTROL; in dbg_urb()
H A Dhcd.c4094 if (usb_pipetype(urb->pipe) == PIPE_ISOCHRONOUS) in dwc2_allocate_bus_bandwidth()
4107 if (usb_pipetype(urb->pipe) == PIPE_ISOCHRONOUS) in dwc2_free_bus_bandwidth()
4151 if (usb_pipetype(urb->pipe) == PIPE_ISOCHRONOUS) { in dwc2_host_complete()
4164 if (usb_pipetype(urb->pipe) == PIPE_ISOCHRONOUS && dbg_perio()) { in dwc2_host_complete()
4177 if (usb_pipetype(urb->pipe) == PIPE_ISOCHRONOUS || in dwc2_host_complete()
4178 usb_pipetype(urb->pipe) == PIPE_INTERRUPT) { in dwc2_host_complete()
4551 switch (usb_pipetype(urb->pipe)) { in dwc2_dump_urb_info()
4598 if (usb_pipetype(urb->pipe) == PIPE_ISOCHRONOUS) { in dwc2_dump_urb_info()
4670 if (usb_pipetype(urb->pipe) == PIPE_ISOCHRONOUS || in _dwc2_hcd_urb_enqueue()
4671 usb_pipetype(urb->pipe) == PIPE_INTERRUPT) { in _dwc2_hcd_urb_enqueue()
[all …]
/openbmc/linux/drivers/usb/core/
H A Durb.c211 if (usb_pipetype(pipe) != pipetypes[usb_endpoint_type(&ep->desc)]) in usb_pipe_type_check()
504 usb_pipetype(urb->pipe), pipetypes[xfertype]); in usb_submit_urb()
/openbmc/linux/drivers/usb/host/
H A Dehci-hcd.c892 switch (usb_pipetype (urb->pipe)) { in ehci_urb_enqueue()
935 if (usb_pipetype(urb->pipe) == PIPE_ISOCHRONOUS) { in ehci_urb_dequeue()
946 if (usb_pipetype(urb->pipe) == PIPE_INTERRUPT) in ehci_urb_dequeue()
H A Dohci-q.c57 switch (usb_pipetype (urb->pipe)) { in finish_urb()
443 ed->type = usb_pipetype(pipe); in ed_get()
799 int type = usb_pipetype (urb->pipe); in td_done()
H A Dmax3421-hcd.c1045 if (urb_done > 0 && usb_pipetype(urb->pipe) == PIPE_CONTROL) { in max3421_host_transfer_done()
1162 usb_pipetype(urb->pipe), in dump_eps()
1501 switch (usb_pipetype(urb->pipe)) { in max3421_urb_enqueue()
H A Dehci-q.c254 if (usb_pipetype(urb->pipe) == PIPE_INTERRUPT) { in ehci_urb_done()
785 type = usb_pipetype (urb->pipe); in qh_make()
H A Duhci-debug.c118 switch (usb_pipetype(urbp->urb->pipe)) { in uhci_show_urbp()
H A Dxen-hcd.c623 switch (usb_pipetype(urb_pipe)) { in xenhcd_pipe_urb_to_xenusb()
684 switch (usb_pipetype(urb->pipe)) { in xenhcd_map_urb_for_request()
H A Dfhci-hcd.c396 switch (usb_pipetype(pipe)) { in fhci_urb_enqueue()
H A Docteon-hcd.c1977 if (usb_pipetype(urb->pipe) == PIPE_ISOCHRONOUS) { in octeon_usb_urb_complete_callback()
3095 switch (usb_pipetype(urb->pipe)) { in octeon_usb_urb_enqueue()
3174 switch (usb_pipetype(urb->pipe)) { in octeon_usb_urb_enqueue()
/openbmc/linux/drivers/media/usb/dvb-usb/
H A Dusb-urb.c18 int ptype = usb_pipetype(urb->pipe); in usb_urb_complete()
/openbmc/linux/drivers/media/usb/dvb-usb-v2/
H A Dusb_urb.c22 int ptype = usb_pipetype(urb->pipe); in usb_urb_complete()
/openbmc/linux/drivers/media/usb/au0828/
H A Dau0828-dvb.c111 int ptype = usb_pipetype(purb->pipe); in urb_completion()
/openbmc/linux/drivers/usb/gadget/udc/
H A Ddummy_hcd.c1300 if (usb_pipetype(urb->pipe) == PIPE_CONTROL) in dummy_urb_enqueue()
1946 switch (usb_pipetype(urb->pipe)) { in dummy_timer()
2426 switch (usb_pipetype(urb->pipe)) { \ in show_urb()

12