Lines Matching defs:rmtadv
1950 static u8 tg3_resolve_flowctrl_1000X(u16 lcladv, u16 rmtadv)
1954 if (lcladv & rmtadv & ADVERTISE_1000XPAUSE) {
1956 } else if (lcladv & rmtadv & ADVERTISE_1000XPSE_ASYM) {
1959 if (rmtadv & ADVERTISE_1000XPAUSE)
1966 static void tg3_setup_flow_control(struct tg3 *tp, u32 lcladv, u32 rmtadv)
1980 flowctrl = tg3_resolve_flowctrl_1000X(lcladv, rmtadv);
1982 flowctrl = mii_resolve_flowctrl_fdx(lcladv, rmtadv);
4691 static bool tg3_phy_copper_fetch_rmtadv(struct tg3 *tp, u32 *rmtadv)
4704 if (tg3_readphy(tp, MII_LPA, rmtadv))
4707 lpeth |= mii_lpa_to_ethtool_lpa_t(*rmtadv);