Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/usb/dwc3/
DMakefile4 obj-$(CONFIG_USB_DWC3) += dwc3.o
6 dwc3-y := core.o debug.o trace.o
9 dwc3-y += host.o
13 dwc3-y += gadget.o ep0.o
17 dwc3-y += ulpi.o
21 dwc3-y += debugfs.o
36 obj-$(CONFIG_USB_DWC3_OMAP) += dwc3-omap.o
37 obj-$(CONFIG_USB_DWC3_EXYNOS) += dwc3-exynos.o
38 obj-$(CONFIG_USB_DWC3_PCI) += dwc3-pci.o
39 obj-$(CONFIG_USB_DWC3_KEYSTONE) += dwc3-keystone.o
[all …]
Dcore.h428 struct dwc3 *dwc;
471 struct dwc3 *dwc;
733 struct dwc3 { struct
1021 void dwc3_set_mode(struct dwc3 *dwc, u32 mode);
1022 int dwc3_gadget_resize_tx_fifos(struct dwc3 *dwc);
1025 int dwc3_host_init(struct dwc3 *dwc);
1026 void dwc3_host_exit(struct dwc3 *dwc);
1028 static inline int dwc3_host_init(struct dwc3 *dwc) in dwc3_host_init()
1030 static inline void dwc3_host_exit(struct dwc3 *dwc) in dwc3_host_exit()
1035 int dwc3_gadget_init(struct dwc3 *dwc);
[all …]
Ddwc3-pci.c136 struct platform_device *dwc3; in dwc3_pci_probe() local
148 dwc3 = platform_device_alloc("dwc3", PLATFORM_DEVID_AUTO); in dwc3_pci_probe()
149 if (!dwc3) { in dwc3_pci_probe()
165 ret = platform_device_add_resources(dwc3, res, ARRAY_SIZE(res)); in dwc3_pci_probe()
171 pci_set_drvdata(pci, dwc3); in dwc3_pci_probe()
176 dwc3->dev.parent = dev; in dwc3_pci_probe()
177 ACPI_COMPANION_SET(&dwc3->dev, ACPI_COMPANION(dev)); in dwc3_pci_probe()
179 ret = platform_device_add(dwc3); in dwc3_pci_probe()
187 platform_device_put(dwc3); in dwc3_pci_probe()
Dep0.c38 static void __dwc3_ep0_do_control_status(struct dwc3 *dwc, struct dwc3_ep *dep);
39 static void __dwc3_ep0_do_control_data(struct dwc3 *dwc,
58 static int dwc3_ep0_start_trans(struct dwc3 *dwc, u8 epnum, dma_addr_t buf_dma, in dwc3_ep0_start_trans()
121 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_ep0_queue()
227 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_ep0_queue()
261 static void dwc3_ep0_stall_and_restart(struct dwc3 *dwc) in dwc3_ep0_stall_and_restart()
289 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_ep0_set_halt()
299 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_ep0_set_halt()
310 void dwc3_ep0_out_start(struct dwc3 *dwc) in dwc3_ep0_out_start()
319 static struct dwc3_ep *dwc3_wIndex_to_dep(struct dwc3 *dwc, __le16 wIndex_le) in dwc3_wIndex_to_dep()
[all …]
Dgadget.c47 int dwc3_gadget_set_test_mode(struct dwc3 *dwc, int mode) in dwc3_gadget_set_test_mode()
78 int dwc3_gadget_get_link_state(struct dwc3 *dwc) in dwc3_gadget_get_link_state()
95 int dwc3_gadget_set_link_state(struct dwc3 *dwc, enum dwc3_link_state state) in dwc3_gadget_set_link_state()
169 int dwc3_gadget_resize_tx_fifos(struct dwc3 *dwc) in dwc3_gadget_resize_tx_fifos()
237 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_giveback()
278 int dwc3_send_gadget_generic_command(struct dwc3 *dwc, unsigned cmd, u32 param) in dwc3_send_gadget_generic_command()
313 int dwc3_send_gadget_ep_cmd(struct dwc3 *dwc, unsigned ep, in dwc3_send_gadget_ep_cmd()
363 struct dwc3 *dwc = dep->dwc; in dwc3_alloc_trb_pool()
382 struct dwc3 *dwc = dep->dwc; in dwc3_free_trb_pool()
391 static int dwc3_gadget_set_xfer_resource(struct dwc3 *dwc, struct dwc3_ep *dep);
[all …]
Dulpi.c23 static int dwc3_ulpi_busyloop(struct dwc3 *dwc) in dwc3_ulpi_busyloop()
40 struct dwc3 *dwc = dev_get_drvdata(ops->dev); in dwc3_ulpi_read()
58 struct dwc3 *dwc = dev_get_drvdata(ops->dev); in dwc3_ulpi_write()
73 int dwc3_ulpi_init(struct dwc3 *dwc) in dwc3_ulpi_init()
85 void dwc3_ulpi_exit(struct dwc3 *dwc) in dwc3_ulpi_exit()
Dgadget.h26 struct dwc3;
28 #define gadget_to_dwc(g) (container_of(g, struct dwc3, gadget))
82 void dwc3_ep0_interrupt(struct dwc3 *dwc,
84 void dwc3_ep0_out_start(struct dwc3 *dwc);
98 static inline u32 dwc3_gadget_ep_get_transfer_index(struct dwc3 *dwc, u8 number) in dwc3_gadget_ep_get_transfer_index()
Ddebug.h220 extern int dwc3_debugfs_init(struct dwc3 *);
221 extern void dwc3_debugfs_exit(struct dwc3 *);
223 static inline int dwc3_debugfs_init(struct dwc3 *d) in dwc3_debugfs_init()
225 static inline void dwc3_debugfs_exit(struct dwc3 *d) in dwc3_debugfs_exit()
Dcore.c53 void dwc3_set_mode(struct dwc3 *dwc, u32 mode) in dwc3_set_mode()
67 static int dwc3_core_soft_reset(struct dwc3 *dwc) in dwc3_core_soft_reset()
124 static int dwc3_soft_reset(struct dwc3 *dwc) in dwc3_soft_reset()
152 static void dwc3_frame_length_adjustment(struct dwc3 *dwc, u32 fladj) in dwc3_frame_length_adjustment()
178 static void dwc3_free_one_event_buffer(struct dwc3 *dwc, in dwc3_free_one_event_buffer()
192 static struct dwc3_event_buffer *dwc3_alloc_one_event_buffer(struct dwc3 *dwc, in dwc3_alloc_one_event_buffer()
215 static void dwc3_free_event_buffers(struct dwc3 *dwc) in dwc3_free_event_buffers()
235 static int dwc3_alloc_event_buffers(struct dwc3 *dwc, unsigned length) in dwc3_alloc_event_buffers()
268 static int dwc3_event_buffers_setup(struct dwc3 *dwc) in dwc3_event_buffers_setup()
293 static void dwc3_event_buffers_cleanup(struct dwc3 *dwc) in dwc3_event_buffers_cleanup()
[all …]
Ddebugfs.c362 struct dwc3 *dwc = s->private; in dwc3_mode_show()
396 struct dwc3 *dwc = s->private; in dwc3_mode_write()
431 struct dwc3 *dwc = s->private; in dwc3_testmode_show()
476 struct dwc3 *dwc = s->private; in dwc3_testmode_write()
514 struct dwc3 *dwc = s->private; in dwc3_link_state_show()
583 struct dwc3 *dwc = s->private; in dwc3_link_state_write()
621 int dwc3_debugfs_init(struct dwc3 *dwc) in dwc3_debugfs_init()
686 void dwc3_debugfs_exit(struct dwc3 *dwc) in dwc3_debugfs_exit()
Dhost.c23 int dwc3_host_init(struct dwc3 *dwc) in dwc3_host_init()
82 void dwc3_host_exit(struct dwc3 *dwc) in dwc3_host_exit()
DKconfig10 module, the module will be called dwc3.ko.
Dtrace.h19 #define TRACE_SYSTEM dwc3
/linux-4.4.14/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 {
46 compatible = "st,stih407-dwc3";
59 dwc3: dwc3@9900000 {
[all …]
Dkeystone-usb.txt6 - compatible: should be "ti,keystone-dwc3".
19 The dwc3 core should be added as subnode to Keystone DWC3 glue.
20 - dwc3 :
21 The binding details of dwc3 can be found in:
22 Documentation/devicetree/bindings/usb/dwc3.txt
26 compatible = "ti,keystone-dwc3";
36 dwc3@2690000 {
37 compatible = "synopsys,dwc3";
Dqcom,dwc3.txt4 - compatible: should contain "qcom,dwc3"
18 the node is not important. The content of the node is defined in dwc3.txt.
21 Documentation/devicetree/bindings/phy/qcom,dwc3-usb-phy.txt
26 compatible = "qcom,dwc3-hs-usb-phy";
36 compatible = "qcom,dwc3-ss-usb-phy";
46 compatible = "qcom,dwc3";
56 dwc3@10000000 {
57 compatible = "snps,dwc3";
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";
Dexynos-usb.txt97 The dwc3 core should be added as subnode to Exynos dwc3 glue.
98 - dwc3 :
99 The binding details of dwc3 can be found in:
100 Documentation/devicetree/bindings/usb/dwc3.txt
111 dwc3 {
112 compatible = "synopsys,dwc3";
Ddwc3.txt7 - compatible: must be "snps,dwc3"
9 - interrupts: Interrupts used by the dwc3 controller.
52 dwc3@4a030000 {
53 compatible = "snps,dwc3";
Dgeneric.txt30 dwc3@4a030000 {
31 compatible = "synopsys,dwc3";
/linux-4.4.14/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";
32 compatible = "qcom,dwc3-ss-usb-phy";
/linux-4.4.14/arch/arm/boot/dts/
Dk2e.dtsi51 dwc3@2690000 {
65 compatible = "ti,keystone-dwc3";
77 dwc3@25010000 {
78 compatible = "synopsys,dwc3";
Ddra74x.dtsi61 compatible = "ti,dwc3";
71 compatible = "snps,dwc3";
Dkeystone.dtsi181 compatible = "ti,keystone-dwc3";
193 dwc3@2690000 {
194 compatible = "synopsys,dwc3";
Dstih407-family.dtsi585 st_dwc3: dwc3@8f94000 {
586 compatible = "st,stih407-dwc3";
601 dwc3: dwc3@9900000 { label
602 compatible = "snps,dwc3";
Dstihxxx-b2120.dtsi86 st_dwc3: dwc3@8f94000 {
Dstih418-b2199.dts102 st_dwc3: dwc3@8f94000 {
Dam4372.dtsi907 compatible = "ti,am437x-dwc3";
917 compatible = "synopsys,dwc3";
936 compatible = "ti,am437x-dwc3";
946 compatible = "synopsys,dwc3";
Ddra7.dtsi1338 compatible = "ti,dwc3";
1347 compatible = "snps,dwc3";
1366 compatible = "ti,dwc3";
1375 compatible = "snps,dwc3";
1395 compatible = "ti,dwc3";
1405 compatible = "snps,dwc3";
Dexynos5420.dtsi867 usbdrd_dwc3_0: dwc3 {
868 compatible = "snps,dwc3";
893 usbdrd_dwc3_1: dwc3 {
894 compatible = "snps,dwc3";
Domap5.dtsi866 compatible = "ti,dwc3";
874 dwc3@4a030000 {
875 compatible = "snps,dwc3";
Dexynos5250.dtsi598 usbdrd_dwc3: dwc3 {
599 compatible = "synopsys,dwc3";
Dls1021a.dtsi536 compatible = "snps,dwc3";
/linux-4.4.14/drivers/usb/
DMakefile10 obj-$(CONFIG_USB_DWC3) += dwc3/
DKconfig101 source "drivers/usb/dwc3/Kconfig"
/linux-4.4.14/arch/arm64/boot/dts/xilinx/
Dzynqmp.dtsi347 compatible = "snps,dwc3";
357 compatible = "snps,dwc3";
/linux-4.4.14/arch/arm64/boot/dts/freescale/
Dfsl-ls2080a.dtsi500 compatible = "snps,dwc3";
508 compatible = "snps,dwc3";
/linux-4.4.14/Documentation/devicetree/
Dbooting-without-of.txt1413 compatible = "ti,keystone-dwc3";
/linux-4.4.14/
DMAINTAINERS1577 F: drivers/usb/dwc3/dwc3-st.c
3393 F: drivers/usb/dwc3/