Searched refs:dwc3 (Results 1 - 25 of 37) sorted by relevance

12

/u-boot/drivers/usb/dwc3/
H 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
H A Dgadget.h10 * Taken from Linux Kernel v3.19-rc1 (drivers/usb/dwc3/gadget.h) and ported
13 * commit 7a60855972 : usb: dwc3: gadget: fix set_halt() bug with pending
25 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)
H A Ddwc3-layerscape.c7 * Based on dwc3-generic.c.
15 #include <dwc3-uboot.h>
30 struct dwc3 dwc3; member in struct:dwc3_layerscape_priv
44 struct dwc3 *dwc3 = &priv->dwc3; local
46 dwc3->dev = dev;
47 dwc3->maximum_speed = plat->maximum_speed;
48 dwc3
71 struct dwc3 *dwc3 = &priv->dwc3; local
[all...]
H A Ddwc3-generic.h3 * dwc3-generic.h - Generic DWC3 Glue layer header
14 #include <dwc3-uboot.h>
H A Dcore.h10 * Taken from Linux Kernel v3.19-rc1 (drivers/usb/dwc3/core.h) and ported
13 * commit 460d098cb6 : usb: dwc3: make HIRD threshold configurable
443 struct dwc3 *dwc;
487 struct dwc3 *dwc;
664 * struct dwc3 - representation of our controller
717 * @has_hibernation: true when dwc3 was configured with Hibernation
748 * @list: to maintain the list of dwc3 controllers
750 struct dwc3 { struct
1058 int dwc3_gadget_resize_tx_fifos(struct dwc3 *dwc);
1059 void dwc3_of_parse(struct dwc3 *dw
[all...]
H A Ddwc3-generic.c7 * Based on dwc3-omap.c.
16 #include <dwc3-uboot.h>
33 #include "dwc3-generic.h"
43 struct dwc3 dwc3; member in struct:dwc3_generic_priv
59 struct dwc3 *dwc3 = &priv->dwc3; local
64 dwc3->dev = dev;
65 dwc3
148 struct dwc3 *dwc3 = &priv->dwc3; local
201 struct dwc3 *dwc3 = &priv->dwc3; local
[all...]
H A Dcore.c10 * Taken from Linux Kernel v3.19-rc1 (drivers/usb/dwc3/core.c) and ported
13 * commit cd72f890d2 : usb: dwc3: core: enable phy suspend quirk on non-FPGA
20 #include <dwc3-uboot.h>
45 static void dwc3_set_mode(struct dwc3 *dwc, u32 mode)
59 static int dwc3_core_soft_reset(struct dwc3 *dwc)
102 * @dwc3: Pointer to our controller context structure
105 static void dwc3_frame_length_adjustment(struct dwc3 *dwc, u32 fladj)
130 static void dwc3_ref_clk_period(struct dwc3 *dwc)
193 static void dwc3_free_one_event_buffer(struct dwc3 *dwc,
207 static struct dwc3_event_buffer *dwc3_alloc_one_event_buffer(struct dwc3 *dw
[all...]
H A Dep0.c10 * Taken from Linux Kernel v3.19-rc1 (drivers/usb/dwc3/ep0.c) and ported
33 static void __dwc3_ep0_do_control_status(struct dwc3 *dwc, struct dwc3_ep *dep);
34 static void __dwc3_ep0_do_control_data(struct dwc3 *dwc,
53 static int dwc3_ep0_start_trans(struct dwc3 *dwc, u8 epnum, dma_addr_t buf_dma,
116 struct dwc3 *dwc = dep->dwc;
221 struct dwc3 *dwc = dep->dwc;
253 static void dwc3_ep0_stall_and_restart(struct dwc3 *dwc)
281 struct dwc3 *dwc = dep->dwc;
300 void dwc3_ep0_out_start(struct dwc3 *dwc)
309 static struct dwc3_ep *dwc3_wIndex_to_dep(struct dwc3 *dw
[all...]
H A Dgadget.c10 * Taken from Linux Kernel v3.19-rc1 (drivers/usb/dwc3/gadget.c) and ported
13 * commit 8e74475b0e : usb: dwc3: gadget: use udc-core's reset notifier
47 int dwc3_gadget_set_test_mode(struct dwc3 *dwc, int mode)
78 int dwc3_gadget_get_link_state(struct dwc3 *dwc)
95 int dwc3_gadget_set_link_state(struct dwc3 *dwc, enum dwc3_link_state state)
168 int dwc3_gadget_resize_tx_fifos(struct dwc3 *dwc)
234 struct dwc3 *dwc = dep->dwc;
273 int dwc3_send_gadget_generic_command(struct dwc3 *dwc, unsigned cmd, u32 param)
300 int dwc3_send_gadget_ep_cmd(struct dwc3 *dwc, unsigned ep,
408 static int dwc3_gadget_start_config(struct dwc3 *dw
[all...]
/u-boot/arch/arm/mach-snapdragon/
H A Dof_fixup.c37 struct device_node *dwc3; local
52 dwc3 = of_find_compatible_node(glue_np, NULL, "snps,dwc3");
53 if (!dwc3) {
54 log_err("Failed to find dwc3 node\n");
58 phandles = of_get_property(dwc3, "phys", &len);
66 ret = of_property_read_string_index(dwc3, "phy-names", 1, &second_phy_name);
82 ret = of_write_prop(dwc3, "phys", sizeof(*phandles), phandles + hsphy_idx);
89 ret = of_write_prop(dwc3, "phy-names", strlen("usb2-phy"), "usb2-phy");
95 ret = of_write_prop(dwc3, "maximu
[all...]
/u-boot/include/
H A Ddwc3-omap-uboot.h12 #include <linux/usb/dwc3-omap.h>
/u-boot/board/st/stih410-b2260/
H A Dboard.c13 #include <dwc3-sti-glue.h>
14 #include <dwc3-uboot.h>
58 /* find the snps,dwc3 node */
59 node = fdt_node_offset_by_compatible(blob, -1, "snps,dwc3");
/u-boot/board/purism/librem5/
H A Dspl.c27 #include <dwc3-uboot.h>
421 static void dwc3_nxp_usb_phy_init(struct dwc3_device *dwc3) argument
425 RegData = readl(dwc3->base + USB_PHY_CTRL1);
429 writel(RegData, dwc3->base + USB_PHY_CTRL1);
431 RegData = readl(dwc3->base + USB_PHY_CTRL0);
435 writel(RegData, dwc3->base + USB_PHY_CTRL0);
437 RegData = readl(dwc3->base + USB_PHY_CTRL2);
439 writel(RegData, dwc3->base + USB_PHY_CTRL2);
441 RegData = readl(dwc3->base + USB_PHY_CTRL1);
443 writel(RegData, dwc3
486 struct dwc3_device *dwc3; local
[all...]
/u-boot/drivers/usb/host/
H A Dxhci-dwc3.c17 #include <dwc3-uboot.h>
22 #include <linux/usb/dwc3.h>
31 void dwc3_set_mode(struct dwc3 *dwc3_reg, u32 mode)
38 static void dwc3_phy_reset(struct dwc3 *dwc3_reg)
55 void dwc3_core_soft_reset(struct dwc3 *dwc3_reg)
69 int dwc3_core_init(struct dwc3 *dwc3_reg)
112 void dwc3_set_fladj(struct dwc3 *dwc3_reg, u32 val)
163 struct dwc3 *dwc3_reg;
186 dwc3_reg = (struct dwc3 *)((char *)(hccr) + DWC3_REG_OFFSET);
190 /* Set dwc3 usb
[all...]
H 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
H A Dxhci-fsl.c16 #include <linux/usb/dwc3.h>
55 static void fsl_xhci_set_beat_burst_length(struct dwc3 *dwc3_reg)
82 * A-010151: The dwc3 phy TSMC 28-nm HPM 0.9/1.8 V does not
123 priv->ctx.dwc3_reg = (struct dwc3 *)((char *)(priv->hcd_base) +
155 { .compatible = "fsl,layerscape-dwc3", },
156 { .compatible = "fsl,ls1028a-dwc3", },
H A Dxhci-omap.c20 #include <linux/usb/dwc3.h>
58 ctx->dwc3_reg = (struct dwc3 *)((char *)(ctx->hcd) + DWC3_REG_OFFSET);
H A Dxhci-exynos5.c31 #include <linux/usb/dwc3.h>
53 struct dwc3 *dwc3_reg;
216 ctx->dwc3_reg = (struct dwc3 *)((char *)(ctx->hcd) + DWC3_REG_OFFSET);
H A Ddwc3-sti-glue.c22 #include <linux/usb/dwc3.h>
24 #include <dwc3-sti-glue.h>
29 * struct sti_dwc3_glue_plat - dwc3 STi glue driver private structure
116 pr_err("unable to find st,stih407-dwc3 reg property(%d)\n", ret);
159 /* Find snps,dwc3 node from subnode */
161 if (ofnode_device_is_compatible(node, "snps,dwc3"))
166 pr_err("Can't find dwc3 subnode for %s\n", dev->name);
240 { .compatible = "st,stih407-dwc3" },
/u-boot/include/linux/usb/
H A Ddwc3.h2 /* include/linux/usb/dwc3.h
56 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);
H A Dxhci-fsl.h53 struct dwc3 *dwc3_reg;
H A Dxhci-omap.h137 struct dwc3 *dwc3_reg;
142 void omap_reset_usb_phy(struct dwc3 *dwc3_reg);
/u-boot/board/freescale/imx93_evk/
H A Dimx93_evk.c20 #include <dwc3-uboot.h>
/u-boot/board/samsung/common/
H A Dexynos5-dt.c8 #include <dwc3-uboot.h>
H A Dboard.c33 #include <dwc3-uboot.h>

Completed in 209 milliseconds

12