Lines Matching refs:dwc3
68 struct platform_device *dwc3; member
259 if (usb_get_maximum_speed(&qcom->dwc3->dev) >= USB_SPEED_SUPER || in dwc3_qcom_interconnect_init()
260 usb_get_maximum_speed(&qcom->dwc3->dev) == USB_SPEED_UNKNOWN) in dwc3_qcom_interconnect_init()
400 struct dwc3 *dwc = platform_get_drvdata(qcom->dwc3); in qcom_dwc3_resume_irq()
574 qcom->dwc3 = platform_device_alloc("dwc3", PLATFORM_DEVID_AUTO); in dwc3_qcom_acpi_register_core()
575 if (!qcom->dwc3) in dwc3_qcom_acpi_register_core()
578 qcom->dwc3->dev.parent = dev; in dwc3_qcom_acpi_register_core()
579 qcom->dwc3->dev.type = dev->type; in dwc3_qcom_acpi_register_core()
580 qcom->dwc3->dev.dma_mask = dev->dma_mask; in dwc3_qcom_acpi_register_core()
581 qcom->dwc3->dev.dma_parms = dev->dma_parms; in dwc3_qcom_acpi_register_core()
582 qcom->dwc3->dev.coherent_dma_mask = dev->coherent_dma_mask; in dwc3_qcom_acpi_register_core()
604 ret = platform_device_add_resources(qcom->dwc3, child_res, 2); in dwc3_qcom_acpi_register_core()
610 ret = platform_device_add_properties(qcom->dwc3, in dwc3_qcom_acpi_register_core()
617 ret = platform_device_add(qcom->dwc3); in dwc3_qcom_acpi_register_core()
645 qcom->dwc3 = of_find_device_by_node(dwc3_np); in dwc3_qcom_of_register_core()
646 if (!qcom->dwc3) { in dwc3_qcom_of_register_core()
756 qcom->mode = usb_get_dr_mode(&qcom->dwc3->dev); in dwc3_qcom_probe()