Lines Matching refs:dwc3
3 * dwc3-pci.c - PCI Specific glue layer
56 * @dwc3: child dwc3 platform_device
63 struct platform_device *dwc3;
214 struct platform_device *dwc3 = dwc->dwc3;
217 ret = pm_runtime_get_sync(&dwc3->dev);
219 pm_runtime_put_sync_autosuspend(&dwc3->dev);
223 pm_runtime_mark_last_busy(&dwc3->dev);
224 pm_runtime_put_sync_autosuspend(&dwc3->dev);
248 dwc->dwc3 = platform_device_alloc("dwc3", PLATFORM_DEVID_AUTO);
249 if (!dwc->dwc3)
263 ret = platform_device_add_resources(dwc->dwc3, res, ARRAY_SIZE(res));
265 dev_err(dev, "couldn't add resources to dwc3 device\n");
270 dwc->dwc3->dev.parent = dev;
271 ACPI_COMPANION_SET(&dwc->dwc3->dev, ACPI_COMPANION(dev));
273 ret = platform_device_add_properties(dwc->dwc3, p);
281 ret = platform_device_add(dwc->dwc3);
283 dev_err(dev, "failed to register dwc3 device\n");
296 platform_device_put(dwc->dwc3);
312 platform_device_unregister(dwc->dwc3);
460 .name = "dwc3-pci",