Searched refs:dwc3_reg (Results 1 – 10 of 10) sorted by relevance
/external/u-boot/drivers/usb/host/ |
D | xhci-dwc3.c | 26 void dwc3_set_mode(struct dwc3 *dwc3_reg, u32 mode) in dwc3_set_mode() argument 28 clrsetbits_le32(&dwc3_reg->g_ctl, in dwc3_set_mode() 33 static void dwc3_phy_reset(struct dwc3 *dwc3_reg) in dwc3_phy_reset() argument 36 setbits_le32(&dwc3_reg->g_usb3pipectl[0], DWC3_GUSB3PIPECTL_PHYSOFTRST); in dwc3_phy_reset() 39 setbits_le32(&dwc3_reg->g_usb2phycfg, DWC3_GUSB2PHYCFG_PHYSOFTRST); in dwc3_phy_reset() 44 clrbits_le32(&dwc3_reg->g_usb3pipectl[0], DWC3_GUSB3PIPECTL_PHYSOFTRST); in dwc3_phy_reset() 47 clrbits_le32(&dwc3_reg->g_usb2phycfg, DWC3_GUSB2PHYCFG_PHYSOFTRST); in dwc3_phy_reset() 50 void dwc3_core_soft_reset(struct dwc3 *dwc3_reg) in dwc3_core_soft_reset() argument 53 setbits_le32(&dwc3_reg->g_ctl, DWC3_GCTL_CORESOFTRESET); in dwc3_core_soft_reset() 56 dwc3_phy_reset(dwc3_reg); in dwc3_core_soft_reset() [all …]
|
D | xhci-keystone.c | 37 struct dwc3 *dwc3_reg; member 70 static int keystone_xhci_core_init(struct dwc3 *dwc3_reg) in keystone_xhci_core_init() argument 74 ret = dwc3_core_init(dwc3_reg); in keystone_xhci_core_init() 81 dwc3_set_mode(dwc3_reg, DWC3_GCTL_PRTCAP_HOST); in keystone_xhci_core_init() 128 keystone.dwc3_reg = (struct dwc3 *)(CONFIG_USB_HOST_XHCI_BASE + in xhci_hcd_init() 131 keystone_xhci_core_init(keystone.dwc3_reg); in xhci_hcd_init() 159 struct dwc3 *dwc3_reg = keystone.dwc3_reg; in keystone_xhci_phy_suspend() local 166 writel(val, &dwc3_reg->g_ctl); in keystone_xhci_phy_suspend() 169 val = readl(&dwc3_reg->g_usb2phycfg[0]); in keystone_xhci_phy_suspend() 173 writel(val, &dwc3_reg->g_usb2phycfg[0]); in keystone_xhci_phy_suspend() [all …]
|
D | xhci-fsl.c | 59 static void fsl_xhci_set_beat_burst_length(struct dwc3 *dwc3_reg) in fsl_xhci_set_beat_burst_length() argument 61 clrsetbits_le32(&dwc3_reg->g_sbuscfg0, USB3_ENABLE_BEAT_BURST_MASK, in fsl_xhci_set_beat_burst_length() 63 setbits_le32(&dwc3_reg->g_sbuscfg1, USB3_SET_BEAT_BURST_LIMIT); in fsl_xhci_set_beat_burst_length() 70 ret = dwc3_core_init(fsl_xhci->dwc3_reg); in fsl_xhci_core_init() 77 dwc3_set_mode(fsl_xhci->dwc3_reg, DWC3_GCTL_PRTCAP_HOST); in fsl_xhci_core_init() 80 dwc3_set_fladj(fsl_xhci->dwc3_reg, GFLADJ_30MHZ_DEFAULT); in fsl_xhci_core_init() 83 fsl_xhci_set_beat_burst_length(fsl_xhci->dwc3_reg); in fsl_xhci_core_init() 94 clrsetbits_le32(&fsl_xhci->dwc3_reg->g_usb3pipectl[0], in fsl_xhci_core_init() 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()
|
D | xhci-rockchip.c | 31 struct dwc3 *dwc3_reg; member 62 static void rockchip_dwc3_phy_setup(struct dwc3 *dwc3_reg, in rockchip_dwc3_phy_setup() argument 69 reg = readl(&dwc3_reg->g_usb2phycfg[0]); in rockchip_dwc3_phy_setup() 91 writel(reg, &dwc3_reg->g_usb2phycfg[0]); in rockchip_dwc3_phy_setup() 99 ret = dwc3_core_init(rkxhci->dwc3_reg); in rockchip_xhci_core_init() 105 rockchip_dwc3_phy_setup(rkxhci->dwc3_reg, dev); in rockchip_xhci_core_init() 108 dwc3_set_mode(rkxhci->dwc3_reg, DWC3_GCTL_PRTCAP_HOST); in rockchip_xhci_core_init() 126 ctx->dwc3_reg = (struct dwc3 *)((char *)(ctx->hcd) + DWC3_REG_OFFSET); in xhci_usb_probe()
|
D | xhci-zynqmp.c | 61 struct dwc3 *dwc3_reg; member 72 ret = dwc3_core_init(zynqmp_xhci->dwc3_reg); in zynqmp_xhci_core_init() 79 dwc3_set_mode(zynqmp_xhci->dwc3_reg, DWC3_GCTL_PRTCAP_HOST); in zynqmp_xhci_core_init() 102 ctx->dwc3_reg = (struct dwc3 *)((char *)(ctx->hcd) + DWC3_REG_OFFSET); in xhci_usb_probe()
|
D | xhci-omap.c | 34 ret = dwc3_core_init(omap->dwc3_reg); in omap_xhci_core_init() 41 dwc3_set_mode(omap->dwc3_reg, DWC3_GCTL_PRTCAP_HOST); in omap_xhci_core_init() 57 ctx->dwc3_reg = (struct dwc3 *)((char *)(ctx->hcd) + DWC3_REG_OFFSET); in xhci_hcd_init()
|
D | xhci-exynos5.c | 50 struct dwc3 *dwc3_reg; member 187 ret = dwc3_core_init(exynos->dwc3_reg); in exynos_xhci_core_init() 194 dwc3_set_mode(exynos->dwc3_reg, DWC3_GCTL_PRTCAP_HOST); in exynos_xhci_core_init() 213 ctx->dwc3_reg = (struct dwc3 *)((char *)(ctx->hcd) + DWC3_REG_OFFSET); in xhci_usb_probe()
|
/external/u-boot/include/linux/usb/ |
D | dwc3.h | 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);
|
D | xhci-omap.h | 137 struct dwc3 *dwc3_reg; member 142 void omap_reset_usb_phy(struct dwc3 *dwc3_reg);
|
D | xhci-fsl.h | 53 struct dwc3 *dwc3_reg; member
|