Lines Matching refs:devconf2
29 u32 devconf2; in phy_on() local
32 devconf2 = readl(&am35x_scm_general_regs->devconf2); in phy_on()
34 devconf2 &= ~(DEVCONF2_RESET | DEVCONF2_PHYPWRDN | DEVCONF2_OTGPWRDN | in phy_on()
37 devconf2 |= DEVCONF2_SESENDEN | DEVCONF2_VBDTCTEN | DEVCONF2_PHY_PLLON | in phy_on()
40 writel(devconf2, &am35x_scm_general_regs->devconf2); in phy_on()
45 if (readl(&am35x_scm_general_regs->devconf2) & DEVCONF2_PHYCKGD) in phy_on()
57 u32 devconf2; in phy_off() local
62 devconf2 = readl(&am35x_scm_general_regs->devconf2); in phy_off()
64 devconf2 &= ~DEVCONF2_PHY_PLLON; in phy_off()
65 devconf2 |= DEVCONF2_PHYPWRDN | DEVCONF2_OTGPWRDN; in phy_off()
66 writel(devconf2, &am35x_scm_general_regs->devconf2); in phy_off()