Searched refs:dwc3_reg (Results 1 – 9 of 9) sorted by relevance
| /OK3568_Linux_fs/u-boot/drivers/usb/host/ |
| H A D | xhci-dwc3.c | 29 void dwc3_set_mode(struct dwc3 *dwc3_reg, u32 mode) in dwc3_set_mode() argument 31 clrsetbits_le32(&dwc3_reg->g_ctl, in dwc3_set_mode() 36 static void dwc3_phy_reset(struct dwc3 *dwc3_reg) in dwc3_phy_reset() argument 39 setbits_le32(&dwc3_reg->g_usb3pipectl[0], DWC3_GUSB3PIPECTL_PHYSOFTRST); in dwc3_phy_reset() 42 setbits_le32(&dwc3_reg->g_usb2phycfg, DWC3_GUSB2PHYCFG_PHYSOFTRST); in dwc3_phy_reset() 47 clrbits_le32(&dwc3_reg->g_usb3pipectl[0], DWC3_GUSB3PIPECTL_PHYSOFTRST); in dwc3_phy_reset() 50 clrbits_le32(&dwc3_reg->g_usb2phycfg, DWC3_GUSB2PHYCFG_PHYSOFTRST); in dwc3_phy_reset() 53 void dwc3_core_soft_reset(struct dwc3 *dwc3_reg) in dwc3_core_soft_reset() argument 56 setbits_le32(&dwc3_reg->g_ctl, DWC3_GCTL_CORESOFTRESET); in dwc3_core_soft_reset() 59 dwc3_phy_reset(dwc3_reg); in dwc3_core_soft_reset() [all …]
|
| H A D | xhci-keystone.c | 38 struct dwc3 *dwc3_reg; member 71 static int keystone_xhci_core_init(struct dwc3 *dwc3_reg) in keystone_xhci_core_init() argument 75 ret = dwc3_core_init(dwc3_reg); in keystone_xhci_core_init() 82 dwc3_set_mode(dwc3_reg, DWC3_GCTL_PRTCAP_HOST); in keystone_xhci_core_init() 129 keystone.dwc3_reg = (struct dwc3 *)(CONFIG_USB_HOST_XHCI_BASE + in xhci_hcd_init() 132 keystone_xhci_core_init(keystone.dwc3_reg); in xhci_hcd_init() 160 struct dwc3 *dwc3_reg = keystone.dwc3_reg; in keystone_xhci_phy_suspend() local 167 writel(val, &dwc3_reg->g_ctl); in keystone_xhci_phy_suspend() 170 val = readl(&dwc3_reg->g_usb2phycfg[0]); in keystone_xhci_phy_suspend() 174 writel(val, &dwc3_reg->g_usb2phycfg[0]); in keystone_xhci_phy_suspend() [all …]
|
| H A 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()
|
| H A D | xhci-zynqmp.c | 64 struct dwc3 *dwc3_reg; member 75 ret = dwc3_core_init(zynqmp_xhci->dwc3_reg); in zynqmp_xhci_core_init() 82 dwc3_set_mode(zynqmp_xhci->dwc3_reg, DWC3_GCTL_PRTCAP_HOST); in zynqmp_xhci_core_init() 105 ctx->dwc3_reg = (struct dwc3 *)((char *)(ctx->hcd) + DWC3_REG_OFFSET); in xhci_usb_probe()
|
| H A D | xhci-omap.c | 37 ret = dwc3_core_init(omap->dwc3_reg); in omap_xhci_core_init() 44 dwc3_set_mode(omap->dwc3_reg, DWC3_GCTL_PRTCAP_HOST); in omap_xhci_core_init() 60 ctx->dwc3_reg = (struct dwc3 *)((char *)(ctx->hcd) + DWC3_REG_OFFSET); in xhci_hcd_init()
|
| H A D | xhci-exynos5.c | 51 struct dwc3 *dwc3_reg; member 188 ret = dwc3_core_init(exynos->dwc3_reg); in exynos_xhci_core_init() 195 dwc3_set_mode(exynos->dwc3_reg, DWC3_GCTL_PRTCAP_HOST); in exynos_xhci_core_init() 214 ctx->dwc3_reg = (struct dwc3 *)((char *)(ctx->hcd) + DWC3_REG_OFFSET); in xhci_usb_probe()
|
| /OK3568_Linux_fs/u-boot/include/linux/usb/ |
| H A D | dwc3.h | 219 void dwc3_set_mode(struct dwc3 *dwc3_reg, u32 mode); 220 void dwc3_core_soft_reset(struct dwc3 *dwc3_reg); 221 int dwc3_core_init(struct dwc3 *dwc3_reg); 222 void dwc3_set_fladj(struct dwc3 *dwc3_reg, u32 val);
|
| H A D | xhci-omap.h | 138 struct dwc3 *dwc3_reg; member 143 void omap_reset_usb_phy(struct dwc3 *dwc3_reg);
|
| H A D | xhci-fsl.h | 54 struct dwc3 *dwc3_reg; member
|