Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/usb/core/
Durb.c330 int xfertype, max; in usb_submit_urb() local
362 xfertype = usb_endpoint_type(&ep->desc); in usb_submit_urb()
363 if (xfertype == USB_ENDPOINT_XFER_CONTROL) { in usb_submit_urb()
382 if (xfertype != USB_ENDPOINT_XFER_CONTROL && in usb_submit_urb()
399 if (xfertype == USB_ENDPOINT_XFER_ISOC) { in usb_submit_urb()
448 if (usb_pipetype(urb->pipe) != pipetypes[xfertype]) in usb_submit_urb()
450 usb_pipetype(urb->pipe), pipetypes[xfertype]); in usb_submit_urb()
455 switch (xfertype) { in usb_submit_urb()
487 switch (xfertype) { in usb_submit_urb()
494 && (xfertype == USB_ENDPOINT_XFER_INT)) in usb_submit_urb()
[all …]
/linux-4.1.27/drivers/usb/mon/
Dmon_text.c62 char xfertype; member
130 if (ep->xfertype != USB_ENDPOINT_XFER_CONTROL || ev_type != 'S') in mon_text_get_setup()
210 ep->xfertype = usb_endpoint_type(&urb->ep->desc); in mon_text_event()
218 if (ep->xfertype == USB_ENDPOINT_XFER_INT) { in mon_text_event()
220 } else if (ep->xfertype == USB_ENDPOINT_XFER_ISOC) { in mon_text_event()
226 if (ep->xfertype == USB_ENDPOINT_XFER_ISOC && in mon_text_event()
282 ep->xfertype = usb_endpoint_type(&urb->ep->desc); in mon_text_error()
426 } else if (ep->xfertype == USB_ENDPOINT_XFER_ISOC) { in mon_text_read_u()
429 } else if (ep->xfertype == USB_ENDPOINT_XFER_INT) { in mon_text_read_u()
482 switch (ep->xfertype) { in mon_text_read_head_t()
[all …]
/linux-4.1.27/drivers/usb/usbip/
Dstub_rx.c396 int xfertype; in masking_bogus_flags() local
413 xfertype = usb_endpoint_type(&ep->desc); in masking_bogus_flags()
414 if (xfertype == USB_ENDPOINT_XFER_CONTROL) { in masking_bogus_flags()
429 switch (xfertype) { in masking_bogus_flags()
/linux-4.1.27/drivers/usb/dwc2/
Dgadget.c2851 u32 xfertype; in s3c_hsotg_ep_sethalt() local
2874 xfertype = epctl & DXEPCTL_EPTYPE_MASK; in s3c_hsotg_ep_sethalt()
2875 if (xfertype == DXEPCTL_EPTYPE_BULK || in s3c_hsotg_ep_sethalt()
2876 xfertype == DXEPCTL_EPTYPE_INTERRUPT) in s3c_hsotg_ep_sethalt()
2889 xfertype = epctl & DXEPCTL_EPTYPE_MASK; in s3c_hsotg_ep_sethalt()
2890 if (xfertype == DXEPCTL_EPTYPE_BULK || in s3c_hsotg_ep_sethalt()
2891 xfertype == DXEPCTL_EPTYPE_INTERRUPT) in s3c_hsotg_ep_sethalt()