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