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