Lines Matching refs:xgbe_use_mode
357 static bool xgbe_use_mode(struct xgbe_prv_data *pdata, in xgbe_use_mode() function
1229 if (xgbe_use_mode(pdata, XGBE_MODE_KR)) { in __xgbe_phy_config_aneg()
1231 } else if (xgbe_use_mode(pdata, XGBE_MODE_KX_2500)) { in __xgbe_phy_config_aneg()
1233 } else if (xgbe_use_mode(pdata, XGBE_MODE_KX_1000)) { in __xgbe_phy_config_aneg()
1235 } else if (xgbe_use_mode(pdata, XGBE_MODE_SFI)) { in __xgbe_phy_config_aneg()
1237 } else if (xgbe_use_mode(pdata, XGBE_MODE_X)) { in __xgbe_phy_config_aneg()
1239 } else if (xgbe_use_mode(pdata, XGBE_MODE_SGMII_1000)) { in __xgbe_phy_config_aneg()
1241 } else if (xgbe_use_mode(pdata, XGBE_MODE_SGMII_100)) { in __xgbe_phy_config_aneg()
1243 } else if (xgbe_use_mode(pdata, XGBE_MODE_SGMII_10)) { in __xgbe_phy_config_aneg()
1482 if (xgbe_use_mode(pdata, XGBE_MODE_KR)) { in xgbe_phy_start()
1484 } else if (xgbe_use_mode(pdata, XGBE_MODE_KX_2500)) { in xgbe_phy_start()
1486 } else if (xgbe_use_mode(pdata, XGBE_MODE_KX_1000)) { in xgbe_phy_start()
1488 } else if (xgbe_use_mode(pdata, XGBE_MODE_SFI)) { in xgbe_phy_start()
1490 } else if (xgbe_use_mode(pdata, XGBE_MODE_X)) { in xgbe_phy_start()
1492 } else if (xgbe_use_mode(pdata, XGBE_MODE_SGMII_1000)) { in xgbe_phy_start()
1494 } else if (xgbe_use_mode(pdata, XGBE_MODE_SGMII_100)) { in xgbe_phy_start()
1496 } else if (xgbe_use_mode(pdata, XGBE_MODE_SGMII_10)) { in xgbe_phy_start()