Home
last modified time | relevance | path

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

123

/Linux-v5.10/drivers/usb/dwc2/
Dpci.c59 static const char dwc2_driver_name[] = "dwc2-pci";
62 struct platform_device *dwc2; member
66 static int dwc2_pci_quirks(struct pci_dev *pdev, struct platform_device *dwc2) in dwc2_pci_quirks() argument
74 return platform_device_add_properties(dwc2, properties); in dwc2_pci_quirks()
90 platform_device_unregister(glue->dwc2); in dwc2_pci_remove()
99 struct platform_device *dwc2; in dwc2_pci_probe() local
120 dwc2 = platform_device_alloc("dwc2", PLATFORM_DEVID_AUTO); in dwc2_pci_probe()
121 if (!dwc2) { in dwc2_pci_probe()
122 dev_err(dev, "couldn't allocate dwc2 device\n"); in dwc2_pci_probe()
131 res[0].name = "dwc2"; in dwc2_pci_probe()
[all …]
Dplatform.c57 static const char dwc2_driver_name[] = "dwc2";
224 hsotg->reset = devm_reset_control_get_optional(hsotg->dev, "dwc2"); in dwc2_lowlevel_hw_init()
233 hsotg->reset_ecc = devm_reset_control_get_optional(hsotg->dev, "dwc2-ecc"); in dwc2_lowlevel_hw_init()
345 * In specific conditions (involving usb hubs) dwc2 devices can create a
349 * of being able to handle the dwc2 interrupts. Disabling dwc2-irqs
632 struct dwc2_hsotg *dwc2 = dev_get_drvdata(dev); in dwc2_suspend() local
633 bool is_device_mode = dwc2_is_device_mode(dwc2); in dwc2_suspend()
637 dwc2_hsotg_suspend(dwc2); in dwc2_suspend()
639 dwc2_drd_suspend(dwc2); in dwc2_suspend()
641 if (dwc2->params.activate_stm_id_vb_detection) { in dwc2_suspend()
[all …]
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
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.
Dcore.h71 /* dwc2-hsotg declarations */
1019 * @reset: Pointer to dwc2 reset controller
1020 * @reset_ecc: Pointer to dwc2 optional reset controller in Stratix10.
1397 int dwc2_hsotg_suspend(struct dwc2_hsotg *dwc2);
1398 int dwc2_hsotg_resume(struct dwc2_hsotg *dwc2);
1400 void dwc2_hsotg_core_init_disconnected(struct dwc2_hsotg *dwc2,
1404 void dwc2_hsotg_disconnect(struct dwc2_hsotg *dwc2);
1418 static inline int dwc2_hsotg_remove(struct dwc2_hsotg *dwc2) in dwc2_hsotg_remove() argument
1420 static inline int dwc2_hsotg_suspend(struct dwc2_hsotg *dwc2) in dwc2_hsotg_suspend() argument
1422 static inline int dwc2_hsotg_resume(struct dwc2_hsotg *dwc2) in dwc2_hsotg_resume() argument
[all …]
Dhcd.h225 * struct dwc2_tt - dwc2 data associated with a usb_tt
767 * @hsotg: The DWC2 HCD
777 * @hsotg: The DWC2 HCD
785 * @hsotg: The DWC2 HCD
792 * @hsotg: The DWC2 HCD
Dhcd_queue.c641 * This will schedule something on the main dwc2 schedule.
843 * Main dwc2 code assumes: in dwc2_uframe_schedule_split()
851 * This code can be removed if/when the rest of dwc2 handles in dwc2_uframe_schedule_split()
1136 * Low or full speed directly on dwc2. Just about the same in dwc2_pick_first_frame()
1924 * perfectly dwc2 really needs quite spectacular interrupt latency in dwc2_next_periodic_start()
1927 * means that the dwc2 interrupt handler needs to be fast but it in dwc2_next_periodic_start()
1928 * means that nothing else in the system has to block dwc2 for a long in dwc2_next_periodic_start()
1929 * time. We can help with the dwc2 parts of this, but it's hard to in dwc2_next_periodic_start()
/Linux-v5.10/Documentation/devicetree/bindings/usb/
Ddwc2.yaml4 $id: http://devicetree.org/schemas/usb/dwc2.yaml#
19 - const: snps,dwc2
31 - const: snps,dwc2
40 - const: snps,dwc2
43 - const: snps,dwc2
50 - const: snps,dwc2
74 - const: dwc2
75 - const: dwc2-ecc
144 compatible = "rockchip,rk3066-usb", "snps,dwc2";
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.
213 dwc2: usb@ff400000 {
214 compatible = "amlogic,meson-g12a-usb", "snps,dwc2";
/Linux-v5.10/arch/arm64/boot/dts/altera/
Dsocfpga_stratix10.dtsi479 compatible = "snps,dwc2";
485 reset-names = "dwc2", "dwc2-ecc";
492 compatible = "snps,dwc2";
498 reset-names = "dwc2", "dwc2-ecc";
/Linux-v5.10/arch/arm64/boot/dts/intel/
Dsocfpga_agilex.dtsi479 compatible = "snps,dwc2";
485 reset-names = "dwc2", "dwc2-ecc";
492 compatible = "snps,dwc2";
498 reset-names = "dwc2", "dwc2-ecc";
/Linux-v5.10/arch/arm/boot/dts/
Drk3288-veyron-chromebook.dtsi61 /* This turns on vbus for host1 (dwc2) */
73 /* This turns on vbus for otg for host mode (dwc2) */
Dbcm283x-rpi-usb-otg.dtsi7 * According to dwc2 the sum of all device EP
Dmeson.dtsi232 compatible = "snps,dwc2";
247 compatible = "snps,dwc2";
Drk3288-veyron-brain.dts30 /* This turns on vbus for host2 and otg (dwc2) */
Dsocfpga_arria10.dtsi860 compatible = "snps,dwc2";
866 reset-names = "dwc2";
873 compatible = "snps,dwc2";
879 reset-names = "dwc2";
Dstm32f746-disco.dts74 /* This turns on vbus for otg fs for host mode (dwc2) */
Dsocfpga.dtsi935 compatible = "snps,dwc2";
941 reset-names = "dwc2";
948 compatible = "snps,dwc2";
954 reset-names = "dwc2";
Drk3xxx.dtsi194 compatible = "rockchip,rk3066-usb", "snps,dwc2";
209 compatible = "snps,dwc2";
Dstm32f429-disco.dts96 /* This turns on vbus for otg for host mode (dwc2) */
/Linux-v5.10/arch/mips/boot/dts/ralink/
Drt3050.dtsi61 compatible = "ralink,rt3050-usb", "snps,dwc2";
/Linux-v5.10/drivers/usb/
DMakefile13 obj-$(CONFIG_USB_DWC2) += dwc2/
DKconfig122 source "drivers/usb/dwc2/Kconfig"
/Linux-v5.10/drivers/usb/dwc3/
Ddwc3-meson-g12a.c180 * USB Phy muxing between the DWC2 Device controller and the DWC3 Host
281 /* On GXL PHY must be started in device mode for DWC2 init */ in dwc3_meson_gxl_usb2_init_phy()
620 priv->switch_desc.udc = dwc3_meson_g12_find_child(dev, "snps,dwc2"); in dwc3_meson_g12a_otg_init()
/Linux-v5.10/arch/arm64/boot/dts/amlogic/
Dmeson-gxbb.dtsi39 compatible = "amlogic,meson-gxbb-usb", "snps,dwc2";
51 compatible = "amlogic,meson-gxbb-usb", "snps,dwc2";

123