Lines Matching refs:remote_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
565 if (remote_adv & LPA_PAUSE_CAP) in tg3_setup_flow_control()
569 else if (remote_adv & LPA_PAUSE_ASYM) in tg3_setup_flow_control()
573 if (remote_adv & LPA_PAUSE_CAP) in tg3_setup_flow_control()
579 if ((remote_adv & LPA_PAUSE_CAP) && in tg3_setup_flow_control()
580 (remote_adv & LPA_PAUSE_ASYM)) in tg3_setup_flow_control()
813 uint32_t local_adv, remote_adv; in tg3_setup_copper_phy() local
818 tg3_readphy(tp, MII_LPA, &remote_adv); in tg3_setup_copper_phy()
819 remote_adv &= (LPA_PAUSE_CAP | LPA_PAUSE_ASYM); 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
1316 remote_adv = 0; in tg3_setup_fiber_phy()
1318 remote_adv |= LPA_PAUSE_CAP; in tg3_setup_fiber_phy()
1320 remote_adv |= LPA_PAUSE_ASYM; in tg3_setup_fiber_phy()
1322 tg3_setup_flow_control(tp, local_adv, remote_adv); in tg3_setup_fiber_phy()