Home
last modified time | relevance | path

Searched refs:mii_autoneg_adv_reg (Results 1 – 11 of 11) sorted by relevance

/linux-2.6.39/drivers/net/atl1e/
Datl1e_hw.c299 u16 mii_autoneg_adv_reg; in atl1e_phy_setup_autoneg_adv() local
302 if (0 != hw->mii_autoneg_adv_reg) in atl1e_phy_setup_autoneg_adv()
305 mii_autoneg_adv_reg = MII_AR_DEFAULT_CAP_MASK; in atl1e_phy_setup_autoneg_adv()
321 mii_autoneg_adv_reg &= ~ADVERTISE_ALL; in atl1e_phy_setup_autoneg_adv()
330 mii_autoneg_adv_reg |= ADVERTISE_ALL; in atl1e_phy_setup_autoneg_adv()
339 mii_autoneg_adv_reg |= ADVERTISE_100FULL; in atl1e_phy_setup_autoneg_adv()
344 mii_autoneg_adv_reg |= ADVERTISE_100_HALF; in atl1e_phy_setup_autoneg_adv()
349 mii_autoneg_adv_reg |= ADVERTISE_10_FULL; in atl1e_phy_setup_autoneg_adv()
354 mii_autoneg_adv_reg |= ADVERTISE_10_HALF; in atl1e_phy_setup_autoneg_adv()
360 mii_autoneg_adv_reg |= (ADVERTISE_PAUSE_ASYM | ADVERTISE_PAUSE_CAP); in atl1e_phy_setup_autoneg_adv()
[all …]
Datl1e_ethtool.c98 adv4 = hw->mii_autoneg_adv_reg & ~ADVERTISE_ALL; in atl1e_set_settings()
111 if (adv4 != hw->mii_autoneg_adv_reg || in atl1e_set_settings()
113 hw->mii_autoneg_adv_reg = adv4; in atl1e_set_settings()
Datl1e.h347 u16 mii_autoneg_adv_reg; member
/linux-2.6.39/drivers/net/igb/
De1000_phy.c875 u16 mii_autoneg_adv_reg; in igb_phy_setup_autoneg() local
881 ret_val = phy->ops.read_reg(hw, PHY_AUTONEG_ADV, &mii_autoneg_adv_reg); in igb_phy_setup_autoneg()
906 mii_autoneg_adv_reg &= ~(NWAY_AR_100TX_FD_CAPS | in igb_phy_setup_autoneg()
917 mii_autoneg_adv_reg |= NWAY_AR_10T_HD_CAPS; in igb_phy_setup_autoneg()
923 mii_autoneg_adv_reg |= NWAY_AR_10T_FD_CAPS; in igb_phy_setup_autoneg()
929 mii_autoneg_adv_reg |= NWAY_AR_100TX_HD_CAPS; in igb_phy_setup_autoneg()
935 mii_autoneg_adv_reg |= NWAY_AR_100TX_FD_CAPS; in igb_phy_setup_autoneg()
972 mii_autoneg_adv_reg &= ~(NWAY_AR_ASM_DIR | NWAY_AR_PAUSE); in igb_phy_setup_autoneg()
985 mii_autoneg_adv_reg |= (NWAY_AR_ASM_DIR | NWAY_AR_PAUSE); in igb_phy_setup_autoneg()
992 mii_autoneg_adv_reg |= NWAY_AR_ASM_DIR; in igb_phy_setup_autoneg()
[all …]
/linux-2.6.39/drivers/net/e1000e/
Dphy.c919 u16 mii_autoneg_adv_reg; in e1000_phy_setup_autoneg() local
925 ret_val = e1e_rphy(hw, PHY_AUTONEG_ADV, &mii_autoneg_adv_reg); in e1000_phy_setup_autoneg()
949 mii_autoneg_adv_reg &= ~(NWAY_AR_100TX_FD_CAPS | in e1000_phy_setup_autoneg()
960 mii_autoneg_adv_reg |= NWAY_AR_10T_HD_CAPS; in e1000_phy_setup_autoneg()
966 mii_autoneg_adv_reg |= NWAY_AR_10T_FD_CAPS; in e1000_phy_setup_autoneg()
972 mii_autoneg_adv_reg |= NWAY_AR_100TX_HD_CAPS; in e1000_phy_setup_autoneg()
978 mii_autoneg_adv_reg |= NWAY_AR_100TX_FD_CAPS; in e1000_phy_setup_autoneg()
1015 mii_autoneg_adv_reg &= ~(NWAY_AR_ASM_DIR | NWAY_AR_PAUSE); in e1000_phy_setup_autoneg()
1028 mii_autoneg_adv_reg |= (NWAY_AR_ASM_DIR | NWAY_AR_PAUSE); in e1000_phy_setup_autoneg()
1035 mii_autoneg_adv_reg |= NWAY_AR_ASM_DIR; in e1000_phy_setup_autoneg()
[all …]
/linux-2.6.39/drivers/net/atlx/
Datl2.c1062 atl2_write_phy_reg(hw, MII_ADVERTISE, hw->mii_autoneg_adv_reg); in atl2_phy_config()
2608 s16 mii_autoneg_adv_reg; local
2611 mii_autoneg_adv_reg = MII_AR_DEFAULT_CAP_MASK;
2623 mii_autoneg_adv_reg &= ~MII_AR_SPEED_MASK;
2629 mii_autoneg_adv_reg |=
2641 mii_autoneg_adv_reg |= MII_AR_100TX_FD_CAPS;
2645 mii_autoneg_adv_reg |= MII_AR_100TX_HD_CAPS;
2649 mii_autoneg_adv_reg |= MII_AR_10T_FD_CAPS;
2653 mii_autoneg_adv_reg |= MII_AR_10T_HD_CAPS;
2659 mii_autoneg_adv_reg |= (MII_AR_ASM_DIR | MII_AR_PAUSE);
[all …]
Datl1.c711 s16 mii_autoneg_adv_reg; in atl1_phy_setup_autoneg_adv() local
715 mii_autoneg_adv_reg = MII_AR_DEFAULT_CAP_MASK; in atl1_phy_setup_autoneg_adv()
725 mii_autoneg_adv_reg &= ~MII_AR_SPEED_MASK; in atl1_phy_setup_autoneg_adv()
734 mii_autoneg_adv_reg |= (MII_AR_10T_HD_CAPS | in atl1_phy_setup_autoneg_adv()
746 mii_autoneg_adv_reg |= MII_AR_100TX_FD_CAPS; in atl1_phy_setup_autoneg_adv()
750 mii_autoneg_adv_reg |= MII_AR_100TX_HD_CAPS; in atl1_phy_setup_autoneg_adv()
754 mii_autoneg_adv_reg |= MII_AR_10T_FD_CAPS; in atl1_phy_setup_autoneg_adv()
758 mii_autoneg_adv_reg |= MII_AR_10T_HD_CAPS; in atl1_phy_setup_autoneg_adv()
763 mii_autoneg_adv_reg |= (MII_AR_ASM_DIR | MII_AR_PAUSE); in atl1_phy_setup_autoneg_adv()
765 hw->mii_autoneg_adv_reg = mii_autoneg_adv_reg; in atl1_phy_setup_autoneg_adv()
[all …]
Datl2.h412 u16 mii_autoneg_adv_reg; member
Datl1.h734 u16 mii_autoneg_adv_reg; member
/linux-2.6.39/drivers/net/e1000/
De1000_hw.c1537 u16 mii_autoneg_adv_reg; in e1000_phy_setup_autoneg() local
1543 ret_val = e1000_read_phy_reg(hw, PHY_AUTONEG_ADV, &mii_autoneg_adv_reg); in e1000_phy_setup_autoneg()
1565 mii_autoneg_adv_reg &= ~REG4_SPEED_MASK; in e1000_phy_setup_autoneg()
1573 mii_autoneg_adv_reg |= NWAY_AR_10T_HD_CAPS; in e1000_phy_setup_autoneg()
1579 mii_autoneg_adv_reg |= NWAY_AR_10T_FD_CAPS; in e1000_phy_setup_autoneg()
1585 mii_autoneg_adv_reg |= NWAY_AR_100TX_HD_CAPS; in e1000_phy_setup_autoneg()
1591 mii_autoneg_adv_reg |= NWAY_AR_100TX_FD_CAPS; in e1000_phy_setup_autoneg()
1627 mii_autoneg_adv_reg &= ~(NWAY_AR_ASM_DIR | NWAY_AR_PAUSE); in e1000_phy_setup_autoneg()
1639 mii_autoneg_adv_reg |= (NWAY_AR_ASM_DIR | NWAY_AR_PAUSE); in e1000_phy_setup_autoneg()
1645 mii_autoneg_adv_reg |= NWAY_AR_ASM_DIR; in e1000_phy_setup_autoneg()
[all …]
/linux-2.6.39/drivers/net/atl1c/
Datl1c.h420 u16 mii_autoneg_adv_reg; member