Home
last modified time | relevance | path

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

12

/external/u-boot/drivers/usb/dwc3/
Dcore.h398 struct dwc3 *dwc;
442 struct dwc3 *dwc;
700 struct dwc3 { struct
993 int dwc3_gadget_resize_tx_fifos(struct dwc3 *dwc);
994 int dwc3_init(struct dwc3 *dwc);
995 void dwc3_remove(struct dwc3 *dwc);
998 int dwc3_host_init(struct dwc3 *dwc);
999 void dwc3_host_exit(struct dwc3 *dwc);
1001 static inline int dwc3_host_init(struct dwc3 *dwc) in dwc3_host_init()
1003 static inline void dwc3_host_exit(struct dwc3 *dwc) in dwc3_host_exit()
[all …]
Dcore.c35 static void dwc3_set_mode(struct dwc3 *dwc, u32 mode) in dwc3_set_mode()
49 static int dwc3_core_soft_reset(struct dwc3 *dwc) in dwc3_core_soft_reset()
95 static void dwc3_free_one_event_buffer(struct dwc3 *dwc, in dwc3_free_one_event_buffer()
109 static struct dwc3_event_buffer *dwc3_alloc_one_event_buffer(struct dwc3 *dwc, in dwc3_alloc_one_event_buffer()
135 static void dwc3_free_event_buffers(struct dwc3 *dwc) in dwc3_free_event_buffers()
155 static int dwc3_alloc_event_buffers(struct dwc3 *dwc, unsigned length) in dwc3_alloc_event_buffers()
188 static int dwc3_event_buffers_setup(struct dwc3 *dwc) in dwc3_event_buffers_setup()
213 static void dwc3_event_buffers_cleanup(struct dwc3 *dwc) in dwc3_event_buffers_cleanup()
231 static int dwc3_alloc_scratch_buffers(struct dwc3 *dwc) in dwc3_alloc_scratch_buffers()
247 static int dwc3_setup_scratch_buffers(struct dwc3 *dwc) in dwc3_setup_scratch_buffers()
[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()
162 int dwc3_gadget_resize_tx_fifos(struct dwc3 *dwc) in dwc3_gadget_resize_tx_fifos()
228 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_giveback()
266 int dwc3_send_gadget_generic_command(struct dwc3 *dwc, unsigned cmd, u32 param) in dwc3_send_gadget_generic_command()
293 int dwc3_send_gadget_ep_cmd(struct dwc3 *dwc, unsigned ep, in dwc3_send_gadget_ep_cmd()
360 static int dwc3_gadget_start_config(struct dwc3 *dwc, struct dwc3_ep *dep) in dwc3_gadget_start_config()
383 static int dwc3_gadget_set_ep_config(struct dwc3 *dwc, struct dwc3_ep *dep, in dwc3_gadget_set_ep_config()
446 static int dwc3_gadget_set_xfer_resource(struct dwc3 *dwc, struct dwc3_ep *dep) in dwc3_gadget_set_xfer_resource()
[all …]
Dep0.c29 static void __dwc3_ep0_do_control_status(struct dwc3 *dwc, struct dwc3_ep *dep);
30 static void __dwc3_ep0_do_control_data(struct dwc3 *dwc,
49 static int dwc3_ep0_start_trans(struct dwc3 *dwc, u8 epnum, dma_addr_t buf_dma, in dwc3_ep0_start_trans()
112 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_ep0_queue()
217 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_ep0_queue()
249 static void dwc3_ep0_stall_and_restart(struct dwc3 *dwc) in dwc3_ep0_stall_and_restart()
277 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_ep0_set_halt()
296 void dwc3_ep0_out_start(struct dwc3 *dwc) in dwc3_ep0_out_start()
305 static struct dwc3_ep *dwc3_wIndex_to_dep(struct dwc3 *dwc, __le16 wIndex_le) in dwc3_wIndex_to_dep()
328 static int dwc3_ep0_handle_status(struct dwc3 *dwc, in dwc3_ep0_handle_status()
[all …]
DMakefile3 obj-$(CONFIG_USB_DWC3) += dwc3.o
5 dwc3-y := core.o
9 obj-$(CONFIG_USB_DWC3_OMAP) += dwc3-omap.o
10 obj-$(CONFIG_USB_DWC3_GENERIC) += dwc3-generic.o
11 obj-$(CONFIG_USB_DWC3_UNIPHIER) += dwc3-uniphier.o
Dgadget.h25 struct dwc3;
27 #define gadget_to_dwc(g) (container_of(g, struct dwc3, gadget))
81 void dwc3_ep0_interrupt(struct dwc3 *dwc,
83 void dwc3_ep0_out_start(struct dwc3 *dwc);
89 void dwc3_gadget_uboot_handle_interrupt(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()
Ddwc3-generic.c28 struct dwc3 *priv; in usb_gadget_handle_interrupts()
47 struct dwc3 *priv = dev_get_priv(dev); in dwc3_generic_peripheral_probe()
54 struct dwc3 *priv = dev_get_priv(dev); in dwc3_generic_peripheral_remove()
63 struct dwc3 *priv = dev_get_priv(dev); in dwc3_generic_peripheral_ofdata_to_platdata()
97 .priv_auto_alloc_size = sizeof(struct dwc3),
/external/u-boot/doc/device-tree-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"
28 The dwc3 core should be added as subnode to ST DWC3 glue as shown in the
32 is "otg", which isn't supported by this SoC. Valid dr_mode values for dwc3-st are
37 st_dwc3: dwc3@8f94000 {
39 compatible = "st,stih407-dwc3";
52 dwc3: dwc3@9900000 {
53 compatible = "snps,dwc3";
/external/u-boot/drivers/usb/host/
Dxhci-dwc3.c26 void dwc3_set_mode(struct dwc3 *dwc3_reg, u32 mode) in dwc3_set_mode()
33 static void dwc3_phy_reset(struct dwc3 *dwc3_reg) in dwc3_phy_reset()
50 void dwc3_core_soft_reset(struct dwc3 *dwc3_reg) in dwc3_core_soft_reset()
64 int dwc3_core_init(struct dwc3 *dwc3_reg) in dwc3_core_init()
106 void dwc3_set_fladj(struct dwc3 *dwc3_reg, u32 val) in dwc3_set_fladj()
202 struct dwc3 *dwc3_reg; in xhci_dwc3_probe()
214 dwc3_reg = (struct dwc3 *)((char *)(hccr) + DWC3_REG_OFFSET); in xhci_dwc3_probe()
Dxhci-keystone.c37 struct dwc3 *dwc3_reg;
70 static int keystone_xhci_core_init(struct dwc3 *dwc3_reg) in keystone_xhci_core_init()
128 keystone.dwc3_reg = (struct dwc3 *)(CONFIG_USB_HOST_XHCI_BASE + in xhci_hcd_init()
159 struct dwc3 *dwc3_reg = keystone.dwc3_reg; in keystone_xhci_phy_suspend()
Dxhci-rockchip.c31 struct dwc3 *dwc3_reg;
62 static void rockchip_dwc3_phy_setup(struct dwc3 *dwc3_reg, in rockchip_dwc3_phy_setup()
126 ctx->dwc3_reg = (struct dwc3 *)((char *)(ctx->hcd) + DWC3_REG_OFFSET); in xhci_usb_probe()
Dxhci-fsl.c59 static void fsl_xhci_set_beat_burst_length(struct dwc3 *dwc3_reg) in fsl_xhci_set_beat_burst_length()
128 priv->ctx.dwc3_reg = (struct dwc3 *)((char *)(priv->hcd_base) + in xhci_fsl_probe()
182 ctx->dwc3_reg = (struct dwc3 *)((char *)(ctx->hcd) + DWC3_REG_OFFSET); in xhci_hcd_init()
DMakefile49 obj-$(CONFIG_USB_XHCI_DWC3) += xhci-dwc3.o
50 obj-$(CONFIG_USB_XHCI_DWC3_OF_SIMPLE) += dwc3-of-simple.o
60 obj-$(CONFIG_USB_XHCI_STI) += dwc3-sti-glue.o
Dxhci-zynqmp.c61 struct dwc3 *dwc3_reg;
102 ctx->dwc3_reg = (struct dwc3 *)((char *)(ctx->hcd) + DWC3_REG_OFFSET); in xhci_usb_probe()
Dxhci-exynos5.c50 struct dwc3 *dwc3_reg;
213 ctx->dwc3_reg = (struct dwc3 *)((char *)(ctx->hcd) + DWC3_REG_OFFSET); in xhci_usb_probe()
/external/u-boot/arch/arm/dts/
Dstih410-b2260-u-boot.dtsi10 st_dwc3: dwc3@8f94000 {
11 dwc3: dwc3@9900000 { label
Dkeystone-k2e.dtsi48 dwc3@2690000 {
62 compatible = "ti,keystone-dwc3";
74 dwc3@25010000 {
75 compatible = "synopsys,dwc3";
Duniphier-pro4.dtsi442 compatible = "socionext,uniphier-pro4-dwc3";
450 dwc3@65a00000 {
451 compatible = "snps,dwc3";
460 compatible = "socionext,uniphier-pro4-dwc3";
468 dwc3@65c00000 {
469 compatible = "snps,dwc3";
Duniphier-pxs3.dtsi465 compatible = "socionext,uniphier-pxs3-dwc3";
473 dwc3@65a00000 {
474 compatible = "snps,dwc3";
483 compatible = "socionext,uniphier-pxs3-dwc3";
491 dwc3@65c00000 {
492 compatible = "snps,dwc3";
Duniphier-pro5.dtsi435 compatible = "socionext,uniphier-pro5-dwc3";
443 dwc3@65a00000 {
444 compatible = "snps,dwc3";
453 compatible = "socionext,uniphier-pro5-dwc3";
461 dwc3@65c00000 {
462 compatible = "snps,dwc3";
Duniphier-pxs2.dtsi559 compatible = "socionext,uniphier-pxs2-dwc3";
567 dwc3@65a00000 {
568 compatible = "snps,dwc3";
577 compatible = "socionext,uniphier-pxs2-dwc3";
585 dwc3@65c00000 {
586 compatible = "snps,dwc3";
Ddra74x.dtsi38 compatible = "ti,dwc3";
48 compatible = "snps,dwc3";
/external/u-boot/include/linux/usb/
Ddwc3.h56 struct dwc3 { /* offset: 0xC100 */ struct
218 void dwc3_set_mode(struct dwc3 *dwc3_reg, u32 mode);
219 void dwc3_core_soft_reset(struct dwc3 *dwc3_reg);
220 int dwc3_core_init(struct dwc3 *dwc3_reg);
221 void dwc3_set_fladj(struct dwc3 *dwc3_reg, u32 val);
Dxhci-omap.h137 struct dwc3 *dwc3_reg;
142 void omap_reset_usb_phy(struct dwc3 *dwc3_reg);
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/
Davailable_events584 dwc3:dwc3_readl
585 dwc3:dwc3_writel
586 dwc3:dwc3_gadget
587 dwc3:dwc3_core
588 dwc3:dwc3_ep0
589 dwc3:dwc3_event
590 dwc3:dwc3_ctrl_req
591 dwc3:dwc3_alloc_request
592 dwc3:dwc3_free_request
593 dwc3:dwc3_ep_queue
[all …]

12