Lines Matching full:hcd

3  * UHCI HCD (Host Controller Driver) PCI Bus Glue.
5 * Extracted from uhci-hcd.c:
46 * This function is called at the end of configure_hc in uhci-hcd.c.
114 static int uhci_pci_init(struct usb_hcd *hcd) in uhci_pci_init() argument
116 struct uhci_hcd *uhci = hcd_to_uhci(hcd); in uhci_pci_init()
118 uhci->io_addr = (unsigned long) hcd->rsrc_start; in uhci_pci_init()
120 uhci->rh_numports = uhci_count_ports(hcd); in uhci_pci_init()
165 struct usb_hcd *hcd = pci_get_drvdata(pdev); in uhci_shutdown() local
167 uhci_hc_died(hcd_to_uhci(hcd)); in uhci_shutdown()
172 static int uhci_pci_resume(struct usb_hcd *hcd, pm_message_t state);
174 static int uhci_pci_suspend(struct usb_hcd *hcd, bool do_wakeup) in uhci_pci_suspend() argument
176 struct uhci_hcd *uhci = hcd_to_uhci(hcd); in uhci_pci_suspend()
183 if (!HCD_HW_ACCESSIBLE(hcd) || uhci->dead) in uhci_pci_suspend()
190 clear_bit(HCD_FLAG_POLL_RH, &hcd->flags); in uhci_pci_suspend()
200 clear_bit(HCD_FLAG_HW_ACCESSIBLE, &hcd->flags); in uhci_pci_suspend()
203 synchronize_irq(hcd->irq); in uhci_pci_suspend()
206 if (do_wakeup && HCD_WAKEUP_PENDING(hcd)) { in uhci_pci_suspend()
207 uhci_pci_resume(hcd, PMSG_SUSPEND); in uhci_pci_suspend()
213 static int uhci_pci_resume(struct usb_hcd *hcd, pm_message_t msg) in uhci_pci_resume() argument
216 struct uhci_hcd *uhci = hcd_to_uhci(hcd); in uhci_pci_resume()
223 set_bit(HCD_FLAG_HW_ACCESSIBLE, &hcd->flags); in uhci_pci_resume()
243 usb_root_hub_lost_power(hcd->self.root_hub); in uhci_pci_resume()
250 if (!uhci->RD_enable && hcd->self.root_hub->do_remote_wakeup) in uhci_pci_resume()
251 set_bit(HCD_FLAG_POLL_RH, &hcd->flags); in uhci_pci_resume()
254 usb_hcd_poll_rh_status(hcd); in uhci_pci_resume()