Searched refs:stacr (Results 1 – 2 of 2) sorted by relevance
66 u32 stacr; /* Special */ member
790 static inline int emac_phy_done(struct emac_instance *dev, u32 stacr) in emac_phy_done() argument792 int done = !!(stacr & EMAC_STACR_OC); in emac_phy_done()818 while (!emac_phy_done(dev, in_be32(&p->stacr))) { in __emac_mdio_read()839 out_be32(&p->stacr, r); in __emac_mdio_read()843 while (!emac_phy_done(dev, (r = in_be32(&p->stacr)))) { in __emac_mdio_read()890 while (!emac_phy_done(dev, in_be32(&p->stacr))) { in __emac_mdio_write()912 out_be32(&p->stacr, r); in __emac_mdio_write()916 while (!emac_phy_done(dev, in_be32(&p->stacr))) { in __emac_mdio_write()