Home
last modified time | relevance | path

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

/drivers/net/ethernet/atheros/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.h346 u16 mii_autoneg_adv_reg; member
/drivers/net/ethernet/intel/igb/
De1000_phy.c952 u16 mii_autoneg_adv_reg; in igb_phy_setup_autoneg() local
958 ret_val = phy->ops.read_reg(hw, PHY_AUTONEG_ADV, &mii_autoneg_adv_reg); in igb_phy_setup_autoneg()
981 mii_autoneg_adv_reg &= ~(NWAY_AR_100TX_FD_CAPS | in igb_phy_setup_autoneg()
992 mii_autoneg_adv_reg |= NWAY_AR_10T_HD_CAPS; in igb_phy_setup_autoneg()
998 mii_autoneg_adv_reg |= NWAY_AR_10T_FD_CAPS; in igb_phy_setup_autoneg()
1004 mii_autoneg_adv_reg |= NWAY_AR_100TX_HD_CAPS; in igb_phy_setup_autoneg()
1010 mii_autoneg_adv_reg |= NWAY_AR_100TX_FD_CAPS; in igb_phy_setup_autoneg()
1045 mii_autoneg_adv_reg &= ~(NWAY_AR_ASM_DIR | NWAY_AR_PAUSE); in igb_phy_setup_autoneg()
1057 mii_autoneg_adv_reg |= (NWAY_AR_ASM_DIR | NWAY_AR_PAUSE); in igb_phy_setup_autoneg()
1063 mii_autoneg_adv_reg |= NWAY_AR_ASM_DIR; in igb_phy_setup_autoneg()
[all …]
/drivers/net/ethernet/intel/e1000e/
Dphy.c939 u16 mii_autoneg_adv_reg; in e1000_phy_setup_autoneg() local
945 ret_val = e1e_rphy(hw, MII_ADVERTISE, &mii_autoneg_adv_reg); in e1000_phy_setup_autoneg()
967 mii_autoneg_adv_reg &= ~(ADVERTISE_100FULL | in e1000_phy_setup_autoneg()
977 mii_autoneg_adv_reg |= ADVERTISE_10HALF; in e1000_phy_setup_autoneg()
983 mii_autoneg_adv_reg |= ADVERTISE_10FULL; in e1000_phy_setup_autoneg()
989 mii_autoneg_adv_reg |= ADVERTISE_100HALF; in e1000_phy_setup_autoneg()
995 mii_autoneg_adv_reg |= ADVERTISE_100FULL; in e1000_phy_setup_autoneg()
1030 mii_autoneg_adv_reg &= in e1000_phy_setup_autoneg()
1043 mii_autoneg_adv_reg |= in e1000_phy_setup_autoneg()
1050 mii_autoneg_adv_reg |= ADVERTISE_PAUSE_ASYM; in e1000_phy_setup_autoneg()
[all …]
/drivers/net/ethernet/atheros/atlx/
Datl2.c1067 atl2_write_phy_reg(hw, MII_ADVERTISE, hw->mii_autoneg_adv_reg); in atl2_phy_config()
2583 s16 mii_autoneg_adv_reg; in atl2_phy_setup_autoneg_adv() local
2586 mii_autoneg_adv_reg = MII_AR_DEFAULT_CAP_MASK; in atl2_phy_setup_autoneg_adv()
2598 mii_autoneg_adv_reg &= ~MII_AR_SPEED_MASK; in atl2_phy_setup_autoneg_adv()
2604 mii_autoneg_adv_reg |= in atl2_phy_setup_autoneg_adv()
2616 mii_autoneg_adv_reg |= MII_AR_100TX_FD_CAPS; in atl2_phy_setup_autoneg_adv()
2620 mii_autoneg_adv_reg |= MII_AR_100TX_HD_CAPS; in atl2_phy_setup_autoneg_adv()
2624 mii_autoneg_adv_reg |= MII_AR_10T_FD_CAPS; in atl2_phy_setup_autoneg_adv()
2628 mii_autoneg_adv_reg |= MII_AR_10T_HD_CAPS; in atl2_phy_setup_autoneg_adv()
2634 mii_autoneg_adv_reg |= (MII_AR_ASM_DIR | MII_AR_PAUSE); in atl2_phy_setup_autoneg_adv()
[all …]
Datl1.c715 s16 mii_autoneg_adv_reg; in atl1_phy_setup_autoneg_adv() local
719 mii_autoneg_adv_reg = MII_AR_DEFAULT_CAP_MASK; in atl1_phy_setup_autoneg_adv()
729 mii_autoneg_adv_reg &= ~MII_AR_SPEED_MASK; in atl1_phy_setup_autoneg_adv()
738 mii_autoneg_adv_reg |= (MII_AR_10T_HD_CAPS | in atl1_phy_setup_autoneg_adv()
750 mii_autoneg_adv_reg |= MII_AR_100TX_FD_CAPS; in atl1_phy_setup_autoneg_adv()
754 mii_autoneg_adv_reg |= MII_AR_100TX_HD_CAPS; in atl1_phy_setup_autoneg_adv()
758 mii_autoneg_adv_reg |= MII_AR_10T_FD_CAPS; in atl1_phy_setup_autoneg_adv()
762 mii_autoneg_adv_reg |= MII_AR_10T_HD_CAPS; in atl1_phy_setup_autoneg_adv()
767 mii_autoneg_adv_reg |= (MII_AR_ASM_DIR | MII_AR_PAUSE); in atl1_phy_setup_autoneg_adv()
769 hw->mii_autoneg_adv_reg = mii_autoneg_adv_reg; in atl1_phy_setup_autoneg_adv()
[all …]
Datl2.h411 u16 mii_autoneg_adv_reg; member
Datl1.h739 u16 mii_autoneg_adv_reg; member
/drivers/net/ethernet/intel/e1000/
De1000_hw.c1524 u16 mii_autoneg_adv_reg; in e1000_phy_setup_autoneg() local
1528 ret_val = e1000_read_phy_reg(hw, PHY_AUTONEG_ADV, &mii_autoneg_adv_reg); in e1000_phy_setup_autoneg()
1550 mii_autoneg_adv_reg &= ~REG4_SPEED_MASK; in e1000_phy_setup_autoneg()
1558 mii_autoneg_adv_reg |= NWAY_AR_10T_HD_CAPS; in e1000_phy_setup_autoneg()
1564 mii_autoneg_adv_reg |= NWAY_AR_10T_FD_CAPS; in e1000_phy_setup_autoneg()
1570 mii_autoneg_adv_reg |= NWAY_AR_100TX_HD_CAPS; in e1000_phy_setup_autoneg()
1576 mii_autoneg_adv_reg |= NWAY_AR_100TX_FD_CAPS; in e1000_phy_setup_autoneg()
1613 mii_autoneg_adv_reg &= ~(NWAY_AR_ASM_DIR | NWAY_AR_PAUSE); in e1000_phy_setup_autoneg()
1625 mii_autoneg_adv_reg |= (NWAY_AR_ASM_DIR | NWAY_AR_PAUSE); in e1000_phy_setup_autoneg()
1631 mii_autoneg_adv_reg |= NWAY_AR_ASM_DIR; in e1000_phy_setup_autoneg()
[all …]
/drivers/net/ethernet/atheros/atl1c/
Datl1c.h400 u16 mii_autoneg_adv_reg; member