Lines Matching refs:hcd
29 #include <linux/usb/hcd.h>
86 struct usb_hcd *hcd;
130 hcd = usb_create_hcd(&ehci_omap_hc_driver, dev,
132 if (!hcd) {
137 hcd->rsrc_start = res->start;
138 hcd->rsrc_len = resource_size(res);
139 hcd->regs = regs;
140 hcd_to_ehci(hcd)->caps = regs;
142 omap = (struct omap_hcd *)hcd_to_ehci(hcd)->priv;
145 platform_set_drvdata(pdev, hcd);
190 ret = usb_add_hcd(hcd, irq, IRQF_SHARED);
192 dev_err(dev, "failed to add hcd with err %d\n", ret);
195 device_wakeup_enable(hcd->self.controller);
225 usb_put_hcd(hcd);
242 struct usb_hcd *hcd = dev_get_drvdata(dev);
243 struct omap_hcd *omap = (struct omap_hcd *)hcd_to_ehci(hcd)->priv;
246 usb_remove_hcd(hcd);
253 usb_put_hcd(hcd);