Searched refs:micr (Results 1 – 3 of 3) sorted by relevance
1144 int micr; in dp83640_config_intr() local1165 micr = phy_read(phydev, MII_DP83640_MICR); in dp83640_config_intr()1166 if (micr < 0) in dp83640_config_intr()1167 return micr; in dp83640_config_intr()1168 micr |= in dp83640_config_intr()1171 return phy_write(phydev, MII_DP83640_MICR, micr); in dp83640_config_intr()1173 micr = phy_read(phydev, MII_DP83640_MICR); in dp83640_config_intr()1174 if (micr < 0) in dp83640_config_intr()1175 return micr; in dp83640_config_intr()1176 micr &= in dp83640_config_intr()[all …]
263 while (readl(®s->micr) & MICR_BUSY) in ioc3_mdio_read()266 ®s->micr); in ioc3_mdio_read()267 while (readl(®s->micr) & MICR_BUSY) in ioc3_mdio_read()278 while (readl(®s->micr) & MICR_BUSY) in ioc3_mdio_write()281 writel((phy << MICR_PHYADDR_SHIFT) | reg, ®s->micr); in ioc3_mdio_write()282 while (readl(®s->micr) & MICR_BUSY) in ioc3_mdio_write()
96 u32 micr; /* 0x00148 */ member