Lines Matching full:xhci
18 #include "../host/xhci.h"
19 #include "../host/xhci-plat.h"
34 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_cdns3_plat_start() local
38 value = readl(&xhci->op_regs->command); in xhci_cdns3_plat_start()
40 writel(value, &xhci->op_regs->command); in xhci_cdns3_plat_start()
71 struct platform_device *xhci; in __cdns_host_init() local
77 xhci = platform_device_alloc("xhci-hcd", PLATFORM_DEVID_AUTO); in __cdns_host_init()
78 if (!xhci) { in __cdns_host_init()
79 dev_err(cdns->dev, "couldn't allocate xHCI device\n"); in __cdns_host_init()
83 xhci->dev.parent = cdns->dev; in __cdns_host_init()
84 cdns->host_dev = xhci; in __cdns_host_init()
86 ret = platform_device_add_resources(xhci, cdns->xhci_res, in __cdns_host_init()
89 dev_err(cdns->dev, "couldn't add resources to xHCI device\n"); in __cdns_host_init()
108 ret = platform_device_add_data(xhci, cdns->xhci_plat_data, in __cdns_host_init()
113 ret = platform_device_add(xhci); in __cdns_host_init()
115 dev_err(cdns->dev, "failed to register xHCI device\n"); in __cdns_host_init()
119 /* Glue needs to access xHCI region register for Power management */ in __cdns_host_init()
120 hcd = platform_get_drvdata(xhci); in __cdns_host_init()
129 platform_device_put(xhci); in __cdns_host_init()