Lines Matching full:dwc3
3 * dwc3-imx8mp.c - NXP imx8mp Specific Glue layer
52 struct platform_device *dwc3; member
100 struct dwc3 *dwc3 = platform_get_drvdata(dwc3_imx->dwc3); in dwc3_imx8mp_wakeup_enable() local
103 if (!dwc3) in dwc3_imx8mp_wakeup_enable()
108 if ((dwc3->current_dr_role == DWC3_GCTL_PRTCAP_HOST) && dwc3->xhci) in dwc3_imx8mp_wakeup_enable()
111 else if (dwc3->current_dr_role == DWC3_GCTL_PRTCAP_DEVICE) in dwc3_imx8mp_wakeup_enable()
130 struct dwc3 *dwc = platform_get_drvdata(dwc3_imx->dwc3); in dwc3_imx8mp_interrupt()
221 dwc3_np = of_get_compatible_child(node, "snps,dwc3"); in dwc3_imx8mp_probe()
224 dev_err(dev, "failed to find dwc3 core child\n"); in dwc3_imx8mp_probe()
230 dev_err(&pdev->dev, "failed to create dwc3 core\n"); in dwc3_imx8mp_probe()
234 dwc3_imx->dwc3 = of_find_device_by_node(dwc3_np); in dwc3_imx8mp_probe()
235 if (!dwc3_imx->dwc3) { in dwc3_imx8mp_probe()
236 dev_err(dev, "failed to get dwc3 platform device\n"); in dwc3_imx8mp_probe()
305 struct dwc3 *dwc = platform_get_drvdata(dwc3_imx->dwc3); in dwc3_imx8mp_resume()
349 dev_dbg(dev, "dwc3 imx8mp pm suspend.\n"); in dwc3_imx8mp_pm_suspend()
377 dev_dbg(dev, "dwc3 imx8mp pm resume.\n"); in dwc3_imx8mp_pm_resume()
386 dev_dbg(dev, "dwc3 imx8mp runtime suspend.\n"); in dwc3_imx8mp_runtime_suspend()
395 dev_dbg(dev, "dwc3 imx8mp runtime resume.\n"); in dwc3_imx8mp_runtime_resume()
407 { .compatible = "fsl,imx8mp-dwc3", },
416 .name = "imx8mp-dwc3",
424 MODULE_ALIAS("platform:imx8mp-dwc3");