Lines Matching full:adv
134 unsigned int bmcr, status, lpa, adv; in vsc8211_get_link_status() local
180 err = mdio_read(cphy, 0, MII_ADVERTISE, &adv); in vsc8211_get_link_status()
184 if (lpa & adv & ADVERTISE_PAUSE_CAP) in vsc8211_get_link_status()
188 (adv & ADVERTISE_PAUSE_ASYM)) in vsc8211_get_link_status()
191 (adv & ADVERTISE_PAUSE_CAP)) in vsc8211_get_link_status()
207 unsigned int bmcr, status, lpa, adv; in vsc8211_get_link_status_fiber() local
239 err = mdio_read(cphy, 0, MII_ADVERTISE, &adv); in vsc8211_get_link_status_fiber()
243 if (adv & lpa & ADVERTISE_1000XFULL) { in vsc8211_get_link_status_fiber()
246 } else if (adv & lpa & ADVERTISE_1000XHALF) { in vsc8211_get_link_status_fiber()
252 if (lpa & adv & ADVERTISE_1000XPAUSE) in vsc8211_get_link_status_fiber()
255 (adv & lpa & ADVERTISE_1000XPSE_ASYM)) in vsc8211_get_link_status_fiber()
258 (adv & ADVERTISE_1000XPAUSE)) in vsc8211_get_link_status_fiber()