Lines Matching refs:ep

811 	if (usb_endpoint_xfer_int(&urb->ep->desc))  in rh_urb_enqueue()
813 if (usb_endpoint_xfer_control(&urb->ep->desc)) in rh_urb_enqueue()
833 if (usb_endpoint_num(&urb->ep->desc) == 0) { /* Control URB */ in usb_rh_urb_dequeue()
1237 if (unlikely(!urb->ep->enabled)) { in usb_hcd_link_urb_to_ep()
1253 list_add_tail(&urb->urb_list, &urb->ep->urb_list); in usb_hcd_link_urb_to_ep()
1289 list_for_each(tmp, &urb->ep->urb_list) { in usb_hcd_check_unlink_urb()
1492 if (usb_endpoint_xfer_control(&urb->ep->desc)) { in usb_hcd_map_urb_for_dma()
1526 if (usb_endpoint_xfer_isoc(&urb->ep->desc)) { in usb_hcd_map_urb_for_dma()
1765 bh->completing_ep = urb->ep; in usb_giveback_urb_bh()
1838 struct usb_host_endpoint *ep) in usb_hcd_flush_endpoint() argument
1843 if (!ep) in usb_hcd_flush_endpoint()
1851 list_for_each_entry (urb, &ep->urb_list, urb_list) { in usb_hcd_flush_endpoint()
1864 urb, usb_endpoint_num(&ep->desc), in usb_hcd_flush_endpoint()
1868 switch (usb_endpoint_type(&ep->desc)) { in usb_hcd_flush_endpoint()
1889 while (!list_empty (&ep->urb_list)) { in usb_hcd_flush_endpoint()
1894 if (!list_empty (&ep->urb_list)) { in usb_hcd_flush_endpoint()
1895 urb = list_entry (ep->urb_list.prev, struct urb, in usb_hcd_flush_endpoint()
1938 struct usb_host_endpoint *ep; in usb_hcd_alloc_bandwidth() local
1947 ep = udev->ep_out[i]; in usb_hcd_alloc_bandwidth()
1948 if (ep) in usb_hcd_alloc_bandwidth()
1949 hcd->driver->drop_endpoint(hcd, udev, ep); in usb_hcd_alloc_bandwidth()
1950 ep = udev->ep_in[i]; in usb_hcd_alloc_bandwidth()
1951 if (ep) in usb_hcd_alloc_bandwidth()
1952 hcd->driver->drop_endpoint(hcd, udev, ep); in usb_hcd_alloc_bandwidth()
1968 ep = udev->ep_out[i]; in usb_hcd_alloc_bandwidth()
1969 if (ep) { in usb_hcd_alloc_bandwidth()
1970 ret = hcd->driver->drop_endpoint(hcd, udev, ep); in usb_hcd_alloc_bandwidth()
1974 ep = udev->ep_in[i]; in usb_hcd_alloc_bandwidth()
1975 if (ep) { in usb_hcd_alloc_bandwidth()
1976 ret = hcd->driver->drop_endpoint(hcd, udev, ep); in usb_hcd_alloc_bandwidth()
2052 struct usb_host_endpoint *ep) in usb_hcd_disable_endpoint() argument
2059 hcd->driver->endpoint_disable(hcd, ep); in usb_hcd_disable_endpoint()
2071 struct usb_host_endpoint *ep) in usb_hcd_reset_endpoint() argument
2076 hcd->driver->endpoint_reset(hcd, ep); in usb_hcd_reset_endpoint()
2078 int epnum = usb_endpoint_num(&ep->desc); in usb_hcd_reset_endpoint()
2079 int is_out = usb_endpoint_dir_out(&ep->desc); in usb_hcd_reset_endpoint()
2080 int is_control = usb_endpoint_xfer_control(&ep->desc); in usb_hcd_reset_endpoint()