Searched refs:devconf2 (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/arch/arm/mach-omap2/
H A Domap_phy_internal.c89 u32 devconf2; am35x_musb_phy_power() local
95 devconf2 = omap_ctrl_readl(AM35XX_CONTROL_DEVCONF2); am35x_musb_phy_power()
97 devconf2 &= ~(CONF2_RESET | CONF2_PHYPWRDN | CONF2_OTGPWRDN); am35x_musb_phy_power()
98 devconf2 |= CONF2_PHY_PLLON; am35x_musb_phy_power()
100 omap_ctrl_writel(devconf2, AM35XX_CONTROL_DEVCONF2); am35x_musb_phy_power()
116 devconf2 = omap_ctrl_readl(AM35XX_CONTROL_DEVCONF2); am35x_musb_phy_power()
118 devconf2 &= ~CONF2_PHY_PLLON; am35x_musb_phy_power()
119 devconf2 |= CONF2_PHYPWRDN | CONF2_OTGPWRDN; am35x_musb_phy_power()
120 omap_ctrl_writel(devconf2, AM35XX_CONTROL_DEVCONF2); am35x_musb_phy_power()
136 u32 devconf2 = omap_ctrl_readl(AM35XX_CONTROL_DEVCONF2); am35x_set_mode() local
138 devconf2 &= ~CONF2_OTGMODE; am35x_set_mode()
141 devconf2 |= CONF2_FORCE_HOST; am35x_set_mode()
144 devconf2 |= CONF2_FORCE_DEVICE; am35x_set_mode()
147 devconf2 |= CONF2_NO_OVERRIDE; am35x_set_mode()
153 omap_ctrl_writel(devconf2, AM35XX_CONTROL_DEVCONF2); am35x_set_mode()

Completed in 76 milliseconds