Lines Matching defs:hcd
81 static int ehci_pci_setup(struct usb_hcd *hcd)
83 struct ehci_hcd *ehci = hcd_to_ehci(hcd);
84 struct pci_dev *pdev = to_pci_dev(hcd->self.controller);
104 ehci->caps = hcd->regs;
105 ehci->regs = hcd->regs +
146 retval = ehci_init(hcd);
169 hcd->has_tt = 1;
337 static int ehci_pci_suspend(struct usb_hcd *hcd, bool do_wakeup)
339 struct ehci_hcd *ehci = hcd_to_ehci(hcd);
355 clear_bit(HCD_FLAG_HW_ACCESSIBLE, &hcd->flags);
364 static int ehci_pci_resume(struct usb_hcd *hcd, bool hibernated)
366 struct ehci_hcd *ehci = hcd_to_ehci(hcd);
367 struct pci_dev *pdev = to_pci_dev(hcd->self.controller);
375 set_bit(HCD_FLAG_HW_ACCESSIBLE, &hcd->flags);
386 if (!hcd->self.root_hub->do_remote_wakeup)
393 usb_root_hub_lost_power(hcd->self.root_hub);
416 hcd->state = HC_STATE_SUSPENDED;
421 static int ehci_update_device(struct usb_hcd *hcd, struct usb_device *udev)
423 struct ehci_hcd *ehci = hcd_to_ehci(hcd);