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()
69 struct platform_device *xhci; in __cdns_host_init() local
75 xhci = platform_device_alloc("xhci-hcd", PLATFORM_DEVID_AUTO); in __cdns_host_init()
76 if (!xhci) { in __cdns_host_init()
77 dev_err(cdns->dev, "couldn't allocate xHCI device\n"); in __cdns_host_init()
81 xhci->dev.parent = cdns->dev; in __cdns_host_init()
82 cdns->host_dev = xhci; in __cdns_host_init()
84 ret = platform_device_add_resources(xhci, cdns->xhci_res, in __cdns_host_init()
87 dev_err(cdns->dev, "couldn't add resources to xHCI device\n"); in __cdns_host_init()
106 ret = platform_device_add_data(xhci, cdns->xhci_plat_data, in __cdns_host_init()
111 ret = platform_device_add(xhci); in __cdns_host_init()
113 dev_err(cdns->dev, "failed to register xHCI device\n"); in __cdns_host_init()
117 /* Glue needs to access xHCI region register for Power management */ in __cdns_host_init()
118 hcd = platform_get_drvdata(xhci); in __cdns_host_init()
127 platform_device_put(xhci); in __cdns_host_init()