Lines Matching defs:stacr
737 static inline int emac_phy_done(struct emac_instance *dev, u32 stacr)
739 int done = !!(stacr & EMAC_STACR_OC);
765 while (!emac_phy_done(dev, in_be32(&p->stacr))) {
786 out_be32(&p->stacr, r);
790 while (!emac_phy_done(dev, (r = in_be32(&p->stacr)))) {
837 while (!emac_phy_done(dev, in_be32(&p->stacr))) {
859 out_be32(&p->stacr, r);
863 while (!emac_phy_done(dev, in_be32(&p->stacr))) {
2570 if (of_get_property(np, "has-inverted-stacr-oc", NULL))
2572 if (of_get_property(np, "has-new-stacr-staopc", NULL))