Lines Matching refs:cfgchip2
46 u32 cfgchip2; in phy_on() local
48 cfgchip2 = readl(&davinci_syscfg_regs->cfgchip2); in phy_on()
50 cfgchip2 &= ~(CFGCHIP2_RESET | CFGCHIP2_PHYPWRDN | CFGCHIP2_OTGPWRDN | in phy_on()
52 cfgchip2 |= CFGCHIP2_SESENDEN | CFGCHIP2_VBDTCTEN | CFGCHIP2_PHY_PLLON | in phy_on()
55 writel(cfgchip2, &davinci_syscfg_regs->cfgchip2); in phy_on()
60 if (readl(&davinci_syscfg_regs->cfgchip2) & CFGCHIP2_PHYCLKGD) in phy_on()
72 u32 cfgchip2; in phy_off() local
77 cfgchip2 = readl(&davinci_syscfg_regs->cfgchip2); in phy_off()
78 cfgchip2 &= ~CFGCHIP2_PHY_PLLON; in phy_off()
79 cfgchip2 |= CFGCHIP2_PHYPWRDN | CFGCHIP2_OTGPWRDN; in phy_off()
80 writel(cfgchip2, &davinci_syscfg_regs->cfgchip2); in phy_off()