Lines Matching refs:dwc3
3 * dwc3-imx8mp.c - NXP imx8mp Specific Glue layer
53 struct platform_device *dwc3;
101 struct dwc3 *dwc3 = platform_get_drvdata(dwc3_imx->dwc3);
104 if (!dwc3)
109 if ((dwc3->current_dr_role == DWC3_GCTL_PRTCAP_HOST) && dwc3->xhci)
112 else if (dwc3->current_dr_role == DWC3_GCTL_PRTCAP_DEVICE)
131 struct dwc3 *dwc = platform_get_drvdata(dwc3_imx->dwc3);
222 dwc3_np = of_get_compatible_child(node, "snps,dwc3");
225 dev_err(dev, "failed to find dwc3 core child\n");
231 dev_err(&pdev->dev, "failed to create dwc3 core\n");
235 dwc3_imx->dwc3 = of_find_device_by_node(dwc3_np);
236 if (!dwc3_imx->dwc3) {
237 dev_err(dev, "failed to get dwc3 platform device\n");
303 struct dwc3 *dwc = platform_get_drvdata(dwc3_imx->dwc3);
347 dev_dbg(dev, "dwc3 imx8mp pm suspend.\n");
375 dev_dbg(dev, "dwc3 imx8mp pm resume.\n");
384 dev_dbg(dev, "dwc3 imx8mp runtime suspend.\n");
393 dev_dbg(dev, "dwc3 imx8mp runtime resume.\n");
405 { .compatible = "fsl,imx8mp-dwc3", },
414 .name = "imx8mp-dwc3",
422 MODULE_ALIAS("platform:imx8mp-dwc3");