Lines Matching refs:hcd
17 #include <linux/usb/hcd.h>
23 #define rdl(off) readl_relaxed(hcd->regs + (off))
24 #define wrl(off, val) writel_relaxed((val), hcd->regs + (off))
80 static void orion_usb_phy_v1_setup(struct usb_hcd *hcd)
148 ehci_orion_conf_mbus_windows(struct usb_hcd *hcd,
168 static int ehci_orion_drv_reset(struct usb_hcd *hcd)
170 struct device *dev = hcd->self.controller;
173 ret = ehci_setup(hcd);
192 struct usb_hcd *hcd = dev_get_drvdata(dev);
194 return ehci_suspend(hcd, device_may_wakeup(dev));
199 struct usb_hcd *hcd = dev_get_drvdata(dev);
201 return ehci_resume(hcd, false);
217 struct usb_hcd *hcd;
252 hcd = usb_create_hcd(&ehci_orion_hc_driver,
254 if (!hcd) {
259 hcd->rsrc_start = res->start;
260 hcd->rsrc_len = resource_size(res);
261 hcd->regs = regs;
263 ehci = hcd_to_ehci(hcd);
264 ehci->caps = hcd->regs + 0x100;
265 hcd->has_tt = 1;
267 priv = hcd_to_orion_priv(hcd);
291 ehci_orion_conf_mbus_windows(hcd, dram);
305 orion_usb_phy_v1_setup(hcd);
313 err = usb_add_hcd(hcd, irq, IRQF_SHARED);
317 device_wakeup_enable(hcd->self.controller);
324 usb_put_hcd(hcd);
334 struct usb_hcd *hcd = platform_get_drvdata(pdev);
335 struct orion_ehci_hcd *priv = hcd_to_orion_priv(hcd);
337 usb_remove_hcd(hcd);
342 usb_put_hcd(hcd);