Searched refs:lpagb (Results 1 – 4 of 4) sorted by relevance
167 int lpagb = 0; in lxt973a2_read_status() local199 if (lpagb & (LPA_1000FULL | LPA_1000HALF)) { in lxt973a2_read_status()202 if (lpagb & LPA_1000FULL) in lxt973a2_read_status()
54 u16 lpagb = 0; in fixed_phy_update_regs() local99 lpagb |= LPA_1000FULL; in fixed_phy_update_regs()116 lpagb |= LPA_1000HALF; in fixed_phy_update_regs()144 fp->regs[MII_STAT1000] = lpagb; in fixed_phy_update_regs()
1031 int lpagb = 0; in genphy_read_status() local1045 lpagb = phy_read(phydev, MII_STAT1000); in genphy_read_status()1046 if (lpagb < 0) in genphy_read_status()1047 return lpagb; in genphy_read_status()1054 mii_stat1000_to_ethtool_lpa_t(lpagb); in genphy_read_status()1055 common_adv_gb = lpagb & adv << 2; in genphy_read_status()
788 int lpagb; in marvell_read_status() local806 lpagb = phy_read(phydev, MII_STAT1000); in marvell_read_status()807 if (lpagb < 0) in marvell_read_status()808 return lpagb; in marvell_read_status()814 phydev->lp_advertising = mii_stat1000_to_ethtool_lpa_t(lpagb) | in marvell_read_status()