Lines Matching refs:local_adv
386 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()
511 common = local_adv & remote_adv; in bnx2_5706s_linkup()
532 u32 local_adv, remote_adv, common; in bnx2_copper_linkup() local
534 bnx2_read_phy(bp, MII_CTRL1000, &local_adv); in bnx2_copper_linkup()
537 common = local_adv & (remote_adv >> 2); in bnx2_copper_linkup()
547 bnx2_read_phy(bp, MII_ADVERTISE, &local_adv); in bnx2_copper_linkup()
550 common = local_adv & remote_adv; in bnx2_copper_linkup()