Lines Matching refs:rmtadv
1945 static u8 tg3_resolve_flowctrl_1000X(u16 lcladv, u16 rmtadv)
1949 if (lcladv & rmtadv & ADVERTISE_1000XPAUSE) {
1951 } else if (lcladv & rmtadv & ADVERTISE_1000XPSE_ASYM) {
1954 if (rmtadv & ADVERTISE_1000XPAUSE)
1961 static void tg3_setup_flow_control(struct tg3 *tp, u32 lcladv, u32 rmtadv)
1975 flowctrl = tg3_resolve_flowctrl_1000X(lcladv, rmtadv);
1977 flowctrl = mii_resolve_flowctrl_fdx(lcladv, rmtadv);
4676 static bool tg3_phy_copper_fetch_rmtadv(struct tg3 *tp, u32 *rmtadv)
4689 if (tg3_readphy(tp, MII_LPA, rmtadv))
4692 lpeth |= mii_lpa_to_ethtool_lpa_t(*rmtadv);