/openbmc/linux/drivers/usb/dwc2/ |
H A D | pci.c | 29 static const char dwc2_driver_name[] = "dwc2-pci"; 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() 78 dev_err(dev, "couldn't allocate dwc2 device\n"); in dwc2_pci_probe() 87 res[0].name = "dwc2"; in dwc2_pci_probe() 91 res[1].name = "dwc2"; in dwc2_pci_probe() 94 ret = platform_device_add_resources(dwc2, res, ARRAY_SIZE(res)); in dwc2_pci_probe() [all …]
|
H A D | platform.c | 27 static const char dwc2_driver_name[] = "dwc2"; 215 hsotg->reset = devm_reset_control_get_optional(hsotg->dev, "dwc2"); in dwc2_lowlevel_hw_init() 226 hsotg->reset_ecc = devm_reset_control_get_optional(hsotg->dev, "dwc2-ecc"); in dwc2_lowlevel_hw_init() 361 * In specific conditions (involving usb hubs) dwc2 devices can create a 365 * of being able to handle the dwc2 interrupts. Disabling dwc2-irqs 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() [all …]
|
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 24 # modules, dwc2.ko will get built for host mode, peripheral mode, and dual-role
|
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. 24 bool "DWC2 Mode Selection" 59 tristate "DWC2 PCI" 70 Say Y here to enable debugging messages in the DWC2 Driver. 76 Say Y here to enable verbose debugging messages in the DWC2 Driver.
|
H A D | core.h | 42 /* dwc2-hsotg declarations */ 1019 * @reset: Pointer to dwc2 reset controller 1020 * @reset_ecc: Pointer to dwc2 optional reset controller in Stratix10. 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 [all …]
|
H A D | hcd.h | 196 * struct dwc2_tt - dwc2 data associated with a usb_tt 738 * @hsotg: The DWC2 HCD 748 * @hsotg: The DWC2 HCD 756 * @hsotg: The DWC2 HCD 763 * @hsotg: The DWC2 HCD
|
/openbmc/linux/Documentation/devicetree/bindings/usb/ |
H A D | dwc2.yaml | 4 $id: http://devicetree.org/schemas/usb/dwc2.yaml# 30 - const: snps,dwc2 44 - const: snps,dwc2 58 - const: snps,dwc2 61 - const: snps,dwc2 68 - const: snps,dwc2 103 - const: dwc2 104 - const: dwc2-ecc 191 compatible = "rockchip,rk3066-usb", "snps,dwc2";
|
H A D | amlogic,meson-g12a-usb-ctrl.yaml | 15 in host-only mode, and a DWC2 IP Core configured for USB2 peripheral mode 20 One of the USB2 PHYs can be re-routed in peripheral mode to a DWC2 USB IP. 83 - $ref: dwc2.yaml# 216 dwc2: usb@ff400000 { 217 compatible = "amlogic,meson-g12a-usb", "snps,dwc2";
|
/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) */
|
/openbmc/openbmc/meta-raspberrypi/recipes-bsp/bootfiles/ |
H A D | rpi-config_git.bb | 246 # DWC2 USB peripheral support 249 echo "dtoverlay=dwc2,dr_mode=peripheral" >> $CONFIG 252 # DWC2 USB host mode support 255 echo "dtoverlay=dwc2,dr_mode=host" >> $CONFIG 258 # DWC2 USB OTG support 261 echo "dtoverlay=dwc2,dr_mode=otg" >> $CONFIG
|
/openbmc/qemu/hw/arm/ |
H A D | bcm2835_peripherals.c | 153 /* DWC2 */ in raspi_peripherals_base_init() 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() 455 /* DWC2 */ in bcm_soc_peripherals_common_realize() 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/qemu/include/hw/arm/ |
H A D | bcm2835_peripherals.h | 33 #include "hw/usb/hcd-dwc2.h" 81 DWC2State dwc2; member
|
/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/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) */
|
/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/qemu/hw/usb/ |
H A D | hcd-dwc2.h | 2 * dwc-hsotg (dwc2) USB host controller state definitions 183 #define TYPE_DWC2_USB "dwc2-usb"
|
H A D | hcd-dwc2.c | 2 * dwc-hsotg (dwc2) USB host controller emulation 37 #include "hw/usb/dwc2-regs.h" 38 #include "hw/usb/hcd-dwc2.h" 1354 address_space_init(&s->dma_as, s->dma_mr, "dwc2"); in dwc2_realize() 1383 memory_region_init(&s->container, obj, "dwc2", DWC2_MMIO_SIZE); in dwc2_init() 1387 "dwc2-io", 4 * KiB); in dwc2_init() 1391 "dwc2-fifo", 64 * KiB); in dwc2_init() 1396 .name = "dwc2/packet", 1416 .name = "dwc2",
|
/openbmc/u-boot/include/usb/ |
H A D | dwc2_udc.h | 4 * Designware DWC2 on-chip full/high speed USB device controllers
|
/openbmc/u-boot/arch/arc/dts/ |
H A D | iot_devkit.dts | 35 compatible = "snps,dwc2";
|
/openbmc/qemu/docs/system/arm/ |
H A D | raspi.rst | 34 * USB2 host controller (DWC2 and MPHI)
|
/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/
|