Searched refs:micr (Results 1 – 3 of 3) sorted by relevance
1149 int micr; in dp83640_config_intr() local1166 micr = phy_read(phydev, MII_DP83640_MICR); in dp83640_config_intr()1167 if (micr < 0) in dp83640_config_intr()1168 return micr; in dp83640_config_intr()1169 micr |= in dp83640_config_intr()1172 return phy_write(phydev, MII_DP83640_MICR, micr); in dp83640_config_intr()1174 micr = phy_read(phydev, MII_DP83640_MICR); in dp83640_config_intr()1175 if (micr < 0) in dp83640_config_intr()1176 return micr; in dp83640_config_intr()1177 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