Home
last modified time | relevance | path

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

/drivers/usb/dwc3/
A DMakefile3 obj-$(CONFIG_USB_DWC3) += dwc3.o
5 dwc3-y := core.o
9 obj-$(CONFIG_$(PHASE_)USB_DWC3_AM62) += dwc3-am62.o
10 obj-$(CONFIG_USB_DWC3_OMAP) += dwc3-omap.o
11 obj-$(CONFIG_USB_DWC3_MESON_G12A) += dwc3-meson-g12a.o
12 obj-$(CONFIG_USB_DWC3_MESON_GXL) += dwc3-meson-gxl.o
13 obj-$(CONFIG_$(PHASE_)USB_DWC3_GENERIC) += dwc3-generic.o
14 obj-$(CONFIG_USB_DWC3_UNIPHIER) += dwc3-uniphier.o
15 obj-$(CONFIG_USB_DWC3_LAYERSCAPE) += dwc3-layerscape.o
18 obj-$(CONFIG_USB_DWC3_STI) += dwc3-generic-sti.o
A Ddwc3-layerscape.c29 struct dwc3 dwc3; member
43 struct dwc3 *dwc3 = &priv->dwc3; in dwc3_layerscape_probe() local
45 dwc3->dev = dev; in dwc3_layerscape_probe()
46 dwc3->maximum_speed = plat->maximum_speed; in dwc3_layerscape_probe()
47 dwc3->dr_mode = plat->dr_mode; in dwc3_layerscape_probe()
49 dwc3_of_parse(dwc3); in dwc3_layerscape_probe()
56 dwc3->regs = priv->base + DWC3_GLOBALS_REGS_START; in dwc3_layerscape_probe()
58 rc = dwc3_init(dwc3); in dwc3_layerscape_probe()
70 struct dwc3 *dwc3 = &priv->dwc3; in dwc3_layerscape_remove() local
72 dwc3_remove(dwc3); in dwc3_layerscape_remove()
[all …]
A Dcore.h443 struct dwc3 *dwc;
487 struct dwc3 *dwc;
751 struct dwc3 { struct
1060 int dwc3_gadget_resize_tx_fifos(struct dwc3 *dwc);
1061 void dwc3_of_parse(struct dwc3 *dwc);
1062 int dwc3_init(struct dwc3 *dwc);
1063 void dwc3_remove(struct dwc3 *dwc);
1065 static inline int dwc3_host_init(struct dwc3 *dwc) in dwc3_host_init()
1071 int dwc3_gadget_init(struct dwc3 *dwc);
1072 void dwc3_gadget_exit(struct dwc3 *dwc);
[all …]
A 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()
A Ddwc3-generic.c30 struct dwc3 dwc3; member
47 struct dwc3 *dwc3 = &priv->dwc3; in dwc3_generic_probe() local
52 dwc3->dev = dev; in dwc3_generic_probe()
53 dwc3->maximum_speed = plat->maximum_speed; in dwc3_generic_probe()
54 dwc3->dr_mode = mode; in dwc3_generic_probe()
56 dwc3_of_parse(dwc3); in dwc3_generic_probe()
123 rc = dwc3_init(dwc3); in dwc3_generic_probe()
135 struct dwc3 *dwc3 = &priv->dwc3; in dwc3_generic_remove() local
145 dwc3_remove(dwc3); in dwc3_generic_remove()
147 unmap_physmem(dwc3->regs, MAP_NOCACHE); in dwc3_generic_remove()
[all …]
A Dcore.c59 static int dwc3_core_soft_reset(struct dwc3 *dwc) in dwc3_core_soft_reset()
463 static void dwc3_phy_setup(struct dwc3 *dwc) in dwc3_phy_setup()
589 static int dwc3_core_init(struct dwc3 *dwc) in dwc3_core_init()
724 static void dwc3_core_exit(struct dwc3 *dwc) in dwc3_core_exit()
779 static void dwc3_core_stop(struct dwc3 *dwc) in dwc3_core_stop()
828 struct dwc3 *dwc; in dwc3_uboot_init()
966 struct dwc3 *dwc; in dwc3_uboot_exit()
1003 struct dwc3 *dwc = NULL; in dm_usb_gadget_handle_interrupts()
1051 void dwc3_of_parse(struct dwc3 *dwc) in dwc3_of_parse()
1148 int dwc3_init(struct dwc3 *dwc) in dwc3_init()
[all …]
A Dep0.c33 static void __dwc3_ep0_do_control_data(struct dwc3 *dwc,
115 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_ep0_queue()
220 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_ep0_queue()
280 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_ep0_set_halt()
299 void dwc3_ep0_out_start(struct dwc3 *dwc) in dwc3_ep0_out_start()
331 static int dwc3_ep0_handle_status(struct dwc3 *dwc, in dwc3_ep0_handle_status()
389 static int dwc3_ep0_handle_feature(struct dwc3 *dwc, in dwc3_ep0_handle_feature()
596 struct dwc3 *dwc = dep->dwc; in dwc3_ep0_set_sel_cmpl()
997 struct dwc3 *dwc = dep->dwc; in dwc3_ep0_start_control_status()
1044 static void dwc3_ep0_xfernotready(struct dwc3 *dwc, in dwc3_ep0_xfernotready()
[all …]
A Dgadget.c233 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_giveback()
517 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_ep_enable()
602 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_ep_disable()
901 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_kick_transfer()
1002 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_ep_queue()
1149 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_ep_dequeue()
1190 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_ep_set_halt()
1296 struct dwc3 *dwc = gadget_to_dwc(g); in dwc3_gadget_get_frame()
1305 struct dwc3 *dwc = gadget_to_dwc(g); in dwc3_gadget_wakeup()
2589 struct dwc3 *dwc = _dwc; in dwc3_thread_interrupt()
[all …]
A DKconfig27 bool "Generic implementation of a DWC3 wrapper (aka dwc3 glue)"
34 bool "Generic implementation of a DWC3 wrapper (aka dwc3 glue) for the SPL"
95 STiH407 family SoCs. This is a driver for the dwc3 to provide the
/drivers/usb/host/
A Dxhci-dwc3.c30 void dwc3_set_mode(struct dwc3 *dwc3_reg, u32 mode) in dwc3_set_mode()
37 static void dwc3_phy_reset(struct dwc3 *dwc3_reg) in dwc3_phy_reset()
54 void dwc3_core_soft_reset(struct dwc3 *dwc3_reg) in dwc3_core_soft_reset()
68 int dwc3_core_init(struct dwc3 *dwc3_reg) in dwc3_core_init()
111 void dwc3_set_fladj(struct dwc3 *dwc3_reg, u32 val) in dwc3_set_fladj()
162 struct dwc3 *dwc3_reg; in xhci_dwc3_probe()
185 dwc3_reg = (struct dwc3 *)((char *)(hccr) + DWC3_REG_OFFSET); in xhci_dwc3_probe()
A DMakefile47 obj-$(CONFIG_USB_XHCI_DWC3) += xhci-dwc3.o
48 obj-$(CONFIG_USB_XHCI_DWC3_OF_SIMPLE) += dwc3-of-simple.o
57 obj-$(CONFIG_USB_XHCI_OCTEON) += dwc3-octeon-glue.o
A Dxhci-fsl.c54 static void fsl_xhci_set_beat_burst_length(struct dwc3 *dwc3_reg) in fsl_xhci_set_beat_burst_length()
122 priv->ctx.dwc3_reg = (struct dwc3 *)((char *)(priv->hcd_base) + in xhci_fsl_probe()
A Dxhci-exynos5.c52 struct dwc3 *dwc3_reg;
215 ctx->dwc3_reg = (struct dwc3 *)((char *)(ctx->hcd) + DWC3_REG_OFFSET); in xhci_usb_probe()
A Dxhci-omap.c57 ctx->dwc3_reg = (struct dwc3 *)((char *)(ctx->hcd) + DWC3_REG_OFFSET); in xhci_hcd_init()
A DKconfig85 family SoCs. This is a driver for the dwc3 to provide the glue logic
/drivers/usb/
A DKconfig77 source "drivers/usb/dwc3/Kconfig"

Completed in 76 milliseconds