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