Lines Matching refs:local_adv
559 static void tg3_setup_flow_control(struct tg3 *tp, uint32_t local_adv, uint32_t remote_adv) in tg3_setup_flow_control() argument
563 if (local_adv & ADVERTISE_PAUSE_CAP) { in tg3_setup_flow_control()
564 if (local_adv & ADVERTISE_PAUSE_ASYM) { in tg3_setup_flow_control()
578 } else if (local_adv & ADVERTISE_PAUSE_ASYM) { in tg3_setup_flow_control()
813 uint32_t local_adv, remote_adv; in tg3_setup_copper_phy() local
815 tg3_readphy(tp, MII_ADVERTISE, &local_adv); in tg3_setup_copper_phy()
816 local_adv &= (ADVERTISE_PAUSE_CAP | ADVERTISE_PAUSE_ASYM); in tg3_setup_copper_phy()
824 if (local_adv != ADVERTISE_PAUSE_CAP) { in tg3_setup_copper_phy()
827 tg3_setup_flow_control(tp, local_adv, remote_adv); in tg3_setup_copper_phy()
1313 uint32_t local_adv, remote_adv; in tg3_setup_fiber_phy() local
1315 local_adv = ADVERTISE_PAUSE_CAP; in tg3_setup_fiber_phy()
1322 tg3_setup_flow_control(tp, local_adv, remote_adv); in tg3_setup_fiber_phy()