Home
last modified time | relevance | path

Searched full:dwc2 (Results 1 – 25 of 108) sorted by relevance

12345

/openbmc/linux/drivers/usb/dwc2/
H A Dpci.c29 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 Dplatform.c27 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 DMakefile5 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 DKconfig14 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 Dcore.h42 /* 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 Dhcd.h196 * 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 Ddwc2.yaml4 $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 Damlogic,meson-g12a-usb-ctrl.yaml15 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 Dsocfpga_stratix10.dtsi341 compatible = "snps,dwc2";
347 reset-names = "dwc2", "dwc2-ecc";
352 compatible = "snps,dwc2";
358 reset-names = "dwc2", "dwc2-ecc";
H A Drk3288-veyron-chromebook.dtsi55 /* 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 Drpi-config_git.bb246 # 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 Dbcm2835_peripherals.c153 /* 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 Dbcm2835_peripherals.h33 #include "hw/usb/hcd-dwc2.h"
81 DWC2State dwc2; member
/openbmc/linux/arch/arm64/boot/dts/altera/
H A Dsocfpga_stratix10.dtsi491 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 Dsocfpga_agilex.dtsi522 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 Dsocfpga_agilex5.dtsi397 compatible = "snps,dwc2";
403 reset-names = "dwc2", "dwc2-ecc";
/openbmc/linux/arch/arm/boot/dts/rockchip/
H A Drk3288-veyron-chromebook.dtsi61 /* 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 Dbcm283x-rpi-usb-otg.dtsi7 * According to dwc2 the sum of all device EP
/openbmc/qemu/hw/usb/
H A Dhcd-dwc2.h2 * dwc-hsotg (dwc2) USB host controller state definitions
183 #define TYPE_DWC2_USB "dwc2-usb"
H A Dhcd-dwc2.c2 * 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 Ddwc2_udc.h4 * Designware DWC2 on-chip full/high speed USB device controllers
/openbmc/u-boot/arch/arc/dts/
H A Diot_devkit.dts35 compatible = "snps,dwc2";
/openbmc/qemu/docs/system/arm/
H A Draspi.rst34 * USB2 host controller (DWC2 and MPHI)
/openbmc/linux/arch/mips/boot/dts/ralink/
H A Drt3050.dtsi61 compatible = "ralink,rt3050-usb", "snps,dwc2";
/openbmc/linux/drivers/usb/
H A DMakefile13 obj-$(CONFIG_USB_DWC2) += dwc2/

12345