Lines Matching defs:hcd
16 #include <linux/usb/hcd.h>
35 struct usb_hcd *hcd;
39 xhci = platform_device_alloc("xhci-hcd", PLATFORM_DEVID_AUTO);
77 hcd = platform_get_drvdata(xhci);
78 if (hcd)
79 cdns->xhci_regs = hcd->regs;
90 int xhci_cdns3_suspend_quirk(struct usb_hcd *hcd)
92 struct xhci_hcd *xhci = hcd_to_xhci(hcd);
95 if (pm_runtime_status_suspended(hcd->self.controller))
103 if (hcd->regs) {
104 value = readl(hcd->regs + XECP_AUX_CTRL_REG1);
106 writel(value, hcd->regs + XECP_AUX_CTRL_REG1);
108 value = readl(hcd->regs + XECP_PORT_CAP_REG);
110 writel(value, hcd->regs + XECP_PORT_CAP_REG);