Lines Matching refs:devconf2
28 u32 devconf2; in phy_on() local
31 devconf2 = readl(&am35x_scm_general_regs->devconf2); in phy_on()
33 devconf2 &= ~(DEVCONF2_RESET | DEVCONF2_PHYPWRDN | DEVCONF2_OTGPWRDN | in phy_on()
36 devconf2 |= DEVCONF2_SESENDEN | DEVCONF2_VBDTCTEN | DEVCONF2_PHY_PLLON | in phy_on()
39 writel(devconf2, &am35x_scm_general_regs->devconf2); in phy_on()
44 if (readl(&am35x_scm_general_regs->devconf2) & DEVCONF2_PHYCKGD) in phy_on()
56 u32 devconf2; in phy_off() local
61 devconf2 = readl(&am35x_scm_general_regs->devconf2); in phy_off()
63 devconf2 &= ~DEVCONF2_PHY_PLLON; in phy_off()
64 devconf2 |= DEVCONF2_PHYPWRDN | DEVCONF2_OTGPWRDN; in phy_off()
65 writel(devconf2, &am35x_scm_general_regs->devconf2); in phy_off()