Lines Matching refs:rmtadv
1944 static u8 tg3_resolve_flowctrl_1000X(u16 lcladv, u16 rmtadv)
1948 if (lcladv & rmtadv & ADVERTISE_1000XPAUSE) {
1950 } else if (lcladv & rmtadv & ADVERTISE_1000XPSE_ASYM) {
1953 if (rmtadv & ADVERTISE_1000XPAUSE)
1960 static void tg3_setup_flow_control(struct tg3 *tp, u32 lcladv, u32 rmtadv)
1974 flowctrl = tg3_resolve_flowctrl_1000X(lcladv, rmtadv);
1976 flowctrl = mii_resolve_flowctrl_fdx(lcladv, rmtadv);
4675 static bool tg3_phy_copper_fetch_rmtadv(struct tg3 *tp, u32 *rmtadv)
4688 if (tg3_readphy(tp, MII_LPA, rmtadv))
4691 lpeth |= mii_lpa_to_ethtool_lpa_t(*rmtadv);