Lines Matching refs:dwc3
3 * dwc3-haps.c - Synopsys HAPS PCI Specific glue layer
20 * @dwc3: child dwc3 platform_device
24 struct platform_device *dwc3;
56 dwc->dwc3 = platform_device_alloc("dwc3", PLATFORM_DEVID_AUTO);
57 if (!dwc->dwc3)
71 ret = platform_device_add_resources(dwc->dwc3, res, ARRAY_SIZE(res));
73 dev_err(dev, "couldn't add resources to dwc3 device\n");
78 dwc->dwc3->dev.parent = dev;
80 ret = platform_device_add_properties(dwc->dwc3, initial_properties);
84 ret = platform_device_add(dwc->dwc3);
86 dev_err(dev, "failed to register dwc3 device\n");
94 platform_device_put(dwc->dwc3);
102 platform_device_unregister(dwc->dwc3);
132 .name = "dwc3-haps",