Lines Matching refs:bmcr
105 int bmcr; in ip1xx_reset() local
108 bmcr = phy_read(phydev, MII_BMCR); in ip1xx_reset()
109 if (bmcr < 0) in ip1xx_reset()
110 return bmcr; in ip1xx_reset()
111 bmcr |= BMCR_RESET; in ip1xx_reset()
112 bmcr = phy_write(phydev, MII_BMCR, bmcr); in ip1xx_reset()
113 if (bmcr < 0) in ip1xx_reset()
114 return bmcr; in ip1xx_reset()
117 bmcr = phy_read(phydev, MII_BMCR); in ip1xx_reset()
118 if (bmcr < 0) in ip1xx_reset()
119 return bmcr; in ip1xx_reset()
120 } while (bmcr & BMCR_RESET); in ip1xx_reset()