Searched refs:dwc2 (Results 1 - 6 of 6) sorted by relevance
/linux-4.1.27/drivers/usb/dwc2/ |
H A D | Makefile | 4 obj-$(CONFIG_USB_DWC2) += dwc2.o 5 dwc2-y := core.o core_intr.o 8 dwc2-y += hcd.o hcd_intr.o 9 dwc2-y += hcd_queue.o hcd_ddma.o 13 dwc2-y += gadget.o 18 # modules, dwc2.ko will get built for host mode, peripheral mode, and dual-role
|
H A D | pci.c | 58 static const char dwc2_driver_name[] = "dwc2-pci"; 61 struct platform_device *dwc2; member in struct:dwc2_pci_glue 69 platform_device_unregister(glue->dwc2); dwc2_pci_remove() 79 struct platform_device *dwc2; dwc2_pci_probe() local 93 dwc2 = platform_device_alloc("dwc2", PLATFORM_DEVID_AUTO); dwc2_pci_probe() 94 if (!dwc2) { dwc2_pci_probe() 95 dev_err(dev, "couldn't allocate dwc2 device\n"); dwc2_pci_probe() 103 res[0].name = "dwc2"; dwc2_pci_probe() 107 res[1].name = "dwc2"; dwc2_pci_probe() 110 ret = platform_device_add_resources(dwc2, res, ARRAY_SIZE(res)); dwc2_pci_probe() 112 dev_err(dev, "couldn't add resources to dwc2 device\n"); dwc2_pci_probe() 116 dwc2->dev.parent = dev; dwc2_pci_probe() 125 ret = platform_device_add(dwc2); dwc2_pci_probe() 127 dev_err(dev, "failed to register dwc2 device\n"); dwc2_pci_probe() 136 glue->dwc2 = dwc2; dwc2_pci_probe() 142 platform_device_put(dwc2); dwc2_pci_probe()
|
H A D | platform.c | 51 static const char dwc2_driver_name[] = "dwc2"; 135 { .compatible = "snps,dwc2", .data = NULL }, 264 struct dwc2_hsotg *dwc2 = dev_get_drvdata(dev); dwc2_suspend() local 267 if (dwc2_is_device_mode(dwc2)) { dwc2_suspend() 268 ret = s3c_hsotg_suspend(dwc2); dwc2_suspend() 270 if (dwc2->lx_state == DWC2_L0) dwc2_suspend() 272 phy_exit(dwc2->phy); dwc2_suspend() 273 phy_power_off(dwc2->phy); dwc2_suspend() 281 struct dwc2_hsotg *dwc2 = dev_get_drvdata(dev); dwc2_resume() local 284 if (dwc2_is_device_mode(dwc2)) { dwc2_resume() 285 ret = s3c_hsotg_resume(dwc2); dwc2_resume() 287 phy_power_on(dwc2->phy); dwc2_resume() 288 phy_init(dwc2->phy); dwc2_resume()
|
H A D | core.h | 1001 extern int s3c_hsotg_suspend(struct dwc2_hsotg *dwc2); 1002 extern int s3c_hsotg_resume(struct dwc2_hsotg *dwc2); 1004 extern void s3c_hsotg_core_init_disconnected(struct dwc2_hsotg *dwc2, 1007 extern void s3c_hsotg_disconnect(struct dwc2_hsotg *dwc2); 1009 static inline int s3c_hsotg_remove(struct dwc2_hsotg *dwc2) s3c_hsotg_remove() argument 1011 static inline int s3c_hsotg_suspend(struct dwc2_hsotg *dwc2) s3c_hsotg_suspend() argument 1013 static inline int s3c_hsotg_resume(struct dwc2_hsotg *dwc2) s3c_hsotg_resume() argument 1017 static inline void s3c_hsotg_core_init_disconnected(struct dwc2_hsotg *dwc2, s3c_hsotg_core_init_disconnected() argument 1020 static inline void s3c_hsotg_disconnect(struct dwc2_hsotg *dwc2) {} s3c_hsotg_disconnect() argument
|
H A D | hcd.c | 2875 hsotg->wq_otg = create_singlethread_workqueue("dwc2"); dwc2_hcd_init()
|
H A D | gadget.c | 3839 * @dwc2: The data structure for the DWC2 driver. s3c_hsotg_of_probe()
|
Completed in 108 milliseconds