Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/usb/core/
Durb.c353 int xfertype, max; in usb_submit_urb() local
385 xfertype = usb_endpoint_type(&ep->desc); in usb_submit_urb()
386 if (xfertype == USB_ENDPOINT_XFER_CONTROL) { in usb_submit_urb()
405 if (xfertype != USB_ENDPOINT_XFER_CONTROL && in usb_submit_urb()
422 if (xfertype == USB_ENDPOINT_XFER_ISOC) { in usb_submit_urb()
478 usb_pipetype(urb->pipe), pipetypes[xfertype]); in usb_submit_urb()
483 switch (xfertype) { in usb_submit_urb()
512 switch (xfertype) { in usb_submit_urb()
519 && (xfertype == USB_ENDPOINT_XFER_INT)) in usb_submit_urb()
548 if (xfertype == USB_ENDPOINT_XFER_INT) { in usb_submit_urb()
/Linux-v5.4/drivers/usb/mon/
Dmon_text.c65 char xfertype; member
135 if (ep->xfertype != USB_ENDPOINT_XFER_CONTROL || ev_type != 'S') in mon_text_get_setup()
215 ep->xfertype = usb_endpoint_type(&urb->ep->desc); in mon_text_event()
223 if (ep->xfertype == USB_ENDPOINT_XFER_INT) { in mon_text_event()
225 } else if (ep->xfertype == USB_ENDPOINT_XFER_ISOC) { in mon_text_event()
231 if (ep->xfertype == USB_ENDPOINT_XFER_ISOC && in mon_text_event()
287 ep->xfertype = usb_endpoint_type(&urb->ep->desc); in mon_text_error()
457 } else if (ep->xfertype == USB_ENDPOINT_XFER_ISOC) { in mon_text_read_u()
460 } else if (ep->xfertype == USB_ENDPOINT_XFER_INT) { in mon_text_read_u()
517 switch (ep->xfertype) { in mon_text_read_head_t()
[all …]
/Linux-v5.4/drivers/usb/usbip/
Dstub_rx.c390 int xfertype; in masking_bogus_flags() local
407 xfertype = usb_endpoint_type(&ep->desc); in masking_bogus_flags()
408 if (xfertype == USB_ENDPOINT_XFER_CONTROL) { in masking_bogus_flags()
423 switch (xfertype) { in masking_bogus_flags()
/Linux-v5.4/drivers/usb/dwc2/
Dgadget.c4268 u32 xfertype; in dwc2_hsotg_ep_sethalt() local
4302 xfertype = epctl & DXEPCTL_EPTYPE_MASK; in dwc2_hsotg_ep_sethalt()
4303 if (xfertype == DXEPCTL_EPTYPE_BULK || in dwc2_hsotg_ep_sethalt()
4304 xfertype == DXEPCTL_EPTYPE_INTERRUPT) in dwc2_hsotg_ep_sethalt()
4316 xfertype = epctl & DXEPCTL_EPTYPE_MASK; in dwc2_hsotg_ep_sethalt()
4317 if (xfertype == DXEPCTL_EPTYPE_BULK || in dwc2_hsotg_ep_sethalt()
4318 xfertype == DXEPCTL_EPTYPE_INTERRUPT) in dwc2_hsotg_ep_sethalt()