Searched refs:usbcfg (Results 1 – 2 of 2) sorted by relevance
547 u32 usbcfg, i2cctl; in dwc2_fs_phy_init() local556 usbcfg = dwc2_readl(hsotg->regs + GUSBCFG); in dwc2_fs_phy_init()557 usbcfg |= GUSBCFG_PHYSEL; in dwc2_fs_phy_init()558 dwc2_writel(usbcfg, hsotg->regs + GUSBCFG); in dwc2_fs_phy_init()581 usbcfg = dwc2_readl(hsotg->regs + GUSBCFG); in dwc2_fs_phy_init()582 usbcfg |= GUSBCFG_OTG_UTMI_FS_SEL; in dwc2_fs_phy_init()583 dwc2_writel(usbcfg, hsotg->regs + GUSBCFG); in dwc2_fs_phy_init()600 u32 usbcfg; in dwc2_hs_phy_init() local606 usbcfg = dwc2_readl(hsotg->regs + GUSBCFG); in dwc2_hs_phy_init()617 usbcfg |= GUSBCFG_ULPI_UTMI_SEL; in dwc2_hs_phy_init()[all …]
241 u32 usbcfg; in dwc2_hprt0_enable() local263 usbcfg = dwc2_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 dwc2_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 dwc2_writel(usbcfg, hsotg->regs + GUSBCFG); in dwc2_hprt0_enable()