Lines Matching defs:hcd
17 #include <linux/usb/hcd.h>
32 static void xhci_cdns3_plat_start(struct usb_hcd *hcd)
34 struct xhci_hcd *xhci = hcd_to_xhci(hcd);
42 if (hcd->regs) {
43 value = readl(hcd->regs + XECP_AUX_CTRL_REG1);
45 writel(value, hcd->regs + XECP_AUX_CTRL_REG1);
47 value = readl(hcd->regs + XECP_PORT_CAP_REG);
49 writel(value, hcd->regs + XECP_PORT_CAP_REG);
53 static int xhci_cdns3_resume_quirk(struct usb_hcd *hcd)
55 xhci_cdns3_plat_start(hcd);
71 struct usb_hcd *hcd;
75 xhci = platform_device_alloc("xhci-hcd", PLATFORM_DEVID_AUTO);
118 hcd = platform_get_drvdata(xhci);
119 if (hcd)
120 cdns->xhci_regs = hcd->regs;