Searched refs:usbcfg (Results 1 – 2 of 2) sorted by relevance
180 u32 usbcfg, i2cctl; in dwc2_fs_phy_init() local189 usbcfg = readl(hsotg->regs + GUSBCFG); in dwc2_fs_phy_init()190 usbcfg |= GUSBCFG_PHYSEL; in dwc2_fs_phy_init()191 writel(usbcfg, hsotg->regs + GUSBCFG); in dwc2_fs_phy_init()214 usbcfg = readl(hsotg->regs + GUSBCFG); in dwc2_fs_phy_init()215 usbcfg |= GUSBCFG_OTG_UTMI_FS_SEL; in dwc2_fs_phy_init()216 writel(usbcfg, hsotg->regs + GUSBCFG); in dwc2_fs_phy_init()233 u32 usbcfg; in dwc2_hs_phy_init() local239 usbcfg = readl(hsotg->regs + GUSBCFG); in dwc2_hs_phy_init()250 usbcfg |= GUSBCFG_ULPI_UTMI_SEL; in dwc2_hs_phy_init()[all …]
241 u32 usbcfg; in dwc2_hprt0_enable() local263 usbcfg = readl(hsotg->regs + GUSBCFG); in dwc2_hprt0_enable()268 if (!(usbcfg & GUSBCFG_PHY_LP_CLK_SEL)) { in dwc2_hprt0_enable()270 usbcfg |= GUSBCFG_PHY_LP_CLK_SEL; in dwc2_hprt0_enable()271 writel(usbcfg, hsotg->regs + GUSBCFG); in dwc2_hprt0_enable()306 if (usbcfg & GUSBCFG_PHY_LP_CLK_SEL) { in dwc2_hprt0_enable()307 usbcfg &= ~GUSBCFG_PHY_LP_CLK_SEL; in dwc2_hprt0_enable()308 writel(usbcfg, hsotg->regs + GUSBCFG); in dwc2_hprt0_enable()