Lines Matching refs:hcd
23 #include <linux/usb/hcd.h>
35 static int broken_suspend(struct usb_hcd *hcd)
37 device_init_wakeup(&hcd->self.root_hub->dev, 0);
44 static int ohci_quirk_amd756(struct usb_hcd *hcd)
46 struct ohci_hcd *ohci = hcd_to_ohci (hcd);
52 return broken_suspend(hcd);
59 static int ohci_quirk_opti(struct usb_hcd *hcd)
61 struct ohci_hcd *ohci = hcd_to_ohci (hcd);
72 static int ohci_quirk_ns(struct usb_hcd *hcd)
74 struct pci_dev *pdev = to_pci_dev(hcd->self.controller);
80 struct ohci_hcd *ohci = hcd_to_ohci (hcd);
94 static int ohci_quirk_zfmicro(struct usb_hcd *hcd)
96 struct ohci_hcd *ohci = hcd_to_ohci (hcd);
107 static int ohci_quirk_toshiba_scc(struct usb_hcd *hcd)
109 struct ohci_hcd *ohci = hcd_to_ohci (hcd);
140 static int ohci_quirk_nec(struct usb_hcd *hcd)
142 struct ohci_hcd *ohci = hcd_to_ohci (hcd);
151 static int ohci_quirk_amd700(struct usb_hcd *hcd)
153 struct ohci_hcd *ohci = hcd_to_ohci(hcd);
168 static int ohci_quirk_qemu(struct usb_hcd *hcd)
170 struct ohci_hcd *ohci = hcd_to_ohci(hcd);
238 static int ohci_pci_reset (struct usb_hcd *hcd)
240 struct ohci_hcd *ohci = hcd_to_ohci (hcd);
241 struct pci_dev *pdev = to_pci_dev(hcd->self.controller);
244 if (hcd->self.controller) {
251 ret = quirk(hcd);
256 ret = ohci_setup(hcd);
305 static int ohci_pci_resume(struct usb_hcd *hcd, pm_message_t msg)
307 return ohci_resume(hcd, msg.event == PM_EVENT_RESTORE);