Home
last modified time | relevance | path

Searched refs:adv_reg (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/drivers/net/ixgbe/
Dixgbe_common.c54 static s32 ixgbe_negotiate_fc(struct ixgbe_hw *hw, u32 adv_reg, u32 lp_reg,
1859 static s32 ixgbe_negotiate_fc(struct ixgbe_hw *hw, u32 adv_reg, u32 lp_reg, in ixgbe_negotiate_fc() argument
1862 if ((!(adv_reg)) || (!(lp_reg))) in ixgbe_negotiate_fc()
1865 if ((adv_reg & adv_sym) && (lp_reg & lp_sym)) { in ixgbe_negotiate_fc()
1880 } else if (!(adv_reg & adv_sym) && (adv_reg & adv_asm) && in ixgbe_negotiate_fc()
1884 } else if ((adv_reg & adv_sym) && (adv_reg & adv_asm) && in ixgbe_negotiate_fc()
/linux-2.6.39/drivers/net/
Dtg3.c3095 u32 adv_reg, all_mask = 0; in tg3_copper_is_advertising_all() local
3106 if (tg3_readphy(tp, MII_ADVERTISE, &adv_reg)) in tg3_copper_is_advertising_all()
3109 if ((adv_reg & all_mask) != all_mask) in tg3_copper_is_advertising_all()
12664 u32 bmsr, adv_reg, tg3_ctrl, mask; in tg3_phy_probe() local
12675 adv_reg = (ADVERTISE_10HALF | ADVERTISE_10FULL | in tg3_phy_probe()
12692 tg3_writephy(tp, MII_ADVERTISE, adv_reg); in tg3_phy_probe()
12702 tg3_writephy(tp, MII_ADVERTISE, adv_reg); in tg3_phy_probe()
Dbnx2.c2049 u32 adv_reg, adv1000_reg; in bnx2_setup_copper_phy() local
2053 bnx2_read_phy(bp, bp->mii_adv, &adv_reg); in bnx2_setup_copper_phy()
2054 adv_reg &= (PHY_ALL_10_100_SPEED | ADVERTISE_PAUSE_CAP | in bnx2_setup_copper_phy()
2076 (adv_reg != new_adv_reg) || in bnx2_setup_copper_phy()