Lines Matching refs:xhci
25 struct platform_device *xhci; in dwc3_host_init() local
29 xhci = platform_device_alloc("xhci-hcd", PLATFORM_DEVID_AUTO); in dwc3_host_init()
30 if (!xhci) { in dwc3_host_init()
35 dma_set_coherent_mask(&xhci->dev, dwc->dev->coherent_dma_mask); in dwc3_host_init()
37 xhci->dev.parent = dwc->dev; in dwc3_host_init()
38 xhci->dev.dma_mask = dwc->dev->dma_mask; in dwc3_host_init()
39 xhci->dev.dma_parms = dwc->dev->dma_parms; in dwc3_host_init()
41 dwc->xhci = xhci; in dwc3_host_init()
43 ret = platform_device_add_resources(xhci, dwc->xhci_resources, in dwc3_host_init()
54 ret = platform_device_add_data(xhci, &pdata, sizeof(pdata)); in dwc3_host_init()
61 dev_name(&xhci->dev)); in dwc3_host_init()
63 dev_name(&xhci->dev)); in dwc3_host_init()
65 ret = platform_device_add(xhci); in dwc3_host_init()
74 dev_name(&xhci->dev)); in dwc3_host_init()
76 dev_name(&xhci->dev)); in dwc3_host_init()
78 platform_device_put(xhci); in dwc3_host_init()
85 dev_name(&dwc->xhci->dev)); in dwc3_host_exit()
87 dev_name(&dwc->xhci->dev)); in dwc3_host_exit()
88 platform_device_unregister(dwc->xhci); in dwc3_host_exit()