Lines Matching refs:lpa
2326 int lpa, lpagb; in genphy_read_lpa() local
2358 lpa = phy_read(phydev, MII_LPA); in genphy_read_lpa()
2359 if (lpa < 0) in genphy_read_lpa()
2360 return lpa; in genphy_read_lpa()
2362 mii_lpa_mod_linkmode_lpa_t(phydev->lp_advertising, lpa); in genphy_read_lpa()
2462 int lpa, err, old_link = phydev->link; in genphy_c37_read_status() local
2478 lpa = phy_read(phydev, MII_LPA); in genphy_c37_read_status()
2479 if (lpa < 0) in genphy_c37_read_status()
2480 return lpa; in genphy_c37_read_status()
2483 phydev->lp_advertising, lpa & LPA_LPACK); in genphy_c37_read_status()
2485 phydev->lp_advertising, lpa & LPA_1000XFULL); in genphy_c37_read_status()
2487 phydev->lp_advertising, lpa & LPA_1000XPAUSE); in genphy_c37_read_status()
2490 lpa & LPA_1000XPAUSE_ASYM); in genphy_c37_read_status()