Searched refs:stacr (Results 1 – 2 of 2) sorted by relevance
66 u32 stacr; /* Special */ member
789 static inline int emac_phy_done(struct emac_instance *dev, u32 stacr) in emac_phy_done() argument791 int done = !!(stacr & EMAC_STACR_OC); in emac_phy_done()817 while (!emac_phy_done(dev, in_be32(&p->stacr))) { in __emac_mdio_read()838 out_be32(&p->stacr, r); in __emac_mdio_read()842 while (!emac_phy_done(dev, (r = in_be32(&p->stacr)))) { in __emac_mdio_read()889 while (!emac_phy_done(dev, in_be32(&p->stacr))) { in __emac_mdio_write()911 out_be32(&p->stacr, r); in __emac_mdio_write()915 while (!emac_phy_done(dev, in_be32(&p->stacr))) { in __emac_mdio_write()