Lines Matching refs:xgbe_use_mode
345 static bool xgbe_use_mode(struct xgbe_prv_data *pdata, in xgbe_use_mode() function
1211 if (xgbe_use_mode(pdata, XGBE_MODE_KR)) { in __xgbe_phy_config_aneg()
1213 } else if (xgbe_use_mode(pdata, XGBE_MODE_KX_2500)) { in __xgbe_phy_config_aneg()
1215 } else if (xgbe_use_mode(pdata, XGBE_MODE_KX_1000)) { in __xgbe_phy_config_aneg()
1217 } else if (xgbe_use_mode(pdata, XGBE_MODE_SFI)) { in __xgbe_phy_config_aneg()
1219 } else if (xgbe_use_mode(pdata, XGBE_MODE_X)) { in __xgbe_phy_config_aneg()
1221 } else if (xgbe_use_mode(pdata, XGBE_MODE_SGMII_1000)) { in __xgbe_phy_config_aneg()
1223 } else if (xgbe_use_mode(pdata, XGBE_MODE_SGMII_100)) { in __xgbe_phy_config_aneg()
1431 if (xgbe_use_mode(pdata, XGBE_MODE_KR)) { in xgbe_phy_start()
1433 } else if (xgbe_use_mode(pdata, XGBE_MODE_KX_2500)) { in xgbe_phy_start()
1435 } else if (xgbe_use_mode(pdata, XGBE_MODE_KX_1000)) { in xgbe_phy_start()
1437 } else if (xgbe_use_mode(pdata, XGBE_MODE_SFI)) { in xgbe_phy_start()
1439 } else if (xgbe_use_mode(pdata, XGBE_MODE_X)) { in xgbe_phy_start()
1441 } else if (xgbe_use_mode(pdata, XGBE_MODE_SGMII_1000)) { in xgbe_phy_start()
1443 } else if (xgbe_use_mode(pdata, XGBE_MODE_SGMII_100)) { in xgbe_phy_start()