Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/usb/dwc3/
DMakefile6 obj-$(CONFIG_USB_DWC3) += dwc3.o
8 dwc3-y := core.o debug.o trace.o
11 dwc3-y += host.o
15 dwc3-y += gadget.o ep0.o
19 dwc3-y += debugfs.o
34 obj-$(CONFIG_USB_DWC3_OMAP) += dwc3-omap.o
35 obj-$(CONFIG_USB_DWC3_EXYNOS) += dwc3-exynos.o
36 obj-$(CONFIG_USB_DWC3_PCI) += dwc3-pci.o
37 obj-$(CONFIG_USB_DWC3_KEYSTONE) += dwc3-keystone.o
38 obj-$(CONFIG_USB_DWC3_QCOM) += dwc3-qcom.o
[all …]
Dcore.h412 struct dwc3 *dwc;
455 struct dwc3 *dwc;
713 struct dwc3 { struct
996 void dwc3_set_mode(struct dwc3 *dwc, u32 mode);
997 int dwc3_gadget_resize_tx_fifos(struct dwc3 *dwc);
1000 int dwc3_host_init(struct dwc3 *dwc);
1001 void dwc3_host_exit(struct dwc3 *dwc);
1003 static inline int dwc3_host_init(struct dwc3 *dwc) in dwc3_host_init()
1005 static inline void dwc3_host_exit(struct dwc3 *dwc) in dwc3_host_exit()
1010 int dwc3_gadget_init(struct dwc3 *dwc);
[all …]
Ddwc3-pci.c92 struct platform_device *dwc3; in dwc3_pci_probe() local
104 dwc3 = platform_device_alloc("dwc3", PLATFORM_DEVID_AUTO); in dwc3_pci_probe()
105 if (!dwc3) { in dwc3_pci_probe()
121 ret = platform_device_add_resources(dwc3, res, ARRAY_SIZE(res)); in dwc3_pci_probe()
127 pci_set_drvdata(pci, dwc3); in dwc3_pci_probe()
132 dwc3->dev.parent = dev; in dwc3_pci_probe()
134 ret = platform_device_add(dwc3); in dwc3_pci_probe()
142 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()
111 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_ep0_queue()
217 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_ep0_queue()
251 static void dwc3_ep0_stall_and_restart(struct dwc3 *dwc) in dwc3_ep0_stall_and_restart()
279 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_ep0_set_halt()
289 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_ep0_set_halt()
300 void dwc3_ep0_out_start(struct dwc3 *dwc) in dwc3_ep0_out_start()
309 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 …]
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.c52 void dwc3_set_mode(struct dwc3 *dwc, u32 mode) in dwc3_set_mode()
66 static int dwc3_core_soft_reset(struct dwc3 *dwc) in dwc3_core_soft_reset()
124 static void dwc3_free_one_event_buffer(struct dwc3 *dwc, in dwc3_free_one_event_buffer()
138 static struct dwc3_event_buffer *dwc3_alloc_one_event_buffer(struct dwc3 *dwc, in dwc3_alloc_one_event_buffer()
161 static void dwc3_free_event_buffers(struct dwc3 *dwc) in dwc3_free_event_buffers()
181 static int dwc3_alloc_event_buffers(struct dwc3 *dwc, unsigned length) in dwc3_alloc_event_buffers()
214 static int dwc3_event_buffers_setup(struct dwc3 *dwc) in dwc3_event_buffers_setup()
239 static void dwc3_event_buffers_cleanup(struct dwc3 *dwc) in dwc3_event_buffers_cleanup()
257 static int dwc3_alloc_scratch_buffers(struct dwc3 *dwc) in dwc3_alloc_scratch_buffers()
273 static int dwc3_setup_scratch_buffers(struct dwc3 *dwc) in dwc3_setup_scratch_buffers()
[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.1.27/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";
60 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.txt6 - compatible: must be "snps,dwc3"
8 - interrupts: Interrupts used by the dwc3 controller.
44 dwc3@4a030000 {
45 compatible = "snps,dwc3";
Dgeneric.txt17 dwc3@4a030000 {
18 compatible = "synopsys,dwc3";
Dsamsung-usbphy.txt69 which is used for controlling usb 3.0 phy for dwc3-exynos usb 3.0
/linux-4.1.27/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.1.27/arch/arm/boot/dts/
Dk2e.dtsi48 dwc3@2690000 {
62 compatible = "ti,keystone-dwc3";
74 dwc3@25010000 {
75 compatible = "synopsys,dwc3";
Ddra74x.dtsi56 compatible = "ti,dwc3";
66 compatible = "snps,dwc3";
Dkeystone.dtsi180 compatible = "ti,keystone-dwc3";
192 dwc3@2690000 {
193 compatible = "synopsys,dwc3";
Dam4372.dtsi850 compatible = "ti,am437x-dwc3";
860 compatible = "synopsys,dwc3";
874 compatible = "ti,am437x-dwc3";
884 compatible = "synopsys,dwc3";
Dexynos5420.dtsi882 usbdrd_dwc3_0: dwc3 {
883 compatible = "snps,dwc3";
908 usbdrd_dwc3_1: dwc3 {
909 compatible = "snps,dwc3";
Ddra7.dtsi1282 compatible = "ti,dwc3";
1291 compatible = "snps,dwc3";
1305 compatible = "ti,dwc3";
1314 compatible = "snps,dwc3";
1329 compatible = "ti,dwc3";
1339 compatible = "snps,dwc3";
Domap5.dtsi863 compatible = "ti,dwc3";
871 dwc3@4a030000 {
872 compatible = "snps,dwc3";
Dexynos5250.dtsi597 usbdrd_dwc3: dwc3 {
598 compatible = "synopsys,dwc3";
Dls1021a.dtsi403 compatible = "snps,dwc3";
/linux-4.1.27/drivers/usb/
DMakefile10 obj-$(CONFIG_USB_DWC3) += dwc3/
DKconfig101 source "drivers/usb/dwc3/Kconfig"
/linux-4.1.27/Documentation/devicetree/
Dbooting-without-of.txt1409 compatible = "ti,keystone-dwc3";
/linux-4.1.27/
DMAINTAINERS1492 F: drivers/usb/dwc3/dwc3-st.c
3124 F: drivers/usb/dwc3/