Home
last modified time | relevance | path

Searched refs:dwc2 (Results 1 – 25 of 43) sorted by relevance

12

/Linux-v5.4/drivers/usb/dwc2/
Dpci.c62 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()
138 ret = platform_device_add_resources(dwc2, res, ARRAY_SIZE(res)); in dwc2_pci_probe()
144 dwc2->dev.parent = dev; in dwc2_pci_probe()
146 ret = dwc2_pci_quirks(pci, dwc2); in dwc2_pci_probe()
[all …]
DMakefile5 obj-$(CONFIG_USB_DWC2) += dwc2.o
6 dwc2-y := core.o core_intr.o platform.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
Dplatform.c519 struct dwc2_hsotg *dwc2 = dev_get_drvdata(dev); in dwc2_suspend() local
520 bool is_device_mode = dwc2_is_device_mode(dwc2); in dwc2_suspend()
524 dwc2_hsotg_suspend(dwc2); in dwc2_suspend()
526 if (dwc2->ll_hw_enabled && in dwc2_suspend()
527 (is_device_mode || dwc2_host_can_poweroff_phy(dwc2))) { in dwc2_suspend()
528 ret = __dwc2_lowlevel_hw_disable(dwc2); in dwc2_suspend()
529 dwc2->phy_off_for_suspend = true; in dwc2_suspend()
537 struct dwc2_hsotg *dwc2 = dev_get_drvdata(dev); in dwc2_resume() local
540 if (dwc2->phy_off_for_suspend && dwc2->ll_hw_enabled) { in dwc2_resume()
541 ret = __dwc2_lowlevel_hw_enable(dwc2); in dwc2_resume()
[all …]
Dcore.h1378 int dwc2_hsotg_suspend(struct dwc2_hsotg *dwc2);
1379 int dwc2_hsotg_resume(struct dwc2_hsotg *dwc2);
1381 void dwc2_hsotg_core_init_disconnected(struct dwc2_hsotg *dwc2,
1384 void dwc2_hsotg_disconnect(struct dwc2_hsotg *dwc2);
1398 static inline int dwc2_hsotg_remove(struct dwc2_hsotg *dwc2) in dwc2_hsotg_remove() argument
1400 static inline int dwc2_hsotg_suspend(struct dwc2_hsotg *dwc2) in dwc2_hsotg_suspend() argument
1402 static inline int dwc2_hsotg_resume(struct dwc2_hsotg *dwc2) in dwc2_hsotg_resume() argument
1406 static inline void dwc2_hsotg_core_init_disconnected(struct dwc2_hsotg *dwc2, in dwc2_hsotg_core_init_disconnected() argument
1409 static inline void dwc2_hsotg_disconnect(struct dwc2_hsotg *dwc2) {} in dwc2_hsotg_disconnect() argument
1446 bool dwc2_host_can_poweroff_phy(struct dwc2_hsotg *dwc2);
[all …]
DKconfig13 linked modules, the core module will be called dwc2.ko, the PCI
18 will be an additional module named dwc2.ko.
/Linux-v5.4/Documentation/devicetree/bindings/usb/
Ddwc2.txt9 - "rockchip,px30-usb", "rockchip,rk3066-usb", "snps,dwc2": for px30 Soc;
10 - "rockchip,rk3188-usb", "rockchip,rk3066-usb", "snps,dwc2": for rk3188 Soc;
11 - "rockchip,rk3288-usb", "rockchip,rk3066-usb", "snps,dwc2": for rk3288 Soc;
19 - snps,dwc2: A generic DWC2 USB controller with default parameters.
56 compatible = "ralink,rt3050-usb, snps,dwc2";
Damlogic,dwc3.txt85 the node is not important. The content of the node is defined in dwc2.txt.
109 dwc2: usb@ff400000 {
110 compatible = "amlogic,meson-g12a-usb", "snps,dwc2";
/Linux-v5.4/arch/arm64/boot/dts/intel/
Dsocfpga_agilex.dtsi372 compatible = "snps,dwc2";
378 reset-names = "dwc2", "dwc2-ecc";
384 compatible = "snps,dwc2";
390 reset-names = "dwc2", "dwc2-ecc";
/Linux-v5.4/arch/arm/boot/dts/
Dbcm283x-rpi-usb-otg.dtsi7 * According to dwc2 the sum of all device EP
Drk3288-veyron-chromebook.dtsi61 /* This turns on vbus for host1 (dwc2) */
73 /* This turns on vbus for otg for host mode (dwc2) */
Dmeson.dtsi225 compatible = "snps,dwc2";
237 compatible = "snps,dwc2";
Drk3288-veyron-brain.dts29 /* This turns on vbus for host2 and otg (dwc2) */
Dsocfpga.dtsi917 compatible = "snps,dwc2";
923 reset-names = "dwc2";
930 compatible = "snps,dwc2";
936 reset-names = "dwc2";
Dsocfpga_arria10.dtsi858 compatible = "snps,dwc2";
864 reset-names = "dwc2";
871 compatible = "snps,dwc2";
877 reset-names = "dwc2";
Drk3xxx.dtsi191 compatible = "rockchip,rk3066-usb", "snps,dwc2";
206 compatible = "snps,dwc2";
Dmeson8b.dtsi555 compatible = "amlogic,meson8b-usb", "snps,dwc2";
561 compatible = "amlogic,meson8b-usb", "snps,dwc2";
Dstm32f429-disco.dts94 /* This turns on vbus for otg for host mode (dwc2) */
Dstm32f746-disco.dts74 /* This turns on vbus for otg fs for host mode (dwc2) */
Dmeson8.dtsi580 compatible = "amlogic,meson8-usb", "snps,dwc2";
586 compatible = "amlogic,meson8-usb", "snps,dwc2";
Dstm32f469-disco.dts112 /* This turns on vbus for otg for host mode (dwc2) */
Drk3288-evb.dtsi131 /* This turns on USB vbus for both host0 (ehci) and host1 (dwc2) */
/Linux-v5.4/arch/arm64/boot/dts/altera/
Dsocfpga_stratix10.dtsi477 compatible = "snps,dwc2";
483 reset-names = "dwc2", "dwc2-ecc";
490 compatible = "snps,dwc2";
496 reset-names = "dwc2", "dwc2-ecc";
/Linux-v5.4/arch/mips/boot/dts/ralink/
Drt3050.dtsi61 compatible = "ralink,rt3050-usb", "snps,dwc2";
/Linux-v5.4/drivers/usb/
DMakefile13 obj-$(CONFIG_USB_DWC2) += dwc2/
/Linux-v5.4/arch/arm64/boot/dts/amlogic/
Dmeson-gxbb.dtsi38 compatible = "amlogic,meson-gxbb-usb", "snps,dwc2";
50 compatible = "amlogic,meson-gxbb-usb", "snps,dwc2";

12