Lines Matching full:dwc3
4 * Inspired by dwc3-of-simple.c
76 struct platform_device *dwc3; member
263 max_speed = usb_get_maximum_speed(&qcom->dwc3->dev); in dwc3_qcom_interconnect_init()
306 struct dwc3 *dwc; in dwc3_qcom_is_host()
311 dwc = platform_get_drvdata(qcom->dwc3); in dwc3_qcom_is_host()
322 struct dwc3 *dwc = platform_get_drvdata(qcom->dwc3); in dwc3_qcom_read_usb2_speed()
501 struct dwc3 *dwc = platform_get_drvdata(qcom->dwc3); in qcom_dwc3_resume_irq()
519 /* Configure dwc3 to use UTMI clock as PIPE clock not present */ in dwc3_qcom_select_utmi_clk()
711 "snps,dwc3"); in dwc3_qcom_of_register_core()
713 dev_err(dev, "failed to find dwc3 core child\n"); in dwc3_qcom_of_register_core()
719 dev_err(dev, "failed to register dwc3 core - %d\n", ret); in dwc3_qcom_of_register_core()
723 qcom->dwc3 = of_find_device_by_node(dwc3_np); in dwc3_qcom_of_register_core()
724 if (!qcom->dwc3) { in dwc3_qcom_of_register_core()
726 dev_err(dev, "failed to get dwc3 platform device\n"); in dwc3_qcom_of_register_core()
788 * Disable pipe_clk requirement if specified. Used when dwc3 in dwc3_qcom_probe()
798 dev_err(dev, "failed to register DWC3 Core, err=%d\n", ret); in dwc3_qcom_probe()
806 qcom->mode = usb_get_dr_mode(&qcom->dwc3->dev); in dwc3_qcom_probe()
819 device_init_wakeup(&qcom->dwc3->dev, wakeup_source); in dwc3_qcom_probe()
832 platform_device_put(qcom->dwc3); in dwc3_qcom_probe()
851 platform_device_put(qcom->dwc3); in dwc3_qcom_remove()
917 { .compatible = "qcom,dwc3" },
926 .name = "dwc3-qcom",
935 MODULE_DESCRIPTION("DesignWare DWC3 QCOM Glue Driver");