Lines Matching refs:remote_adv
841 u32 local_adv, remote_adv; in bnx2_resolve_flow_ctrl() local
870 bnx2_read_phy(bp, bp->mii_lpa, &remote_adv); in bnx2_resolve_flow_ctrl()
880 if (remote_adv & ADVERTISE_1000XPAUSE) in bnx2_resolve_flow_ctrl()
882 if (remote_adv & ADVERTISE_1000XPSE_ASYM) in bnx2_resolve_flow_ctrl()
886 remote_adv = new_remote_adv; in bnx2_resolve_flow_ctrl()
892 if (remote_adv & ADVERTISE_PAUSE_CAP) { in bnx2_resolve_flow_ctrl()
895 else if (remote_adv & ADVERTISE_PAUSE_ASYM) { in bnx2_resolve_flow_ctrl()
900 if (remote_adv & ADVERTISE_PAUSE_CAP) { in bnx2_resolve_flow_ctrl()
906 if ((remote_adv & ADVERTISE_PAUSE_CAP) && in bnx2_resolve_flow_ctrl()
907 (remote_adv & ADVERTISE_PAUSE_ASYM)) { in bnx2_resolve_flow_ctrl()
985 u32 bmcr, local_adv, remote_adv, common; in bnx2_5706s_linkup() local
1003 bnx2_read_phy(bp, bp->mii_lpa, &remote_adv); in bnx2_5706s_linkup()
1005 common = local_adv & remote_adv; in bnx2_5706s_linkup()
1026 u32 local_adv, remote_adv, common; in bnx2_copper_linkup() local
1029 bnx2_read_phy(bp, MII_STAT1000, &remote_adv); in bnx2_copper_linkup()
1031 common = local_adv & (remote_adv >> 2); in bnx2_copper_linkup()
1042 bnx2_read_phy(bp, bp->mii_lpa, &remote_adv); in bnx2_copper_linkup()
1044 common = local_adv & remote_adv; in bnx2_copper_linkup()