Home
last modified time | relevance | path

Searched refs:usbcfg (Results 1 – 2 of 2) sorted by relevance

/linux-4.1.27/drivers/usb/dwc2/
Dcore.c180 u32 usbcfg, i2cctl; in dwc2_fs_phy_init() local
189 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() local
239 usbcfg = readl(hsotg->regs + GUSBCFG); in dwc2_hs_phy_init()
250 usbcfg |= GUSBCFG_ULPI_UTMI_SEL; in dwc2_hs_phy_init()
[all …]
Dhcd_intr.c241 u32 usbcfg; in dwc2_hprt0_enable() local
263 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()