Lines Matching refs:remote_adv
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()
491 u32 bmcr, local_adv, remote_adv, common; in bnx2_5706s_linkup() local
509 bnx2_read_phy(bp, MII_LPA, &remote_adv); in bnx2_5706s_linkup()
511 common = local_adv & remote_adv; in bnx2_5706s_linkup()
532 u32 local_adv, remote_adv, common; in bnx2_copper_linkup() local
535 bnx2_read_phy(bp, MII_STAT1000, &remote_adv); in bnx2_copper_linkup()
537 common = local_adv & (remote_adv >> 2); in bnx2_copper_linkup()
548 bnx2_read_phy(bp, MII_LPA, &remote_adv); in bnx2_copper_linkup()
550 common = local_adv & remote_adv; in bnx2_copper_linkup()