Lines Matching refs:mii_autoneg_adv_reg
875 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()
993 mii_autoneg_adv_reg &= ~NWAY_AR_PAUSE; in igb_phy_setup_autoneg()
1000 mii_autoneg_adv_reg |= (NWAY_AR_ASM_DIR | NWAY_AR_PAUSE); in igb_phy_setup_autoneg()
1008 ret_val = phy->ops.write_reg(hw, PHY_AUTONEG_ADV, mii_autoneg_adv_reg); in igb_phy_setup_autoneg()
1012 hw_dbg("Auto-Neg Advertising %x\n", mii_autoneg_adv_reg); in igb_phy_setup_autoneg()