• Home
  • Raw
  • Download

Lines Matching full:dwc3

4  * Inspired by dwc3-of-simple.c
69 struct platform_device *dwc3; member
265 if (usb_get_maximum_speed(&qcom->dwc3->dev) >= USB_SPEED_SUPER || in dwc3_qcom_interconnect_init()
266 usb_get_maximum_speed(&qcom->dwc3->dev) == USB_SPEED_UNKNOWN) in dwc3_qcom_interconnect_init()
309 struct dwc3 *dwc = platform_get_drvdata(qcom->dwc3); in dwc3_qcom_is_host()
423 struct dwc3 *dwc = platform_get_drvdata(qcom->dwc3); in qcom_dwc3_resume_irq()
441 /* Configure dwc3 to use UTMI clock as PIPE clock not present */ in dwc3_qcom_select_utmi_clk()
605 qcom->dwc3 = platform_device_alloc("dwc3", PLATFORM_DEVID_AUTO); in dwc3_qcom_acpi_register_core()
606 if (!qcom->dwc3) in dwc3_qcom_acpi_register_core()
609 qcom->dwc3->dev.parent = dev; in dwc3_qcom_acpi_register_core()
610 qcom->dwc3->dev.type = dev->type; in dwc3_qcom_acpi_register_core()
611 qcom->dwc3->dev.dma_mask = dev->dma_mask; in dwc3_qcom_acpi_register_core()
612 qcom->dwc3->dev.dma_parms = dev->dma_parms; in dwc3_qcom_acpi_register_core()
613 qcom->dwc3->dev.coherent_dma_mask = dev->coherent_dma_mask; in dwc3_qcom_acpi_register_core()
617 platform_device_put(qcom->dwc3); in dwc3_qcom_acpi_register_core()
641 ret = platform_device_add_resources(qcom->dwc3, child_res, 2); in dwc3_qcom_acpi_register_core()
647 ret = platform_device_add_properties(qcom->dwc3, in dwc3_qcom_acpi_register_core()
654 ret = platform_device_add(qcom->dwc3); in dwc3_qcom_acpi_register_core()
663 platform_device_put(qcom->dwc3); in dwc3_qcom_acpi_register_core()
675 dwc3_np = of_get_child_by_name(np, "dwc3"); in dwc3_qcom_of_register_core()
677 dev_err(dev, "failed to find dwc3 core child\n"); in dwc3_qcom_of_register_core()
683 dev_err(dev, "failed to register dwc3 core - %d\n", ret); in dwc3_qcom_of_register_core()
687 qcom->dwc3 = of_find_device_by_node(dwc3_np); in dwc3_qcom_of_register_core()
688 if (!qcom->dwc3) { in dwc3_qcom_of_register_core()
690 dev_err(dev, "failed to get dwc3 platform device\n"); in dwc3_qcom_of_register_core()
817 * Disable pipe_clk requirement if specified. Used when dwc3 in dwc3_qcom_probe()
831 dev_err(dev, "failed to register DWC3 Core, err=%d\n", ret); in dwc3_qcom_probe()
839 qcom->mode = usb_get_dr_mode(&qcom->dwc3->dev); in dwc3_qcom_probe()
944 { .compatible = "qcom,dwc3" },
945 { .compatible = "qcom,msm8996-dwc3" },
946 { .compatible = "qcom,msm8998-dwc3" },
947 { .compatible = "qcom,sdm845-dwc3" },
988 .name = "dwc3-qcom",
998 MODULE_DESCRIPTION("DesignWare DWC3 QCOM Glue Driver");