Lines Matching refs:local_adv
540 static void tg3_setup_flow_control(struct tg3 *tp, uint32_t local_adv, uint32_t remote_adv)
544 if (local_adv & ADVERTISE_PAUSE_CAP) {
545 if (local_adv & ADVERTISE_PAUSE_ASYM) {
559 } else if (local_adv & ADVERTISE_PAUSE_ASYM) {
793 uint32_t local_adv, remote_adv;
795 tg3_readphy(tp, MII_ADVERTISE, &local_adv);
796 local_adv &= (ADVERTISE_PAUSE_CAP | ADVERTISE_PAUSE_ASYM);
804 if (local_adv != ADVERTISE_PAUSE_CAP) {
807 tg3_setup_flow_control(tp, local_adv, remote_adv);
1293 uint32_t local_adv, remote_adv;
1295 local_adv = ADVERTISE_PAUSE_CAP;
1302 tg3_setup_flow_control(tp, local_adv, remote_adv);