Lines Matching defs:lpa
135 unsigned int bmcr, status, lpa, adv;
179 err = mdio_read(cphy, 0, MII_LPA, &lpa);
185 if (lpa & adv & ADVERTISE_PAUSE_CAP)
187 else if ((lpa & ADVERTISE_PAUSE_CAP) &&
188 (lpa & ADVERTISE_PAUSE_ASYM) &&
191 else if ((lpa & ADVERTISE_PAUSE_ASYM) &&
208 unsigned int bmcr, status, lpa, adv;
238 err = mdio_read(cphy, 0, MII_LPA, &lpa);
244 if (adv & lpa & ADVERTISE_1000XFULL) {
247 } else if (adv & lpa & ADVERTISE_1000XHALF) {
253 if (lpa & adv & ADVERTISE_1000XPAUSE)
255 else if ((lpa & ADVERTISE_1000XPAUSE) &&
256 (adv & lpa & ADVERTISE_1000XPSE_ASYM))
258 else if ((lpa & ADVERTISE_1000XPSE_ASYM) &&