Lines Matching refs:status
140 u16 status, adv; in ftgmac100_phy_reset() local
152 ftgmac100_phy_read(dev, priv->phy_addr, MII_BMSR, &status); in ftgmac100_phy_reset()
154 if (status & BMSR_ANEGCOMPLETE) in ftgmac100_phy_reset()
159 if (status & BMSR_ANEGCOMPLETE) { in ftgmac100_phy_reset()
163 dev->name, status); in ftgmac100_phy_reset()
175 u16 phy_id, status, adv, lpa, stat_ge; in ftgmac100_phy_init() local
201 ftgmac100_phy_read(dev, priv->phy_addr, MII_BMSR, &status); in ftgmac100_phy_init()
203 if (!(status & BMSR_LSTATUS)) { in ftgmac100_phy_init()
209 MII_BMSR, &status); in ftgmac100_phy_init()
210 if (status & BMSR_LSTATUS) in ftgmac100_phy_init()
216 if (!(status & BMSR_LSTATUS)) { in ftgmac100_phy_init()