Lines Matching refs:ep

808 	if (usb_endpoint_xfer_int(&urb->ep->desc))  in rh_urb_enqueue()
810 if (usb_endpoint_xfer_control(&urb->ep->desc)) in rh_urb_enqueue()
830 if (usb_endpoint_num(&urb->ep->desc) == 0) { /* Control URB */ in usb_rh_urb_dequeue()
1186 if (unlikely(!urb->ep->enabled)) { in usb_hcd_link_urb_to_ep()
1202 list_add_tail(&urb->urb_list, &urb->ep->urb_list); in usb_hcd_link_urb_to_ep()
1238 list_for_each(tmp, &urb->ep->urb_list) { in usb_hcd_check_unlink_urb()
1441 if (usb_endpoint_xfer_control(&urb->ep->desc)) { in usb_hcd_map_urb_for_dma()
1475 if (usb_endpoint_xfer_isoc(&urb->ep->desc)) { in usb_hcd_map_urb_for_dma()
1714 bh->completing_ep = urb->ep; in usb_giveback_urb_bh()
1787 struct usb_host_endpoint *ep) in usb_hcd_flush_endpoint() argument
1792 if (!ep) in usb_hcd_flush_endpoint()
1800 list_for_each_entry (urb, &ep->urb_list, urb_list) { in usb_hcd_flush_endpoint()
1813 urb, usb_endpoint_num(&ep->desc), in usb_hcd_flush_endpoint()
1817 switch (usb_endpoint_type(&ep->desc)) { in usb_hcd_flush_endpoint()
1838 while (!list_empty (&ep->urb_list)) { in usb_hcd_flush_endpoint()
1843 if (!list_empty (&ep->urb_list)) { in usb_hcd_flush_endpoint()
1844 urb = list_entry (ep->urb_list.prev, struct urb, in usb_hcd_flush_endpoint()
1887 struct usb_host_endpoint *ep; in usb_hcd_alloc_bandwidth() local
1896 ep = udev->ep_out[i]; in usb_hcd_alloc_bandwidth()
1897 if (ep) in usb_hcd_alloc_bandwidth()
1898 hcd->driver->drop_endpoint(hcd, udev, ep); in usb_hcd_alloc_bandwidth()
1899 ep = udev->ep_in[i]; in usb_hcd_alloc_bandwidth()
1900 if (ep) in usb_hcd_alloc_bandwidth()
1901 hcd->driver->drop_endpoint(hcd, udev, ep); in usb_hcd_alloc_bandwidth()
1917 ep = udev->ep_out[i]; in usb_hcd_alloc_bandwidth()
1918 if (ep) { in usb_hcd_alloc_bandwidth()
1919 ret = hcd->driver->drop_endpoint(hcd, udev, ep); in usb_hcd_alloc_bandwidth()
1923 ep = udev->ep_in[i]; in usb_hcd_alloc_bandwidth()
1924 if (ep) { in usb_hcd_alloc_bandwidth()
1925 ret = hcd->driver->drop_endpoint(hcd, udev, ep); in usb_hcd_alloc_bandwidth()
2001 struct usb_host_endpoint *ep) in usb_hcd_disable_endpoint() argument
2008 hcd->driver->endpoint_disable(hcd, ep); in usb_hcd_disable_endpoint()
2020 struct usb_host_endpoint *ep) in usb_hcd_reset_endpoint() argument
2025 hcd->driver->endpoint_reset(hcd, ep); in usb_hcd_reset_endpoint()
2027 int epnum = usb_endpoint_num(&ep->desc); in usb_hcd_reset_endpoint()
2028 int is_out = usb_endpoint_dir_out(&ep->desc); in usb_hcd_reset_endpoint()
2029 int is_control = usb_endpoint_xfer_control(&ep->desc); in usb_hcd_reset_endpoint()