Home
last modified time | relevance | path

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

/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.h429 struct dwc3 *dwc;
472 struct dwc3 *dwc;
735 struct dwc3 { struct
1024 void dwc3_set_mode(struct dwc3 *dwc, u32 mode);
1025 int dwc3_gadget_resize_tx_fifos(struct dwc3 *dwc);
1028 int dwc3_host_init(struct dwc3 *dwc);
1029 void dwc3_host_exit(struct dwc3 *dwc);
1031 static inline int dwc3_host_init(struct dwc3 *dwc) in dwc3_host_init()
1033 static inline void dwc3_host_exit(struct dwc3 *dwc) in dwc3_host_exit()
1038 int dwc3_gadget_init(struct dwc3 *dwc);
[all …]
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 void dwc3_ep0_prepare_one_trb(struct dwc3 *dwc, u8 epnum, in dwc3_ep0_prepare_one_trb()
88 static int dwc3_ep0_start_trans(struct dwc3 *dwc, u8 epnum) in dwc3_ep0_start_trans()
124 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_ep0_queue()
230 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_ep0_queue()
264 static void dwc3_ep0_stall_and_restart(struct dwc3 *dwc) in dwc3_ep0_stall_and_restart()
292 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_ep0_set_halt()
302 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_ep0_set_halt()
313 void dwc3_ep0_out_start(struct dwc3 *dwc) in dwc3_ep0_out_start()
[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()
291 int dwc3_send_gadget_generic_command(struct dwc3 *dwc, unsigned cmd, u32 param) in dwc3_send_gadget_generic_command()
326 int dwc3_send_gadget_ep_cmd(struct dwc3 *dwc, unsigned ep, in dwc3_send_gadget_ep_cmd()
376 struct dwc3 *dwc = dep->dwc; in dwc3_alloc_trb_pool()
395 struct dwc3 *dwc = dep->dwc; in dwc3_free_trb_pool()
404 static int dwc3_gadget_set_xfer_resource(struct dwc3 *dwc, struct dwc3_ep *dep);
[all …]
Ddwc3-pci.c138 struct platform_device *dwc3; in dwc3_pci_probe() local
150 dwc3 = platform_device_alloc("dwc3", PLATFORM_DEVID_AUTO); in dwc3_pci_probe()
151 if (!dwc3) { in dwc3_pci_probe()
167 ret = platform_device_add_resources(dwc3, res, ARRAY_SIZE(res)); in dwc3_pci_probe()
173 pci_set_drvdata(pci, dwc3); in dwc3_pci_probe()
178 dwc3->dev.parent = dev; in dwc3_pci_probe()
179 ACPI_COMPANION_SET(&dwc3->dev, ACPI_COMPANION(dev)); in dwc3_pci_probe()
181 ret = platform_device_add(dwc3); in dwc3_pci_probe()
189 platform_device_put(dwc3); in dwc3_pci_probe()
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 …]
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()
Dulpi.c27 static int dwc3_ulpi_busyloop(struct dwc3 *dwc, u8 addr, bool read) in dwc3_ulpi_busyloop()
52 struct dwc3 *dwc = dev_get_drvdata(ops->dev); in dwc3_ulpi_read()
70 struct dwc3 *dwc = dev_get_drvdata(ops->dev); in dwc3_ulpi_write()
85 int dwc3_ulpi_init(struct dwc3 *dwc) in dwc3_ulpi_init()
97 void dwc3_ulpi_exit(struct dwc3 *dwc) in dwc3_ulpi_exit()
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()
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
/drivers/usb/
DMakefile10 obj-$(CONFIG_USB_DWC3) += dwc3/
DKconfig101 source "drivers/usb/dwc3/Kconfig"