Home
last modified time | relevance | path

Searched refs:remote_adv (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/broadcom/
Dbnx2.c1039 u32 local_adv, remote_adv; in bnx2_resolve_flow_ctrl() local
1068 bnx2_read_phy(bp, bp->mii_lpa, &remote_adv); in bnx2_resolve_flow_ctrl()
1078 if (remote_adv & ADVERTISE_1000XPAUSE) in bnx2_resolve_flow_ctrl()
1080 if (remote_adv & ADVERTISE_1000XPSE_ASYM) in bnx2_resolve_flow_ctrl()
1084 remote_adv = new_remote_adv; in bnx2_resolve_flow_ctrl()
1090 if (remote_adv & ADVERTISE_PAUSE_CAP) { in bnx2_resolve_flow_ctrl()
1093 else if (remote_adv & ADVERTISE_PAUSE_ASYM) { in bnx2_resolve_flow_ctrl()
1098 if (remote_adv & ADVERTISE_PAUSE_CAP) { in bnx2_resolve_flow_ctrl()
1104 if ((remote_adv & ADVERTISE_PAUSE_CAP) && in bnx2_resolve_flow_ctrl()
1105 (remote_adv & ADVERTISE_PAUSE_ASYM)) { in bnx2_resolve_flow_ctrl()
[all …]
Db44.c573 u32 local_adv, remote_adv; in b44_check_phy() local
583 !b44_readphy(bp, MII_LPA, &remote_adv)) in b44_check_phy()
584 b44_set_flow_ctrl(bp, local_adv, remote_adv); in b44_check_phy()
Dtg3.c5591 u32 local_adv = 0, remote_adv = 0; in tg3_setup_fiber_hw_autoneg() local
5599 remote_adv |= LPA_1000XPAUSE; in tg3_setup_fiber_hw_autoneg()
5601 remote_adv |= LPA_1000XPAUSE_ASYM; in tg3_setup_fiber_hw_autoneg()
5604 mii_adv_to_ethtool_adv_x(remote_adv); in tg3_setup_fiber_hw_autoneg()
5606 tg3_setup_flow_control(tp, local_adv, remote_adv); in tg3_setup_fiber_hw_autoneg()
5665 u32 local_adv = 0, remote_adv = 0; in tg3_setup_fiber_by_hand() local
5673 remote_adv |= LPA_1000XPAUSE; in tg3_setup_fiber_by_hand()
5675 remote_adv |= LPA_1000XPAUSE_ASYM; in tg3_setup_fiber_by_hand()
5678 mii_adv_to_ethtool_adv_x(remote_adv); in tg3_setup_fiber_by_hand()
5680 tg3_setup_flow_control(tp, local_adv, remote_adv); in tg3_setup_fiber_by_hand()
[all …]
/Linux-v4.19/drivers/net/ethernet/microchip/
Dlan743x_main.c938 u16 remote_adv) in lan743x_phy_update_flowcontrol() argument
944 cap = mii_resolve_flowctrl_fdx(local_adv, remote_adv); in lan743x_phy_update_flowcontrol()