Lines Matching refs:xhci
33 struct platform_device *xhci; in __cdns3_host_init() local
39 xhci = platform_device_alloc("xhci-hcd", PLATFORM_DEVID_AUTO); in __cdns3_host_init()
40 if (!xhci) { in __cdns3_host_init()
45 xhci->dev.parent = cdns->dev; in __cdns3_host_init()
46 cdns->host_dev = xhci; in __cdns3_host_init()
48 ret = platform_device_add_resources(xhci, cdns->xhci_res, in __cdns3_host_init()
65 ret = platform_device_add_data(xhci, cdns->xhci_plat_data, in __cdns3_host_init()
70 ret = platform_device_add(xhci); in __cdns3_host_init()
77 hcd = platform_get_drvdata(xhci); in __cdns3_host_init()
86 platform_device_put(xhci); in __cdns3_host_init()
92 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_cdns3_suspend_quirk() local
99 value = readl(&xhci->op_regs->command); in xhci_cdns3_suspend_quirk()
101 writel(value, &xhci->op_regs->command); in xhci_cdns3_suspend_quirk()