Lines Matching refs:hcd

367 static void ehci_shutdown(struct usb_hcd *hcd)  in ehci_shutdown()  argument
369 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_shutdown()
422 static void ehci_stop (struct usb_hcd *hcd) in ehci_stop() argument
424 struct ehci_hcd *ehci = hcd_to_ehci (hcd); in ehci_stop()
456 static int ehci_init(struct usb_hcd *hcd) in ehci_init() argument
458 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_init()
566 if (!(hcd->driver->flags & HCD_LOCAL_MEM)) in ehci_init()
567 hcd->self.sg_tablesize = ~0; in ehci_init()
572 static int ehci_run (struct usb_hcd *hcd) in ehci_run() argument
574 struct ehci_hcd *ehci = hcd_to_ehci (hcd); in ehci_run()
578 hcd->uses_new_polling = 1; in ehci_run()
602 if (!dma_set_mask(hcd->self.controller, DMA_BIT_MASK(64))) in ehci_run()
657 int ehci_setup(struct usb_hcd *hcd) in ehci_setup() argument
659 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_setup()
673 retval = ehci_init(hcd); in ehci_setup()
689 static irqreturn_t ehci_irq (struct usb_hcd *hcd) in ehci_irq() argument
691 struct ehci_hcd *ehci = hcd_to_ehci (hcd); in ehci_irq()
772 usb_hcd_resume_root_hub(hcd); in ehci_irq()
804 usb_hcd_start_port_resume(&hcd->self, i); in ehci_irq()
805 mod_timer(&hcd->rh_timer, ehci->reset_done[i]); in ehci_irq()
815 usb_hc_died(hcd); in ehci_irq()
833 usb_hcd_poll_rh_status(hcd); in ehci_irq()
852 struct usb_hcd *hcd, in ehci_urb_enqueue() argument
856 struct ehci_hcd *ehci = hcd_to_ehci (hcd); in ehci_urb_enqueue()
892 static int ehci_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) in ehci_urb_dequeue() argument
894 struct ehci_hcd *ehci = hcd_to_ehci (hcd); in ehci_urb_dequeue()
900 rc = usb_hcd_check_unlink_urb(hcd, urb, status); in ehci_urb_dequeue()
943 ehci_endpoint_disable (struct usb_hcd *hcd, struct usb_host_endpoint *ep) in ehci_endpoint_disable() argument
945 struct ehci_hcd *ehci = hcd_to_ehci (hcd); in ehci_endpoint_disable()
1014 ehci_endpoint_reset(struct usb_hcd *hcd, struct usb_host_endpoint *ep) in ehci_endpoint_reset() argument
1016 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_endpoint_reset()
1053 static int ehci_get_frame (struct usb_hcd *hcd) in ehci_get_frame() argument
1055 struct ehci_hcd *ehci = hcd_to_ehci (hcd); in ehci_get_frame()
1063 static void ehci_remove_device(struct usb_hcd *hcd, struct usb_device *udev) in ehci_remove_device() argument
1065 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_remove_device()
1080 int ehci_suspend(struct usb_hcd *hcd, bool do_wakeup) in ehci_suspend() argument
1082 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_suspend()
1098 clear_bit(HCD_FLAG_HW_ACCESSIBLE, &hcd->flags); in ehci_suspend()
1101 synchronize_irq(hcd->irq); in ehci_suspend()
1104 if (do_wakeup && HCD_WAKEUP_PENDING(hcd)) { in ehci_suspend()
1105 ehci_resume(hcd, false); in ehci_suspend()
1114 int ehci_resume(struct usb_hcd *hcd, bool force_reset) in ehci_resume() argument
1116 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_resume()
1122 set_bit(HCD_FLAG_HW_ACCESSIBLE, &hcd->flags); in ehci_resume()
1142 if (!hcd->self.root_hub->do_remote_wakeup) in ehci_resume()
1155 usb_root_hub_lost_power(hcd->self.root_hub); in ehci_resume()