Lines Matching +full:0 +full:x00020001

22 	u32 revision;	/* 0x000 */
24 u32 sysconfig; /* 0x010 */
84 return 0; in keystone_xhci_core_init()
150 return 0; in xhci_hcd_init()
155 int loop_cnt = 0; in keystone_xhci_phy_suspend()
166 val = DWC3_GCTL_PWRDNSCALE(0x4b0) | DWC3_GCTL_PRTCAPDIR(0x2); 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()
177 val = readl(&dwc3_reg->g_usb3pipectl[0]); in keystone_xhci_phy_suspend()
184 writel(val, &dwc3_reg->g_usb3pipectl[0]); in keystone_xhci_phy_suspend()
189 * - Init DCFG[2:0] (DevSpd) to: 1=FS in keystone_xhci_phy_suspend()
191 * - Init GEVNTSIZ0 to 0x0100 to specify the size of the eventQ in keystone_xhci_phy_suspend()
194 writel(0x00020001, &dwc3_reg->d_cfg); in keystone_xhci_phy_suspend()
196 writel((u32)&event_q, &dwc3_reg->g_evnt_buf[0].g_evntadrlo); in keystone_xhci_phy_suspend()
197 writel(0, &dwc3_reg->g_evnt_buf[0].g_evntadrhi); in keystone_xhci_phy_suspend()
198 writel(0x4, &dwc3_reg->g_evnt_buf[0].g_evntsiz); in keystone_xhci_phy_suspend()
205 portsc_1 = (uint32_t *)(&hcor->portregs[0].or_portsc); in keystone_xhci_phy_suspend()
207 usb2_pls = 0; in keystone_xhci_phy_suspend()
208 usb3_pls = 0; in keystone_xhci_phy_suspend()
213 } while (((usb2_pls != 0x4) || (usb3_pls != 0x4)) && loop_cnt < 1000); in keystone_xhci_phy_suspend()
215 if (usb2_pls != 0x4 || usb3_pls != 0x4) { in keystone_xhci_phy_suspend()
222 return 0; in keystone_xhci_phy_suspend()
239 /* memset(&keystone, 0, sizeof(struct keystone_xhci)); */ in xhci_hcd_stop()