Lines Matching refs:autoneg_reg

1100 	u16 autoneg_reg = IXGBE_MII_AUTONEG_REG;  in ixgbe_setup_phy_link_generic()  local
1108 hw->phy.ops.read_reg(hw, MDIO_AN_10GBT_CTRL, MDIO_MMD_AN, &autoneg_reg); in ixgbe_setup_phy_link_generic()
1110 autoneg_reg &= ~MDIO_AN_10GBT_CTRL_ADV10G; in ixgbe_setup_phy_link_generic()
1113 autoneg_reg |= MDIO_AN_10GBT_CTRL_ADV10G; in ixgbe_setup_phy_link_generic()
1115 hw->phy.ops.write_reg(hw, MDIO_AN_10GBT_CTRL, MDIO_MMD_AN, autoneg_reg); in ixgbe_setup_phy_link_generic()
1118 MDIO_MMD_AN, &autoneg_reg); in ixgbe_setup_phy_link_generic()
1122 autoneg_reg &= ~IXGBE_MII_5GBASE_T_ADVERTISE; in ixgbe_setup_phy_link_generic()
1125 autoneg_reg |= IXGBE_MII_5GBASE_T_ADVERTISE; in ixgbe_setup_phy_link_generic()
1128 autoneg_reg &= ~IXGBE_MII_2_5GBASE_T_ADVERTISE; in ixgbe_setup_phy_link_generic()
1132 autoneg_reg |= IXGBE_MII_2_5GBASE_T_ADVERTISE; in ixgbe_setup_phy_link_generic()
1136 autoneg_reg &= ~IXGBE_MII_1GBASE_T_ADVERTISE; in ixgbe_setup_phy_link_generic()
1139 autoneg_reg |= IXGBE_MII_1GBASE_T_ADVERTISE; in ixgbe_setup_phy_link_generic()
1142 MDIO_MMD_AN, autoneg_reg); in ixgbe_setup_phy_link_generic()
1145 hw->phy.ops.read_reg(hw, MDIO_AN_ADVERTISE, MDIO_MMD_AN, &autoneg_reg); in ixgbe_setup_phy_link_generic()
1147 autoneg_reg &= ~(ADVERTISE_100FULL | ADVERTISE_100HALF); in ixgbe_setup_phy_link_generic()
1150 autoneg_reg |= ADVERTISE_100FULL; in ixgbe_setup_phy_link_generic()
1152 hw->phy.ops.write_reg(hw, MDIO_AN_ADVERTISE, MDIO_MMD_AN, autoneg_reg); in ixgbe_setup_phy_link_generic()
1160 MDIO_MMD_AN, &autoneg_reg); in ixgbe_setup_phy_link_generic()
1162 autoneg_reg |= MDIO_AN_CTRL1_RESTART; in ixgbe_setup_phy_link_generic()
1165 MDIO_MMD_AN, autoneg_reg); in ixgbe_setup_phy_link_generic()
1331 u16 autoneg_reg = IXGBE_MII_AUTONEG_REG; in ixgbe_setup_phy_link_tnx() local
1341 &autoneg_reg); in ixgbe_setup_phy_link_tnx()
1343 autoneg_reg &= ~MDIO_AN_10GBT_CTRL_ADV10G; in ixgbe_setup_phy_link_tnx()
1345 autoneg_reg |= MDIO_AN_10GBT_CTRL_ADV10G; in ixgbe_setup_phy_link_tnx()
1349 autoneg_reg); in ixgbe_setup_phy_link_tnx()
1356 &autoneg_reg); in ixgbe_setup_phy_link_tnx()
1358 autoneg_reg &= ~IXGBE_MII_1GBASE_T_ADVERTISE_XNP_TX; in ixgbe_setup_phy_link_tnx()
1360 autoneg_reg |= IXGBE_MII_1GBASE_T_ADVERTISE_XNP_TX; in ixgbe_setup_phy_link_tnx()
1364 autoneg_reg); in ixgbe_setup_phy_link_tnx()
1371 &autoneg_reg); in ixgbe_setup_phy_link_tnx()
1373 autoneg_reg &= ~(ADVERTISE_100FULL | in ixgbe_setup_phy_link_tnx()
1376 autoneg_reg |= ADVERTISE_100FULL; in ixgbe_setup_phy_link_tnx()
1380 autoneg_reg); in ixgbe_setup_phy_link_tnx()
1389 MDIO_MMD_AN, &autoneg_reg); in ixgbe_setup_phy_link_tnx()
1391 autoneg_reg |= MDIO_AN_CTRL1_RESTART; in ixgbe_setup_phy_link_tnx()
1394 MDIO_MMD_AN, autoneg_reg); in ixgbe_setup_phy_link_tnx()