Home
last modified time | relevance | path

Searched refs:local_adv (Results 1 – 2 of 2) sorted by relevance

/external/syslinux/gpxe/src/drivers/net/
Dbnx2.c386 u32 local_adv, remote_adv; in bnx2_resolve_flow_ctrl() local
414 bnx2_read_phy(bp, MII_ADVERTISE, &local_adv); in bnx2_resolve_flow_ctrl()
421 if (local_adv & ADVERTISE_1000XPAUSE) in bnx2_resolve_flow_ctrl()
423 if (local_adv & ADVERTISE_1000XPSE_ASYM) in bnx2_resolve_flow_ctrl()
430 local_adv = new_local_adv; in bnx2_resolve_flow_ctrl()
435 if (local_adv & ADVERTISE_PAUSE_CAP) { in bnx2_resolve_flow_ctrl()
436 if(local_adv & ADVERTISE_PAUSE_ASYM) { in bnx2_resolve_flow_ctrl()
450 else if (local_adv & ADVERTISE_PAUSE_ASYM) { in bnx2_resolve_flow_ctrl()
491 u32 bmcr, local_adv, remote_adv, common; in bnx2_5706s_linkup() local
508 bnx2_read_phy(bp, MII_ADVERTISE, &local_adv); in bnx2_5706s_linkup()
[all …]
Dtg3.c559 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
[all …]