Lines Matching defs:hcd
29 #include <linux/usb/hcd.h>
91 struct usb_hcd *hcd;
136 hcd = usb_create_hcd(&ehci_omap_hc_driver, dev,
138 if (!hcd) {
143 hcd->rsrc_start = res->start;
144 hcd->rsrc_len = resource_size(res);
145 hcd->regs = regs;
146 hcd_to_ehci(hcd)->caps = regs;
148 omap = (struct omap_hcd *)hcd_to_ehci(hcd)->priv;
151 platform_set_drvdata(pdev, hcd);
196 ret = usb_add_hcd(hcd, irq, IRQF_SHARED);
198 dev_err(dev, "failed to add hcd with err %d\n", ret);
201 device_wakeup_enable(hcd->self.controller);
231 usb_put_hcd(hcd);
248 struct usb_hcd *hcd = dev_get_drvdata(dev);
249 struct omap_hcd *omap = (struct omap_hcd *)hcd_to_ehci(hcd)->priv;
252 usb_remove_hcd(hcd);
259 usb_put_hcd(hcd);