Lines Matching defs:hcd
19 #include <linux/usb/hcd.h>
25 #define rdl(off) readl_relaxed(hcd->regs + (off))
26 #define wrl(off, val) writel_relaxed((val), hcd->regs + (off))
75 static void orion_usb_phy_v1_setup(struct usb_hcd *hcd)
143 ehci_orion_conf_mbus_windows(struct usb_hcd *hcd,
163 static int ehci_orion_drv_reset(struct usb_hcd *hcd)
165 struct device *dev = hcd->self.controller;
168 ret = ehci_setup(hcd);
187 struct usb_hcd *hcd = dev_get_drvdata(dev);
189 return ehci_suspend(hcd, device_may_wakeup(dev));
194 struct usb_hcd *hcd = dev_get_drvdata(dev);
196 return ehci_resume(hcd, false);
212 struct usb_hcd *hcd;
246 hcd = usb_create_hcd(&ehci_orion_hc_driver,
248 if (!hcd) {
253 hcd->rsrc_start = res->start;
254 hcd->rsrc_len = resource_size(res);
255 hcd->regs = regs;
257 ehci = hcd_to_ehci(hcd);
258 ehci->caps = hcd->regs + 0x100;
259 hcd->has_tt = 1;
261 priv = hcd_to_orion_priv(hcd);
285 ehci_orion_conf_mbus_windows(hcd, dram);
299 orion_usb_phy_v1_setup(hcd);
307 err = usb_add_hcd(hcd, irq, IRQF_SHARED);
311 device_wakeup_enable(hcd->self.controller);
318 usb_put_hcd(hcd);
328 struct usb_hcd *hcd = platform_get_drvdata(pdev);
329 struct orion_ehci_hcd *priv = hcd_to_orion_priv(hcd);
331 usb_remove_hcd(hcd);
336 usb_put_hcd(hcd);