Home
last modified time | relevance | path

Searched refs:dwc3 (Results 1 – 25 of 82) sorted by relevance

1234

/Linux-v5.4/drivers/usb/dwc3/
DMakefile5 obj-$(CONFIG_USB_DWC3) += dwc3.o
7 dwc3-y := core.o
10 dwc3-y += trace.o
14 dwc3-y += host.o
18 dwc3-y += gadget.o ep0.o
22 dwc3-y += drd.o
26 dwc3-y += ulpi.o
30 dwc3-y += debugfs.o
45 obj-$(CONFIG_USB_DWC3_OMAP) += dwc3-omap.o
46 obj-$(CONFIG_USB_DWC3_EXYNOS) += dwc3-exynos.o
[all …]
Dcore.h635 struct dwc3 *dwc;
683 struct dwc3 *dwc;
1035 struct dwc3 { struct
1228 #define work_to_dwc(w) (container_of((w), struct dwc3, drd_work)) argument
1383 void dwc3_set_prtcap(struct dwc3 *dwc, u32 mode);
1384 void dwc3_set_mode(struct dwc3 *dwc, u32 mode);
1388 static inline bool dwc3_is_usb3(struct dwc3 *dwc) in dwc3_is_usb3()
1394 static inline bool dwc3_is_usb31(struct dwc3 *dwc) in dwc3_is_usb31()
1399 bool dwc3_has_imod(struct dwc3 *dwc);
1401 int dwc3_event_buffers_setup(struct dwc3 *dwc);
[all …]
Ddwc3-haps.c24 struct platform_device *dwc3; member
56 dwc->dwc3 = platform_device_alloc("dwc3", PLATFORM_DEVID_AUTO); in dwc3_haps_probe()
57 if (!dwc->dwc3) in dwc3_haps_probe()
71 ret = platform_device_add_resources(dwc->dwc3, res, ARRAY_SIZE(res)); in dwc3_haps_probe()
78 dwc->dwc3->dev.parent = dev; in dwc3_haps_probe()
80 ret = platform_device_add_properties(dwc->dwc3, initial_properties); in dwc3_haps_probe()
84 ret = platform_device_add(dwc->dwc3); in dwc3_haps_probe()
94 platform_device_put(dwc->dwc3); in dwc3_haps_probe()
102 platform_device_unregister(dwc->dwc3); in dwc3_haps_remove()
Ddrd.c19 static void dwc3_otg_disable_events(struct dwc3 *dwc, u32 disable_mask) in dwc3_otg_disable_events()
27 static void dwc3_otg_enable_events(struct dwc3 *dwc, u32 enable_mask) in dwc3_otg_enable_events()
35 static void dwc3_otg_clear_events(struct dwc3 *dwc) in dwc3_otg_clear_events()
54 struct dwc3 *dwc = _dwc; in dwc3_otg_thread_irq()
72 struct dwc3 *dwc = _dwc; in dwc3_otg_irq()
93 static void dwc3_otgregs_init(struct dwc3 *dwc) in dwc3_otgregs_init()
137 static int dwc3_otg_get_irq(struct dwc3 *dwc) in dwc3_otg_get_irq()
167 void dwc3_otg_init(struct dwc3 *dwc) in dwc3_otg_init()
186 void dwc3_otg_exit(struct dwc3 *dwc) in dwc3_otg_exit()
195 void dwc3_otg_host_init(struct dwc3 *dwc) in dwc3_otg_host_init()
[all …]
Dep0.c30 static void __dwc3_ep0_do_control_status(struct dwc3 *dwc, struct dwc3_ep *dep);
31 static void __dwc3_ep0_do_control_data(struct dwc3 *dwc,
38 struct dwc3 *dwc; in dwc3_ep0_prepare_one_trb()
66 struct dwc3 *dwc; in dwc3_ep0_start_trans()
90 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_ep0_queue()
193 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_ep0_queue()
221 static void dwc3_ep0_stall_and_restart(struct dwc3 *dwc) in dwc3_ep0_stall_and_restart()
249 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_ep0_set_halt()
259 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_ep0_set_halt()
270 void dwc3_ep0_out_start(struct dwc3 *dwc) in dwc3_ep0_out_start()
[all …]
Ddwc3-pci.c58 struct platform_device *dwc3; member
202 struct platform_device *dwc3 = dwc->dwc3; in dwc3_pci_resume_work() local
205 ret = pm_runtime_get_sync(&dwc3->dev); in dwc3_pci_resume_work()
209 pm_runtime_mark_last_busy(&dwc3->dev); in dwc3_pci_resume_work()
210 pm_runtime_put_sync_autosuspend(&dwc3->dev); in dwc3_pci_resume_work()
234 dwc->dwc3 = platform_device_alloc("dwc3", PLATFORM_DEVID_AUTO); in dwc3_pci_probe()
235 if (!dwc->dwc3) in dwc3_pci_probe()
249 ret = platform_device_add_resources(dwc->dwc3, res, ARRAY_SIZE(res)); in dwc3_pci_probe()
256 dwc->dwc3->dev.parent = dev; in dwc3_pci_probe()
257 ACPI_COMPANION_SET(&dwc->dwc3->dev, ACPI_COMPANION(dev)); in dwc3_pci_probe()
[all …]
Dgadget.c41 int dwc3_gadget_set_test_mode(struct dwc3 *dwc, int mode) in dwc3_gadget_set_test_mode()
72 int dwc3_gadget_get_link_state(struct dwc3 *dwc) in dwc3_gadget_get_link_state()
89 int dwc3_gadget_set_link_state(struct dwc3 *dwc, enum dwc3_link_state state) in dwc3_gadget_set_link_state()
175 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_del_and_unmap_request()
208 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_giveback()
227 int dwc3_send_gadget_generic_command(struct dwc3 *dwc, unsigned cmd, u32 param) in dwc3_send_gadget_generic_command()
257 static int __dwc3_gadget_wakeup(struct dwc3 *dwc);
272 struct dwc3 *dwc = dep->dwc; in dwc3_send_gadget_ep_cmd()
403 struct dwc3 *dwc = dep->dwc; in dwc3_send_clear_stall_ep_cmd()
434 struct dwc3 *dwc = dep->dwc; in dwc3_alloc_trb_pool()
[all …]
Dcore.c47 static int dwc3_get_dr_mode(struct dwc3 *dwc) in dwc3_get_dr_mode()
103 void dwc3_set_prtcap(struct dwc3 *dwc, u32 mode) in dwc3_set_prtcap()
117 struct dwc3 *dwc = work_to_dwc(work); in __dwc3_set_mode()
195 void dwc3_set_mode(struct dwc3 *dwc, u32 mode) in dwc3_set_mode()
208 struct dwc3 *dwc = dep->dwc; in dwc3_core_fifo_space()
224 static int dwc3_core_soft_reset(struct dwc3 *dwc) in dwc3_core_soft_reset()
302 static void dwc3_frame_length_adjustment(struct dwc3 *dwc) in dwc3_frame_length_adjustment()
327 static void dwc3_free_one_event_buffer(struct dwc3 *dwc, in dwc3_free_one_event_buffer()
341 static struct dwc3_event_buffer *dwc3_alloc_one_event_buffer(struct dwc3 *dwc, in dwc3_alloc_one_event_buffer()
368 static void dwc3_free_event_buffers(struct dwc3 *dwc) in dwc3_free_event_buffers()
[all …]
Dulpi.c20 static int dwc3_ulpi_busyloop(struct dwc3 *dwc) in dwc3_ulpi_busyloop()
37 struct dwc3 *dwc = dev_get_drvdata(dev); in dwc3_ulpi_read()
61 struct dwc3 *dwc = dev_get_drvdata(dev); in dwc3_ulpi_write()
82 int dwc3_ulpi_init(struct dwc3 *dwc) in dwc3_ulpi_init()
94 void dwc3_ulpi_exit(struct dwc3 *dwc) in dwc3_ulpi_exit()
Ddebugfs.c282 struct dwc3 *dwc = s->private; in dwc3_host_lsp()
312 struct dwc3 *dwc = s->private; in dwc3_gadget_lsp()
326 struct dwc3 *dwc = s->private; in dwc3_lsp_show()
360 struct dwc3 *dwc = s->private; in dwc3_lsp_write()
390 struct dwc3 *dwc = s->private; in dwc3_mode_show()
424 struct dwc3 *dwc = s->private; in dwc3_mode_write()
455 struct dwc3 *dwc = s->private; in dwc3_testmode_show()
500 struct dwc3 *dwc = s->private; in dwc3_testmode_write()
538 struct dwc3 *dwc = s->private; in dwc3_link_state_show()
573 struct dwc3 *dwc = s->private; in dwc3_link_state_write()
[all …]
Ddwc3-qcom.c59 struct platform_device *dwc3; member
291 struct dwc3 *dwc = platform_get_drvdata(qcom->dwc3); in qcom_dwc3_resume_irq()
463 qcom->dwc3 = platform_device_alloc("dwc3", PLATFORM_DEVID_AUTO); in dwc3_qcom_acpi_register_core()
464 if (!qcom->dwc3) in dwc3_qcom_acpi_register_core()
467 qcom->dwc3->dev.parent = dev; in dwc3_qcom_acpi_register_core()
468 qcom->dwc3->dev.type = dev->type; in dwc3_qcom_acpi_register_core()
469 qcom->dwc3->dev.dma_mask = dev->dma_mask; in dwc3_qcom_acpi_register_core()
470 qcom->dwc3->dev.dma_parms = dev->dma_parms; in dwc3_qcom_acpi_register_core()
471 qcom->dwc3->dev.coherent_dma_mask = dev->coherent_dma_mask; in dwc3_qcom_acpi_register_core()
493 ret = platform_device_add_resources(qcom->dwc3, child_res, 2); in dwc3_qcom_acpi_register_core()
[all …]
Dgadget.h18 struct dwc3;
20 #define gadget_to_dwc(g) (container_of(g, struct dwc3, gadget))
106 void dwc3_ep0_interrupt(struct dwc3 *dwc,
108 void dwc3_ep0_out_start(struct dwc3 *dwc);
Dhost.c14 static int dwc3_host_get_irq(struct dwc3 *dwc) in dwc3_host_get_irq()
44 int dwc3_host_init(struct dwc3 *dwc) in dwc3_host_init()
128 void dwc3_host_exit(struct dwc3 *dwc) in dwc3_host_exit()
Ddebug.h421 extern void dwc3_debugfs_init(struct dwc3 *);
422 extern void dwc3_debugfs_exit(struct dwc3 *);
424 static inline void dwc3_debugfs_init(struct dwc3 *d) in dwc3_debugfs_init()
426 static inline void dwc3_debugfs_exit(struct dwc3 *d) in dwc3_debugfs_exit()
/Linux-v5.4/Documentation/devicetree/bindings/usb/
Ddwc3-st.txt3 This file documents the parameters for the dwc3-st driver.
4 This driver controls the glue logic used to configure the dwc3 core on
8 - compatible : must be "st,stih407-dwc3"
32 The dwc3 core should be added as subnode to ST DWC3 glue as shown in the
33 example below. The DT binding details of dwc3 can be found in:
34 Documentation/devicetree/bindings/usb/dwc3.txt
37 is "otg", which isn't supported by this SoC. Valid dr_mode values for dwc3-st are either "host"
44 st_dwc3: dwc3@8f94000 {
45 compatible = "st,stih407-dwc3";
58 dwc3: dwc3@9900000 {
[all …]
Dkeystone-usb.txt7 "ti,keystone-dwc3" for Keystone 2 SoCs
8 "ti,am654-dwc3" for AM654 SoC
34 The dwc3 core should be added as subnode to Keystone DWC3 glue.
35 - dwc3 :
36 The binding details of dwc3 can be found in:
37 Documentation/devicetree/bindings/usb/dwc3.txt
41 compatible = "ti,keystone-dwc3";
50 dwc3@2690000 {
51 compatible = "synopsys,dwc3";
Drockchip,dwc3.txt4 - compatible: should contain "rockchip,rk3399-dwc3" for rk3399 SoC
16 the node is not important. The content of the node is defined in dwc3.txt.
25 compatible = "rockchip,rk3399-dwc3";
33 usbdrd_dwc3_0: dwc3@fe800000 {
34 compatible = "snps,dwc3";
42 compatible = "rockchip,rk3399-dwc3";
50 usbdrd_dwc3_1: dwc3@fe900000 {
51 compatible = "snps,dwc3";
Dqcom,dwc3.txt5 "qcom,dwc3"
6 "qcom,msm8996-dwc3" for msm8996 SOC.
7 "qcom,msm8998-dwc3" for msm8998 SOC.
8 "qcom,sdm845-dwc3" for sdm845 SOC.
23 Not present on "qcom,msm8996-dwc3" compatible.
25 Not present on "qcom,msm8996-dwc3" compatible.
47 Used when dwc3 operates without SSPHY and only
52 the node is not important. The content of the node is defined in dwc3.txt.
71 compatible = "qcom,dwc3";
95 dwc3@10000000 {
[all …]
Domap-usb.txt48 * "ti,dwc3" for OMAP5 and DRA7
49 * "ti,am437x-dwc3" for AM437x
60 - extcon : phandle for the extcon device omap dwc3 uses to detect
65 The dwc3 core should be added as subnode to omap dwc3 glue.
66 - dwc3 :
67 The binding details of dwc3 can be found in:
68 Documentation/devicetree/bindings/usb/dwc3.txt
71 compatible = "ti,dwc3";
Ddwc3-xilinx.txt4 - compatible: Should contain "xlnx,zynqmp-dwc3"
14 the node is not important. The content of the node is defined in dwc3.txt.
21 compatible = "xlnx,zynqmp-dwc3";
26 dwc3@fe200000 {
27 compatible = "snps,dwc3";
Ddwc3.txt7 - compatible: must be "snps,dwc3"
9 - interrupts: Interrupts used by the dwc3 controller.
17 "amlogic,meson-axg-dwc3"
18 "amlogic,meson-gxl-dwc3"
20 "qcom,dwc3"
24 "sprd,sc9860-dwc3"
25 "st,stih407-dwc3"
26 "ti,am437x-dwc3"
27 "ti,dwc3"
28 "ti,keystone-dwc3"
[all …]
Damlogic,dwc3.txt5 * amlogic,meson-axg-dwc3
6 * amlogic,meson-gxl-dwc3
14 the node is not important. The content of the node is defined in dwc3.txt.
22 compatible = "amlogic,meson-axg-dwc3";
32 dwc3: dwc3@ff500000 {
33 compatible = "snps,dwc3";
82 the node is not important. The content of the node is defined in dwc3.txt.
122 dwc3: usb@ff500000 {
123 compatible = "snps,dwc3";
Dexynos-usb.txt86 The dwc3 core should be added as subnode to Exynos dwc3 glue.
87 - dwc3 :
88 The binding details of dwc3 can be found in:
89 Documentation/devicetree/bindings/usb/dwc3.txt
102 dwc3 {
103 compatible = "synopsys,dwc3";
/Linux-v5.4/Documentation/devicetree/bindings/phy/
Dqcom-dwc3-usb-phy.txt9 - "qcom,dwc3-hs-usb-phy" for High Speed Synopsis PHY controller
10 - "qcom,dwc3-ss-usb-phy" for Super Speed Synopsis PHY controller
22 compatible = "qcom,dwc3-hs-usb-phy";
31 compatible = "qcom,dwc3-ss-usb-phy";
/Linux-v5.4/arch/arm/boot/dts/
Dkeystone-k2e.dtsi55 dwc3@2690000 {
69 compatible = "ti,keystone-dwc3";
81 usb1: dwc3@25010000 {
82 compatible = "synopsys,dwc3";

1234