Lines Matching refs:remote_adv
540 static void tg3_setup_flow_control(struct tg3 *tp, uint32_t local_adv, uint32_t remote_adv)
546 if (remote_adv & LPA_PAUSE_CAP)
550 else if (remote_adv & LPA_PAUSE_ASYM)
554 if (remote_adv & LPA_PAUSE_CAP)
560 if ((remote_adv & LPA_PAUSE_CAP) &&
561 (remote_adv & LPA_PAUSE_ASYM))
793 uint32_t local_adv, remote_adv;
798 tg3_readphy(tp, MII_LPA, &remote_adv);
799 remote_adv &= (LPA_PAUSE_CAP | LPA_PAUSE_ASYM);
807 tg3_setup_flow_control(tp, local_adv, remote_adv);
1293 uint32_t local_adv, remote_adv;
1296 remote_adv = 0;
1298 remote_adv |= LPA_PAUSE_CAP;
1300 remote_adv |= LPA_PAUSE_ASYM;
1302 tg3_setup_flow_control(tp, local_adv, remote_adv);