Home
last modified time | relevance | path

Searched refs:stacr (Results 1 – 2 of 2) sorted by relevance

/drivers/net/ethernet/ibm/emac/
Demac.h66 u32 stacr; /* Special */ member
Dcore.c789 static inline int emac_phy_done(struct emac_instance *dev, u32 stacr) in emac_phy_done() argument
791 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()