Lines Matching defs:lcladv
1332 static u8 tg3_resolve_flowctrl_1000X(u16 lcladv, u16 rmtadv)
1336 if (lcladv & ADVERTISE_1000XPAUSE) {
1337 if (lcladv & ADVERTISE_1000XPSE_ASYM) {
1346 } else if (lcladv & ADVERTISE_1000XPSE_ASYM) {
1354 static void tg3_setup_flow_control(struct tg3 *tp, u32 lcladv, u32 rmtadv)
1369 flowctrl = tg3_resolve_flowctrl_1000X(lcladv, rmtadv);
1371 flowctrl = mii_resolve_flowctrl_fdx(lcladv, rmtadv);
3014 static int tg3_adv_1000T_flowctrl_ok(struct tg3 *tp, u32 *lcladv, u32 *rmtadv)
3018 if (tg3_readphy(tp, MII_ADVERTISE, lcladv))
3021 curadv = *lcladv & (ADVERTISE_PAUSE_CAP | ADVERTISE_PAUSE_ASYM);
3038 *lcladv &= ~(ADVERTISE_PAUSE_CAP |
3040 tg3_writephy(tp, MII_ADVERTISE, *lcladv | reqadv);