Home
last modified time | relevance | path

Searched refs:dwc2 (Results 1 – 7 of 7) sorted by relevance

/drivers/usb/dwc2/
Dpci.c61 struct platform_device *dwc2; member
65 static int dwc2_pci_quirks(struct pci_dev *pdev, struct platform_device *dwc2) in dwc2_pci_quirks() argument
73 return platform_device_add_properties(dwc2, properties); in dwc2_pci_quirks()
83 platform_device_unregister(glue->dwc2); in dwc2_pci_remove()
93 struct platform_device *dwc2; in dwc2_pci_probe() local
107 dwc2 = platform_device_alloc("dwc2", PLATFORM_DEVID_AUTO); in dwc2_pci_probe()
108 if (!dwc2) { in dwc2_pci_probe()
124 ret = platform_device_add_resources(dwc2, res, ARRAY_SIZE(res)); in dwc2_pci_probe()
130 dwc2->dev.parent = dev; in dwc2_pci_probe()
139 ret = dwc2_pci_quirks(pci, dwc2); in dwc2_pci_probe()
[all …]
DMakefile5 obj-$(CONFIG_USB_DWC2) += dwc2.o
6 dwc2-y := core.o core_intr.o platform.o
7 dwc2-y += params.o
10 dwc2-y += hcd.o hcd_intr.o
11 dwc2-y += hcd_queue.o hcd_ddma.o
15 dwc2-y += gadget.o
19 dwc2-y += debugfs.o
Dplatform.c464 struct dwc2_hsotg *dwc2 = dev_get_drvdata(dev); in dwc2_suspend() local
467 if (dwc2_is_device_mode(dwc2)) in dwc2_suspend()
468 dwc2_hsotg_suspend(dwc2); in dwc2_suspend()
470 if (dwc2->ll_hw_enabled) in dwc2_suspend()
471 ret = __dwc2_lowlevel_hw_disable(dwc2); in dwc2_suspend()
478 struct dwc2_hsotg *dwc2 = dev_get_drvdata(dev); in dwc2_resume() local
481 if (dwc2->ll_hw_enabled) { in dwc2_resume()
482 ret = __dwc2_lowlevel_hw_enable(dwc2); in dwc2_resume()
487 if (dwc2_is_device_mode(dwc2)) in dwc2_resume()
488 ret = dwc2_hsotg_resume(dwc2); in dwc2_resume()
Dcore.h1173 int dwc2_hsotg_suspend(struct dwc2_hsotg *dwc2);
1174 int dwc2_hsotg_resume(struct dwc2_hsotg *dwc2);
1176 void dwc2_hsotg_core_init_disconnected(struct dwc2_hsotg *dwc2,
1179 void dwc2_hsotg_disconnect(struct dwc2_hsotg *dwc2);
1188 static inline int dwc2_hsotg_remove(struct dwc2_hsotg *dwc2) in dwc2_hsotg_remove() argument
1190 static inline int dwc2_hsotg_suspend(struct dwc2_hsotg *dwc2) in dwc2_hsotg_suspend() argument
1192 static inline int dwc2_hsotg_resume(struct dwc2_hsotg *dwc2) in dwc2_hsotg_resume() argument
1196 static inline void dwc2_hsotg_core_init_disconnected(struct dwc2_hsotg *dwc2, in dwc2_hsotg_core_init_disconnected() argument
1199 static inline void dwc2_hsotg_disconnect(struct dwc2_hsotg *dwc2) {} in dwc2_hsotg_disconnect() argument
DKconfig11 linked modules, the core module will be called dwc2.ko, the PCI
16 will be an additional module named dwc2.ko.
/drivers/usb/
DMakefile12 obj-$(CONFIG_USB_DWC2) += dwc2/
DKconfig122 source "drivers/usb/dwc2/Kconfig"