Home
last modified time | relevance | path

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

123

/u-boot/drivers/usb/dwc3/
A 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_MESON_G12A) += dwc3-meson-g12a.o
11 obj-$(CONFIG_USB_DWC3_MESON_GXL) += dwc3-meson-gxl.o
12 obj-$(CONFIG_$(SPL_)USB_DWC3_GENERIC) += dwc3-generic.o
13 obj-$(CONFIG_USB_DWC3_UNIPHIER) += dwc3-uniphier.o
14 obj-$(CONFIG_USB_DWC3_LAYERSCAPE) += dwc3-layerscape.o
A Ddwc3-layerscape.c30 struct dwc3 dwc3; member
44 struct dwc3 *dwc3 = &priv->dwc3; in dwc3_layerscape_probe() local
46 dwc3->dev = dev; in dwc3_layerscape_probe()
47 dwc3->maximum_speed = plat->maximum_speed; in dwc3_layerscape_probe()
48 dwc3->dr_mode = plat->dr_mode; in dwc3_layerscape_probe()
50 dwc3_of_parse(dwc3); in dwc3_layerscape_probe()
59 rc = dwc3_init(dwc3); in dwc3_layerscape_probe()
71 struct dwc3 *dwc3 = &priv->dwc3; in dwc3_layerscape_remove() local
73 dwc3_remove(dwc3); in dwc3_layerscape_remove()
75 unmap_physmem(dwc3->regs, MAP_NOCACHE); in dwc3_layerscape_remove()
[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 Dcore.h441 struct dwc3 *dwc;
485 struct dwc3 *dwc;
748 struct dwc3 { struct
1056 int dwc3_gadget_resize_tx_fifos(struct dwc3 *dwc);
1057 void dwc3_of_parse(struct dwc3 *dwc);
1058 int dwc3_init(struct dwc3 *dwc);
1059 void dwc3_remove(struct dwc3 *dwc);
1061 static inline int dwc3_host_init(struct dwc3 *dwc) in dwc3_host_init()
1067 int dwc3_gadget_init(struct dwc3 *dwc);
1068 void dwc3_gadget_exit(struct dwc3 *dwc);
[all …]
A Ddwc3-generic.c41 struct dwc3 dwc3; member
56 struct dwc3 *dwc3 = &priv->dwc3; in dwc3_generic_probe() local
61 dwc3->dev = dev; in dwc3_generic_probe()
62 dwc3->maximum_speed = plat->maximum_speed; in dwc3_generic_probe()
63 dwc3->dr_mode = plat->dr_mode; in dwc3_generic_probe()
65 dwc3_of_parse(dwc3); in dwc3_generic_probe()
133 rc = dwc3_init(dwc3); in dwc3_generic_probe()
145 struct dwc3 *dwc3 = &priv->dwc3; in dwc3_generic_remove() local
154 dwc3_remove(dwc3); in dwc3_generic_remove()
156 unmap_physmem(dwc3->regs, MAP_NOCACHE); in dwc3_generic_remove()
[all …]
A Dcore.c60 static int dwc3_core_soft_reset(struct dwc3 *dwc) in dwc3_core_soft_reset()
464 static void dwc3_phy_setup(struct dwc3 *dwc) in dwc3_phy_setup()
590 static int dwc3_core_init(struct dwc3 *dwc) in dwc3_core_init()
729 static void dwc3_core_exit(struct dwc3 *dwc) in dwc3_core_exit()
784 static void dwc3_core_stop(struct dwc3 *dwc) in dwc3_core_stop()
833 struct dwc3 *dwc; in dwc3_uboot_init()
971 struct dwc3 *dwc; in dwc3_uboot_exit()
997 struct dwc3 *dwc = NULL; in dwc3_uboot_handle_interrupt()
1044 void dwc3_of_parse(struct dwc3 *dwc) in dwc3_of_parse()
1141 int dwc3_init(struct dwc3 *dwc) in dwc3_init()
[all …]
A Dep0.c34 static void __dwc3_ep0_do_control_data(struct dwc3 *dwc,
116 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_ep0_queue()
221 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_ep0_queue()
281 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()
332 static int dwc3_ep0_handle_status(struct dwc3 *dwc, in dwc3_ep0_handle_status()
390 static int dwc3_ep0_handle_feature(struct dwc3 *dwc, in dwc3_ep0_handle_feature()
597 struct dwc3 *dwc = dep->dwc; in dwc3_ep0_set_sel_cmpl()
996 struct dwc3 *dwc = dep->dwc; in dwc3_ep0_start_control_status()
1043 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()
476 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_ep_enable()
561 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_ep_disable()
861 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_kick_transfer()
962 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_ep_queue()
1109 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_ep_dequeue()
1150 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_ep_set_halt()
1256 struct dwc3 *dwc = gadget_to_dwc(g); in dwc3_gadget_get_frame()
1265 struct dwc3 *dwc = gadget_to_dwc(g); in dwc3_gadget_wakeup()
2497 struct dwc3 *dwc = _dwc; in dwc3_thread_interrupt()
[all …]
/u-boot/doc/device-tree-bindings/usb/
A 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";
A Dgeneric.txt23 dwc3@4a030000 {
24 compatible = "synopsys,dwc3";
/u-boot/board/purism/librem5/
A Dspl.c431 RegData = readl(dwc3->base + USB_PHY_CTRL1); in dwc3_nxp_usb_phy_init()
435 writel(RegData, dwc3->base + USB_PHY_CTRL1); in dwc3_nxp_usb_phy_init()
437 RegData = readl(dwc3->base + USB_PHY_CTRL0); in dwc3_nxp_usb_phy_init()
441 writel(RegData, dwc3->base + USB_PHY_CTRL0); in dwc3_nxp_usb_phy_init()
443 RegData = readl(dwc3->base + USB_PHY_CTRL2); in dwc3_nxp_usb_phy_init()
445 writel(RegData, dwc3->base + USB_PHY_CTRL2); in dwc3_nxp_usb_phy_init()
447 RegData = readl(dwc3->base + USB_PHY_CTRL1); in dwc3_nxp_usb_phy_init()
449 writel(RegData, dwc3->base + USB_PHY_CTRL1); in dwc3_nxp_usb_phy_init()
492 struct dwc3_device *dwc3; in board_usb_cleanup() local
497 dwc3 = &dwc3_device0_data; in board_usb_cleanup()
[all …]
/u-boot/arch/arm/dts/
A Dstih410-b2260-u-boot.dtsi10 st_dwc3: dwc3@8f94000 {
11 dwc3: dwc3@9900000 { label
A Dfsl-ls1088a-u-boot.dtsi57 compatible = "fsl,layerscape-dwc3", "snps,dwc3";
61 compatible = "fsl,layerscape-dwc3", "snps,dwc3";
A Dkeystone-k2e-evm-u-boot.dtsi26 dwc3@2690000 {
40 dwc3@25010000 {
A Dqcom-ipq4019.dtsi155 compatible = "qcom,dwc3";
166 dwc3@8a00000 {
167 compatible = "snps,dwc3";
188 compatible = "qcom,dwc3";
199 dwc3@6000000 {
200 compatible = "snps,dwc3";
A Dimx8mp-beacon-kit-u-boot.dtsi197 compatible = "fsl,imx8mq-dwc3", "snps,dwc3";
204 compatible = "fsl,imx8mq-dwc3", "snps,dwc3";
A Dkeystone-k2g.dtsi207 keystone_usb0: keystone-dwc3@2680000 {
208 compatible = "ti,keystone-dwc3";
220 compatible = "snps,dwc3";
235 keystone_usb1: keystone-dwc3@2580000 {
236 compatible = "ti,keystone-dwc3";
248 compatible = "snps,dwc3";
A Dkeystone-k2l-evm-u-boot.dtsi12 dwc3@2690000 {
A Dkeystone-k2hk-evm-u-boot.dtsi22 dwc3@2690000 {
A Dqcs404-evb.dts278 compatible = "qcom,dwc3";
289 dwc3@7580000 {
290 compatible = "snps,dwc3";
303 compatible = "qcom,dwc3";
314 dwc3@78c0000 {
315 compatible = "snps,dwc3";
/u-boot/drivers/usb/host/
A Dxhci-dwc3.c31 void dwc3_set_mode(struct dwc3 *dwc3_reg, u32 mode) in dwc3_set_mode()
38 static void dwc3_phy_reset(struct dwc3 *dwc3_reg) in dwc3_phy_reset()
55 void dwc3_core_soft_reset(struct dwc3 *dwc3_reg) in dwc3_core_soft_reset()
69 int dwc3_core_init(struct dwc3 *dwc3_reg) in dwc3_core_init()
112 void dwc3_set_fladj(struct dwc3 *dwc3_reg, u32 val) in dwc3_set_fladj()
163 struct dwc3 *dwc3_reg; in xhci_dwc3_probe()
186 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
56 obj-$(CONFIG_USB_XHCI_STI) += dwc3-sti-glue.o
57 obj-$(CONFIG_USB_XHCI_OCTEON) += dwc3-octeon-glue.o
A Dxhci-fsl.c55 static void fsl_xhci_set_beat_burst_length(struct dwc3 *dwc3_reg) in fsl_xhci_set_beat_burst_length()
123 priv->ctx.dwc3_reg = (struct dwc3 *)((char *)(priv->hcd_base) + in xhci_fsl_probe()
/u-boot/include/linux/usb/
A 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);
A Dxhci-omap.h137 struct dwc3 *dwc3_reg;
142 void omap_reset_usb_phy(struct dwc3 *dwc3_reg);

Completed in 52 milliseconds

123