Searched refs:remote_adv (Results 1 – 2 of 2) sorted by relevance
/external/syslinux/gpxe/src/drivers/net/ |
D | bnx2.c | 386 u32 local_adv, remote_adv; in bnx2_resolve_flow_ctrl() local 415 bnx2_read_phy(bp, MII_LPA, &remote_adv); in bnx2_resolve_flow_ctrl() 425 if (remote_adv & ADVERTISE_1000XPAUSE) in bnx2_resolve_flow_ctrl() 427 if (remote_adv & ADVERTISE_1000XPSE_ASYM) in bnx2_resolve_flow_ctrl() 431 remote_adv = new_remote_adv; in bnx2_resolve_flow_ctrl() 437 if (remote_adv & ADVERTISE_PAUSE_CAP) { in bnx2_resolve_flow_ctrl() 440 else if (remote_adv & ADVERTISE_PAUSE_ASYM) { in bnx2_resolve_flow_ctrl() 445 if (remote_adv & ADVERTISE_PAUSE_CAP) { in bnx2_resolve_flow_ctrl() 451 if ((remote_adv & ADVERTISE_PAUSE_CAP) && in bnx2_resolve_flow_ctrl() 452 (remote_adv & ADVERTISE_PAUSE_ASYM)) { in bnx2_resolve_flow_ctrl() [all …]
|
D | tg3.c | 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() [all …]
|