Lines Matching +full:has +full:- +full:lpm +full:- +full:erratum
1 // SPDX-License-Identifier: GPL-2.0
3 * dwc3-haps.c - Synopsys HAPS PCI Specific glue layer
19 * struct dwc3_haps - Driver private structure
30 PROPERTY_ENTRY_BOOL("snps,has-lpm-erratum"),
44 struct device *dev = &pci->dev; in dwc3_haps_probe()
51 return -ENODEV; in dwc3_haps_probe()
58 return -ENOMEM; in dwc3_haps_probe()
60 dwc->dwc3 = platform_device_alloc("dwc3", PLATFORM_DEVID_AUTO); in dwc3_haps_probe()
61 if (!dwc->dwc3) in dwc3_haps_probe()
62 return -ENOMEM; in dwc3_haps_probe()
71 res[1].start = pci->irq; in dwc3_haps_probe()
75 ret = platform_device_add_resources(dwc->dwc3, res, ARRAY_SIZE(res)); in dwc3_haps_probe()
81 dwc->pci = pci; in dwc3_haps_probe()
82 dwc->dwc3->dev.parent = dev; in dwc3_haps_probe()
84 ret = device_add_software_node(&dwc->dwc3->dev, &dwc3_haps_swnode); in dwc3_haps_probe()
88 ret = platform_device_add(dwc->dwc3); in dwc3_haps_probe()
98 device_remove_software_node(&dwc->dwc3->dev); in dwc3_haps_probe()
99 platform_device_put(dwc->dwc3); in dwc3_haps_probe()
107 device_remove_software_node(&dwc->dwc3->dev); in dwc3_haps_remove()
108 platform_device_unregister(dwc->dwc3); in dwc3_haps_remove()
138 .name = "dwc3-haps",