Lines Matching refs:m2
3354 u32 m2, m3; in mv6_phy_errata() local
3357 m2 = readl(port_mmio + PHY_MODE2); in mv6_phy_errata()
3358 m2 &= ~(1 << 16); in mv6_phy_errata()
3359 m2 |= (1 << 31); in mv6_phy_errata()
3360 writel(m2, port_mmio + PHY_MODE2); in mv6_phy_errata()
3364 m2 = readl(port_mmio + PHY_MODE2); in mv6_phy_errata()
3365 m2 &= ~((1 << 16) | (1 << 31)); in mv6_phy_errata()
3366 writel(m2, port_mmio + PHY_MODE2); in mv6_phy_errata()
3404 m2 = readl(port_mmio + PHY_MODE2); in mv6_phy_errata()
3406 m2 &= ~MV_M2_PREAMP_MASK; in mv6_phy_errata()
3407 m2 |= hpriv->signal[port].amps; in mv6_phy_errata()
3408 m2 |= hpriv->signal[port].pre; in mv6_phy_errata()
3409 m2 &= ~(1 << 16); in mv6_phy_errata()
3413 m2 &= ~0xC30FF01F; in mv6_phy_errata()
3414 m2 |= 0x0000900F; in mv6_phy_errata()
3417 writel(m2, port_mmio + PHY_MODE2); in mv6_phy_errata()