Lines Matching refs:dwc3
3 * dwc3-pci.c - PCI Specific glue layer
70 * @dwc3: child dwc3 platform_device
77 struct platform_device *dwc3;
272 dwc->dwc3->id = PLATFORM_DEVID_NONE;
273 platform_bytcr_gpios.dev_id = "dwc3.ulpi";
289 return device_add_software_node(&dwc->dwc3->dev, swnode);
296 struct platform_device *dwc3 = dwc->dwc3;
299 ret = pm_runtime_get_sync(&dwc3->dev);
301 pm_runtime_put_sync_autosuspend(&dwc3->dev);
305 pm_runtime_mark_last_busy(&dwc3->dev);
306 pm_runtime_put_sync_autosuspend(&dwc3->dev);
329 dwc->dwc3 = platform_device_alloc("dwc3", PLATFORM_DEVID_AUTO);
330 if (!dwc->dwc3)
344 ret = platform_device_add_resources(dwc->dwc3, res, ARRAY_SIZE(res));
346 dev_err(dev, "couldn't add resources to dwc3 device\n");
351 dwc->dwc3->dev.parent = dev;
352 ACPI_COMPANION_SET(&dwc->dwc3->dev, ACPI_COMPANION(dev));
358 ret = platform_device_add(dwc->dwc3);
360 dev_err(dev, "failed to register dwc3 device\n");
373 device_remove_software_node(&dwc->dwc3->dev);
374 platform_device_put(dwc->dwc3);
390 device_remove_software_node(&dwc->dwc3->dev);
391 platform_device_unregister(dwc->dwc3);
512 .name = "dwc3-pci",