Lines Matching full:dwc3

3  * dwc3-pci.c - PCI Specific glue layer
74 * @dwc3: child dwc3 platform_device
81 struct platform_device *dwc3; member
273 * Make the pdev name predictable (only 1 DWC3 on BYT) in dwc3_pci_quirks()
277 dwc->dwc3->id = PLATFORM_DEVID_NONE; in dwc3_pci_quirks()
278 platform_bytcr_gpios.dev_id = "dwc3.ulpi"; in dwc3_pci_quirks()
298 return device_add_software_node(&dwc->dwc3->dev, swnode); in dwc3_pci_quirks()
305 struct platform_device *dwc3 = dwc->dwc3; in dwc3_pci_resume_work() local
308 ret = pm_runtime_get_sync(&dwc3->dev); in dwc3_pci_resume_work()
310 pm_runtime_put_sync_autosuspend(&dwc3->dev); in dwc3_pci_resume_work()
314 pm_runtime_mark_last_busy(&dwc3->dev); in dwc3_pci_resume_work()
315 pm_runtime_put_sync_autosuspend(&dwc3->dev); in dwc3_pci_resume_work()
338 dwc->dwc3 = platform_device_alloc("dwc3", PLATFORM_DEVID_AUTO); in dwc3_pci_probe()
339 if (!dwc->dwc3) in dwc3_pci_probe()
353 ret = platform_device_add_resources(dwc->dwc3, res, ARRAY_SIZE(res)); in dwc3_pci_probe()
355 dev_err(dev, "couldn't add resources to dwc3 device\n"); in dwc3_pci_probe()
360 dwc->dwc3->dev.parent = dev; in dwc3_pci_probe()
361 ACPI_COMPANION_SET(&dwc->dwc3->dev, ACPI_COMPANION(dev)); in dwc3_pci_probe()
367 ret = platform_device_add(dwc->dwc3); in dwc3_pci_probe()
369 dev_err(dev, "failed to register dwc3 device\n"); in dwc3_pci_probe()
382 device_remove_software_node(&dwc->dwc3->dev); in dwc3_pci_probe()
383 platform_device_put(dwc->dwc3); in dwc3_pci_probe()
399 device_remove_software_node(&dwc->dwc3->dev); in dwc3_pci_remove()
400 platform_device_unregister(dwc->dwc3); in dwc3_pci_remove()
524 .name = "dwc3-pci",