Home
last modified time | relevance | path

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

/external/syslinux/gpxe/src/drivers/net/
Datl1e.c1446 u16 mii_autoneg_adv_reg; in atl1e_phy_setup_autoneg_adv() local
1449 if (0 != hw->mii_autoneg_adv_reg) in atl1e_phy_setup_autoneg_adv()
1452 mii_autoneg_adv_reg = MII_AR_DEFAULT_CAP_MASK; in atl1e_phy_setup_autoneg_adv()
1460 mii_autoneg_adv_reg &= ~MII_AR_SPEED_MASK; in atl1e_phy_setup_autoneg_adv()
1464 mii_autoneg_adv_reg |= (MII_AR_10T_HD_CAPS | in atl1e_phy_setup_autoneg_adv()
1473 mii_autoneg_adv_reg |= (MII_AR_ASM_DIR | MII_AR_PAUSE); in atl1e_phy_setup_autoneg_adv()
1475 hw->mii_autoneg_adv_reg = mii_autoneg_adv_reg; in atl1e_phy_setup_autoneg_adv()
1478 ret_val = atl1e_write_phy_reg(hw, MII_ADVERTISE, mii_autoneg_adv_reg); in atl1e_phy_setup_autoneg_adv()
1742 err = atl1e_write_phy_reg(hw, MII_ADVERTISE, hw->mii_autoneg_adv_reg); in atl1e_restart_autoneg()
Datl1e.h159 u16 mii_autoneg_adv_reg; member
/external/syslinux/gpxe/src/drivers/net/e1000/
De1000_hw.c2198 uint16_t mii_autoneg_adv_reg; in e1000_phy_setup_autoneg() local
2204 ret_val = e1000_read_phy_reg(hw, PHY_AUTONEG_ADV, &mii_autoneg_adv_reg); in e1000_phy_setup_autoneg()
2227 mii_autoneg_adv_reg &= ~REG4_SPEED_MASK; in e1000_phy_setup_autoneg()
2235 mii_autoneg_adv_reg |= NWAY_AR_10T_HD_CAPS; in e1000_phy_setup_autoneg()
2241 mii_autoneg_adv_reg |= NWAY_AR_10T_FD_CAPS; in e1000_phy_setup_autoneg()
2247 mii_autoneg_adv_reg |= NWAY_AR_100TX_HD_CAPS; in e1000_phy_setup_autoneg()
2253 mii_autoneg_adv_reg |= NWAY_AR_100TX_FD_CAPS; in e1000_phy_setup_autoneg()
2291 mii_autoneg_adv_reg &= ~(NWAY_AR_ASM_DIR | NWAY_AR_PAUSE); in e1000_phy_setup_autoneg()
2303 mii_autoneg_adv_reg |= (NWAY_AR_ASM_DIR | NWAY_AR_PAUSE); in e1000_phy_setup_autoneg()
2309 mii_autoneg_adv_reg |= NWAY_AR_ASM_DIR; in e1000_phy_setup_autoneg()
[all …]