/openbmc/linux/drivers/usb/dwc2/ |
H A D | platform.c | 648 struct dwc2_hsotg *dwc2 = dev_get_drvdata(dev); in dwc2_suspend() local 649 bool is_device_mode = dwc2_is_device_mode(dwc2); in dwc2_suspend() 653 dwc2_hsotg_suspend(dwc2); in dwc2_suspend() 655 dwc2_drd_suspend(dwc2); in dwc2_suspend() 657 if (dwc2->params.activate_stm_id_vb_detection) { in dwc2_suspend() 665 dwc2_force_mode(dwc2, !is_device_mode); in dwc2_suspend() 667 spin_lock_irqsave(&dwc2->lock, flags); in dwc2_suspend() 668 gotgctl = dwc2_readl(dwc2, GOTGCTL); in dwc2_suspend() 677 dwc2_writel(dwc2, gotgctl, GOTGCTL); in dwc2_suspend() 678 spin_unlock_irqrestore(&dwc2->lock, flags); in dwc2_suspend() [all …]
|
H A D | pci.c | 32 struct platform_device *dwc2; member 46 platform_device_unregister(glue->dwc2); in dwc2_pci_remove() 55 struct platform_device *dwc2; in dwc2_pci_probe() local 76 dwc2 = platform_device_alloc("dwc2", PLATFORM_DEVID_AUTO); in dwc2_pci_probe() 77 if (!dwc2) { in dwc2_pci_probe() 94 ret = platform_device_add_resources(dwc2, res, ARRAY_SIZE(res)); in dwc2_pci_probe() 100 dwc2->dev.parent = dev; in dwc2_pci_probe() 108 ret = platform_device_add(dwc2); in dwc2_pci_probe() 115 glue->dwc2 = dwc2; in dwc2_pci_probe() 121 platform_device_put(dwc2); in dwc2_pci_probe()
|
H A D | Makefile | 5 obj-$(CONFIG_USB_DWC2) += dwc2.o 6 dwc2-y := core.o core_intr.o platform.o drd.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
|
H A D | core.h | 1403 int dwc2_hsotg_suspend(struct dwc2_hsotg *dwc2); 1404 int dwc2_hsotg_resume(struct dwc2_hsotg *dwc2); 1406 void dwc2_hsotg_core_init_disconnected(struct dwc2_hsotg *dwc2, 1410 void dwc2_hsotg_disconnect(struct dwc2_hsotg *dwc2); 1433 static inline int dwc2_hsotg_remove(struct dwc2_hsotg *dwc2) in dwc2_hsotg_remove() argument 1435 static inline int dwc2_hsotg_suspend(struct dwc2_hsotg *dwc2) in dwc2_hsotg_suspend() argument 1437 static inline int dwc2_hsotg_resume(struct dwc2_hsotg *dwc2) in dwc2_hsotg_resume() argument 1441 static inline void dwc2_hsotg_core_init_disconnected(struct dwc2_hsotg *dwc2, in dwc2_hsotg_core_init_disconnected() argument 1445 static inline void dwc2_hsotg_disconnect(struct dwc2_hsotg *dwc2) {} in dwc2_hsotg_disconnect() argument 1499 bool dwc2_host_can_poweroff_phy(struct dwc2_hsotg *dwc2); [all …]
|
H A D | Kconfig | 14 linked modules, the core module will be called dwc2.ko, the PCI 19 will be an additional module named dwc2.ko.
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | socfpga_stratix10.dtsi | 341 compatible = "snps,dwc2"; 347 reset-names = "dwc2", "dwc2-ecc"; 352 compatible = "snps,dwc2"; 358 reset-names = "dwc2", "dwc2-ecc";
|
H A D | rk3288-veyron-chromebook.dtsi | 55 /* This turns on vbus for host1 (dwc2) */ 67 /* This turns on vbus for otg for host mode (dwc2) */
|
H A D | socfpga_arria10.dtsi | 854 compatible = "snps,dwc2"; 860 reset-names = "dwc2"; 867 compatible = "snps,dwc2"; 873 reset-names = "dwc2";
|
H A D | socfpga.dtsi | 903 compatible = "snps,dwc2"; 909 reset-names = "dwc2"; 916 compatible = "snps,dwc2"; 922 reset-names = "dwc2";
|
/openbmc/linux/arch/arm64/boot/dts/altera/ |
H A D | socfpga_stratix10.dtsi | 491 compatible = "snps,dwc2"; 497 reset-names = "dwc2", "dwc2-ecc"; 505 compatible = "snps,dwc2"; 511 reset-names = "dwc2", "dwc2-ecc";
|
/openbmc/qemu/hw/arm/ |
H A D | bcm2835_peripherals.c | 154 object_initialize_child(obj, "dwc2", &s->dwc2, TYPE_DWC2_USB); in raspi_peripherals_base_init() 159 object_property_add_const_link(OBJECT(&s->dwc2), "dma-mr", in raspi_peripherals_base_init() 456 if (!sysbus_realize(SYS_BUS_DEVICE(&s->dwc2), errp)) { in bcm_soc_peripherals_common_realize() 461 sysbus_mmio_get_region(SYS_BUS_DEVICE(&s->dwc2), 0)); in bcm_soc_peripherals_common_realize() 462 sysbus_connect_irq(SYS_BUS_DEVICE(&s->dwc2), 0, in bcm_soc_peripherals_common_realize()
|
/openbmc/linux/arch/arm/boot/dts/broadcom/ |
H A D | bcm283x-rpi-usb-otg.dtsi | 7 * According to dwc2 the sum of all device EP
|
/openbmc/linux/arch/arm64/boot/dts/intel/ |
H A D | socfpga_agilex.dtsi | 522 compatible = "intel,socfpga-agilex-hsotg", "snps,dwc2"; 528 reset-names = "dwc2", "dwc2-ecc"; 536 compatible = "intel,socfpga-agilex-hsotg", "snps,dwc2"; 542 reset-names = "dwc2", "dwc2-ecc";
|
H A D | socfpga_agilex5.dtsi | 397 compatible = "snps,dwc2"; 403 reset-names = "dwc2", "dwc2-ecc";
|
/openbmc/linux/arch/arm/boot/dts/rockchip/ |
H A D | rk3288-veyron-chromebook.dtsi | 61 /* This turns on vbus for host1 (dwc2) */ 73 /* This turns on vbus for otg for host mode (dwc2) */
|
H A D | rk3288-veyron-brain.dts | 30 /* This turns on vbus for host2 and otg (dwc2) */
|
/openbmc/u-boot/arch/arc/dts/ |
H A D | iot_devkit.dts | 35 compatible = "snps,dwc2";
|
/openbmc/qemu/include/hw/arm/ |
H A D | bcm2835_peripherals.h | 81 DWC2State dwc2; member
|
/openbmc/linux/arch/mips/boot/dts/ralink/ |
H A D | rt3050.dtsi | 61 compatible = "ralink,rt3050-usb", "snps,dwc2";
|
/openbmc/linux/drivers/usb/ |
H A D | Makefile | 13 obj-$(CONFIG_USB_DWC2) += dwc2/
|
/openbmc/u-boot/drivers/usb/host/ |
H A D | Makefile | 61 obj-$(CONFIG_USB_DWC2) += dwc2.o
|
/openbmc/linux/arch/arm/boot/dts/amlogic/ |
H A D | meson.dtsi | 257 compatible = "snps,dwc2"; 272 compatible = "snps,dwc2";
|
/openbmc/openbmc/meta-raspberrypi/recipes-bsp/bootfiles/ |
H A D | rpi-cmdline.bb | 44 # CMDLINE_RNDIS = "modules-load=dwc2,g_ether g_ether.host_addr=<some MAC
|
H A D | rpi-config_git.bb | 249 echo "dtoverlay=dwc2,dr_mode=peripheral" >> $CONFIG 255 echo "dtoverlay=dwc2,dr_mode=host" >> $CONFIG 261 echo "dtoverlay=dwc2,dr_mode=otg" >> $CONFIG
|
/openbmc/linux/arch/arm/boot/dts/intel/socfpga/ |
H A D | socfpga.dtsi | 941 compatible = "snps,dwc2"; 947 reset-names = "dwc2"; 954 compatible = "snps,dwc2"; 960 reset-names = "dwc2";
|