Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/usb/core/
Durb.c329 int xfertype, max; in usb_submit_urb() local
361 xfertype = usb_endpoint_type(&ep->desc); in usb_submit_urb()
362 if (xfertype == USB_ENDPOINT_XFER_CONTROL) { in usb_submit_urb()
381 if (xfertype != USB_ENDPOINT_XFER_CONTROL && in usb_submit_urb()
398 if (xfertype == USB_ENDPOINT_XFER_ISOC) { in usb_submit_urb()
447 if (usb_pipetype(urb->pipe) != pipetypes[xfertype]) in usb_submit_urb()
449 usb_pipetype(urb->pipe), pipetypes[xfertype]); in usb_submit_urb()
454 switch (xfertype) { in usb_submit_urb()
486 switch (xfertype) { in usb_submit_urb()
493 && (xfertype == USB_ENDPOINT_XFER_INT)) in usb_submit_urb()
[all …]
/linux-4.4.14/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.4.14/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.4.14/drivers/usb/dwc2/
Dgadget.c2994 u32 xfertype; in dwc2_hsotg_ep_sethalt() local
3017 xfertype = epctl & DXEPCTL_EPTYPE_MASK; in dwc2_hsotg_ep_sethalt()
3018 if (xfertype == DXEPCTL_EPTYPE_BULK || in dwc2_hsotg_ep_sethalt()
3019 xfertype == DXEPCTL_EPTYPE_INTERRUPT) in dwc2_hsotg_ep_sethalt()
3032 xfertype = epctl & DXEPCTL_EPTYPE_MASK; in dwc2_hsotg_ep_sethalt()
3033 if (xfertype == DXEPCTL_EPTYPE_BULK || in dwc2_hsotg_ep_sethalt()
3034 xfertype == DXEPCTL_EPTYPE_INTERRUPT) in dwc2_hsotg_ep_sethalt()